* lisp/bindings.el: Bind M-= to count-words.
[emacs.git] / lisp / ChangeLog
blob42e8e9a84fc85faa8618d0f07ce935ccfd0ba2ff
1 2012-07-18  Chong Yidong  <cyd@gnu.org>
3         * bindings.el: Bind M-= to count-words.
5         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
9         * progmodes/sh-script.el (sh-imenu-generic-expression):
10         Capture a function with `function' keyword and without parentheses
11         like "function FOO" (bug#11856).
13 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
15         * window.el (split-window-sensibly): Make WINDOW argument
16         optional.
18 2012-07-18  Chong Yidong  <cyd@gnu.org>
20         * subr.el (keyboard-translate): Doc fix (Bug#7261).
22         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
23         and make C-x 8 RET exit isearch (Bug#11439).
25         * international/iso-transl.el: Move isearch-mode-map key
26         definitions to isearch.el.
28 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
30         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
31         (eieio-defclass): Use gv-define-setter when possible.
33 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
35         Reflect recent changes in Fgarbage_collect.
36         * emacs-lisp/chart.el (chart-emacs-storage): Change to
37         reflect new format of data returned by Fgarbage_collect.
39 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
41         New utility functions + python-info-ppss-context fix (Bug#11910).
42         * progmodes/python.el (python-info-beginning-of-block-statement-p)
43         (python-info-ppss-comment-or-string-p): New functions.
44         (python-info-ppss-context): Small fix for string check.
46 2012-07-17  Juri Linkov  <juri@jurta.org>
48         * dired-aux.el (dired-do-async-shell-command): Doc fix.
49         (dired-do-async-shell-command): Don't add `*' at the end of the
50         command (Bug#11815).
51         (dired-do-shell-command): Doc fix.
52         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
53         Join the individual commands using either "&" or ";" as the
54         separator depending on the values of these trailing characters.
55         At the end re-add the trailing "&".  (Bug#10598)
57         * simple.el (async-shell-command): Sync the interactive spec with
58         `shell-command'.  Doc fix.
59         (shell-command): Doc fix.
61 2012-07-17  Juri Linkov  <juri@jurta.org>
63         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
65 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
67         Final renames and doc fixes for movement commands (bug#11899).
68         * progmodes/python.el (python-nav-beginning-of-statement):
69         Rename from python-nav-statement-start.
70         (python-nav-end-of-statement): Rename from
71         python-nav-statement-end.
72         (python-nav-beginning-of-block): Rename from
73         python-nav-block-start.
74         (python-nav-end-of-block): Rename from python-nav-block-end.
76 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
78         * progmodes/python.el (python-shell-send-string-no-output):
79         Allow accept-process-output to quit, keeping shell process ready for
80         future interactions (Bug#11868).
82 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
84         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
86         * emacs-lisp/elint.el (elint-find-args-in-code):
87         Use help-function-arglist, so as to handle lexical byte-code.
89         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
90         change (bug#11826).
92 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
94         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
95         Avoid spuriously marking the buffer as modified because of c-is-sws.
97         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
98         as not-a-comment (bug#11946).
100         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
101         for uninterned vars.
103         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
104         Use read-event since we don't really want to read chars but bytes.
106         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
107         $$..$$ but also $..$ using regexps (bug#11953).
108         Use tex-verbatim for \url and \path.
109         (tex-font-lock-keywords): Define as defconst like the others.
110         (tex-common-initialization): Don't use font-lock-syntax-table any more.
112 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
114         * international/mule-cmds.el (ucs-insert): Make it an obsolete
115         alias for insert-char.
117 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
119         * progmodes/python.el: Simplified imenu implementation.
120         (python-nav-jump-to-defun): Remove command.
121         (python-mode-map): Use `imenu' instead.
122         (python-nav-list-defun-positions-cache)
123         (python-imenu-include-defun-type, python-imenu-make-tree)
124         (python-imenu-subtree-root-label, python-imenu-index-alist):
125         Remove vars.
126         (python-nav-list-defun-positions, python-nav-read-defun)
127         (python-imenu-tree-assoc, python-imenu-make-element-tree)
128         (python-imenu-make-tree, python-imenu-create-index):
129         Remove functions.
130         (python-mode): Update to interact with imenu by setting
131         `imenu-extract-index-name-function' only.
133 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
135         * progmodes/python.el: Enhancements to navigation commands.
136         (python-nav-backward-sentence)
137         (python-nav-forward-sentence): Remove.
138         (python-nav-backward-statement, python-nav-forward-statement)
139         (python-nav-statement-start, python-nav-statement-end)
140         (python-nav-backward-block, python-nav-forward-block)
141         (python-nav-block-start, python-nav-block-end)
142         (python-nav-forward-sexp-function)
143         (python-info-current-line-comment-p)
144         (python-info-current-line-empty-p): New functions.
145         (python-indent-context): Use `python-nav-statement-start'.
147 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
149         * eshell/em-ls.el (eshell/ls): Use `apply'.
151         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
152         multi-hops, instead of Tramp internals.
154         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
156         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
157         when F1 and F2 are located on different hosts.
159 2012-07-14  Chong Yidong  <cyd@gnu.org>
161         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
162         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
163         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
164         (xterm-mouse--read-event-sequence-1000)
165         (xterm-mouse--read-event-sequence-1006): New functions.  For old
166         mouse protocol, handle M-mouse-X events correctly.
167         (xterm-mouse-event): New arg specifying mouse protocol.
168         (turn-on-xterm-mouse-tracking-on-terminal)
169         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
170         sequence to toggle extended coordinates on newer XTerms.
171         This appears to be harmless on terminals which do not support this.
173 2012-07-14  Leo Liu  <sdl.web@gmail.com>
175         Add fringe bitmap indicators for flymake.  (Bug#11253)
176         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
177         (flymake-make-overlay): New arg BITMAP.
178         (flymake-error-bitmap, flymake-warning-bitmap)
179         (flymake-fringe-indicator-position): New user variables.
181         * fringe.el: New bitmap exclamation-mark.
183 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
185         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
186         also (Bug#7879).
188 2012-07-14  Chong Yidong  <cyd@gnu.org>
190         * electric.el (electric-pair-post-self-insert-function): Fix pair
191         insertion in empty-region case (Bug#11520).
193 2012-07-14  Chong Yidong  <cyd@gnu.org>
195         * bindings.el: Consolidate ctl-x-r-map bindings.
196         Bind copy-rectangle-as-kill to C-x r w.
198         * rect.el, register.el: Move bindings to bindings.el.
200 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
202         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
204 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
206         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
208 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
210         * bindings.el (top): Use `mapc' instead of `mapcar'.
212         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
214 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
216         * progmodes/sql.el (sql-comint): Suppress the check for program on
217         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
218         (Bug#11908)
220 2012-07-13  Chong Yidong  <cyd@gnu.org>
222         * bindings.el: Assign a non-nil permanent-local property to
223         per-buffer variables which lack a default value (Bug#11930).
225         * help-fns.el (describe-variable): In the "automatically becomes
226         local" notice, take note of permanent-local variables.
228 2012-07-13  Chong Yidong  <cyd@gnu.org>
230         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
231         to allow printing the message when called from Lisp.
233         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
234         Remove toggle-read-only.
236         * bs.el (bs-toggle-readonly):
237         * buff-menu.el (Buffer-menu-toggle-read-only):
238         Remove with-no-warnings around toggle-read-only.
240         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
241         Remove with-no-warnings around toggle-read-only.
242         (ffap-read-only, ffap-read-only-other-window)
243         (ffap-read-only-other-frame): Callers changed.
245         * help-mode.el: Don't require view package.
246         (help-mode-finish): Set buffer-read-only instead of calling
247         toggle-read-only.
249         * bindings.el (mode-line-toggle-read-only):
250         * dired.el (dired-toggle-read-only):
251         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
252         with non-nil second arg.
254         * emacs-lisp/eieio-custom.el (eieio-customize-object):
255         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
256         directly.
258 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
260         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
261         not incf.
263 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
265         More CL cleanups and reduction of use of cl.el.
266         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
267         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
268         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
269         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
270         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
271         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
272         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
273         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
274         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
275         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
276         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
277         * eshell/em-cmpl.el, eshell/em-banner.el:
278         * calendar/parse-time.el: Use cl-lib.
279         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
280         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
281         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
282         * term/ns-win.el, term.el, shell.el, ps-samp.el:
283         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
284         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
285         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
286         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
287         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
288         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
289         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
290         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
291         `lambda' rather than with `quote'.
292         (eshell-do-opt): Adjust accordingly.
293         (eshell-process-option): Simplify.
294         * eshell/esh-var.el:
295         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
296         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
297         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
298         to `pcase--dontcare'.
299         * emacs-lisp/cl.el (labels): Mark obsolete.
300         (cl--letf, letf): Move to cl-lib.
301         (cl--letf*, letf*): Remove.
302         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
303         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
304         (cl-progv): Rewrite.
305         (cl--letf, cl-letf): Move from cl.el.
306         (cl-letf*): New macro.
307         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
309 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
311         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
313 2012-07-11  Chong Yidong  <cyd@gnu.org>
315         * vc/log-edit.el (log-edit-vc-backend): New variable.
316         (log-edit): Doc fix.
318         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
319         argument of log-edit to set up all local variables.
320         (vc-start-logentry): New optional arg specifying VC backend.
322         * vc/vc.el (vc-checkin): Use it.
323         (vc-deduce-fileset): Handle Log Edit buffers.
324         (vc-diff): Make first argument optional too.
326         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
328 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
330         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
331         command, just in case.  The function is not needed anymore.
332         (eshell-external-command): Do not call `eshell-remote-command'.
334 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
336         Reduce use of (require 'cl).
337         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
338         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
339         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
340         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
341         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
342         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
343         * battery.el, avoid.el, abbrev.el: Use cl-lib.
344         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
345         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
346         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
347         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
348         * calculator.el, autorevert.el, apropos.el: Don't require CL.
349         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
350         (byte-compile-unfold-bcf, byte-compile-check-variable):
351         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
352         (byte-compile-nilconstp):
353         * emacs-lisp/autoload.el (make-autoload): Use pcase.
354         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
356         * emacs-lisp/gv.el (cond): Make it a valid place.
357         (if): Simplify slightly.
359         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
360         (pcase--self-quoting-p): New function.
361         (pcase--u1): Use it.
363 2012-07-10  Glenn Morris  <rgm@gnu.org>
365         * emacs-lisp/authors.el (authors-fixed-entries):
366         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
368 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
370         Rename configure.in to configure.ac (Bug#11603).
371         * emacs-lisp/authors.el (authors-canonical-file-name):
372         * progmodes/autoconf.el (autoconf-mode):
373         Prefer configure.ac to configure.in.
375 2012-07-08  Chong Yidong  <cyd@gnu.org>
377         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
378         Implement the mouse-1-click-follows-link handling properly.
380         * info.el (Info-link-keymap): Use follow-link mechanism for
381         header-line links (Bug#374).
383         * simple.el (deactivate-mark): Do not set the primary selection
384         if another program has acquired it (Bug#11772).
386 2012-07-07  Kevin Ryde  <user42@zip.com.au>
388         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
389         (woman-decode-region): Replace escaped-escapes without destroying
390         bold or underline (Bug#11552).
391         (woman2-process-escapes): Handle nofill regions (Bug#11591).
393 2012-07-07  Chong Yidong  <cyd@gnu.org>
395         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
396         (interprogram-cut-function, interprogram-paste-function):
397         Mention that we typically mean the clipboard.
399 2012-07-06  Glenn Morris  <rgm@gnu.org>
401         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
403         * files.el (toggle-read-only): Restrict message to interactive use.
405 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
407         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
409         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
411 2012-07-06  Glenn Morris  <rgm@gnu.org>
413         * Makefile.in (compile-one-process): Rename from "recompile".
415         * Makefile.in (bzr-update): "compile" is the same as "recompile
416         autoloads", but parallelizable, so use that instead.
418 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
420         * window.el (quit-window): Always restore window height when
421         it's saved in quit-restore parameter.
423 2012-07-06  Glenn Morris  <rgm@gnu.org>
425         * simple.el (kill-whole-line): Doc tweak.
427 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
429         * files.el (file-relative-name): Compare file names
430         case-insensitively if on MS-Windows or MS-DOS, or if
431         read-file-name-completion-ignore-case is non-nil.  Don't use
432         case-fold-search for this purpose.  (Bug#11827)
434 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
436         * calendar/cal-dst.el (calendar-current-time-zone):
437         Return calendar-current-time-zone-cache if non-nil.
439 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
440 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
442         * calendar/cal-dst.el (calendar-current-time-zone):
443         Return calendar-current-time-zone-cache if non-nil.
445 2012-07-06  Glenn Morris  <rgm@gnu.org>
447         * Makefile.in (cvs-update): Remove old alias.
449 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
451         Sync with Tramp 2.2.6-pre.
453         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
454         compatible declaration.
456         * net/tramp-cmds.el (tramp-append-tramp-buffers):
457         Protect `list-load-path-shadows' call.
459         * net/tramp-compat.el (top): Require packages, which aren't
460         autoloaded anymore for XEmacs.  Protect call of
461         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
462         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
463         it hurts at least for SXEmacs.
464         (tramp-compat-temporary-file-directory): In XEmacs, there is no
465         standard-value for `temporary-file-directory'.
467         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
468         Redirect stderr to /dev/null.
469         (tramp-sh-handle-write-region): uid and gid can be floats.
470         Reported by Russell Sim <russell.sim@gmail.com>.
471         (tramp-sh-handle-vc-registered): Hide errors.
472         (tramp-vc-file-name-handler): Use dummy results for `process-file'
473         and `start-file-process'.
474         (tramp-maybe-open-connection): Check also whether `non-essential'
475         is bound.
477 2012-07-04  Chong Yidong  <cyd@gnu.org>
479         * xml.el (xml--parse-buffer): Use xml-syntax-table.
480         (xml-parse-tag): Likewise, and avoid changing entity tables.
481         (xml-syntax-table): Define from scratch, making sure not to give
482         x2000 and other Unicode spaces whitespace syntax, since those are
483         not spaces in XML.
484         (xml-parse-fragment): Delete unused function.
485         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
486         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
487         (xml-entity-ref, xml-pe-reference-re)
488         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
489         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
490         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
491         (xml-entity-value-re): Use syntax references in regexps where
492         possible; no need to define inside a let-binding.
493         (xml-parse-dtd): Use xml-pe-reference-re.
494         (xml-entity-or-char-ref-re): New defconst.
495         (xml-parse-string, xml-substitute-special): Use it.
497 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
499         * files.el (locate-dominating-file): Allow `name' to be a predicate.
500         (find-file--read-only): New function.
501         (find-file-read-only, find-file-read-only-other-window)
502         (find-file-read-only-other-frame): Use it.
503         (insert-file-contents-literally): Don't `fset'.
504         (get-free-disk-space): Use locate-dominating-file.
506         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
507         function is already compiled.
509         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
511 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
513         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
514         files on the same host.
516 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
518         * help-fns.el (describe-function-1): Only call
519         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
521 2012-07-03  Chong Yidong  <cyd@gnu.org>
523         * xml.el: Protect parser against XML bombs.
524         (xml-entity-expansion-limit): New variable.
525         (xml-parse-string, xml-substitute-special): Use it.
526         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
528 2012-07-03  Glenn Morris  <rgm@gnu.org>
530         * progmodes/bug-reference.el (bug-reference-bug-regexp):
531         Allow linking to specific messages in debbugs reports (eg 123#5).
533 2012-07-02  Chong Yidong  <cyd@gnu.org>
535         * xml.el: Fix entity and character reference expansion, allowing
536         them to expand into markup as per XML spec.
537         (xml-default-ns): New variable.
538         (xml-entity-alist): Use XML spec definitions for lt and amp.
539         (xml-parse-region): Make first two arguments optional.
540         Discard text properties.
541         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
542         All callers changed.
543         (xml-parse-tag): Call xml-parse-tag-1.  For backward
544         compatibility, this function should not modify buffer contents.
545         (xml-parse-tag-1): Fix opening-tag regexp.
546         (xml-parse-string): Rewrite, handling entity and character
547         references properly.
548         (xml--entity-replacement-text): Signal an error if a parameter
549         entity is undefined.
551 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
553         * comint.el (comint-output-filter): Filter out repeated prompts.
555         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
556         and file-name-absolute-p.
557         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
558         internal calls.
560 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
562         Spelling fixes.
563         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
564         Rename from byte-compile--refiy-function.  All uses changed.
566 2012-07-01  Chong Yidong  <cyd@gnu.org>
568         * xml.el (xml--parse-buffer): New function.  Move most of
569         xml-parse-region here.
570         (xml-parse-region): Copy region into a temporary buffer, since
571         parameter entity substitution requires changing buffer contents.
572         Use xml--parse-buffer.
573         (xml-parse-file): Use xml--parse-buffer.
574         (xml-parse-dtd): Make parameter entity substitution work right.
575         Use proper regexps for ELEMENT declarations (Bug#7172).
577 2012-06-30  Glenn Morris  <rgm@gnu.org>
579         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
581         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
582         Remove outdated and unnecessary dbus declarations.
584 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
586         * emacs-lisp/timer.el (timer-until): Subtract results of
587         float-time, instead of taking float-time of the result of
588         time-subtract, since float-time signals an error for negative time
589         arguments.
591 2012-06-30  Chong Yidong  <cyd@gnu.org>
593         * xml.el (xml-*-re): Convert defvars into defconsts, and
594         eval-and-compile them so eval-and-compile works on derivatives.
595         (xml--entity-replacement-text): Use eval-and-comple.
597 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
599         * vc/vc-git.el (vc-git-registered): Use cache property
600         `git-registered'.
601         (vc-git-mode-line-string): Call `vc-working-revision' instead of
602         `vc-git-working-revision' in order to benefit from the cache.
603         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
605 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
607         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
608         removed (likely outside Emacs).  (Bug#11757)
610 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
612         * emacs-lisp/cl-lib.el: Require macroexp.
614 2012-06-30  Chong Yidong  <cyd@gnu.org>
616         * xml.el: Implement XML parameter entities.
617         (xml-parameter-entity-alist): New variable.
618         (xml-parse-region, xml-parse-fragment): Preserve previous values
619         of xml-entity-alist and xml-parameter-entity-alist, so that
620         repeated calls on different documents do not change them.
621         (xml-parse-tag): Fix doctype regexp.
622         (xml--entity-replacement-text): New function.
623         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
624         properly requires url retrieval which is unimplemented.
625         (xml-escape-string): Doc fix.
627 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
629         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
631 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
633         * fringe.el (fringe-mode): Doc fix.
635 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
637         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
638         is non-nil.
639         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
640         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
642 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
644         * calendar/cal-dst.el (calendar-current-time-zone):
645         Return calendar-current-time-zone-cache if non-nil.
647 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
649         * progmodes/which-func.el (which-func-format):
650         Add mouse-face.  (Bug#11698)
652 2012-06-29  Leo Liu  <sdl.web@gmail.com>
654         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
656 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
658         * minibuffer.el (minibuffer-confirm-exit-commands):
659         Add completion-at-point (bug#11725).
661 2012-06-29  Glenn Morris  <rgm@gnu.org>
663         * progmodes/f90.el (f90-font-lock-keywords-2):
664         Add some preprocessor elements.  (Bug#10499)
666 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
668         * progmodes/cperl-mode.el (cperl-update-syntaxification):
669         Use syntax-propertize (bug#11739).
671 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
673         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
675 2012-06-28  Julien Danjou  <julien@danjou.info>
677         * term.el (term-handle-colors-array): Use a set of new faces to
678         color the terminal.  Also uses :inverse-video property.
679         (term-default-fg-color): Set to nil by default, deprecate in favor
680         of `term-face'.
681         (term-default-bg-color): Set to nil by default, deprecate in favor
682         of `term-face'.
683         (term-current-face): Use `term-face' by default.
684         (term-bold-attribute): Variable deleted.
686 2012-06-28  Glenn Morris  <rgm@gnu.org>
688         * simple.el (completion-list-mode-finish):
689         Don't use toggle-read-only.  (Since completion-list-mode has
690         a special mode-class, it wasn't doing anything extra anyway.)
692 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
694         Make inlining of other-mode interpreted functions work (bug#11799).
695         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
696         (byte-compile): Use it to fix compilation of lexical-binding closures.
697         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
698         function, if needed.
700 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
702         * help-mode.el (help-make-xrefs): Don't just withstand
703         cyclic-variable-indirection but any error in documentation-property.
705         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
706         memory use.
707         * bindings.el (bindings--define-key): New function.
708         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
709         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
710         * bindings.el: Use it to purecopy define-key bindings.
712         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
714         * emacs-lisp/cl.el (flet): Mark obsolete.
715         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
716         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
717         * progmodes/js.el (js-c-fill-paragraph):
718         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
719         (ebrowse-switch-member-buffer-to-derived-class):
720         * play/5x5.el (5x5-solver): Use cl-flet.
722         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
723         (cl--symbol-function): New macro.
724         (cl--letf, cl--letf*): Use it.
726         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
727         Strip "toggle-" if any.
729 2012-06-27  Glenn Morris  <rgm@gnu.org>
731         * info.el (Info-default-directory-list): Move here from paths.el.
732         * paths.el: Remove file, which is now empty.
733         * loadup.el: No longer load "paths".
735         * custom.el (custom-initialize-delay): Doc fix.
737         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
738         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
739         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
740         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
741         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
742         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
743         * eshell/eshell.el (eshell-defgroup): Remove alias.
745 2012-06-27  Chong Yidong  <cyd@gnu.org>
747         * help.el (help-enable-auto-load): New variable.
749         * help-fns.el (help-fns--autoloaded-p): New function.
750         (describe-function-1): Refer to a function as "autoloaded" if it
751         was autoloaded at any time in the past.  Perform autoloading if
752         help-enable-auto-load is non-nil.
754 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
756         * makefile.w32-in (compile, compile-always): Depend on
757         update-subdirs, not on subdirs.el.  Otherwise, several different
758         sub-targets of 'bootstrap' running in parallel could
759         simultaneously write to subdirs.el, producing a garbled file.
761 2012-06-26  Sam Steingold  <sds@gnu.org>
763         * files.el (file-name-base): New convenience function.
764         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
765         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
766         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
767         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
768         * textmodes/ispell.el, textmodes/reftex-ref.el:
769         * textmodes/tex-mode.el: Use it.
770         Did not touch cedet and org because they are maintained elsewhere.
772 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
774         * calendar/calendar.el (calendar-exit): Don't try to delete or
775         iconify last frame.  See:
776         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
778 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
780         * server.el (server-process-filter): Remember dir in the
781         process's `server-client-directory' properties.
783 2012-06-24  Chong Yidong  <cyd@gnu.org>
785         * xml.el (xml-parse-tag): Correctly handle comment embedded in
786         non-tag text.
788 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
790         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
792 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
794         * help-fns.el (describe-variable): Don't croak when doc is not found.
795         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
796         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
797         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
798         * emacs-lisp/smie.el (smie-next-sexp): CSE.
799         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
800         ((lambda ..) ..).
801         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
803 2012-06-23  Chong Yidong  <cyd@gnu.org>
805         * info.el (Info-mouse-follow-link): Accept symbol values of
806         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
807         (Info-fontify-node): Use Info-link-keymap for all navigation
808         buttons, with link-args property to perform the desired action.
809         (Info-link-keymap): Doc fix.
810         (Info-next-link-keymap, Info-prev-link-keymap)
811         (Info-up-link-keymap): Delete now-unused keymaps.
813 2012-06-23  Chong Yidong  <cyd@gnu.org>
815         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
817         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
818         system abbrevs.
820         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
822 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
824         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
825         (bug#11719).
827         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
828         the requote function doesn't work properly (bug#11714).
830 2012-06-23  Glenn Morris  <rgm@gnu.org>
832         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
834 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
836         Further GV/CL cleanups.
837         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
838         gv-expander.
839         (gv--defun-declaration): New function.
840         (defun-declarations-alist): Use it.
841         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
842         (gv-place): Autoload.
843         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
844         original definition of dotimes and dolist.
845         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
846         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
847         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
848         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
849         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
850         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
851         to the function's definition.
852         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
853         * window.el:
854         * files.el:
855         * faces.el:
856         * env.el: Don't use CL.
858 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
860         Support higher-resolution time stamps (Bug#9000).
862         * calendar/time-date.el (with-decoded-time-value): New arg
863         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
864         (encode-time-value): New optional arg PICO.  New type 3.
865         (time-to-seconds) [!float-time]: Support the new picoseconds
866         component if it's used.
867         (seconds-to-time, time-subtract, time-add):
868         Support ps-resolution time stamps as well.
870         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
871         (timerp): Timer vectors now have length 9, not 8.
872         (timer--time): Support new-style (4-part) time stamps.
873         (timer-next-integral-multiple-of-time): Time stamps now have
874         picosecond resolution, so take a bit more care about rounding.
875         (timer-relative-time, timer-inc-time): New optional arg psecs.
876         (timer-set-time-with-usecs): Set psecs to 0.
877         (timer--activate): Check psecs component, too.
879         * proced.el (proced-time-lessp): Support ps-resolution stamps.
881 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
883         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
884         Move the non-essential binding to the post/pre-command-hook where it is
885         more obviously correct.
887         * subr.el (read-passwd): Don't use a history at all.
888         * savehist.el (savehist-save): Remove password saved accidentally
889         because of the above bug.
891 2012-06-22  Bastien Guerry  <bzg@gnu.org>
893         * files.el (toggle-read-only): Display a message telling whether
894         the buffer is read-only or not (bug#11726).
896 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
898         * emacs-lisp/gv.el: New file.
899         * subr.el (push, pop): Extend to generalized variables.
900         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
901         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
902         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
903         gv-define-simple-setter, and gv-define-expander.
904         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
905         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
906         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
907         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
908         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
909         gv-letplace.
910         (cl-defstruct): Don't define setf-method any more.
911         * emacs-lisp/cl.el (flet): Don't autoload.
912         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
913         (define-setf-expander, defsetf, define-modify-macro)
914         (cl-struct-setf-expander): Move from cl-lib.el.
915         * emacs-lisp/syntax.el:
916         * emacs-lisp/ewoc.el:
917         * emacs-lisp/smie.el:
918         * emacs-lisp/cconv.el:
919         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
920         (timer--time): Use gv-define-simple-setter.
921         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
922         to avoid coding-system problems in subr.el.  Adjust all users.
923         (macroexp--maxsize, macroexp-small-p): New functions.
924         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
925         * scroll-bar.el (scroll-bar-mode):
926         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
927         (normal-erase-is-backspace-mode): Don't use the `eq' place.
928         * winner.el (winner-configuration, winner-make-point-alist)
929         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
930         * files.el (locate-file-completion-table): Avoid list*.
932 2012-06-22  Chong Yidong  <cyd@gnu.org>
934         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
935         (dired-create-files): Doc fix (Bug#11329).
936         (dired-do-copy): Doc fix (Bug#11334).
937         (dired-mark-read-string): Doc fix (Bug#11553).
939         * dired.el (dired-recursive-copies, dired-recursive-deletes):
940         Doc fix (Bug#11326).
941         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
942         (dired-dwim-target): Doc fix.
944         * wdired.el (wdired-mode): Doc fix.
946 2012-06-22  Glenn Morris  <rgm@gnu.org>
948         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
949         (pcmpl-rpm-cache-stamp-file): New constant.
950         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
951         (pcmpl-rpm-packages): Optionally cache list of packages.
953         * pcmpl-rpm.el (pcmpl-rpm): New group.
954         (pcmpl-rpm-query-options): New option.
955         (pcmpl-rpm-packages): No need to inline it.
956         Use pcmpl-rpm-query-options.
958         * calendar/calendar.el (calendar-in-read-only-buffer):
959         Avoid some needless mode changes.
961 2012-06-21  Chong Yidong  <cyd@gnu.org>
963         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
964         (desktop-path): Remove . from the default value (Bug#10977).
965         (desktop-read): Use user-emacs-directory if desktop-path is nil.
967 2012-06-20  Chong Yidong  <cyd@gnu.org>
969         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
971 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
973         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
974         (bug#11201).
976 2012-06-20  Chong Yidong  <cyd@gnu.org>
978         * term.el (term-window-width): Handle the case of a missing right
979         fringe (Bug#8837).
980         (term-check-size): Use window-text-height (Bug#5445).
981         (term-mode): Use define-derived-mode.  Minor cleanups.
982         Set font-lock-defaults (Bug#7692).
983         (term-move-columns, term-insert-char, term-emulate-terminal)
984         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
986 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
988         * net/ange-ftp.el (ange-ftp-get-passwd):
989         Bind `enable-recursive-minibuffers'.
990         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
992 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
994         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
996 2012-06-19  Glenn Morris  <rgm@gnu.org>
998         * progmodes/python.el (python-mode): Derive from prog-mode.
1000 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
1002         * emulation/edt.el (edt-default-menu-bar-update-buffers)
1003         (edt-user-menu-bar-update-buffers): New functions.
1004         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1006 2012-06-19  Chong Yidong  <cyd@gnu.org>
1008         * subr.el (with-selected-window): Preserve the selected window's
1009         terminal's top-frame (Bug#4702).
1011         * window.el (save-selected-window): Likewise.
1013 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1015         * progmodes/python.el (python-rx-constituents): Move backquote.
1016         (python-skeleton-define, python-define-auxiliary-skeleton):
1017         Use `declare'.
1019 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
1021         * minibuffer.el (read-file-name-default): Revert the patch from
1022         2012-06-17.
1024 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1026         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1027         (pcase--u1, pcase--q1): Don't use apply-partially.
1029 2012-06-18  Glenn Morris  <rgm@gnu.org>
1031         * progmodes/python.el (python-proc, python-buffer)
1032         (python-send-receive, python-send-string): Fix obsolete versions.
1034 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
1036         * window.el (special-display-p): Completely remove stringp
1037         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1039 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
1041         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1043         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1045         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1046         * net/tramp-sh.el (tramp-maybe-open-connection):
1047         Throw if `non-essential' is non-nil.
1049 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
1051         * window.el (special-display-p): Signal an error if BUFFER-NAME
1052         is not a string (Bug#11713).
1054 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
1056         * progmodes/python.el (python-info-beginning-of-backslash):
1057         Rename from python-info-beginning-of-backlash, as a spelling fix.
1059 2012-06-17  Chong Yidong  <cyd@gnu.org>
1061         * term.el (term-emulate-terminal): If term-check-size is called,
1062         move point to the process mark without resetting point (Bug#4635).
1064 2012-06-17  Glenn Morris  <rgm@gnu.org>
1066         * international/mule-cmds.el (mule-menu-keymap)
1067         (set-language-environment, set-locale-environment): Doc tweaks.
1069 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
1071         * cus-face.el (custom-face-attributes): Add wave-style underline
1072         attribute.
1073         * faces.el (set-face-attribute): Update docstring to describe
1074         wave-style underline attribute.
1076 2012-06-16  Chong Yidong  <cyd@gnu.org>
1078         * term/xterm.el (terminal-init-xterm): Discard input before
1079         querying background mode (Bug#10959).
1081 2012-06-16  Stefan Merten  <smerten@oekonux.de>
1083         * textmodes/rst.el: Added and corrected some comments.
1084         (rst-re-alist-def): Improve symbol syntax.
1085         (rst-mode-syntax-table): Correct syntax entries.
1086         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1087         (rst-official-version, rst-official-cvs-rev): Update version
1088         information.
1090 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
1092         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1093         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1095 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
1097         * progmodes/python.el: New python.el merge.
1098         (python-guess-indent): Obsolete var.
1099         (python-indent-guess-indent-offset): New defcustom.
1100         (python-indent): Obsolete var.
1101         (python-indent-offset): New defcustom.
1102         (python-python-command, python-jython-command): Delete var.
1103         (python-shell-interpreter): New defcustom.
1104         (python-pdbtrack-do-tracking-p): Delete var.
1105         (python-pdbtrack-activate): New defcustom.
1106         (python-use-skeletons): Obsolete var.
1107         (python-skeleton-autoinsert): New defcustom.
1108         (inferior-python-filter-regexp, python-continuation-offset)
1109         (python-honour-comment-indentation, python-indent-string-contents)
1110         (python-jython-packages, python-mode-hook)
1111         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1112         (python-shell-prompt-alist)
1113         (python-source-modes): Delete defcustoms.
1114         (python-check-buffer-name, python-eldoc-setup-code)
1115         (python-eldoc-string-code, python-ffap-setup-code)
1116         (python-ffap-string-code, python-fill-comment-function)
1117         (python-fill-decorator-function, python-fill-paren-function)
1118         (python-fill-string-function, python-imenu-include-defun-type)
1119         (python-imenu-make-tree, python-imenu-subtree-root-label)
1120         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1121         (python-shell-compilation-regexp-alist)
1122         (python-shell-completion-module-string-code)
1123         (python-shell-completion-pdb-string-code)
1124         (python-shell-completion-setup-code)
1125         (python-shell-completion-string-code)
1126         (python-shell-enable-font-lock, python-shell-exec-path)
1127         (python-shell-extra-pythonpaths)
1128         (python-shell-internal-buffer-name, python-shell-interpreter-args)
1129         (python-shell-process-environment)
1130         (python-shell-prompt-block-regexp)
1131         (python-shell-prompt-output-regexp)
1132         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1133         (python-shell-send-setup-max-wait, python-shell-setup-codes)
1134         (python-shell-virtualenv-path): New defcustoms.
1135         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1136         (inferior-python-mode-syntax-table, python--prompt-regexp)
1137         (python-buffer, python-command python-python-command)
1138         (python-default-template, python-imports, python-indent-index)
1139         (python-indent-list, python-indent-list-length)
1140         (python-mode-running, python-pdbtrack-is-tracking-p)
1141         (python-preoutput-continuation, python-preoutput-leftover)
1142         (python-preoutput-result, python-preoutput-skip-next-prompt)
1143         (python-prev-dir/file, python-recursing)
1144         (python-saved-check-command, python-version-checked)
1145         (python-which-func-length-limit)
1146         (view-return-to-alist): Delete vars.
1147         (python-check-custom-command, python-dotty-syntax-table)
1148         (python-imenu-index-alist, python-indent-current-level)
1149         (python-indent-dedenters, python-indent-levels)
1150         (python-nav-beginning-of-defun-regexp)
1151         (python-nav-list-defun-positions-cache)
1152         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1153         (python-shell-internal-buffer)
1154         (python-skeleton-available): New vars.
1155         (def-python-skeleton): Delete macro.
1156         (python-skeleton-define): New macro.
1157         (python-define-auxiliary-skeleton, python-rx): New macros.
1158         (python-insert-class): Delete command.
1159         (python-skeleton-class): New command.
1160         (python-insert-def): Delete command.
1161         (python-skeleton-def): New command.
1162         (python-insert-for): Delete command.
1163         (python-skeleton-for): New command.
1164         (python-insert-if): Delete command.
1165         (python-skeleton-if): New command.
1166         (python-insert-try/except, python-insert-try/finally): Delete commands.
1167         (python-skeleton-try): New command.
1168         (python-insert-while): Delete command.
1169         (python-skeleton-while): New command.
1170         (python-backspace): Delete command.
1171         (python-indent-dedent-line-backspace): New command.
1172         (python-electric-colon): Delete command.
1173         (python-indent-electric-colon): New command.
1174         (python-guess-indent): Delete command.
1175         (python-indent-guess-indent-offset): New command.
1176         (python-shift-left): Delete command.
1177         (python-indent-shift-left): New command.
1178         (python-shift-right): Delete command.
1179         (python-indent-shift-right): New command.
1180         (python-find-function): Delete command.
1181         (python-nav-jump-to-defun): New command.
1182         (python-next-statement): Delete command.
1183         (python-nav-forward-sentence): New command.
1184         (python-previous-statement): Delete command.
1185         (python-nav-backward-sentence): New command.
1186         (python-fill-paragraph): Delete command.
1187         (python-fill-paragraph-function): New command.
1188         (python-send-buffer): Delete command.
1189         (python-shell-send-buffer): New command.
1190         (python-send-defun): Delete command.
1191         (python-shell-send-defun): New command.
1192         (python-send-region, python-send-region-and-go): Delete commands.
1193         (python-shell-send-region)
1194         (python-shell-switch-to-shell): New commands.
1195         (python-send-string): Delete command.
1196         (python-shell-send-string): New command.
1197         (python-switch-to-python): Delete command.
1198         (python-shell-switch-to-shell): New command.
1199         (python-describe-symbol): Delete command.
1200         (python-eldoc-at-point): New command.
1201         (python--set-prompt-regexp, python-args-to-list)
1202         (python-after-info-look, python-check-version)
1203         (python-check-comint-prompt, python-find-imports)
1204         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1205         (python-unload-function, python-expand-template)
1206         (python-maybe-jython, python-preoutput-filter)
1207         (python-pdbtrack-get-source-buffer)
1208         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1209         (python-pdbtrack-toggle-stack-tracking)
1210         (python-pdbtrack-track-stack-file, python-initial-text)
1211         (python-first-word, python-comment-line-p, python-send-command)
1212         (python-setup-brm, python-sentinel, python-set-proc)
1213         (python-skip-out, python-input-filter, python-outdent-p)
1214         (python-outline-level, python-backslash-continuation-line-p)
1215         (python-end-of-block, python-end-of-statement, python-mark-block)
1216         (python-beginning-of-block, python-beginning-of-statement)
1217         (python-blank-line-p, python-beginning-of-string)
1218         (python-open-block-statement-p): Delete functions.
1219         (python-indent-line, python-indent-line-1): Delete functions.
1220         (python-indent-line): New function.
1221         (python-indentation-levels): Delete function.
1222         (python-indent-calculate-levels): New function.
1223         (python-proc): Delete function.
1224         (python-shell-get-process): New function.
1225         (python-send-receive): Delete function.
1226         (python-shell-send-string-no-output): New function.
1227         (python-module-path): Delete function.
1228         (python-ffap-module-path): New function.
1229         (python-completion-at-point)
1230         (python-symbol-completions): Delete functions.
1231         (python-completion-complete-at-point): New function.
1232         (python-load-file): Delete function.
1233         (python-shell-send-file): New function.
1234         (python-calculate-indentation): Delete function.
1235         (python-indent-calculate-indentation): New function.
1236         (python-skip-comments/blanks): Delete function.
1237         (python-util-forward-comment): New function.
1238         (python-continuation-line-p): Delete function.
1239         (python-info-continuation-line-p): New function.
1240         (python-which-func, python-current-defun): Delete function.
1241         (python-info-current-defun): New function.
1242         (python-beginning-of-defun): Delete function.
1243         (python-nav-beginning-of-defun): New function.
1244         (python-close-block-statement-p)
1245         (python-block-end-p): Delete function.
1246         (python-info-closing-block): New function.
1247         (python-comint-output-filter-function)
1248         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1249         (python-fill-comment, python-fill-decorator, python-fill-paren)
1250         (python-fill-string, python-imenu-make-element-tree)
1251         (python-imenu-make-tree, python-imenu-tree-assoc)
1252         (python-indent-context, python-indent-dedent-line)
1253         (python-indent-line-function)
1254         (python-indent-post-self-insert-function)
1255         (python-indent-toggle-levels)
1256         (python-info-assignment-continuation-line-p)
1257         (python-info-beginning-of-backlash)
1258         (python-info-block-continuation-line-p)
1259         (python-info-closing-block-message)
1260         (python-info-line-ends-backslash-p)
1261         (python-info-looking-at-beginning-of-defun)
1262         (python-info-ppss-context, python-info-ppss-context-type)
1263         (python-nav-list-defun-positions, python-nav-read-defun)
1264         (python-nav-sentence-end, python-nav-sentence-start)
1265         (python-pdbtrack-comint-output-filter-function)
1266         (python-pdbtrack-set-tracked-buffer)
1267         (python-shell-calculate-exec-path)
1268         (python-shell-calculate-process-environment)
1269         (python-shell-completion--do-completion-at-point)
1270         (python-shell-completion--get-completions)
1271         (python-shell-completion-complete-at-point)
1272         (python-shell-completion-complete-or-indent)
1273         (python-shell-get-or-create-process)
1274         (python-shell-get-process-name)
1275         (python-shell-internal-get-or-create-process)
1276         (python-shell-internal-get-process-name)
1277         (python-shell-internal-send-string, python-shell-make-comint)
1278         (python-shell-parse-command, python-shell-send-setup-code)
1279         (python-skeleton-add-menu-items)
1280         (python-util-clone-local-variables, python-util-position)
1281         (run-python-internal, python-indentation-levels)
1282         (python-nav-beginning-of-defun)
1283         (python-completion-complete-at-point): New functions.
1284         (run-python): Change arguments.  New API requirements.
1286 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1288         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1289         (bug#11649).
1291         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1292         (macroexp--expand-all): Use it.
1294         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1295         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1296         Use `cl-function' instead.
1298 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
1300         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1301         Suggested by Stefan Monnier while discussing bug#11657.
1303 2012-06-14  Sam Steingold  <sds@gnu.org>
1305         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1307 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1309         * play/doctor.el (doctor-doc): Remove parameter and use
1310         doctor-sent instead of sent.
1311         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
1313 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1315         * files.el: Require cl-lib.
1316         (file-name-non-special): Replace case -> cl-case.
1318         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1320         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1321         mapping from #' to function*.
1323 2012-06-13  Chong Yidong  <cyd@gnu.org>
1325         * mouse.el (mouse-drag-track): Do not set the mark if the user
1326         releases the mouse without selecting anything (Bug#11588).
1328 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1330         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1331         as well (bug#11646).
1333         * loadup.el: Count byte-code functions as well.
1335         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1336         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1338         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1339         (bug#11649).  Add cl-defun and cl-defmacro.
1341 2012-06-13  Drew Adams  <drew.adams@oracle.com>
1343         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1344         Fix last change.
1346 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
1348         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1349         Otherwise, it blocks in batch mode.
1351 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
1353         * help-mode.el (bookmark-make-record-default): Declare.
1355 2012-06-13  Chong Yidong  <cyd@gnu.org>
1357         * emacs-lisp/package.el (list-packages): Compute a list of
1358         packages that are newly-available since the last list-packages
1359         invocation.
1360         (package-menu--new-package-list): New var.
1361         (package-menu--generate, package-menu--print-info)
1362         (package-menu--status-predicate, package-menu-mark-install):
1363         Handle new status label "new".
1365 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1367         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1368         conversion to backquotes.
1370 2012-06-12  Chong Yidong  <cyd@gnu.org>
1372         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1373         Rename from gud-inhibit-global-bindings.
1375         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1377         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1378         hook from nxml-glyph-set-hook.
1380         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1381         declaration.
1383         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1385         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1386         Convert to defcustom.
1388 2012-06-12  Drew Adams  <drew.adams@oracle.com>
1390         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1391         New functions.
1392         (help-mode): Use them.
1394 2012-06-11  Glenn Morris  <rgm@gnu.org>
1396         * progmodes/fortran.el (fortran-font-lock-keywords-3):
1397         Use preprocessor face for directives.
1398         (fortran-directive-re): Doc fix.
1400 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1402         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1403         conversion to backquotes (bug#11652).
1405         Fix compiler-expansion of CL's cXXr functions (bug#11673).
1406         * emacs-lisp/cl-lib.el (cl--defalias): New function.
1407         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1408         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1409         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1410         (cl-ninth, cl-tenth): Mark them as inlinable.
1411         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1412         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1413         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1414         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1415         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1416         (cl-list*, cl-adjoin): Don't put an autoload manually.
1417         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1418         (cl--compiler-macro-list*): Add autoload cookie.
1419         (cl--compiler-macro-cXXr): New function.
1421         * help-fns.el (help-fns--compiler-macro): New function extracted from
1422         describe-function-1; follow aliases and use `compiler-macro' property.
1423         (describe-function-1): Use it.
1425 2012-06-11  Chong Yidong  <cyd@gnu.org>
1427         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1428         is uninstalled, if imagemagick is installed.
1430 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1432         * emacs-lisp/cl-lib.el: Use lexical-binding.
1433         (cl-map-extents, cl-maclisp-member): Remove.
1434         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1435         (cl--set-substring, cl--block-wrapper, cl--block-throw)
1436         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1437         * emacs-lisp/cl-extra.el: Use lexical-binding.
1438         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1439         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1440         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1441         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1442         * emacs-lisp/cl-seq.el: Use lexical-binding.
1443         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1444         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1445         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1446         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1447         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1448         CL's internals.
1450 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
1452         Sync with Tramp 2.2.6-pre.
1454         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1455         `print-length' and `print-level' to nil, in order to avoid
1456         truncation.  Reported by Christopher Schmidt
1457         <christopher@ristopher.com>.
1459         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1461         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1462         New defmacro.
1463         (tramp-compat-copy-directory): Add optional argument
1464         COPY-CONTENTS.  It is not handled yet.
1466         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1467         (tramp-ftp-file-name-p): Simplify.
1469         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1470         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1471         connection vector.
1473         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1474         (tramp-methods): Do not use `tramp-password-end-of-line'.
1475         (tramp-completion-function-alist-putty): Handle UNIX case.
1476         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1477         (tramp-do-file-attributes-with-stat)
1478         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1479         gid as real numbers.  They could run out of integer range on cygwin.
1480         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1481         (tramp-sh-handle-expand-file-name): Handle hops.
1482         (tramp-open-connection-setup-interactive-shell):
1483         Use `tramp-cleanup'.  Move check for busyboxes ...
1484         (tramp-find-shell): ... here.  Simplify implementation.
1485         Set "remote-shell" property also for alternative shells.
1486         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1487         If failing, a regular file would be written otherwise.
1488         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
1489         (tramp-find-inline-encoding): Cache the coding commands in the
1490         process cache.  Apply test command on the remote side, if defined.
1491         (tramp-find-inline-compress): Cache the compress commands in the
1492         process cache.
1493         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1494         when requested.  Handle hops.
1495         (tramp-current-connection): New defvar.
1496         (tramp-maybe-open-connection): Use `tramp-cleanup'.
1497         Throw `suppress', if there was a failed connection shortly before.
1498         Handle user interrupt.  (Bug#10187)
1499         (tramp-get-inline-compress, tramp-get-inline-coding):
1500         Read connection properties from the process cache.
1502         * net/tramp-smb.el (tramp-smb-server-version)
1503         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1504         New defconsts.
1505         (tramp-smb-prompt): Extend for powershell prompt.
1506         (tramp-smb-file-name-handler-alist): Add handlers for
1507         `process-file', `shell-command' and `start-file-process'.
1508         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1509         (tramp-smb-winexe-shell-command-switch): New defcustoms.
1510         (tramp-smb-file-name-p): Simplify.
1511         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1512         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1513         (tramp-smb-shell-quote-argument): New defuns.
1514         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1515         Implement using "tar".  By this, time-stamps are preserved.
1516         (tramp-smb-handle-copy-file): Handle also the case of directories.
1517         (tramp-smb-do-file-attributes-with-stat)
1518         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1519         Use `tramp-get-connection-buffer').
1520         (tramp-smb-handle-rename-file): Use "rename", when source and
1521         target are on the same share.
1522         (tramp-smb-maybe-open-connection): Handle wrong passwords.
1523         Use `tramp-smb-server-version'.
1524         (tramp-smb-wait-for-output): Remove prompt.
1526         * net/tramp.el (top): Require 'cl.
1527         (tramp-methods, tramp-rsh-end-of-line):
1528         Remove `tramp-password-end-of-line' from docstring.
1529         (tramp-save-ad-hoc-proxies): New defcustom.
1530         (tramp-completion-function-alist): Adapt docstring.
1531         (tramp-default-password-end-of-line): Remove defcustom.
1532         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
1533         (tramp-user-regexp, tramp-file-name-regexp-unified)
1534         (tramp-file-name-regexp-url): Extend regexp by hop separator.
1535         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1536         (tramp-remote-file-name-spec-regexp): New defconst.
1537         (tramp-file-name-structure): Extend structure for hops.
1538         (tramp-get-method-parameter): Move up.
1539         (tramp-file-name-p, tramp-dissect-file-name)
1540         (with-parsed-tramp-file-name): Handle hops.
1541         (tramp-file-name-hop): New defun.
1542         (tramp-make-tramp-file-name): New optional arg HOP.
1543         (tramp-message-show-progress-reporter-message): New defvar.
1544         (tramp-with-progress-reporter): Use it.  We cannot use
1545         `tramp-message-show-message' here, because this suppresses also
1546         error buffers.
1547         (tramp-error-with-buffer): Suppress buffer view, if
1548         `tramp-message-show-message' is nil.
1549         Use `tramp-get-connection-buffer'.
1550         (tramp-cleanup): New defun.
1551         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1552         (tramp-file-name-handler): If `debug-on-error' is set, propagate
1553         an error unchanged.
1554         (tramp-completion-handle-file-name-all-completions): Handle hops.
1555         Fix an error when called from ido.
1556         (tramp-completion-dissect-file-name): Use better local variable
1557         name.  Add hop to the vector.
1558         (tramp-handle-insert-file-contents): Use progress-reporter for the
1559         whole scenario.
1560         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1561         to `t'.
1562         (tramp-check-for-regexp): Simplify search.
1563         (tramp-enter-password): Remove it.  Move implementation ...
1564         (tramp-action-password): ... here.
1565         (tramp-mode-string-to-int, tramp-local-host-p)
1566         (tramp-make-tramp-temp-file, tramp-read-passwd)
1567         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1568         Set tramp-autoload cookie.
1570         * net/trampver.el: Update release number.
1572 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1573             Michael Albinus  <michael.albinus@gmx.de>
1575         * net/tramp.el (tramp-set-completion-function): Fix docstring.
1576         (tramp-parse-group, tramp-parse-file)
1577         (tramp-parse-shostkeys-sknownhosts): New defuns.
1578         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1579         (tramp-parse-shosts-group, tramp-parse-sconfig)
1580         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1581         (tramp-parse-sknownhosts, tramp-parse-hosts)
1582         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1583         Use them.
1584         (tramp-parse-passwd-group, tramp-parse-netrc-group)
1585         (tramp-parse-putty-group): Don't narrow.
1586         (tramp-parse-putty): Make a loop.
1587         (tramp-file-name-handler): Catch the `suppress' signal.
1589 2012-06-11  Chong Yidong  <cyd@gnu.org>
1591         * image.el (imagemagick-register-types): Put the ImageMagick entry
1592         at the end of image-type-file-name-regexps.
1594 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
1596         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1597         (pcase, pcase-let*, pcase-dolist): Use them.
1599 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1601         * emacs-lisp/pcase.el (pcase--let*): New function.
1602         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
1603         (pcase--expand): Use macroexp-let².
1605 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1607         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1608         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1609         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1610         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1611         * emacs-lisp/derived.el: Use pcase instead of `cl'.
1612         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1614 2012-06-10  Glenn Morris  <rgm@gnu.org>
1616         * mail/rmail.el (rmail-yank-current-message): Leave point at
1617         correct position.  (Bug#11660)
1619 2012-06-10  Chong Yidong  <cyd@gnu.org>
1621         * allout-widgets.el: Fix code header.
1623 2012-06-10  Chong Yidong  <cyd@gnu.org>
1625         * cus-edit.el (customize-changed-options-previous-release):
1626         Bump to 24.1.
1628 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
1630         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1632 2012-06-09  Chong Yidong  <cyd@gnu.org>
1634         * ebuff-menu.el (electric-buffer-list): Preserve header line.
1636 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
1638         * window.el (special-display-popup-frame): Don't use
1639         window--display-buffer (Bug#11651).
1641 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
1643         Fix parallel builds: make sure loaddefs.el is not being written
1644         while Lisp files are compiled.
1645         (compile): Don't depend on 'mh-autoloads'.
1646         (compile-CMD, compile-SH): Depend on 'autoloads'.
1647         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1649         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
1651 2012-06-09  Chong Yidong  <cyd@gnu.org>
1653         * face-remap.el (face-remap-add-relative, face-remap-set-base)
1654         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1655         Doc fixes (Bug#11225).
1657 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1659         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1660         a function if there's a clear indication that it has a compiler-macro.
1661         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1662         (macro-declarations-alist): Add arglist to declaration functions.
1663         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1664         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1665         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1666         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1667         Also add autoload to find the compiler macro.
1668         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1669         (cl--compiler-macro-member, cl--compiler-macro-assoc)
1670         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1671         (cl--compiler-macro-get): New functions, replacing calls to
1672         cl-define-compiler-macro.
1673         (cl-typep) [compiler-macro]: Use macroexp-let².
1675 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
1677         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1678         string properly, fixes Bug#11473.
1680 2012-06-08  Chong Yidong  <cyd@gnu.org>
1682         * faces.el (set-face-attribute): Doc fix.
1683         (modify-face): Don't use :bold and :italic.
1684         (error, warning, success): Tweak definitions.
1686         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1687         (custom-modified, custom-set, custom-changed, custom-themed)
1688         (custom-saved, custom-button, custom-button-mouse)
1689         (custom-button-pressed, custom-state, custom-comment-tag)
1690         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1691         (custom-group-subtitle): Use new-style face specs.
1692         (custom-invalid-face, custom-rogue-face, custom-modified-face)
1693         (custom-set-face, custom-changed-face, custom-saved-face)
1694         (custom-button-face, custom-button-pressed-face)
1695         (custom-documentation-face, custom-state-face)
1696         (custom-comment-face, custom-comment-tag-face)
1697         (custom-variable-tag-face, custom-variable-button-face)
1698         (custom-face-tag-face, custom-group-tag-face-1)
1699         (custom-group-tag-face): Remove obsolete face alias.
1701         * epa.el (epa-validity-high, epa-validity-medium)
1702         (epa-validity-low, epa-mark, epa-field-name, epa-string)
1703         (epa-field-name, epa-field-body):
1704         * font-lock.el (font-lock-comment-face, font-lock-string-face)
1705         (font-lock-keyword-face, font-lock-builtin-face)
1706         (font-lock-function-name-face, font-lock-variable-name-face)
1707         (font-lock-type-face, font-lock-constant-face):
1708         * ido.el (ido-first-match, ido-only-match, ido-subdir)
1709         (ido-virtual, ido-indicator, ido-incomplete-regexp):
1710         * speedbar.el (speedbar-button-face, speedbar-file-face)
1711         (speedbar-directory-face, speedbar-tag-face)
1712         (speedbar-selected-face, speedbar-highlight-face)
1713         (speedbar-separator-face):
1714         * whitespace.el (whitespace-newline, whitespace-space)
1715         (whitespace-hspace, whitespace-tab, whitespace-trailing)
1716         (whitespace-line, whitespace-space-before-tab)
1717         (whitespace-space-after-tab, whitespace-indentation)
1718         (whitespace-empty):
1719         * emulation/cua-base.el (cua-global-mark):
1720         * eshell/em-prompt.el (eshell-prompt):
1721         * net/newst-plainview.el (newsticker-new-item-face)
1722         (newsticker-old-item-face, newsticker-immortal-item-face)
1723         (newsticker-obsolete-item-face, newsticker-date-face)
1724         (newsticker-statistics-face, newsticker-default-face):
1725         * net/newst-reader.el (newsticker-feed-face)
1726         (newsticker-extra-face, newsticker-enclosure-face):
1727         * net/newst-treeview.el (newsticker-treeview-face)
1728         (newsticker-treeview-new-face, newsticker-treeview-old-face)
1729         (newsticker-treeview-immortal-face)
1730         (newsticker-treeview-obsolete-face)
1731         (newsticker-treeview-selection-face):
1732         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1733         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1734         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1735         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1736         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1737         (nxml-outline-active-indicator, nxml-outline-ellipsis):
1738         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1739         (mpuz-text):
1740         * progmodes/vera-mode.el (vera-font-lock-number)
1741         (vera-font-lock-function, vera-font-lock-interface):
1742         * textmodes/table.el (table-cell): Use new-style face specs, and
1743         don't use the old :bold and :italic attributes.
1745         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1746         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1747         (ebrowse-member-class, ebrowse-progress): Likewise.
1748         (ebrowse-tree-mark-face, ebrowse-root-class-face)
1749         (ebrowse-file-name-face, ebrowse-default-face)
1750         (ebrowse-member-attribute-face, ebrowse-member-class-face)
1751         (ebrowse-progress-face): Remove obsolete faces.
1753         * progmodes/flymake.el (flymake-errline, flymake-warnline):
1754         Inherit from error and warning faces respectively.
1756         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1757         Likewise.
1758         (flyspell-incorrect-face, flyspell-duplicate-face):
1759         Remove obsolete aliases.
1761 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
1763         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1764         Avoid infloop.
1766 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1768         * startup.el (argv, argi): Make lexically scoped.
1769         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1770         * emacs-lisp/cl-macs.el: Use lexical-binding.
1771         Rename cl-bind-* to cl--bind-*.
1772         * files.el: Don't require `cl' since it doesn't use it.
1773         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1775 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
1777         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1778         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1779         instead of calling external sort utility.
1780         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1782 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
1784         * descr-text.el (describe-char): Mention how to insert the
1785         character, if the current input method doesn't support it.
1786         See the discussion in this thread for the details:
1787         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1789 2012-06-08  Sam Steingold  <sds@gnu.org>
1791         * bindings.el (global-map): Bind XF86Forward to next-buffer and
1792         XF86Back to previous-buffer.
1793         (minibuffer-local-map): Bind them to next-history-element and
1794         previous-history-element respectively.
1795         * help-mode.el (help-mode-map): Bind them to help-go-forward and
1796         help-go-back respectively.
1797         * info.el (Info-mode-map): Bind them to Info-history-forward and
1798         Info-history-back respectively.
1799         These are the keys next to Up on the ThinkPad keyboard.
1801 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1803         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1804         * emacs-lisp/cl-macs.el: Provide itself.
1805         (cl--labels-convert-cache): New var.
1806         (cl--labels-convert): New function.
1807         (cl-flet, cl-labels): New implementation with new semantics, relying on
1808         lexical-binding.
1809         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1810         (cl-closure-vars, cl--function-convert-cache)
1811         (cl--function-convert): Move from cl-macs.el.
1812         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1813         rename by removing the "cl-" prefix.
1814         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1816 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1818         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1819         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1820         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1821         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1822         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1823         (cl-hash-table-count): Add old compatibility aliases.
1825         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1826         Use macroexpand-all-environment instead.
1827         (cl--old-macroexpand): New var.
1828         (cl--sm-macroexpand): New function.
1829         (cl-symbol-macrolet): Use it during macro expansion.
1830         (cl--function-convert-cache): New var.
1831         (cl--function-convert): New function, extracted from
1832         cl-macroexpand-all.
1833         (cl-lexical-let): Use it.
1835         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1836         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1837         (cl-member): Remove old alias.
1839         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1840         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1841         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1842         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1843         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1844         (cl-macroexpand-cmacs): Remove var.
1845         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1846         Use macroexpand-all instead.
1848 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1850         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1851         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1852         (macroexp-copyable-p): New functions and macros.
1853         * emacs-lisp/edebug.el (edebug-unwrap):
1854         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1855         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1856         (pcase--let*): Remove.
1857         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1858         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
1859         macroexp-const-p instead.
1860         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1862         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1863         instead of "cl-" for internal definitions.  Use macroexp-const-p.
1864         (cl-old-bc-file-form): Remove var.
1865         (cl-const-exprs-p): Remove fun.
1866         (cl-labels, cl-macrolet): Use backquote.
1867         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
1868         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1869         (cl-define-setf-expander): Rename from cl-define-setf-method.
1870         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1872         * international/mule-cmds.el: Don't require CL.
1873         (view-hello-file): Don't use `letf'.
1875 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1877         * tmm.el (tmm-prompt): Use string-prefix-p.
1878         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1879         (tmm-add-prompt): Use minibuffer-completion-help.
1880         (tmm-delete-map): Remove.
1882         * subr.el (kbd): Make it its own function.
1884 2012-06-07  Stefan Merten  <smerten@oekonux.de>
1886         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1887         Silence compiler warnings.  Fix versions.
1888         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1889         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1890         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1891         (rst-package-emacs-version-alist): Correct Emacs version to
1892         represent major merge with upstream.
1893         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1895 2012-06-06  Glenn Morris  <rgm@gnu.org>
1897         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1898         Only print environment variables if set.
1900 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1902         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1903         (macroexp--cons): Rename from maybe-cons.
1904         (macroexp--accumulate): Rename from macroexp-accumulate.
1905         (macroexp--all-forms): Rename from macroexpand-all-forms.
1906         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1907         (macroexp--expand-all): Rename from macroexpand-all-1.
1909 2012-06-06  Sam Steingold  <sds@gnu.org>
1911         * calendar/calendar.el (calendar-in-read-only-buffer):
1912         Call `special-mode' to enable the standard read-only keybindings.
1914 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1916         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1917         with "loading" messages (bug#11635).
1919 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
1921         * files.el (enable-remote-dir-locals): New option.
1922         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
1924         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1925         Ensure, that the temp directory is local.
1927         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1928         `temporary-file-directory'.
1930         * progmodes/python.el (python-send-region): Ensure, that the
1931         temporary file is created also in the remote case.
1933 2012-06-06  Glenn Morris  <rgm@gnu.org>
1935         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1936         (vc-rcs-update-changelog): Use it.
1938         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
1940         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1941         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1942         (vc-sccs-diff): Replace use of the external vcdiff script.
1944 2012-06-05  Glenn Morris  <rgm@gnu.org>
1946         * ledit.el: Move to obsolete/.
1948 2012-06-05  Sam Steingold  <sds@gnu.org>
1950         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
1951         patch (Bug#11140).
1953 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1955         * emacs-lisp/cust-print.el: Move to obsolete.
1957         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1958         compiler-macro expansion.
1960         Add native compiler-macro support.
1961         * emacs-lisp/macroexp.el (macroexpand-all-1):
1962         Support compiler-macros directly.  Properly follow aliases and apply
1963         the compiler macros more thoroughly.
1964         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1965         macroexpand now properly follows aliases.
1966         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1967         (cl-compiler-macroexpand): Use new prop.
1968         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1970         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1972 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
1974         * window.el (get-lru-window, get-mru-window, get-largest-window):
1975         New argument NOT-SELECTED to avoid picking the selected window.
1976         (window--display-buffer-1, window--display-buffer-2): Replace by
1977         new function window--display-buffer
1978         (display-buffer-same-window, display-buffer-reuse-window)
1979         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1980         Use window--display-buffer.
1981         (display-buffer-use-some-window): Remove temporary dedication
1982         hack by calling get-lru-window and get-largest-window with
1983         NOT-SELECTED argument non-nil.  Call window--display-buffer.
1985 2012-06-05  Glenn Morris  <rgm@gnu.org>
1987         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1988         Replace external vcdiff script.
1990 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1992         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1994 2012-06-04  Chong Yidong  <cyd@gnu.org>
1996         * image.el (imagemagick-types-inhibit): Revert last change.
1997         Add INFO and M.
1998         (imagemagick-enabled-types): Remove CIN and EPS*.
2000 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2002         * emacs-lisp/cl-lib.el: Rename from cl.el.
2003         * emacs-lisp/cl.el: New compatibility file.
2004         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2005         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2006         to obey the "cl-" prefix.
2007         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2009 2012-06-03  Glenn Morris  <rgm@gnu.org>
2011         * emacs-lisp/authors.el (authors-aliases): Addition.
2013         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2014         Fix :version.
2016 2012-06-03  Stefan Merten  <smerten@oekonux.de>
2018         * textmodes/rst.el: Add comments.
2019         (rst-transition, rst-adornment): New faces.
2020         (rst-adornment-faces-alist): Make default safe to reevaluate.
2021         Fixes
2022         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2023         Improve customization tags.
2024         (rst-define-level-faces): Clarify meaning.
2026 2012-06-03  Chong Yidong  <cyd@gnu.org>
2028         * progmodes/compile.el (compilation-mode-line-fail)
2029         (compilation-mode-line-run, compilation-mode-line-exit):
2030         New faces.
2031         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2033 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
2035         * progmodes/which-func.el (which-func-update-ediff-windows):
2036         New function.  Use it in ediff-select-hook (Bug#11478).
2038 2012-06-03  Chong Yidong  <cyd@gnu.org>
2040         * bindings.el: Remove explicit help text from format-mode-line.
2041         It is now supplied by mode-line-default-help-echo.
2042         (mode-line-front-space, mode-line-end-spaces)
2043         (mode-line-misc-info): New variables.
2044         (mode-line-modes, mode-line-position): Move the default value to
2045         the variable definition.
2046         (mode-line-default-help-echo): New defcustom.
2047         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2048         (mode-line-modified-help-echo): New functions.
2049         (mode-line-mule-info, mode-line-modified): Use them.
2050         (mode-line-eol-desc, propertized-buffer-identification):
2051         Consistency fixes for help text.
2052         (mode-line-coding-system-map): Allow using mouse-3 to invoke
2053         set-buffer-file-coding-system (Bug#289).
2054         (mode-line-mule-info-help-echo): Update help text.
2056 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2058         * simple.el (execute-extended-command): Set real-this-command
2059         (bug#11506).
2061 2012-06-02  Chong Yidong  <cyd@gnu.org>
2063         Remove incorrect uses of "modeline" in comments, docstrings, and
2064         function/variable names (Bug#10329).
2066         * cus-edit.el (mode-line):
2067         * dframe.el (dframe-mouse-hscroll):
2068         * emacs-lisp/re-builder.el:
2069         * emacs-lisp/easy-mmode.el (define-minor-mode):
2070         * frame.el (set-frame-name):
2071         * help.el (lookup-minor-mode-from-indicator):
2072         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2073         * progmodes/cc-cmds.el (c-toggle-auto-newline)
2074         (c-toggle-hungry-state):
2075         * progmodes/antlr-mode.el (antlr-language-alist):
2076         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2077         * progmodes/vhdl-mode.el (vhdl-mode):
2078         * progmodes/which-func.el (which-func, which-func-cleanup-function):
2079         * term/ns-win.el (ns-face-at-pos):
2080         * term/sup-mouse.el (sup-mouse-report):
2081         * textmodes/flyspell.el (flyspell-mode-line-string):
2082         * textmodes/ispell.el (ispell-highlight-face):
2083         * textmodes/reftex-global.el:
2084         * vc/vc-arch.el (vc-arch-mode-line-string):
2085         * vc/vc-cvs.el (vc-cvs-mode-line-string):
2086         * vc/vc-git.el (vc-git-mode-line-string):
2087         * vc/vc-hooks.el (vc-display-status)
2088         (vc-default-mode-line-string):
2089         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2091         * ansi-color.el (ansi-color-faces-vector): Change default faces.
2093         * dired.el (dired-sort-set-mode-line): Rename from
2094         dired-sort-set-modeline.  All callers changed.
2096         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2097         eshell-status-in-modeline.
2099         * foldout.el (foldout-mode-line-string): Rename from
2100         foldout-modeline-string.  All callers changed.
2101         (foldout-update-mode-line): Rename from foldout-update-modeline.
2103         * subr.el (redraw-modeline): Make into obsolete alias.
2105         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2106         timeclock-modeline-display.  Make old name an alias.
2107         (timeclock-update-mode-line): Likewise.  All callers changed.
2108         (timeclock-mode-line-display): No need to check before using
2109         add-hook.
2110         (timeclock-relative, timeclock-day-over-hook)
2111         (timeclock-use-elapsed, timeclock-mode-string)
2112         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2114         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2115         crisp-mode-modeline-string.
2117         * play/solitaire.el (solitaire-build-mode-line): Rename from
2118         solitaire-build-modeline.  All callers changed.
2120         * play/zone.el (zone-hiding-mode-line): Rename from
2121         zone-hiding-modeline.  All callers changed.
2122         (zone): Remove unusued `modeline-hidden-level' property.
2124         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2125         xscheme-modeline-initialize.  All callers changed.
2127         * strokes.el (strokes-lighter): Rename from
2128         strokes-modeline-string.
2130         * textmodes/sgml-mode.el (html-face-tag-alist)
2131         (html-tag-face-alist): Use mode-line face instead of obsolete
2132         alias modeline.
2134 2012-06-02  Stefan Merten  <smerten@oekonux.de>
2136         * textmodes/rst.el: Always require `cl'.
2137         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2139 2012-06-02  Chong Yidong  <cyd@gnu.org>
2141         * image.el (imagemagick-enabled-types): Rename from
2142         imagemagick-types-enable.  Add many more types.
2143         (imagemagick-types-inhibit): Change default to nil.
2144         (imagemagick-filter-types): Caller changed.
2146 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2148         * emacs-lisp/cl-macs.el: Use backquotes.
2149         (cl-transform-function-property): Use eval-and-compile rather than
2150         abusing `require'.
2151         (defstruct): Use declare-function instead of with-no-warnings.
2153         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2154         (byte-compile-output-docform): Re-add the print-circle bindings.
2155         (byte-compile-fix-header): Use #$ just because it's shorter.
2156         (byte-compile-output-file-form): Remove defun/defmacro.
2158 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
2160         * simple.el (choose-completion): Remove now obsolete binding for
2161         owindow.
2163 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
2165         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2166         in order to avoid "Stack overflow in regexp matcher".
2168 2012-05-31  Glenn Morris  <rgm@gnu.org>
2170         * image.el: For clarity, call imagemagick-register-types at
2171         top-level, rather than relying on a custom :initialize.
2172         (imagemagick-types-enable): New option.  (Bug#11557)
2173         (imagemagick-filter-types): New function.  (Bug#7406)
2174         (imagemagick-register-types): Use imagemagick-filter-types.
2175         If disabling support, remove elements altogether rather
2176         than using an impossible regexp.
2177         (imagemagick-types-inhibit): Give it the default init function.
2179 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2181         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2182         Handle arbitrary file name lengths (Bug#11585).
2184 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
2186         * desktop.el (desktop-read): Clear previous and next buffers for
2187         all windows and bury *Messages* buffer (bug#11556).
2189 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2191         Add `declare' for `defun'.  Align `defmacro's with it.
2192         * emacs-lisp/easy-mmode.el (define-minor-mode)
2193         (define-globalized-minor-mode): Don't autoload the var definitions.
2194         * emacs-lisp/byte-run.el: Use lexical-binding.
2195         (defun-declarations-alist, macro-declarations-alist): New vars.
2196         (defmacro, defun): Use them.
2197         (make-obsolete, define-obsolete-function-alias)
2198         (make-obsolete-variable, define-obsolete-variable-alias):
2199         Use `declare'.
2200         (macro-declaration-function): Mark obsolete.
2201         * emacs-lisp/autoload.el: Use lexical-binding.
2202         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
2204 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2206         * textmodes/ispell.el (ispell-with-no-warnings):
2207         Define as a macro.
2208         (ispell-kill-ispell, ispell-change-dictionary):
2209         Use `called-interactively-p' for Emacs instead of obsolete
2210         `interactive-p'.
2212 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2214         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2215         (macro-declaration-function): Move var from C code.
2216         (macro-declaration-function): Define function with defalias.
2217         * emacs-lisp/macroexp.el (macroexpand-all-1):
2218         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2219         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2220         defun/defmacro any more.
2221         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2222         Provide fallback for unknown arglist.
2223         (byte-compile-arglist-warn): Change calling convention.
2224         (byte-compile-output-file-form): Move print-vars binding.
2225         (byte-compile-output-docform): Simplify accordingly.
2226         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2227         (byte-compile-defmacro-declaration): Remove.
2228         (byte-compile-file-form-defmumble): Generalize to defalias.
2229         (byte-compile-output-as-comment): Return byte-positions.
2230         Simplify callers accordingly.
2231         (byte-compile-lambda): Use `assert'.
2232         (byte-compile-defun, byte-compile-defmacro): Remove.
2233         (byte-compile-file-form-defalias):
2234         Use byte-compile-file-form-defmumble.
2235         (byte-compile-defalias-warn): Remove.
2237 2012-05-29  Stefan Merten  <smerten@oekonux.de>
2239         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2240         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
2242         (rst-mode-abbrev-table): Merge definition.
2243         (rst-mode): Make sure `font-lock-defaults' is buffer local.
2244         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2246 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
2248         * calendar/icalendar.el
2249         (icalendar-export-region): Export UID properly.
2251 2012-05-29  Leo Liu  <sdl.web@gmail.com>
2252         * calendar/icalendar.el (icalendar-import-format):
2253         Add `icalendar-import-format-uid' (Bug#11525).
2254         (icalendar-import-format-uid): New.
2255         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2256         Export UID.
2258 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2260         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2261         different alternative patterns.
2262         (pcase-codegen): Be more careful to preserve identity.
2263         (pcase--u1): Don't forget to mark vars as used.
2265         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2266         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2267         (byte-compile-from-buffer): ...rather than here.
2269         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2270         functions from byte-compile-function-environment.
2272 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
2274         * window.el (window-deletable-p): Avoid deleting the root window
2275         of a frame with an active minibuffer.
2277 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
2279         * simple.el (choose-completion): Use quit-window (Bug#11567).
2281 2012-05-29  Chong Yidong  <cyd@gnu.org>
2283         * whitespace.el (whitespace-cleanup): Fix usage of
2284         whitespace-empty-at-bob-regexp (Bug#11492).
2286 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2288         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2289         revert (Bug#11488).
2291 2012-05-29  Juri Linkov  <juri@jurta.org>
2293         * isearch.el (isearch-mode-map): Bind `M-s _' to
2294         `isearch-toggle-symbol'.  Bind `M-s c' to
2295         `isearch-toggle-case-fold'.
2296         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2297         (isearch-forward): Add `M-s _' to the docstring.
2298         (isearch-forward-symbol, isearch-toggle-case-fold)
2299         (isearch-symbol-regexp): New functions.  (Bug#11381)
2301 2012-05-29  Juri Linkov  <juri@jurta.org>
2303         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
2304         (isearch-occur, isearch-search-and-update): If `isearch-word' is
2305         a function, call it to get the regexp.
2306         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2307         property `isearch-message-prefix' instead of the string "word ".
2308         (isearch-search-fun-default): For the case of `isearch-word',
2309         return a lambda that calls re-search-forward/re-search-backward
2310         with a regexp returned by `word-search-regexp' or by the function
2311         in `isearch-word'.
2313 2012-05-29  Juri Linkov  <juri@jurta.org>
2315         * isearch.el (isearch-search-fun-default): New function.
2316         (isearch-search-fun): Move default part to the new function
2317         `isearch-search-fun-default'.
2318         (isearch-search-fun-function): Set the default value to
2319         `isearch-search-fun-default'.  (Bug#11381)
2321         * comint.el (comint-history-isearch-end):
2322         Use `isearch-search-fun-default'.
2323         (comint-history-isearch-search): Use `isearch-search-fun-default'
2324         and remove spacial case for `isearch-word'.
2325         (comint-history-isearch-wrap): Remove spacial case for
2326         `isearch-word'.
2328         * hexl.el (hexl-isearch-search-function):
2329         Use `isearch-search-fun-default'.
2331         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2332         Use `word-search-regexp' for `isearch-word'.
2334         * misearch.el (multi-isearch-search-fun):
2335         Use `isearch-search-fun-default'.
2337         * simple.el (minibuffer-history-isearch-search):
2338         Use `isearch-search-fun-default' and remove spacial case for
2339         `isearch-word'.
2340         (minibuffer-history-isearch-wrap): Remove spacial case for
2341         `isearch-word'.
2343         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2344         Remove spacial case for `isearch-word'.
2345         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2347 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2349         Decrease XEmacs incompatibilities.
2350         * textmodes/flyspell.el (flyspell-check-pre-word-p):
2351         Use `string-match'.
2352         (flyspell-delete-region-overlays): Use alternative definition for
2353         XEmacs.
2354         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2355         (flyspell-word): Use `process-kill-without-query' if XEmacs.
2356         (flyspell-mode-on): Use `interactive-p' if XEmacs.
2357         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2358         `define-obsolete-face-alias' under XEmacs, but old method.
2360         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2361         `with-no-warnings' definition or Emacs alias.
2362         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2363         (ispell-word): Do not use `region-p' if XEmacs.
2365 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2367         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2368         Check for `ispell-dictionary-base-alist' instead of full
2369         `ispell-dictionary-alist'.
2370         (ispell-init-process): Show spellchecker when starting new Ispell
2371         process.
2373 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2375         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2376         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2378 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
2380         * version.el (motif-version-string, gtk-version-string)
2381         (ns-version-string): Declare.
2383 2012-05-27  Juri Linkov  <juri@jurta.org>
2385         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2386         after the `eval-defun-1' specialcaseing
2387         like in `edebug-eval-defun' (bug#10181).
2389         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2390         like in `eval-defun-1'.
2392 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
2394         * mail/sendmail.el (mail-yank-region):
2395         Recognize rmail-yank-current-message in addition to insert-buffer.
2396         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2397         a *mail* buffer created through rmail-start-mail with sendmail as
2398         mail-user-agent.
2400 2012-05-27  Chong Yidong  <cyd@gnu.org>
2402         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2403         Default to 256 (Bug#11267).
2405         * help.el (describe-mode): Doc fix.
2407 2012-05-26  Glenn Morris  <rgm@gnu.org>
2409         * w32-fns.el (w32-init-info): Remove.
2410         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2412         * info.el (info-initialize): For self-contained NS builds, put the
2413         included info/ directory at the front.  (Bug#2791)
2415         * paths.el (Info-default-directory-list): Make it a defcustom,
2416         mainly so that we can use custom-initialize-delay.
2418 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2420         * subr.el (buffer-has-markers-at): Mark obsolete.
2422         * subr.el (lambda): Use declare.
2424         * emacs-lisp/lisp-mode.el (lambda):
2425         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2427 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2429         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
2431 2012-05-26  Glenn Morris  <rgm@gnu.org>
2433         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2435 2012-05-25  Glenn Morris  <rgm@gnu.org>
2437         * paths.el: Remove no-byte-compile.
2438         * loadup.el: No need to load paths.el uncompiled.
2440         * image.el (imagemagick-types-inhibit): Doc fix.
2442         * version.el: Remove no-byte-compile and associated formatting.
2443         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
2444         is ancient code from when there was an "inc-vers.el".
2446 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2448         * progmodes/gdb-mi.el: Minor style changes.
2449         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2450         Turn into minor modes.
2451         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2452         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2453         (gdb-shell): Remove unneeded let-binding.
2454         (gdb-get-many-fields): Eliminate O(n²) behavior.
2456 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
2458         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2459         platforms that don't link in fontset.c.
2461 2012-05-25  Juri Linkov  <juri@jurta.org>
2463         Use the same diff color scheme as in modern VCSes (bug#10181).
2465         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2466         to avoid confusion with `diff-added' that now uses green colors.
2467         (diff-removed): Use shades of red.
2468         (diff-added): Use shades of green.
2469         (diff-changed): Leave just the yellow color.
2470         (diff-use-changed-face): New variable.
2471         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2472         how to highlight context diff changes.
2473         (diff-refine-change): Use shades of yellow.
2474         (diff-refine-removed): New face that uses shades of red.
2475         (diff-refine-added): New face that uses shades of green.
2476         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2477         `diff-refine-removed' in the call to `smerge-refine-subst'
2478         depending on the value of `diff-use-changed-face'.
2480         * vc/smerge-mode.el (smerge-mine): Use shades of red.
2481         (smerge-other): Use shades of green.
2482         (smerge-base): Use shades of yellow.
2483         (smerge-refined-change): Empty face.
2484         (smerge-refined-removed): New face that uses shades of red.
2485         (smerge-refined-added): New face that uses shades of green.
2486         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
2487         args `props-r' and `props-a', and use them.  Doc fix.
2488         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2489         on its value use different faces `smerge-refined-change',
2490         `smerge-refined-removed', `smerge-refined-added' in the call to
2491         `smerge-refine-subst'.
2493         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2494         Add face condition `min-colors 88' with shades of red.
2495         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2496         `min-colors 88' with shades of green.
2497         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2498         `min-colors 88' with shades of yellow.
2500 2012-05-24  Glenn Morris  <rgm@gnu.org>
2502         * paths.el (prune-directory-list, remote-shell-program): Move to...
2503         * files.el (prune-directory-list, remote-shell-program): ...here.
2504         For the latter, delay initialization, prefer ssh, just search PATH.
2506         * paths.el (term-file-prefix): Move to faces.el (the only user).
2507         * faces.el (term-file-prefix): Move here, make it a defcustom.
2509         * paths.el (news-directory, news-path, news-inews-program):
2510         Move to gnus/nnspool.el.
2512         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2514         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2515         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2516         Make the latter a defcustom, with a delayed initialization.
2518         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2519         These were deleted from Gnus itself late 2010.
2521 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
2523         * progmodes/which-func.el (which-func-ff-hook):
2524         Check against user-error, not error.
2526         * emacs-lisp/edebug.el (top): Do not load or set up loading of
2527         cl-specs.el, which no longer exists.
2529 2012-05-22  Glenn Morris  <rgm@gnu.org>
2531         * info.el (info-emacs-bug): New command.
2532         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2533         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2535 2012-05-21  Glenn Morris  <rgm@gnu.org>
2537         * makefile.w32-in (update-subdirs-SH):
2538         * Makefile.in (update-subdirs): Update for moved update-subdirs.
2540 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2542         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2544         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2545         Simplify Maven regexp, and make sure the file can't start with a space
2546         (bug#11517).
2548 2012-05-21  Glenn Morris  <rgm@gnu.org>
2550         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2551         Scrap superfluous subshells.
2553 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2555         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2556         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2558 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
2560         * calc/calc.el (calc-ensure-consistent-units): New variable.
2562         * calc/calc-units.el (math-consistent-units-p)
2563         (math-check-unit-consistency): New functions.
2564         (calc-quick-units, calc-convert-units):
2565         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2566         is non-nil.
2567         (calc-extract-units): Fix typo.
2569 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2571         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2573         * textmodes/flyspell.el: Commenting style, plus code simplifications.
2574         (flyspell-default-deplacement-commands): Don't spell check after
2575         repeated window/frame switches (e.g. triggered by mouse-movement).
2576         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2577         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2578         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2579         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2580         Remove unused vars.
2581         (flyspell-get-casechars, flyspell-get-not-casechars):
2582         Simplify; Don't bother removing a ] just to add it back.
2583         * textmodes/ispell.el (ispell-program-name): Use executable-find.
2585 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2587         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2588         New functions.
2589         (math-function-table): Add support for more C functions.
2591 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2593         * textmodes/flyspell.el (flyspell-check-pre-word-p)
2594         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2595         Protect delay handling for otherchars against empty otherchars.
2597 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2599         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2600         their respective macro declarations.
2601         * skeleton.el (define-skeleton):
2602         * progmodes/compile.el (define-compilation-mode):
2603         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2604         (define-ibuffer-filter):
2605         * emacs-lisp/generic.el (define-generic-mode):
2606         * emacs-lisp/easy-mmode.el (define-minor-mode)
2607         (define-globalized-minor-mode):
2608         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2609         * emacs-lisp/byte-run.el (defsubst):
2610         * custom.el (deftheme): Add doc-string metadata.
2612 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2614         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2616 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2618         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2620         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2621         * emacs-lisp/cl-macs.el: Idem.
2622         * emacs-lisp/cl-specs.el: Remove.
2624 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2626         Minor renaming of internal CL functions and variables.
2627         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2628         (cl--position): Rename from cl-position.
2629         (cl--delete-duplicates): Rename from cl-delete-duplicates.
2630         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2631         (cl--random-state): Rename from *random-state*.
2633 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2635         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2636         parens around the arg list (bug#11499).
2638 2012-05-17  Juri Linkov  <juri@jurta.org>
2640         * isearch.el (word-search-regexp, word-search-backward)
2641         (word-search-forward, word-search-backward-lax)
2642         (word-search-forward-lax): Move functions from search.c
2643         (bug#10145, bug#11381).
2645 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2647         * textmodes/flyspell.el (flyspell-check-pre-word-p)
2648         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2649         Delay for otherchars as for normal word components.
2651 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2653         * minibuffer.el (completion--sifn-requote): Fix last change.
2654         (minibuffer-local-must-match-filename-map):
2655         Move define-obsolete-variable-alias before its var.
2657 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2659         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2661         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2662         behavior.
2663         (completion--string-equal-p): New function.
2664         (completion--twq-all): Use it to get better assertion failure data.
2666         Only handle ".." and '..' quoting in shell-mode (bug#11466).
2667         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2668         (shell--requote-argument): New functions.
2669         (shell-completion-vars): Use them.
2670         (shell--parse-pcomplete-arguments): Rename from
2671         shell-parse-pcomplete-arguments.
2672         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
2673         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2674         Obey comint-file-name-quote-list.
2676         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2677         (smie-indent-keyword): Use it.
2679 2012-05-14  Stefan Merten  <smerten@oekonux.de>
2681         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2683 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2685         * net/rlogin.el (rlogin-mode-map): Fix last change.
2687 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
2689         * mail/smtpmail.el (smtpmail-send-command): Send the command and
2690         the following \r\n using a single `process-send-string', since the
2691         Lotus SMTP server refuses to accept any commands if they are sent
2692         with two `process-send-string's (Bug#11444).
2694 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2696         * shell.el (shell-parse-pcomplete-arguments):
2697         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2699 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
2701         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2702         (image-transform-scale, image-transform-right-angle-fudge): New vars.
2703         (image-transform-width, image-transform-fit-width): New functions.
2704         (image-transform-properties): Use them.
2705         (image-transform-check-size): New function.
2706         (image-toggle-display-image): Use it (for testing).
2707         (image-transform-set-rotation): Reduce angle mod 360.
2708         Delete obsolete comment.
2710 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
2712         * image-mode.el: Fix scaling (bug#11399).
2713         (image-transform-resize): Doc fix.
2714         (image-transform-properties): Default scale is 1 and height should
2715         be an integer.
2717 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
2719         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2720         than hard-coding `car', to fix misbehavior when moving forward.
2722 2012-05-13  Chong Yidong  <cyd@gnu.org>
2724         * emacs-lisp/tabulated-list.el (tabulated-list-format)
2725         (tabulated-list-entries, tabulated-list-padding)
2726         (tabulated-list-sort-key): Make permanent-local.
2728         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2729         (electric-buffer-list): Put electric buffer menu
2730         command descriptions in this docstring, instead of the docstring
2731         of electric-buffer-menu-mode.  Code cleanups.
2732         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
2733         Electric-buffer-menu-mode.
2734         (electric-buffer-update-highlight): Minor code cleanup.
2736 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
2738         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2739         (Bug#11447)
2741 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2743         Move define-obsolete-variable-alias before the var's definition.
2744         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2745         * tooltip.el (tooltip-hook):
2746         * textmodes/reftex-toc.el (reftex-toc-map):
2747         * textmodes/reftex-sel.el (reftex-select-label-map)
2748         (reftex-select-bib-map):
2749         * textmodes/reftex-index.el (reftex-index-map)
2750         (reftex-index-phrases-map):
2751         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2752         * progmodes/meta-mode.el (meta-mode-map):
2753         * novice.el (disabled-command-hook):
2754         * loadhist.el (unload-hook-features-list):
2755         * frame.el (blink-cursor):
2756         * files.el (find-file-not-found-hooks, write-file-hooks)
2757         (write-contents-hooks):
2758         * emulation/tpu-edt.el (GOLD-map):
2759         * emacs-lock.el (emacs-lock-from-exiting):
2760         * emacs-lisp/generic.el (generic-font-lock-defaults):
2761         * emacs-lisp/chart.el (chart-map):
2762         * dos-fns.el (register-name-alist):
2763         * dired-x.el (dired-omit-files-p):
2764         * desktop.el (desktop-enable):
2765         * cus-edit.el (custom-mode-hook):
2766         * buff-menu.el (buffer-menu-mode-hook):
2767         * bookmark.el (bookmark-read-annotation-text-func)
2768         (bookmark-exit-hooks):
2769         * allout.el (allout-mode-deactivate-hook)
2770         (allout-exposure-change-hook, allout-structure-added-hook)
2771         (allout-structure-deleted-hook, allout-structure-shifted-hook):
2772         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2773         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2774         comes before the corresponding variable's definition.
2776 2012-05-12  Chong Yidong  <cyd@gnu.org>
2778         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2779         (Buffer-menu-mouse-select): Restore function (Bug#11459).
2780         (Buffer-menu-mode-map): Bind it.
2781         (Buffer-menu--pretty-name): Add a mouse-face property.
2783 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2785         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
2786         (prolog-upper-case-string, prolog-lower-case-string)
2787         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2788         (prolog-use-smie, prolog-smie-grammar): New vars.
2789         (prolog-smie-forward-token, prolog-smie-backward-token)
2790         (prolog-smie-rules): New funs.
2791         (prolog-comment-indent): Remove.
2792         (prolog-mode-variables): Use default comment indentation instead.
2793         Setup SMIE.
2794         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2795         (prolog-mode): Don't call them any more.
2796         (prolog-electric-colon, prolog-electric-dash)
2797         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2799         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2801         * minibuffer.el (completion--twq-all): Again, allow case differences.
2803         * term.el: Move keymap initialization code to be more idiomatic.
2804         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2805         (term-terminal-menu): Move initialization into declaration.
2806         (term-escape-char): Let the user set it in her .emacs.
2808         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2809         Provide SMIE-based indentation (not enabled by default yet).
2810         (sh-mode-map): Don't bind electric keys.
2811         Use electric-pair-mode instead of skeleton-pair.
2812         (sh-assignment-regexp): Fit within 80 columns.
2813         (sh-indent-supported): Specify actual shell name instead of boolean.
2814         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2815         (sh-maybe-here-document): Use it.  Make obsolete.
2816         (sh-electric-here-document-mode) New minor mode.
2817         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
2818         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2819         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2820         (sh-smie-rc-grammar, sh-use-smie): New vars.
2821         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2822         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2823         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2824         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2825         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2826         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2827         (sh-set-shell): Use smie-setup if requested.
2829         * term.el (term-set-escape-char): Properly set term-escape-char.
2830         See http://stackoverflow.com/questions/10524656.
2832 2012-05-10  Chong Yidong  <cyd@gnu.org>
2834         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2835         Use url-generic-parse-url, and handle host names and Windows
2836         filenames properly.
2837         (ffap-url-unwrap-remote): Use url-generic-parse-url.
2838         (ffap-url-unwrap-remote): Accept list values, specifying a list of
2839         URL schemes to work on.
2840         (ffap--toggle-read-only): New function.
2841         (ffap-read-only, ffap-read-only-other-window)
2842         (ffap-read-only-other-frame): Use it.
2843         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2844         necessary for ffap-url-unwrap-remote.
2846 2012-05-10  Dave Abrahams  <dave@boostpro.com>
2848         * cus-start.el (create-lockfiles): Add it.
2850 2012-05-09  Chong Yidong  <cyd@gnu.org>
2852         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2853         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2855 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2857         * shell.el (shell-completion-vars): Fix last change (bug#11348).
2859 2012-05-09  Chong Yidong  <cyd@gnu.org>
2861         * ansi-color.el (ansi-color-process-output): Check for validity of
2862         comint-last-output-start before using it.  This avoids a bad
2863         interaction with gdb-mi's input/output buffer.
2865 2012-05-09  Glenn Morris  <rgm@gnu.org>
2867         * files.el (dir-locals-read-from-file):
2868         Mention dir-locals in any error message.
2870 2012-05-09  Chong Yidong  <cyd@gnu.org>
2872         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2873         package (Bug#11410).
2875         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2876         variables into description.
2878 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2880         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2881         shell-delimiter-argument-list (bug#11348).
2882         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2884 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
2886         * textmodes/rst.el: Silence byte-compiler warnings.
2887         (rst-re-alist, rst-reset-section-caches): Move around.
2888         (rst-re): Use `characterp', not `char-valid-p'.
2889         (font-lock-beg, font-lock-end): Declare.
2891         * progmodes/idlw-shell.el (specs): Remove reference to deleted
2892         variable `idlwave-shell-activate-alt-keybindings' and simplify.
2894         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2896 2012-05-08  Glenn Morris  <rgm@gnu.org>
2898         * files.el (auto-mode-alist): Treat ".make" like ".mk".
2900 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2902         * vc/log-edit.el: Add GNU coding standards highlighting.
2903         (log-edit-font-lock-gnu-style)
2904         (log-edit-font-lock-gnu-keywords): New vars.
2905         (log-edit-font-lock-keywords): New fun.
2906         (log-edit-mode): Don't fold case in font-lock.
2907         (log-edit-font-lock-keywords): Do not assume case-folding.
2909         * imenu.el: Misc cleanup.  Make docstrings out of comments.
2910         Use lexical-binding.
2911         (imenu--index-alist, imenu--last-menubar-index-alist)
2912         (imenu-menubar-modified-tick): Use defvar-local.
2913         (imenu--split-menu): Remove unused var.
2914         (imenu--cleanup-seen): Declare as global.
2915         (imenu--cleanup): Use dolist.
2917         * subr.el (defvar-local): Add debug spec and doc-string position.
2919 2012-05-08  Glenn Morris  <rgm@gnu.org>
2921         * language/burmese.el, language/cham.el, language/czech.el:
2922         * language/english.el, language/georgian.el, language/greek.el:
2923         * language/japanese.el, language/khmer.el, language/korean.el:
2924         * language/lao.el, language/misc-lang.el, language/romanian.el:
2925         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2926         * language/thai.el, language/utf-8-lang.el:
2927         Remove no-byte-compile setting.
2929         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
2931 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2933         * progmodes/make-mode.el (makefile-browse):
2934         Remove unnecessary interactive.  (Bug#11324)
2936 2012-05-07  Glenn Morris  <rgm@gnu.org>
2938         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2940         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2942 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2944         * loadup.el: Preload newcomment.el.
2945         * newcomment.el: Move autoload-only code to toplevel.
2947         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2948         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2949         Handle new :right-align column property.
2950         (tabulated-list-print-col): Idem, plus use `display' text-property to
2951         try and preserve alignment for variable pitch fonts.
2953 2012-05-07  Chong Yidong  <cyd@gnu.org>
2955         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2956         (tabulated-list-use-header-line): New var.
2957         (tabulated-list-init-header): Use it.
2958         (tabulated-list-print-fake-header): New function.
2959         (tabulated-list-print): Use it.
2960         (tabulated-list-sort-button-map): Add non-header-line commands.
2961         (tabulated-list-init-header): Add column name property to basic
2962         labels as well.
2963         (tabulated-list-col-sort): Handle non-header-line button case.
2964         (tabulated-list--sort-by-column-name): Fix a corner case.
2966         * buff-menu.el (list-buffers--refresh):
2967         Handle Buffer-menu-use-header-line.
2969 2012-05-06  Chong Yidong  <cyd@gnu.org>
2971         * buff-menu.el: Convert to Tabulated List mode.
2972         (Buffer-menu-buffer+size-width): Make obsolete.
2973         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2974         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2975         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
2976         documentation into docstring of buffer-menu.
2977         (Buffer-menu-toggle-files-only): Add an informative message.
2978         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2979         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2980         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2981         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2982         (Buffer-menu-execute, Buffer-menu-select)
2983         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2984         (Buffer-menu-bury): Use Tabulated List machinery.
2985         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2986         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2987         Delete.
2988         (list-buffers--refresh): New function.
2989         (list-buffers-noselect): Use it.
2990         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2991         (Buffer-menu--pretty-file-name): New helper functions.
2993         * loadup.el: Preload tabulated-list.
2995         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2996         tabulated-list-sort-column.
2997         (tabulated-list-init-header): Add the initial aligning space even
2998         if tabulated-list-padding is zero.
3000 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
3002         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3003         whose cdr is not a cons cell correctly (bug#11038).
3005 2012-05-06  Chong Yidong  <cyd@gnu.org>
3007         * emacs-lisp/tabulated-list.el (tabulated-list-format):
3008         Accept additional plist in column descriptors.
3009         (tabulated-list-init-header): Obey it.
3010         (tabulated-list-get-entry): New function.
3011         (tabulated-list-put-tag): Use it.  Use string-width instead of
3012         length.
3013         (tabulated-list--column-number): New function.
3014         (tabulated-list-print): Use it.
3015         (tabulated-list-print-col): New function.
3016         Set `tabulated-list-column-name' property on each column's text.
3017         (tabulated-list-print-entry): Use it.
3018         (tabulated-list-delete-entry, tabulated-list-set-col):
3019         New functions.
3020         (tabulated-list-sort-column): New command (Bug#11337).
3022         * buff-menu.el (list-buffers): Move C-x C-b binding from
3023         buff-menu.el to bindings.el.
3025         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3026         :advertised-binding feature.
3028 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
3030         * progmodes/compile.el (compilation-internal-error-properties):
3031         Calculate start position correctly when end-col is set but
3032         end-line is not (Bug#11382).
3034 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
3036         * man.el (Man-unindent): Use text-property-default-nonsticky to
3037         prevent untabify from inheriting face properties (Bug#11408).
3039 2012-05-05  Stefan Merten  <smerten@oekonux.de>
3041         * textmodes/rst.el: Major merge with upstream development up to
3042         Docutils SVN r7399 / rst.el V1.2.1.
3044         Clarify maintainership and authors.
3046         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3047         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3048         (rst-official-version, rst-official-cvs-rev, rst-version)
3049         (rst-package-emacs-version-alist): New functions and variables
3050         for version information.
3052         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3053         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3054         (rst-mode-syntax-table, rst-mode): New and corrected functions
3055         and variables representing reStructuredText features.
3057         (rst-re): New function for reStructuredText regexes.  Use in
3058         many places.
3060         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3061         (rst-mode-map): Rebind keys.
3063         (rst-mode-lazy, rst-font-lock-keywords)
3064         (rst-font-lock-extend-region)
3065         (rst-font-lock-extend-region-internal)
3066         (rst-font-lock-extend-region-extend)
3067         (rst-font-lock-find-unindented-line-limit)
3068         (rst-font-lock-find-unindented-line-match)
3069         (rst-adornment-level, rst-font-lock-adornment-level)
3070         (rst-font-lock-adornment-match)
3071         (rst-font-lock-handle-adornment-pre-match-form)
3072         (rst-font-lock-handle-adornment-matcher): Major revision of
3073         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
3075         (rst-preferred-adornments, rst-adjust-hook)
3076         (rst-new-adornment-down, rst-preferred-bullets)
3077         (rst-preferred-bullets, rst-indent, rst-indent-width)
3078         (rst-indent-field, rst-indent-literal-normal)
3079         (rst-indent-literal-minimized, rst-indent-comment): Change,
3080         extend and improve customization.
3082         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3083         (rst-normalize-cursor-position, rst-get-decoration)
3084         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3085         (rst-rstrip, rst-toc-insert-find-delete-contents)
3086         (rst-shift-fill-region, rst-compute-bullet-tabs)
3087         (rst-debug-print-tabs, rst-debug-mark-found)
3088         (rst-shift-region-guts, rst-shift-region-right)
3089         (rst-shift-region-left, rst-use-char-classes)
3090         (rst-font-lock-keywords-function)
3091         (rst-font-lock-indentation-point)
3092         (rst-font-lock-find-unindented-line-begin)
3093         (rst-font-lock-find-unindented-line-end)
3094         (rst-font-lock-find-unindented-line)
3095         (rst-font-lock-adornment-point, rst-font-lock-level)
3096         (rst-adornment-level-alist): Remove functions and variables.
3098         (rst-compare-adornments, rst-get-adornment-match)
3099         (rst-suggest-new-adornment, rst-get-adornments-around)
3100         (rst-adornment-complete-p, rst-get-next-adornment)
3101         (rst-adjust-adornment, rst-display-adornments-hierarchy)
3102         (rst-straighten-adornments): Standardize function names to
3103         use "adornment" instead of "decoration".  Correct callers.
3104         Similar standardizing in many places.
3106         (rst-update-section, rst-adjust, rst-promote-region)
3107         (rst-enumerate-region, rst-bullet-list-region)
3108         (rst-repeat-last-character): Correct use of `interactive'.
3110         (rst-classify-adornment, rst-find-all-adornments)
3111         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3112         (rst-find-leftmost-column, rst-repeat-last-character):
3113         Refactor functions.
3115         (rst-find-title-line, rst-reset-section-caches)
3116         (rst-get-adornments-around, rst-adjust-adornment-work)
3117         (rst-arabic-to-roman, rst-roman-to-arabic)
3118         (rst-insert-list-pos, rst-insert-list-new-item)
3119         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3120         New functions.
3122         (rst-all-sections, rst-section-hierarchy)
3123         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3124         New variables.
3126         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3127         configuration instead of only buffer.  Change where necessary.
3129         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3130         (rst-shift-region, rst-adaptive-fill): New functions for
3131         indentation and filling.
3133         (rst-comment-line-break, rst-comment-indent)
3134         (rst-comment-insert-comment, rst-comment-region)
3135         (rst-uncomment-region): New functions for handling comments.
3137         (rst-compile): Quote shell arguments.
3139         (rst-compile-pdf-preview, rst-compile-slides-preview):
3140         Delete temporary files after use.
3142 2012-05-05  Glenn Morris  <rgm@gnu.org>
3144         * calendar/cal-html.el: Optionally include holidays in the output.
3145         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3146         (cal-html-holidays): New option.
3147         (cal-html-css-default): Add holiday entry.
3148         (holiday-in-range): Autoload it.
3149         (cal-html-htmlify-entry): Add optional class argument.
3150         (cal-html-htmlify-list): Add optional holidays argument.
3151         (cal-html-insert-agenda-days): Include holidays in the output.
3152         (cal-html-one-month): Maybe include holidays.
3154         * calendar/holidays.el (holiday-in-range):
3155         Move here from cal-tex-list-holidays.
3156         * calendar/cal-tex.el (cal-tex-list-holidays):
3157         Make it an obsolete alias for holiday-in-range.  Update all callers.
3159 2012-05-05  Chong Yidong  <cyd@gnu.org>
3161         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3162         Nextstep.
3164 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
3166         * files.el (file-auto-mode-skip): New var.
3167         (set-auto-mode-1): Use it.
3169 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3171         * repeat.el: Use lexical-binding.
3172         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3173         (repeat-undo-count): Remove.
3174         (repeat):
3175         * progmodes/octave-mod.el (octave-abbrev-start):
3176         * progmodes/f90.el (f90-abbrev-start):
3177         * face-remap.el (text-scale-adjust):
3178         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3180         * emacs-lisp/pcase.el (pcase--let*): New function.
3181         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3182         a bit more.
3183         (pcase--split-pred): Be more clever about ruling out overlap between
3184         a predicate and some constant pattern.
3185         (pcase--q1): Use `null' instead of (eq foo nil).
3187         * subr.el (setq-local, defvar-local): New macros.
3188         (kbd): Redefine as an alias.
3189         (with-selected-window): Leave unrelated frames alone.
3190         (set-temporary-overlay-map): New function.
3192 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3194         * subr.el (user-error): New function.
3195         * window.el (switch-to-buffer):
3196         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3197         (smerge-match-conflict):
3198         * simple.el (previous-matching-history-element)
3199         (next-matching-history-element, goto-history-element, undo-more)
3200         (undo-start):
3201         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3202         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3203         (next-file, tags-loop-scan, list-tags, complete-tag):
3204         * progmodes/compile.el (compilation-loop):
3205         * mouse.el (mouse-minibuffer-check):
3206         * man.el (Man-bgproc-sentinel, Man-goto-page):
3207         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3208         (Info-history-forward, Info-follow-reference, Info-menu)
3209         (Info-extract-menu-item, Info-extract-menu-counting)
3210         (Info-forward-node, Info-backward-node, Info-next-menu-item)
3211         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3212         (Info-next-reference, Info-prev-reference, Info-index)
3213         (Info-index-next, Info-follow-nearest-node)
3214         (Info-copy-current-node-name):
3215         * imenu.el (imenu--make-index-alist)
3216         (imenu-default-create-index-function, imenu-add-to-menubar):
3217         * files.el (basic-save-buffer, recover-file):
3218         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3219         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3220         (checkdoc-message-text, checkdoc-defun):
3221         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3222         * cus-edit.el (customize-changed-options, customize-rogue)
3223         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3224         (custom-variable-mark-to-reset-standard)
3225         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3226         (custom-file):
3227         * completion.el (check-completion-length):
3228         * comint.el (comint-search-arg)
3229         (comint-previous-matching-input-string-position)
3230         (comint-previous-matching-input)
3231         (comint-replace-by-expanded-history-before-point, comint-send-input)
3232         (comint-copy-old-input, comint-backward-matching-input)
3233         (comint-goto-process-mark, comint-set-process-mark):
3234         * calendar/calendar.el (calendar-cursor-to-date): Use it.
3235         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3237 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3239         * dabbrev.el (dabbrev--ignore-case-p): New function.
3240         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3241         Use it.
3243         * files.el (automount-dir-prefix): Mark as obsolete.
3245 2012-05-04  Glenn Morris  <rgm@gnu.org>
3247         * patcomp.el, play/bruce.el: Move to obsolete/.
3249 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
3251         Fix minor Y10k bugs.
3252         * arc-mode.el (archive-unixdate):
3253         * autoinsert.el (auto-insert-alist):
3254         * calc/calc-forms.el (math-this-year):
3255         * emacs-lisp/copyright.el (copyright-current-year)
3256         (copyright-update-year, copyright):
3257         * tar-mode.el (tar-clip-time-string):
3258         * time.el (display-time-update):
3259         Don't assume years have 4 digits.
3261 2012-05-04  Chong Yidong  <cyd@gnu.org>
3263         * dos-w32.el (file-name-buffer-file-type-alist)
3264         (direct-print-region-use-command-dot-com):
3265         * ffap.el (ffap-menu-regexp):
3266         * find-file.el (ff-special-constructs):
3267         * follow.el (follow-debug):
3268         * forms.el (forms--debug):
3269         * iswitchb.el (iswitchb-all-frames):
3270         * ido.el (ido-all-frames):
3271         * emacs-lisp/timer.el (timer-max-repeats):
3272         * mail/feedmail.el (feedmail-mail-send-hook)
3273         (feedmail-mail-send-hook-queued):
3274         * mail/footnote.el (footnote-signature-separator):
3275         * mail/mailabbrev.el (mail-alias-separator-string)
3276         (mail-abbrev-mode-regexp):
3277         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3278         * progmodes/idlwave.el (idlwave-libinfo-file)
3279         (idlwave-default-completion-case-is-down)
3280         (idlwave-library-routines): Convert defvars to defcustoms.
3282         * mail/rmail.el (rmail-decode-mime-charset):
3283         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3284         (idlwave-shell-fix-inserted-breaks)
3285         (idlwave-shell-activate-alt-keybindings)
3286         (idlwave-shell-use-breakpoint-glyph):
3287         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3289 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3291         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3293 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
3295         * progmodes/verilog-mode.el (font-lock-keywords):
3296         Fix mis-highligting auto.  Reported by Craig Barner.
3297         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3298         defines from global name space. Reported by Dan Dever.
3299         (verilog-auto-reset, verilog-auto-reset-widths)
3300         (verilog-auto-tieoff): Support using unbased numbers for
3301         AUTORESET and AUTOTIEOFF.
3302         (verilog-submit-bug-report): Update variable list.
3303         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3304         parenthesis from not matching. Reported by Michael Rytting.
3305         (verilog-auto-template-lint): Fix hash error when linting modules
3306         with no used templates.
3307         (verilog-warn, verilog-warn-error)
3308         (verilog-warn-fatal): When non-interactive report multiple
3309         warnings before exiting.  Suggested by Brad Dobbie.
3310         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3311         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3312         to report unused template errors.  Reported by Brad Dobbie.
3313         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3314         nets, bug438. Reported by Vns Blore.
3315         (verilog-auto-inout-module, verilog-auto-reg)
3316         (verilog-read-decls, verilog-read-sub-decls-sig)
3317         (verilog-signals-edit-wire-reg, verilog-signals-with):
3318         Fix passing of Verilog data types in ANSI input/output ports
3319         such as "output logic" into the AUTOs. Special case "wire" and
3320         "reg" for backwards compatibility presuming Verilog 2001.
3321         (verilog-auto-ascii-enum): Add "auto enum" as alias.
3322         (verilog-preprocess): Fix replication of preprocess output.
3323         Reported by Brad Dobbie.
3324         (verilog-auto-inst-interfaced-ports):
3325         Create verilog-auto-inst-interfaced-ports, bug429.
3326         Reported by Julian Gorfajn.
3327         (verilog-after-save-font-hook)
3328         (verilog-before-save-font-hook): New variable.
3329         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3330         (verilog-save-font-mods): Wrap disabling fontification, reported
3331         by David Rogoff.
3332         (verilog-do-indent, verilog-pretty-declarations-auto)
3333         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3334         Reported by Pierre-David Pfister.
3335         (verilog-set-auto-endcomments): Fix endtask auto comments outside
3336         of class declarations, bug292.  Reported by Kevin Heilman.
3337         (verilog-read-decls): Fix 'parameter type' not appearing in
3338         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
3339         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3340         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3341         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3342         Reported by David Kravitz.
3344 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
3346         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3347         assignment with tests in ifs and for loops.
3348         (verilog-extended-complete-re, verilog-complete-reg): Change so
3349         that DPI inport functions don't look like fuction declarations.
3350         (verilog-pretty-expr): Don't line up assignment
3351         operations to the test and increment in if and for loops
3352         (verilog-extended-complete-re, verilog-complete-reg): Change so
3353         that DPI inport functions don't look like fuction declarations.
3355 2012-05-03  Kenichi Handa  <handa@m17n.org>
3357         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3358         decoding, and show a warning message without signaling an error
3359         (Bug#11282).
3361 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3363         * emacs-lisp/bytecomp.el
3364         (byte-compile-file-form-custom-declare-variable): Compile all elements,
3365         since cconv.el might have introduced :fun-body, internal-make-closure,
3366         and friends for bytecomp to handle (bug#11391).
3367         * custom.el (defcustom): Avoid ((λ ..) ..).
3369 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3371         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3373 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
3375         * notifications.el (dbus-debug):
3376         * term/linux.el (gpm-mouse-enable):
3377         * term/screen.el (xterm-register-default-colors): Declare.
3379 2012-05-02  Chong Yidong  <cyd@gnu.org>
3381         * cus-start.el (gc-cons-percentage, exec-suffixes)
3382         (dos-display-scancodes, dos-hyper-key, dos-super-key)
3383         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3384         (make-cursor-line-fully-visible, void-text-area-pointer)
3385         (font-list-limit): Add customization data.
3387         * allout.el (allout-exposure-change-functions)
3388         (allout-structure-added-functions)
3389         (allout-structure-deleted-functions)
3390         (allout-structure-shifted-functions): Rename abnormal hooks from
3391         *-hook, and convert to defcustoms.
3392         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3393         Convert to defcustoms.
3394         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3396         * allout-widgets.el: Hook callers changed.
3398 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
3400         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3401         the yanked message in preference to the default value of
3402         buffer-file-coding-system.
3404 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
3406         * window.el (display-buffer--action-function-custom-type):
3407         Fix entry.
3409 2012-05-02  Alan Mackenzie  <acm@muc.de>
3411         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3413 2012-05-01  Glenn Morris  <rgm@gnu.org>
3415         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3417         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
3419         * cus-edit.el (custom-variable-documentation): Simplify with format.
3421 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3422             Stefan Monnier  <monnier@iro.umontreal.ca>
3424         * simple.el (suggest-key-bindings, execute-extended-command):
3425         Move from keyboard.c.
3427 2012-05-01  Chong Yidong  <cyd@gnu.org>
3429         * follow.el: Eliminate advice.
3430         (set-process-filter, process-filter, sit-for): Advice deleted.
3431         (follow-mode-off-hook): Obsolete hook removed.
3432         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3433         Vars deleted.
3434         (follow-auto): Use a :set function.
3435         (follow-mode): Rewritten.  Don't advise process filters.
3436         (follow-switch-to-current-buffer-all, follow-scroll-up)
3437         (follow-scroll-down): Assume follow-mode is bound.
3438         (follow-comint-scroll-to-bottom)
3439         (follow-align-compilation-windows): New functions.
3440         (follow--window-sorter): New function.
3441         (follow-all-followers): Use it to explicitly sort windows by their
3442         positions; don't make assumptions about next-window order.
3443         (follow-windows-start-end, follow-delete-other-windows-and-split)
3444         (follow-calc-win-start): Doc fix.
3445         (follow-windows-aligned-p, follow-select-if-visible): Don't call
3446         vertical-motion unnecessarily.
3447         (follow-adjust-window): New function.
3448         (follow-post-command-hook): Use it.
3449         (follow-call-set-process-filter, follow-call-process-filter)
3450         (follow-intercept-process-output, follow-tidy-process-filter-alist)
3451         (follow-stop-intercept-process-output, follow-generic-filter):
3452         Functions deleted.
3453         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
3454         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3455         New functions, replacing advice on scroll-bar-* commands.
3456         (follow-mwheel-scroll): New function (Bug#4112).
3458         * comint.el (comint-adjust-point): New function.
3459         (comint-postoutput-scroll-to-bottom): Use it.
3460         Call follow-comint-scroll-to-bottom for Follow mode buffers.
3462 2012-05-01  Glenn Morris  <rgm@gnu.org>
3464         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3465         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3466         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3467         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3468         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3469         Remove no-byte-compile setting.
3471 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3473         * minibuffer.el (completion-table-with-quoting): Fix compatibility
3474         all-completions code to not return a number in the last cdr.
3476 2012-04-30  Leo Liu  <sdl.web@gmail.com>
3478         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3479         read-only error.
3481 2012-04-29  Chong Yidong  <cyd@gnu.org>
3483         * follow.el (follow-calc-win-end): Rewrite to handle partial
3484         screen lines correctly (Bug#8390).
3485         (follow-avoid-tail-recenter): Minor cleanup.
3487 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3489         Avoid the obsolete `assoc' package.
3490         * speedbar.el (speedbar-refresh): Avoid adelete.
3491         (speedbar-file-lists): Simplify and avoid aput.
3492         * man.el (Man--sections, Man--refpages): New vars, replacing
3493         Man-sections-alist and Man-refpages-alist.
3494         (Man-build-section-alist, Man-build-references-alist):
3495         Use them; avoid aput.
3496         (Man--last-section, Man--last-refpage): New vars.
3497         (Man-follow-manual-reference): Use them.
3498         Use the `default' arg of completing-read.
3499         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
3501 2012-04-27  Chong Yidong  <cyd@gnu.org>
3503         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3505         * startup.el (x-apply-session-resources): New function.
3507         * term/ns-win.el (ns-initialize-window-system):
3508         * term/w32-win.el (w32-initialize-window-system):
3509         * term/x-win.el (x-initialize-window-system): Use it to properly
3510         set menu-bar-mode and other vars from X resources, even if the
3511         initial frame is not a window-system frame (Bug#2299).
3513         * subr.el (read-key): Avoid running filter function when setting
3514         up temporary tool bar entries (Bug#9922).
3516 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
3518         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3519         (Bug#11344)
3521 2012-04-27  Chong Yidong  <cyd@gnu.org>
3523         * select.el (xselect--encode-string): New function, split from
3524         xselect-convert-to-string.
3525         (xselect-convert-to-string): Use it.
3526         (xselect-convert-to-filename, xselect-convert-to-os)
3527         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3528         returned strings are properly encoded (Bug#11315).
3530 2012-04-27  Chong Yidong  <cyd@gnu.org>
3532         * simple.el (delete-active-region): Move to killing custom group.
3534 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
3536         * progmodes/which-func.el (which-func-current): Quote %
3537         characters for mode-line processing.
3539 2012-04-27  Chong Yidong  <cyd@gnu.org>
3541         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3542         reaching eob (Bug#11286).
3544 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
3546         * progmodes/gdb-mi.el (gdb-control-level): New variable.
3547         (gdb): Make it buffer-local and init to zero.
3548         (gdb-control-commands-regexp): New variable.
3549         (gdb-send): Don't wrap in "-interpreter-exec console" if
3550         gdb-control-level is positive.  Increment gdb-control-level
3551         whenever the command matches gdb-control-commands-regexp, and
3552         decrement it each time the command is "end".  (Bug#11279)
3554 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
3556         * window.el (adjust-window-trailing-edge, enlarge-window)
3557         (shrink-window, window-resize):
3558         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3559         windows (Bug#11276).
3561 2012-04-27  Chong Yidong  <cyd@gnu.org>
3563         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3564         fix "missing prefix" warning.  All callers changed.
3566 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3568         * emacs-lisp/assoc.el: Move to obsolete/.
3570 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3572         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3574         * term/ns-win.el (ns-define-service):
3575         * progmodes/pascal.el (pascal-goto-defun):
3576         * progmodes/js.el (js--read-tab):
3577         * progmodes/etags.el (tags-lazy-completion-table):
3578         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3579         * emacs-lisp/ewoc.el (ewoc--wrap):
3580         * emacs-lisp/assoc.el (aput, adelete, amake):
3581         * doc-view.el (doc-view-convert-current-doc):
3582         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3584 2012-04-26  Chong Yidong  <cyd@gnu.org>
3586         * image.el (image-type-from-buffer): Only return supported image
3587         type (Bug#9045).
3589         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3590         value, for symmetry with diff-end-of-hunk.
3591         (diff-split-hunk, diff-find-source-location)
3592         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3593         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3594         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3595         compute the relevant hunk or file properly (Bug#6005).
3596         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3598 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3600         * vc/vc-mtn.el:
3601         * vc/vc-hg.el:
3602         * vc/vc-git.el:
3603         * vc/vc-dir.el:
3604         * vc/vc-cvs.el:
3605         * vc/vc-bzr.el:
3606         * vc/vc-arch.el:
3607         * vc/vc.el: Replace lexical-let by lexical-binding.
3608         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3609         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3610         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3612 2012-04-26  Chong Yidong  <cyd@gnu.org>
3614         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3615         (diff-mode-shared-map): Bind it to / and [remap undo].
3617         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3618         (ediff-window-setup-function): Use it as the default, to set up
3619         windows based on whether the current frame is graphical (Bug#2138).
3620         (ediff-choose-window-setup-function-automatically): Make obsolete.
3622         * vc/ediff-init.el: Always define ediff-pixel-width/height.
3624 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3626         * ffap.el: Remove old code for obsolete package.
3627         (ffap-complete-as-file-p): Remove.
3629         Use completion-table-with-quoting for comint and pcomplete.
3630         * comint.el (comint--unquote&requote-argument)
3631         (comint--unquote-argument, comint--requote-argument): New functions.
3632         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3633         (comint-quote-filename): Use regexp-opt-charset.
3634         (comint--common-suffix, comint--common-quoted-suffix)
3635         (comint--table-subvert): Remove.
3636         (comint-unquote-function, comint-requote-function): New vars.
3637         (comint--complete-file-name-data): Use them with
3638         completion-table-with-quoting.
3639         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3640         * pcomplete.el (pcomplete-arg-quote-list)
3641         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3642         (pcomplete-unquote-argument-function): Default to non-nil.
3643         (pcomplete-unquote-argument): Simplify.
3644         (pcomplete--common-quoted-suffix): Remove.
3645         (pcomplete-requote-argument-function): New var.
3646         (pcomplete--common-suffix): New function.
3647         (pcomplete-completions-at-point): Use completion-table-with-quoting
3648         and completion-table-subvert.
3650         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3651         (minibuffer--double-dollars): Preserve properties.
3652         (completion--sifn-requote): New function.
3653         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3655         * minibuffer.el: Add support for completion of quoted/escaped data.
3656         (completion-table-with-quoting, completion-table-subvert): New funs.
3657         (completion--twq-try, completion--twq-all): New functions.
3658         (completion--nth-completion): New function.
3659         (completion-try-completion, completion-all-completions): Use it.
3661 2012-04-25  Leo Liu  <sdl.web@gmail.com>
3663         * progmodes/python.el (python-pdbtrack-get-source-buffer):
3664         Use compilation-message if available to find real filename.
3666 2012-04-25  Chong Yidong  <cyd@gnu.org>
3668         * vc/diff-mode.el (diff-setup-whitespace): New function.
3669         (diff-mode): Use it.
3671         * vc/diff.el (diff-sentinel):
3672         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3673         Whitespace mode variables based on diff style (Bug#8612).
3675 2012-04-25  Leo Liu  <sdl.web@gmail.com>
3677         * progmodes/python.el (python-send-region): Add suffix .py to the
3678         temp file.
3680         * files.el (auto-mode-alist): Use javascript-mode instead.
3682 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
3684         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
3686         * net/soap-client.el (soap-resolve-references-for-sequence-type)
3687         (soap-resolve-references-for-array-type): Hack to prevent self
3688         references, see Bug#9.
3689         (soap-parse-envelope): Report the contents of the 'detail' node
3690         when receiving a fault reply.
3691         (soap-parse-envelope): Report the contents of the entire 'detail' node.
3693         * net/soap-inspect.el (soap-sample-value-for-simple-type)
3694         (soap-inspect-simple-type): New function.
3696         * net/soap-client.el (soap-simple-type): New struct.
3697         (soap-default-xsd-types, soap-default-soapenc-types)
3698         (soap-decode-basic-type, soap-encode-basic-type):
3699         support unsignedInt and double basic types.
3700         (soap-resolve-references-for-simple-type)
3701         (soap-parse-simple-type, soap-encode-simple-type): New function.
3702         (soap-parse-schema): Parse xsd:simpleType declarations.
3704         * net/soap-client.el (soap-default-xsd-types)
3705         (soap-default-soapenc-types): Add integer, byte and anyURI types.
3706         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3707         the local name of "soapenc:Array".
3708         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3709         decoding integer, byte and anyURI xsd types.
3711 2012-04-25  Chong Yidong  <cyd@gnu.org>
3713         * cus-edit.el (custom-buffer-create-internal): Update header text.
3715 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
3717         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3718         settings on 'system-type', not on 'window-system'.  On MS-Windows,
3719         set interactive-mode on in GDB.
3721 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3723         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3724         (ruby-syntax-propertize-regexp): Remove.
3725         (ruby-syntax-propertize-function): Split regexp into chunks.
3726         Match following code directly.
3728 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
3730         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3731         (ruby-syntax-propertize-regexp): New function.
3732         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3733         by a special keyword.
3735         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3736         (ruby-syntax-general-delimiters-goto-beg)
3737         (ruby-syntax-propertize-general-delimiters): New functions.
3738         (ruby-syntax-propertize-function): Use them to handle GDL.
3739         (ruby-font-lock-keywords): Move old handling of GDL...
3740         (ruby-font-lock-syntactic-keywords): .. to here.
3741         (ruby-calculate-indent): Adjust indentation for GDL.
3743 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
3745         * notifications.el (top): Remove unneeded declarations.
3746         (notifications-specification-version): Change to "1.2".
3747         (notifications-interface, notifications-notify-method)
3748         (notifications-close-notification-method): Fix docstring.
3749         (notifications-get-capabilities-method): New defconst.
3750         (notifications-notify): Add :action-items, :resident and
3751         :transient hints.  Change "image_data" to "image-data" and
3752         "image_path" to "image-path".
3753         (notifications-get-capabilities): New defun.
3755 2012-04-24  Leo Liu  <sdl.web@gmail.com>
3757         * progmodes/python.el: Move hideshow setup to the end.
3759 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
3761         * window.el (handle-select-window): Clear echo area since this is
3762         no more done by read_char (Bug#11304).
3764 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3766         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3767         and `/ M' to filter-derived-mode.
3768         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3769         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3770         (ibuffer-mark-by-mode): Use default rather than initial-input.
3771         (ibuffer-filter-by-derived-mode): Autoload and require-match.
3773 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
3775         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3776         (ibuffer-filter-by-derived-mode): New filter.
3777         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3779 2012-04-23  Andreas Politz  <politza@fh-trier.de>
3781         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3783 2012-04-23  Chong Yidong  <cyd@gnu.org>
3785         * cus-edit.el (customize-apropos, customize-apropos-options):
3786         Disable matching of non-option variables (Bug#11176).
3787         (customize-option, customize-option-other-window)
3788         (customize-changed-options): Doc fix.
3789         (customize-apropos-options, customize-apropos-faces)
3790         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3792         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3793         Fix word list splitting (Bug#11132).
3794         (apropos-symbol, apropos-keybinding, apropos-label)
3795         (apropos-property, apropos-function-button)
3796         (apropos-variable-button, apropos-misc-button): New faces.
3797         (apropos-symbol-face, apropos-keybinding-face)
3798         (apropos-label-face, apropos-property-face, apropos-match-face):
3799         Variables removed (Bug#8396).
3800         (apropos-library-button, apropos-format-plist, apropos-print)
3801         (apropos-print-doc, apropos-describe-plist): Callers changed.
3803 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
3805         * net/xesam.el (xesam-mode-map): Use let-bound map in
3806         initialization.  (Bug#11292)
3808 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3810         Preserve ispell session localwords when switching back to
3811         original buffer.
3813         * textmodes/ispell.el (ispell-buffer-session-localwords):
3814         New buffer-local variable to hold buffer session localwords.
3815         (ispell-kill-ispell): Add option 'clear to delete session
3816         localwords.
3817         (ispell-command-loop, ispell-change-dictionary)
3818         (ispell-buffer-local-words): Preserve session localwords when
3819         needed.
3821         * textmodes/flyspell.el (flyspell-process-localwords)
3822         (flyspell-do-correct): Preserve session localwords when needed.
3824 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3826         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3827         using obsolete `translation-table-for-input'.
3828         (ispell-word, ispell-process-line, ispell-complete-word):
3829         Use plain `insert' instead of removed `ispell-insert-word'.
3831 2012-04-22  Chong Yidong  <cyd@gnu.org>
3833         * cus-edit.el (custom-variable-menu)
3834         (custom-variable-reset-saved, custom-face-menu)
3835         (custom-face-reset-saved): If there is no saved value, make the
3836         "reset-saved" operation bring back the default (Bug#9509).
3837         (custom-face-state): Properly detect themed faces.
3839         * faces.el (face-spec-set): Stop supporting deprecated form of
3840         third arg.
3842 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
3844         Move functions from C to Lisp.  Make non-blocking method calls
3845         the default.  Implement further D-Bus standard interfaces.
3847         * net/dbus.el (dbus-message-internal): Declare function.
3848         Remove unneeded function declarations.
3849         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3850         (dbus-message-type-method-return, dbus-message-type-error)
3851         (dbus-message-type-signal): Declare variables.  Remove local
3852         definitions.
3853         (dbus-interface-dbus, dbus-interface-peer)
3854         (dbus-interface-introspectable, dbus-interface-properties)
3855         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3856         Adapt docstring.
3857         (dbus-interface-objectmanager): New defconst.
3858         (dbus-call-method, dbus-call-method-asynchronously)
3859         (dbus-send-signal, dbus-method-return-internal)
3860         (dbus-method-error-internal, dbus-register-service)
3861         (dbus-register-signal, dbus-register-method): New defuns, moved
3862         from dbusbind.c
3863         (dbus-call-method-handler, dbus-setenv)
3864         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3865         New defuns.
3866         (dbus-call-method-non-blocking): Make it an obsolete function.
3867         (dbus-unregister-object, dbus-unregister-service)
3868         (dbus-handle-event, dbus-register-property)
3869         (dbus-property-handler): Obey the new structure of
3870         `bus-registered-objects'.
3871         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
3872         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3873         Use `dbus-call-method'.
3875 2012-04-22  Chong Yidong  <cyd@gnu.org>
3877         * cus-edit.el (custom-commands, custom-reset-menu)
3878         (Custom-reset-standard): Tweak labels.
3879         (custom-reset-button-menu): Change default to t.
3880         (custom-buffer-create-internal): For the custom-reset-button-menu
3881         case, put the revert button first.
3882         (custom-group-subtitle): New face.
3883         (custom-group-value-create): Align docstring to a specific column.
3885         * wid-edit.el (widget-documentation-link-add): Don't handle
3886         indentation in this function.
3887         (widget-documentation-string-indent-to): New function.
3888         (widget-documentation-string-value-create): Use it.
3890         * autorevert.el (auto-revert):
3891         * epg-config.el (epg):
3892         * ibuffer.el (ibuffer):
3893         * mpc.el (mpc):
3894         * ses.el (ses):
3895         * eshell/eshell.el (eshell):
3896         * net/ange-ftp.el (ange-ftp):
3897         * progmodes/ebnf2ps.el (postscript):
3898         * progmodes/flymake.el (flymake):
3899         * progmodes/prolog.el (prolog):
3900         * progmodes/verilog-mode.el (verilog-mode):
3901         * progmodes/which-func.el (which-func):
3902         * term/xterm.el (xterm):
3903         * textmodes/picture.el (picture):
3904         * textmodes/tildify.el (tildify):
3905         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3906         customization buffers.
3908 2012-04-22  Alan Mackenzie  <acm@muc.de>
3910         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3911         Adding a ) can hide the resulting (..) from searches.  Fix it.
3912         Bound the backward search to the position of the existing (.
3914 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
3916         * progmodes/verilog-mode.el (verilog-mode): Check whether
3917         which-func-modes is t before adding verilog-mode.
3918         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3920 2012-04-21  Leo Liu  <sdl.web@gmail.com>
3922         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3924 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
3926         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3927         filling of the last column of a table (Bug#5635).
3928         (woman-find-next-control-line): New arg, specifying an additional
3929         regexp component for the control line.
3930         (woman2-roff-buffer): Use it.
3931         (woman-break-table): New function.
3932         (woman2-TS): Use it.
3934 2012-04-21  Chong Yidong  <cyd@gnu.org>
3936         * woman.el (woman-set-buffer-display-table, woman-decode-region)
3937         (woman-horizontal-escapes, woman-negative-vertical-space)
3938         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3939         (WoMan-warn-ignored): Use ?\s instead of ?\ .
3941 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3943         * minibuffer.el (completion-file-name-table): Complete user names.
3945 2012-04-20  Leo Liu  <sdl.web@gmail.com>
3947         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3948         and pcase-let*.
3950 2012-04-20  Chong Yidong  <cyd@gnu.org>
3952         * server.el (server-execute): Respect initial-buffer-choice if it
3953         is a string and there are no files to open (Bug#2825).
3954         (server-create-window-system-frame, server-create-tty-frame):
3955         Don't switch buffers here.
3956         (server-process-filter): Only try to open a window system frame if
3957         compiled with graphical support (Bug#8314).
3959 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
3961         * battery.el (battery-echo-area-format): Display remaining time
3962         for sysfs backend too (Bug#11269).
3963         (battery-linux-sysfs): Fix conditional for the charge.
3965 2012-04-20  Chong Yidong  <cyd@gnu.org>
3967         * progmodes/gdb-mi.el (gdb): Revert previous change.
3968         (gdb-inferior-io--init-proc): New function.
3969         (gdb-init-1): Use it.
3970         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3971         responsible for allocating a new pty and hooking it to gdb when
3972         the old pty gets an EIO due to process exit.
3973         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
3974         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3975         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3977 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3979         * window.el (window-min-size, window-sizable, window-min-delta)
3980         (window-max-delta, window--resizable, window-resizable)
3981         (window-total-size, window-full-height-p, window-full-width-p)
3982         (window-in-direction, window--resize-mini-window, window-resize)
3983         (window--resize-child-windows-normal)
3984         (window--resize-child-windows, window--resize-siblings)
3985         (window--resize-this-window, adjust-window-trailing-edge)
3986         (enlarge-window, shrink-window): Doc fixes.
3988 2012-04-20  Chong Yidong  <cyd@gnu.org>
3990         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3991         New function to call delete-process on the gdb-inferior buffer's pty.
3992         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3993         pty process (Bug#11273).
3994         (gdb-update): New arg to suppress talking to the gdb process.
3995         (gdb-done-or-error): Use it.
3996         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3997         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3998         sentinel not being called.
4000         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4002         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4004 2012-04-20  Glenn Morris  <rgm@gnu.org>
4006         * net/network-stream.el (open-network-stream): Doc fix.
4008 2012-04-20  Chong Yidong  <cyd@gnu.org>
4010         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4012 2012-04-20  Alan Mackenzie  <acm@muc.de>
4014         Ensure searching for keywords is case sensitive.
4016         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4017         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4018         (c-defun-name, c-mark-function, c-cpp-define-name)
4019         (c-comment-indent, c-scan-conditionals, c-indent-defun)
4020         (c-context-line-break): Bind case-fold-search to nil.
4022         * progmodes/cc-mode.el (c-font-lock-fontify-region):
4023         Bind case-fold-search to nil.
4025 2012-04-20  Chong Yidong  <cyd@gnu.org>
4027         * mail/sendmail.el (mail-bury): Call return action with the right
4028         Rmail buffer (Bug#11242).
4030         * server.el (server-process-filter): Handle corner case where both
4031         tty and nowait options are present (Bug#11102).
4033 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
4035         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4036         (top level): Put into the executable the ident-style '$Id:' tag on
4037         windows-nt as well.
4039 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4041         * electric.el (electric-indent-post-self-insert-function): Check that
4042         electric-indent-mode is enabled in current buffer.
4044 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
4046         * imenu.el (imenu-progress-message): Restore; it is "used" in
4047         erc/erc-imenu.el and net/snmp-mode.el.
4049 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
4051         * avoid.el (mouse-avoidance-mode): Mark unused arg.
4052         (mouse-avoidance-nudge-mouse): Remove unused binding.
4054         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4056         * descr-text.el (describe-char):
4057         * progmodes/python.el (python-describe-symbol):
4058         Don't call `toggle-read-only', set `buffer-read-only'.
4060         * imenu.el (imenu-default-goto-function): Mark unused args.
4061         (imenu-progress-message): Remove obsolete macro; all callers changed.
4063         * subr.el (keymap-canonicalize): Remove unused binding.
4064         (read-passwd): Mark unused arg.
4066         * tutorial.el (tutorial--display-changes): Remove unused binding.
4067         (tutorial--save-tutorial-to): Remove unused variable.
4069         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4070         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4071         (package-generate-autoloads, package-menu--generate)
4072         (package-menu--find-upgrades): Remove unused bindings.
4074         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4075         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
4076         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4077         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4078         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4079         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4080         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4081         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4082         (cua-delete-char-rectangle): Mark unused args.
4083         (cua-align-rectangle): Remove unused binding.
4085         * mail/rmail.el (compilation--message->loc)
4086         (epa--find-coding-system-for-mime-charset): Declare.
4088         * net/dbus.el (dbus-register-service): Declare.
4089         (dbus-name-owner-changed-handler): Remove unused binding.
4091         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4092         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4093         (nxml-scan-backward-within): Mark unused arg.
4094         (nxml-dynamic-markup-word): Remove unused binding.
4096         * mouse.el (mouse-menu-major-mode-map):
4097         * emacs-lisp/authors.el (authors-scan-change-log)
4098         (authors-add-to-author-list):
4099         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4100         * emacs-lisp/smie.el (smie-auto-fill):
4101         * mail/sendmail.el (mail-bury):
4102         * mail/unrmail.el (unrmail):
4103         * net/tls.el (open-tls-stream):
4104         * textmodes/picture.el (picture-mouse-set-point):
4105         Remove unused bindings.
4107 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
4109         * net/tramp.el (tramp-action-password): Let-bind
4110         `enable-recursive-minibuffers' to t.
4112 2012-04-18  Sam Steingold  <sds@gnu.org>
4114         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4115         instead of 'string to accommodate values like [f11].
4116         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4117         * progmodes/gdb-mi.el: Likewise.
4119 2012-04-18  Leo Liu  <sdl.web@gmail.com>
4121         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4122         current buffer.
4123         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4124         LOCAL is nil.
4126 2012-04-18  Chong Yidong  <cyd@gnu.org>
4128         * simple.el (line-move): Use forward-line if in batch mode
4129         (Bug#11053).
4131 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
4133         * files.el (after-find-file): Do not try to add a final newline if
4134         the buffer is read-only (Bug#11156).
4136 2012-04-17  Richard Stallman  <rms@gnu.org>
4138         * mail/rmail.el (rmail-start-mail):
4139         Pass (rmail-mail-return...) for the return-action.
4140         Pass (rmail-yank-current-message...) for the yank-action.
4141         (rmail-yank-current-message): New function.
4142         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4143         (rmail-reply): Likewise.
4144         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4146         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4147         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
4148         buffer, not newbuf.
4150 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
4152         * server.el (server-ensure-safe-dir): Simplify.
4154 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4156         * emacs-lisp/smie.el: Provide smarter auto-filling.
4157         (smie-auto-fill): New function.
4158         (smie-setup): Use it.
4160         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4162 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
4164         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4165         (comment-indent): Use it.
4167 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4169         * ses.el: The overall change is to add cell renaming, that is
4170         setting fancy names for cell symbols other than name matching
4171         "\\`[A-Z]+[0-9]+\\'" regexp .
4172         (ses-localvars): Add ses--renamed-cell-symb-list.
4173         (ses-create-cell-variable): New defun.
4174         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4175         (ses-relocate-formula): Relocate formulas only for cells the
4176         symbols of which are not renamed, i.e. symbols whose names do not
4177         match regexp "\\`[A-Z]+[0-9]+\\'".
4178         (ses-relocate-all): Relocate values only for cells the symbols of
4179         which are not renamed.
4180         (ses-load): Create cells variables as the (ses-cell ...) are read,
4181         in order to check row col consistency with cell symbol name only
4182         for cells that are not renamed.
4183         (ses-replace-name-in-formula): New defun.
4184         (ses-rename-cell): New defun.
4186 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
4188         * progmodes/perl-mode.el (perl-indent-parens-as-block):
4189         New option (bug#11118).
4190         (perl-calculate-indent): Respect it.
4192 2012-04-17  Glenn Morris  <rgm@gnu.org>
4194         * dired-aux.el (dired-mark-read-string): Doc fix.
4196 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
4198         * dired-aux.el (dired-mark-read-string): Offer optional completion.
4199         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
4201 2012-04-17  Glenn Morris  <rgm@gnu.org>
4203         * mouse.el (mouse-drag-track):
4204         * speedbar.el (speedbar-frame-mode):
4205         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4207 2012-04-16  Leo Liu  <sdl.web@gmail.com>
4209         * progmodes/python.el: Trivial cleanup.
4211 2012-04-16  Glenn Morris  <rgm@gnu.org>
4213         * vc/vc.el (vc-string-prefix-p):
4214         * vc/pcvs-util.el (cvs-string-prefix-p):
4215         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4216         * mpc.el (mpc-string-prefix-p):
4217         Make all of these into obsolete aliases for string-prefix-p.
4218         Update callers.
4219         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4221         * textmodes/two-column.el: Move custom options to the start.
4222         (frame-width): Remove compat definition.
4223         (2C-associate-buffer, 2C-dissociate):
4224         Use with-current-buffer rather than save-excursion.
4225         (2C-dissociate): Force a mode-line update.
4226         (2C-autoscroll): Use ignore-errors.
4228         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4229         Autoload trivia.
4231         * emacs-lisp/cl-extra.el (*random-state*):
4232         Remove unnecessary declaration.
4234         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4236         * play/cookie1.el (cookie-snarf):
4237         Give an explicit error if input file cannot be read.
4239         * play/yow.el (yow-file): Use expand-file-name rather than concat.
4241         * progmodes/perl-mode.el (c-macro-expand):
4242         Remove unnecessary autoload (it is in loaddefs.el).
4244         * textmodes/picture.el (picture-desired-column)
4245         (picture-update-desired-column): Convert comments to doc-strings.
4246         (picture-substitute): Remove function.
4247         (picture-mode-map): Initialize in the defvar.
4249         * woman.el: Remove eval-after-load for tar-mode.
4250         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4251         (woman-tar-extract-file): Autoload it.
4253         * frame.el (automatic-hscrolling): Make this alias obsolete.
4255 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4257         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4258         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4259         (ispell-dictionary-base-alist): Revert to original XEmacs
4260         friendly version for default.  [:alpha:] will be added in
4261         `ispell-set-spellchecker-params' if needed.
4263 2012-04-16  Chong Yidong  <cyd@gnu.org>
4265         * image.el (imagemagick--file-regexp): New variable.
4266         (imagemagick-register-types): Use it.
4267         (imagemagick-types-inhibit): Add :set function.  Allow new value
4268         of t to inhibit all types.
4270         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4271         so we can preload it.
4273         * loadup.el (fboundp): Preload regexp-opt, needed by
4274         imagemagick-register-types.
4276 2012-04-15  Chong Yidong  <cyd@gnu.org>
4278         * frame.el (scrolling): Remove nearly unused customization group.
4280         * scroll-all.el (scroll-all-mode): Move to windows group.
4282 2012-04-15  Chong Yidong  <cyd@gnu.org>
4284         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4286 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4288         Avoid the use of ((lambda ...) ...) in lexical-binding code.
4289         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4291 2012-04-15  Glenn Morris  <rgm@gnu.org>
4293         * simple.el (process-file-side-effects): Doc fix.
4295 2012-04-15  Glenn Morris  <rgm@gnu.org>
4297         * international/mule-cmds.el (set-language-environment): Doc fix.
4299 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
4301         * server.el (server-auth-key, server-generate-key): Doc fixes.
4302         (server-get-auth-key): Doc fix.  Use `string-match-p'.
4303         (server-start): Reflow docstring.
4305 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
4307         * server.el (server-generate-key): `called-interactively-p'
4308         requires a parameter.
4310 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
4312         * server.el (server-auth-key): New variable.
4313         (server-generate-key, server-get-auth-key): New function.
4314         (server-start): Use the new variable and functions to allow
4315         setting a permanent server key (bug#9423).
4317 2012-04-14  Leo Liu  <sdl.web@gmail.com>
4319         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4321 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
4323         Spelling fixes.
4324         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4325         Emacs uses American spelling.
4327 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
4329         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4330         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
4331         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4332         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
4334 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4336         * progmodes/which-func.el (which-func-modes): Change default.
4338 2012-04-14  Kim F. Storm  <storm@cua.dk>
4340         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4341         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4343 2012-04-14  Chong Yidong  <cyd@gnu.org>
4345         * custom.el (custom-theme-set-variables): Doc fix.
4347 2012-04-14  Glenn Morris  <rgm@gnu.org>
4349         * international/mule.el (set-auto-coding-for-load): Doc fix.
4351 2012-04-14  Alan Mackenzie  <acm@muc.de>
4353         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4354         imenu work again for Objective C Mode.  Correct the *-index values,
4355         these having been disturbed by a previous change in 2011-08.
4357         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4358         Correct two search limits.
4360 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4362         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4364 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
4366         * international/characters.el: Fix sorting.
4368 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
4370         * international/characters.el: Add more missing Latin case pairs.
4372 2012-04-14  Glenn Morris  <rgm@gnu.org>
4374         * files.el (dir-locals-set-class-variables): Doc fix.
4376 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
4378         * international/characters.el: Add set-case-syntax-pair call for
4379         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4380         counterpart.  (Bug#11209)
4382         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
4384 2012-04-14  Glenn Morris  <rgm@gnu.org>
4386         * calendar/holidays.el (calendar-check-holidays): Doc fix.
4388 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
4390         * textmodes/ispell.el (ispell-dictionary-base-alist):
4391         Add data for Hebrew.
4393 2012-04-14  Chong Yidong  <cyd@gnu.org>
4395         * net/rcirc.el (rcirc-cmd-quit):
4396         Revert 2012-03-18 change (Bug#11192).
4398 2012-04-14  Glenn Morris  <rgm@gnu.org>
4400         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4402 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
4404         * minibuffer.el (completion-in-region-mode-map):
4405         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
4407 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
4409         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4411 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
4413         * minibuffer.el (minibuffer-local-filename-syntax): New variable
4414         to allow `C-M-f' and `C-M-b' to move to the nearest path
4415         separator (bug#9511).
4417 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
4419         * avoid.el: Require cl when compiling.  And also move the
4420         `provide' to the end.
4422 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4424         * avoid.el (mouse-avoidance-banish-position): New variable.
4425         (mouse-avoidance-banish-destination): Use it (bug#10165).
4427 2012-04-13  Leo Liu  <sdl.web@gmail.com>
4429         * progmodes/which-func.el (which-func-modes): Add objc-mode.
4431 2012-04-13  Ken Brown  <kbrown@cornell.edu>
4433         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
4434         this is no longer needed now that cygstart understands file:// URLs.
4435         (browse-url-filename-alist): For the same reason, don't modify
4436         file:// URLs on Cygwin.
4438 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4440         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4441         the region on shift if the binding is already shifted (bug#11221).
4443 2012-04-12  Glenn Morris  <rgm@gnu.org>
4445         * mail/mailpost.el: Move to obsolete/.
4447 2012-04-12  Drew Adams  <drew.adams@oracle.com>
4449         * imenu.el (imenu--generic-function): Ignore invisible definitions
4450         (bug#10123).
4452 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
4454         * hexl.el (hexl-bits): New variable.
4455         (hexl-options): Mention the variable in the doc string.
4456         (hexl-rulerise, hexl-line-displen): New functions.
4457         (hexl-mode): Mention the new variable.
4458         (hexl-mode, hexl-current-address, hexl-current-address):
4459         Use the displen.
4460         (hexl-ascii-start-column): New function.
4461         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4462         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4464 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4466         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4467         '("-i" ENCODING), in 2 separate command-line arguments, to specify
4468         the encoding, as expected by hunspell.
4470 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4472         * battery.el (battery--linux-sysfs-regexp): New const.
4473         (battery-status-function): Use it.  Remove yeeloong special case.
4474         (battery-yeeloong-sysfs): Remove.
4475         (battery-echo-area-format): Remove yeeloong special case.
4477 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4479         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4480         Reported by Noah Friedman.
4482         * subr.el (read-passwd): Use read-string.
4484 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4486         * vcursor.el (vcursor-move): Increase the priority of the overlay
4487         (bug#9663).
4489 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4491         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4492         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4494 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
4496         * textmodes/artist.el (artist-mode): Convert artist-mode to use
4497         define-minor-mode (bug#10760).
4499 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
4501         * progmodes/grep.el (rgrep): Tweak the find command line so
4502         that directories matching `grep-find-ignored-files' won't be
4503         pruned (bug#10351).
4505 2012-04-11  Chong Yidong  <cyd@gnu.org>
4507         * startup.el (command-line): Remove support for long-obsolete
4508         variable font-lock-face-attributes.
4510 2012-04-11  Glenn Morris  <rgm@gnu.org>
4512         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4514 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4516         * window.el (window--state-get-1): Obey window-point-insertion-type.
4518 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
4520         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4521         to previous function when point is on the first character of a
4522         function.  Take care of that in `narrow-to-defun' (bug#6157).
4524 2012-04-11  Glenn Morris  <rgm@gnu.org>
4526         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4527         not just file-errors.
4529         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4530         (vc-bzr-sha1): Use internal sha1.
4532 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4534         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4536 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
4538         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4539         that start in the middle of the line (bug#10496).
4541 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
4543         * battery.el (battery-linux-proc-acpi): Only one battery is
4544         discharged at a time, but that seems to confuse battery.el when
4545         computing `rate-type' for the battery not being discharged
4546         (bug#10332).
4548 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4550         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4552         * international/quail.el: Use dolist and simplify.
4553         (quail-define-package, quail-update-keyboard-layout)
4554         (quail-define-rules): Use dolist.
4555         (quail-insert-kbd-layout, quail-get-translation): CSE.
4557         * tmm.el: Use dolist, remove left over hook.
4558         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4559         Use dolist.
4560         (calendar-load-hook): Don't mess with it.
4562         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4563         Use derived-mode-p.  Run the diff asynchronously.
4565 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4567         * obsolete/mouse-sel.el: Add an Obsolete-since header.
4569 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
4571         * misc.el: Display absolute path of loaded DLLs (bug#10424).
4572         (list-dynamic-libraries--loaded): New function.
4573         (list-dynamic-libraries--refresh): Use it.
4575 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
4577         * progmodes/python.el (python-fill-paragraph):
4578         Make python-fill-region in a multiline string work when font-lock is
4579         disabled (bug#7018).
4581 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
4583         * language/european.el (cp775): Add oem/legacy (en)coding on
4584         DOS/MS Windows for the Baltic languages.  There are still plenty
4585         of texts written in this encoding/codepage (bug#6519).
4587 2012-04-10  Glenn Morris  <rgm@gnu.org>
4589         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4590         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4592 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
4594         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4595         next-line "n" and previous-line "p" in order to make recentf more
4596         consistent with ibuffer, dired or org-mode (bug#9387).
4598 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4600         * image.el (put-image): Return the overlay created instead of the
4601         optional input string (bug#7834).  Note that this may break code
4602         that is (for some reason or other) depending on `put-image'
4603         returning the string.
4605         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4607         * simple.el (zap-to-char): Allow zapping using input methods
4608         (bug#1580).
4610         * textmodes/fill.el (fill-region): Leave point and mark where they
4611         were before filling (bug#5399).
4613 2012-04-09  Glenn Morris  <rgm@gnu.org>
4615         * version.el (emacs-bzr-get-version):
4616         Handle lightweight checkouts of local branches.
4618 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
4620         * international/characters.el: Recover lost case pairs.  (Bug#11209)
4622 2012-04-09  Chong Yidong  <cyd@gnu.org>
4624         * custom.el (custom-variable-p): Return nil for non-symbol
4625         arguments instead of signaling an error.
4626         (user-variable-p): Obsolete alias for custom-variable-p.
4628         * apropos.el (apropos-variable):
4629         * files-x.el (read-file-local-variable):
4630         * simple.el (set-variable):
4631         * woman.el (woman-mini-help):
4632         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4634 2012-04-09  Glenn Morris  <rgm@gnu.org>
4636         * startup.el (normal-top-level): Don't look for leim-list.el
4637         in places where it will not be found.  (Bug#910)
4639         * international/mule-cmds.el (set-default-coding-systems):
4640         * files.el (normal-mode):
4641         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
4642         This function was removed with ucs-tables.el in 2008.
4644 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
4646         * textmodes/ispell.el (ispell-check-version): For hunspell, set
4647         ispell-encoding8-command to "-i", without a trailing space.
4648         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4649         separate command-line arguments, to specify the encoding, since
4650         that's how hunspell expects it.
4652 2012-04-08  Glenn Morris  <rgm@gnu.org>
4654         * loadup.el: Load bindings before cus-start.
4655         This reduces somewhat the number of "rogue" settings in emacs -Q.
4657 2012-04-07  Glenn Morris  <rgm@gnu.org>
4659         * version.el (emacs-bzr-get-version): New function.
4660         (emacs-bzr-version): New variable.
4661         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
4662         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4664 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
4666         * international/uni-bidi.el, international/uni-category.el:
4667         * international/uni-combining.el, international/uni-decimal.el:
4668         * international/uni-decomposition.el, international/uni-digit.el:
4669         * international/uni-lowercase.el, international/uni-mirrored.el:
4670         * international/uni-name.el, international/uni-numeric.el:
4671         * international/uni-titlecase.el, international/uni-uppercase.el:
4672         Update for Unicode 6.1.
4674 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
4676         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4678 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4680         * window.el (shrink-window): Mention the `window-min-height'
4681         variable in the doc string.
4683 2012-04-05  Bastien Guerry  <bzg@altern.org>
4685         * color.el (color-lighten-name): Fix typo.
4687 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4689         * server.el (server--on-display-p): New function.
4690         (server--on-display-p): Use it.
4692 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
4694         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4695         (bug#11145).
4697 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4699         * comint.el (comint--common-quoted-suffix): Check string boundary
4700         before comparing (bug#11158).
4701         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4703 2012-04-04  Chong Yidong  <cyd@gnu.org>
4705         * minibuffer.el (completion-extra-properties): Doc fix.
4707         * subr.el (delayed-warnings-hook): Doc fix.
4709 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
4711         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4712         selection (Bug#11159).
4713         (epa-insert-keys): Inform that the default public key will be
4714         exported if no key is selected.
4716 2012-04-04  Richard Stallman  <rms@gnu.org>
4718         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4720 2012-04-03  Chong Yidong  <cyd@gnu.org>
4722         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4723         mail-insert-file, not its obsolete alias mail-attach-file.
4725 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
4727         * notifications.el (notifications-notify): Fix docstring.
4729 2012-04-02  Glenn Morris  <rgm@gnu.org>
4731         * emacs-lisp/authors.el (authors-aliases): Another addition.
4733 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
4735         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4736         `tramp-compat-call-process' instead of `tramp-local-call-process'.
4737         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4739 2012-04-01  Chong Yidong  <cyd@gnu.org>
4741         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4742         Handle root directory properly.
4743         (copy-directory): Caller changed.
4745         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4746         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4748 2012-03-31  Glenn Morris  <rgm@gnu.org>
4750         * term/xterm.el (xterm-extra-capabilities): Doc fix.
4752         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
4754         * calendar/calendar.el (calendar-window-list)
4755         (calendar-hide-window): Restore.  (Bug#11140)
4756         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4758         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4760 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4762         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4763         Check if file is a symlink (Bug#10489).
4765         * files.el (copy-directory): Likewise.
4767 2012-03-30  Chong Yidong  <cyd@gnu.org>
4769         * image.el (imagemagick-types-inhibit)
4770         (imagemagick-register-types): Doc fix.
4772 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4774         * textmodes/ispell.el (ispell-get-extended-character-mode):
4775         Disable extended-char-mode for hunspell.  hunspell does not support it
4776         and treats ~word as ordinary words in pipe mode.
4778 2012-03-30  Glenn Morris  <rgm@gnu.org>
4780         * tutorial.el (help-with-tutorial): Ensure local variables don't
4781         happen to make the buffer read-only.  (Bug#11127)
4783 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4785         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4786         (perl-calculate-indent): Return `noindent' in strings.
4788 2012-03-28  Sam Steingold  <sds@gnu.org>
4790         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4791         instead of the broken adhockery which does not prevent calendar
4792         buffers from being displayed at random after exit.
4793         (calendar-window-list, calendar-hide-window): Remove the broken
4794         adhockery.
4796 2012-03-28  Glenn Morris  <rgm@gnu.org>
4798         * replace.el (query-replace-map): Doc fix.
4800 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
4802         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4803         contents.  (Bug#11109)
4805 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4807         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4808         (bug#11077).
4809         (avl-tree--check, avl-tree--check-node): New funs.
4811 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
4813         * window.el (switch-to-visible-buffer): New option.
4814         (switch-to-prev-buffer, switch-to-next-buffer):
4815         Observe switch-to-visible-buffer.  Make sure that checking for a window
4816         showing a buffer already is done on the same frame.
4818 2012-03-27  Glenn Morris  <rgm@gnu.org>
4820         * startup.el (mail-host-address): Doc fix.
4822 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4824         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4825         than 197 variables.
4827 2012-03-26  Ami Fischman  <ami@fischman.org>
4829         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4831 2012-03-26  Glenn Morris  <rgm@gnu.org>
4833         * files.el (save-buffers-kill-emacs): Doc fix.
4835         * startup.el (normal-top-level, command-line, command-line-1):
4836         Give them doc strings.
4838 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
4840         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4841         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4843 2012-03-25  Chong Yidong  <cyd@gnu.org>
4845         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4846         theme if it was previously enabled before (Bug#11031).
4848         * cus-theme.el (custom-theme-write-faces): Retrieve current face
4849         spec with custom-face-get-current-spec if its :shown-value is not
4850         determined yet (Bug#9337).
4851         (customize-create-theme, custom-theme-revert): Doc fixes.
4853         * button.el (button-at): Minor addition to docstring.
4855 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
4857         * vc/vc.el (vc-merge): Fix a prompt.
4859 2012-03-24  Chong Yidong  <cyd@gnu.org>
4861         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4862         point (Bug#9623).
4864         * button.el (button-at): Minor addition to docstring.
4866 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4868         * newcomment.el (comment-choose-indent): No space after BOL.
4870 2012-03-22  Sam Steingold  <sds@gnu.org>
4872         * window.el (switch-to-prev-buffer): Revert last patch because the
4873         bug turned out to be an advertised feature (Elisp manual 28.14).
4875 2012-03-22  Glenn Morris  <rgm@gnu.org>
4877         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
4878         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4880 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4882         * net/network-stream.el (network-stream-open-starttls): Make error
4883         message under Windows be less misleading.
4885 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
4887         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4888         understands (bug#9942).
4890 2012-03-22  Chong Yidong  <cyd@gnu.org>
4892         * simple.el (end-of-visible-line): Handle return value of
4893         next-single-property-change properly (Bug#9371).
4895 2012-03-22  Kenichi Handa  <handa@m17n.org>
4897         * international/quail.el (quail-insert-kbd-layout): Fix previous
4898         change.  To avoid unwanted bidi reordering, use
4899         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4901 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
4903         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4904         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4905         (ruby-beginning-of-indent): Be more careful with the difference
4906         between word-boundary and symbol boundary.
4907         (ruby-mode-syntax-table): Make : a symbol constituent.
4909 2012-03-21  Andreas Politz  <politza@fh-trier.de>
4911         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4913 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4915         * progmodes/etags.el (tags-completion-at-point-function):
4916         Improve last fix.
4918         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4920 2012-03-21  Sam Steingold  <sds@gnu.org>
4922         * progmodes/etags.el (tags-completion-at-point-function):
4923         Avoid the error when point is inside the pattern.
4925 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
4927         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4928         line (Bug#10855).
4930 2012-03-21  Drew Adams  <drew.adams@oracle.com>
4932         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4934 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
4936         * ido.el (ido-set-current-directory, ido-read-internal)
4937         (ido-choose-completion-string, ido-completion-help): Handle nil
4938         value of ido-completion-buffer (Bug#11008).
4940 2012-03-21  Sam Steingold  <sds@gnu.org>
4942         * window.el (switch-to-prev-buffer): Do not switch to a visible
4943         window previous buffer, just like with the frame previous buffers.
4945 2012-03-21  Chong Yidong  <cyd@gnu.org>
4947         * faces.el (make-face, make-empty-face, copy-face):
4948         * face-remap.el (face-remap-add-relative, face-remap-set-base):
4949         Doc fixes.
4951 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4953         * wid-edit.el (widget-complete-field): Remove (bug#11051).
4954         (widget-complete): Remove broken use of it.
4956 2012-03-20  Chong Yidong  <cyd@gnu.org>
4958         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4959         Use string-width and truncate-string-width to handle arbitrary
4960         characters.
4962 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
4964         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4965         to draw rectangles, not squares.  (Regression introduced by revno
4966         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4968 2012-03-18  Chong Yidong  <cyd@gnu.org>
4970         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4971         it is not yet defined (for temacs).
4973 2012-03-18  Leo Liu  <sdl.web@gmail.com>
4975         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4977 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
4979         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4980         (ispell-choices-win-default-height, ispell-silently-savep)
4981         (ispell-dictionary-alist, ispell-encoding8-command)
4982         (ispell-check-version, ispell-aspell-find-dictionary)
4983         (ispell-valid-dictionary-list, ispell-words-keyword)
4984         (ispell-get-word, ispell-internal-change-dictionary)
4985         (ispell-region, ispell-skip-region-list)
4986         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4987         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4988         (ispell-message-text-end, ispell-message)
4989         (ispell-buffer-local-parsing): Doc fix.
4991 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
4993         * htmlfontify.el: Add support for code block fontification for ODT
4994         export (Bug #9914).
4995         (hfy-optimisations): Define new option
4996         `body-text-only'
4997         (hfy-fontify-buffer): Honor above setting.
4998         (hfy-begin-span, hfy-end-span): New routines factored out form
4999         `hfy-fontify-buffer'.
5000         (hfy-begin-span-handler, hfy-end-span-handler): New variables
5001         that permit insertion of custom tags.
5002         (hfy-fontify-buffer): Use above handlers.
5003         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5004         (hfy-face-to-css): Re-defined to be a variable.
5005         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
5006         over multiple runs.  This is made possible by having the caller let
5007         bind a special variable `hfy-user-sheet-assoc'.
5008         (htmlfontify-string): New defun.
5009         (hfy-compile-face-map): Make sure that the last char in the
5010         buffer is correctly fontified.
5011         (hfy-face-resolve-face): Whitespace only change.
5013 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
5015         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5016         message more clear.
5018 2012-03-16  Leo Liu  <sdl.web@gmail.com>
5020         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5022 2012-03-16  Alan Mackenzie  <acm@muc.de>
5024         Further optimise the handling of large macros.
5026         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5027         limit to a call of `c-literal-limits'.
5028         (c-determine-+ve-limit): New function.
5029         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5030         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5031         In CASE 5B, restrict a search limit to 500.
5032         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5034         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5035         Restrict macro bounds to +-500 from after-change's BEG END.
5037 2012-03-16  Leo Liu  <sdl.web@gmail.com>
5039         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5041 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
5043         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5044         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
5046 2012-03-16  Glenn Morris  <rgm@gnu.org>
5048         * view.el (view-buffer, view-buffer-other-window)
5049         (view-buffer-other-frame): Doc fixes re special mode-class.
5051         * subr.el (eval-after-load): If named feature is provided not from
5052         a file, run after-load forms.  (Bug#10946)
5054         * calendar/calendar.el (calendar-insert-at-column):
5055         Handle non-unit-width characters a bit better.  (Bug#10978)
5057 2012-03-15  Chong Yidong  <cyd@gnu.org>
5059         * emacs-lisp/ring.el (ring-extend): New function.
5060         (ring-insert+extend): Extend the ring correctly (Bug#11019).
5062         * comint.el (comint-read-input-ring)
5063         (comint-add-to-input-history): Grow comint-input-ring lazily.
5065 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5067         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5068         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5070         * imenu.el: Fix multiple inheritance breakage (bug#9199).
5071         (imenu-add-to-menubar): Don't add a redundant index.
5072         (imenu-update-menubar): Handle a dynamically composed keymap.
5074 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
5076         * mail/sendmail.el (mail-encode-header):
5077         Bind rfc2047-encode-encoded-words to nil.
5079 2012-03-13  Glenn Morris  <rgm@gnu.org>
5081         * calendar/calendar.el (calendar-string-spread):
5082         Handle non-unit-width characters a bit better.  (Bug#10978)
5084 2012-03-13  Leo Liu  <sdl.web@gmail.com>
5086         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5087         directory and file as argument (Bug#10822).
5089 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
5091         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5092         For dynamically generated code, follow $PC.
5093         (gdb-disassembly-handler-custom): Handle no function name case.
5095 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
5097         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5098         * emulation/ws-mode.el (ws-query-replace):
5099         * sort.el (sort-regexp-fields):
5100         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
5102 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5104         * dabbrev.el: Fix cycle completion order (bug#10963).
5105         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5106         (dabbrev-completion): Don't use an obarray; provide
5107         a cycle-sort-function.
5109 2012-03-12  Leo Liu  <sdl.web@gmail.com>
5111         * simple.el (kill-new): Use equal-including-properties for comparison.
5112         (kill-do-not-save-duplicates): Doc fix.
5114 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5116         * dabbrev.el: Fix cycle completion (bug#10963).
5117         Use lexical binding and wrap to 80 columns.
5118         (dabbrev-completion): Delay computing the list of completions.
5120 2012-03-12  Kenichi Handa  <handa@m17n.org>
5122         * international/quail.el (quail-insert-kbd-layout): Surround each
5123         row by LRO and PDF instead of inserting many LRMs.  Pad the left
5124         and right of each non-spacing marks.  Insert invisible space
5125         between lower and upper characters to prevent composition.
5127 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5129         * minibuffer.el (minibuffer-complete): Don't get confused when the
5130         function is run twice via different commands (bug#10958).
5131         (complete-with-action): Fix docstring.
5133 2012-03-12  Chong Yidong  <cyd@gnu.org>
5135         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5136         (nxml-completion-at-point-function): New function.
5137         (nxml-mode): Use it.
5138         (nxml-bind-meta-tab-to-complete-flag): Default to t.
5140         * emacs-lisp/package.el (package-unpack, package-unpack-single):
5141         Load generated autoloads file before byte compiling (Bug#10970).
5142         (package--make-autoloads-and-compile): New helper fun.
5144 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
5146         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5148 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
5150         * autorevert.el (auto-revert-handler): Ensure, that
5151         file-readable-p is applied only for local files or in
5152         auto-revert-tail-mode.
5154 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
5156         * server.el (server-eval-at): Handle non-tcp connections.
5157         Decode result string.
5159         * server.el (server-msg-size): New constant.
5160         (server-reply-print): New function.
5161         (server-eval-and-print): Use it.
5162         (server-eval-at): Use server-quote-arg and server-unquote-arg.
5163         Handle -print-nonl.
5165 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
5167         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5168         (Bug#10987).
5170 2012-03-11  Chong Yidong  <cyd@gnu.org>
5172         * simple.el (goto-line): Doc fix (Bug#9938).
5174         * subr.el (save-window-excursion): Doc fix (Bug#9979).
5176         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5177         when finished (Bug#10963).
5179 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
5181         * window.el (split-window-below): Fix bug in case where
5182         split-window-keep-point is nil (Bug#10971).
5184 2012-03-11  Juri Linkov  <juri@jurta.org>
5186         * replace.el (replace-highlight): Set isearch-word to nil
5187         unconditionally.  (Bug#10887)
5189 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
5191         * net/mairix.el (mairix-replace-invalid-chars): Rename from
5192         mairix-replace-illegal-chars; all callers changed.  Don't remove
5193         ^, ~, and = characters: they are meaningful in mairix search specs.
5194         (mairix-widget-create-query): Add usage information about mairix
5195         search forms: negating words, searching for substrings, etc.
5197 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
5199         * international/fontset.el (font-encoding-alist): Add an entry for
5200         ksx1001 (Bug#5667).
5202 2012-03-10  Richard Stallman  <rms@gnu.org>
5204         * mail/sendmail.el (mail-encode-header):
5205         Set rfc2047-encode-encoded-words.
5207         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5209         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5210         view buffer means not swapped.
5211         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5212         (rmail-write-region-annotate): Error if real text has disappeared.
5214         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5216 2012-03-10  Chong Yidong  <cyd@gnu.org>
5218         * emulation/cua-rect.el (cua--init-rectangles):
5219         * emulation/cua-base.el (cua--init-keymaps):
5220         Add delete-forward-char to remappings (Bug#9666).
5222 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
5224         * speedbar.el (speedbar-unhighlight-one-tag-line):
5225         Avoid unhighlighting due to frame switching (Bug#10275).
5227 2012-03-10  Chong Yidong  <cyd@gnu.org>
5229         * minibuffer.el (completion-in-region, completion-help-at-point):
5230         Give the completion field overlay a high priority (Bug#6830).
5232         * dired.el (dired-goto-file): Recognize absolute file name
5233         listings (Bug#7126).
5234         (dired-goto-file-1): New helper function.
5235         (dired-toggle-read-only): Inhibit warnings.
5237 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
5239         * net/dbus.el (dbus-property-handler): Return empty array if
5240         there are no properties.
5242 2012-03-09  Leo Liu  <sdl.web@gmail.com>
5244         * savehist.el (savehist-printable): Stricter check for string
5245         value (Bug#10937).
5247 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
5249         * mail/smtpmail.el (smtpmail-send-it):
5250         Bind coding-system-for-write to *-unix, so that FCC files are kept in
5251         valid mbox format.
5253 2012-03-09  Glenn Morris  <rgm@gnu.org>
5255         * files.el (dir-locals-find-file):
5256         Don't check result is regular, readable.
5257         (dir-locals-read-from-file): Demote errors.
5259 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
5261         * international/quail.el (quail-insert-kbd-layout):
5262         Insert invisible LRM characters before each character in a keyboard
5263         layout cell, to prevent their reordering by bidi display engine.
5264         For details, see the discussion in
5265         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5267 2012-03-08  Alan Mackenzie  <acm@muc.de>
5269         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5270         the starting position; make it extend the marked region when
5271         invoked repeatedly - all under appropriate circumstances.
5272         Fixes bugs #5525, #10906.
5274 2012-03-08  Glenn Morris  <rgm@gnu.org>
5276         * files.el (locate-dominating-file, dir-locals-find-file):
5277         Undo 2012-03-06 change.
5279 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
5281         * international/quail.el (quail-help):
5282         Force bidi-paragraph-direction be left-to-right.  See discussion in
5283         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5284         for the reason.
5286 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
5288         Avoid superfluous registering of signals.  (Bug#10807)
5290         * notifications.el (notifications-on-action-object)
5291         (notifications-on-close-object): New defvars.
5292         (notifications-on-action-signal, notifications-on-closed-signal):
5293         Unregister the signal if not needed any longer.
5294         (notifications-notify): Register `notifications-action-signal' or
5295         `notifications-closed-signal', if :on-action or :on-close has been
5296         passed as argument.
5298 2012-03-07  Chong Yidong  <cyd@gnu.org>
5300         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5301         non-X platforms.
5303 2012-03-06  Glenn Morris  <rgm@gnu.org>
5305         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5306         (x-disown-selection-internal, x-get-selection-internal):
5307         Doc fix (add arglist signatures).  (Bug#10783)
5309 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
5311         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5312         Handle breakpoints with no "type".
5314 2012-03-06  Glenn Morris  <rgm@gnu.org>
5316         * files.el (locate-dominating-file): Add optional predicate argument.
5317         (dir-locals-find-file): Make use of above change.
5319 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
5321         * info.el (Info-insert-dir): Also try "dir.gz".
5323 2012-03-06  Glenn Morris  <rgm@gnu.org>
5325         * files.el (dir-locals-find-file):
5326         Ignore non-readable or non-regular files.  (Bug#10928)
5328         * files.el (locate-dominating-file): Doc fix.
5330 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
5332         * calendar/calendar.el (calendar-set-mode-line):
5333         `getenv' returns a string.  (Bug#10951)
5335 2012-03-05  Leo Liu  <sdl.web@gmail.com>
5337         * simple.el (backward-delete-char-untabify): Constrain point to
5338         field (Bug#10939).
5340         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5342 2012-03-05  Chong Yidong  <cyd@gnu.org>
5344         * simple.el (count-words): If called from Lisp, return the word
5345         count, for symmetry with `count-lines'.  Arglist changed.
5346         (count-words--message): Args changed.  Consolidate counting code
5347         from count-words and count-words-region.
5348         (count-words-region): Caller changed.
5349         (count-lines-region): Make it an obsolete alias.
5351 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
5353         * saveplace.el (save-place-to-alist)
5354         (save-place-ignore-files-regexp): Allow value nil to disable this
5355         feature.
5357 2012-03-04  Chong Yidong  <cyd@gnu.org>
5359         * faces.el (face-spec-reset-face): For the default face, reset the
5360         attributes to default values (Bug#10748).
5362 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5364         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5365         previous patch: Check `message-send-mail-function', and not the
5366         default function (bug#10897).
5368 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
5370         * notifications.el (notifications-on-action-signal)
5371         (notifications-on-closed-signal): Check for unique service name of
5372         incoming event.  Fix error in removing entry.
5373         (top): Register for signals with wildcard service name.
5374         (notifications-notify): Use daemon unique service name for map entries.
5376 2012-03-04  Chong Yidong  <cyd@gnu.org>
5378         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5380 2012-03-04  Glenn Morris  <rgm@gnu.org>
5382         * abbrev.el (copy-abbrev-table, abbrev-table-p)
5383         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5384         (expand-abbrev, define-abbrev-table): Doc fixes.
5386 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5388         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5389         `message-default-send-mail-function' and not `send-mail-function'
5390         when doing the prompting for `sendmail-query-once' before sending
5391         in Message buffers (bug#10897).
5393         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5394         This is inconsistent with all the other stream functions, which leave
5395         the setting up to the higher levels (if so wanted) (bug#10931).
5397 2012-03-02  Alan Mackenzie  <acm@muc.de>
5399         Depessimize the handling of very large macros.
5401         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5402         (c-macro-cache-syntactic): New variables to implement a one
5403         element macro cache.
5404         (c-invalidate-macro-cache): New function.
5405         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5406         Adapt to use the new cache.
5407         (c-state-safe-place): Use better the cache of safe positions.
5408         (c-state-semi-nonlit-pos-cache)
5409         (c-state-semi-nonlit-pos-cache-limit):
5410         New variables for...
5411         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
5412         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
5413         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5414         Use c-state-semi-safe-place.
5416         * progmodes/cc-langs.el (c-get-state-before-change-functions):
5417         Add c-invalidate-macro-cache to the C, C++, Obj entries.
5419 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
5421         * jka-compr.el (jka-compr-call-process):
5422         Apply `file-accessible-directory-p' only when the default directory is
5423         not remote.
5425 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
5427         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
5428         access of FILE2, if FILE1 does not exist.
5430         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5431         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5433         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5434         Add "PAGER=" to `process-environment'.
5436 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
5438         * progmodes/sql.el: Bug fix
5439         (sql-get-login-ext): Save login values in globals.
5440         (sql-get-login): Use new version of `sql-get-login-ext'.
5441         (sql-interactive-mode): Set global `sql-connection' to nil.
5442         (sql-connect): Set global values for connection.
5443         (sql-product-interactive): Save global values as buffer local.
5445 2012-02-29  Leo Liu  <sdl.web@gmail.com>
5447         * abbrev.el (define-abbrevs): Reset sys to nil.
5449 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5451         * files.el (file-equal-p): Rename from `files-equal-p'.
5452         Return nil when one or both files don't exist.
5453         (file-subdir-of-p): Now only top directory must exists,
5454         return nil if it doesn't.
5455         (copy-directory): No need to test with `file-subdir-of-p' after
5456         creating dir.
5457         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5458         to `file-equal-p'.
5460 2012-02-28  Glenn Morris  <rgm@gnu.org>
5462         * shell.el (shell-mode):
5463         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5464         * play/landmark.el (landmark-font-lock-face-O):
5465         * play/handwrite.el (handwrite):
5466         * play/gomoku.el (gomoku-O):
5467         * net/browse-url.el (browse-url-browser-display):
5468         * international/mule.el (define-charset):
5469         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5470         * filesets.el (filesets-find-file-delay):
5471         * eshell/em-xtra.el (eshell-xtra):
5472         * eshell/em-unix.el (eshell-grep):
5473         * emulation/viper.el (viper-mode):
5474         * emacs-lisp/regexp-opt.el (regexp-opt-group):
5475         * emacs-lisp/easymenu.el (easy-menu-define):
5476         * calendar/timeclock.el (timeclock-use-display-time):
5477         * bs.el (bs-mode):
5478         * bookmark.el (bookmark-save-flag):
5479         Doc fix (standardize possessive apostrophe usage).
5481 2012-02-27  Chong Yidong  <cyd@gnu.org>
5483         * emulation/viper-cmd.el (viper-intercept-ESC-key):
5484         Fix key-binding lookup for ESC key (Bug#9146).
5486         * font-lock.el (font-lock-specified-p): Rename from
5487         font-lock-spec-present.  Callers changed.
5489 2012-02-27  Daniel Hackney  <dan@haxney.org>
5491         * emacs-lisp/package.el (package-compute-transaction):
5492         Handle holding a package version to t in package-load-list.
5494 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
5496         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5497         (tramp-get-inode, tramp-get-device): Use cached values.
5499 2012-02-26  Alan Mackenzie  <acm@muc.de>
5501         Check there is a font-lock specification before doing initial
5502         fontification.
5504         * font-core.el (font-lock-mode): Move the conditional from
5505         :after-hook to font-lock-initial-fontify.
5506         (font-lock-default-function): Move the check for a specification
5507         to font-lock-spec-present.
5509         * font-lock.el (font-lock-initial-fontify): Call ...
5510         (font-lock-spec-present): New function.
5512 2012-02-26  Jim Blandy  <jimb@red-bean.com>
5514         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5515         (gdb-send): Apply it to the operand of the '-interpreter-exec
5516         console' command, so that we can pass arguments with (say) quotes
5517         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
5519 2012-02-26  Chong Yidong  <cyd@gnu.org>
5521         * help-fns.el (describe-function-1): Clarify description of
5522         remapping (Bug#10844).
5524         * files.el (files-equal-p): Doc fix.
5525         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
5526         and quit the loop once a mismatch is found.
5528 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
5530         * bs.el (bs--show-with-configuration): Don't throw an error
5531         if the window cannot be split; otherwise, subsequent calls to
5532         bs-show fail, restoring a stale window config.  (Bug#10882)
5534 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
5536         * term/ns-win.el (global-map): Bind ns-drag-file to
5537         ns-find-file (Bug#5855, Bug#10050).
5539 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
5541         * calendar/parse-time.el (parse-time-string): Allow extractor to
5542         return nil.
5544 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
5546         * net/tramp.el (tramp-file-name-for-operation):
5547         Add `files-equal-p' and `file-subdir-of-p'.
5549         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5550         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5551         Add COPY-CONTENTS argument.
5553 2012-02-25  Chong Yidong  <cyd@gnu.org>
5555         Add custom groups for VC backends, for consistency with vc-bzr.
5557         * vc/vc-arch.el (vc-arch):
5558         * vc/vc-cvs.el (vc-cvs):
5559         * vc/vc-git.el (vc-git):
5560         * vc/vc-hg.el (vc-hg):
5561         * vc/vc-mtn.el (vc-mtn):
5562         * vc/vc-rcs.el (vc-rcs):
5563         * vc/vc-sccs.el (vc-sccs):
5564         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5565         All relevant defcustoms reassigned.
5567 2012-02-25  Chong Yidong  <cyd@gnu.org>
5569         * newcomment.el (comment-styles): Add autoload (Bug#10868).
5571         * term/x-win.el (x-initialize-window-system): Reduce default for
5572         x-selection-timeout to 5 seconds (Bug#8869).
5574 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5576         * files.el (files-equal-p, file-subdir-of-p): New functions.
5577         (copy-directory): Error when trying to copy a directory on itself.
5578         Add missing copy-contents arg to tramp handler.
5579         * dired-aux.el (dired-copy-file-recursive): Same.
5580         (dired-create-files): Modify destination when source is equal to
5581         dest when copying files.
5582         Return also when dest is a subdir of source.  (Bug#10489)
5584 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
5586         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5587         (Bug#10874)
5589 2012-02-23  Alan Mackenzie  <acm@muc.de>
5591         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5592         parameter "after-hook:" to allow the expansion to run code after
5593         the execution of the mode hooks.
5595         * font-lock.el (font-lock-initial-fontify): New function extracted
5596         from font-lock-mode-internal.
5598         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5599         :after-hook.
5601 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5603         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5604         (completion--cache-all-sorted-completions): New function.
5605         (completion-all-sorted-completions): Use it.
5606         (completion--do-completion, minibuffer-force-complete):
5607         Use it to re-instate the flush hook.
5609         * icomplete.el (icomplete-completions): Replace last fix with a better
5610         one (bug#10850).
5612 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
5614         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5615         when it might call us back infinitely (bug#10797).
5617 2012-02-23  Glenn Morris  <rgm@gnu.org>
5619         * minibuffer.el (completion-category-overrides): Doc fix.
5621 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5623         * minibuffer.el (completion-table-with-context): Fix inf-loop.
5624         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5626 2012-02-23  Glenn Morris  <rgm@gnu.org>
5628         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5629         (authors-obsolete-files-regexps, authors-ignored-files)
5630         (authors-ambiguous-files, authors-renamed-files-alist):
5631         Add more entries.
5633 2012-02-23  Juri Linkov  <juri@jurta.org>
5635         * isearch.el (isearch-occur): Sync interactive spec with occur's
5636         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
5638         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5640 2012-02-22  Juri Linkov  <juri@jurta.org>
5642         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5643         (ucs-insert): Doc fix.  Check for hex digits in the string.
5644         Don't display `nil' in the error message.  (Bug#10857)
5646 2012-02-22  Alan Mackenzie  <acm@muc.de>
5648         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5650 2012-02-22  Glenn Morris  <rgm@gnu.org>
5652         * ffap.el (ffap-c-path):
5653         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
5655 2012-02-22  Chong Yidong  <cyd@gnu.org>
5657         * custom.el (load-theme): Doc fix.
5659 2012-02-22  Glenn Morris  <rgm@gnu.org>
5661         * dired-x.el (dired-guess-shell-alist-default):
5662         Remove escape sequences from nroff output.  (Bug#172)
5664 2012-02-21  Glenn Morris  <rgm@gnu.org>
5666         * vc/emerge.el (emerge-defvar-local):
5667         Set `permanent-local' property rather than unused `preserved'.
5669         * textmodes/picture.el (picture-delete-char): New alias.
5670         (picture-mode-map): Use it.  (Bug#10860)
5671         (picture-mode): Doc fix.
5673 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
5675         * newcomment.el (uncomment-region-default): Remove unused binding.
5677 2012-02-21  Glenn Morris  <rgm@gnu.org>
5679         * textmodes/picture.el (picture-motion, picture-motion-reverse)
5680         (picture-self-insert, picture-tab-chars): Doc fix.
5681         (picture-mode-map): Fix C-a, C-e.
5683 2012-02-20  Glenn Morris  <rgm@gnu.org>
5685         * emacs-lisp/authors.el (authors-aliases): Add another entry.
5687 2012-02-20  Leo Liu  <sdl.web@gmail.com>
5689         * icomplete.el (icomplete-completions): Check FROM arg before
5690         passing to substring (Bug#10850).
5692 2012-02-19  Chong Yidong  <cyd@gnu.org>
5694         * comint.el: Require ansi-color.
5695         (comint-output-filter-functions): Add ansi-color-process-output.
5697         * ansi-color.el: Don't set comint-output-filter-functions; it is
5698         now in the initial value defined in comint.el.
5699         (ansi-color-apply-face-function): New variable.
5700         (ansi-color-apply-on-region): Use it.
5701         (ansi-color-apply-overlay-face): New function.
5703         * shell.el (shell): No need to require ansi-color.
5704         (shell-mode): Use ansi-color-apply-face-function to highlight
5705         color escapes using font-lock-face property (Bug#10835).
5707 2012-02-19  Chong Yidong  <cyd@gnu.org>
5709         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5710         mode-line formats (Bug#10839).
5712 2012-02-18  Glenn Morris  <rgm@gnu.org>
5714         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5716         * mail/undigest.el (unforward-rmail-message): Doc fix.
5718         * saveplace.el (save-place-ignore-files-regexp): Add :version.
5720 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
5722         * international/characters.el (script-list): Sync with the latest
5723         Unicode Character Database.
5725 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
5727         * international/titdic-cnv.el: Remove duplicate coding tag.
5728         * language/cham.el: Likewise.
5729         * language/tai-viet.el: Likewise.
5731 2012-02-18  Glenn Morris  <rgm@gnu.org>
5733         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5734         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5735         (calendar-bahai-all-holidays-flag, calendar-other-dates):
5736         * calendar/diary-lib.el (diary-abbreviated-year-flag):
5737         * calendar/holidays.el (holiday-bahai-holidays)
5738         (calendar-holidays, list-holidays):
5739         Use utf-8 Bahá'í in doc-strings, menus, etc.
5741 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
5743         * saveplace.el (save-place-ignore-files-regexp): New variable
5744         allowing for excluding files from saving their location of point.
5745         The default value matches the temporary commit message editing
5746         files from Git, SVN, Bazaar, and Mercurial.
5747         (save-place-to-alist): Use it.
5749 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
5750             Stefan Monnier  <monnier@iro.umontreal.ca>
5752         * newcomment.el (uncomment-region-default): Don't leave extra space
5753         when an arg is provided (bug#8150).
5755 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
5757         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5759 2012-02-17  Glenn Morris  <rgm@gnu.org>
5761         * net/socks.el: Require network-stream.  (Bug#10599)
5763 2012-02-17  Kenichi Handa  <handa@m17n.org>
5765         * international/charprop.el:
5766         * international/uni-name.el:
5767         * international/uni-old-name.el:
5768         * international/uni-comment.el: Regenerate.
5770 2012-02-16  Glenn Morris  <rgm@gnu.org>
5772         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5773         Interactively in calendar buffer, give an error if not on a date.
5775 2012-02-15  Glenn Morris  <rgm@gnu.org>
5777         * shell.el (shell-delimiter-argument-list):
5778         Revert 2011-02-17 change.  (Bug#8027)
5780 2012-02-15  Chong Yidong  <cyd@gnu.org>
5782         * minibuffer.el (completion-at-point-functions): Doc fix.
5784         * custom.el (defcustom): Doc fix; note use of defvar.
5786 2012-02-15  Glenn Morris  <rgm@gnu.org>
5788         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5789         Doc fixes.
5791 2012-02-14  Glenn Morris  <rgm@gnu.org>
5793         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5795 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
5797         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5798         way the ports list is computed.
5799         (smtpmail-query-smtp-server): Prompt the user for a port number if
5800         we can't connect to any of the standard ports (bug#10810).
5802 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
5804         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5806 2012-02-13  Glenn Morris  <rgm@gnu.org>
5808         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
5810 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
5812         * net/gnutls.el (gnutls-trustfiles): New variable.
5813         (gnutls-negotiate): Use it.
5815 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
5817         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5818         does its stuff if Gnus is running.
5820 2012-02-13  Alan Mackenzie  <acm@muc.de>
5822         Fix a loop in c-set-fl-decl-start.
5824         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5825         c-backward-syntactic-ws actually moves backwards.
5827 2012-02-13  Leo Liu  <sdl.web@gmail.com>
5829         * net/rcirc.el (rcirc-markup-attributes): Move point to the
5830         beginning so that all \C-o chars are removed.
5832 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
5834         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5836 2012-02-12  Alan Mackenzie  <acm@muc.de>
5838         Fix infinite loop with long macros.
5839         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5841 2012-02-12  Chong Yidong  <cyd@gnu.org>
5843         * window.el (display-buffer): Doc fix (Bug#10785).
5845 2012-02-12  Glenn Morris  <rgm@gnu.org>
5847         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5848         (x-disown-selection-internal, x-get-selection-internal):
5849         Sync docs with the xselect.c versions.
5851         * allout-widgets.el: Add missing license notice.
5853 2012-02-11  Glenn Morris  <rgm@gnu.org>
5855         * select.el (x-get-selection-internal, x-own-selection-internal)
5856         (x-disown-selection-internal):
5857         * x-dnd.el (x-get-selection-internal): Update declarations.
5859         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5861         * window.el (window-sides-slots):
5862         * tool-bar.el (tool-bar-position):
5863         * term/xterm.el (xterm-extra-capabilities):
5864         * ses.el (ses-self-reference-early-detection):
5865         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5866         (verilog-auto-wire-type)
5867         (verilog-auto-delete-trailing-whitespace)
5868         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5869         (verilog-auto-tieoff-declaration):
5870         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5871         (sql-oracle-statement-starters, sql-oracle-scan-on):
5872         * progmodes/prolog.el (prolog-align-comments-flag)
5873         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5874         (prolog-left-indent-regexp, prolog-paren-indent-p)
5875         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5876         (prolog-types, prolog-mode-specificators)
5877         (prolog-determinism-specificators, prolog-directives)
5878         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5879         (prolog-electric-dot-flag)
5880         (prolog-electric-dot-full-predicate-template)
5881         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5882         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5883         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5884         (prolog-program-switches, prolog-prompt-regexp)
5885         (prolog-debug-on-string, prolog-debug-off-string)
5886         (prolog-trace-on-string, prolog-trace-off-string)
5887         (prolog-zip-on-string, prolog-zip-off-string)
5888         (prolog-use-standard-consult-compile-method-flag)
5889         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5890         (prolog-imenu-max-lines, prolog-info-predicate-index)
5891         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5892         (prolog-char-quote-workaround):
5893         * progmodes/cc-vars.el (c-defun-tactic):
5894         * net/tramp.el (tramp-encoding-command-interactive)
5895         (tramp-local-end-of-line):
5896         * net/soap-client.el (soap-client):
5897         * net/netrc.el (netrc-file):
5898         * net/gnutls.el (gnutls):
5899         * minibuffer.el (completion-category-overrides)
5900         (completion-cycle-threshold)
5901         (completion-pcm-complete-word-inserts-delimiters):
5902         * man.el (Man-name-local-regexp):
5903         * mail/feedmail.el (feedmail-display-full-frame):
5904         * international/characters.el (glyphless-char-display-control):
5905         * eshell/em-ls.el (eshell-ls-date-format):
5906         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5907         (lisp-lambda-list-keyword-parameter-indentation)
5908         (lisp-lambda-list-keyword-parameter-alignment):
5909         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5910         * dired-x.el (dired-omit-verbose):
5911         * cus-theme.el (custom-theme-allow-multiple-selections):
5912         * calc/calc.el (calc-highlight-selections-with-faces)
5913         (calc-lu-field-reference, calc-lu-power-reference)
5914         (calc-note-threshold):
5915         * battery.el (battery-mode-line-limit):
5916         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5917         (archive-7z-update):
5918         * allout.el (allout-prefixed-keybindings)
5919         (allout-unprefixed-keybindings)
5920         (allout-inhibit-auto-fill-on-headline)
5921         (allout-flattened-numbering-abbreviation):
5922         * allout-widgets.el (allout-widgets-auto-activation)
5923         (allout-widgets-icons-dark-subdir)
5924         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5925         (allout-widgets-theme-dark-background)
5926         (allout-widgets-theme-light-background)
5927         (allout-widgets-item-image-properties-emacs)
5928         (allout-widgets-item-image-properties-xemacs)
5929         (allout-widgets-run-unit-tests-on-load)
5930         (allout-widgets-time-decoration-activity)
5931         (allout-widgets-hook-error-post-time)
5932         (allout-widgets-track-decoration):
5933         Add missing :version tags to new defcustoms and defgroups.
5935         * progmodes/sql.el (sql-ansi-statement-starters)
5936         (sql-oracle-statement-starters): Add custom type.
5938         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5939         (prolog-system-version): Give it a type.
5941 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
5943         * term/pc-win.el (x-select-text, x-selection-owner-p)
5944         (x-own-selection-internal, x-disown-selection-internal)
5945         (x-get-selection-internal): Sync doc strings and argument lists
5946         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
5948 2012-02-11  Leo Liu  <sdl.web@gmail.com>
5950         * progmodes/python.el (python-end-of-statement): Fix infinite
5951         loop.  (Bug#10788)
5953 2012-02-10  Glenn Morris  <rgm@gnu.org>
5955         * international/mule-cmds.el (unify-8859-on-encoding-mode)
5956         (unify-8859-on-decoding-mode): Properly mark as obsolete.
5958 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
5960         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5961         about SMTP before checking the From header.
5963         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5964         into own function for reuse by emacsbug.el.
5966 2012-02-10  Leo Liu  <sdl.web@gmail.com>
5968         * subr.el (condition-case-unless-debug): Rename from
5969         condition-case-no-debug.  All callers changed.
5970         (with-demoted-errors): Fix caller.
5972         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5973         * nxml/rng-valid.el (rng-do-some-validation):
5974         * emacs-lisp/package.el (package-refresh-contents)
5975         (package-menu-execute):
5976         * desktop.el (desktop-create-buffer):
5977         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5979 2012-02-10  Glenn Morris  <rgm@gnu.org>
5981         * textmodes/bibtex.el:
5982         Add missing :version tags for new/changed defcustoms.
5984         * files.el (remote-file-name-inhibit-cache): Doc fixes.
5986 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
5988         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5989         (smtpmail-via-smtp): Use it, or fall back on the From address.
5990         (smtpmail-send-it): Ditto.
5992 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5994         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5995         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
5996         (byte-compile-tmp-var): New const.
5997         (byte-compile-defvar): Use it to minimize .elc size.
5998         Just use `defvar' rather than simulate it (bug#10761).
6000 2012-02-09  Glenn Morris  <rgm@gnu.org>
6002         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
6004         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6005         Add :version tags.
6007         * progmodes/compile.el (compilation-error-screen-columns)
6008         (compilation-first-column, compilation-filter-start): Doc fixes.
6010         * vc/log-view.el (log-view-toggle-entry-display):
6011         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6013         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6014         (report-emacs-bug-can-use-xdg-email):
6015         (report-emacs-bug-insert-to-mailer): Doc fixes.
6016         (report-emacs-bug): Message fix.
6018         * net/browse-url.el (browse-url-can-use-xdg-open)
6019         (browse-url-xdg-open): Doc fixes.
6021         * electric.el (electric-indent-mode, electric-pair-mode)
6022         (electric-layout-rules, electric-layout-mode): Doc fixes.
6023         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6025 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
6027         * server.el (server-unselect-display): Don't inadvertently kill
6028         the current buffer.  (Bug#10729)
6030 2012-02-08  Glenn Morris  <rgm@gnu.org>
6032         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6033         (sql-list-table): Doc fixes.
6035         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6036         Comment out (does nothing).
6038         * completion.el (dynamic-completion-mode):
6039         * dirtrack.el (dirtrack-debug-mode):
6040         * electric.el (electric-layout-mode):
6041         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6042         * face-remap.el (text-scale-mode, buffer-face-mode):
6043         * iimage.el (iimage-mode):
6044         * image-mode.el (image-transform-mode):
6045         * minibuffer.el (completion-in-region-mode):
6046         * scroll-lock.el (scroll-lock-mode):
6047         * simple.el (next-error-follow-minor-mode):
6048         * tar-mode.el (tar-subfile-mode):
6049         * tooltip.el (tooltip-mode):
6050         * vcursor.el (vcursor-use-vcursor-map):
6051         * wid-browse.el (widget-minor-mode):
6052         * emulation/tpu-edt.el (tpu-edt-mode):
6053         * emulation/tpu-extras.el (tpu-cursor-free-mode):
6054         * international/iso-ascii.el (iso-ascii-mode):
6055         * language/thai-util.el (thai-word-mode):
6056         * mail/supercite.el (sc-minor-mode):
6057         * net/goto-addr.el (goto-address-mode):
6058         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6059         * progmodes/cwarn.el (cwarn-mode):
6060         * progmodes/flymake.el (flymake-mode):
6061         * progmodes/glasses.el (glasses-mode):
6062         * progmodes/hideshow.el (hs-minor-mode):
6063         * progmodes/pascal.el (pascal-outline-mode):
6064         * textmodes/enriched.el (enriched-mode):
6065         * vc/smerge-mode.el (smerge-mode):
6066         Doc fixes (minor mode argument).
6068 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
6070         * ls-lisp.el (ls-lisp-sanitize): New function.
6071         (ls-lisp-insert-directory): Use it to fix or remove any elements
6072         in file-alist with missing attributes.  (Bug#4673)
6074 2012-02-07  Alan Mackenzie  <acm@muc.de>
6076         Fix spurious recognition of c-in-knr-argdecl.
6078         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6079         putative K&R region.
6081 2012-02-07  Alan Mackenzie  <acm@muc.de>
6083         * progmodes/cc-engine.el (c-forward-objc-directive):
6084         Prevent looping in "#pragma mark @implementation".
6086 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
6088         * notifications.el (notifications-on-closed-signal): Make `reason'
6089         optional.  (Bug#10744)
6091 2012-02-07  Glenn Morris  <rgm@gnu.org>
6093         * emacs-lisp/easy-mmode.el (define-minor-mode):
6094         Doc fixes for the macro and the mode it defines.
6096         * image.el (imagemagick-types-inhibit): Doc fix.
6098         * cus-start.el (imagemagick-render-type): Add it.
6100 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
6102         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6103         Set the default at load time, too, so that `font-lock-fontify-buffer'
6104         can be called without setting up the entire mode first.  This fixes
6105         a bug in `mm-inline-text' with C MIME parts.
6107 2012-02-06  Chong Yidong  <cyd@gnu.org>
6109         * simple.el (list-processes--refresh): Delete exited processes
6110         (Bug#8094).
6112         * comint.el (comint-next-prompt): next-single-char-property-change
6113         and prev-single-char-property-change never return nil (Bug#8657).
6115         * custom.el (defcustom): Doc fix (Bug#9711).
6117 2012-02-05  Chong Yidong  <cyd@gnu.org>
6119         * cus-edit.el (custom-variable-reset-backup): Quote the value
6120         before storing it in the customized-value property (Bug#6712).
6121         (custom-display): Add a customization type tag.
6122         (custom-buffer-create-internal): Improve tooltip message.
6124         * wid-edit.el (widget-field-value-get): New optional arg to
6125         suppress trailing whitespace truncation.
6126         (character): Use it (Bug#2689).
6128 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
6130         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6131         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6133 2012-02-05  Chong Yidong  <cyd@gnu.org>
6135         * cus-edit.el (custom-variable-value-create): For mismatched
6136         types, show the current value (Bug#7600).
6138         * custom.el (defcustom): Doc fix.
6140 2012-02-05  Glenn Morris  <rgm@gnu.org>
6142         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6144 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
6146         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6147         (pp-buffer): Use `ignore-errors', `looking-at-p'.
6148         (pp-last-sexp): Use `looking-at-p'.
6150 2012-02-04  Glenn Morris  <rgm@gnu.org>
6152         * files.el (revert-buffer):
6153         Doc fix (mention revert-buffer-in-progress-p).
6155         * emacs-lisp/ert-x.el (ert-simulate-command):
6156         Check deferred-action-list (which is obsolete) is bound.
6158         * subr.el (with-wrapper-hook): Doc fixes.
6160         * simple.el (filter-buffer-substring-functions)
6161         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6163 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
6165         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6166         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
6168 2012-02-04  Leo Liu  <sdl.web@gmail.com>
6170         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6172 2012-02-04  Glenn Morris  <rgm@gnu.org>
6174         * image.el (image-extension-data): Add obsolete alias.
6176         * isearch.el (isearch-update): Doc fix.
6178         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6180         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6182 2012-02-03  Glenn Morris  <rgm@gnu.org>
6184         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
6185         (image-animate-timeout): Doc fix.
6187         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6189 2012-02-02  Glenn Morris  <rgm@gnu.org>
6191         * server.el (server-auth-dir): Doc fix.
6192         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
6194         * subr.el (run-mode-hooks): Doc fix.
6196 2012-02-02  Juri Linkov  <juri@jurta.org>
6198         * image-mode.el (image-toggle-display-image): Remove tautological
6199         `major-mode' from the `derived-mode-p' test.
6201 2012-02-02  Kenichi Handa  <handa@m17n.org>
6203         * composite.el (compose-region): Cancel previous change.
6205 2012-02-02  Kenichi Handa  <handa@m17n.org>
6207         * composite.el (compose-region, compose-string): Signal error for
6208         a null string component (Bug#6988).
6210 2012-02-01  Chong Yidong  <cyd@gnu.org>
6212         * view.el (view-buffer-other-window, view-buffer-other-frame):
6213         Handle special modes like view-buffer (Bug#10650).
6214         (view-buffer): Simplify.
6216         * frame.el (set-frame-font): Tweak meaning of third argument.
6218         * dynamic-setting.el (font-setting-change-default-font):
6219         Use set-frame-font (Bug#9982).
6221 2012-02-01  Glenn Morris  <rgm@gnu.org>
6223         * progmodes/compile.el (compilation-internal-error-properties):
6224         Respect compilation-first-column in the "*compilation*" buffer.
6226         * emacs-lisp/easy-mmode.el (define-minor-mode):
6227         Relax :variable's test for a named function.
6229 2012-01-31  Alan Mackenzie  <acm@muc.de>
6231         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6232         off by one error.
6234 2012-01-31  Chong Yidong  <cyd@gnu.org>
6236         * frame.el (set-frame-font): New arg ALL-FRAMES.
6238         * menu-bar.el (menu-set-font): Use set-frame-font.
6240         * faces.el (face-spec-reset-face): Don't apply unspecified
6241         attribute values to the default face.
6243 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
6245         * progmodes/cwarn.el (cwarn): Remove dead link.
6246         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6247         Remove * from defcustom docstrings.
6248         (turn-on-cwarn-mode): Make obsolete.
6249         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6250         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6252 2012-01-31  Glenn Morris  <rgm@gnu.org>
6254         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6255         Fix :variable handling of mode a symbol not equal to modefun.
6256         Allow named functions to be used as the cdr of :variable.
6258 2012-01-30  Glenn Morris  <rgm@gnu.org>
6260         * emacs-lisp/authors.el (authors-fixed-entries):
6261         Remove reference to deleted file rnewspost.el.
6263 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
6265         * window.el (window-with-parameter): Remove unused variable `windows'.
6266         (window--side-check): Remove unused variable `code'.
6267         (window--resize-siblings): Remove unused variable `first'.
6268         (adjust-window-trailing-edge): Remove unused variable `failed'.
6269         (window-deletable-p, window--delete): Remove unused variable `buffer'.
6270         Use `let', not `let*'.
6271         (balance-windows-2): Remove unused variable `found'.
6272         (window--state-put-2): Remove unused variable `splits'.
6273         (window-state-put): Remove unused variable `selected'.
6274         (same-window-p): Use `string-match-p'.
6275         (display-buffer-assq-regexp): Remove unused variable `value'.
6276         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6277         Mark argument ALIST as ignored.
6278         (pop-to-buffer): Remove unused variable `old-window'.
6280 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
6282         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6283         and .lzma compressed files.
6285 2012-01-29  Chong Yidong  <cyd@gnu.org>
6287         * frame.el (window-system-default-frame-alist): Doc fix.
6289         * dynamic-setting.el (font-setting-change-default-font): Don't
6290         change the default face if SET-FONT argument is non-nil (Bug#9982).
6292 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
6294         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6296 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
6298         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6299         breakpoints in files outside current directory (Bug#6098).
6301 2012-01-29  Chong Yidong  <cyd@gnu.org>
6303         * progmodes/python.el: Require ansi-color at top-level.
6305         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6306         Define and use in Emacs Lisp mode (Bug#9360).
6307         (lisp-mode-abbrev-table): Add doc.
6308         (lisp-mode-variables): Don't set local-abbrev-table.
6309         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6311 2012-01-28  Roland Winkler  <winkler@gnu.org>
6313         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6315 2012-01-28  Roland Winkler  <winkler@gnu.org>
6317         * textmodes/bibtex.el (bibtex-entry-alist): New function.
6318         (bibtex-set-dialect): Use it.  Either set global values of
6319         dialect-dependent variables or bind these variables buffer-locally
6320         (Bug#10254).
6321         (bibtex-mode): Call bibtex-set-dialect via
6322         hack-local-variables-hook.
6323         (bibtex-dialect): Update docstring.
6324         Add safe-local-variable predicate.
6325         (bibtex-entry-alist, bibtex-field-alist): Initialize via
6326         bibtex-set-dialect.
6327         (bibtex-mode-map): Define menu for each dialect.
6328         (bibtex-entry): Fix docstring.
6330 2012-01-28  Chong Yidong  <cyd@gnu.org>
6332         * eshell/esh-arg.el (eshell-quote-argument): New function.
6334         * eshell/esh-ext.el (eshell-invoke-batch-file):
6335         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6336         first arg to eshell-parse-command (Bug#10523).
6338 2012-01-28  Drew Adams  <drew.adams@oracle.com>
6340         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6341         `default-directory' is non-nil.
6343 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
6345         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6346         line that displays system-configuration-options.  (Bug#9924)
6348 2012-01-28  Drew Adams  <drew.adams@oracle.com>
6350         * descr-text.el (describe-char): Show information about POS, in
6351         addition to information about the character at POS.  Improve and
6352         update the doc string.  Change "code point" to "code point in
6353         charset", to avoid confusion with the character's Unicode code
6354         point shown above that.  (Bug#10129)
6356 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
6358         * descr-text.el (describe-char): Show the raw character, not only
6359         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
6360         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6361         for the reasons.
6363 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
6365         * emacs-lisp/package.el (package-install):
6366         Run package-refresh-contents if there is no archive yet (Bug#9798).
6368 2012-01-28  Chong Yidong  <cyd@gnu.org>
6370         * emacs-lisp/package.el (package-maybe-load-descriptor):
6371         New function, split from package-maybe-load-descriptor.
6372         (package-maybe-load-descriptor): Use it.
6373         (package-download-transaction): Fully load required packages
6374         inside the loop, so that `require' calls work (Bug#10593).
6375         (package-install): No need to call package-initialize now.
6377 2012-01-28  Chong Yidong  <cyd@gnu.org>
6379         * simple.el (deactivate-mark): Doc fix (Bug#8614).
6381         * tooltip.el (tooltip-mode): Doc fix.
6382         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6384         * frame.el (set-cursor-color): Doc fix (Bug#352).
6386         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6387         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6389         * cus-edit.el (custom-buffer-create-internal): Fix search button
6390         action (Bug#10542).
6391         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6393 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
6395         * dired.el (dired-mark-files-regexp):
6396         Include any subdirectory components.  (Bug#10445)
6398 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
6400         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6401         Handle [host]:port syntax.  (Bug#10533)
6403 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
6405         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6407 2012-01-26  Glenn Morris  <rgm@gnu.org>
6409         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6410         * term.el (term-raw-escape-map): Use Control-X-prefix.
6411         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
6413 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
6415         * window.el (window-state-get, window--state-get-1): Don't deal
6416         with fixed-sizeness of windows.  Simplify code.
6418 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
6420         * window.el (window--state-get-1, window--state-put-2):
6421         Don't save and restore the mark.
6423 2012-01-25  Chong Yidong  <cyd@gnu.org>
6425         * custom.el (custom-variable-p): Doc fix.
6427 2012-01-25  Glenn Morris  <rgm@gnu.org>
6429         * dired.el (dired-goto-file): Handle some of the more common
6430         characters that `ls -b' escapes.  (Bug#10596)
6432         * progmodes/compile.el (compilation-next-error-function):
6433         Respect compilation-first-column in the "*compilation*" buffer.
6434         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
6436         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
6438 2012-01-24  Glenn Morris  <rgm@gnu.org>
6440         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
6442 2012-01-24  Julien Danjou  <julien@danjou.info>
6444         * color.el (color-rgb-to-hsl): Fix value computing.
6445         (color-hue-to-rgb): New function.
6446         (color-hsl-to-rgb): New function.
6447         (color-clamp, color-saturate-hsl, color-saturate-name)
6448         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6449         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6451 2012-01-24  Glenn Morris  <rgm@gnu.org>
6453         * vc/vc-rcs.el (vc-rcs-create-tag):
6454         * vc/vc-sccs.el (vc-sccs-create-tag):
6455         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
6457 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
6459         * eshell/esh-util.el (eshell-read-hosts-file):
6460         Skip comment lines.  (Bug#10549)
6462         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
6464 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
6466         * subr.el (display-delayed-warnings): Doc fix.
6467         (collapse-delayed-warnings): New function to collapse identical
6468         adjacent warnings.
6469         (delayed-warnings-hook): Add it.
6471 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
6473         * net/tramp.el (tramp-action-login): Set connection property "login-as".
6475         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6476         (tramp-default-user-alist): Don't add "pscp".
6477         (tramp-do-copy-or-rename-file-out-of-band): Use connection
6478         property "login-as", if set.  (Bug#10530)
6480 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
6482         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6483         "plink1" and "psftp".  (Bug#10530)
6485 2012-01-21  Kenichi Handa  <handa@m17n.org>
6487         * international/mule-cmds.el (prefer-coding-system): Show a
6488         warning message if the default value of file-name-coding-system
6489         was not changed.
6491 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
6493         * windmove.el (windmove-reference-loc):
6494         Fix windmove-reference-loc miscalculation.
6496 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
6498         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6499         default unit.
6501 2012-01-21  Glenn Morris  <rgm@gnu.org>
6503         * international/mule.el (auto-coding-alist): Add .tbz.
6505         * files.el (local-enable-local-variables): Doc fix.
6506         (inhibit-local-variables-regexps): Rename from
6507         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
6508         Doc fix.  Add some extensions from auto-coding-alist.
6509         (inhibit-local-variables-suffixes):
6510         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
6511         (inhibit-local-variables-p):
6512         New function, extracted from set-auto-mode-1.
6513         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
6514         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
6515         (hack-local-variables): Doc fix.  Make the mode-only case
6516         respect enable-local-variables and friends.
6517         Respect inhibit-local-variables-regexps for file-locals, but
6518         not for directory-locals.
6519         (set-visited-file-name):
6520         Take account of inhibit-local-variables-regexps.
6521         Whether it applies may change as the file name is changed.
6522         * jka-cmpr-hook.el (jka-compr-install):
6523         * jka-compr.el (jka-compr-uninstall):
6524         Update for inhibit-first-line-modes-suffixes name change.
6526 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
6528         * help-macro.el (make-help-screen): Temporarily restore original
6529         binding for minor-mode-map-alist (Bug#10454).
6531 2012-01-19  Julien Danjou  <julien@danjou.info>
6533         * color.el (color-name-to-rgb): Use the white color to find the max
6534         color component value and return correctly computed values.
6535         (color-name-to-rgb): Add missing float conversion for max value.
6537 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
6539         * window.el (window--state-get-1, window-state-get): Do not use
6540         special state value for window-persistent-parameters.
6541         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
6542         (window--state-put-2): Reset all window parameters to nil before
6543         assigning values of persistent parameters.
6545 2012-01-18  Alan Mackenzie  <acm@muc.de>
6547         Eliminate sluggishness and hangs in fontification of "semicolon
6548         deserts".
6550         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6551         Change value 10000 -> 3000.
6552         (c-state-safe-place): Reformulate so it doesn't stack up an
6553         infinite number of wrong entries in c-state-nonlit-pos-cache.
6554         (c-determine-limit-get-base, c-determine-limit): New functions to
6555         determine backward search limits disregarding literals.
6556         (c-find-decl-spots): Amend commenting.
6557         (c-cheap-inside-bracelist-p): New function which detects "={".
6559         * progmodes/cc-fonts.el
6560         (c-make-font-lock-BO-decl-search-function): Give a limit to a
6561         backward search.
6562         (c-font-lock-declarations): Fix an occurrence of point being
6563         undefined.  Check additionally for point being in a bracelist or
6564         near a macro invocation without a semicolon so as to avoid a
6565         fruitless time consuming search for a declarator.  Give a more
6566         precise search limit for declarators using the new
6567         c-determine-limit.
6569 2012-01-18  Glenn Morris  <rgm@gnu.org>
6571         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6572         (set-auto-mode): Doc fixes.
6574 2012-01-17  Glenn Morris  <rgm@gnu.org>
6576         * isearch.el (search-nonincremental-instead): Fix doc typo.
6578         * dired.el (dired-insert-directory): Handle newlines in directory name.
6579         (dired-build-subdir-alist): Unescape newlines in directory name.
6581 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
6583         * net/tramp.el (tramp-local-end-of-line): New defcustom.
6584         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6585         (tramp-action-terminal): Use it.  (Bug#10530)
6587 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6589         * minibuffer.el (completion--replace): Strip properties (bug#10062).
6591 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
6593         * window.el (window-state-ignored-parameters): Remove variable.
6594         (window--state-get-1): Rename argument MARKERS to IGNORE.
6595         Handle persistent window parameters.  Make copy of clone-of
6596         parameter only if requested.  (Bug#10348)
6597         (window--state-put-2): Install a window parameter only if it has
6598         a non-nil value or an existing parameter shall be overwritten.
6600 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
6602         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6604 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
6606         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6607         don't pass the (nil) value of `upnode' to string-match.
6609 2012-01-14  Chong Yidong  <cyd@gnu.org>
6611         * startup.el (command-line): Fix X resource class for cursorColor.
6612         Fix values recognized by the cursorBlink resource.
6614 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
6616         * epg.el (epg--make-temp-file): Avoid permission race condition
6617         when running on old Emacs versions (bug#10403).
6619 2012-01-14  Glenn Morris  <rgm@gnu.org>
6621         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6623 2012-01-13  Alan Mackenzie  <acm@muc.de>
6625         Fix filling for when filladapt mode is enabled.
6627         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6628         c-mask-paragraph, pass in `fill-paragraph' rather than
6629         `fill-region-as-paragraph'.  (This is a reversion of a previous
6630         change.)
6631         * progmodes/cc-mode.el (c-basic-common-init):
6632         Make fill-paragraph-handle-comment buffer local and set it to nil.
6634 2012-01-13  Glenn Morris  <rgm@gnu.org>
6636         * dired.el (dired-switches-escape-p): New function.
6637         (dired-insert-directory): Use dired-switches-escape-p.
6638         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
6640         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
6642 2012-01-12  Glenn Morris  <rgm@gnu.org>
6644         * mail/sendmail.el (mail-mode): Update paragraph-separate for
6645         changes in adaptive-fill-regexp.  (Bug#10276)
6647 2012-01-11  Alan Mackenzie  <acm@muc.de>
6649         Fix Emacs bug #10463 - put `widen's around the critical spots.
6651         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6652         widen around each invocation of c-state-pp-to-literal.  Remove an
6653         unused let variable.
6655 2012-01-11  Glenn Morris  <rgm@gnu.org>
6657         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
6658         Doc fix.
6660 2012-01-10  Chong Yidong  <cyd@gnu.org>
6662         * net/network-stream.el (network-stream-open-starttls):
6663         Avoid emitting a confusing error message when the server gives a bad
6664         response to the capability command.
6666 2012-01-10  Glenn Morris  <rgm@gnu.org>
6668         * mail/unrmail.el (unrmail): Tweak previous change.
6670 2012-01-09  Chong Yidong  <cyd@gnu.org>
6672         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6674 2012-01-08  Alan Mackenzie  <acm@muc.de>
6676         Optimise font locking in long enum definitions.
6678         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6679         arm to a cond form to handle enums.
6680         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6681         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6683 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6685         * files.el (move-file-to-trash): Preserve default file modes on error.
6686         (Bug#10401)
6688 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6690         * faces.el (set-face-attribute): Clarify the meaning of the nil
6691         frame (bug#10294).
6693         * subr.el (with-selected-frame): Mention that the selected frame
6694         is restored (bug#9980).
6696         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6697         (bug#9759).
6699         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6700         (password-read): Don't autoload unused function.
6702 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
6704         * progmodes/which-func.el (which-func-mode): Turn into a
6705         non-interactive function and mark as obsolete (bug#10428).
6707 2012-01-06  Chong Yidong  <cyd@gnu.org>
6709         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6710         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6711         functions, along with 1 and -1.
6713 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
6715         * time.el (display-time-load-average)
6716         (display-time-default-load-average): Doc fixes.  See the thread
6717         starting at
6718         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6719         for the details.
6721 2012-01-06  Glenn Morris  <rgm@gnu.org>
6723         * mail/unrmail.el (unrmail): Give an explicit error if the input file
6724         has no messages.  (Bug#10377)
6726         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6727         than Info-edit.  (Bug#10385)
6729         * time.el (display-time-load-average, display-time-next-load-average):
6730         Doc fixes.
6732         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6733         local setting of buffer-read-only to the input buffer.  (Bug#10419)
6735         * calendar/calendar.el (calendar-mode):
6736         Locally set scroll-margin to 0.  (Bug#10379)
6738 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
6740         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
6742 2012-01-05  Glenn Morris  <rgm@gnu.org>
6744         * eshell/em-unix.el (diff-no-select): Autoload it.
6745         (eshell/diff): Use diff-no-select.  (Bug#10420)
6747 2012-01-05  Chong Yidong  <cyd@gnu.org>
6749         * shell.el (shell-dynamic-complete-functions): Revert last change.
6750         (shell-command-completion-function): New function.
6751         (shell-completion-vars): Use it to implement
6752         shell-completion-execonly (Bug#10417).
6754         * custom.el (enable-theme): Don't set custom-safe-themes.
6756         * cus-theme.el (custom-theme-merge-theme):
6757         Ignore custom-enabled-themes and custom-safe-themes.
6759 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
6761         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6762         first prompt in `sql-interacive-mode'.
6763         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6764         keywords.
6765         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6766         (sql-product-interactive): Bug fix: Set `sql-buffer' in
6767         context of original buffer.  Invoke `sql-login-hook'.
6769 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
6771         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6772         letters in cite-prefix.
6774 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6776         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6778 2012-01-03  Chong Yidong  <cyd@gnu.org>
6780         * shell.el (shell-dynamic-complete-functions):
6781         Put pcomplete-completions-at-point, so as to try
6782         comint-filename-completion first (Bug#10417).
6784 2012-01-02  Richard Stallman  <rms@gnu.org>
6786         * battery.el (battery-status-function):
6787         Detect when to use battery-yeeloong-sysfs.
6788         (battery-echo-area-format): Add string for Yeeloong.
6789         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6790         (battery-yeeloong-sysfs): New function.
6792 2012-01-02  Chong Yidong  <cyd@gnu.org>
6794         * dirtrack.el (dirtrack-list): Eliminate unused third element.
6795         (dirtrack): Merge code for handling relative filenames in prompt
6796         from shell-dir-cookie-watcher.
6797         (dirtrack-debug-message): New arg to avoid excess format calls.
6799         * shell.el (shell-dir-cookie-re): Variable deleted.
6800         (shell-dir-cookie-watcher): Function deleted.
6801         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6802         with dirtrack-mode.
6804 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
6806         * term/w32-win.el (dynamic-library-alist) <gnutls>:
6807         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6808         libgnutls-26.dll.
6810 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
6812         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6814 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
6816         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6817         headers of non-MIME messages, when rmail-enable-mime is non-nil.
6819 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
6821         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6822         also for alternative shells.
6823         (tramp-open-connection-setup-interactive-shell): Check, whether
6824         the shell is a busybox.
6825         (tramp-send-command): Don't suppress multiple prompts for
6826         busyboxes, it hurts.
6828 2011-12-28  Chong Yidong  <cyd@gnu.org>
6830         * progmodes/gdb-mi.el (gdb-get-source-file-list)
6831         (gdb-get-source-file): Move mode line update to
6832         gdb-get-source-file (Bug#10087).
6834 2011-12-25  Chong Yidong  <cyd@gnu.org>
6836         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6837         gud-gdb-marker-filter without taking it as an argument.
6838         (gud-gdb-run-command-fetch-lines): Caller changed.
6839         (gud-gdb-completion-function): New variable.
6840         (gud-gdb-completion-at-point): Use it.
6841         (gud-gdb-completions-1): Split from gud-gdb-completions.
6843         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6844         function as separate arguments.
6845         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6846         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6847         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6848         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6849         (gdb-stopped, def-gdb-auto-update-trigger)
6850         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6851         (gdb-get-changed-registers, gdb-get-main-selected-frame):
6852         Callers changed.
6853         (gud-gdbmi-completions): New function.
6854         (gdb): Use it for generating the completion table.
6856 2011-12-24  Alan Mackenzie  <acm@muc.de>
6858         Introduce a mechanism to widen the region used in context font
6859         locking.  Use this to protect declarations from losing their contexts.
6861         * progmodes/cc-langs.el (c-before-font-lock-functions):
6862         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6863         (c-before-context-fontification-functions): New defvar, a list of
6864         functions to be run just before context (etc.) font locking.
6866         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6867         New, functionality extracted from
6868         c-neutralize-syntax-in-and-mark-CPP.
6869         (c-in-after-change-fontification): New variable.
6870         (c-after-change): Set c-in-after-change-fontification.
6871         (c-set-fl-decl-start): Rejig its interface, so it can be called
6872         from both after-change and context fontifying.
6873         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6874         New functions.
6875         (c-standard-font-lock-fontify-region-function): New variable.
6876         (c-font-lock-fontify-region): New function.
6878 2011-12-24  Juri Linkov  <juri@jurta.org>
6880         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6881         (Bug#10348)
6883 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
6885         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6886         existence of source file.  (Bug#10325)
6888 2011-12-23  Alan Mackenzie  <acm@muc.de>
6890         Fix unstable fontification inside templates.
6892         * progmodes/cc-langs.el (c-before-font-lock-functions):
6893         Newly created from the singular version.  The (c c++ objc) entry now
6894         additionally has c-set-fl-decl-start.  The other languages (apart
6895         from AWK) have that as a single entry.
6897         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6898         The functionality for "local" declarations has been extracted to
6899         c-set-fl-decl-start.
6901         * progmodes/cc-mode.el (c-common-init, c-after-change):
6902         Changes due to pluralisation of c-before-font-lock-functions.
6903         (c-set-fl-decl-start): New function, extracted from
6904         c-font-lock-enclosing-decls and enhanced.
6906 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
6908         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6910 2011-12-22  Juri Linkov  <juri@jurta.org>
6912         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
6914 2011-12-22  Chong Yidong  <cyd@gnu.org>
6916         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6918 2011-12-21  Drew Adams  <drew.adams@oracle.com>
6920         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
6922 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
6924         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6926 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
6928         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
6929         highlighting and support.  Fix up comments for capitalization.
6930         (cfengine-mode-debug): New var.
6931         (cfengine3-mode): Change the modeline indicator to "CFE3".
6932         (cfengine3-font-lock-keywords): Improve defun highlighting.
6933         (cfengine2-actions): Rename from `cfengine-actions'.
6934         (cfengine2-font-lock-keywords): Rename from
6935         `cfengine-font-lock-keywords'.
6936         (cfengine2-imenu-expression): Rename from
6937         `cfengine-imenu-expression'.
6938         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6939         (cfengine2-beginning-of-defun): Rename from
6940         `cfengine-beginning-of-defun'.
6941         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6942         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6943         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
6944         modeline indicator to "CFE2".
6945         (cfengine-mode): Defalias to `cfengine-auto-mode'.
6946         (cfengine-mode-abbrevs): Mark obsolete.
6948 2011-12-21  Chong Yidong  <cyd@gnu.org>
6950         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6951         filename argument.
6953 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
6955         * window.el (window-normalize-buffer-to-display): Remove.
6956         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6958 2011-12-19  Chong Yidong  <cyd@gnu.org>
6960         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6961         Don't signal an error in a predicate function; return non-nil.
6962         (vc-dir-mark-file): Move the error here.
6963         (vc-dir-mark-unmark): If acting on the region, keep going if one
6964         of the entries cannot be marked/unmarked.
6965         (vc-dir-mark-all-files): If current entry is a directory, mark
6966         only child files, as documented.
6968 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6970         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6971         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6972         addition.
6974 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
6976         * term/ns-win.el (ns-get-selection-internal)
6977         (ns-store-selection-internal): Declare.
6978         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6979         Declare as obsolete.
6980         (ns-get-pasteboard, ns-paste-secondary):
6981         Use ns-get-selection-internal.
6982         (ns-set-pasteboard,  ns-copy-including-secondary):
6983         Use ns-store-selection-internal.
6985 2011-12-17  Chong Yidong  <cyd@gnu.org>
6987         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6988         (vc-deduce-fileset): Doc fix.
6990 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
6992         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6994 2011-12-13  Sam Steingold  <sds@gnu.org>
6996         * man.el (Man-getpage-in-background): When running under a
6997         window-system, ignore $MANWIDTH and $COLUMNS.
6999 2011-12-15  Kenichi Handa  <handa@m17n.org>
7001         * language/ethio-util.el: Change coding tag to utf-8-emacs.
7002         (setup-ethiopic-environment-internal): Comment out key-binding for
7003         ethio-toggle-punctuation.
7005 2011-12-13  Alan Mackenzie  <acm@muc.de>
7007         Add the switch statement to AWK Mode.
7009         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7010         "default" to the keywords regexp.
7012         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7013         expression as the rest.
7014         (c-nonlabel-token-key): Allow string literals for AWK.
7015         Refactor for the other modes.
7017         Large brace-block initialisation makes CC Mode slow: Fix.
7018         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7019         routines.  Limit backward searching in c-font-lock-enclosing.decl.
7021         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7022         pp-state and literal type in addition to the limits.
7023         (c-state-safe-place): New defun, extracted from c-state-literal-at.
7024         (c-state-literal-at): Use the above new defun.
7025         (c-slow-in-literal, c-fast-in-literal): Remove.
7026         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7028         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7029         being in a literal.  Add a limit for backward searching.
7031         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7032         c-slow-in-literal.
7034 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7036         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7038 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
7040         * window.el (delete-other-windows): Use correct frame in call to
7041         window-with-parameter.
7043 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
7045         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7046         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7047         (makefile-gmake-statements, makefile-makepp-statements):
7048         Use it and add new makepp keywords.
7049         (makefile-makepp-font-lock-keywords): Add new patterns.
7050         (makefile-match-function-end): Match new [...] and [[...]].
7052 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
7054         * ses.el (ses-call-printer-return, ses-cell-property-get)
7055         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7056         (ses-create-cell-variable, ses-reset-header-string)
7057         (ses-cell-set-formula, ses-repair-cell-reference-all)
7058         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7059         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7060         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7061         (ses-aset-with-undo, ses-load, ses-truncate-cell)
7062         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7063         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7064         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7065         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7066         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7067         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7068         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7069         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7071 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7073         * ses.el: The overall change is to add cell renaming, that is
7074         setting fancy names for cell symbols other than name matching
7075         "\\`[A-Z]+[0-9]+\\'" regexp .
7076         (ses-create-cell-variable): New defun.
7077         (ses-relocate-formula): Relocate formulas only for cells the
7078         symbols of which are not renamed, i.e. symbols whose names do not
7079         match regexp "\\`[A-Z]+[0-9]+\\'".
7080         (ses-relocate-all): Relocate values only for cells the symbols of
7081         which are not renamed.
7082         (ses-load): Create cells variables as the (ses-cell ...) are read,
7083         in order to check row col consistency with cell symbol name only
7084         for cells that are not renamed.
7085         (ses-replace-name-in-formula): New defun.
7086         (ses-rename-cell): New defun.
7088 2011-12-11  Chong Yidong  <cyd@gnu.org>
7090         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7091         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7093 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
7095         * window.el (other-window): Fix docstring.
7097 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
7099         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7100         `from' or `to' address before taking its substring.
7101         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7102         encoded name is chopped in the middle of the encoded string, and
7103         thus displayed encoded.
7105 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
7107         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7109 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
7111         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
7112         to use texinfo-update-node and commands that call it if the
7113         Texinfo file uses @node lines without next/prev/up pointers.
7114         Correct outdated description about texinfo-master-menu.
7115         (texinfo-all-menus-update, texinfo-master-menu)
7116         (texinfo-update-node, texinfo-every-node-update)
7117         (texinfo-multiple-files-update): Doc fix.  Warn against updating
7118         all the @node lines.
7119         (texinfo-master-menu): Only call texinfo-update-node if the prefix
7120         argument is numeric.  Explain better in the doc string what the
7121         function really does.
7122         (texinfo-insert-master-menu-list): Improve the error message
7123         displayed if there's no menu in the Top node.
7124         (Bug#2975)  See also this thread:
7125         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7127 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
7129         * speedbar.el (speedbar-supported-extension-expressions):
7130         Add .adb and .ads, commonly used for Ada source code (bug#10256).
7132 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
7134         * printing.el (pr-mode-alist):
7135         * simple.el (filter-buffer-substring-functions)
7136         (completion-list-insert-choice-function):
7137         * window.el (window-with-parameter, window-atom-root)
7138         (window-sides-slots, window-size-fixed, window-min-delta)
7139         (window-max-delta, window--resize-mini-window)
7140         (window--resize-child-windows-normal, window-tree)
7141         (delete-other-windows, quit-window, split-window)
7142         (display-buffer-record-window, special-display-buffer-names)
7143         (special-display-regexps, special-display-popup-frame)
7144         (same-window-p, split-window-sensibly)
7145         (display-buffer-overriding-action, display-buffer-alist)
7146         (display-buffer-base-action, display-buffer, switch-to-buffer)
7147         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7148         (fit-window-to-buffer, recenter-positions)
7149         (mouse-autoselect-window-state, mouse-autoselect-window-select):
7150         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7151         and remove unneeded backslashes in docstrings.
7153 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7155         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7157         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7158         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7159         end in ".mk".
7160         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7161         when reading the makefile (bug#10116).
7163 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7165         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7166         (bug#10116).
7168 2011-12-06  Glenn Morris  <rgm@gnu.org>
7170         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7172 2011-12-06  Chong Yidong  <cyd@gnu.org>
7174         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7176 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
7178         * textmodes/table.el (table-shorten-cell): Fix typo.
7180 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
7182         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7184 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
7186         * descr-text.el (describe-char): Fix display of strong
7187         right-to-left characters and directional embeddings and overrides.
7189         * simple.el (what-cursor-position): Fix display of codepoints of
7190         strong right-to-left characters.
7192 2011-12-05  Chong Yidong  <cyd@gnu.org>
7194         * faces.el (read-color): Doc fix.
7196 2011-12-05  Glenn Morris  <rgm@gnu.org>
7198         * align.el (align--set-marker): Add doc-string.
7199         Don't try to move something that is not a marker.  (Bug#10216)
7201 2011-12-04  Glenn Morris  <rgm@gnu.org>
7203         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7204         overly zealous deletion of trailing whitespace.
7206 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
7208         * server.el (server-delete-client): On Windows, do not try to delete
7209         the only terminal.
7210         (server-process-filter): On Windows, treat requests for a tty frame as
7211         if they were for a GUI frame if the running server is in GUI mode.
7213 2011-12-03  Glenn Morris  <rgm@gnu.org>
7215         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
7217 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7219         * electric.el: Streamline electric-indent's hook.
7220         (electric-indent-chars): Revert to simple list.
7221         (electric-indent-functions): New var.
7222         (electric-indent-post-self-insert-function): Use it.
7224         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7225         there's no inferior buffer (bug#10196).
7226         (prolog-consult-compile): Don't use toggle-read-only.
7228 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
7230         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7231         interrupt.  (Bug#10187)
7233 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7235         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7236         (bug#9160).
7238         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7239         (bug#10191).
7241 2011-12-02  Juri Linkov  <juri@jurta.org>
7243         * info.el (Info-search): Display "end of manual" when Isearch
7244         reaches the end of single-file Info manual.  (Bug#9918)
7246 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
7248         * isearch.el (isearch-message-prefix): Run the input method part
7249         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
7251 2011-12-02  Juri Linkov  <juri@jurta.org>
7253         * isearch.el (isearch-occur): Use `word-search-regexp' for
7254         `isearch-word'.
7255         (isearch-search-and-update): Add condition for `isearch-word' and
7256         call `word-search-regexp'.  (Bug#10145)
7258 2011-12-01  Glenn Morris  <rgm@gnu.org>
7260         * eshell/em-hist.el (eshell-hist-initialize):
7261         Handle eshell-history-size nil and HISTSIZE set or unset.
7262         (eshell-history-file-name, eshell-history-size): Fix custom type.
7264 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7266         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7268 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
7270         * progmodes/verilog-mode.el (verilog-pretty-expr):
7271         Rework verilog-pretty-expr to handle new assignment operators in system
7272         verilog, such as += *= and the like.
7273         (verilog-assignment-operator-re): Regular expression to find the
7274         assigment operator in a verilog assignment.
7275         (verilog-assignment-operation-re): Regular expression to find an
7276         assignment statement for pretty-expr.
7277         (verilog-in-attribute-p): Query returns true if point is in an
7278         attribute context; used to skip these for expression line up from
7279         pretty-expr.
7280         (verilog-in-parameter-p): Query returns true if point is in an
7281         parameter definition context; used to skip these for expression
7282         line up from pretty-expr.
7283         (verilog-in-parenthesis-p): Query returns true if point is in a
7284         parenthetical expression, specifically ( ) but not [ ] or { };
7285         used by pretty-expr.
7286         (verilog-just-one-space): If there is no space, don't add one.
7287         (verilog-get-lineup-indent-2): Specifically skip just attribute
7288         contexts for expression lineup, rather than skipping all
7289         parenthetical expressions.
7290         (verilog-calculate-indent): Fix comment, and fix indent.
7291         (verilog-do-indent): Indent declarations in lists (suggested by
7292         Joachim Lechner).
7293         (verilog-mode-abbrev-table): Populate abbrev mode with the various
7294         skeleton items.
7295         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7296         by Alain Mellan).
7298 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
7300         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7301         parameters with embedded comments.  Reported by Ray Stevens.
7302         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7303         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7304         Reported by Tim Holt.
7305         (verilog-auto): Fix AUTOing a upper module then AUTOing module
7306         instantiated by upper module causing wrong expansion until AUTOed a
7307         second time.  Reported by K C Buckenmaier.
7308         (verilog-diff-auto): Fix showing .* as a difference when
7309         `verilog-auto-star-save' off.  Reported by Dan Dever.
7310         (verilog-auto-reset, verilog-read-always-signals)
7311         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7312         temporary signals in reset list if
7313         verilog-auto-reset-blocking-in-non is nil, and match assignment
7314         style to each signal's assignment type, bug381.
7315         Reported by Thomas Esposito.
7316         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7317         (verilog-uvm-statement-re): Support UVM indentation and
7318         highlighting, with old OVM keywords only.
7319         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7320         Support AUTOTIEOFF creating non-wire data types.
7321         Suggested by Jonathan Greenlaw.
7322         (verilog-auto-insert-lisp, verilog-delete-to-paren)
7323         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7324         (verilog-inject-sense, verilog-read-inst-pins)
7325         (verilog-read-sub-decls, verilog-read-sub-decls-line):
7326         Fix mismatching parenthesis inside commented out code when deleting
7327         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
7328         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7329         non-numeric vector width.  Reported by Alex Reed.
7330         (verilog-auto-ascii-enum): Add "onehot" option to work around not
7331         detecting signals with parameter widths.  Reported by Alex Reed.
7332         (verilog-auto-delete-trailing-whitespace):
7333         With `verilog-auto-delete-trailing-whitespace' remove trailing
7334         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
7335         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7336         Fix verilog-scan-cache corruption when running user AUTO expansion
7337         hooks that call indentation routines.
7338         (verilog-simplify-range-expression): Fix typo ignoring lower case
7339         identifiers.
7340         (verilog-delete-auto): Fix delete-autos to also remove user created
7341         automatics, as long as they start with AUTO.
7342         (verilog-batch-diff-auto, verilog-diff-auto)
7343         (verilog-diff-function): Add `verilog-diff-auto' and bind to
7344         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
7345         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7346         (verilog-in-paren-quick, verilog-re-search-backward-quick)
7347         (verilog-re-search-forward-quick, verilog-syntax-ppss):
7348         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7349         is disabled and its cache will get corrupt, causing AUTOS not to
7350         expand.  Instead use only -quick functions.
7351         (verilog-scan-region): Fix scanning over escaped quotes.
7352         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7353         (verilog-re-search-backward-quick)
7354         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7355         related functions now ignore strings, to fix misparsing of strings
7356         with magic comments embedded in them.
7357         (verilog-read-auto-template):
7358         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7359         Reported by Brad Dobbie.
7360         (verilog-read-auto-template):
7361         Fix 'verilog-auto-inst-template-numbers' with comments.
7362         Reported by Brad Dobbie.
7363         (verilog-auto-inst, verilog-auto-inst-param)
7364         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7365         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
7366         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7367         debugging templates without merge conflicts, bug357.
7368         Reported by Brad Dobbie.
7369         (verilog-read-auto-template):
7370         Fix verilog-auto-inst-template-numbers with multiple templates.
7371         Reported by Brad Dobbie.
7372         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7373         abbrevs so user won't be asked to save.
7374         (verilog-read-auto-lisp-present): Fix to start at beginning of
7375         buffer in case called outside of verilog-auto.
7376         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7377         to "X-2".  Reported by Matthew Myers.
7378         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7379         all inputs from module templates.  Reported by Leith Johnson.
7380         (verilog-module-inside-filename-p): Fix locating programs as with
7381         modules.
7382         (verilog-auto-inst-port): Fix vl-width expressions when using
7383         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
7384         (verilog-decls-get-regs, verilog-decls-get-signals,
7385         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7386         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7387         verilog-read-decls): Combine reg and wire structures into one var
7388         structure to represent SystemVerilog concepts.
7389         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7390         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7391         (verilog-auto-wire-type, verilog-insert-definition):
7392         Add verilog-auto-wire-type and AUTOLOGIC to support using
7393         SystemVerilog "logic" keyword instead of "wire"/"reg".
7394         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7395         to declares outputs that also have assignments (presumably in an
7396         ifdef or generate if so there's not a driver conflict).
7397         Reported by Matthew Myers.
7398         (verilog-auto-declare-nettype, verilog-insert-definition):
7399         Add verilog-auto-declare-nettype to fix declarations using
7400         `default_nettype none.  Reported by Julian Gorfajn.
7401         (verilog-read-always-signals-recurse, verilog-read-decls)
7402         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7403         malformed end statement, bug325.  Reported by Joshua Wise and
7404         Andrew Drake.
7405         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7406         (verilog-inst-comment-re): Fix not deleting Interfaced comment
7407         when expanding .* in interfaces, bug320.
7408         Reported by Pierre-David Pfister.
7409         (verilog-read-module-name): Fix import statements between module
7410         name and open parenthesis, bug317.
7411         Reported by Pierre-David Pfister.
7412         (verilog-simplify-range-expression): Fix simplification of
7413         multiplications inside AUTOWIRE connections, bug303.
7414         (verilog-auto-inst-port): Support parameter expansion in
7415         multidimensional arrays.
7416         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7417         after "assert property".  Reported by Julian Gorfajn.
7418         (verilog-simplify-range-expression): Fix "couldn't merge" errors
7419         with multiplication, bug303.
7420         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7421         Reported by Jan Frode Lonnum.
7423 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
7425         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7426         (hfy-shell-file-name, hfy-shell):
7427         * international/fontset.el (x-decompose-font-name): Fix typos.
7429 2011-11-29  Ken Brown  <kbrown@cornell.edu>
7431         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7432         (gdb-version): Remove defvar.
7433         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7434         (gdb-gud-context-command, gdb-non-stop-handler)
7435         (gdb-current-context-command, gdb-stopped): Use it.
7436         (gdb-init-1): Enable pretty printing here.
7437         (gdb-non-stop-handler): Don't enable pretty-printing here.
7438         Check to see if the target supports non-stop mode; if not, turn off
7439         non-stop mode.  Use the following.
7440         (gdb-check-target-async): New defun.
7441         (gud-watch, gdb-stopped): Fix whitespace.
7442         (gdb-get-source-file): Don't try to display the source file if
7443         `gdb-main-file' is nil.
7445 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7447         * align.el: Try to generate fewer markers (bug#10047).
7448         (align--set-marker): New macro.
7449         (align-region): Use it.
7451 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7453         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7455 2011-11-29  Chong Yidong  <cyd@gnu.org>
7457         * indent.el (indent-for-tab-command, indent-according-to-mode):
7458         Doc fix.
7459         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
7461 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
7463         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7464         aware of remote file names.  (Bug#10124)
7466 2011-11-29  Chong Yidong  <cyd@gnu.org>
7468         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7470 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7472         * files.el (find-file): Don't use force-same-window (bug#10144).
7473         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7474         use pop-to-buffer if the selected window can't be used.
7475         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7477 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
7479         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7480         special-mode-map.
7482 2011-11-28  Chong Yidong  <cyd@gnu.org>
7484         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7486 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
7488         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7489           gdb-get-source-file-list on gdb-create-source-file-list.
7491 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
7493         * whitespace.el (whitespace-newline): Use a different foreground
7494         color for 16-color light-background displays.
7496 2011-11-24  Chong Yidong  <cyd@gnu.org>
7498         * window.el (display-buffer--special-action): Doc fix.
7500 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
7502         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7503         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7504         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7505         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7506         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7507         (avl-tree-stack-first):
7508         * emacs-lisp/cconv.el (cconv--analyse-use):
7509         * net/gnutls.el (gnutls-negotiate): Fix typos.
7511 2011-11-24  Glenn Morris  <rgm@gnu.org>
7513         * lpr.el (lpr-windows-system, lpr-lp-system):
7514         * mail/binhex.el (binhex-begin-line):
7515         * progmodes/grep.el (grep-history, grep-find-history):
7516         * textmodes/flyspell.el:
7517         * vc/pcvs-defs.el (cvs-global-menu):
7518         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7519         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7520         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7522         * net/tls.el: Fix case of "GnuTLS".
7524         * paths.el (rmail-file-name): Format doc-string for make-docfile.
7526         * version.el (emacs-build-system): Give it a doc-string.
7528 2011-11-24  Juri Linkov  <juri@jurta.org>
7530         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7532 2011-11-24  Glenn Morris  <rgm@gnu.org>
7534         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7535         if called on a non-mime message just toggle the headers.  (Bug#8006)
7537 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
7539         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7540         (allout-lead-with-comment-string, allout-structure-deleted-hook)
7541         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7542         (allout-rebullet-heading, allout-open-sibtopic)
7543         (allout-toggle-current-subtree-encryption)
7544         (allout-toggle-subtree-encryption, allout-encrypt-string)
7545         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7546         (allout-distinctive-bullets-string, allout-auto-activation):
7547         * window.el (window-normalize-buffer-to-display):
7548         * progmodes/verilog-mode.el (verilog-batch-indent):
7549         * textmodes/bibtex.el (bibtex-field-braces-opt)
7550         (bibtex-field-strings-opt):
7551         * vc/cvs-status.el (cvs-tree-merge):
7552         Fix typos.
7554 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
7556         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7557         `non-essential' to t, in order to avoid remote connections.
7559 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
7561         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7562         On MS-DOS and MS-Windows, compare with loaddefs.el
7563         case-insensitively.
7565 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7567         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
7569 2011-11-23  Glenn Morris  <rgm@gnu.org>
7571         * paths.el (rmail-file-name): Reformat the doc-string so that it
7572         is picked up.
7574         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7575         (rmail-auto-file): Ignore case in the "special" field names,
7576         as mail-fetch-field does for all others.
7578         * mail/rmail.el (rmail-forward):
7579         * mail/rmailkwd.el (rmail-set-label):
7580         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7581         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
7583         * mail/rmail.el (rmail-current-message): Doc fix.
7585         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
7587 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7589         * server.el (server-eval-and-print): Allow C-g (bug#6585).
7591 2011-11-22  Glenn Morris  <rgm@gnu.org>
7593         * mail/rmailmm.el (test-rmail-mime-handler)
7594         (test-rmail-mime-bulk-handler)
7595         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7597 2011-11-21  Juri Linkov  <juri@jurta.org>
7599         * calc/calc.el (calc-read-key-sequence):
7600         Let-bind `input-method-function' to nil.  (Bug#10018)
7602 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7604         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7605         Tell the caller that the next line needs recomputation, even
7606         though it doesn't start a sexp (bug#10094).
7608 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7610         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7612 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7614         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7615         Use force-same-window.
7617 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
7619         * descr-text.el (describe-char-unicode-data):
7620         * json.el (json-string-escape):
7621         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7622         (Footnote-unicode, Footnote-style-p):
7623         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7625 2011-11-20  Chong Yidong  <cyd@gnu.org>
7627         * window.el (replace-buffer-in-windows): Restore interactive spec.
7629 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7631         * electric.el (electric-indent-mode): Fix last change (too optimistic).
7633         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7634         (byte-compile-global-not-obsolete-vars): New var.
7635         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7636         Use it.
7637         (byte-compile-warn-obsolete): Align text with the one in *Help*.
7639 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
7641         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7642         * progmodes/pascal.el (electric-pascal-equal):
7643         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7644         * xml.el (xml-substitute-special): Fix typos.
7646 2011-11-20  Glenn Morris  <rgm@gnu.org>
7648         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7649         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7650         Doc fixes.
7651         (rmail-decode-mime-charset): Mark as obsolete.
7653         * mail/rmailsum.el (rmail-message-regexp-p-1):
7654         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7655         Before using mime functions, check they are set.  (Bug#10077)
7657 2011-11-19  Juri Linkov  <juri@jurta.org>
7659         * info.el (Info-finder-find-node): Use `package--builtins' instead
7660         of `package-alist'.  Use node names formed by the pattern "Keyword "
7661         and the keyword name.
7663 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
7665         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7667 2011-11-19  Juri Linkov  <juri@jurta.org>
7669         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7670         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
7671         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7672         `old-history', `old-history-forward'.  Add let-binding
7673         `window-selected'.  Remove calls to `kill-buffer',
7674         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
7675         before calling `Info-find-node', so `Info-find-node-2' will reread
7676         the Info file.  Restore window positions only when `window-selected'
7677         is non-nil.
7679 2011-11-19  Juri Linkov  <juri@jurta.org>
7681         * isearch.el (isearch-lazy-highlight-new-loop):
7682         Remove condition `(not isearch-error)'.  (Bug#9918)
7684         * misearch.el (multi-isearch-search-fun): Add condition
7685         `(not bound)' to ignore lazy-highlighting search.
7686         Add the search-failed message "end of multi" when the end of
7687         multi-sequence is reached.  Uncapitalize the search-failed
7688         message "Repeat for next buffer".
7690         * info.el (Info-search): Add the search-failed message
7691         "end of the manual" when the end of the manual is reached
7692         in Isearch mode.
7694 2011-11-19  Juri Linkov  <juri@jurta.org>
7696         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7697         Use non-destructive `remove' instead of `delete' because
7698         `Info-history-list' stored to `Info-isearch-initial-history-list' in
7699         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7701 2011-11-19  Juri Linkov  <juri@jurta.org>
7703         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7704         to nil instead of binding `search-ring' and `regexp-search-ring'.
7705         (Bug#9185)
7707 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
7709         * simple.el (line-move): Force movement by logical lines for any
7710         hscrolled window, not only when auto-hscroll-mode is on.
7711         (line-move-visual): Update doc string to that effect.  (Bug#10076)
7713 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
7715         * language/european.el (macintosh): Define as alias for mac-roman.
7717 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
7719         * mail/rmailmm.el (rmail-mime-display-header)
7720         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7721         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7722         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7723         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7724         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7725         of a raw aref.
7726         (rmail-mime-entity-segment): To get past the tagline, move forward
7727         2 more lines, to account for the 2 empty lines that precede and
7728         follow the line with the buttons.
7729         (rmail-mime-update-tagline): Move one more line, to get past the
7730         empty line that follows the buttons in the tagline.  (Bug#9520)
7732 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
7734         * window.el (window-max-delta-1, window-min-delta-1)
7735         (window-min-size-1, window-state-get-1, window-state-put-1)
7736         (window-state-put-2): Use "window--" prefix.
7738 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7740         * emacs-lisp/smie.el: Improve warnings and conflict detection.
7741         (smie-warning-count): New var.
7742         (smie-set-prec2tab): Use it.
7743         (smie-bnf->prec2): Improve warnings.  Add docstring.
7744         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7745         (smie-bnf--set-class): New function.
7746         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
7747         corner case.
7749         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7750         (compilation-error-properties, compilation-move-to-column):
7751         Handle compilation-first-column while in the target buffer.
7753         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7754         Don't hardcode point-min==1.
7756         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7757         (eshell-rewrite-for-command): Remove workaround.
7758         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7759         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7760         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7762         * files-x.el (modify-file-local-variable): Obey commenting conventions.
7764 2011-11-17  Glenn Morris  <rgm@gnu.org>
7766         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7767         Ignore buffer-local generated-autoload-file if it is the same
7768         as the global value.  (Bug#10049)
7770 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
7772         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7773         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7774         (reftex-toc-previous-heading, reftex-toc-max-level)
7775         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7776         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7777         (reftex-toc-do-promote, reftex-toc-promote-prepare)
7778         (reftex-toc-promote-action, reftex-toc-extract-section-number)
7779         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7780         (reftex-toc-rename-label, reftex-toc-visit-location)
7781         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7782         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7783         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7784         leaving "*toc*" only for references to the buffer.
7786 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
7788         * window.el (window-resize, delete-window, split-window):
7789         Replace window-splits by window-combination-resize.
7790         * cus-start.el (window-splits): Replace by window-combination-resize.
7792 2011-11-17  Glenn Morris  <rgm@gnu.org>
7794         * progmodes/sh-script.el (sh-font-lock-keywords-var):
7795         Make bash entry derive from sh entry, not shell entry.
7797 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
7799         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7800         local file name.
7802 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
7804         * menu-bar.el (menu-bar-file-menu):
7805         * printing.el (pr-ps-utility):
7806         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7807         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7808         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7809         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7810         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7811         (icalendar--convert-cyclic-to-ical)
7812         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7813         (icalendar--convert-ical-to-diary)
7814         (icalendar--convert-recurring-to-diary)
7815         (icalendar--convert-non-recurring-all-day-to-diary)
7816         (icalendar-import-format-sample):
7817         * progmodes/idlw-shell.el (idlwave-shell-mode):
7818         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7819         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7820         (vhdl-ps-print-init): Fix typos.
7822 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
7824         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7825         FSF and collapse date sequence, obscure author/maintainer email address
7826         better, remove extra version line, track relocation of author's webpage.
7828         * progmodes/python.el (python-pdbtrack-input-prompt)
7829         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7830         regular python pdb prompts.  Adjustments shamelessly taken exactly as
7831         suggested in EmacsWiki page (tiny change):
7832         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7834 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
7836         * expand.el (expand-pos, expand-index, expand-point):
7837         Remove redundant info from docstring.
7838         (expand-add-abbrevs): Doc fix.
7839         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7840         (expand-sample-perl-mode-expand-list): Fix typos.
7842         * net/dbus.el (dbus-event-member-name):
7843         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7844         * term/pc-win.el (msdos-create-frame-with-faces):
7845         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7847 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
7849         * window.el (split-window, window-state-get-1)
7850         (window-state-put-1, window-state-put-2): Rename occurrences of
7851         window-nest to window-combination-limit.
7852         * cus-start.el (window-nest): Rename to window-combination-limit.
7854 2011-11-16  Chong Yidong  <cyd@gnu.org>
7856         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7857         regexp (Bug#10033).
7859 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7861         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7862         `completing-read' will remove *Completions* and will preserve
7863         current-buffer for us.
7864         (tmm-add-prompt): Users of *Completions* will always (re)set its
7865         major mode.
7866         (tmm-old-comp-map): Remove.
7868 2011-11-16  Glenn Morris  <rgm@gnu.org>
7870         * mail/rmailedit.el: Require rmailmm when compiling.
7871         (rmail-old-mime-state): New declaration.
7872         (rmail-edit-current-message): If editing a mime message,
7873         edit the "raw" message from the mbox buffer.
7874         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
7876 2011-11-15  Glenn Morris  <rgm@gnu.org>
7878         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7879         which wasn't being used.  Add optional arg to force given state.
7880         (rmail-mime): Add optional arg to force given state.
7882 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
7884         * allout.el (allout-encryption-plaintext-sanitization-regexps):
7885         * frame.el (display-mm-dimensions-alist):
7886         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7887         (outline-move-subtree-down):
7888         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7889         (newsticker--treeview-do-get-node):
7890         * net/quickurl.el (quickurl-list-buffer-name):
7891         * progmodes/dcl-mode.el (dcl-mode):
7892         * progmodes/gdb-mi.el (gdb-mapcar*):
7893         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7895 2011-11-15  Glenn Morris  <rgm@gnu.org>
7897         * mail/rmail.el (rmail-file-coding-system): It's only ever used
7898         in a boolean sense, so just make it a boolean, and fix the doc.
7899         (rmail-show-mime-function, rmail-mime-feature)
7900         (rmail-require-mime-maybe): Doc fixes.
7901         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7903         * mail/rmailmm.el (rmail-show-mime): Doc fix.
7905 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
7907         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7908         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7909         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7910         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7912 2011-11-15  Glenn Morris  <rgm@gnu.org>
7914         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7915         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7916         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7917         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7918         (rmail-mime, rmail-show-mime): Doc fixes.
7920         * term/ns-win.el (mode-line-frame-identification):
7921         Leave it alone.  (Bug#10051)
7923         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
7925         * mail/rmailout.el (rmail-output-to-rmail-buffer):
7926         Handle empty buffers.  (Bug#9978)
7928 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
7930         * international/mule.el (define-charset):
7931         * mail/rmailmm.el (rmail-mime-find-header-encoding):
7932         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7933         * progmodes/verilog-mode.el (verilog-backward-token):
7934         * textmodes/ispell.el (lookup-words):
7935         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7937 2011-11-14  Glenn Morris  <rgm@gnu.org>
7939         * progmodes/executable.el
7940         (executable-make-buffer-file-executable-if-script-p):
7941         Handle file-modes returning nil.
7943         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7944         message - not necessary, and causes problems.  (Bug#9831)
7946         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7948         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7950         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7951         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
7952         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7954 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
7956         * window.el (window-resize, delete-window): Use window-splits
7957         variable instead of function.
7958         (window-state-get-1, window-state-put-2, window-state-put):
7959         Don't deal with windows' splits status.
7961 2011-11-12  Glenn Morris  <rgm@gnu.org>
7963         * apropos.el (apropos-do-all, apropos-library, apropos-value)
7964         (apropos-documentation): Doc fixes.
7966 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
7968         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7969         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7971 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7973         * electric.el (electric-indent-post-self-insert-function): Make it
7974         possible for a char to only indent in some circumstances.
7975         (electric-indent-mode): Simplify.
7977 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
7979         * window.el (windows-with-parameter): Remove unused function.
7980         (windows-at-side): Rename to window-at-side-list.
7981         (window-check, window-atom-check, window-atom-check-1)
7982         (window-side-check, window-size-ignore, window-size-fixed-1)
7983         (window-in-direction-2): Prefix with "window--".
7984         (window-tree-1): Rename to window--subtree, fix doc-string.
7986 2011-11-11  Glenn Morris  <rgm@gnu.org>
7988         * subr.el (eval-after-load): If FILE is already loaded,
7989         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
7991 2011-11-10  Glenn Morris  <rgm@gnu.org>
7993         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7994         Call svn via vc-svn-command rather than vc-do-command.
7995         (vc-svn-command): Add --non-interactive.  (Bug#9993)
7996         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7998         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7999         Add toggle-read-only.  (Bug#7292)
8000         * files.el (toggle-read-only): Mention that it should only
8001         be used interactively.  (Bug#10006)
8003 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8005         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8006         Adjust regexp for OCaml warnings.
8008         * electric.el (electric-pair-post-self-insert-function): Let user
8009         turn it off buffer-locally (bug#9932).
8011         * progmodes/python.el (python-beginning-of-statement):
8012         Rewrite (bug#2703).
8014         * progmodes/compile.el: Better handle TABs (bug#9749).
8015         (compilation-internal-error-properties)
8016         (compilation-next-error-function): Obey the target buffer's
8017         compilation-error-screen-columns.
8019 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
8021         * progmodes/meta-mode.el: Remove obsolete comments.
8022         (meta-right-comment-regexp, meta-ignore-comment-regexp):
8023         Fix typos in docstrings.
8025 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
8027         * window.el (window-size-fixed-p): Rewrite doc-string.
8028         (window-resizable-p): Rename to window--resizable-p.  Update callers.
8029         (window--resizable): New function.  Make all callers of
8030         window-resizable call window--resizable instead.
8031         (window-resizable): Rewrite in terms of window--resizable.
8033 2011-11-08  Glenn Morris  <rgm@gnu.org>
8035         * progmodes/delphi.el (delphi-mode-syntax-table):
8036         Let define-derived-mode define a proper syntax table.  (Bug#9994)
8038 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8040         * window.el: Stay away from defsubst.
8041         (window-list-no-nils): Remove.
8042         (window-state-get-1, window-state-get): Use backquote instead.
8044 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8046         * emacs-lisp/find-func.el (find-function-read):
8047         Fix incorrect use of default argument in `completing-read'.
8049 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
8051         * window.el (display-buffer-function, special-display-function):
8052         Mention display-buffer-record-window but do not mention
8053         help-setup parameter in doc-strings.
8054         (window-min-delta): Fix doc-string typo.
8056 2011-11-08  Chong Yidong  <cyd@gnu.org>
8058         * window.el (window-total-height, window-total-width): Doc fix.
8059         (window-body-size): Move from C.
8060         (window-body-height, window-body-width): Move to C.
8062 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8064         * window.el: Make special-display like display-buffer-alist (bug#9532).
8065         (display-buffer--special-action): New function, morphed
8066         from display-buffer--special.
8067         (display-buffer): Use it to handle special-display-buffers at higher
8068         priority (just after display-buffer-alist).
8069         (display-buffer-fallback-action, display-buffer--other-frame-action)
8070         (pop-to-buffer-same-window): Remove display-buffer--special.
8072 2011-11-07  Glenn Morris  <rgm@gnu.org>
8074         * calendar/cal-menu.el (cal-menu-set-date-title):
8075         Do nothing if not in a calendar.  (Bug#9976)
8077 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8079         * files.el (find-file): Always use selected-window.
8081 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
8083         * window.el (window-combinations): Make WINDOW argument
8084         mandatory.  Rewrite doc-string.
8085         (walk-window-subtree, window-atom-check, window-min-delta)
8086         (window-max-delta, window--resize-this-window)
8087         (window--resize-root-window-vertically, window-tree)
8088         (balance-windows, window-state-put): Rewrite doc-strings as to
8089         not mention the term "subwindow".
8090         (window--resize-subwindows-skip-p): Rename to
8091         window--resize-child-windows-skip-p.
8092         (window--resize-subwindows-normal): Rename to
8093         window--resize-child-windows-normal.
8094         (window--resize-subwindows): Rename to
8095         window--resize-child-windows.
8096         (window-or-subwindow-p): Rename to window--in-subtree-p.
8098 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
8100         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8101         Ensure that mbox format messages end in two newlines (Bug#9974).
8103 2011-11-06  Chong Yidong  <cyd@gnu.org>
8105         * window.el (window-combination-p): Function deleted; its
8106         side-effect is not used in any existing code.
8107         (window-combinations, window-combined-p): Call window-*-child
8108         directly.
8110 2011-11-05  Chong Yidong  <cyd@gnu.org>
8112         * window.el (window-valid-p): Rename from window-any-p.
8113         (window-size-ignore, window-state-get): Callers changed.
8114         (window-normalize-window): Rename from window-normalize-any-window.
8115         New arg LIVE-ONLY, replacing window-normalize-live-window.
8116         (window-normalize-live-window): Delete.
8117         (window-combination-p, window-combined-p, window-combinations)
8118         (walk-window-subtree, window-atom-root, window-min-size)
8119         (window-sizable, window-sizable-p, window-size-fixed-p)
8120         (window-min-delta, window-max-delta, window-resizable)
8121         (window-resizable-p, window-full-height-p, window-full-width-p)
8122         (window-current-scroll-bars, window-point-1, set-window-point-1)
8123         (window-at-side-p, window-in-direction, window-resize)
8124         (adjust-window-trailing-edge, maximize-window, minimize-window)
8125         (window-deletable-p, delete-window, delete-other-windows)
8126         (record-window-buffer, unrecord-window-buffer)
8127         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8128         (quit-window, split-window, window-state-put)
8129         (set-window-text-height, fit-window-to-buffer)
8130         (shrink-window-if-larger-than-buffer): Callers changed.
8132 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
8134         * mail/rmail.el (rmail-simplified-subject): Decode subject with
8135         rfc2047-decode-string.
8136         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8137         warnings.
8139         * window.el (window-body-height, window-body-width): Mention in
8140         the doc string that the return values are in frame's canonical
8141         units.  (Bug#9949)
8143 2011-11-03  Alan Mackenzie  <acm@muc.de>
8145         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8146         change in cc-engine.el.
8148 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8150         * window.el (switch-to-buffer): Use `force-same-window' interactively.
8152 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
8154         * window.el (quit-window): Call unrecord-window-buffer after
8155         showing another buffer in the window.  (Bug#9937)
8156         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8158 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
8160         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8161         Accept status with more than 9 shelves.  (Bug#9935)
8162         Reported by Colin D Bennett <colin@gibibit.com>.
8164 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
8166         * help.el (with-help-window): Don't reference
8167         temp-buffer-show-specifiers in doc-string.
8169 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
8171         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8172         menu-item.
8174 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8176         * whitespace.el: New version 13.2.2.
8177         (whitespace-newline-mode): Disable properly.  Reported by Sarah
8178         <EmacsWiki>.
8180 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
8182         * net/newst-treeview.el: Remove "Time-stamp".
8183         (newsticker--group-manage-orphan-feeds): Do not call
8184         newsticker--treeview-tree-update.
8185         (newsticker-treeview-update, newsticker-treeview):
8186         Call newsticker--treeview-tree-update if necessary.
8188 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
8190         * window.el (window-iso-combination-p, window-iso-combined-p)
8191         (window-iso-combinations): Remove "iso-" infix.
8192         Suggested by Chong Yidong.
8193         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8194         (window-max-delta-1, window-resize, window--resize-siblings)
8195         (window--resize-this-window, adjust-window-trailing-edge)
8196         (split-window, balance-windows-1)
8197         (shrink-window-if-larger-than-buffer):
8198         * calendar/calendar.el (calendar-generate-window):
8199         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8201 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8203         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8204         in place (bug#9907).
8205         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8206         (eshell-rewrite-if-command, eshell-rewrite-for-command)
8207         (eshell-structure-basic-command, eshell-rewrite-while-command)
8208         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8209         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8210         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8211         (eshell-do-pipelines-synchronously, eshell-eval-command):
8212         Use backquotes and prefer setq to set.
8213         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8214         (eshell-macrop): Use functionp.
8215         (eshell-do-eval): Handle multiple expressions in `while' body.
8217 2011-10-30  Chong Yidong  <cyd@gnu.org>
8219         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8220         instead of set-mark (Bug#9810).
8222 2011-10-30  Chong Yidong  <cyd@gnu.org>
8224         * window.el (split-window-below, split-window-right): Rename from
8225         split-window-above-each-other and split-window-side-by-side
8226         respectively.  All callers changed.
8227         (split-window-sensibly, split-window-sensibly): Use them.
8228         (split-window-keep-point): Doc fix.
8230         * isearch.el: Add isearch-scroll property to split-window-below
8231         and split-window-right.
8233         * follow.el (follow-mode):
8234         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8235         * progmodes/ada-xref.el (ada-gdb-application):
8236         * emulation/vip.el (vip-buffer-in-two-windows):
8237         * image-dired.el (image-dired-dired-with-window-configuration):
8238         * dired-x.el (dired-do-find-marked-files):
8239         * dired.el (dired-pop-to-buffer):
8240         * bs.el (bs--show-with-configuration):
8241         * vc/emerge.el (emerge-setup-windows):
8242         * textmodes/two-column.el (2C-two-columns):
8243         * textmodes/reftex-toc.el (reftex-toc):
8244         * progmodes/gdb-mi.el (gdb-setup-windows):
8245         * progmodes/fortran.el (fortran-window-create):
8246         * net/newst-treeview.el (newsticker--treeview-window-init):
8247         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8248         * emulation/tpu-edt.el (tpu-gold-map):
8249         * emulation/crisp.el (crisp-mode-map):
8250         * calendar/calendar.el (calendar-basic-setup): Callers changed.
8252 2011-10-29  Chong Yidong  <cyd@gnu.org>
8254         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8256         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8258         * textmodes/flyspell.el (flyspell-word): Fix char offset for
8259         forged Ispell output (Bug#7904).
8261         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8263 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8265         * doc-view.el: Avoid ugly errors about not finding nil.
8266         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8267         (doc-view-dvipdf-program, doc-view-unoconv-program)
8268         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8269         Avoid nil or absolute file name as default value.
8270         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8272 2011-10-28  Alan Mackenzie  <acm@muc.de>
8274         * progmodes/cc-defs.el (c-version): -> 5.32.2.
8276 2011-10-28  Alan Mackenzie  <acm@muc.de>
8278         Amend the handling of c-beginning/end-of-defun in nested declaration
8279         scopes.
8281         * progmodes/cc-vars.el (c-defun-tactic): Move here from
8282         cc-langs.el.  Change it to a defcustom.
8284         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8285         cc-vars.el.
8287         * progmodes/cc-engine.el (c-beginning-of-statement-1):
8288         Prevent "class foo : bar" being spuriously recognized as a label.
8290         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8291         Add parameter `inclusive' (to include enclosing braces in the region).
8292         (c-widen-to-enclosing-decl-scope): New function.
8293         (c-while-widening-to-decl-block): New macro.
8294         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8295         outward for defun boundaries, and correspondingly change symbol
8296         `respect-enclosure' to `go-outward'.
8297         (c-declaration-limits): Change algorithm to report only the "innermost"
8298         defun's boundaries.
8300 2011-10-28  Deniz Dogan  <deniz@dogan.se>
8302         * net/rcirc.el (rcirc-mode): Use hard newlines.
8304 2011-10-28  Alan Mackenzie  <acm@muc.de>
8306         Amend to indent and fontify macros "which include their own semicolon"
8307         correctly, using the "virtual semicolon" mechanism.
8309         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8311         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8312         Recode to scan one line at a time rather than having \n and \r
8313         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8314         (c-forward-label): Amend for virtual semicolons.
8315         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8317         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8318         of the new C macros.
8320         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8321         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8322         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8323         (c-opt-cpp-macro-define): Make into a full language variable.
8324         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8325         AWK Mode (including \n, \r) removed, no longer needed.
8327         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8328         Invoke c-make-macro-with-semi-re.
8330         * progmodes/cc-vars.el (c-macro-with-semi-re):
8331         (c-macro-names-with-semicolon): New variables.
8332         (c-make-macro-with-semi-re): New function.
8334 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8336         * vc/log-edit.el: Fill empty field rather than adding new one.
8337         (log-edit-add-field): New function.
8338         (log-edit-insert-changelog): Use it.
8340 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
8342         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8344 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8346         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8347         (gdb--check-interpreter): New function.
8348         (gdb): Use it.
8350 2011-10-27  Glenn Morris  <rgm@gnu.org>
8352         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8353         (least-positive-float, least-negative-float)
8354         (least-positive-normalized-float, least-negative-normalized-float)
8355         (float-epsilon, float-negative-epsilon):
8356         Remove unnecessary declarations.
8358         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8359         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8360         (least-positive-float, least-negative-float)
8361         (least-positive-normalized-float, least-negative-normalized-float)
8362         (float-epsilon, float-negative-epsilon): Add doc-strings,
8363         based on those in cl.texi.
8365         * files.el (set-visited-file-name): If the major-mode changed,
8366         reload the local variables.  (Bug#9796)
8368 2011-10-27  Chong Yidong  <cyd@gnu.org>
8370         * subr.el (change-major-mode-after-body-hook): New hook.
8371         (run-mode-hooks): Run it.
8373         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8374         Use change-major-mode-before-body-hook.
8376         * simple.el (fundamental-mode):
8377         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8378         change introducing fundamental-mode-hook.
8380 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
8382         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8384 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
8386         * ido.el (ido-file-name-all-completions-1): Do not require
8387         tramp.el explicitly.  (Bug#7583)
8389 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8391         * progmodes/octave-mod.el:
8392         * progmodes/octave-inf.el: Update maintainer.
8394 2011-10-26  Chong Yidong  <cyd@gnu.org>
8396         * subr.el (with-wrapper-hook): Rewrite doc.
8398 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
8400         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8401         filenames "/method:foo:".  (Bug#9793)
8403 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8405         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8406         (bug#9865).
8408 2011-10-24  Glenn Morris  <rgm@gnu.org>
8410         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
8412 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
8414         * notifications.el: Add the requirement of a running D-Bus session
8415         bus to the Commentary.
8417 2011-10-24  Juri Linkov  <juri@jurta.org>
8419         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8420         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8421         (Bug#9364)
8423 2011-10-24  Juri Linkov  <juri@jurta.org>
8425         * info.el (Info-following-node-name-re): Add newline to the list
8426         of allowed characters for leading space.  (Bug#9824)
8428 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8430         * progmodes/octave-inf.el (inferior-octave-mode-map):
8431         Fix C-c C-h binding.
8432         * progmodes/octave-mod.el (octave-help): Remove.
8434 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
8436         Sync with Tramp 2.2.3.
8438         * net/tramp-cache.el (top): Pacify byte-compiler using
8439         `init-file-user' and `site-run-file'.
8441         * net/trampver.el: Update release number.
8443 2011-10-23  Chong Yidong  <cyd@gnu.org>
8445         * files.el (toggle-read-only): Remove obsolete comment about
8446         version control.
8448         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8449         for toggle-read-only.  Note that this hasn't called vc-next-action
8450         since 2008-05-02, though it wasn't documented at the time.
8452         * vc/ediff-init.el (ediff-toggle-read-only-function):
8453         Use toggle-read-only.
8455 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
8457         Fix bug #9560, sporadic wrong indentation; improve instrumentation
8458         of c-parse-state.
8460         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8461         correct faulty logical expression.
8462         (c-parse-state-state, c-record-parse-state-state):
8463         (c-replay-parse-state-state): New defvar/defuns.
8464         (c-debug-parse-state): Use new functions.
8466 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
8468         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
8469         last fix.  Use window-in-direction correctly.
8471 2011-10-21  Chong Yidong  <cyd@gnu.org>
8473         * progmodes/idlwave.el (idlwave-mode):
8474         * progmodes/vera-mode.el (vera-mode): No need to set
8475         require-final-newline; that's done in prog-mode.
8476         Suggested by Stefan Monnier.
8478 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
8480         * mouse.el (mouse-drag-window-above)
8481         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8482         (mouse-drag-mode-line-1, mouse-drag-header-line)
8483         (mouse-drag-vertical-line-rightward-window): Remove.
8484         (mouse-drag-line): New function.
8485         (mouse-drag-mode-line, mouse-drag-header-line)
8486         (mouse-drag-vertical-line): Call mouse-drag-line.
8487         * window.el (window-at-side-p, windows-at-side): New functions.
8489 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
8491         * tar-mode.el (tar-grind-file-mode):
8492         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
8494 2011-10-21  Chong Yidong  <cyd@gnu.org>
8496         * progmodes/idlwave.el (idlwave-mode):
8497         * progmodes/vera-mode.el (vera-mode):
8498         Use mode-require-final-newline.
8500 2011-10-20  Glenn Morris  <rgm@gnu.org>
8502         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
8504 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
8506         * emulation/cua-base.el (cua-set-mark): Fix case of string.
8508 2011-10-20  Chong Yidong  <cyd@gnu.org>
8510         * emulation/cua-base.el (cua-mode):
8511         * mail/footnote.el (footnote-mode):
8512         * mail/mailabbrev.el (mail-abbrevs-mode):
8513         * net/xesam.el (xesam-minor-mode):
8514         * progmodes/bug-reference.el (bug-reference-mode):
8515         * progmodes/cap-words.el (capitalized-words-mode):
8516         * progmodes/compile.el (compilation-minor-mode)
8517         (compilation-shell-minor-mode):
8518         * progmodes/gud.el (gud-tooltip-mode):
8519         * progmodes/hideif.el (hide-ifdef-mode):
8520         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8521         * progmodes/subword.el (subword-mode):
8522         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8523         * progmodes/which-func.el (which-function-mode):
8524         * term/tvi970.el (tvi970-set-keypad-mode):
8525         * term/vt100.el (vt100-wide-mode):
8526         * textmodes/flyspell.el (flyspell-mode):
8527         * textmodes/ispell.el (ispell-minor-mode):
8528         * textmodes/nroff-mode.el (nroff-electric-mode):
8529         * textmodes/paragraphs.el (use-hard-newlines):
8530         * textmodes/refill.el (refill-mode):
8531         * textmodes/reftex.el (reftex-mode):
8532         * textmodes/rst.el (rst-minor-mode):
8533         * textmodes/sgml-mode.el (html-autoview-mode)
8534         (sgml-electric-tag-pair-mode):
8535         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8536         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8537         * emulation/crisp.el (crisp-mode):
8538         * emacs-lisp/eldoc.el (eldoc-mode):
8539         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8540         minor mode behavior.
8542 2011-10-19  Juri Linkov  <juri@jurta.org>
8544         * descr-text.el (describe-char): Add #x2010 and #x2011 to
8545         the list of hard-coded chars with escape-glyph face.
8547 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8549         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8551 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
8553         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8554         running process.
8556 2011-10-19  Glenn Morris  <rgm@gnu.org>
8558         * vc/vc-bzr.el (vc-bzr-after-dir-status):
8559         Ignore ignored files.  (Bug#9726)
8561 2011-10-19  Chong Yidong  <cyd@gnu.org>
8563         Doc fix for minor modes, stating that an omitted argument enables
8564         the mode unconditionally when called from Lisp.
8566         * abbrev.el (abbrev-mode):
8567         * allout.el (allout-mode):
8568         * autoinsert.el (auto-insert-mode):
8569         * autoarg.el (autoarg-mode, autoarg-kp-mode):
8570         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8571         (global-auto-revert-mode):
8572         * battery.el (display-battery-mode):
8573         * composite.el (global-auto-composition-mode)
8574         (auto-composition-mode):
8575         * delsel.el (delete-selection-mode):
8576         * desktop.el (desktop-save-mode):
8577         * dired-x.el (dired-omit-mode):
8578         * dirtrack.el (dirtrack-mode):
8579         * doc-view.el (doc-view-minor-mode):
8580         * double.el (double-mode):
8581         * electric.el (electric-indent-mode, electric-pair-mode):
8582         * emacs-lock.el (emacs-lock-mode):
8583         * epa-hook.el (auto-encryption-mode):
8584         * follow.el (follow-mode):
8585         * font-core.el (font-lock-mode):
8586         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8587         * help.el (temp-buffer-resize-mode):
8588         * hilit-chg.el (highlight-changes-mode)
8589         (highlight-changes-visible-mode):
8590         * hi-lock.el (hi-lock-mode):
8591         * hl-line.el (hl-line-mode, global-hl-line-mode):
8592         * icomplete.el (icomplete-mode):
8593         * ido.el (ido-everywhere):
8594         * image-file.el (auto-image-file-mode):
8595         * image-mode.el (image-minor-mode):
8596         * iswitchb.el (iswitchb-mode):
8597         * jka-cmpr-hook.el (auto-compression-mode):
8598         * linum.el (linum-mode):
8599         * longlines.el (longlines-mode):
8600         * master.el (master-mode):
8601         * mb-depth.el (minibuffer-depth-indicate-mode):
8602         * menu-bar.el (menu-bar-mode):
8603         * minibuf-eldef.el (minibuffer-electric-default-mode):
8604         * mouse-sel.el (mouse-sel-mode):
8605         * msb.el (msb-mode):
8606         * mwheel.el (mouse-wheel-mode):
8607         * outline.el (outline-minor-mode):
8608         * paren.el (show-paren-mode):
8609         * recentf.el (recentf-mode):
8610         * reveal.el (reveal-mode, global-reveal-mode):
8611         * rfn-eshadow.el (file-name-shadow-mode):
8612         * ruler-mode.el (ruler-mode):
8613         * savehist.el (savehist-mode):
8614         * scroll-all.el (scroll-all-mode):
8615         * scroll-bar.el (scroll-bar-mode):
8616         * server.el (server-mode):
8617         * shell.el (shell-dirtrack-mode):
8618         * simple.el (auto-fill-mode, transient-mark-mode)
8619         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8620         (line-number-mode, column-number-mode, size-indication-mode)
8621         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8622         * strokes.el (strokes-mode):
8623         * time.el (display-time-mode):
8624         * t-mouse.el (gpm-mouse-mode):
8625         * tool-bar.el (tool-bar-mode):
8626         * tooltip.el (tooltip-mode):
8627         * type-break.el (type-break-mode-line-message-mode)
8628         (type-break-query-mode):
8629         * view.el (view-mode):
8630         * whitespace.el (whitespace-mode, whitespace-newline-mode)
8631         (global-whitespace-mode, global-whitespace-newline-mode):
8632         * xt-mouse.el (xterm-mouse-mode): Doc fix.
8634         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8635         Fix autogenerated docstring.
8637 2011-10-19  Juri Linkov  <juri@jurta.org>
8639         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8640         by checking environment variables "DESKTOP_SESSION" and
8641         "XDG_CURRENT_DESKTOP".  (Bug#9779)
8643 2011-10-19  Juri Linkov  <juri@jurta.org>
8645         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8646         (browse-url-chromium-program, browse-url-chromium-arguments):
8647         New defcustoms.
8648         (browse-url-default-browser): Check for `browse-url-chromium' and
8649         call `browse-url-chromium-program'.
8650         (browse-url-chromium): New command.  (Bug#9779)
8652 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
8654         * facemenu.el (list-colors-duplicates): On Windows, detect more
8655         duplicates by assuming that only colors matching "^System" are
8656         special "system colors".  (Bug#9722)
8658 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8660         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8661         to distinguish the author from the committer.
8663 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
8665         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8667 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
8669         * international/mule.el (sgml-html-meta-auto-coding-function):
8670         Add support for detecting encoding in HTML5 specified only as
8671         <meta charset="UTF-8">.  Implementation just makes http-equiv and
8672         content-type parts from HTML4 encoding string optional.  (Bug#9716)
8674 2011-10-18  Glenn Morris  <rgm@gnu.org>
8676         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
8678 2011-10-18  Chong Yidong  <cyd@gnu.org>
8680         * faces.el (cursor): Doc fix.
8682 2011-10-17  Chong Yidong  <cyd@gnu.org>
8684         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8686 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
8688         * dirtrack.el (dirtrack): Support shell buffers with path
8689         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
8691 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
8693         * json.el: Bump version to 1.3 and note change in History.
8694         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8696 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8698         * comint.el (comint-insert-input, comint-send-input)
8699         (comint-get-old-input-default, comint-backward-matching-input)
8700         (comint-next-prompt): Use nil instead of `input' for field property of
8701         past user input (bug#114).
8703         * minibuffer.el (completion--replace): Inherit surrounding properties
8704         (bug#114).
8705         (minibuffer-complete-and-exit): Use it.
8707         * comint.el (comint--table-subvert): Quote the all-completions output
8708         (bug#9160).
8710 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
8712         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8714         * menu-bar.el (menu-bar-file-menu): Add entry for making new
8715         window on right of selected.  (Bug#9350) Reword other window
8716         entries and separate them from frame entries.
8718 2011-10-15  Glenn Morris  <rgm@gnu.org>
8720         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8721         Doc fixes.
8723 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
8725         * net/network-stream.el (network-stream-open-starttls):
8726         Improve detection of failure due to lack of TLS support.
8728         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8729         putting the input text in front and in bold.
8731 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8733         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8735         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8736         empty buffer.
8738         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8739         unread-command-events rather than pushing yet-another event.
8741 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
8743         * mail/sendmail.el (sendmail-query-once): Improve the wording of
8744         the explanation of the possible choices.  Make the options passed
8745         to completing-read shorter.
8747 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8749         * textmodes/flyspell.el (flyspell-large-region): Make sure
8750         extended character mode is used if defined (Bug#1339).
8752 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
8754         * simple.el (what-cursor-position): Fix the display of the
8755         character info for LRE, LRO, RLE, and RLO characters by appending
8756         an invisible PDF.
8758 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8760         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8761         even in case of error; add debug spec; simplify data flow.
8762         (with-timeout-handler): Remove.
8764 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
8766         Fix Bug#6019, Bug#9315.
8768         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8769         complete `buffer-file-name', the local file name part could look
8770         remotely (for example on VMS).
8772         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8773         `tramp-run-real-handler'.
8774         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8775         already quoted by '"'.
8777         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8778         Let `file-name-handler-alist' be nil, the local file name part
8779         could look remotely (for example on VMS).
8781 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8783         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8784         from here...
8785         (flyspell-post-command-hook): ...to here.
8787 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8789         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8790         if not needed.
8791         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
8792         using completion.  Protect against "slow" callers.
8793         Remove the "message hack".
8795 2011-10-11  Juri Linkov  <juri@jurta.org>
8797         * isearch.el (isearch-lazy-highlight-word): New variable.
8798         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8799         Use it.  (Bug#9727)
8801 2011-10-11  Glenn Morris  <rgm@gnu.org>
8803         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8804         like f90-previous-statement does.
8806 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8808         * eshell/eshell.el (eshell-command): History should be saved
8809         only in interactive use, to avoid error.
8811 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8813         * minibuffer.el (completion-file-name-table): Fix last change,
8814         i.e. ignore normal errors but not the other ones.
8816 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
8818         * window.el (special-display-buffer-names)
8819         (special-display-regexps): Remove some remnants of earlier
8820         changes from doc-strings.
8821         (quit-windows-on): New function.
8823         * vc/vc.el (vc-revert, vc-rollback):
8824         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8825         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
8826         (Bug#6183) (Bug#7074) (Bug#7447)
8828 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
8830         * window.el (frame-auto-hide-function): Add version tag.
8831         (Bug#9699)
8833 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
8835         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8836         condition.
8838 2011-10-09  Leo Liu  <sdl.web@gmail.com>
8840         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8841         (Bug#9701)
8843 2011-10-08  Glenn Morris  <rgm@gnu.org>
8845         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8846         before the first code statement zero indent.  (Bug#9690)
8848 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
8850         * simple.el (count-words-region): Always count in the region.
8851         Report the number of lines and characters too.
8852         (count-words): New command, which counts in the buffer if the
8853         region is inactive, as count-words-region used to.
8854         (count-words--message): New function.  Handle plurals.
8855         (count-lines-region): Make it an alias for count-words-region.
8857         * bindings.el (esc-map): Replace count-lines-region with
8858         count-words-region.
8860 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
8862         * window.el (window--delete): Delete dedicated frame
8863         unconditionally when argument KILL is non-nil.  (Bug#9699)
8864         (switch-to-buffer): Fix doc-string typo.
8866 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8868         * eshell/eshell.el (eshell-command): Avoid using hooks.
8870 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
8872         * bindings.el ([M-left],[M-right]): Bind to left-word and
8873         right-word respectively.
8875 2011-10-07  Glenn Morris  <rgm@gnu.org>
8877         * cus-start.el (debug-on-quit): Fix custom type.
8879 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8881         * subr.el (define-key-after): Clarify that the function is not
8882         useful for non-menu keymaps.
8884         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8886 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8888         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8889         in current minibuffer (Fix bug with recursive minibuffers).
8891 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
8893         * progmodes/gdb-mi.el (gdb): Doc fix.
8895 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
8897         * window.el (frame-auto-hide-function): New option replacing
8898         frame-auto-delete.  Suggested by Stefan Monnier.
8899         (window--delete): Call frame-auto-hide-function instead of
8900         investigating frame-auto-delete.
8901         (window-point-1, set-window-point-1): New functions.
8902         (window-in-direction, record-window-buffer, window-state-get-1)
8903         (display-buffer-record-window): Use window-point-1 instead of
8904         window-point.
8905         (set-window-buffer-start-and-point): Use set-window-point-1.
8907 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8909         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8911 2011-10-05  Glenn Morris  <rgm@gnu.org>
8913         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8914         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
8916 2011-10-05  Leo Liu  <sdl.web@gmail.com>
8918         * subr.el (read-char-choice): Fix argument to buffer-live-p which
8919         works with buffer object.
8921 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8923         * mpc.el (mpc-tool-bar-map): Add labels.
8925 2011-10-04  Glenn Morris  <rgm@gnu.org>
8927         * calendar/holidays.el (calendar-check-holidays): Doc fix.
8929 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
8931         * window.el (window--delete): New function.
8932         (frame-auto-delete): Resuscitate option.
8933         (bury-buffer, replace-buffer-in-windows)
8934         (quit-window): Rewrite using window--delete.
8935         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8936         Pass display-buffer-mark-dedicated to window--display-buffer-2
8937         (Bug#9639).
8939 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8941         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8942         returns a list (bug#9554).  Add remote file name completion.
8943         * comint.el (comint--table-subvert): Curry and get quote&unquote
8944         functions as arguments.
8945         (comint--complete-file-name-data): Adjust call accordingly.
8946         * pcomplete.el (pcomplete--table-subvert): Remove.
8947         (pcomplete-completions-at-point): Use comint--table-subvert instead.
8949         * minibuffer.el (completion-table-case-fold): Use currying.
8950         (completion--styles-type, completion--cycling-threshold-type):
8951         New constants.
8952         (completion-styles, completion-category-overrides)
8953         (completion-cycle-threshold): Use them.
8954         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8955         completion-table-case-fold.
8957 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
8959         * minibuffer.el (completion-category-overrides): Fix type of styles
8960         and add more user friendly tags (bug#9660).
8962 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8964         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8965         (mule-input-method-string): New widget.
8966         (default-input-method, language-info-custom-alist): Use it.
8968 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8970         * pcomplete.el: Require comint.
8971         (pcomplete--common-suffix): Remove.
8972         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8973         (pcomplete--table-subvert): Sync with comint--table-subvert.
8974         (pcomplete--entries): Use comint-completion-file-name-table.
8975         * comint.el (comint-unquote-filename): Simplify.
8976         (comint-completion-file-name-table): New function (bug#9616).
8977         (comint--complete-file-name-data): Use it.
8979         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8980         (pcmpl-gnu-tar-buffer): Remove.
8981         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8982         around.  Make sure pcomplete-suffix-list is only changed temporarily.
8983         Don't look inside the tar's file if it's too large.
8985 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
8987         * cus-edit.el (custom-mode-map):
8988         * epa.el (epa-key-list-mode-map):
8989         * man.el (Man-mode-map):
8990         * startup.el (splash-screen-keymap):
8991         * simple.el (special-mode-map): Use scroll-up-command and
8992         scroll-down-command.
8994         * progmodes/idlw-help.el (idlwave-help-mode-map):
8995         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8996         * net/newst-plainview.el (newsticker-mode-map):
8997         * emulation/ws-mode.el (wordstar-mode-map):
8998         * emulation/vi.el (vi-com-map):
8999         * calc/calc-graph.el (calc-graph-show-dumb):
9000         * term/sun.el (terminal-init-sun):
9001         * term/ns-win.el (global-map):
9002         * progmodes/grep.el (grep-mode-map):
9003         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9004         * mail/rmail.el (rmail-mode-map):
9005         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9007         * custom.el (custom-safe-themes, load-theme): Treat value of t for
9008         custom-safe-themes as special.
9010 2011-10-01  Julien Danjou  <julien@danjou.info>
9012         * notifications.el (notifications-notify): Fix docstring.
9014 2011-10-01  Per Starbäck  <per@starback.se>
9016         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
9018 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
9020         * startup.el (command-line-1): Fix last fix by inserting
9021         initial-scratch-message into *scratch* before displaying it.
9022         (Bug#9605) and (Bug#9636)
9024 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
9026         * simple.el (line-move): If auto-hscroll-mode is disabled and the
9027         window is hscrolled, move by logical lines.  (Bug#9607)
9028         (line-move-visual): Update the doc string to the above effect.
9030 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
9032         * window.el (display-buffer-record-window): When WINDOW is the
9033         selected window use `point' instead of `window-point'.  (Bug#9626)
9035         * startup.el (command-line-1): Use insert-before-markers when
9036         inserting initial-scratch-message.  (Bug#9605)
9038         * help.el (help-window): Remove variable.
9040 2011-09-29  Glenn Morris  <rgm@gnu.org>
9042         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9044 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
9046         * descr-text.el (describe-char-categories): Accept category
9047         descriptions more than one line long.
9049 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9051         * simple.el (delete-trailing-whitespace): Fix last change.
9053         * progmodes/perl-mode.el (perl-syntax-propertize-function):
9054         Don't confuse "y => 3" as the beginning of a `y' operation.
9056         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9057         object has more than 4 slots (bug#9613).
9059 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
9061         * subr.el (with-output-to-temp-buffer):
9062         * net/quickurl.el (quickurl, quickurl-browse-url):
9063         Fix typos in docstrings.
9065 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
9067         * minibuffer.el (completion-styles)
9068         (completion-category-overrides): Cross reference each other in doc
9069         strings.
9071 2011-09-27  Glenn Morris  <rgm@gnu.org>
9073         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9074         to split-string.  (Bug#9606)
9076 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9078         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9079         (bug#9615).
9081 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
9083         * emacs-lisp/package.el (list-packages): Fix echo area message.
9085 2011-09-27  Leo Liu  <sdl.web@gmail.com>
9087         * ido.el (ido-read-internal): Accept cons cell HIST arg.
9089 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
9091         * net/dbus.el (dbus-unregister-object): Don't release services for
9092         registered signals.  (Bug#9581)
9094 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
9096         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9097         function that picks between cfengine 2 and 3 support
9098         automatically.  Update docs accordingly.
9100 2011-09-22  Kenichi Handa  <handa@m17n.org>
9102         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9103         ZERO.
9104         (indian-itrans-v5-table-for-tamil): New variable.
9105         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9107 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
9109         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9110         that's true if the current command involved collapsing of text.
9111         It's reset to false at the beginning of the next command.
9112         (allout-post-command-business): Move the cursor to the beginning
9113         of entry if the cursor is hidden and collapsing activity just
9114         happened.
9116 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
9118         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9119         tracking (Bug#9541).
9121 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
9123         * net/newst-reader.el (newsticker-html-renderer)
9124         (newsticker-show-news): Automatically load html rendering package
9125         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
9126         because w3m-fill-column is let-bound" and the error "Symbol's value
9127         as variable is void: w3m-fill-column".
9129 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
9131         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9132         Release services only if they are defined.  (Bug#9581)
9134 2011-09-23  Richard Stallman  <rms@gnu.org>
9136         * textmodes/paragraphs.el (forward-sentence): For backwards case,
9137         distinguish start of paragraph from start of its text.
9139         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9141         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9142         (rmail-generate-viewer-buffer): Put that hook on view buffer.
9143         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9145 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
9147         * international/mule-diag.el (mule-diag): Insert a newline after
9148         each fontset description.
9150 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9152         * simple.el (delete-trailing-whitespace):
9153         Document last change; simplify.
9155 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
9157         * simple.el (delete-trailing-whitespace): Also delete
9158         extra newlines at the end of the buffer.
9160         * textmodes/picture.el: Make motion commands obey shift-select-mode.
9161         (picture-newline): Use forward-line so as to ignore fields.
9163 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9165         * subr.el (with-wrapper-hook): Fix edebug spec.
9167 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9169         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9170         (bug#4538).
9172 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
9174         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9175         Fix nasty bug using wrong cached values.
9177 2011-09-23  Alan Mackenzie  <acm@muc.de>
9179         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9181 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
9183         * window.el (pop-to-buffer): Ensure right window is selected if we
9184         chose another frame.
9186 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
9188         * simple.el (what-cursor-position): Use get-char-property-change
9189         and next-single-char-property-change, to be able to show display
9190         properties that come from overlays as well as text properties.
9192 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
9194         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9196         * cmuscheme.el (run-scheme, switch-to-scheme):
9197         * cus-edit.el (customize-group, custom-buffer-create)
9198         (customize-browse):
9199         * info.el (info):
9200         * shell.el (shell):
9201         * mail/sendmail.el (mail):
9202         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9204 2011-09-22  Richard Stallman  <rms@gnu.org>
9206         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9207         move back only to line beg, don't move back over blank lines.
9209 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
9211         * files.el (copy-directory): Set directory attributes only in case
9212         they could be retrieved from the source directory.  (Bug#9565)
9214 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
9216         * progmodes/hideshow.el (hs-looking-at-block-start-p)
9217         (hs-find-block-beginning, hs-hide-level-recursive):
9218         Ignore strings as well as comments.  (Bug#9502)
9220 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
9222         * progmodes/sql.el (sql-comint-postgres):
9223         Convert port number to a string.  (Bug#9566)
9225 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
9227         * window.el (quit-window): Undedicate window when switching to
9228         previous buffer.  Reported by Thierry Volpiatto
9229         <thierry.volpiatto@gmail.com>.
9230         (special-display-popup-frame): When popping up a new frame reset
9231         its previous buffers to nil.  Simplify code.
9233 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
9235         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9236         and process filter, as done also in `shell-command'.
9238 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
9240         * window.el (set-window-buffer-start-and-point):
9241         Call set-window-start with NOFORCE argument t.
9242         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9243         (quit-window): Reword doc-string.  Handle new format of
9244         quit-restore parameter.  Don't delete window if it has a
9245         previous buffer we can show instead of the present one.
9246         (display-buffer-record-window): Rewrite using a new format for
9247         the quit-restore window parameter
9248         (special-display-popup-frame, display-buffer-same-window)
9249         (display-buffer-reuse-window, display-buffer-pop-up-frame)
9250         (display-buffer-pop-up-window, display-buffer-use-some-window):
9251         Adapt symbol passed to display-buffer-record-window.
9252         * help.el (help-window-setup): Handle new format of quit-restore
9253         parameter.
9255 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9257         * faces.el (face-list): Fix docstring (bug#9564).
9259         * window.el (display-buffer--action-function-custom-type):
9260         Don't include internal functions in the Custom interface.
9262 2011-09-20  Juri Linkov  <juri@jurta.org>
9264         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9265         (Info-forward-node, Info-backward-node, Info-next-preorder)
9266         (Info-last-preorder): Use it.  (Bug#9528)
9268 2011-09-20  Juri Linkov  <juri@jurta.org>
9270         * info.el (Info-last-preorder): Visit last menu item only when
9271         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9273 2011-09-20  Julien Danjou  <julien@danjou.info>
9275         * password-cache.el (password-cache-remove): Remove entries even if the
9276         value is nil, so that password with a nil value (negative caching) is
9277         possible to invalidate.
9279 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
9281         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9282         all whitespace around breakpoint.  (Bug#9553)
9283         (f90-find-breakpoint): Only break at whitespace inside a comment.
9285 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9287         * minibuffer.el (completion-file-name-table): Keep track of errors.
9288         (completion-table-with-predicate): Handle the case where pred1 is nil.
9289         * pcomplete.el (pcomplete-completions-at-point): Simplify.
9291 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9293         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9294         (debugger-return-value): Signal an error if the debugging context does
9295         not await any return value.
9297         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9298         * image-mode.el (image-toggle-display-text)
9299         (image-toggle-display-image): Stay away from evil `intangible'.
9301 2011-09-19  Leo Liu  <sdl.web@gmail.com>
9303         * replace.el (occur-revert-arguments): Make it permanent-local.
9304         (occur-mode): Don't call font-lock-defontify.
9306 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
9308         * net/ldap.el (ldap-search-internal): Don't push empty search
9309         result (Bug#9508).
9311 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9313         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9315 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
9317         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9318         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9320 2011-09-18  Juri Linkov  <juri@jurta.org>
9322         * buff-menu.el (Buffer-menu-mode-map):
9323         * dired.el (dired-mode-map):
9324         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9325         (lisp-interaction-mode-map):
9326         * emacs-lisp/package.el (package-menu-mode-map):
9327         * epa.el (epa-key-list-mode-map):
9328         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9329         (menu-bar-options-menu):
9330         * outline.el (outline-mode-menu-bar-map):
9331         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9332         * vc/vc-dir.el (vc-dir-menu-map):
9333         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9334         Capitalize non-function content words in menu item strings.
9336         * dired.el (dired-mode-map): Add menu item for
9337         `image-dired-dired-toggle-marked-thumbs'.
9339 2011-09-18  Juri Linkov  <juri@jurta.org>
9341         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9342         to `isearch-case-fold-search' and restore its original value
9343         after the `isearch-mode' call.
9345 2011-09-18  Juri Linkov  <juri@jurta.org>
9347         * progmodes/grep.el (grep-process-setup): Don't check code for 1
9348         because `zgrep' returns 1 for successful matches (bug#9226).
9350 2011-09-18  Juri Linkov  <juri@jurta.org>
9352         * info.el (Info-extract-menu-node-name): Check the second match
9353         for empty string (second test-case of bug#9528).
9354         (Info-last-preorder): Let-bind `Info-history' to nil to not add
9355         intermediate nodes to the history (first test-case of bug#9528).
9357 2011-09-18  Juri Linkov  <juri@jurta.org>
9359         * info.el (Info-mode-syntax-table): New variable.
9360         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9362 2011-09-18  Juri Linkov  <juri@jurta.org>
9364         * info.el (Info-file-supports-index-cookies):
9365         Increment line-beginning-position's arg from 3 to 4 because makeinfo
9366         outputs one more line for long file names (bug#4142).
9368 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
9370         * newcomment.el (comment-normalize-vars): If prompting for
9371         comment-start, set comment-start-skip too (Bug#8424).
9373 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
9375         * icomplete.el: Fix previous fix of Bug#5849.
9376         (icomplete-mode): Don't set completion-show-inline-help.
9377         (icomplete-minibuffer-setup): Set completion-show-inline-help
9378         locally during icompletion.
9380 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
9382         * woman.el (woman2-process-escapes): Don't delete unrecognized
9383         escapes (Bug#7843).
9385         * files.el (inhibit-first-line-modes-regexps): Add image files.
9386         (hack-local-variables-prop-line): Return nil for malformed
9387         prop-lines (Bug#9044).
9389 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
9391         * net/tramp.el (top): Don't require 'shell.
9392         (tramp-methods): Fix docstring.
9393         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9394         Return complete remote file name.  Handle "smb" case.
9395         Use `tramp-tmpdir', if defined for the respective method.
9396         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9398         * net/tramp-compat.el (top): Require 'shell.
9400         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9401         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9402         `tramp-current-host'.
9403         (tramp-get-remote-tmpdir): Remove.
9405         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9406         `tramp-tmpdir' entries.
9407         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9408         (tramp-smb-handle-file-attributes): Ignore errors.
9409         (tramp-smb-wait-for-output): Check also for process end.
9411 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9413         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9414         when sending QUIT (bug#9312).
9416 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
9418         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9419         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9420         occur-mode-display-occurrence.
9421         (occur-edit-mode): Add usage message.
9422         (occur-cease-edit): New command.
9423         (occur-after-change-function): Use text properties to find the
9424         position of the prefix text.
9425         (occur-engine): Set stickiness of prefix text properties.
9427 2011-09-17  Glenn Morris  <rgm@gnu.org>
9429         * progmodes/etags.el (complete-tag):
9430         Fix call to completion-in-region.  (Bug#9526)
9432 2011-09-17  Juri Linkov  <juri@jurta.org>
9434         * textmodes/ispell.el (ispell-word): Add to the error message
9435         the word, ispell program name and current dictionary (bug#9121).
9436         (ispell-tex-arg-end): Capitalize "error" in the error message.
9438 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
9440         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9441         check.  (Bug#4251)
9443 2011-09-17  Juri Linkov  <juri@jurta.org>
9445         * window.el (window-safe-min-height, window-safe-min-width):
9446         Fix typos (followup to bug#9522).
9448 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
9450         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9452 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
9454         * simple.el (line-move): If goal-column is set, move by logical
9455         lines, not by display lines.  (Bug#971)
9456         (next-line, previous-line, goal-column, line-move-visual): Doc fix
9457         to reflect the above change.
9459 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9461         * image.el (imagemagick-register-types): Use regexp-opt.
9463 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
9465         * window.el (display-buffer-base-action): Rename from
9466         display-buffer-default-action.  Make default value empty.
9467         (display-buffer-overriding-action): Convert to defvar.
9468         (display-buffer-fallback-action): New var.
9470 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
9472         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9473         declaration.
9474         (package--add-to-archive-contents): If there is a duplicate entry
9475         with an older version, remove it.
9476         (package-menu-mark-delete, package-menu-mark-install)
9477         (package-menu-mark-unmark): Make unused args optional.
9478         (package-menu-mark-obsolete-for-deletion):
9479         Use package-menu-get-status instead of a regexp search.
9480         (package-menu-get-status): Use tabulated-list-entry.
9481         (package-menu-mark-upgrades): New command.
9482         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
9483         (package-menu-execute): Do installation before deletion.
9484         (package-menu-refresh, package-menu-execute): Use derived-mode-p
9485         instead of checking major-mode.
9486         (package-menu--find-upgrades): New function.
9488 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9490         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9491         passwords in the log buffer.
9492         (smtpmail-process-filter): Update the process marker so that the
9493         "broken by peer" status message is inserted in the right place.
9495 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9497         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9498         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9499         bibtex-completion-at-point-function.
9500         (bibtex-completion-at-point-function): Use them.
9502         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9504         * mpc.el (mpc-constraints-tag-lookup): New function.
9505         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9506         also to browser "album|playlist".
9508 2011-09-14  Juri Linkov  <juri@jurta.org>
9510         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
9511         (isearch-edit-string): Use length of `isearch-string' when
9512         `isearch-fail-pos' returns nil.
9513         (isearch-message): Remove duplicate code and call
9514         `isearch-fail-pos' with arg `t'.
9516 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
9518         * replace.el (occur-mode-goto-occurrence): Don't force using other
9519         window (Bug#9499).
9521         * dired-aux.el (dired-do-chmod): Don't provide initial input.
9523 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
9525         * window.el (display-buffer-window): Remove.
9526         (display-buffer-record-window): Use help-setup window parameter
9527         instead of variable display-buffer-window.
9528         (display-buffer-function, special-display-buffer-names)
9529         (special-display-function): Mention help-setup parameter instead
9530         of display-buffer-window in doc-string.
9531         * help.el (help-window-setup): New argument help-window.
9532         Use help-window-setup parameter instead of display-buffer-window.
9533         Reword some messages.
9534         (with-help-window): Pass window used for displaying the buffer
9535         to help-window-setup.  Don't set display-buffer-window.
9537 2011-09-13  Glenn Morris  <rgm@gnu.org>
9539         * emacs-lisp/debug.el (debugger-make-xrefs):
9540         Preserve point.  (Bug#9462)
9542 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
9544         * window.el (window-deletable-p): Use next-frame.
9546 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
9548         * window.el (window-auto-delete): Remove.
9549         (window-deletable-p): Remove argument FORCE.  Don't deal with
9550         dedication and previous buffers.
9551         (switch-to-prev-buffer): Don't delete window.
9552         (delete-windows-on): Delete a window's frame if and only if the
9553         window is dedicated.
9554         (replace-buffer-in-windows): Delete buffer's window or frame if
9555         and only if window is dedicated.
9556         (quit-window): Handle quit-restore as before last change.
9557         (bury-buffer): Delete window only if window-deletable-p returns t.
9559 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
9561         * window.el (window-deletable-p): Never delete the last frame on a
9562         given terminal.
9564 2011-09-13  Glenn Morris  <rgm@gnu.org>
9566         * help.el (describe-key-briefly): Copy previous standard-output change.
9568 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
9570         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
9572 2011-09-13  Glenn Morris  <rgm@gnu.org>
9574         * emacs-lisp/lisp-mode.el (lisp-indent-function):
9575         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9577 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
9579         * dired-aux.el (dired-mark-read-string): Don't return default
9580         value on empty input (Bug#9361).
9581         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9582         Omit initial minibuffer contents.
9583         (dired-do-chmod): Signal an error on empty input.
9584         (dired-mark-read-string): Don't return default on empty input.
9586         * files.el (file-modes-symbolic-to-number): Doc fix.
9588 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9590         * international/mule-cmds.el (ucs-completions): Remove.
9591         (read-char-by-name): Use complete-with-action instead; add metadata.
9593 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
9595         * window.el (display-buffer--action-function-custom-type)
9596         (display-buffer--action-custom-type): New vars.
9597         (display-buffer-alist, display-buffer-default-action)
9598         (display-buffer-overriding-action): Add defcustom types.
9600         * frame.el (delete-other-frames): Doc fix (Bug#276).
9602 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9604         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9606 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
9608         Change modes that used same-window-* vars to use switch-to-buffer.
9610         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9611         Use switch-to-buffer.
9613         * cus-edit.el (customize-group, custom-buffer-create)
9614         (customize-browse, custom-buffer-create-other-window):
9615         Use switch-to-buffer or switch-to-buffer-other-window.
9617         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9618         (Info-prev, Info-up, Info-speedbar-goto-node)
9619         (info-display-manual): Use switch-to-buffer.
9620         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9622         * mail/sendmail.el (mail): Use switch-to-buffer.
9623         (mail-recover): Use switch-to-buffer-other-window.
9625         * cmuscheme.el (run-scheme, switch-to-scheme):
9626         * ielm.el (ielm):
9627         * shell.el (shell):
9628         * net/rlogin.el (rlogin):
9629         * net/telnet.el (telnet, rsh):
9630         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9632 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
9634         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9636 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9638         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9639         so don't mention it (bug#9301).
9640         (dired-sort-toggle-or-edit): Clarify string further.
9642         * faces.el (face-spec-set-match-display): Make `(type graphic)'
9643         match `x', `w32' and `ns', like the manual says (bug#9029).
9645         * subr.el (eval-after-load): Doc string clarification (bug#9125).
9646         (process-kill-buffer-query-function): Mention the buffer name in
9647         the query.
9649         * image-mode.el (image-next-line): The line parameter is mandatory
9650         (bug#9258).
9652         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9653         which can be useful (bug#9301).
9655         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9657         * subr.el (match-string): Mention that the current buffer should
9658         be the same as the search was done in (bug#9282).
9660         * facemenu.el: Disable the remove-* commands if the mark isn't
9661         active (bug#9162).
9663 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
9665         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9666         of display-buffer.
9667         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9669         * replace.el (occur-mode-goto-occurrence)
9670         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9671         and display-buffer.
9673         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9674         display-buffer.
9676         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9677         special-display and same-window variables.
9678         (mail-other-window): Use switch-to-buffer-other-window.
9679         (mail-other-frame): USe switch-to-buffer-other-frame.
9681         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9682         Use display-buffer-other-frame.
9683         (gdb-display-gdb-buffer): Use pop-to-buffer.
9685         * progmodes/gud.el (gud-goto-info): Use info-other-window.
9687         * progmodes/python.el: Don't set same-window-buffer-names.
9689         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9691         * window.el (display-buffer-alist): Add *Python*.
9693 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
9695         * window.el (display-buffer-alist): Add entry for buffers
9696         previously handled same-window-*.
9697         (display-buffer-alist, display-buffer-default-action)
9698         (display-buffer-overriding-action): Mark as risky.
9699         (display-buffer-alist): Document action function changes.
9700         (display-buffer--same-window-action)
9701         (display-buffer--other-frame-action): New variables.
9702         (switch-to-buffer, display-buffer-other-frame): Use them.
9703         (display-buffer): Rename reuse-frame entry to reusable-frames.
9704         (display-buffer-reuse-selected-window): Function deleted.
9705         (display-buffer-reuse-window): Handle reusable-frames alist entry.
9706         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9707         (display-buffer-special): New function.
9708         (display-buffer--maybe-pop-up-frame-or-window): Rename from
9709         display-buffer-reuse-or-pop-window.  Split off special-display
9710         part into display-buffer-special.
9711         (display-buffer-use-some-window): Don't perform any special
9712         pop-up-frames handling.
9713         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9714         (display-buffer--maybe-same-window): Rename from
9715         display-buffer-maybe-same-window.
9717         * info.el: Don't set same-window-regexps.
9718         (info-setup): New function.
9719         (info-other-window, info): Call it.
9721         * cus-edit.el: Don't set same-window-regexps.
9722         (customize-group): New argument.
9723         (customize-group-other-window): Use it.
9724         (customize-face, customize-face-other-window): Likewise.
9725         (custom-buffer-create-other-window): Use pop-to-buffer directly.
9727         * net/rlogin.el:
9728         * net/telnet.el:
9729         * progmodes/gud.el: Don't set same-window-regexps.
9731         * cmuscheme.el:
9732         * ielm.el:
9733         * shell.el:
9734         * mail/sendmail.el:
9735         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9737 2011-09-10  Juri Linkov  <juri@jurta.org>
9739         * isearch.el (isearch-edit-string): Remove obsolete mention of
9740         `C-w' (`isearch-yank-word-or-char') from docstring.
9741         (isearch-query-replace): Fix typo in docstring (bug#9466).
9743 2011-09-10  Juri Linkov  <juri@jurta.org>
9745         * paren.el (show-paren-function): Don't show escaped parens.
9746         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
9748 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
9750         * mail/sendmail.el (mml-to-mime, mml-attach-file)
9751         (mm-default-file-encoding): Remove autoload forms, they are
9752         replaced with autoload cookies in mml.el and mm-encode.el.
9753         (mail-add-attachment): New command.
9754         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9755         (mail-mode): Mention mail-insert-file and mail-add-attachment in
9756         the doc string.
9757         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9759 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
9761         * simple.el (count-words-region): Use buffer if there's no region
9762         (bug#9429).
9764 2011-09-09  Juri Linkov  <juri@jurta.org>
9766         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9767         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9768         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
9770 2011-09-09  Alan Mackenzie  <acm@muc.de>
9772         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9773         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
9775 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
9777         Fix for Savannah bug#9392.
9778         * simple.el (mail-encode-mml): New defvar.
9780         * mail/rmail.el (mail-encode-mml): Add a defvar.
9781         (rmail-enable-mime-composing): Default to t.
9782         (rmail-forward): Use MIME method of forwarding only if both
9783         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9784         Set mail-encode-mml non-nil if the MIME method was used.
9786         * mail/sendmail.el (mml-to-mime): Add autoload form.
9787         (mail-encode-mml): Add a defvar.
9788         (mail-mode): Make mail-encode-mml buffer-local and initialize it
9789         to nil.
9790         (mail-send): If mail-encode-mml is non-nil, run the outgoing
9791         message through mml-to-mime, and reset mail-encode-mml to nil.
9793 2011-09-09  Glenn Morris  <rgm@gnu.org>
9795         * woman.el (woman-if-body): When processing an .el block,
9796         do not delete the next .el block as well.  (Bug#9447)
9797         (woman-special-characters): Add oq, cq, and hy characters.
9799 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
9801         * window.el (window-deletable-p): Make sure window is live before
9802         invoking window-prev-buffers.
9804 2011-09-08  Leo Liu  <sdl.web@gmail.com>
9806         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
9808 2011-09-08  Juri Linkov  <juri@jurta.org>
9810         * progmodes/compile.el (compilation-environment): Make it
9811         a defcustom (bug#8340).
9813 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
9815         * window.el (frame-auto-delete): Rename to window-auto-delete.
9816         Make it control auto-deletion of windows and/or frames.
9817         (window-deletable-p): New argument FORCE.  Rewrite conditions
9818         for deleting window/frame.  (Bug#9419)
9819         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9820         Rewrite handling of case when window/frame can be deleted.
9821         (delete-windows-on): Call window-deletable-p with new FORCE
9822         argument t.  (Bug#9456)
9824 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
9826         * help-mode.el (help-mode): Restore autoload.
9828 2011-09-07  Juri Linkov  <juri@jurta.org>
9830         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9831         `compilation-environment'.  Set buffer-local
9832         `compilation-environment' to `thisenv' later after (funcall mode).
9833         (Bug#8340)
9835         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
9836         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9837         instead of replacing its value.  (Bug#8340)
9839 2011-09-07  Juri Linkov  <juri@jurta.org>
9841         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9842         based on text properties put by `grep-filter' instead of matching
9843         escape sequences.
9844         (grep-mode): Set buffer-local `compilation-error-screen-columns'
9845         to the value of `grep-error-screen-columns' (bug#9438).
9847 2011-09-07  Juri Linkov  <juri@jurta.org>
9849         * simple.el (next-error-highlight, next-error-highlight-no-select):
9850         Doc fix (bug#9432).
9852 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
9854         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9855         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
9857 2011-09-07  Leo Liu  <sdl.web@gmail.com>
9859         * net/rcirc.el (rcirc-mode): Conditionally initialize
9860         rcirc-input-ring.
9862 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9864         * emacs-lisp/find-func.el (find-function-C-source): Only set
9865         find-function-C-source-directory after checking that we found a source
9866         file there (bug#9440).
9868 2011-09-06  Alan Mackenzie  <acm@muc.de>
9870         * isearch.el (isearch-other-meta-char): Wherever a key list is
9871         unread, "unread" the prefix arg, too.  This fixes bug #8901.
9873 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9875         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9877 2011-09-05  Juri Linkov  <juri@jurta.org>
9879         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9881 2011-09-05  Juri Linkov  <juri@jurta.org>
9883         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9884         keeping point where processing of grep matches begins, and
9885         continue to delete remaining escape sequences from the same point.
9886         (grep-filter): Make leading zero optional in "0?1;31m" because
9887         git-grep emits "\033[1;31m" escape sequences unlike expected
9888         "\033[01;31m" as GNU Grep does (bug#9408).
9889         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9891 2011-09-05  Juri Linkov  <juri@jurta.org>
9893         * subr.el (y-or-n-p): Capitalize "yes".
9895 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
9897         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
9898         `tramp-cache-unload-hook' where appropriate.
9899         (tramp-methods): Rename `tramp-remote-sh' to
9900         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
9901         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9903         * net/tramp-sh.el (top): Don't require 'shell.
9904         (tramp-methods): Add `tramp-remote-shell' and
9905         `tramp-remote-shell-args' entries.
9906         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9907         (tramp-sh-handle-shell-command): Remove.
9908         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9909         Use `tramp-remote-shell'.
9911 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
9913         * mail/sendmail.el (sendmail-query-once-function): Delete.
9914         (sendmail-query-once): Save directly to send-mail-function.
9915         Update message-send-mail-function too.
9917         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9919 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
9921         * progmodes/python.el (python-mode-map): Use correct function to
9922         start python interpreter from menu-bar (as reported by Geert
9923         Kloosterman).
9924         (inferior-python-mode-map): Fix typo.
9925         (python-shell-map): Remove.
9927 2011-09-03  Deniz Dogan  <deniz@dogan.se>
9929         * net/rcirc.el (rcirc-print): Simplify code for
9930         rcirc-scroll-show-maximum-output.  There is no need to walk
9931         through all windows to find the right one.
9933 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
9935         * help.el (help-return-method): Doc fix.
9937 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
9939         * window.el (window-deletable-p): Don't return a non-nil value
9940         when there's a buffer that was shown in the window before.
9941         (Bug#9419)
9942         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9943         Set window's previous buffers to nil.
9945 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
9947         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9948         newline before and after the tag line, so it doesn't interfere
9949         with determining the paragraph direction of bidirectional text.
9951 2011-09-03  Leo Liu  <sdl.web@gmail.com>
9953         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
9955 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
9957         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9958         (pop-to-buffer): Change interactive spec.  Pass second argument
9959         directly to display-buffer.
9960         (display-buffer): Fix interactive spec.  Use functionp to
9961         distinguish between a function and a list of functions.
9963         * abbrev.el (edit-abbrevs):
9964         * arc-mode.el (archive-extract):
9965         * autoinsert.el (auto-insert):
9966         * bookmark.el (bookmark-bmenu-list):
9967         * files.el (find-file):
9968         * view.el (view-buffer):
9969         * progmodes/compile.el (compilation-goto-locus):
9970         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9972 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
9974         * window.el (display-buffer-alist): Doc fix.
9975         (display-buffer): Add docstring.  Don't treat
9976         display-buffer-default specially.
9977         (display-buffer-reuse-selected-window)
9978         (display-buffer-same-window, display-buffer-maybe-same-window)
9979         (display-buffer-reuse-window, display-buffer-pop-up-frame)
9980         (display-buffer-pop-up-window)
9981         (display-buffer-reuse-or-pop-window)
9982         (display-buffer-use-some-window): New functions.
9983         (display-buffer-default-action): Use them.
9984         (display-buffer-default): Delete.
9985         (pop-to-buffer-1): Fix choice of actions.
9987 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9989         * minibuffer.el (completion--insert-strings): Don't get confused by
9990         completion entries that end with an LF char.
9992 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
9994         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9996 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
9998         * window.el (display-buffer): Restore interactive spec.
9999         (display-buffer-same-window, display-buffer-other-window):
10000         New functions.
10001         (pop-to-buffer-1): New function.  Use the above.
10002         (pop-to-buffer, pop-to-buffer-same-window): Use it.
10003         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10005         * view.el (view-buffer-other-window, view-buffer-other-frame):
10006         Just use pop-to-buffer.
10008 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10010         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
10012 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
10014         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
10016 2011-08-31  Richard Stallman  <rms@gnu.org>
10018         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10019         of the separation of rmail-view-buffer from rmail-buffer.
10020         If you say no to "replace original", the decrypt is in the
10021         view buffer.  If you say yes, the decrypt goes into the
10022         rmail buffer also.
10024 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
10026         * window.el (display-buffer-window): Rewrite doc-string.
10027         (display-buffer-record-window): New function.
10028         (display-buffer-macro-specifiers)
10029         (display-buffer-even-window-sizes, display-buffer-set-height)
10030         (display-buffer-set-width, display-buffer-in-window)
10031         (display-buffer-reuse-window, display-buffer-split-specifiers)
10032         (display-buffer-side-specifiers, display-buffer-split-window-1)
10033         (display-buffer-split-window, display-buffer-split-atom-window)
10034         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10035         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10036         (display-buffer-other-window-means-other-frame)
10037         (display-buffer-normalize-special)
10038         (display-buffer-normalize-default)
10039         (display-buffer-normalize-argument)
10040         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10041         (display-buffer-normalize-specifiers, display-buffer-frame)
10042         (display-buffer-same-window, display-buffer-same-frame)
10043         (display-buffer-other-window)
10044         (display-buffer-same-frame-other-window)
10045         (display-buffer-other-frame, pop-to-buffer-same-window)
10046         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10047         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10048         (switch-to-buffer-same-frame)
10049         (switch-to-buffer-other-window-same-frame)
10050         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10051         (display-buffer-alist-set-1, display-buffer-alist-set-2)
10052         (display-buffer-alist-set): Remove.
10053         (display-buffer-function, special-display-buffer-names)
10054         (special-display-regexps, special-display-function):
10055         In doc-string refer to display-buffer-window and quit-restore
10056         parameter.
10057         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10058         (special-display-frame-alist, special-display-popup-frame)
10059         (same-window-buffer-names, same-window-regexps, same-window-p)
10060         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10061         (split-window-preferred-function, split-height-threshold)
10062         (split-width-threshold, window-splittable-p)
10063         (split-window-sensibly, window--try-to-split-window)
10064         (window--frame-usable-p, even-window-heights)
10065         (window--even-window-heights, window--display-buffer-1)
10066         (window--display-buffer-2, display-buffer-other-frame):
10067         Restore old Emacs 23 code, order and doc-strings where applicable.
10068         (display-buffer-default, display-buffer-assq-regexp): New functions.
10069         (display-buffer-alist): Rewrite doc-string.
10070         (display-buffer-default-action)
10071         (display-buffer-overriding-action): New variables.
10072         (display-buffer, switch-to-buffer): Rewrite.
10073         (pop-to-buffer): Restore Emacs 23 behavior but use
10074         window-normalize-buffer-to-display.
10075         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10076         Restore Emacs 23 behavior but use
10077         window-normalize-buffer-to-switch-to.
10078         (pop-to-buffer-same-window): Rewrite.
10079         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10080         Rewrite using Emacs 23 options.
10082 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
10084         * net/tramp.el (tramp-root-regexp): Remove.
10085         (tramp-completion-file-name-regexp-unified)
10086         (tramp-completion-file-name-regexp-separate)
10087         (tramp-completion-file-name-regexp-url): Don't use leading volume
10088         letter on win32 systems.  (Bug#5303, Bug#9311)
10089         (tramp-drop-volume-letter): Simplify definition.
10090         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10092 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10094         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10095         (bug#9356).
10097 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
10099         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10101 2011-08-29  Juri Linkov  <juri@jurta.org>
10103         * isearch.el (isearch-done): Don't display message "Mark saved"
10104         when arg `edit' is non-nil to prevent its flicker in the echo area.
10106 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
10108         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10109         obsolete packages for deletion.
10111 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
10113         * help-mode.el (help-mode-map): Add special-mode-map to parent.
10114         (help-mode): Derive help-mode from special-mode.  Don't invoke
10115         view-mode from help-mode.
10116         (help-xref-override-view-map): Remove.
10117         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10118         view-mode is not used anymore.
10120 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
10122         * server.el (server-port): Doc fix.
10124         * cus-theme.el (custom-theme-choose-mode): Inherit from
10125         special-mode (Bug#9124).
10126         (custom-theme-choose-mode-map): Add special-mode to parent.
10128 2011-08-28  Alan Mackenzie  <acm@muc.de>
10130         * progmodes/cc-fonts.el
10131         (c-make-font-lock-BO-decl-search-function): New function.
10132         (c-basic-matchers-after - "Fontify the clauses after various
10133         keywords"): Extract the three keyword lists for the 3 erroneous
10134         constructs from the list of four, and use the new function above
10135         in place of an old one.
10137 2011-08-28  Deniz Dogan  <deniz@dogan.se>
10139         * net/rcirc.el (rcirc-insert-prev-input)
10140         (rcirc-insert-next-input): Remove unused argument.
10142 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10144         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10146 2011-08-27  Alan Mackenzie  <acm@muc.de>
10148         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10149         handle function pointer parameters properly.
10151 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
10153         * window.el (display-buffer-reuse-window): Fix case where
10154         selected window was reused with non-nil OTHER-WINDOW argument.
10155         (Bug#9381)
10157 2011-08-27  Deniz Dogan  <deniz@dogan.se>
10159         * net/rcirc.el (rcirc-check-auth-status): Adding support for
10160         oftc's NickServ messages.
10162 2011-08-27  Glenn Morris  <rgm@gnu.org>
10164         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
10166 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
10168         * emacs-lisp/package.el (package-install): Call package-initialize
10169         if called interactively.
10171 2011-08-26  Leo Liu  <sdl.web@gmail.com>
10173         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
10175 2011-08-25  Juri Linkov  <juri@jurta.org>
10177         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10178         `search-whitespace-regexp' (bug#9364).
10180 2011-08-25  Juri Linkov  <juri@jurta.org>
10182         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10183         `regexp-search-ring' to their global values to protect from
10184         updating by `read-from-minibuffer' (bug#9185).
10186 2011-08-25  Juri Linkov  <juri@jurta.org>
10188         * textmodes/ispell.el (ispell-command-loop): Add newline
10189         at the end of the "Use option `i'..." line.
10191 2011-08-25  Juri Linkov  <juri@jurta.org>
10193         * battery.el (display-battery-mode): If `battery-status-function'
10194         or `battery-mode-line-format' is nil, display the message and set
10195         `display-battery-mode' to nil (bug#9363).
10197 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
10199         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10200         bidi-string-mark-left-to-right; they are unnecessary now.
10202 2011-08-25  Deniz Dogan  <deniz@dogan.se>
10204         * net/quickurl.el: Documentation typo fixes.
10206 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
10208         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10210 2011-08-25  Glenn Morris  <rgm@gnu.org>
10212         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10214         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10215         (smtpmail-via-smtp): Handle nil response from smtp.
10217 2011-08-24  Juri Linkov  <juri@jurta.org>
10219         * proced.el (proced-marked): Inherit from `error' instead of
10220         `font-lock-warning-face'.
10222         * ibuffer.el (ibuffer-marked-face): Change default face from
10223         `font-lock-warning-face' to `warning'.
10224         (ibuffer-deletion-face): Change default face from
10225         `font-lock-type-face' to `error'.
10227         * battery.el (battery-update): Use the face `error' instead of
10228         `font-lock-warning-face' (bug#6117).
10230 2011-08-24  Juri Linkov  <juri@jurta.org>
10232         * faces.el (success): Change face color from "Green3" to
10233         "ForestGreen" on light background (bug#9353).
10235 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
10237         * window.el (quit-window): Rename from quit-restore-window.
10238         Use same arglist as old quit-window.
10239         (frame-auto-delete): Doc fix.
10241         * view.el (view-mode-exit): Use quit-window.
10243 2011-08-24  Juri Linkov  <juri@jurta.org>
10245         * isearch.el (isearch-ring-adjust1): Start visiting previous
10246         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10247         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10248         for empty search string (when the last search string is reused
10249         automatically) to adjust the isearch ring to the last element and
10250         prepare the correct index for further M-p commands (bug#9185).
10252 2011-08-24  Kenichi Handa  <handa@m17n.org>
10254         * international/ucs-normalize.el: If decomposition property of
10255         CHAR is the default one (i.e. a list of CHAR itself), treat it as
10256         nil.
10257         (nfd, nfkd): Likewise.
10259 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10261         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10262         from process filters aren't reliably transmitted to the surrounding
10263         accept-process-output.
10264         (mpc-proc-check): New function.
10265         (mpc-proc-sync): Use it (bug#8293)
10267 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10269         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10270         Add compatibility functions (bug#9313).
10272 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
10274         * cus-start.el (all): Add entry for bidi-paragraph-direction.
10276         * international/uni-bidi.el: Regenerate.
10278 2011-08-23  Kenichi Handa  <handa@m17n.org>
10280         * international/charprop.el:
10281         * international/uni-bidi.el:
10282         * international/uni-category.el:
10283         * international/uni-combining.el:
10284         * international/uni-comment.el:
10285         * international/uni-decimal.el:
10286         * international/uni-decomposition.el:
10287         * international/uni-digit.el:
10288         * international/uni-lowercase.el:
10289         * international/uni-mirrored.el:
10290         * international/uni-name.el:
10291         * international/uni-numeric.el:
10292         * international/uni-old-name.el:
10293         * international/uni-titlecase.el:
10294         * international/uni-uppercase.el: Regenerate.
10296 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
10298         * help.el (help-window-setup): Fix message displayed when other
10299         window is reused.  (Bug#9341)
10301 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10303         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10304         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10306         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10307         Mark obsolete.
10308         * shell.el (shell-parse-pcomplete-arguments): New function.
10309         (shell-completion-vars): Use it instead (bug#9160).
10311 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10313         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10314         strings and comments (bug#9333).
10316         * emacs-lisp/debug.el (debug-arglist): New function.
10317         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
10318         (debug-on-entry-1): Handle interpreted closures (bug#9120).
10320 2011-08-22  Juri Linkov  <juri@jurta.org>
10322         * progmodes/compile.el (compilation-mode-font-lock-keywords):
10323         Revert regexp that highlights output switches to its old
10324         pre-2010-10-28 value and remove one `?' from it (bug#9319).
10326         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10327         to check for empty output (bug#9226).
10329 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
10331         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10332         symbol-constituent as the default, as that stops font-lock from
10333         working properly (Bug#8843).
10335 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10337         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10338         `coding-system-for-*' around the process open call to avoid
10339         auth-source side effects.
10340         (smtpmail-try-auth-methods): Expand the secret password.
10341         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10342         probe hangs.
10344 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
10346         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10348         * emacs-lisp/find-func.el (find-function-noselect): New arg
10349         lisp-only.
10351         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10352         signal an error for built-in functions (Bug#6664).
10354 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10356         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10357         (smtpmail-try-auth-methods): Use it.
10359 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
10361         * font-lock.el (font-lock-fontify-region)
10362         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10363         (font-lock-default-unfontify-buffer)
10364         (font-lock-default-fontify-region)
10365         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10367         * progmodes/compile.el (compilation-error-properties):
10368         Fix confusion between file struct and message struct (Bug#9319).
10369         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10370         `ant' regexp.
10372         * net/browse-url.el (browse-url-firefox): Don't call
10373         browse-url-firefox-sentinel unless using -remote (Bug#9328).
10375 2011-08-20  Glenn Morris  <rgm@gnu.org>
10377         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10379         * tutorial.el (tutorial--default-keys): Update some default bindings.
10381         * files.el (hack-local-variables): Fully ignore case for "mode:".
10383 2011-08-20  Alan Mackenzie  <acm@muc.de>
10385         Resolve invalid use of a regexp in regexp-opt.
10387         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10388         detection for a java annotation.
10390         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10391         detection for a java annotation.
10393         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10394         handling for java.
10395         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10397 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
10399         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10400         (Bug#9274).
10402 2011-08-20  Alan Mackenzie  <acm@muc.de>
10404         Fontify CPP expressions correctly when starting in the middle of
10405         such a construct.  Mainly for when jit-lock etc. starts a chunk
10406         here.
10408         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
10409         variable.
10410         (c-make-font-lock-search-form): New function, extracted from
10411         c-make-font-lock-search-function.
10412         (c-make-font-lock-search-function): Use the above function.
10413         (c-make-font-lock-context-search-function): New function.
10414         (c-cpp-matchers): Enhance the preprocessor expression case with
10415         the above function
10416         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10417         which takes an expression.
10419         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10421 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
10423         * window.el (display-buffer-reuse-window)
10424         (display-buffer-pop-up-window): Don't reuse or split a side
10425         window.
10427 2011-08-19  Glenn Morris  <rgm@gnu.org>
10429         * files.el (hack-local-variables-prop-line, hack-local-variables):
10430         Downcase "Mode:".  (Bug#9331)
10432 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
10434         * international/characters.el: Add L and R categories.
10436         * subr.el (bidi-string-mark-left-to-right): Rename from
10437         string-mark-left-to-right.  Use category search.
10439         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10441 2011-08-18  Juri Linkov  <juri@jurta.org>
10443         * faces.el (error, warning, success): New faces with definitions
10444         copied from old default values of `font-lock-warning-face',
10445         `compilation-warning', `compilation-info' (bug#6117).
10447         * font-lock.el (font-lock-warning-face): Inherit from `error'.
10449         * progmodes/compile.el (compilation-error): Inherit from `error'.
10450         (compilation-warning): Inherit from `warning'.
10451         (compilation-info): Inherit from `success'.
10453         * dired.el (dired-marked): Inherit from `warning'.
10454         (dired-flagged): Inherit from `error'.
10456 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10458         * mail/smtpmail.el (auth-source): Require to avoid problems with
10459         binding variables (bug#9298).  Also clean up some unused
10460         autoloads.
10462         * net/network-stream.el (network-stream-open-starttls):
10463         Support using starttls.el without using gnutls-cli.
10465 2011-08-17  Juri Linkov  <juri@jurta.org>
10467         * progmodes/grep.el (rgrep): Handle the case when
10468         `grep-find-command' is a cons cell (bug#9278).
10470 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
10472         * window.el (display-buffer-pop-up-frame): Run frame creation
10473         function with BUFFER current (as special-display-popup-frame
10474         does).  Reported by Drew Adams.
10476 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
10478         * epa-mail.el: Simplify GnuPG group expansion using
10479         epg-expand-group.
10480         (epa-mail-group-alist, epa-mail-group-modtime)
10481         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10482         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10483         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10484         Remove.
10486 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
10488         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10490 2011-08-16  Alan Mackenzie  <acm@muc.de>
10492         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10493         Correct, to avoid the inside of macros.
10495 2011-08-16  Richard Stallman  <rms@gnu.org>
10497         * epa-mail.el: Handle GnuPG group definitions.
10498         (epa-mail-group-alist, epa-mail-group-modtime)
10499         (epa-mail-gnupg-conf-file): New variables.
10500         (epa-mail-parse-groups, epa-mail-sync-groups)
10501         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10502         (epa-mail-expand-recipients): New functions.
10503         (epa-mail-encrypt): Call epa-mail-expand-recipients.
10505         * mail/rmail.el (rmail-epa-decrypt): New command.
10507         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10508         Don't bind buffer-read-only, just inhibit-read-only.
10509         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10510         (epa-decrypt-armor-in-region): Make error message clearer.
10512 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10514         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10515         and "a2b" to "ab" for `prefix'.
10517 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
10519         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10520         filter groups.
10521         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
10522         Fourquet (Bug#8804).
10524 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
10526         * startup.el (argi): Declare as global variable (bug#9275).
10528 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
10530         * subr.el (string-mark-left-to-right): Search the entire string
10531         for RTL script, not just the terminating character.  Doc fix.
10533 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10535         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10536         New function.
10537         (js--regexp-literal, js-syntax-propertize-function): Remove.
10538         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10539         (js-mode-map): Don't rebind electric keys.
10540         (js-insert-and-indent): Remove.
10541         (js-mode): Setup electric-layout and electric-indent instead.
10543         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10545 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
10547         * epa.el (epa-progress-callback-function): Fix the logic of
10548         displaying progress.
10549         * epa-file.el (epa-file-insert-file-contents): Make progress
10550         display more user-friendly.
10551         (epa-file-write-region): Ditto.
10553 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
10555         * subr.el (string-mark-left-to-right): New function.
10557         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10558         Use string-mark-left-to-right.
10559         (list-buffers-noselect): Caller changed.
10561         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10562         Use string-mark-left-to-right.
10563         (tabulated-list-print): Recenter after moving point.
10565 2011-08-10  Juri Linkov  <juri@jurta.org>
10567         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10568         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10569         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10571 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
10573         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10574         (Bug#7554).
10576 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10578         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10579         character.  (Bug#6594)
10581 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
10583         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10584         (image-dired--with-db-file): New macro.
10585         (image-dired-write-tags, image-dired-remove-tag)
10586         (image-dired-create-gallery-lists, image-dired-write-comments)
10587         (image-dired-get-comment, image-dired-mark-tagged-files)
10588         (image-dired-list-tags, image-dired-gallery-generate): Use it.
10589         (image-dired-gallery-generate): Use insert-file-contents.
10591         * time.el (display-time-world-list, display-time-world-display):
10592         * time-stamp.el (time-stamp-string):
10593         * vc/add-log.el (add-change-log-entry): Use setenv instead of
10594         set-time-zone-rule (Bug#7337).
10596 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
10598         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10599         (epg-error-to-string, epg-errors-to-string): New function.
10600         (epg-wait-for-completion): Reverse errors list.
10601         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10602         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10603         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10604         (epg-sign-keys, epg-generate-key-from-file)
10605         (epg-generate-key-from-string): Format errors by using
10606         epg-errors-to-string (bug#9255).
10607         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10609 2011-08-07  Juri Linkov  <juri@jurta.org>
10611         * faces.el (list-faces-display): Remove extra angle bracket
10612         from `help-mode-map'.
10614         * info.el (Info-history-toc-nodes): Doc fix.
10616         * longlines.el (longlines-mode): Doc fix.
10618 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10620         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10621         of statements and in a few more cases (bug#9183).
10623         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10624         New functions.
10625         (cl-transform-lambda): Use them (bug#9239).
10627 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
10629         * window.el (display-buffer-same-window)
10630         (display-buffer-same-frame, display-buffer-other-window)
10631         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10632         (pop-to-buffer-other-window)
10633         (pop-to-buffer-same-frame-other-window)
10634         (pop-to-buffer-other-frame): Make them defuns.
10635         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10637 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10639         * subr.el (make-composed-keymap): Move from C.  Change calling
10640         convention, and improve docstring to bring attention to a subtle point.
10641         * minibuffer.el (completing-read-default): Adjust accordingly.
10643 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
10645         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10646         (tramp-open-shell): Use `tramp-shell-quote-argument'.
10648         * net/trampver.el: Update release number.
10650 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10652         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10653         "in" (bug#9190).
10655 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10657         * mail/sendmail.el (sendmail-query-once): Restore the current
10658         buffer after querying (bug#9074).
10660         * dired.el (dired-flagged): Use different faces for marked and
10661         flagged files (bug#6117).
10663         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10664         (bug#4433).
10666         * ido.el (ido-mode): Switch off the message if called
10667         non-interactively.
10669         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10670         before 587, since it appears that that's more likely to work for
10671         more people.
10673         * cus-edit.el (custom-file): When running under emacs -q, always
10674         refuse to save the customizations, even if the .emacs file doesn't
10675         exist.
10677         * info.el: Remove the `Info-beginning-of-buffer' function
10678         (bug#8325).
10680         * net/network-stream.el (network-stream-open-starttls):
10681         Use `starttls-available-p' to see whether starttls.el can be used.
10683 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
10685         * window.el (display-buffer-in-window): Don't set dedicated status
10686         of window here (Bug#9215).
10687         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10688         (display-buffer-pop-up-side-window)
10689         (display-buffer-in-side-window): Set dedicated status of window here.
10691 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10693         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10694         before binding generated-autoload-file.
10696 2011-08-01  Deniz Dogan  <deniz@dogan.se>
10698         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10700 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
10702         Sync with Tramp 2.2.2.
10704         * net/trampver.el: Update release number.
10706 2011-07-30  Juri Linkov  <juri@jurta.org>
10708         * dired-aux.el (dired-touch-initial): Remove function.
10709         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10710         current time, and `default' to the last modification time of the
10711         current marked file (bug#6887).
10713 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
10715         * simple.el (goto-line): Use string-to-number to provide a
10716         numeric argument to read-number (bug#9163).
10718 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
10720         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10721         connection process, it could be nil.
10723 2011-07-27  Leo Liu  <sdl.web@gmail.com>
10725         Simplify url handling in rcirc-mode.
10727         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10728         (rcirc-browse-url-at-mouse): Remove.
10729         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10731 2011-07-26  Alan Mackenzie  <acm@muc.de>
10733         Fontify bitfield declarations properly.
10735         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10736         (c-symbol-chars): Now exported as a lang variable.
10737         (c-not-primitive-type-keywords): New lang variable.
10739         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10740         QT keyword "more" to prevent "more slots: ...." being spuriously
10741         parsed as a bitfield declaration.
10743         * progmodes/cc-engine.el (c-beginning-of-statement-1):
10744         Refactor and enhance to handle bitfield declarations.
10745         (c-punctuation-in): New function.
10746         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10747         declarations properly.
10749 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
10751         * calendar/icalendar.el (icalendar--all-events): Take care of
10752         multiple vcalendars in a single file.
10753         (icalendar--convert-float-to-ical): Checkdoc fixes.
10755 2011-07-25  Deniz Dogan  <deniz@dogan.se>
10757         * image.el (insert-image): Clarifying docstring.
10759 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
10761         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10762         `tramp-send-command-and-check' if there is no error.
10763         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10765 2011-07-22  Alan Mackenzie  <acm@muc.de>
10767         Prevent cc-langs.elc being loaded at run time.
10769         * progmodes/cc-mode.el: Remove two autoload forms which loaded
10770         cc-langs.
10772         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10773         "(require 'cc-langs)".  Quote a form so it will evaluate at
10774         (cc-mode's) compilation time.
10776 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
10778         * net/tramp.el (tramp-file-name-handler): Avoid recursive
10779         loading.  (Bug#9114)
10781 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
10783         * window.el (display-buffer-pop-up-window)
10784         (display-buffer-pop-up-side-window)
10785         (display-buffer-in-side-window): Call display-buffer-set-height
10786         and display-buffer-set-width after setting the new window's
10787         buffer so `fit-window-to-buffer' and friends work on the right buffer.
10789 2011-07-20  Sam Steingold  <sds@gnu.org>
10791         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10792         (etags-tags-included-tables): Call `convert-standard-filename' on
10793         the file names contained in TAGS so that windows Emacs can handle
10794         TAGS files created by cygwin ctags.
10796 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10798         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10799         which apparently didn't work.
10801 2011-07-19  Roland Winkler  <winkler@gnu.org>
10803         * proced.el (proced-send-signal): For *Marked Processes* buffer
10804         put point at beginning of buffer.
10806 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
10808         * proced.el (proced-format): Make header lines align with the text
10809         (bug#1779).
10811 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10813         * view.el (view-buffer): Allow running in `special' modes if we're
10814         visiting a file (bug#8615).
10816 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
10818         * window.el (display-buffer-alist-of-strings-p)
10819         (display-buffer-alist-set-1, display-buffer-alist-set-2):
10820         New functions.
10821         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10822         more accurately.
10824 2011-07-18  Alan Mackenzie  <acm@muc.de>
10826         Fontify declarators properly when, e.g., a jit-lock chunk begins
10827         inside a declaration.
10829         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10831         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10832         New function.
10833         (c-complex-decl-matchers): Insert reference to
10834         c-font-lock-enclosing-decls.
10836         * progmodes/cc-engine.el (c-backward-single-comment):
10837         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10838         to nil around calls to (forward-comment -1).
10840 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10842         * image.el (put-image): Doc typo fix.
10844         * progmodes/etags.el (tags-search): Doc typo fix.
10846         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10847         password if we get errors 550 to 554.
10849 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10851         * net/gnutls.el (gnutls-log-level): Remove.
10853         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10854         indentation character (bug#6380).
10856         * files.el (buffer-offer-save): Made permanently local (bug#6241).
10858         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10859         to clarify what the problem is (bug#4291).
10861         * simple.el (current-kill): Clarify what
10862         `interprogram-paste-function' does (bug#7500).
10863         (auto-fill-mode): Document `auto-fill-function' in relation to
10864         `auto-fill-mode' (bug#2470).
10866 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
10868         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10869         method if slot is read-only (bug#9035).
10871 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
10873         * frame.el (select-frame-set-input-focus): New argument NORECORD.
10874         * window.el (pop-to-buffer): Select window used even if it was
10875         selected before, see discussion of (Bug#8615), (Bug#6954).
10876         Pass argument NORECORD on to select-frame-set-input-focus.
10878 2011-07-15  Glenn Morris  <rgm@gnu.org>
10880         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
10881         Respect help-form.
10883 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
10885         * net/gnutls.el (gnutls-min-prime-bits): New variable.
10886         (gnutls-negotiate): Use it.
10888 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10890         * net/gnutls.el (gnutls-negotiate):
10891         Upcase `gnutls-algorithm-priority'.
10893 2011-07-15  Glenn Morris  <rgm@gnu.org>
10895         * jka-compr.el (jka-compr-verbose): Move from here...
10896         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
10897         Add missing :version tag.
10898         * info.el: No need to require jka-compr when compiling.
10900 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10902         * net/gnutls.el (gnutls-algorithm-priority): New variable.
10903         (gnutls-negotiate): Use it.
10905         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10907         * info.el (Info-beginning-of-buffer): New command.
10908         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10909         announcing `b' as the key (bug#8325).
10910         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10912         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10914         * international/mule-cmds.el
10915         (describe-specified-language-support): Make the error message
10916         clearer (bug#8905).
10918         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10920         * isearch.el (isearch-barrier): Add a doc string, since it's
10921         mentioned in a function doc string (bug#8678).
10923 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
10925         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10926         buffer argument (Bug#9083) and self-identifying label argument.
10928 2011-07-15  Glenn Morris  <rgm@gnu.org>
10930         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
10932 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10934         * man.el (Man-fontify-manpage): Fix message when formatting the
10935         man page (bug#7929).
10937 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
10939         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10940         argument LRM; if non-nil, append an invisible LRM character to the
10941         buffer name.
10942         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10943         last argument non-nil, when formatting buffer names.
10944         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10945         paragraph direction.
10947 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10949         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10950         the man page name (bug#7929).
10952         * image.el (put-image): Mention the `put-image' overlay property
10953         (bug#7834).
10955         * scroll-bar.el (set-scroll-bar-mode): Mention that
10956         `scroll-bar-mode' lists the values (bug#7772).
10958         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10959         command (bug#7729).
10961         * rect.el (apply-on-rectangle): Return the point after the last
10962         operation.
10963         (string-rectangle): Go to the point after the last operation
10964         (bug#7522).
10966         * printing.el (pr-toggle-region): Clarify the documentation
10967         slightly (bug#7493).
10969         * time.el (display-time-update):
10970         Allow `display-time-mail-function' to return nil (bug#7158).
10971         Fix suggested by Detlev Zundel.
10973         * vc/diff.el (diff): Clarify the order the file names are read
10974         (bug#7111).
10976         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10977         the doc string (bug#7015).
10979         * font-lock.el (font-lock-maximum-decoration): Mention what
10980         numeric levels mean (bug#6935).
10982         * startup.el (initial-buffer-choice): Don't mention the `none'
10983         selection, which is against policy.
10985 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
10987         * window.el (display-buffer-normalize-special):
10988         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10990 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
10992         * subr.el (version<, version<=, version=): Mention "-CVS" and
10993         "-12345" alpha version numbers.
10995 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
10997         * bindings.el: Add advertised binding for set-mark-command
10998         (Bug#5772).
11000 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
11002         * bindings.el (mode-line-other-buffer):
11003         * bookmark.el (bookmark-bmenu-2-window):
11004         * bs.el (bs-cycle-next, bs-cycle-previous):
11005         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11006         switch-to-buffer.
11008         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11009         Delete.
11011 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
11013         * follow.el (follow-debug-message, follow-redisplay):
11014         * jka-cmpr-hook.el (with-auto-compression-mode):
11015         Fix typos in docstrings.
11017 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11019         * subr.el (with-silent-modifications): Clarify somewhat what the
11020         macro inhibits (bug#6525).
11022         * simple.el (eval-expression): Note what it does if called
11023         interactively (bug#6495).
11025 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
11027         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11028         Use pop-to-buffer buffer-or-name if it is nil.
11030         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11031         Remove switch-to-buffer.
11033 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11035         * files.el (make-directory): Clarify that an error will be raised
11036         if there's an error (bug#6397).
11038         * startup.el (initial-buffer-choice): Add `none' as a choice
11039         (bug#6234).
11041         * subr.el (add-hook): Clarify section about buffer-local hooks
11042         (bug#6218).
11044         * dired.el (dired-flagged): Clarify doc string (bug#6117).
11046 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
11048         * tabify.el (untabify): Preserve the current column so that point
11049         doesn't move (bug#6032).
11051 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11053         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11054         Rewrite to avoid awkward possessive "s" (bug#5986).
11056 2011-07-13  Glenn Morris  <rgm@gnu.org>
11058         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
11059         (dired-insert-directory): Give a message the first time
11060         if ls is found not to support --dired.
11062 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11064         * simple.el (toggle-truncate-lines): Clarify what is toggled
11065         (bug#5580).  Text by Drew Adams.
11067 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
11069         * simple.el (blink-matching-open): Make the error message from the
11070         last change less verbose.
11072 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
11074         * font-lock.el (font-lock-comment-face): Use the high contrast
11075         "yellow" color for font-lock-comment-face on low color terminals
11076         using a dark background color (bug#4221).
11078 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11080         * dired.el (dired-insert-set-properties): Make the doc string
11081         reflect what it does now (bug#5325).
11083         * simple.el (blink-matching-open): Say that we were unable to find
11084         the match within the limit, if we're limited (bug#5122).
11086         * international/mule-cmds.el (prefer-coding-system): Add an
11087         example (bug#4869).
11089         * progmodes/etags.el (tags-search): Document `file-list-form'
11090         (bug#4731).
11092 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
11094         * net/browse-url.el (browse-url-default-browser)
11095         (browse-url-browser-function): Make the default browser choice a
11096         bit more logical (bug#4300).  Also clean up the doc string.
11098 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
11100         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11101         binary endings (bug#4440).
11103 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11105         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11106         which can be pretty annoying (bug#8971).
11108         * jka-compr.el (jka-compr-verbose): New variable, and use
11109         throughout (bug#8971).
11111         * info.el (Info-find-file): Fall back on the installation
11112         directory if we can't find the info node anywhere else.
11114 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
11116         * vc/vc.el (vc-revert-file):
11117         Don't set file time-stamp in the past.  (Bug#5181)
11119 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11121         * files.el (after-find-file): Give a better error message when
11122         trying to find a symlink that points to a file that doesn't exist
11123         (bug#4398).
11125         * progmodes/cc-vars.el: Remove (probably) misleading comment
11126         (bug#4396).
11128 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
11130         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11132 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
11134         * mouse-sel.el: Hack restoring functionality, while keeping
11135         compatibility with 2010-07-03 changes to mouse selection.
11136         (mouse-sel-primary-overlay): New var.
11137         (mouse-sel-selection-alist): Use it.
11138         (mouse-sel-mode): Doc fix; remove points that are default features
11139         of mouse.el.
11141 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
11143         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11144         Fix previous fix (bug#2490).
11146 2011-07-12  Roland Winkler  <winkler@gnu.org>
11148         * textmodes/bibtex.el (bibtex-initialize):
11149         Use pop-to-buffer-same-window.
11150         (bibtex-search-entries): Fix interactive call.
11152 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11154         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11155         Fontise bytecomp Error lines more correctly (bug#2490).
11156         Fix suggested by Johan Bockgård.
11158         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11160         * dired-x.el (dired-guess-default): Use `delete-dups'.
11162 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
11164         * dired.el (dired-mark-prompt):
11165         * dired-aux.el (dired-read-shell-command): Doc fix.
11167 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11169         * mail/sendmail.el (sendmail-query-once):
11170         Use `customize-save-variable' unconditionally, now that it works under
11171         emacs -Q.
11173         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11175         * cus-edit.el (custom-file): Take an optional no-error variable.
11176         (customize-save-variable): Set the variable, and give a warning if
11177         running under "emacs -q".
11179 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
11181         * loadhist.el (unload-feature-special-hooks):
11182         Add `auto-coding-functions', `fill-nobreak-predicate' and
11183         `find-directory-functions' (bug#5327).
11185 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11187         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11189         * cus-edit.el (custom-guess-name-alist): -alist variables should
11190         use the `alist' type (bug#3120).  Suggested by Drew Adams.
11192         * printing.el: Add documentation to all the `pr-toggle-' commands.
11194 2011-07-11  Leo Liu  <sdl.web@gmail.com>
11196         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11197         backends where it makes sense (bug#2623).
11199 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11201         * dired-x.el (dired-guess-default): Remove duplicate shell command
11202         entries (bug#2028).
11203         (dired-guess-default): Fix grammar in doc string (bug#2028).
11204         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11206         * subr.el (remove-duplicates): New conveniency function.
11208 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11210         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11211         (bug#1526).
11213 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
11215         * window.el (display-buffer-normalize-default): Don't invert
11216         meaning of even-window-heights.  Reported by Eli Zaretskii
11217         <eliz@gnu.org>.
11219 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
11221         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11223 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
11225         * window.el (display-buffer): Fix arguments to
11226         display-buffer-reuse-window in last change.
11228         * faces.el (link): Use a less saturated blue on light backgrounds.
11230         * startup.el (fancy-startup-text, fancy-about-text)
11231         (fancy-startup-tail): Use font-lock faces, for background safety.
11233 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
11235         * emulation/viper-cmd.el (viper-change-state-to-vi):
11236         Limit triggering of abbrev expansion (Bug#9038).
11238 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
11240         * window.el (display-buffer-default-specifiers): Remove.
11241         (display-buffer-macro-specifiers): Remove default specifiers.
11242         (display-buffer-alist): Default to nil.
11243         (display-buffer-reuse-window): New optional argument other-window.
11244         (display-buffer-pop-up-window): Allow splitting internal
11245         windows.  Check whether a live window was created.
11246         (display-buffer-other-window-means-other-frame)
11247         (display-buffer-normalize-arguments): Rename to
11248         display-buffer-normalize-argument and rewrite.  Set the
11249         other-window specifier.
11250         (display-buffer-normalize-special): New function.
11251         (display-buffer-normalize-options): Rename to
11252         display-buffer-normalize-default and rewrite.
11253         (display-buffer-normalize-options-inhibit): Remove.
11254         (display-buffer-normalize-specifiers): Rewrite.
11255         (display-buffer): Process other-window specifier and call
11256         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
11257         more faithfully.
11258         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11259         (display-buffer-alist-set): Don't handle 'unset default values.
11260         (display-buffer-in-window, display-buffer-alist-set):
11261         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
11262         <tassilo@member.fsf.org>.
11264 2011-07-09  Leo Liu  <sdl.web@gmail.com>
11266         * register.el (insert-register): Restore accidental change on
11267         2011-06-26.  (Bug#9028)
11269 2011-07-09  Glenn Morris  <rgm@gnu.org>
11271         * subr.el (remq): Handle the empty list.  (Bug#9024)
11273 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
11275         * mail/sendmail.el (send-mail-function): No longer delay custom
11276         initialization.
11277         * custom.el (custom-initialize-delay): Doc fix.
11279 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11281         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11283 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
11285         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11286         human-friendly prompt.
11288 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11290         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11291         provided by a particular plugin.
11293 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11295         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11296         save customizations (with "emacs -Q"), just set the variable
11297         instead of erroring out.
11299         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11301 2011-07-08  Juri Linkov  <juri@jurta.org>
11303         * arc-mode.el (archive-zip-expunge, archive-zip-update)
11304         (archive-zip-update-case): Use 7z if found by `executable-find'.
11305         The order of searching the available programs is the same as in
11306         `archive-zip-extract' (bug#8968).
11308 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
11310         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11311         (menu-bar-options-menu): Tweak descriptions.
11313 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11315         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11316         menu items into verb phrases (bug#1421).  Also refill to fit under
11317         80 columns.
11319 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
11321         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11322         (Info-read-node-name): Doc fix (Bug#1084).
11324         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11325         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11326         (end-of-sexp, beginning-of-sexp)
11327         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11328         (forward-symbol, forward-same-syntax, word-at-point)
11329         (sentence-at-point): Doc fix (Bug#1144).
11331 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11333         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11334         should cover it (bug#1281).
11336         * cus-edit.el (custom-show): Mark as obsolete.
11338         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11339         negotiation fails, then possibly try again with a non-encrypted
11340         connection (bug#9017).
11342         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11343         be used.
11345 2011-07-07  Richard Stallman  <rms@gnu.org>
11347         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11348         property, and handle its changed format.
11349         Look for the correct line number.
11350         Use file's line contents (but not past first =) to find
11351         correct line in message.
11353 2011-07-07  Kenichi Handa  <handa@m17n.org>
11355         * international/characters.el (build-unicode-category-table):
11356         Delete it.
11357         (unicode-category-table): Set it by unicode-property-table-internal.
11359         * international/mule-cmds.el (char-code-property-alist): Move to
11360         to src/chartab.c.
11361         (get-char-code-property): Call unicode-property-table-internal to
11362         load a file.  Call get-unicode-property-internal where necessary.
11363         (put-char-code-property): Call unicode-property-table-internal to
11364         load a file.  Call put-unicode-property-internal where necessary.
11365         put-unicode-property-internal where necessary.
11366         (char-code-property-description):
11367         Call unicode-property-table-internal to load a file.
11369         * international/charprop.el:
11370         * international/uni-bidi.el:
11371         * international/uni-category.el:
11372         * international/uni-combining.el:
11373         * international/uni-comment.el:
11374         * international/uni-decimal.el:
11375         * international/uni-decomposition.el:
11376         * international/uni-digit.el:
11377         * international/uni-lowercase.el:
11378         * international/uni-mirrored.el:
11379         * international/uni-name.el:
11380         * international/uni-numeric.el:
11381         * international/uni-old-name.el:
11382         * international/uni-titlecase.el:
11383         * international/uni-uppercase.el: Regenerate.
11385         * loadup.el: Load international/charprop.el before
11386         international/characters.
11388 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
11390         * window.el (next-buffer, previous-buffer): Signal an error if
11391         called from a minibuffer window.
11393         * bindings.el: Revert 2011-07-04 change.
11395 2011-07-06  Richard Stallman  <rms@gnu.org>
11397         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11398         (rmail-mime-insert-bulk, rmail-mime-insert-text):
11399         Treat markers like ints.
11400         (rmail-mime-entity): Doc fix.
11402 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11404         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11405         defcustom again for backwards compatibility.
11407         * simple.el (shell-command-on-region): Fill.
11409         * dired-aux.el (dired-kill-line): Add a doc string.
11411         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11412         to "\\sw\\|\\s_" (bug#358).
11414         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11415         (dired-unmark-backward): Ditto.
11416         (dired-flag-backup-files): Ditto.
11418         * dired-x.el (dired-mark-sexp): Ditto.
11420 2011-07-06  Richard Stallman  <rms@gnu.org>
11422         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11423         (rmail-mime-entity): New arg TRUNCATED.
11424         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11425         New functions.
11426         (rmail-mime-save): Warn if entity is truncated.
11427         (rmail-mime-toggle-hidden): Likewise, for showing.
11428         (rmail-mime-process-multipart): Record when an entity is truncated.
11430         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11431         if ENTITY is a string.
11433 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11435         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
11436         of faces when `M-C-x'-ing their definitions (bug#8378).
11437         Also clean up the code slightly.
11439         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
11440         because that makes the colors go away.
11442         * mail/sendmail.el (send-mail-function): Change the default to
11443         `sendmail-query-once'.
11444         (sendmail-query-once): Add an autoload cookie.
11446         * net/network-stream.el (network-stream-open-starttls): Try using
11447         a plain connection even if the server offered STARTTLS, and we
11448         kinda wanted to use it, if Emacs doesn't have any STARTTLS
11449         capability.  This should make smtpmail.el work in slightly more
11450         configurations.
11452 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
11454         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11455         New defun.
11456         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11458 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
11460         * progmodes/sql.el: Version 3.0
11461         (sql-product-alist): Add product :completion-object,
11462         :completion-column, and :statement attributes.
11463         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
11464         (sql-mode-syntax-table): Mark all punctuation.
11465         (sql-font-lock-keywords-builder): Temporarily remove fallback on
11466         ansi keywords.
11467         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
11468         (sql-mode-oracle-font-lock-keywords): Improve.
11469         (sql-oracle-show-reserved-words): New function for development.
11470         (sql-product-font-lock): Simplify for source code buffers.
11471         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11472         New functions.
11473         (sql-highlight-product): Set product specific syntax table.
11474         (sql-mode-map): Add statement movement functions.
11475         (sql-ansi-statement-starters, sql-oracle-statement-starters):
11476         New variable.
11477         (sql-statement-regexp, sql-beginning-of-statement)
11478         (sql-end-of-statement, sql-signum): New functions.
11479         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
11480         (sql-show-sqli-buffer): Bug fix.
11481         (sql-interactive-mode): Store connection data as buffer local.
11482         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
11483         with sql-interactive-mode.
11484         (sql-save-connection): Save buffer local settings.
11485         (sql-connection-menu-filter): Change menu entry name.
11486         (sql-product-interactive): Bug fix.
11487         (sql-preoutput-hold): New variable.
11488         (sql-interactive-remove-continuation-prompt): Bug fixes.
11489         (sql-debug-redirect): New variable.
11490         (sql-str-literal): New function.
11491         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
11492         Redesign.
11493         (sql-oracle-save-settings, sql-oracle-restore-settings)
11494         (sql-oracle-list-all, sql-oracle-list-table): New functions.
11495         (sql-completion-object, sql-completion-column)
11496         (sql-completion-sqlbuf): New variables.
11497         (sql-build-completions-1, sql-build-completions)
11498         (sql-try-completion): New functions.
11499         (sql-read-table-name): Use them.
11500         (sql-contains-names): New buffer local variable.
11501         (sql-list-all, sql-list-table): Use it.
11502         (sql-oracle-completion-types): New variable.
11503         (sql-oracle-completion-object, sql-sqlite-completion-object)
11504         (sql-postgres-completion-object): New functions.
11506 2011-07-06  Glenn Morris  <rgm@gnu.org>
11508         * window.el (pop-to-buffer): Doc fix.
11510 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
11512         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11514 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
11516         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11518         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11520 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
11522         * button.el (button): Inherit from link face.  Suggested by Dan
11523         Nicolaescu.
11525 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11527         * progmodes/gdb-mi.el: Fit in 80 columns.
11528         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11529         switch-to-buffer.
11531         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11532         if imenu is simply not configured (bug#8941).
11534 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
11536         * allout.el (allout-post-undo-hook): New allout outline-change
11537         event hook to signal undo activity.
11538         (allout-post-command-business): Run allout-post-undo-hook if an
11539         undo just occurred.
11540         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11541         * allout-widgets.el (allout-widgets-after-undo-function):
11542         Ensure the integrity of the current item's decoration after it has been
11543         in the vicinity of an undo.
11544         (allout-widgets-mode): Include allout-widgets-after-undo-function
11545         on the new allout-post-undo-hook.
11547 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11549         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11550         Let define-derived-mode define it.
11551         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11552         cycles of abbrev-table inheritance (bug#8998).
11554 2011-07-05  Roland Winkler  <winkler@gnu.org>
11556         * textmodes/bibtex.el: Add support for biblatex.
11557         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11558         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11559         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11560         (bibtex-entry-alist, bibtex-field-alist): New variables.
11561         (bibtex-entry-field-alist): Obsolete alias for
11562         bibtex-BibTeX-entry-alist.
11563         (bibtex-entry-alist, bibtex-field-alist): New widgets.
11564         (bibtex-set-dialect): New command.
11565         (bibtex-entry-type, bibtex-entry-head)
11566         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11567         Bind via bibtex-set-dialect.
11568         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11569         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11570         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11571         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11572         Define via bibtex-set-dialect.
11573         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11574         Obey bibtex-no-opt-remove-re.
11575         (bibtex-vec-push, bibtex-vec-incr): New functions.
11576         (bibtex-format-entry, bibtex-field-list)
11577         (bibtex-print-help-message, bibtex-validate)
11578         (bibtex-search-entries): Use new format of bibtex-entry-alist.
11580 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11582         * progmodes/compile.el (compilation-goto-locus):
11583         * net/tramp-cmds.el (tramp-append-tramp-buffers):
11584         * bs.el (bs-cycle-next, bs-cycle-previous):
11585         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11586         * bindings.el (mode-line-other-buffer):
11587         * autoinsert.el (auto-insert):
11588         * arc-mode.el (archive-extract):
11589         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11591 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
11593         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11594         Fix check of `emacs-lock-unlockable-modes'.
11595         Coerce true values of `emacs-lock--try-unlocking' to t.
11597 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
11599         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11600         * emacs-lock.el: New file.
11602 2011-07-05  Julien Danjou  <julien@danjou.info>
11604         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11605         than `boundp' to check if face is set.
11607 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
11609         * register.el (registerv-make):
11610         * window.el (window-min-height): Fix typos in docstrings.
11612 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
11614         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11615         Update doc string.
11617 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
11619         * server.el (server-execute): Catch quit and call
11620         `server-return-error' to pass the error back to emacsclient and
11621         close the connection (bug#8942).
11623 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
11625         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11626         insecure exception for current topic.  Also note that auto-saves
11627         are handled differently.
11629         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11630         State variables for tracking auto-save inhibition situation.
11632         (allout-write-contents-hook-handler): Rename from
11633         'allout-write-file-hook-handler', and describe how it depends on
11634         write-contents-functions sensitivity to non-nil value to prevent
11635         file write.
11637         (allout-auto-save-hook-handler): Remove.  auto-save does not check
11638         this in individual buffers, only in the starting buffer, so this
11639         is not the right way for us to inhibit auto-save in a buffer
11640         according to its condition.
11642         (allout-mode): Use new allout-write-contents-hook-handler, and
11643         only with write-contents-functions.  Remove auto-save provisions -
11644         they're implemented elsewhere.
11646         (allout-before-change-handler): If undo is in progress, note that
11647         for attention of allout-post-command-business.
11649         (allout-post-command-business): If the command we're following was
11650         an undo, check for change in the status of encrypted items and
11651         adjust auto-save inhibitions accordingly.
11653         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11654         according to whether there are or aren't any plain-text topics
11655         pending encryption.
11657         (allout-inhibit-auto-save-info-for-decryption):
11658         Adjust buffer-saved-size and some allout state to inhibit auto-saves
11659         if there are plain-text topics pending encryption.
11661         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11662         buffer-saved-size and some allout state to not inhibit auto-saves
11663         if there are no longer any plain-text topics pending encryption.
11665         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11666         No longer provide for exemption of the current topic.
11668 2011-07-04  Juri Linkov  <juri@jurta.org>
11670         Add 7z operations to delete and save changed members (bug#8968).
11671         * arc-mode.el (archive-7z-expunge, archive-7z-update):
11672         New defcustoms.
11673         (archive-7z-write-file-member): New function.
11674         (archive-7z-summarize): Fix the number of dashes in the
11675         listing output.
11677 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11679         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11680         (bug#8958).
11682 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
11684         * bindings.el: Ignore next-buffer and previous-buffer in
11685         minibuffer-local-map.
11687         * font-lock.el (font-lock-builtin-face): Change light background
11688         color to dark slate blue (Bug#6693).
11690 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
11692         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11694 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11696         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11697         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11698         Add switch-to-buffer.
11700 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11702         * isearch.el (isearch-search-fun-function): Clarify further the
11703         meaning of the function returned.
11705 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
11707         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11709         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11710         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11711         Use it.
11712         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
11713         `tramp-default-remote-path' does not exist.
11714         (tramp-send-command-and-read): New optional argument NOERROR.
11715         (tramp-open-connection-setup-interactive-shell)
11716         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11717         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11718         (tramp-process-sentinel): Flush also process' connection property.
11719         (tramp-sh-handle-start-file-process): Do not set process
11720         sentinel.  It is done now ...
11721         (tramp-maybe-open-connection): ... here.  (Bug#8929)
11723 2011-07-04  MON KEY  <monkey@sandpframing.com>
11725         * play/animate.el (animate-string): Doc fixes and allow changing
11726         the buffer name (bug#5417).
11728 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11730         * play/animate.el (animation-buffer-name): Rename from *animate*.
11732 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
11734         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11735         This is simpler and helps future-proof the code.
11736         (timer-until): Use time-subtract and float-time.
11737         (timer--time-less-p): Use time-less-p.
11739 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
11741         * type-break.el (timep): Use the value of `float-time' to avoid a
11742         byte-compiler warning.
11744         * server.el (server-eval-and-print): Return any result, even nil.
11746 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
11748         * type-break.el: Accept time formats that the builtins accept.
11749         (timep, type-break-time-difference): Accept any format that
11750         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11751         This is simpler and helps future-proof the code.
11752         (type-break-time-difference): Round rather than ignoring
11753         subseconds components.
11755 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11757         * info.el (Info-apropos-matches): Make non-interactive, since it
11758         doesn't seem to do anything useful as a command (bug#8829).
11760 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
11762         * frame.el (frame-background-mode, frame-set-background-mode):
11763         Move from faces.el.
11764         (frame-default-terminal-background): New function.
11766         * custom.el (custom-push-theme): Don't record faces in `changed'
11767         theme; this doesn't work correctly for per-frame face settings.
11768         (disable-theme): Use face-set-after-frame-default to reset faces.
11769         (custom--frame-color-default): New function.
11771 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11773         * dired.el (dired-flagging-regexp): Remove unused variable
11774         (bug#8769).
11776 2011-03-29  Kevin Ryde  <user42@zip.com.au>
11778         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11779         `perl-Test2' extend to match possible "fail #N" rep count
11780         (bug#8377).
11782 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11784         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11785         `smtpmail-via-smtp' now returns the error instead of nil.
11787         * isearch.el (isearch-search-fun-function): Clarify the doc string
11788         (bug#8101).
11790 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
11792         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11793         unnecessary spaces (bug#8987).
11795 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11797         * net/network-stream.el (open-network-stream): Use the
11798         :end-of-capability command thoughout.
11800 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
11802         * net/network-stream.el (open-network-stream): Add the
11803         :end-of-capability command parameter, used by pop3.el.
11805 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11807         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11809         * fringe.el (fringe-query-style): Remove redundant text " (type ?
11810         for list)" (bug#6475).
11812         * files.el (file-expand-wildcards): Ignore non-readable
11813         sub-directories while trying to find matches instead of signaling
11814         an error (bug#6297).
11816         * man.el (Man-reference-regexp): Allow matching possible
11817         word-wrapped references (bug#6289).
11819         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11820         for consistency with the other vc buffers (bug#6197).
11821         (vc-checkin): Ditto.
11823         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11825         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11827 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11829         * custom.el (defcustom): Clarify that :set is only used in the
11830         Customize user interface (bug#6089).
11832         * progmodes/flymake.el (flymake-mode): If the buffer isn't
11833         associated with a file, refuse to run instead of erroring out
11834         (bug#6084).
11836         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11837         the doc string, since it appears that using `fill-column' always
11838         controls the width (bug#7845).
11840         * simple.el (shell-command-on-region): Say where the error output
11841         went if `shell-command-default-error-buffer' is set (bug#6857).
11843 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
11845         * allout.el (allout-yank-processing): Adjust cursor position for
11846         backwards-deleted space.
11848         (allout-rebullet-heading): Register changes with
11849         allout-exposure-changed-hook, so the modified topic is properly
11850         decorated.
11852 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11854         * minibuffer.el (completion-in-region): Document PREDICATE
11855         (bug#7136).
11857         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11858         of keyword/argument pairs (bug#6904).
11860         * replace.el (multi-occur):
11861         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11863 2011-07-02  Drew Adams  <drew.adams@oracle.com>
11865         * dired.el (dired-mark-if): Make the message about whether it's
11866         marking or unmarking clearer (bug#8523).
11868 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11870         * disp-table.el (display-table-print-array): New function.
11871         (describe-display-table): Use it to print the vectors more pretty
11872         (Bug#8859).
11874 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
11876         * window.el (window-state-get-1): Don't assign clone numbers.
11877         Add clone-of item to list of window parameters.
11878         (window-state-put-2): Don't process clone numbers.
11879         (display-buffer-alist): Fix doc-string.
11881 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11883         * subr.el (remq): Don't allocate if it's not needed.
11884         (keymap--menu-item-binding, keymap--menu-item-with-binding)
11885         (keymap--merge-bindings): New functions.
11886         (keymap-canonicalize): Use them to refine the canonicalization.
11887         * minibuffer.el (minibuffer-local-completion-map)
11888         (minibuffer-local-must-match-map): Move initialization from C.
11889         (minibuffer-local-filename-completion-map): Move initialization from C;
11890         don't inherit from anything here.
11891         (minibuffer-local-filename-must-match-map): Make obsolete.
11892         (completing-read-default): Use make-composed-keymap to combine
11893         minibuffer-local-filename-completion-map with either
11894         minibuffer-local-must-match-map or
11895         minibuffer-local-filename-completion-map.
11897 2011-07-01  Glenn Morris  <rgm@gnu.org>
11899         * type-break.el (type-break-time-sum): Use dolist.
11901         * textmodes/flyspell.el (flyspell-word-search-backward):
11902         Replace CL function.
11904 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11906         * mouse.el (mouse--strip-first-event): New function.
11907         (function-key-map): Use it to map fringe clicks to normal clicks
11908         by default.
11910         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11911         (vc-bzr-revision-completion-table): Add support for annotate and date.
11913         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11914         inherit from parent.
11916 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11918         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11919         (dired-show-file-type): Doc fixup (bug#8818).
11921         * dired.el (dired-mode): Fix up the doc string as suggested by
11922         Drew Adams (bug#8817).
11924         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11925         cookie, since the manual says that it should be possible to add
11926         this function to `find-file-hook' (bug#8709).
11928 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
11930         * progmodes/cfengine.el: Moved all cfengine3.el functionality
11931         here.  Noted Ted Zlatanov as the maintainer.
11932         (cfengine-common-settings, cfengine-common-syntax): New functions
11933         to set up common things between `cfengine-mode' and
11934         `cfengine3-mode'.
11935         (cfengine3-mode): New mode.
11936         (cfengine3-defuns cfengine3-defuns-regex
11937         (cfengine3-class-selector-regex cfengine3-category-regex)
11938         (cfengine3-vartypes cfengine3-font-lock-keywords)
11939         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11940         (cfengine3-indent-line): Add from cfengine3.el.
11942 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
11944         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11946         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11948 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
11950         * window.el (same-window-buffer-names, same-window-regexps)
11951         (same-window-p, special-display-frame-alist)
11952         (special-display-popup-frame, special-display-function)
11953         (special-display-buffer-names, special-display-regexps)
11954         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11955         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11956         (split-window-preferred-function, split-height-threshold)
11957         (split-width-threshold, even-window-heights)
11958         (display-buffer-mark-dedicated, window-splittable-p)
11959         (split-window-sensibly, window-safely-shrinkable-p):
11960         Un-obsolete.
11961         (display-buffer): Don't spread args with function specifier
11962         because special-display-popup-frame won't like it.
11964 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
11966         Time-stamp simplifications and fixes.
11967         These improve accuracy slightly, and future-proof the code
11968         against some potential changes to current-time format.
11970         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11971         by using time-since and float-time.
11973         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11974         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
11975         + NNN microseconds".
11977         * type-break.el (type-break-time-sum): Rewrite using time-add.
11979         * play/hanoi.el (hanoi-current-time-float): Remove.
11980         All uses replaced by float-time.
11982         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11983         This yields a more-accurate answer.
11984         (rng-time-to-float): Remove; no longer needed.
11986         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11988         * calendar/timeclock.el (timeclock-seconds-to-time):
11989         Defalias to seconds-to-time, since they're the same thing.
11991         * emacs-lisp/elp.el (elp-elapsed-time):
11992         * emacs-lisp/benchmark.el (benchmark-elapse):
11993         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11995 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11997         * window.el (bury-buffer): Don't iconify the only frame.
11998         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11999         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
12001 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
12003         * eshell/em-smart.el (eshell-smart-display-navigate-list):
12004         Add mouse-yank-primary.
12006 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
12008         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12010 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12012         * emacs-lisp/find-func.el (find-library--load-name): New fun.
12013         (find-library-name): Use it to find relative load names when provided
12014         absolute file name (bug#8803).
12016 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12018         * textmodes/flyspell.el (flyspell-word): Consider words that
12019         differ only in case as potential doublons (bug#5687).
12021         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12022         Remove two rather uninteresting debugging-like messages to make
12023         debbugs.el more silent.
12025         * comint.el (comint-password-prompt-regexp): Accept "Response" as
12026         a password-like phrase.
12028 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
12030         * progmodes/cc-guess.el: New file.
12032         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12034         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12035         derived from `c-basic-common-init'.
12037         * progmodes/cc-mode.el (top-level): Require cc-guess.
12038         (c-basic-common-init): Use `cc-choose-style-for-mode'.
12040 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
12042         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12044 2011-06-30  Alan Mackenzie  <acm@muc.de>
12046         * progmodes/cc-engine.el (c-guess-continued-construct):
12047         Correct the handling of template-args-cont, particularly for when font
12048         lock is disabled.  Name this case as "CASE G".
12050 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
12052         * allout.el (allout-yank-processing): Fix injection of extra space
12053         between bullet and non-whitespace character in first topic when
12054         pasting, ensuring that the actual spacing in the pasted topic
12055         following the bullet char is preserved.  This extra space was
12056         causing pasted encrypted topics to get a decrypted status even
12057         when the content was actually still encrypted.  Now the decryption
12058         status from before the paste is preserved.
12060         (allout-flag-region): Set all allout overlays so they evaporate
12061         when reduced to zero length (evanescent), to prevent overlay
12062         leakage.
12064 2011-06-30  Glenn Morris  <rgm@gnu.org>
12066         * w32-fns.el (w32-charset-info-alist): Declare.
12068         * find-dired.el (find-grep-options): Simplify.
12070         * term/ns-win.el (ns-set-resource): Declare.
12072         * ses.el (row, col): Declare dynamic variables honestly.
12074         * textmodes/reftex-parse.el (index-tags): Declare.
12076 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
12078         * cus-edit.el (customize-push-and-save): New function.
12080         * files.el (hack-local-variables-confirm): Use it.
12082         * custom.el (load-theme): New arg NO-CONFIRM.
12083         Use customize-push-and-save (Bug#8720).
12084         (custom-enabled-themes): Doc fix.
12086         * cus-theme.el (customize-create-theme)
12087         (custom-theme-merge-theme): Callers to load-theme changed.
12089 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12091         * thingatpt.el (thing-at-point-short-url-regexp): Require that
12092         short URLs have at least one dot in them (bug #7614).
12094         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12095         nil, because using a pty is apparently too slow (bug #895).
12097 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12099         * mail/sendmail.el (sendmail-query-once): New function.
12100         (sendmail-query-once-function): New variable.
12102 2011-06-29  Glenn Morris  <rgm@gnu.org>
12104         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12106         * ses.el (top-level): Require cl when compiling.
12107         (ses-set-localvars): Fix error statement.
12108         Call it at compile time to silence a storm of warnings.
12110 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
12112         * window.el (normalize-live-buffer): Rename to
12113         window-normalize-buffer.
12114         (normalize-live-frame): Rename to window-normalize-frame.
12115         (normalize-any-window): Rename to window-normalize-any-window.
12116         (normalize-live-window): Rename to window-normalize-live-window.
12117         (make-window-atom): Rename to window-make-atom.
12118         (window-resize-reset): Rename to window--resize-reset.
12119         (window-resize-reset-1): Rename to window--resize-reset-1.
12120         (resize-mini-window): Rename to window--resize-mini-window.
12121         (resize-subwindows-skip-p): Rename to
12122         window--resize-subwindows-skip-p.
12123         (resize-subwindows-normal): Rename to
12124         window--resize-subwindows-normal.
12125         (resize-subwindows): Rename to window--resize-subwindows.
12126         (resize-other-windows): Rename to window--resize-siblings.
12127         (resize-this-window): Rename to window--resize-this-window.
12128         (resize-root-window): Rename to window--resize-root-window.
12129         (resize-root-window-vertically): Rename to
12130         window--resize-root-window-vertically.
12131         (normalize-buffer-to-display): Rename to
12132         window-normalize-buffer-to-display.
12133         (normalize-buffer-to-switch-to): Rename to
12134         window-normalize-buffer-to-switch-to.
12135         Correspondingly update all callers of the functions listed
12136         above.
12137         (display-buffer-alist, display-buffer-normalize-arguments)
12138         (display-buffer-normalize-options, display-buffer)
12139         (display-buffer-alist-set): Use "function" instead of
12140         "fun-with-args".
12142 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
12144         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12145         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
12146         debbugs.gnu.org.  Mention acknowledgment email.
12148 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12150         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12151         buffer multibyteness, since it shouldn't matter.
12153 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
12155         * window.el (display-buffer-in-side-window): Handle dedicated
12156         windows as in display-buffer-reuse-window.
12157         (display-buffer-normalize-alist): Use value of override
12158         specifier.
12159         (display-buffer-normalize-specifiers): Use value of
12160         other-window-means-other-frame specifier.
12161         (display-buffer-alist): Rewrite some texts in widgets.
12162         (display-buffer): Spread arguments when calling function
12163         specified by fun-with-args.
12165 2011-06-28  Deniz Dogan  <deniz@dogan.se>
12167         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12168         Unnest `let'.
12170         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12171         selectors (Bug#5732).
12172         (css-proprietary-nmstart-re): Use `regexp-opt'.
12174 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
12176         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12177         (eshell-ls-date-format): New defcustom.
12178         (eshell-ls-file): Use it.
12180 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12182         * help-fns.el (describe-variable): Fix message for terminal-local vars.
12184 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
12186         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12187         (ange-ftp-make-tmp-name): New arg.
12188         (ange-ftp-file-local-copy): Use it.
12190 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
12192         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12193         no-conversion (Bug#8870).
12195 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
12197         * window.el (window-right, window-left, window-child)
12198         (window-child-count, window-last-child)
12199         (window-iso-combination-p, walk-window-tree-1)
12200         (window-atom-check-1, window-tree-1, delete-window)
12201         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12202         new naming conventions - window-vchild, window-hchild,
12203         window-next and window-prev are now called window-top-child,
12204         window-left-child, window-next-sibling and window-prev-sibling
12205         respectively.
12206         (resize-window-reset): Rename to window-resize-reset.
12207         (resize-window-reset-1): Rename to window-resize-reset-1.
12208         (resize-window): Rename to window-resize.
12209         (window-min-height, window-min-width)
12210         (resize-mini-window, resize-this-window, resize-root-window)
12211         (resize-root-window-vertically, adjust-window-trailing-edge)
12212         (enlarge-window, shrink-window, maximize-window)
12213         (minimize-window, delete-window, quit-restore-window)
12214         (split-window, balance-windows, balance-windows-area-adjust)
12215         (balance-windows-area, window-state-put-2)
12216         (display-buffer-even-window-sizes, display-buffer-set-height)
12217         (display-buffer-set-width, set-window-text-height)
12218         (fit-window-to-buffer): Rename all "resize-window" prefixed
12219         calls to use the "window-resize" prefix convention.
12220         (display-buffer-alist): Fix symbol for label specifier.
12221         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12222         corresponding specifier.
12223         Reported by Juanma Barranquero <lekktu@gmail.com>.
12225 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12227         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12228         convention.
12229         (ses-call-printer): Does not pass an empty string to formatter when the
12230         cell is empty to keep from barking printer Calc math-format-value.
12232 2011-06-27  Richard Stallman  <rms@gnu.org>
12234         * battery.el (battery-mode-line-limit): New variable.
12235         (battery-update): Handle it.
12237         * mail/rmailmm.el (rmail-mime-process-multipart):
12238         Handle truncated messages.
12240 2011-06-27  Glenn Morris  <rgm@gnu.org>
12242         * progmodes/flymake.el (flymake-err-line-patterns):
12243         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
12245 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12247         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12248         (ses--clean-!, ses--clean-_): New functions.
12249         (ses-range): Add configurability of readout order, and conversion
12250         to Calc vector.
12252         * ses.el (ses-repair-cell-reference-all): New function.
12253         (ses-cell-symbol): Set macro as safe, so that it can be used in
12254         formulas.
12256         * ses.el: Update cycle detection algorithm.
12257         (ses-localvars): Add ses--Dijkstra-attempt-nb and
12258         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12259         (ses-set-localvars): New function.
12260         (ses-make-cell): Add property-list as a cell element.
12261         (ses-cell-property-get-fun, ses-cell-property-get)
12262         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12263         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12264         New functions.
12265         (ses-cell-property-set, ses-cell-property-pop)
12266         (ses-cell-property-get-handle): New macro.
12267         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12268         New aliases, used for code readability.
12269         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12270         cycle detection.
12271         (ses-self-reference-early-detection): New defcustom.
12272         (ses-formula-references): Robustify against self-referring cells.
12273         (ses-mode): Use ses-set-localvars.
12274         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12275         before lauching the update processing.
12276         (ses-initialize-Dijkstra-attempt): New function.
12277         (ses-recalculate-cell): Update for cycle detection based on
12278         Dijkstra algorithm.
12280         * ses.el: Fix commenting and indenting convention.
12282 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12284         * bs.el (bs-cycle-next): Complete last change.
12286 2011-06-27  Drew Adams  <drew.adams@oracle.com>
12288         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12290 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12292         * net/network-stream.el (network-stream-open-starttls):
12293         Don't re-get capabilities unless we've reestablished connection.
12294         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12296         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12297         to binary to possibly avoid line encoding issues on Windows (among
12298         other things).
12300 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12302         * net/network-stream.el (open-network-stream): Return an :error
12303         saying what the problem was, if possible.
12305         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12306         server.
12308         * net/network-stream.el (network-stream-open-starttls): If we
12309         wanted to use STARTTLS, and the server offered it, but we weren't
12310         able to because we had no STARTTLS support, then close the connection.
12311         (open-network-stream): Return an :error element, if present.
12313 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
12315         * hl-line.el (hl-line-sticky-flag): Doc fix.
12316         (global-hl-line-sticky-flag): New option (Bug#8323).
12317         (global-hl-line-highlight): Obey it.
12319         * vc/vc.el (vc-revert-show-diff): Default to t.
12321 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
12323         * allout-widgets.el (allout-widgets-post-command-business):
12324         Stop decorating intermediate isearch matches.  They're not being
12325         undecorated when an isearch is continued past, and isearch
12326         automatically collapses them.  This leads to "widget leaks", where
12327         decorated items accumulate in collapsed areas.  Lines with lots of
12328         hidden widgets can slow down cursor travel, substantially.
12329         Too much complicated machinery would be needed to ensure undecoration,
12330         so we're doing without this nicety.
12332         (allout-widgets-tally-string): Don't try to do a hash-table-count
12333         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
12334         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12335         *Messages* when allout-widgets-maintain-tally is t.
12337 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
12339         * window.el (display-buffer-normalize-argument): Rename to
12340         display-buffer-normalize-arguments.  Handle special meaning of
12341         LABEL argument.  Respect special-display-function when popping up
12342         a new frame.  Fix code searching for a window showing the buffer
12343         on another frame.
12344         (display-buffer-normalize-specifiers):
12345         Call display-buffer-normalize-arguments.
12346         (display-buffer-in-window): Don't undedicate the window if its
12347         buffer remains the same.
12348         Reported by Drew Adams <drew.adams@oracle.com>.
12349         (display-buffer-alist): Add choice for same-window macro
12350         specfier.
12351         (display-buffer): Mention special meaning of LABEL argument in
12352         doc-string.  Fix quoting.  Don't pop up a new frame even as
12353         fallback.
12355 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
12357         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12358         avoid deleting the current window in some cases (bug#8911).
12360 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
12362         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12363         (Bug#8934)
12365 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12367         * net/network-stream.el (network-stream-open-starttls):
12368         Use built-in TLS support if `gnutls-available-p' is true.
12369         (network-stream-open-tls): Ditto.
12371 2011-06-26  Leo Liu  <sdl.web@gmail.com>
12373         * register.el (registerv): New struct.
12374         (registerv-make): New function.
12375         (jump-to-register, describe-register-1, insert-register):
12376         Support the jump-func, print-func and insert-func slot of a registerv
12377         struct.  (Bug#8415)
12379 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
12381         * vc/vc.el (vc-revert-show-diff): New defcustom.
12382         (vc-diff-internal): New arg specifying diff buffer.
12383         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
12384         reuse an existing *vc-diff* buffer (Bug#8927).
12386         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12388 2011-06-26  Glenn Morris  <rgm@gnu.org>
12390         * progmodes/f90.el (f90-critical-indent): New option.
12391         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12392         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12393         (f90-mode): Doc fix.
12394         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12395         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12396         (f90-beginning-of-block, f90-next-block, f90-indent-region)
12397         (f90-match-end): Handle block, critical.
12399 2011-06-25  Glenn Morris  <rgm@gnu.org>
12401         * calendar/diary-lib.el (diary-included-files): Doc fix.
12402         (diary-include-files): New function, extracted from
12403         diary-include-other-diary-files and diary-mark-included-diary-files.
12404         (diary-include-other-diary-files, diary-mark-included-diary-files):
12405         Just call diary-include-files.
12406         (diary-mark-entries): Reset diary-included-files on first call.
12408         * calendar/diary-lib.el (diary-mark-entries)
12409         (diary-mark-included-diary-files):
12410         Visit included diary-files in temp buffers.
12412         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12413         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12414         (f90-start-block-re, f90-imenu-generic-expression)
12415         (f90-looking-at-program-block-start, f90-no-block-limit):
12416         Add support for submodules.
12418         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12419         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
12421 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
12423         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12424         buffer-file-type before setting its value, to avoid disastrous
12425         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
12427 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
12429         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12431         * ses.el (ses-unload-function):
12432         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12434         * proced.el (proced-unload-function):
12435         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12437 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
12439         * server.el (server-create-window-system-frame): Add parameters arg.
12440         (server-process-filter): Doc fix.  Handle frame-parameters.
12442 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
12444         Fix bug#8730, bug#8781.
12446         * loadhist.el (unload--set-major-mode): New function.
12447         (unload-feature): Use it.
12449         * progmodes/python.el (python-after-info-look): Add autoload cookie.
12450         (python-unload-function): New function.
12452 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12454         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12456 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
12458         * net/browse-url.el (browse-url-firefox-program): Add icecat to
12459         the candidates list.
12461 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
12463         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12465 2011-06-23  Richard Stallman  <rms@gnu.org>
12467         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12468         (rmail-variables): Set next-error-move-function.
12469         (rmail-what-message): Take argument POS.
12470         (rmail-next-error-move): New function.
12472 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12474         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12475         messages for adjacent non-terminals.
12477 2011-06-23  Richard Stallman  <rms@gnu.org>
12479         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
12480         (rmail-show-message-1): Preserve buffer modified flag.
12481         (rmail-start-mail): Don't specify use of rmail-mail-return;
12482         that's done by mail-bury now.
12483         (rmail-mail-return): Handle arg NEWBUF.
12485 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
12487         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12488         SIZE is a number.
12490 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
12492         * window.el (get-lru-window, get-mru-window)
12493         (get-largest-window): Never return a minibuffer window.
12494         (display-buffer-pop-up-window): Fix a bug that could lead to
12495         reusing the minibuffer window.
12496         (display-buffer): Pass original specifier argument to
12497         display-buffer-function instead of the normalized one.
12498         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12500 2011-06-22  Leo Liu  <sdl.web@gmail.com>
12502         * minibuffer.el (completing-read-function)
12503         (completing-read-default): Move from minibuf.c
12505 2011-06-22  Richard Stallman  <rms@gnu.org>
12507         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12508         to Rmail even if not started by a special Rmail command.
12510         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12511         Copy the buffer currently showing just one message.
12513 2011-06-22  Roland Winkler  <winkler@gnu.org>
12515         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12516         (bibtex-clean-entry): First delete the old key so that a
12517         customized algorithm for generating the new key does not get
12518         confused by the old key.
12519         (bibtex-url): Obey regexp of first step.
12520         (bibtex-search-entries): Do not use add-to-list with local
12521         list-var.
12523 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12525         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12526         stored a user name, then query for the password first, instead of
12527         waiting for SMTP to give an error message and the trying again.
12529 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
12531         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12532         BUFFER in call-process.
12534 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12536         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12537         QUIT twice.
12538         (smtpmail-try-auth-methods): Require user name and password from
12539         auth-source.
12541 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
12543         * window.el (display-buffer-default-specifiers)
12544         (display-buffer-alist): Remove entries for pop-up-frame-alist.
12545         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12546         (split-window): Normalize SIDE argument (Bug#8916).
12548         * frame.el (pop-up-frame-alist, pop-up-frame-function)
12549         (special-display-frame-alist, special-display-popup-frame):
12550         Remove duplicate declarations.  These are now in window.el.
12552 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12554         * mail/smtpmail.el (smtpmail-via-smtp):
12555         Set :use-starttls-if-possible so that we always use STARTTLS if the
12556         server supports it.  SMTP servers that support STARTTLS commonly
12557         require it.
12559         * net/network-stream.el (network-stream-open-starttls): Support
12560         upgrading to STARTTLS always, even if we don't have built-in support.
12561         (open-network-stream): Add the :always-query-capabilities keyword.
12563         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12564         upgrades with `open-network-stream', and rely solely on
12565         auth-source for all credentials.  Big changes throughout the file,
12566         but in particular:
12567         (smtpmail-auth-credentials): Remove.
12568         (smtpmail-starttls-credentials): Remove.
12569         (smtpmail-via-smtp): Check for servers saying they want AUTH after
12570         MAIL FROM, too.
12572         * net/network-stream.el (network-stream-open-starttls):
12573         Provide support for client certificates both for external and built-in
12574         STARTTLS.
12575         (auth-source): Require.
12576         (open-network-stream): Document the :client-certificate keyword.
12577         (network-stream-certificate): Change cert-cert to cert and
12578         cert-key to key.
12580 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
12582         * net/tramp-cache.el (top): Don't load the persistency file when
12583         "emacs -Q" has been called.
12585 2011-06-21  Tim Harper  <timcharper@gmail.com>
12587         * term/ns-win.el (ns-initialize-window-system):
12588         Set application-specific `ApplePressAndHoldEnabled' system
12589         resource to NO as it is not yet supported by the NS port.
12591 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
12593         * misc.el (list-dynamic-libraries--refresh): Compute header here...
12594         (list-dynamic-libraries): ...not here.
12596 2011-06-21  Leo Liu  <sdl.web@gmail.com>
12598         * subr.el (sha1): Implement sha1 using secure-hash.
12600 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
12602         * window.el (display-buffer-alist): In default value do not
12603         enforce searching a window on any but the selected frame.
12604         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12605         (display-buffer-select-window): Remove function.
12606         (display-buffer-in-window): When a window on another frame gets
12607         reused, do not select it any more but just raise its frame if
12608         necessary (Bug#8851) and (Bug#8856).
12609         (display-buffer-normalize-options): Handle pop-up-frames related
12610         options more faithfully.
12611         (pop-to-buffer): Don't rely on `display-buffer' selecting the
12612         window if it is on another frame.
12613         (display-buffer-alist, display-buffer-default-specifiers):
12614         Don't make new frame unsplittable by default.
12615         (display-buffer-normalize-argument): Fix doc-string typo and use
12616         'same-frame-other-window instead of 'other-window when associating
12617         with display-buffer-macro-specifiers.
12619 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
12621         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12622         New functions.
12623         (5x5-mode-map, 5x5-mode-menu): Bind them.
12624         (5x5-draw-grid): Tweak the solver's rendering.
12626 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12628         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12629         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12631 2011-06-21  Drew Adams  <drew.adams@oracle.com>
12633         * menu-bar.el: Use function variable instead of switch-to-buffer.
12634         (menu-bar-select-buffer-function): New variable.
12635         (menu-bar-update-buffers): Use it (bug#8876).
12637 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12639         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12640         variable's status.
12642 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
12644         * x-dnd.el (x-dnd-version-from-flags)
12645         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12646         and long as number (Bug#8899).
12647         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12649 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12651         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12652         (completion-try-completion, completion-all-completions): Compute the
12653         metadata argument if it's missing; make it optional (bug#8795).
12655         * wid-edit.el: Use lex-bind and move towards completion-at-point.
12656         (widget-complete): Use new :completion-function property.
12657         (widget-completions-at-point): New function.
12658         (default): Use :completion-function instead of :complete.
12659         (widget-default-completions): Rename from widget-default-complete;
12660         Rewrite.
12661         (widget-string-complete, widget-file-complete, widget-color-complete):
12662         Remove functions.
12663         (file, symbol, function, variable, coding-system, color):
12664         * international/mule-cmds.el (default-input-method, charset)
12665         (language-info-custom-alist):
12666         * cus-edit.el (face): Use new property :completions.
12668         * progmodes/pascal.el (pascal-completions-at-point): New function.
12669         (pascal-mode): Use it.
12670         (pascal-mode-map): Use completion-at-point.
12671         (pascal-toggle-completions): Make obsolete.
12672         (pascal-complete-word, pascal-show-completions):
12673         * progmodes/octave-mod.el (octave-complete-symbol):
12674         Redefine as obsolete alias.
12675         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12676         Signal absence of completion info for old Octave,
12677         (inferior-octave-complete): Redefine as obsolete alias.
12678         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12679         (meta-completions-at-point): Rename from meta-complete-symbol and
12680         adapt it for use on completion-at-point-functions.
12681         (meta-common-mode): Use it.
12682         (meta-looking-at-backward, meta-match-buffer): Remove.
12683         (meta-complete-symbol): Redefine as obsolete alias.
12684         (meta-common-mode-map): Use completion-at-point.
12685         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12686         (makefile-mode-map): Use completion-at-point.
12687         (makefile-completions-at-point): Rename from makefile-complete and
12688         adapt it for use on completion-at-point-functions.
12689         (makefile-mode): Use it.
12690         (makefile-complete): Redefine as obsolete alias.
12692 2011-06-20  Deniz Dogan  <deniz@dogan.se>
12694         * net/rcirc.el: Delete trailing whitespaces once and for all.
12696 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
12698         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12700 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
12702         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12704         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12706 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
12708         * window.el (display-buffer-other-window-means-other-frame):
12709         Call display-buffer-normalize-alist.
12710         (display-buffer-normalize-specifiers-1): Rename to
12711         display-buffer-normalize-argument.  New argument other-frame.
12712         Rewrite.
12713         (display-buffer-normalize-specifiers-2): Rename to
12714         display-buffer-normalize-options.
12715         (display-buffer-normalize-alist-1): New function.
12716         (display-buffer-normalize-specifiers-3): Rename to
12717         display-buffer-normalize-alist.
12718         Call display-buffer-normalize-alist-1.
12719         (display-buffer-normalize-options-inhibit): New variable.
12720         (display-buffer-normalize-specifiers): Rewrite calling
12721         display-buffer-normalize-alist,
12722         display-buffer-normalize-argument, and
12723         display-buffer-normalize-options.  Don't call the latter if
12724         display-buffer-normalize-options-inhibit is non-nil.
12725         (frame-auto-delete): New option.
12726         (window-deletable-p): Use frame-auto-delete.
12727         (window-list-no-nils, window-state-ignored-parameters)
12728         (window-state-get-1, window-state-get, window-state-put-list)
12729         (window-state-put-1, window-state-put-2, window-state-put):
12730         New functions.
12731         (display-buffer-normalize-options): Move special-display-p group
12732         after pop-up-frame group (Bug#8851) and (Bug#8856).
12734 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
12736         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12737         groups (Bug#8776).
12738         (rx-submatch-n): New function.
12739         (rx): Document it.
12741         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12742         (Bug#8768).
12744         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12746         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12748         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12749         anytime existing face settings are present (Bug#8889).
12751         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12752         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12753         Remove unused argument.
12755 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
12757         * window.el (display-buffer-default-specifiers):
12758         Remove pop-up-frame.  Add pop-up-window-min-height,
12759         pop-up-window-min-width, and another reuse-window specifier
12760         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
12761         (display-buffer-normalize-specifiers-2):
12762         Handle split-height-threshold and split-width-threshold also when
12763         pop-up-windows is unset.  Add a reuse-window specifier for the
12764         case popping up a new window fails.
12765         (special-display-popup-frame): Remove double quoting.
12766         (display-buffer-normalize-specifiers-1): Fix thinko.
12768 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12770         * shell.el (shell-completion-vars): Set pcomplete-termination-string
12771         according to comint-completion-addsuffix.
12773         * pcomplete.el: Convert to lexical binding and fix bug#8819.
12774         (pcomplete-suffix-list): Mark as obsolete.
12775         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12776         pcomplete-seen in the closure.
12777         (pcomplete-comint-setup): Setup completion-at-point as well.
12778         (pcomplete--entries): New function.
12779         (pcomplete--env-regexp): New var.
12780         (pcomplete-entries): Rewrite to work with partial-completion and
12781         without relying on pcomplete-suffix-list.
12782         (pcomplete-pare-list): Remove, unused.
12784 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
12786         * window.el (display-buffer-alist): Set pop-up-window-min-height
12787         and pop-up-window-min-width in default value.  Reported by
12788         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
12789         other-window-means-other-frame.
12790         (display-buffer-macro-specifiers): Comment out entry for
12791         other-window specifier.
12792         (display-buffer-other-window-means-other-frame): New function.
12793         (display-buffer-normalize-specifiers-1): New arguments
12794         buffer-name and label.  Treat other-window case specially.
12795         (display-buffer-normalize-specifiers-2): Treat other-window case
12796         specially.
12797         (display-buffer-normalize-specifiers-3): New function.
12798         (display-buffer-normalize-specifiers):
12799         Call display-buffer-normalize-specifiers-3.
12801 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
12803         * window.el (same-window-p): Fix two typos introduced when
12804         adding with-no-warnings.
12805         (display-buffer-normalize-specifiers-1): Don't check
12806         pop-up-frames for 'unset initialization.
12807         (display-buffer-normalize-specifiers-2): Major rewrite using
12808         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12809         (pop-up-frames, display-buffer-reuse-frames)
12810         (display-buffer-mark-dedicated): Don't initialize to 'unset.
12811         Suggested by David Engster <deng@randomsample.de>.
12812         (even-window-heights): Initialize to 'unset.
12813         (display-buffer-alist-set): Handle new 'unset initializations.
12814         (display-buffer-macro-specifiers): Don't pop up a new frame in the
12815         other window case.
12817 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
12819         * window.el (display-buffer-normalize-specifiers-1):
12820         Respect current value of pop-up-frames for most reasonable values of
12821         second argument of display-buffer (Bug#8865).
12822         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12823         (switch-to-buffer-other-window-same-frame)
12824         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
12825         Adams (Bug#8875).
12826         (display-buffer): Don't check noninteractive when calling
12827         display-buffer-pop-up-frame.
12828         (display-buffer-pop-up-frame): Never pop up a frame in
12829         noninteractive mode (Bug#8857).
12830         (enlarge-window, shrink-window): Don't report an error when the
12831         window can't be resized as requested (Bug#8862).
12833 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12835         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12837         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12839         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12841 2011-06-15  Alan Mackenzie  <acm@muc.de>
12843         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12844         for declarators, disable knr checking to speed up for normal files.
12845         2: Refactor, replacing a sequence of nested if forms by a cond form.
12847 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12849         * net/network-stream.el (open-network-stream): Add the keyword
12850         :always-query-capabilities for the case where you want to force a
12851         `plain' network connection, but the protocol still requires the
12852         capabilitiy command (i.e., SMTP and EHLO).
12854         * subr.el (process-live-p): Rename from `process-alive-p' for
12855         consistency with other `-live-p' functions.
12857 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12859         * window.el (same-window-buffer-names, same-window-regexps)
12860         (special-display-frame-alist, special-display-popup-frame)
12861         (special-display-function, special-display-buffer-names)
12862         (special-display-regexps, pop-up-frame-alist)
12863         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12864         (pop-up-windows, split-window-preferred-function)
12865         (split-height-threshold, split-width-threshold, even-window-heights)
12866         (display-buffer-mark-dedicated): Don't encourage the use of
12867         display-buffer-alist from Elisp code.
12869 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
12871         * progmodes/python.el (python-mode): Derive from prog-mode.
12872         * progmodes/ps-mode.el (ps-mode):
12873         * progmodes/mixal-mode.el (mixal-mode):
12874         * progmodes/cfengine.el (cfengine-mode):
12875         * progmodes/ld-script.el (ld-script-mode): Likewise.
12877 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
12879         * window.el (display-buffer-alist): Trim default value to avoid
12880         popping up a new frame (Bug#8857) or reusing an arbitrary window
12881         on another frame.
12882         (display-buffer): Do not fall back on popping up a new frame in
12883         batch mode (Bug#8857).
12885 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
12887         * cus-theme.el (describe-theme-1): Use custom-theme-p.
12888         (custom-theme-summary): New function.
12889         (customize-themes): Use it.
12891 2011-06-13  Glenn Morris  <rgm@gnu.org>
12893         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12895 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
12897         * help.el (help-window): Remove variable.
12898         (help-window-point-marker, temp-buffer-max-height)
12899         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12900         (help-print-return-message): Don't set help-window.
12901         (resize-temp-buffer-window): Rewrite cod eand doc-string.
12902         (help-window-setup-finish): Remove.
12903         (help-window-display-message, help-window-setup)
12904         (with-help-window): Major rewrite based on new
12905         display-buffer-window variable.
12907         * help-mode.el (help-mode-finish): Remove help-window related
12908         code.
12910         * view.el (view-exits-all-viewing-windows): Remove reference to
12911         view-return-to-alist in doc-string.
12912         (view-return-to-alist): Make obsolete.
12913         (view-buffer): Call pop-to-buffer-same-window and remove
12914         undo-window code.
12915         (view-buffer-other-window): Call pop-to-buffer-other-window and
12916         simplify code.  Ignore second argument.
12917         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12918         simplify code.  Ignore second argument.
12919         (view-return-to-alist-update): Make obsolete.
12920         (view-mode-enter): Rename second argument to QUIT-RESTORE.
12921         Rewrite using quit-restore window parameters.
12922         (view-mode-exit): Rename second argument to EXIT-ONLY.
12923         Rewrite using quit-restore-window.
12924         (View-exit, View-exit-and-edit, View-leave, View-quit)
12925         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12926         appropriate arguments.
12927         (view-end-message): Use quit-restore window parameter.
12929         * window.el (display-buffer-function): Rewrite doc-string.
12930         (display-buffer-window, display-buffer-alist): New variables.
12931         (display-buffer-split-specifiers)
12932         (display-buffer-side-specifiers)
12933         (display-buffer-macro-specifiers): New constants.
12934         (display-buffer-even-window-sizes, display-buffer-set-height)
12935         (display-buffer-set-width, display-buffer-select-window)
12936         (display-buffer-in-window, display-buffer-reuse-window)
12937         (display-buffer-split-window-1, display-buffer-split-window)
12938         (display-buffer-split-atom-window, display-buffer-pop-up-window)
12939         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12940         (display-buffer-in-side-window, normalize-buffer-to-display)
12941         (display-buffer-normalize-specifiers-1)
12942         (display-buffer-normalize-specifiers-2)
12943         (display-buffer-normalize-specifiers, display-buffer-frame):
12944         New functions.
12945         (display-buffer): Major rewrite.
12946         (display-buffer-other-window, display-buffer-other-frame)
12947         (pop-to-buffer, switch-to-buffer-other-window)
12948         (switch-to-buffer-other-frame): Rewrite.
12949         (display-buffer-same-window, display-buffer-same-frame)
12950         (display-buffer-same-frame-other-window)
12951         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12952         (pop-to-buffer-other-window)
12953         (pop-to-buffer-same-frame-other-window)
12954         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12955         (switch-to-buffer-other-window-same-frame): New functions.
12956         (same-window-p, special-display-p): Rewrite disabling warnings.
12957         Make obsolete.
12958         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12959         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12960         Make obsolete
12961         (same-window-buffer-names, same-window-regexps)
12962         (special-display-frame-alist, special-display-popup-frame)
12963         (special-display-function, special-display-buffer-names)
12964         (special-display-regexps, pop-up-frame-alist)
12965         (pop-up-frame-function, split-window-preferred-function)
12966         (split-height-threshold, split-width-threshold)
12967         (even-window-heights): Make obsolete.
12969 2011-06-12  Glenn Morris  <rgm@gnu.org>
12971         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
12972         Misc simplifications.
12974 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
12976         * window.el (window-safely-shrinkable-p): Restore function which
12977         was inadvertently removed in change from 2011-06-11.  Declare as
12978         obsolete.
12980         * calendar/calendar.el (calendar-generate-window):
12981         Use window-iso-combined-p instead of combination of one-window-p and
12982         window-safely-shrinkable-p.
12984 2011-06-12  Glenn Morris  <rgm@gnu.org>
12986         * progmodes/fortran.el (fortran-mode-syntax-table):
12987         * progmodes/f90.el (f90-mode-syntax-table):
12988         Set % to punctuation.  (Bug#8820)
12989         (f90-find-tag-default): Remove, no longer needed.
12991 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
12993         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12995 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
12997         * image.el (image-animated-p): Return animation delay in seconds.
12998         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12999         (image-animate-timeout): Remove DELAY argument.  Don't assume
13000         every subimage has the same delay; get it from image-animated-p.
13001         (image-animate): Caller changed.
13003 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
13005         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13006         to ignored backtrace functions.
13008 2011-06-11  Glenn Morris  <rgm@gnu.org>
13010         * calendar/appt.el (appt-disp-window-function): Doc fix.
13011         (appt-check): Handle overlapping appointments.  (Bug#8337)
13013 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
13015         * window.el (window-tree-1, window-tree): New functions, moving
13016         the latter to window.el.
13017         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13018         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13019         (bw-refresh-edges): Remove.
13020         (balance-windows-1, balance-windows-2): New functions.
13021         (balance-windows): Rewrite in terms of window tree functions,
13022         balance-windows-1 and balance-windows-2.
13023         (bw-adjust-window): Remove.
13024         (balance-windows-area-adjust): New function with functionality of
13025         bw-adjust-window but using resize-window.
13026         (set-window-text-height): Rewrite doc-string.
13027         Use normalize-live-window and resize-window.
13028         (enlarge-window-horizontally, shrink-window-horizontally):
13029         Rename argument to DELTA.
13030         (window-buffer-height): New function.
13031         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13032         Rewrite using new window resize routines.
13033         (kill-buffer-and-window, mouse-autoselect-window-select):
13034         Use ignore-errors instead of condition-case.
13035         (quit-window): Call delete-frame instead of delete-windows-on
13036         for the only buffer on frame.
13038 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
13040         * loadup.el (top-level): Load window before files for the sake
13041         of replace-buffer-in-windows.
13043         * files.el (read-buffer-to-switch)
13044         (switch-to-buffer-other-window)
13045         (switch-to-buffer-other-frame, display-buffer-other-frame):
13046         Move to window.el.
13048         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13049         (previous-buffer): Move to window.el.
13051         * bindings.el (unbury-buffer): Move to window.el.
13053         * window.el (delete-other-windows-vertically): Move after
13054         definition of delete-other-windows.
13055         (other-window, delete-windows-on, replace-buffer-in-windows):
13056         Move here from window.c.
13057         (record-window-buffer, unrecord-window-buffer)
13058         (set-window-buffer-start-and-point, switch-to-prev-buffer)
13059         (switch-to-next-buffer): New functions.
13060         (get-next-valid-buffer, last-buffer, next-buffer): Move here
13061         from simple.el.  Call switch-to-next-buffer.
13062         (previous-buffer): Move here from simple.el.
13063         Call switch-to-prev-buffer.
13064         (bury-buffer): Move here from buffer.c.  Switch to previous
13065         buffer when window cannot be deleted.
13066         (unbury-buffer): Move here from bindings.el.
13067         (ctl-x-map): Move binding for other-window from window.c to
13068         here.
13069         (read-buffer-to-switch, switch-to-buffer-other-window)
13070         (switch-to-buffer-other-frame): Move here from files.el.
13071         (normalize-buffer-to-switch-to): New functions.
13072         (switch-to-buffer): Move here from buffer.c.
13073         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13075 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
13077         * window.el (window-min-height, window-min-width): Move here
13078         from window.c.  Add defcustoms and rewrite doc-strings.
13079         (resize-mini-window, resize-window): New functions.
13080         (adjust-window-trailing-edge, enlarge-window, shrink-window):
13081         Move here from window.c.
13082         (maximize-window, minimize-window): New functions.
13083         (delete-window, delete-other-windows, split-window): Move here
13084         from window.c.
13085         (window-split-min-size): New function.
13086         (split-window-keep-point): Mention split-window-above-each-other
13087         instead of split-window-vertically.
13088         (split-window-above-each-other, split-window-vertically):
13089         Rename split-window-vertically to split-window-above-each-other
13090         and provide defalias for old definition.
13091         (split-window-side-by-side, split-window-horizontally):
13092         Rename split-window-horizontally to split-window-side-by-side
13093         and provide defalias for the old definition.
13094         (ctl-x-map): Move bindings for delete-window,
13095         delete-other-windows and enlarge-window here from window.c.
13096         Replace bindings for split-window-vertically and
13097         split-window-horizontally by bindings for
13098         split-window-above-each-other and split-window-side-by-side.
13100         * cus-start.el (all): Remove entries for window-min-height and
13101         window-min-width.  Add entries for window-splits and
13102         window-nest.
13104 2011-06-09  Glenn Morris  <rgm@gnu.org>
13106         * calendar/appt.el (appt-mode-line): New function.
13107         (appt-check, appt-disp-window): Use it.
13109         * files.el (hack-one-local-variable-eval-safep):
13110         Allow minor-modes with explicit +/-1 arguments.
13112 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
13114         * term/xterm.el (xterm): Add defgroup.
13115         (xterm-extra-capabilities): Add defcustom to supply known xterm
13116         capabilities, skip querying them, or query them (default).
13117         (terminal-init-xterm): Use it.
13118         (terminal-init-xterm-modify-other-keys): New function to set up
13119         modifyOtherKeys support to simplify `terminal-init-xterm'.
13121 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
13123         * window.el (resize-window-reset, resize-window-reset-1)
13124         (resize-subwindows-skip-p, resize-subwindows-normal)
13125         (resize-subwindows, resize-other-windows, resize-this-window)
13126         (resize-root-window, resize-root-window-vertically)
13127         (window-deletable-p, window-or-subwindow-p)
13128         (frame-root-window-p): New functions.
13130 2011-06-09  Glenn Morris  <rgm@gnu.org>
13132         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13133         (ange-ftp-get-files): Use it.
13135 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
13137         * mail/sendmail.el (mail-recover-1, mail-recover):
13138         * files.el (recover-file, recover-session):
13139         Handle dired-listing-switches not being just a single short option.
13141 2011-06-09  Glenn Morris  <rgm@gnu.org>
13143         * calendar/appt.el (appt-display-message, appt-disp-window):
13144         Handle lists of appointments.
13146 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
13148         * window.el (one-window-p): Move down in code.
13149         Rewrite doc-string.
13150         (window-current-scroll-bars): Rewrite doc-string.
13151         Normalize live window argument.
13152         (walk-windows, get-window-with-predicate, count-windows):
13153         Rewrite doc-string.  Use window-list-1.
13154         (window-in-direction-2, window-in-direction, get-mru-window):
13155         New functions.
13157 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
13159         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13160         Doc fix (Bug#8713).
13162 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
13164         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13166 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
13168         * loadhist.el (unload-feature-special-hooks):
13169         Add `comint-output-filter-functions'.
13171 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
13173         * calendar/appt.el (appt-check): Move some initializations into the let.
13175 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
13177         * window.el (window-height): Defalias to window-total-height.
13178         (window-width): Defalias to window-body-width.
13180 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
13182         * image-mode.el (image-toggle-animation): New command.
13183         (image-mode-map): Bind it to RET.
13184         (image-mode): Update message.
13185         (image-toggle-display-image): Avoid a spurious cache flush.
13186         (image-transform-rotation): Doc fix.
13187         (image-transform-properties): Return quickly in the normal case.
13188         (image-animate-loop): Rename from image-animate-max-time.
13190         * image.el (image-animate-max-time): Move to image-mode.el.
13191         (create-animated-image): Remove unnecessary function.
13192         (image-animate): Rename from image-animate-start.  New arg.
13193         (image-animate-stop): Remove; just use image-animate-timer.
13194         (image-animate-timer): Use car-safe.
13195         (image-animate-timeout): Rename argument.
13197 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
13199         * window.el (get-lru-window, get-largest-window): Move here from
13200         window.c.  Rename first argument to ALL-FRAMES.
13201         Rephrase doc-strings.
13202         (get-buffer-window-list): Rewrite using window-list-1.
13203         Rephrase doc-string.
13204         (window-safe-min-height, window-safe-min-width): New constants.
13205         (window-size-ignore, window-min-size, window-min-size-1)
13206         (window-sizable, window-sizable-p, window-size-fixed-1)
13207         (window-size-fixed-p, window-min-delta-1, window-min-delta)
13208         (window-max-delta-1, window-max-delta, window-resizable)
13209         (window-resizable-p, window-total-height, window-total-width)
13210         (window-body-width): New functions.
13211         (window-full-height-p, window-full-width-p): Rewrite using
13212         window-total-size.
13213         (window-body-height): Rewrite using window-body-size.
13215 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
13217         * window.el (window-right, window-left, window-child)
13218         (window-child-count, window-last-child, window-any-p)
13219         (normalize-live-buffer, normalize-live-frame)
13220         (normalize-any-window, normalize-live-window)
13221         (window-iso-combination-p, window-iso-combined-p)
13222         (window-iso-combinations)
13223         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13224         (windows-with-parameter, window-with-parameter)
13225         (window-atom-root, make-window-atom, window-atom-check-1)
13226         (window-atom-check, window-side-check, window-check):
13227         New functions.
13228         (ignore-window-parameters, window-sides, window-sides-vertical)
13229         (window-sides-slots): New variables.
13230         (window-size-fixed): Move down in code.  Minor doc-string fix.
13232 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
13234         * comint.el (comint-dynamic-complete-as-filename)
13235         (comint-dynamic-complete-filename): Correctly call
13236         completion-in-region.
13238 2011-06-05  Deniz Dogan  <deniz@dogan.se>
13240         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13241         in last change.
13243 2011-06-05  Deniz Dogan  <deniz@dogan.se>
13245         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13246         (rcirc): Use it to prompt for encryption.
13248 2011-06-05  Roland Winkler  <winkler@gnu.org>
13250         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13251         (bibtex-search-entries): New command bound to C-c C-a.
13252         (bibtex-display-entries): New function.
13254 2011-06-05  Roland Winkler  <winkler@gnu.org>
13256         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13257         (bibtex-insert-kill): After yanking insert newline if necessary.
13258         (bibtex-initialize): Call bibtex-string-files-init only once.
13259         (bibtex-mode): Do not call easy-menu-add.
13260         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13261         (bibtex-yank): Set arg properly if nil.
13263 2011-06-05  Roland Winkler  <winkler@gnu.org>
13265         * textmodes/bibtex.el (bibtex-search-entry-globally):
13266         New variable.
13267         (bibtex-search-entry): Use it.
13269 2011-06-05  Roland Winkler  <winkler@gnu.org>
13271         * textmodes/bibtex.el (bibtex-entry-format): New option
13272         sort-fields.
13273         (bibtex-format-entry, bibtex-reformat): Honor this option.
13274         (bibtex-parse-entry): Return fields in proper order.
13276 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
13278         * doc-view.el (doc-view-remove-if): Move computation of result out
13279         of `dolist' to silence misleading lexical-binding warning.
13281 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
13283         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13284         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13286 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
13288         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13289         "SunOS 5.10".
13291 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
13293         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13294         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13295         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13296         (tramp-parse-putty):
13297         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13298         (tramp-completion-function-alist-ssh)
13299         (tramp-completion-function-alist-telnet)
13300         (tramp-completion-function-alist-su)
13301         (tramp-completion-function-alist-putty): Set `tramp-autoload'
13302         cookie.
13304         * net/tramp-ftp.el:
13305         * net/tramp-sh.el:
13306         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13307         load "tramp.el" `tramp-set-completion-function'.
13309 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13311         * shell.el: Require and use pcomplete.
13312         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13313         (shell-completion-vars): Set pcomplete-default-completion-function.
13315 2011-06-04  Deniz Dogan  <deniz@dogan.se>
13317         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13318         `memq' (Bug#8799).
13320 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13322         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13324 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
13326         * bs.el (bs--mark-unmark, bs--nth-wrapper):
13327         * mpc.el (mpc-select-extend, mpc-songpointer-context):
13328         * vc/log-view.el (log-view-beginning-of-defun):
13329         * vc/smerge-mode.el (smerge-apply-resolution-patch)
13330         (smerge-refine-forward, smerge-refine-chopup-region):
13331         Silence warning for unused `dotimes' counter variables.
13333 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13335         * net/tramp.el (tramp-with-progress-reporter): Rename from
13336         with-progress-reporter.  Use `declare'.
13337         * net/tramp-smb.el:
13338         * net/tramp-sh.el:
13339         * net/tramp-gvfs.el: Update all uses.
13341 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
13343         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13344         buffer isn't killed before making it current.
13346 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13348         Silence various byte-compiler warnings.
13349         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13350         `access-type' and new obsolescence format.
13351         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13352         new format.
13353         (byte-compile-check-variable): New `access-type' argument.
13354         Only warn if the access-type is obsolete.
13355         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13356         (byte-compile-variable-set): Adjust callers.
13357         * help-fns.el (describe-variable): Adjust to new obsolescence format.
13358         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13359         setting it as obsolete.
13360         * simple.el (minibuffer-completing-symbol):
13361         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13362         access as obsolete.
13363         * minibuffer.el (minibuffer-completing-file-name): Don't make it
13364         obsolete yet.
13365         * international/quail.el (quail-mouse-choose-completion): Remove unused
13366         code referring to obsolete var.
13367         (quail-choose-completion-string): Remove.
13368         * server.el (server-clients-with, server-kill-buffer-query-function)
13369         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13370         * proced.el (proced-send-signal):
13371         * emacs-lisp/lisp.el (lisp-complete-symbol):
13372         Replace completion-annotate-function with completion-extra-properties.
13374 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13376         * simple.el (goto-line): Use read-number.
13377         (overriding-map-is-bound): Remove.
13378         (saved-overriding-map): Change default.
13379         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13380         Take the map as argument.
13381         (universal-argument, negative-argument, digit-argument): Use it.
13382         (restore-overriding-map): Adjust.
13383         (do-auto-fill): Use fill-forward-paragraph.
13384         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13386         * minibuffer.el (minibuffer-inactive-mode-map): New var.
13387         (minibuffer-inactive-mode): New major mode.
13388         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13389         the *Messages* buffer" hack.
13390         (mouse-popup-menubar): Don't burp if the event is a normal key.
13392         Miscellaneous tweaks.
13393         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13394         lexical scoping as in subr.el's dolist and dotimes.
13395         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13396         Silence compiler warning.
13397         * thingatpt.el (forward-whitespace): Trivial coding style fix.
13398         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13399         * international/ccl.el (ccl-compile): Trivial simplification.
13400         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13401         * emacs-lisp/testcover.el (testcover-end): Remove spurious
13402         `printflag' argument.
13403         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13404         Purecopy the whole obsolescence data.
13406 2011-06-01  Leo Liu  <sdl.web@gmail.com>
13408         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13409         improve doc-string as suggested by Marco Pessotto
13410         <melmothx@gmail.com>.
13411         (rcirc-print): Fix last change.
13413 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13415         * minibuffer.el (complete-with-action): Return nil for the metadata and
13416         boundaries of non-functional tables.
13417         (completion-table-dynamic): Return nil for the metadata.
13418         (completion-table-with-terminator): Add default case, using
13419         complete-with-action.
13420         (completion--metadata): New function.
13421         (completion-all-sorted-completions, minibuffer-completion-help): Use it
13422         to try and avoid pathological performance problems.
13423         (completion--embedded-envvar-table): Return `category' metadata.
13425 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13427         * subr.el (process-alive-p): New tiny convenience function.
13429 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13431         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13432         content but also its previous major mode.
13434 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
13436         * emacs-lisp/debug.el (debug): Restore the previous content of the
13437         *Backtrace* buffer when we exit with C-M-c.
13439 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13441         * minibuffer.el: Add metadata method to completion tables.
13442         (completion-category-overrides): New defcustom.
13443         (completion-metadata, completion--field-metadata)
13444         (completion-metadata-get, completion--styles)
13445         (completion--cycle-threshold): New functions.
13446         (completion-try-completion, completion-all-completions):
13447         Add `metadata' argument to choose completion-styles.
13448         (completion--do-completion): Use metadata to choose cycling.
13449         (completion-all-sorted-completions): Use metadata for sorting.
13450         Remove :completion-cycle-penalty which is not needed any more.
13451         (completion--try-word-completion): Add `metadata' argument.
13452         (minibuffer-completion-help): Check metadata for annotation function
13453         and sorting.
13454         (completion-file-name-table): Return `category' metadata.
13455         (minibuffer-completing-file-name): Make obsolete.
13456         * simple.el (minibuffer-completing-symbol): Make obsolete.
13457         * icomplete.el (icomplete-completions): Pass new `metadata' param to
13458         completion-try-completion.
13460 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13462         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13464 2011-05-30  Leo Liu  <sdl.web@gmail.com>
13466         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
13467         (rcirc-print): Decode all incoming messages (bug#8744).
13468         (rcirc-decode-coding-system): Allow value nil for automatic coding
13469         system detection.
13471 2011-06-01  Glenn Morris  <rgm@gnu.org>
13473         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13475 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
13477         * image.el (image-animate-max-time): Allow nil and t values.
13478         Default to nil.
13479         (create-animated-image): Doc fix.
13480         (image-animate-start): Remove second arg; just use
13481         image-animate-max-time.
13482         (image-animate-timeout): Doc fix.  Args changed.
13484         * image-mode.el (image-toggle-display-image): Ensure that the
13485         image spec passed to the animate timer is the same object as in
13486         the buffer's display property (Bug#6981).
13487         (image-transform-properties): Doc fix.
13489         * image.el (image-animate-max-time): Default to nil.
13491 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
13493         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13494         entire buffer list (Bug#8184).
13496 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
13498         * image.el (imagemagick-types-inhibit)
13499         (imagemagick-register-types): Doc fix.
13501 2011-05-29  Deniz Dogan  <deniz@dogan.se>
13503         * net/rcirc.el (rcirc): Use the user's stored encryption method by
13504         default.
13506 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
13508         * select.el: Don't perform clipboard-manager saving in hooks;
13509         leave the hooks empty.
13511 2011-05-28  Leo Liu  <sdl.web@gmail.com>
13513         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13514         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
13515         (occur-edit-mode): New major mode (Bug#8463).
13516         (occur-after-change-function): New function.
13517         (occur-engine): Give Occur tags a read-only property.
13519 2011-05-28  Kevin Ryde  <user42@zip.com.au>
13521         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13523 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
13525         * bindings.el (help-echo): Make the initial non-indicator dash
13526         empty on graphical terminals (Bug#7295).
13528         * files.el (auto-mode-alist): Move config rule after the
13529         in-stripping one (Bug#8547).
13531         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13533         * startup.el (normal-splash-screen): Remove gratuitous mode-line
13534         setting (Bug#8740).
13536 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
13538         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13539         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13540         (Bug#8539).
13542 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
13544         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13546 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
13548         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13549         (hs-hide-block-at-point, hs-find-block-beginning)
13550         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13551         (Bug#8279).
13553 2011-05-28  Glenn Morris  <rgm@gnu.org>
13555         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
13557 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
13559         * help-fns.el (describe-function-1): If the function is a derived
13560         major mode, print the parent mode.
13562         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13563         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13565 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13567         * minibuffer.el (completion--capf-wrapper): Check applicability before
13568         returning non-nil for non-exclusive completion data.
13569         * progmodes/etags.el (tags-completion-at-point-function):
13570         * info-look.el (info-lookup-completions-at-point): Mark as
13571         non-exclusive.
13572         (info-complete): Adjust accordingly.
13574         * info-look.el: Convert to lexical-binding and completion-at-point.
13575         (info-lookup-completions-at-point): New function.
13576         (info-complete): Use it and completion-in-region.
13578 2011-05-28  Drew Adams  <drew.adams@oracle.com>
13580         * isearch.el: Let M-e start with point at the first mismatched char.
13581         (isearch-fail-pos): New function.
13582         (isearch-edit-string): Use it.
13584 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
13586         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13588 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
13590         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
13591         traversal functions for avl-trees.
13592         (avl-tree--stack): New struct.
13593         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13594         (avl-tree-enter): Add optional `updatefun' arg.
13595         (avl-tree--do-enter): Add optional `updatefun' arg.
13596         Change return value.
13597         (avl-tree-delete): Add optional `test' and `nilflag' args.
13598         (avl-tree--do-delete): Add `test' and `nilflag' args.
13599         Change return value.
13600         (avl-tree-member): Add optional `nilflag'
13601         (avl-tree-member-p): New function.
13602         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13603         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13604         (avl-tree-stack-empty-p): New functions.
13606         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13607         avl-tree--del-balance1 and make it work both ways.
13608         (avl-tree--del-balance2): Remove.
13609         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13610         make it work both ways.
13611         (avl-tree--enter-balance2): Remove.
13612         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13613         New macros.
13614         (avl-tree--mapc, avl-tree-map): Add direction argument.
13616 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
13618         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13620 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
13622         * select.el: Support clipboard managers with built-in function
13623         x-clipboard-manager-save, via delete-frame-functions and
13624         kill-emacs-hook.
13625         (xselect-convert-to-targets): Add MULTIPLE target to list.
13626         (xselect-convert-to-save-targets): New function.
13628 2011-05-27  Kenichi Handa  <handa@m17n.org>
13630         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13631         let-binding rfc2047-encode-encoded-words to nil.
13633 2011-05-27  Glenn Morris  <rgm@gnu.org>
13635         * mail/emacsbug.el: Don't require url-util.
13637         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
13639         * files.el (set-auto-mode):
13640         Also respect mode: entries at the end of the file.  (Bug#8586)
13642 2011-05-26  Glenn Morris  <rgm@gnu.org>
13644         * files.el (hack-local-variables-prop-line, hack-local-variables):
13645         Downcase mode names, as seems to be traditional.
13646         (hack-local-variables, hack-local-variables-apply): Doc fixes.
13648         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13649         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
13651 2011-05-25  Julien Danjou  <julien@danjou.info>
13653         * textmodes/rst.el (rst-define-level-faces): Do not define face
13654         symbol if it is already defined.
13656 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13658         * play/5x5.el (5x5-new-game, 5x5-randomize):
13659         Reset 5x5-solver-output to nil when a new grid is cast.
13660         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13661         these debugging traces, as defmacro breaks the compiled code.
13663 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
13665         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13667 2011-05-24  Leo Liu  <sdl.web@gmail.com>
13669         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13670         (vc-bzr-sha1): Adapt.
13672         * sha1.el: Remove.  Function `sha1' is now builtin.
13674         * bindings.el: Provide sha1 feature.
13676 2011-05-24  Kenichi Handa  <handa@m17n.org>
13678         * mail/sendmail.el: Require `rfc2047'.
13679         (mail-insert-from-field): Do not perform RFC2047 encoding.
13680         (mail-encode-header): New function.
13681         (sendmail-send-it): Set buffer-file-coding-system of the work
13682         buffer to the return value of select-message-coding-system.
13683         Call mail-encode-header.
13685         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13687 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
13689         * mail/supercite.el (sc-default-cite-frame):
13690         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13692 2011-05-24  Glenn Morris  <rgm@gnu.org>
13694         * progmodes/python.el (brm-menu): Declare.
13696         * emulation/viper.el (viper-set-hooks): Declare.
13698         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13699         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13700         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13701         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13702         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13703         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13705 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13707         Add an :exit-function for completion-at-point.
13709         * minibuffer.el (completion--done): New fun.
13710         (completion--do-completion): Use it.  New arg `expect-exact'.
13711         (minibuffer-complete, minibuffer-complete-word): Don't output message,
13712         since completion--do-completion does it for us now.
13713         (minibuffer-force-complete): Use completion--done and
13714         completion--replace.  Handle sole-completion case with more care.
13715         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13716         (completion-extra-properties): New var.
13717         (completion-annotate-function): Make obsolete.
13718         (minibuffer-completion-help): Adjust accordingly.
13719         Use completion-list-insert-choice-function.
13720         (completion-at-point, completion-help-at-point):
13721         Bind completion-extra-properties.
13722         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13723         * simple.el (completion-list-insert-choice-function): New var.
13724         (completion-setup-function): Preserve it.
13725         (choose-completion): Pay attention to it, shuffle the code a bit.
13726         (choose-completion-string): New arg `insert-function'.
13728         * textmodes/bibtex.el: Convert to lexical binding.
13729         (bibtex-mode-map): Use completion-at-point.
13730         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13731         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13732         (bibtex-complete): Define as obsolete alias.
13733         (bibtex-complete-internal): Remove.
13734         (bibtex-format-entry): Remove unused sub-group in regexp.
13735         * shell.el (shell--command-completion-data)
13736         (shell-environment-variable-completion):
13737         * pcomplete.el (pcomplete-completions-at-point):
13738         * comint.el (comint--complete-file-name-data): Use :exit-function
13739         instead of completion-table-with-terminator so it also works for
13740         choose-completion.
13742 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13744         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13746         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13747         (bug#8710).
13749         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13751 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
13753         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13754         customization variable and implement: If non-nil, auto-fill will
13755         be inhibited while on topic's header line.
13757 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13759         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13760         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
13761         always have a solution in grid size = 5 cases.
13762         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13763         (5x5-solver-output, 5x5-log-buffer): New vars.
13764         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13765         Make these variables buffer local to achieve 5x5 multi-session-ness.
13766         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13767         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13768         (5x5-solve-suggest): New funs.
13769         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13770         randomize a grid so that we ensure that there is always a solution.
13771         (5x5-make-random-grid): Allow other movement than flipping.
13773 2011-05-23  Kevin Ryde  <user42@zip.com.au>
13775         * emacs-lisp/advice.el (ad-read-advised-function):
13776         Use `function-called-at-point' as the default, if it has
13777         advice and passes PREDICATE.
13779 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13781         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13782         byte-compile-lambda if it's actually a lambda.
13784         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13785         Fix function quoting.  Use backquote better.
13787 2011-05-22  Yuanle Song  <sylecn@gmail.com>
13789         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13790         matching (Bug#8516).
13792 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
13794         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13795         different face (Bug#8178).
13797 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
13799         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13800         defface (Bug#8144).
13802 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13804         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13805         funcall as well (bug#8712).  Warn when performing those conversions.
13806         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13808         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13810 2011-05-22  Glenn Morris  <rgm@gnu.org>
13812         * files.el (hack-local-variables-prop-line): Small simplifications.
13813         (hack-local-variables, hack-local-variables-prop-line):
13814         If MODE-ONLY, return the mode, rather than just `t'.
13816 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13818         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13820 2011-05-21  Glenn Morris  <rgm@gnu.org>
13822         * files.el (hack-local-variables-prop-line, hack-local-variables):
13823         If only interested in the mode, don't bother doing the other stuff.
13825         * image-mode.el (image-after-revert-hook):
13826         Redraw all frames on which the image is visible.  (Bug#8567)
13828         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
13830         * wid-edit.el (widget-checklist-match-inline):
13831         Fix 2011-04-19 change.  (Bug#8649)
13833 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13835         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13836         Also allow singlespace after single-letter capitals followed by a dot.
13838         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13839         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13841 2011-05-20  Nix  <nix@esperi.org.uk>
13843         * files.el (basic-save-buffer-2):
13844         Fix handling of break-hardlink-on-save with non-existent files.
13846 2011-05-19  Deniz Dogan  <deniz@dogan.se>
13848         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13849         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13851 2011-05-19  Glenn Morris  <rgm@gnu.org>
13853         * progmodes/f90.el (f90-type-def-re):
13854         Handle "type, bind(c)".  (Bug#8691)
13856         * emacs-lisp/autoload.el (batch-update-autoloads):
13857         Set autoload-excludes by parsing loadup.el rather than Makefiles.
13859 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
13861         * net/tramp.el (tramp-process-actions): Set "first-password-request"
13862         property for the correct connection in case of multihops.
13864 2011-05-18  Glenn Morris  <rgm@gnu.org>
13866         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13867         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13869         Rationalize calendar handling of day and month abbrev-arrays.
13870         * calendar/calendar.el (calendar-customized-p): New function.
13871         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13872         (calendar-day-name-array, calendar-month-name-array): Doc fix.
13873         Add :set function.
13874         (calendar-abbrev-length, calendar-day-abbrev-array)
13875         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13876         (calendar-day-abbrev-array, calendar-month-abbrev-array):
13877         Elements may no longer be nil.
13878         (calendar-day-name, calendar-month-name):
13879         Update for changed nature of abbrev arrays.
13880         * calendar/diary-lib.el (diary-name-pattern):
13881         Update for changed nature of abbrev arrays.
13882         (diary-mark-entries-1): Update calendar-make-alist calls.
13883         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13884         * calendar/cal-html.el (cal-html-day-abbrev-array):
13885         Simply inherit from calendar-day-abbrev-array.
13887 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13889         * progmodes/grep.el (grep-mode): Disable default
13890         compilation-directory-matcher setting (bug#8684).
13892 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
13894         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13895         instead of "head" and "tail".  There were problems with SunOS 5.9,
13896         and it performs better.
13898 2011-05-17  Glenn Morris  <rgm@gnu.org>
13900         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13902         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13903         Replace obsolete function.
13905         * shell.el (pcomplete-parse-arguments-function): Declare.
13907         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13908         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13909         (appt-check): Doc fixes.
13910         (appt-disp-window-function, appt-delete-window-function):
13911         Remove needless special case in custom :type.
13912         (appt-display-count): Default to 0, not nil.
13913         (appt-check): Reset appt-display-count to 0, not nil.
13915 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
13917         * progmodes/python.el (python-font-lock-keywords):
13918         Add the Python 3.X keyword "nonlocal" (bug#8639).
13920 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13922         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13924 2011-05-16  Kevin Ryde  <user42@zip.com.au>
13926         * info-look.el (makefile-automake-mode): New setups, looking in
13927         automake manual, then makefile-mode.
13928         (makefile-mode): Remove automake manual, have it just in
13929         makefile-automake-mode since there's various things different or
13930         not relevant to plain make.
13931         (makefile-mode): Remove "other-modes" non-existent automake-mode,
13932         believe a hypothetical automake-mode would go to makefile-mode,
13933         not the other way around.
13935 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
13937         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13938         hunk-end tags (Bug#8672).
13940         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13941         vc-annotate-show-diff-revision-at-line (Bug#8671).
13943 2011-05-14  Glenn Morris  <rgm@gnu.org>
13945         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13946         in the middle of an existing one with multiple authors.  (Bug#8645)
13947         (change-log-font-lock-keywords): Also handle multiple author lines
13948         with leading tabs.  (Bug#8644)
13950         * calendar/appt.el (appt-check): Rename some local variables.
13951         Some simplification/reordering.
13953         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13954         (feedmail-sendmail-f-doesnt-sell-me-out)
13955         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13956         (feedmail-debug-sit-for, feedmail-queue-express-hook)
13957         (feedmail-queue-runner-message-sender): Set :version.
13958         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13959         (bbdb-dwim-net-address, vm-mail): Declare.
13960         (feedmail-binmail-gnulinuxish-template):
13961         Rename from feedmail-binmail-linuxish-template.
13962         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13963         Use insert-buffer-substring.
13965 2011-05-14  Bill Carpenter  <bill@carpenter.org>
13967         * mail/feedmail.el (feedmail-patch-level): Increase.
13968         (feedmail-debug): New custom group.
13969         (feedmail-confirm-outgoing-timeout)
13970         (feedmail-sendmail-f-doesnt-sell-me-out)
13971         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13972         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13973         (feedmail-sender-line, feedmail-from-line)
13974         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13975         (feedmail-spray-this-address)
13976         (feedmail-spray-address-fiddle-plex-list)
13977         (feedmail-queue-use-send-time-for-date)
13978         (feedmail-queue-use-send-time-for-message-id)
13979         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13980         (feedmail-buffer-eating-function):
13981         Doc fixes.
13982         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13983         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13984         (feedmail-message-action-scroll-down): New functions.
13985         (feedmail-queue-directory, feedmail-queue-draft-directory):
13986         Use expand-file-name.
13987         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13988         Remove C-v help entry.
13989         (feedmail-queue-buffer-file-name): New variable.
13990         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13991         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13992         (feedmail-message-action-send-strong, feedmail-message-action-edit)
13993         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13994         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13995         (feedmail-message-action-toggle-spray)
13996         (feedmail-run-the-queue-no-prompts)
13997         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13998         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13999         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14000         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14001         (feedmail-envelope-deducer, feedmail-fiddle-from)
14002         (feedmail-fiddle-sender, feedmail-default-date-generator)
14003         (feedmail-fiddle-date, feedmail-fiddle-message-id)
14004         (feedmail-fiddle-spray-address)
14005         (feedmail-fiddle-list-of-spray-fiddle-plexes)
14006         (feedmail-fiddle-list-of-fiddle-plexes)
14007         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14008         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14009         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14010         Change default.  Doc fix.
14011         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14012         (feedmail-binmail-linuxish-template): New constant.
14013         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
14014         Respect feedmail-sendmail-f-doesnt-sell-me-out.
14015         (feedmail-send-it): Add debug call.
14016         Use feedmail-queue-buffer-file-name, and
14017         feedmail-send-it-immediately-wrapper.
14018         (feedmail-message-action-send): Add debug call.
14019         Use feedmail-send-it-immediately-wrapper.
14020         (feedmail-queue-express-to-queue): Add debug call.
14021         Run feedmail-queue-express-hook.
14022         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
14023         (feedmail-message-action-help-blat):
14024         Rename from feedmail-queue-send-edit-prompt-help-first.
14025         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
14026         Check line-endings.  Handle errors better.
14027         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14028         Doc fix.  Add debug call.
14029         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
14030         Use feedmail-queue-send-edit-prompt-inner.
14031         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14032         (feedmail-queue-send-edit-prompt-inner): New function, extracted
14033         from feedmail-queue-send-edit-prompt.
14034         (feedmail-queue-send-edit-prompt-help)
14035         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14036         (feedmail-tidy-up-slug): Add debug call.
14037         Respect feedmail-queue-slug-suspect-regexp.
14038         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14039         (feedmail-dump-message-to-queue): Add debug call.
14040         Expand queue-directory.
14041         (feedmail-dump-message-to-queue): Change message slightly.
14042         Use feedmail-say-chatter.
14043         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
14044         (feedmail-send-it-immediately-wrapper): New function.
14045         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
14046         Insert empty string rather than newline.  Handle full-frame case.
14047         Use catch/throw.  Use feedmail-say-chatter.
14048         (feedmail-fiddle-from): Try mail-host-address.
14049         (feedmail-default-message-id-generator): Doc fix.
14050         Bind system-time-locale.  Handle missing end.
14051         (feedmail-fiddle-x-mailer): Add debug call.
14052         Handle feedmail-x-mailer-line being nil.
14053         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14054         Add debug call.  Use buffer-substring-no-properties.
14055         (feedmail-say-debug, feedmail-say-chatter): New functions.
14056         (feedmail-find-eoh): Give an explicit error.
14058 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
14060         * net/newst-treeview.el (newsticker-treeview-face): Change default
14061         family from helvetica to sans.
14062         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14063         etc/images/newsticker.
14065         * net/newst-reader.el (newsticker-feed-face): Change default
14066         family from helvetica to sans.
14068         * net/newst-plainview.el (newsticker-new-item-face)
14069         (newsticker-old-item-face, newsticker-immortal-item-face)
14070         (newsticker-obsolete-item-face, newsticker-date-face)
14071         (newsticker-statistics-face): Change default family from
14072         helvetica to sans.
14073         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14074         etc/images/newsticker.
14076         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14077         (newsticker--process-auto-mark-filter-match): Tell user about
14078         auto-marking.
14080 2011-05-13  Didier Verna  <didier@xemacs.org>
14082         Common Lisp indentation improvements on defmethod and lambda-lists.
14083         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14084         TODO entries.
14085         (lisp-lambda-list-keyword-parameter-indentation)
14086         (lisp-lambda-list-keyword-parameter-alignment)
14087         (lisp-lambda-list-keyword-alignment): New customizable user options.
14088         (lisp-indent-defun-method): Improve docstring.
14089         (extended-loop-p): Fix comment.
14090         (lisp-indent-lambda-list-keywords-regexp): New variable.
14091         (lisp-indent-lambda-list): New function.
14092         (lisp-indent-259): Use it.
14093         (lisp-indent-defmethod): Support for more than one
14094         method qualifier and properly indent methods lambda-lists.
14095         (defgeneric): Provide a missing common-lisp-indent-function property.
14097 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14099         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14100         bounds for the empty string (bug#8667).
14102 2011-05-13  Glenn Morris  <rgm@gnu.org>
14104         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14106         * mail/sendmail.el (sendmail-program): Try executable-find first.
14107         (sendmail-send-it): `sendmail-program' cannot be unbound.
14109         * calendar/appt.el (appt-make-list): Simplify.
14110         (appt-time-msg-list): Doc fix.
14111         (appt-check): Change mode-line message at the time of the appointment.
14113 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14115         * progmodes/ld-script.el (ld-script-keywords)
14116         (ld-script-builtins): Update keywords list.
14118 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14120         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14122         * shell.el (shell-completion-vars): New function.
14123         (shell-mode):
14124         * simple.el (read-shell-command): Use it.
14125         (blink-matching-open): No need for " [...]" in minibuffer-message.
14127 2011-05-12  Glenn Morris  <rgm@gnu.org>
14129         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14130         (appt-check): Simplify.
14132 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
14134         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14135         literal "/dev/null".
14137 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14139         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14140         Fix typo.
14142 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
14144         * progmodes/which-func.el (which-function):
14145         Use add-log-current-defun instead of add-log-current-defun-function,
14146         which might not be defined (Bug#8260).
14148 2011-05-12  Glenn Morris  <rgm@gnu.org>
14150         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14151         Let byte-compile-initial-macro-environment always take precedence.
14153 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14155         * net/rcirc.el: Add support for SSL/TLS connections.
14156         (rcirc-server-alist): New field `encryption'.
14157         (rcirc): Check `encryption' settings.
14158         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
14159         Merge make-local-variable into `set'.
14160         (rcirc--connection-open-p): New function.
14161         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14162         the process is not a network process (e.g. running gnutls-cli).
14163         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14164         Make rcirc-(en|de)code-coding-system local here.
14165         (rcirc-mode): Merge make-local-variable into `set'.
14166         (rcirc-parent-buffer): Make permanent buffer-local.
14167         (rcirc-multiline-minor-mode): Don't do it here.
14168         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14169         there's no server buffer.
14171 2011-05-11  Glenn Morris  <rgm@gnu.org>
14173         * newcomment.el (comment-kill): Prefix "unused" local.
14175         * term/w32console.el (get-screen-color): Declare.
14177         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14178         Handle symbol elements of byte-compile-initial-macro-environment.
14180 2011-05-10  Leo Liu  <sdl.web@gmail.com>
14182         * bookmark.el (bookmark-bmenu-mode-map):
14183         Bind bookmark-bmenu-search to `/'.
14185         * mail/footnote.el: Convert to utf-8 encoding.
14186         (footnote-unicode-string, footnote-unicode-regexp): New variable.
14187         (Footnote-unicode): New function.
14188         (footnote-style-alist): Add unicode style to the list.
14189         (footnote-style): Doc fix.
14191 2011-05-10  Jim Meyering  <meyering@redhat.com>
14193         Fix doubled-word typos.
14194         * international/quail.el (quail-insert-kbd-layout): and and -> and
14195         * kermit.el: and and -> and
14196         * net/ldap.el (ldap-search-internal): to to -> to
14197         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14198         * progmodes/js.el (js-mode): and and -> and
14199         * textmodes/artist.el (artist-move-to-xy): at at -> at
14200         (artist-draw-region-trim-line-endings): if if -> if
14201         And Safetyc -> Safety.
14202         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14204 2011-05-10  Glenn Morris  <rgm@gnu.org>
14205             Stefan Monnier  <monnier@iro.umontreal.ca>
14207         * files.el (hack-one-local-variable-eval-safep):
14208         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
14210 2011-05-10  Glenn Morris  <rgm@gnu.org>
14212         * calendar/diary-lib.el (diary-list-entries-hook)
14213         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14214         (diary-nongregorian-marking-hook, diary-list-entries)
14215         (diary-include-other-diary-files, diary-mark-entries)
14216         (diary-mark-included-diary-files): Doc fixes.
14218 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
14220         * misc.el: Require tabulated-list.el during compilation.
14222 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
14224         * progmodes/compile.el (compilation-start):
14225         Run compilation-filter-hook for the async case too.
14226         (compilation-filter-hook): Doc fix.
14228 2011-05-09  Deniz Dogan  <deniz@dogan.se>
14230         * wdired.el: Remove outdated installation comment.  Fix usage
14231         comment.
14233 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
14235         * misc.el: Implement new command `list-dynamic-libraries'.
14236         (list-dynamic-libraries--loaded-only-p): New variable.
14237         (list-dynamic-libraries--refresh): New function.
14238         (list-dynamic-libraries): New command.
14240 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
14242         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14243         Fix the ant regexp to handle end-line and end-column info from jikes.
14244         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
14245         higher priority to avoid clobbering by gnu.
14247 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
14249         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14250         if the face has existing theme settings (Bug#8454).
14252 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
14254         * progmodes/perl-mode.el (perl-imenu-generic-expression):
14255         Only match variables declared via `my' or `our' (Bug#8261).
14257         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14258         special file names `.' and `..' (Bug#8259).
14260 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
14262         * progmodes/grep.el (grep-mode-font-lock-keywords):
14263         Remove buffer-changing entries.
14264         (grep-filter): New function.
14265         (grep-mode): Add it to compilation-filter-hook.
14267         * progmodes/compile.el (compilation-filter-hook)
14268         (compilation-filter-start): New defvars.
14269         (compilation-filter): Call compilation-filter-hook prior to
14270         updating the process mark.
14272 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14274         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14276 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
14278         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14279         mailclient-send-it even if window-system is nil.  (Bug#8595)
14281         * term/w32console.el (terminal-init-w32console):
14282         Call get-screen-color and use its output to set the frame
14283         background-mode.  (Bug#8597)
14285 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14287         Make bytecomp.el understand that defmethod defines funs (bug#8631).
14288         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14289         New functions.
14290         (defgeneric, eieio--defmethod): Use them.
14291         (eieio-defgeneric): Remove.
14292         (defmethod): Call defgeneric in a way visible to the byte-compiler.
14294 2011-05-07  Glenn Morris  <rgm@gnu.org>
14296         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14297         Use let rather than let*.
14298         (timeclock-find-discrep): Remove unused local.
14300         * calendar/diary-lib.el (diary-comment-start): Doc fix.
14302         * calendar/appt.el (appt-time-msg-list): Doc fix.
14304 2011-05-06  Noah Friedman  <friedman@splode.com>
14306         * apropos.el (apropos-print-doc): Only use
14307         emacs-lisp-docstring-fill-column when it is bound to an integer,
14308         per that variable's documentation.
14310 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14312         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14313         and warnings are not silently discarded (e.g. use -d instead of -P).
14315 2011-05-06  Glenn Morris  <rgm@gnu.org>
14317         * calendar/appt.el (appt-message-warning-time): Doc fix.
14318         (appt-warning-time-regexp): New option.
14319         (appt-make-list): Respect appt-message-warning-time.
14321         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14322         New options.
14323         (diary-add-to-list): Strip comments from the displayed string.
14324         (diary-mode): Set comment-start and comment-end.
14326         * vc/diff-mode.el (smerge-refine-subst): Declare.
14327         (diff-refine-hunk): Don't require smerge-mode when compiling.
14329 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
14331         * simple.el (list-processes): Return nil as the docstring says.
14333 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
14335         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14336         to "".
14337         (ange-ftp-write-region, ange-ftp-insert-file-contents)
14338         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14339         determining of binary transfer.  (Bug#7383)
14341 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
14343         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14344         Fix port computation bug.  (Bug#8618)
14346 2011-05-05  Glenn Morris  <rgm@gnu.org>
14348         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14350         * simple.el (shell-dynamic-complete-functions)
14351         (comint-dynamic-complete-functions): Declare.
14353         * net/network-stream.el (gnutls-negotiate):
14354         * simple.el (tabulated-list-print): Fix declarations.
14356         * progmodes/gud.el (syntax-symbol, syntax-point):
14357         Remove unnecessary and incorrect declarations.
14359         * emacs-lisp/check-declare.el (check-declare-scan):
14360         Handle byte-compile-initial-macro-environment in bytecomp.el
14362 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14364         Fix earlier half-done eieio-defmethod change (bug#8338).
14365         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14366         Streamline and change calling convention.
14367         (defmethod): Adjust accordingly and simplify.
14368         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14369         new eieio--defmethod.
14370         (slot-boundp): Minor CSE simplification.
14372 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
14374         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14375         (glasses-make-readable): Use glasses-separate-capital-groups.
14377 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
14379         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14380         (warning-series): Doc fix.
14381         (display-warning): Don't try to create the buffer if we just found it.
14383 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
14385         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14386         (autoload-find-generated-file): New function.
14387         (generate-file-autoloads): Bind generated-autoload-file to
14388         buffer-file-name.
14389         (update-file-autoloads, update-directory-autoloads):
14390         Use autoload-find-generated-file.  If called interactively, prompt for
14391         output file (Bug#7989).
14392         (batch-update-autoloads): Doc fix.
14394 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
14396         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14398 2011-05-04  Glenn Morris  <rgm@gnu.org>
14400         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14401         function, so it follows changes in calendar-date-style.
14402         (diary-fancy-date-matcher): New function.
14403         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14404         (diary-fancy-font-lock-fontify-region-function):
14405         Use diary-fancy-date-pattern as a function.
14407         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14408         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
14410 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
14412         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14413         instead of positional arguments.  Allow :keylist and :crlfiles
14414         arguments.
14415         (open-gnutls-stream): Call it.
14417         * net/network-stream.el (network-stream-open-starttls): Adjust to
14418         call `gnutls-negotiate' with :process and :hostname arguments.
14420 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14422         * minibuffer.el (completion--message): New function.
14423         (completion--do-completion, minibuffer-complete)
14424         (minibuffer-force-complete, minibuffer-complete-word): Use it.
14425         (completion--do-completion): Don't ignore completion-auto-help when in
14426         icomplete-mode.
14428         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14429         internal encoding (e.g. tibetan zero is not whitespace).
14430         (global-whitespace-mode): Prefer save-current-buffer.
14431         (whitespace-trailing-regexp): Remove useless save-match-data.
14432         (whitespace-empty-at-bob-regexp): Minor simplification.
14434 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
14436         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14438 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
14440         * textmodes/ispell.el (ispell-add-per-file-word-list):
14441         Use `concat' to create string for insertion.
14443 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14445         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14446         Avoid open-line which runs post-self-insert-hook.
14447         (bibtex-fill-entry): Remove unused `end' var.
14449 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
14451         * textmodes/ispell.el (ispell-add-per-file-word-list):
14452         Protect against `nil' value of `comment-start' (Bug#8579).
14454 2011-05-03  Leo Liu  <sdl.web@gmail.com>
14456         * isearch.el (isearch-yank-pop): New command.
14457         (isearch-mode-map): Bind it to `M-y'.
14458         (isearch-forward): Mention it.
14460 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14462         * simple.el (minibuffer-complete-shell-command): Remove.
14463         (minibuffer-local-shell-command-map): Use completion-at-point.
14464         (read-shell-command): Setup completion vars here instead.
14465         (read-expression-map): Bind TAB to symbol completion.
14467         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14468         error directly rather via storing it into `results'.
14470 2011-05-02  Leo Liu  <sdl.web@gmail.com>
14472         * vc/diff.el: Fix description.
14474 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14476         * server.el (server-eval-at): New function.
14478 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14480         * net/network-stream.el (open-network-stream): Take a :nowait
14481         parameter and pass it on to `make-network-process'.
14482         (network-stream-open-plain): Ditto.
14484 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14486         * faces.el (face-spec-set-match-display): Don't match toolkit
14487         options on terminal frames.
14489 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14491         * progmodes/pascal.el: Use lexical binding.
14492         (pascal-mode-map): Remove author preferences.
14494         * pcomplete.el (pcomplete-std-complete): Don't abuse
14495         completion-at-point.
14497 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
14499         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14500         removing code that has been dead since 1991 or so.
14502         * startup.el (command-line): When warning about "_emacs", use a
14503         delayed warning to allow the user to filter it out.
14505 2011-04-28  Deniz Dogan  <deniz@dogan.se>
14507         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14508         user has not joined.
14510 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14512         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14513         aren't any completions at point.
14515 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
14517         * subr.el (display-delayed-warnings): New function.
14518         (delayed-warnings-hook): New variable.
14520 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14522         * minibuffer.el (completion-at-point, completion-help-at-point):
14523         Don't presume that a given completion-at-point-function will always
14524         use the same calling convention.
14526         * pcomplete.el (pcomplete-completions-at-point):
14527         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
14528         pcomplete-seen is non-nil.
14529         (pcomplete-comint-setup): Also recognize the new comint/shell
14530         completion functions.
14531         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14532         pcomplete-seen is non-nil.
14534 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
14536         * calendar/icalendar.el (diary-lib): Add require statement.
14537         (icalendar--create-uid): Read out a uid from a text-property on
14538         the first character in the entry.  This allows for code to add its
14539         own uid to the entry.
14540         (icalendar--convert-float-to-ical): Add export of
14541         `diary-float'-entries save for those with the optional DAY
14542         argument.
14544 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
14546         * subr.el (shell-quote-argument): Use alternate escaping strategy
14547         when we spot a variable reference in a string.
14549 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
14551         * cus-start.el (all): Define customization for debug-on-event.
14553 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
14555         * subr.el (shell-quote-argument): Escape correctly under Windows.
14557 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14559         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14561 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
14563         * net/tramp.el (tramp-process-actions): Add POS argument.
14564         Delete region between POS and (pos).
14566         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14567         Use `nil' position in `tramp-process-actions' call.
14568         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14570         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14571         position in `tramp-process-actions' call.
14573         * net/trampver.el: Update release number.
14575 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14577         * custom.el (defcustom): Obey lexical-binding.
14579         Fix octave-inf completion problems reported by Alexander Klimov.
14580         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14581         Inherit from octave-mode-syntax-table.
14582         (inferior-octave-mode): Set info-lookup-mode.
14583         (inferior-octave-completion-at-point): New function.
14584         (inferior-octave-complete): Use it and completion-in-region.
14585         (inferior-octave-dynamic-complete-functions): Use it as well, and use
14586         comint-filename-completion.
14587         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14588         symbol elements which shouldn't be word elements.
14589         (octave-font-lock-keywords, octave-beginning-of-defun)
14590         (octave-function-header-regexp): Adjust regexps accordingly.
14591         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14593 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
14595         * net/gnutls.el (gnutls-errorp): Declare before first use.
14597 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
14599         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14600         verify-error, and verify-hostname-error parameters.  Check whether
14601         default trustfile exists before going to use it.  Add missing
14602         argument to gnutls-message-maybe call.  Return value.
14603         Reported by Claudio Bley <claudio.bley@gmail.com>.
14604         (open-gnutls-stream): Add usage example.
14606         * net/network-stream.el (network-stream-open-starttls): Give host
14607         parameter to `gnutls-negotiate'.
14608         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14609         * subr.el (shell-quote-argument): Escape correctly under Windows.
14611 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
14613         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14614         Use correct match group (bug#8438).
14616 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
14618         * emacs-lisp/package.el (package-built-in-p): Fix typo.
14619         (package-menu--generate): New arg specifying packages to show.
14620         (package-menu-refresh, package-menu-execute, list-packages):
14621         Callers changed.
14622         (package-show-package-list): New function, replacing deleted
14623         package--list-packages (renamed because it is non-internal).
14625         * finder.el (finder-list-matches): Use package-show-package-list
14626         instead of deleted package--list-packages.
14628         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14629         Based on a previous implementation by Juanma Barranquero (Bug#8366).
14630         (vc-annotate-mode-map): Bind it to RET.
14632 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
14634         * progmodes/etags.el (next-file): Don't use set-buffer to change
14635         buffers (Bug#8478).
14637 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
14639         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14641         * apropos.el (apropos-label-face): Avoid variable-pitch face.
14642         (apropos-accumulator): Doc fix.
14643         (apropos-function, apropos-macro, apropos-command)
14644         (apropos-variable, apropos-face, apropos-group, apropos-widget)
14645         (apropos-plist): Add face property.
14646         (apropos-symbols-internal): Fix indentation.
14647         (apropos-print): Simplify help, and recognize apropos-multi-type.
14648         (apropos-print-doc): Use button-type-get to extract the button's
14649         face property.  Fill docstring (Bug#8352).
14651 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
14653         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14655         * play/mpuz.el (mpuz-silent): Doc fix.
14656         (mpuz-mode-map): Use mapc.
14657         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14658         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14659         Fix typos in docstrings.
14661         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14662         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14664         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14666 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
14668         * minibuffer.el (completion--do-completion): Avoid the "Next char
14669         not unique" prompt if icomplete-mode is enabled (Bug#5849).
14671         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14672         mouse-2 into unread-command-events, it is interpreted correctly.
14674         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14675         (image-toggle-display): Doc fix.
14677 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
14679         * textmodes/page.el (what-page): Use line-number-at-pos to
14680         calculate line number (Bug#6825).
14682 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
14684         * eshell/esh-mode.el (find-tag-interactive): Declare function.
14685         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14686         Pass argument NO-DEFAULT to `find-tag-interactive'.
14688 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
14690         Lexical-binding cleanup.
14692         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14693         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14694         * progmodes/ada-prj.el (ada-prj-initialize-values)
14695         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14696         (ada-prj-show-value):
14697         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14698         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14699         (antlr-invalidate-context-cache, antlr-options-menu-filter)
14700         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14701         * progmodes/bug-reference.el (bug-reference-push-button):
14702         * progmodes/fortran.el (fortran-line-length):
14703         * progmodes/glasses.el (glasses-change):
14704         * progmodes/octave-mod.el (octave-fill-paragraph):
14705         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14706         (python-pdbtrack-grub-for-buffer, python-sentinel):
14707         * progmodes/sql.el (sql-save-connection):
14708         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14709         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14710         Mark unused parameters.
14712         * progmodes/compile.el (compilation--flush-directory-cache)
14713         (compilation--flush-parse, compile-internal): Mark unused parameters.
14714         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14715         (compilation-next-error-function): Remove unused variable `timestamp'.
14717         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14718         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14720         * progmodes/dcl-mode.el (dcl-end-of-command):
14721         Remove unused variable `start'.
14722         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14723         (dcl-option-value-basic, dcl-option-value-offset)
14724         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14725         Mark unused parameters.
14726         (dcl-save-local-variable): Remove unused variable `val'.
14727         (mode): Declare.
14729         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14730         Mark unused parameters.
14731         (delphi-ignore-changes): Move before first use.
14732         (delphi-charset-token-at): Remove unused variable `start'.
14733         (delphi-else-start): Remove unused variable `if-count'.
14734         (delphi-comment-block-start, delphi-comment-block-end):
14735         Remove unused variable `kind'.
14736         (delphi-indent-line): Remove unused variable `new-point'.
14738         * progmodes/ebrowse.el (ebrowse-files-list)
14739         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14740         Mark unused parameters.  Don't quote `lambda'.
14741         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14742         Don't quote `lambda'.
14743         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14744         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14745         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14746         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14747         Use `ignore-errors'.
14748         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14749         (ebrowse-view/find-file-and-search-pattern)
14750         (ebrowse-view/find-member-declaration/definition):
14751         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14752         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14753         Rename parameter PREFIX-ARG to PREFIX.
14754         (ebrowse-tags-read-name): Remove unused variables `start' and
14755         `member-info'.
14756         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14757         to `tags-file'.
14759         * progmodes/etags.el (local-find-tag-hook): Declare.
14760         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14761         Mark unused parameters.
14763         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14764         (executable-interpret): Mark unused parameter.
14766         * progmodes/flymake.el (flymake-process-sentinel)
14767         (flymake-after-change-function)
14768         (flymake-create-temp-with-folder-structure)
14769         (flymake-get-include-dirs-dot): Mark unused parameters.
14770         (flymake-safe-delete-directory): Remove unused variable `err'.
14772         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14773         (speedbar-timer-fn, speedbar-line-text)
14774         (speedbar-change-expand-button-char, speedbar-delete-subblock)
14775         (speedbar-center-buffer-smartly): Declare functions.
14776         (gdb-find-watch-expression): Remove unused variable `array'.
14777         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14778         (gdb-starting): Mark unused parameters.
14779         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14780         (gdb-table-string): Remove unused variable `res'.
14781         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14782         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14783         (gdb-display-buffer): Remove unused variable `cur-size'.
14785         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14786         allow lexical-binding compilation.
14787         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14788         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14789         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14790         Mark unused parameters.
14791         (gud-gdb-marker-filter): Remove unused variable `match'.
14792         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14793         lambda expressions and funcall them, instead of using `fset'.
14795         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14796         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14798         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14799         variable `header-beg'; use `let'.
14801         * progmodes/icon.el (indent-icon-exp): Remove unused variables
14802         `restart', `last-sexp' and `at-do'.
14804         * progmodes/js.el (js--debug): Mark unused parameter.
14805         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14806         (js--splice-into-items): Remove unused variable `item'.
14807         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14809         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14810         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14811         (makefile-complete): Remove unused variable `try'.
14812         (makefile-fill-paragraph, makefile-match-function-end):
14813         Mark unused parameters.
14815         * progmodes/octave-inf.el (inferior-octave-complete):
14816         Remove unused variable `proc'.
14817         (inferior-octave-output-digest): Mark unused parameter.
14819         * progmodes/perl-mode.el (perl-calculate-indent):
14820         Remove unused variable `err'.
14822         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14823         (prolog-indent-line): Mark unused parameters.
14824         (prolog-indent-line): Remove unused variable `beg'.
14826         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14827         (reporter-dont-compact-list): Declare.
14829         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14830         Remove unused variable `char'.
14831         (sh-debug): Mark unused parameter.
14832         (sh-get-indent-info): Remove unused variable `start'.
14833         (sh-calculate-indent): Remove unused variable `var'.
14835         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14836         (simula-electric-keyword): Remove unused variable `null'.
14837         (simula-search-backward, simula-search-forward): Remove unused
14838         variables `begin' and `end'.
14840         * progmodes/vera-mode.el (vera-guess-basic-syntax):
14841         Remove unused variable `pos'.
14842         (vera-electric-tab, vera-comment-uncomment-region):
14843         Mark unused parameters.
14844         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14846 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
14848         * emacs-lisp/package.el (package--builtins, package-alist)
14849         (package-load-descriptor, package-built-in-p, package-activate)
14850         (define-package, package-installed-p)
14851         (package-compute-transaction, package-buffer-info)
14852         (package--push): Doc fix.  Distinguish more clearly between
14853         version strings and version lists.
14855 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
14857         Lexical-binding cleanup.
14859         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14860         (5x5-make-mutate-best):
14861         * play/fortune.el (fortune-in-buffer):
14862         * play/gomoku.el (gomoku-init-display):
14863         * play/solitaire.el (solitaire, solitaire-do-check):
14864         * play/tetris.el (tetris-default-update-speed-function):
14865         Mark unused parameters.
14867         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14868         (bubbles--shift): Remove unused variable `char-org'.
14869         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
14870         (bubbles--show-images): Remove unused variable `char'.
14872         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14873         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14874         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14875         (decipher-analyze-buffer): Use ?\s.
14876         (decipher-make-checkpoint): Remove unused variable `mapping'.
14878         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14880         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14881         Remove unused variable `result'; use `let'.
14883         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14884         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14885         (gametree-children-shown-p, gametree-compute-reduced-score):
14886         Use `ignore-errors'.
14888         * play/handwrite.el (ps-lpr-switches): Declare.
14889         (handwrite): Remove unused variables `pmin' and `lastp'.
14891         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14893         * play/landmark.el (landmark-init-display)
14894         (landmark-update-naught-weights): Mark unused parameters.
14895         (landmark-y): Remove unused variable `noise'.  Simplify.
14896         (landmark-human-plays): Remove unused variable `score'.
14898         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14899         (mpuz-try-proposal): Remove unused variable `game'.
14901         * play/zone.el (life-patterns): Declare.
14903 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
14905         * vc/vc.el (ediff-vc-internal): Declare function.
14907 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14909         * shell.el: Use lexical-binding and std completion UI.
14910         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14911         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14912         comint-preoutput-filter-functions rather than on
14913         comint-output-filter-functions.
14914         (shell-command-completion, shell--command-completion-data)
14915         (shell-filename-completion, shell-environment-variable-completion)
14916         (shell-c-a-p-replace-by-expanded-directory): New functions.
14917         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14918         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14919         (shell-dynamic-complete-environment-variable): Use them.
14920         (shell-dynamic-complete-as-environment-variable)
14921         (shell-dynamic-complete-as-command): Remove.
14922         (shell-match-partial-variable): Match past point.
14923         * comint.el: Clean up use of completion-at-point-functions.
14924         (comint-completion-at-point): New function.
14925         (comint-mode): Use it completion-at-point-functions.
14926         (comint-dynamic-complete): Make it obsolete.
14927         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14928         (comint-c-a-p-replace-by-expanded-history): New function.
14929         (comint-dynamic-complete-functions)
14930         (comint-replace-by-expanded-history): Use it.
14931         * minibuffer.el (completion-table-with-terminator): Allow dynamic
14932         termination strings.  Try harder to avoid second try-completion.
14933         (completion-in-region-mode-map): Disable bindings that don't work yet.
14935         * comint.el: Use lexical-binding.  Require CL.
14936         (comint-dynamic-complete-functions): Use comint-filename-completion.
14937         (comint-completion-addsuffix): Tweak custom type.
14938         (comint-filename-completion, comint--common-suffix)
14939         (comint--common-quoted-suffix, comint--table-subvert)
14940         (comint--complete-file-name-data): New functions.
14941         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14942         (comint-dynamic-list-filename-completions): Use them.
14943         (comint-dynamic-simple-complete): Make obsolete.
14945         * minibuffer.el (completion-in-region-mode):
14946         Keep completion-in-region-mode--predicate global.
14947         (completion-in-region--postch):
14948         Assume completion-in-region-mode--predicate is not null.
14950         * progmodes/flymake.el (flymake-start-syntax-check-process):
14951         Obey `dir'.  Simplify.
14953         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14954         we're in VC after all.
14956 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
14958         * vc/vc.el (vc-diff-build-argument-list-internal)
14959         (vc-version-ediff, vc-ediff): New commands.
14960         (vc-version-diff): Use vc-diff-build-argument-list-internal.
14962 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14964         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14965         add sanity check.
14967         * obsolete/erc-hecomplete.el: Make obsolete.
14968         * obsolete/: Standardize obsolescence info in the header.
14970 2011-04-20  Glenn Morris  <rgm@gnu.org>
14972         * calendar/solar.el (solar-horizontal-coordinates):
14973         Use the longitude argument rather than `calendar-longitude'.
14974         (solar-date-next-longitude): Remove unused locals.
14976 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14978         * whitespace.el: New version 13.2.1.
14980 2011-04-20  felix  <EmacsWiki>  (tiny change)
14982         * whitespace.el (global-whitespace-mode): Keep highlight when
14983         switching between major modes on a file.
14985 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14987         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14988         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14989         multi-line comments as well.
14991 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
14993         Lexical-binding cleanup.
14995         * arc-mode.el (archive-mode-revert):
14996         * cmuscheme.el (scheme-interactively-start-process):
14997         * custom.el (custom-initialize-delay):
14998         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14999         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15000         * emacs-lock.el (emacs-lock-clear-sentinel):
15001         * ezimage.el (defezimage):
15002         * follow.el (follow-avoid-tail-recenter):
15003         * fringe.el (set-fringe-mode-1):
15004         * generic-x.el (bat-generic-mode-compile):
15005         * help-mode.el (help-info-variable, help-do-xref)
15006         (help-mode-revert-buffer):
15007         * help.el (view-emacs-todo):
15008         * iswitchb.el (iswitchb-completion-help):
15009         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15010         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15011         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15012         * locate.el (locate-update):
15013         * longlines.el (longlines-encode-region)
15014         (longlines-after-change-function):
15015         * outline.el (outline-isearch-open-invisible):
15016         * ps-def.el (declare-function, charset-dimension, char-width)
15017         (encode-char):
15018         * ps-mule.el (ps-mule-plot-string):
15019         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15020         (recentf-edit-list-select, recentf-edit-list-validate)
15021         (recentf-open-files-action):
15022         * rect.el (delete-whitespace-rectangle-line)
15023         (rectangle-number-line-callback):
15024         * register.el (window-configuration-to-register)
15025         (frame-configuration-to-register):
15026         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15027         * select.el (xselect-convert-to-string, xselect-convert-to-length)
15028         (xselect-convert-to-targets, xselect-convert-to-delete)
15029         (xselect-convert-to-filename, xselect-convert-to-charpos)
15030         (xselect-convert-to-lineno, xselect-convert-to-colno)
15031         (xselect-convert-to-os, xselect-convert-to-host)
15032         (xselect-convert-to-user, xselect-convert-to-class)
15033         (xselect-convert-to-name, xselect-convert-to-integer)
15034         (xselect-convert-to-atom, xselect-convert-to-identity):
15035         * subr.el (declare, ignore, process-kill-without-query)
15036         (text-clone-maintain):
15037         * terminal.el (te-get-char, te-tic-sentinel):
15038         * tool-bar.el (tool-bar-make-keymap):
15039         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15040         * type-break.el (type-break-mode, type-break-noninteractive-query):
15041         * view.el (View-back-to-mark):
15042         * wid-browse.el (widget-browse-action, widget-browse-widget)
15043         (widget-browse-widgets, widget-browse-sexp):
15044         * widget.el (define-widget-keywords):
15045         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15046         Mark unused parameters.
15048         * align.el (align-adjust-col-for-rule): Mark unused parameter.
15049         (align-areas): Remove unused variable `look'.
15050         (align-region): Remove unused variables `real-end' and `pos-list'.
15052         * apropos.el (apropos-score-doc): Remove unused variable `i'.
15054         * bindings.el (mode-line-modified, mode-line-remote):
15055         Mark unused parameters.
15056         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15058         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15059         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15061         * comint.el (comint-history-isearch-pop-state)
15062         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15063         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15064         (comint-substitute-in-file-name): Doc fix.
15066         * completion.el (cmpl-statistics-block): Mark unused parameter.
15067         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15068         (save-completions-to-file, load-completions-from-file):
15069         Remove unused local variable `e'.
15071         * composite.el (compose-chars): Remove unused variable `len'.
15072         (lgstring-insert-glyph): Remove unused variable `g'.
15073         (compose-glyph-string): Remove unused variables `ascent',
15074         `descent', `lbearing' and `rbearing'.
15075         (compose-glyph-string-relative): Remove unused variables
15076         `lbearing', `rbearing' and `wadjust'.
15077         (compose-gstring-for-graphic): Remove unused variables `header',
15078         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
15079         (compose-gstring-for-terminal): Remove unused variables `header'
15080         and `nchars'.  Use `let', not `let*'.
15082         * cus-edit.el (Custom-set, Custom-save, custom-reset)
15083         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15084         (Custom-buffer-done, custom-buffer-create-internal)
15085         (custom-browse-visibility-action, custom-browse-group-tag-action)
15086         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15087         (widget-magic-mouse-down-action, custom-toggle-parent)
15088         (custom-add-parent-links, custom-toggle-hide-variable)
15089         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15090         (custom-toggle-hide-face, face, hook, custom-group-link-action)
15091         (custom-face-menu-create, custom-variable-menu-create, get)
15092         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15093         (custom-reset-standard-save-and-update): Remove unused variable `value'.
15094         (customize-apropos): Remove unused variable `tests'.
15095         (custom-group-value-create): Remove unused variable `hidden-p'.
15096         (sort-fold-case): Declare.
15098         * cus-theme.el (custom-reset-standard-faces-list)
15099         (custom-reset-standard-variables-list): Declare.
15100         (customize-create-theme, custom-theme-revert, custom-theme-write)
15101         (custom-theme-choose-mode, customize-themes, custom-theme-save):
15102         Mark unused parameters.
15104         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15106         * delim-col.el (delimit-columns-max): Move defvar before first use.
15108         * descr-text.el (describe-char-categories): Don't quote `lambda'.
15109         (describe-char): Don't quote `lambda'.  Mark unused parameter.
15111         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15112         (auto-insert): Declare.
15113         (desktop-restore-file-buffer): Rename desktop-* parameters;
15114         mark unused ones.
15115         (desktop-create-buffer): Rename desktop-* parameters and bind them.
15116         (desktop-buffer): Rename desktop-* parameters.
15118         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15119         (dframe-reposition-frame-xemacs, dframe-help-echo)
15120         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15121         Mark unused parameters.
15123         * dired-aux.el (backup-extract-version-start, overwrite-query)
15124         (overwrite-backup-query, rename-regexp-query)
15125         (rename-non-directory-query): Declare.
15126         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15127         (dired-add-entry): Remove unused variable `orig-file-name'.
15128         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15129         Use parameter PRESERVE-TIME instead of accessing dynamic variable
15130         `dired-copy-preserve-time' directly.
15131         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15132         (dired-insert-subdir-newpos): Rename unused variable `pos'.
15134         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15135         (dired-virtual-revert, dired-make-relative-symlink):
15136         Mark unused parameters.
15137         (manual-program): Declare.
15138         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15139         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15140         wrapped in `with-no-warnings' to avoid replacing one warning by another.
15142         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15144         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15146         * echistory.el (electric-history-in-progress, Helper-return-blurb):
15147         Declare.
15149         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15151         * electric.el (Electric-command-loop): Rename parameter
15152         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15154         * expand.el (expand-in-literal): Remove unused variable `here'.
15156         * facemenu.el (facemenu-add-new-color):
15157         Remove unused variable `docstring'.
15159         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15160         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15161         (face-attr-construct): Mark unused parameter.  Doc fix.
15162         (read-color): Remove unused variable `hex-string'.
15164         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15165         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15166         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15167         (display-buffer-other-frame): Remove unused variable `old-window'.
15168         (kill-buffer-hook): Declare.
15169         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15170         Mark unused parameters.
15171         (after-find-file): Pass 1 to `auto-save-mode', not t.
15173         * files-x.el (auto-insert): Declare.
15174         (modify-file-local-variable-prop-line): Remove unused variable `val'.
15176         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15177         variable `buf'.  Mark unused parameter.
15178         (find-lisp-insert-directory): Mark unused parameter.
15180         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15181         (format-encode-region): Remove unused variables `cur-buf' and `result'.
15182         (format-common-tail): Remove, unused.
15183         (format-deannotate-region): Remove unused variable `loc'.
15184         (format-annotate-region): Remove unused variable `p'.
15185         (format-annotate-single-property-change): Remove unused variables
15186         `default' and `tail'.
15188         * forms.el (read-file-filter): Declare.
15189         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15191         * frame.el (frame-creation-function-alist): Mark unused parameter.
15192         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15194         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15195         Remove unused parameters.
15196         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15197         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15199         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15200         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15201         (hfy-prepare-tag-map): Mark unused parameters.
15202         (htmlfontify-buffer): Use `called-interactively-p'.
15204         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15205         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15206         (ibuffer-do-occur): Mark unused parameters.
15207         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15208         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15210         * ibuffer.el: Don't quote `lambda'.
15211         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15212         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15213         Mark unused parameters.
15215         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15216         (ido-completing-read): Mark unused parameters.
15217         (ido-copy-current-word): Mark unused parameters;
15218         remove unused variable `name'.
15219         (ido-sort-merged-list): Remove unused parameter `dirs'.
15221         * ielm.el (ielm-input-sender): Mark unused parameter.
15222         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15223         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15224         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15225         `ielm-string' as a dynamic variable accessible from the IELM prompt.
15226         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
15228         * image-dired.el (image-dired-display-thumbs): Remove unused
15229         variables `curr-file' and `count'.
15230         (image-dired-remove-tag): Remove unused variable `start'.
15231         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15232         variable `curr-file'
15233         (image-dired-rotate-original): Remove unused variable `temp-file'.
15234         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15235         Remove unused variable `file'.
15236         (image-dired-gallery-generate): Remove unused variable `curr'.
15237         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15239         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15241         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15243         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15245         * isearch.el (minibuffer-history-symbol): Declare.
15246         (isearch-edit-string): Remove unused variable `err'.
15247         (isearch-message-prefix, isearch-message-suffix):
15248         Mark unused parameters.
15250         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15252         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15254         * makesum.el (double-column): Remove unused variable `cnt'.
15256         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15257         (ido-ignore-item-temp-list): Declare.
15259         * mouse-drag.el (mouse-drag-throw): Remove unused variables
15260         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15261         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15262         (mouse-drag-drag): Remove unused variables `mouse-delta' and
15263         `mouse-col-delta'.
15265         * mouse-sel.el (mouse-extend-internal):
15266         Remove unused variable `orig-window-frame'.
15268         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15269         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15270         Move declarations before first use.
15271         (pcomplete-opt): Mark unused parameters; doc fix.
15273         * proced.el (proced-revert): Mark unused parameter.
15274         (proced-send-signal): Remove unused variable `err'.
15276         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15277         Rename parameter PREFIX-ARG to ARG.
15278         (ps-basic-plot-string, ps-basic-plot-whitespace):
15279         Mark unused parameters.
15281         * replace.el (replace-count): Define.
15282         (occur-revert-function): Mark unused parameters.
15283         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15284         (isearch-case-fold-search, isearch-string): Declare.
15285         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15286         bind `case-fold-search'.  Remove unused variables `beg' and `end',
15287         and simplify.
15288         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15289         COUNT and bind `replace-count'.
15290         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15291         to COUNT.
15293         * savehist.el (print-readably, print-string-length): Declare.
15295         * shadowfile.el (shadow-expand-cluster-in-file-name):
15296         Remove unused variable `cluster'.
15297         (shadow-copy-file): Remove unused variable `i'.
15298         (shadow-noquery, shadow-clusters, shadow-site-cluster)
15299         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15300         (shadow-define-literal-group, shadow-define-regexp-group)
15301         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15303         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15304         (shell): Use `called-interactively-p'.
15305         (shell-directory-tracker): Remove unused variable `chdir-failure'.
15307         * simple.el (compilation-context-lines, comint-file-name-quote-list)
15308         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15309         (delete-backward-char): Remove unused variable `ocol'.
15310         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15311         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15312         (event-apply-hyper-modifier, event-apply-shift-modifier)
15313         (event-apply-control-modifier, event-apply-meta-modifier):
15314         Mark unused parameters.
15315         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15316         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15318         * speedbar.el (speedbar-ignored-directory-expressions)
15319         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15320         (speedbar-find-file, speedbar-dir-follow)
15321         (speedbar-directory-buttons-follow, speedbar-tag-find)
15322         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15323         (speedbar-buffers-line-directory, speedbar-buffer-click):
15324         Mark unused parameters.
15325         (speedbar-tag-file): Remove unused variable `mode'.
15326         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15328         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15330         * talk.el (talk): Remove unused variable `display'.
15332         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15333         (tar-write-region-annotate): Mark unused parameter.
15335         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15336         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15337         Declare them, wrapped in `with-no-warnings' to avoid replacing one
15338         warning by another.
15340         * time-stamp.el (time-stamp-string-preprocess):
15341         Remove unused variable `require-padding'.
15343         * tree-widget.el (widget-glyph-enable): Declare.
15344         (tree-widget-action): Mark unused parameter.
15346         * w32-fns.el (x-get-selection): Mark unused parameter.
15347         (autoload-make-program, generated-autoload-file): Declare.
15349         * wdired.el (wdired-revert): Mark unused parameters.
15350         (wdired-xcase-word): Remove unused variable `err'.
15352         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15353         (whitespace-help-scroll): Remove unused variable `data-help'.
15355         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15356         (widget-image-insert, widget-after-change, default)
15357         (widget-default-format-handler, widget-default-notify)
15358         (widget-default-prompt-value, widget-info-link-action)
15359         (widget-url-link-action, widget-function-link-action)
15360         (widget-variable-link-action, widget-file-link-action)
15361         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15362         (widget-field-prompt-internal, widget-field-action, widget-field-match)
15363         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15364         (widget-insert-button-action, widget-delete-button-action, visibility)
15365         (widget-documentation-link-action, widget-documentation-string-action)
15366         (widget-const-prompt-value, widget-regexp-match, symbol)
15367         (widget-coding-system-prompt-value)
15368         (widget-key-sequence-value-to-external, sexp)
15369         (widget-sexp-value-to-internal, character, vector, cons)
15370         (widget-choice-prompt-value, widget-boolean-prompt-value)
15371         (widget-color--choose-action): Mark unused parameters.
15372         (widget-item-match-inline, widget-choice-match-inline)
15373         (widget-checklist-match, widget-checklist-match-inline)
15374         (widget-group-match): Rename parameter VALUES to VALS.
15375         (widget-field-value-set): Remove unused variable `size'.
15376         (widget-color-action): Remove unused variables `value' and `start'.
15378         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15379         variable `dir'.  Doc fix.
15380         (windmove-find-other-window): Don't pass it.
15382         * window.el (count-windows): Mark unused parameter.
15383         (bw-adjust-window): Remove unused variable `err'.
15385         * woman.el (woman-file-name): Remove unused variable `default'.
15386         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15387         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15388         (global-font-lock-mode): Declare.
15389         (woman-decode-region): Mark unused parameter.
15390         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15392         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15393         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15394         (x-dnd-handle-moz-url): Remove unused variable `title'.
15395         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15397         * xml.el (xml-parse-tag, xml-parse-attlist):
15398         Remove unused variable `pos'.
15400 2011-04-19  Glenn Morris  <rgm@gnu.org>
15402         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15403         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15404         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15405         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15406         * calendar/cal-html.el (cal-html-insert-minical):
15407         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15408         (calendar-mark-date-pattern):
15409         Prefix "unused" locals.
15411         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15412         optional argument `style'.
15414         * calendar/appt.el (appt-make-list):
15415         * calendar/cal-china.el (calendar-chinese-date-string):
15416         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15417         (diary-hebrew-yahrzeit):
15418         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15419         * calendar/calendar.el (calendar-generate-window):
15420         * calendar/time-date.el (time-to-days):
15421         Remove unused local variables.
15423 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
15425         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15426         glyphless-char-display table.
15427         (tabulated-list-glyphless-char-display): New var.
15429 2011-04-18  Sam Steingold  <sds@gnu.org>
15431         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15432         to acknowledgments.
15434 2011-04-17  Glenn Morris  <rgm@gnu.org>
15436         * calendar/diary-lib.el (diary-sexp-entry):
15437         * calendar/holidays.el (holiday-sexp):
15438         Set debug-on-error rather than the removed stack-trace-on-error.
15440 2011-04-16  Glenn Morris  <rgm@gnu.org>
15442         * progmodes/f90.el: Use lexical-binding.
15443         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15445 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15447         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15448         (mail-mode): Setup mailalias completion here instead.
15449         * mail/mailalias.el: Use lexical-binding.
15450         (pattern, mailalias-done): Declare dynamic.
15451         (mail-completion-at-point-function): New function, from mail-complete.
15452         (mail-complete): Use it.
15453         (mail-completion-expand): New function.
15454         (mail-get-names): Use it.
15455         (mail-directory, mail-directory-process, mail-directory-stream):
15456         Don't use `pattern' for lexically bound arg.
15458         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15460         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15461         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15462         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15464         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15465         (byte-save-window-excursion, byte-temp-output-buffer-setup)
15466         (byte-interactive-p): Define them again, for use when inlining
15467         old code.
15469 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
15471         * loadup.el: Use `string-to-number', not `string-to-int'.
15473 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15475         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15476         gud-gdb-complete-command.
15477         (gud-gdb-completions): New function, from gud-gdb-complete-command.
15478         (gud-gdb-completion-at-point): New function.
15479         (gud-gdb-completions): Remove.
15481 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
15483         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15484         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
15485         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15486         whether `executable-find' is bound.
15488         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15490 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15492         * minibuffer.el (completion-in-region-mode-predicate)
15493         (completion-in-region-mode--predicate): New vars.
15494         (completion-in-region, completion-in-region--postch)
15495         (completion-in-region-mode): Use them.
15496         (completion--capf-wrapper): Also return the hook function.
15497         (completion-at-point, completion-help-at-point):
15498         Adjust and provide a predicate.
15500         Preserve arg names for advice of subr and lexical functions (bug#8457).
15501         * help-fns.el (help-function-arglist): Consolidate the subr and
15502         new-byte-code cases.  Add argument `preserve-names' to extract names
15503         from the docstring when needed.
15504         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15505         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15506         (ad-arglist): Use help-function-arglist's new arg.
15507         (ad-definition-type): Use cond.
15509 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
15511         * autorevert.el (auto-revert-handler):
15512         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15513         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15514         Don't quote lambda.
15516         * image-mode.el (image-transform-set-scale):
15517         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15519 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15521         * net/network-stream.el (network-stream-open-starttls): Only do
15522         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15523         Upgrades via gnutls-cli are too slow to be done opportunistically.
15525 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
15527         * dframe.el (dframe-current-frame): Remove spurious quote.
15529 2011-04-12  Glenn Morris  <rgm@gnu.org>
15531         * calendar/cal-tex.el (cal-tex-end-document):
15532         Try to automatically use latin1 input if needed.
15534         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15535         Don't try to cons a mark onto an empty element.
15537 2011-04-11  Leo Liu  <sdl.web@gmail.com>
15539         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15540         buffers.
15541         (ido-kill-buffer-at-head): Support killing virtual buffers.
15543 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
15545         * minibuffer.el (completion-show-inline-help): New var.
15546         (completion--do-completion, minibuffer-complete)
15547         (minibuffer-force-complete, minibuffer-complete-word):
15548         Inhibit minibuffer messages if completion-show-inline-help is nil.
15550         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15551         to avoid interference from inline help (Bug#5849).
15553 2011-04-10  Leo Liu  <sdl.web@gmail.com>
15555         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15556         Fix typo.
15558 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
15560         * image-mode.el (image-toggle-display-image): Signal an error if
15561         not in Image mode.
15562         (image-transform-mode, image-transform-resize)
15563         (image-transform-set-rotation): Doc fix.
15564         (image-transform-set-resize): Delete.
15565         (image-transform-set-scale, image-transform-fit-to-height)
15566         (image-transform-fit-to-width): Handle image-toggle-display-image
15567         and image-transform-resize directly.
15569 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
15571         * doc-view.el (doc-view-fit-width-to-window)
15572         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15573         New functions for fitting the shown image to the Emacs window size.
15574         (doc-view-mode-map): Add bindings for the new functions.
15576 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
15578         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15579         Fix typo in docstring.
15581 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
15583         * files.el (file-size-human-readable): Produce one digit after
15584         decimal, like "ls -lh" does.
15586         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15587         the file size representation.
15589         * simple.el (list-processes): If async subprocesses are not
15590         available, error out with a clear error message.
15592 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
15594         * help.el (help-form-show): New function, to be called from C.
15595         Put help-form output in a buffer named differently than *Help*.
15597 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
15599         * files.el (file-size-human-readable): New function.
15601         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15602         computing the representation inline.  Don't require `cl'.
15604 2011-04-08  Glenn Morris  <rgm@gnu.org>
15606         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15608         * net/browse-url.el (browse-url-firefox):
15609         Test system-type, not system-configuration.
15611         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15612         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15613         Use log-edit-empty-buffer-p.  (Bug#7598)
15615         * net/rlogin.el (rlogin-process-connection-type): Simplify.
15616         (rlogin-mode-map): Initialize in the defvar.
15617         (rlogin): Use ignore-errors.
15619         * replace.el (occur-mode-map): Some fixes for menu items.
15621 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
15623         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
15625 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
15627         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15628         issuing unused warnings.
15630         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15631         macro directly.
15633         * simple.el: Lisp reimplement of list-processes.  Based on an
15634         earlier reimplementation by Leo Liu, but using tabulated-list.el.
15635         (process-menu-mode): New major mode.
15636         (list-processes--refresh, list-processes):
15637         (process-menu-visit-buffer): New functions.
15639         * files.el (save-buffers-kill-emacs): Don't assume any return
15640         value of list-processes, which is undocumented anyway.
15642 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
15644         * emacs-lisp/tabulated-list.el: New file.
15646         * emacs-lisp/package.el: Use Tabulated List mode.
15647         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15648         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
15649         table format using Tabulated List mode variables.
15650         (package--push): New macro, replacing package-list-maybe-add.
15651         (package-menu--generate): Use package--push.  Renamed from
15652         package--generate-package-list.
15653         (package-menu-refresh, list-packages): Use it.
15654         (package-menu--print-info): Rename from package-print-package.
15655         Return insertion data instead of inserting it directly.
15656         (package-menu-describe-package, package-menu-execute):
15657         Use tabulated-list-get-id.
15658         (package-menu-mark-delete, package-menu-mark-install)
15659         (package-menu-mark-unmark, package-menu-backup-unmark)
15660         (package-menu-mark-obsolete-for-deletion):
15661         Use tabulated-list-put-tag.
15662         (package--list-packages, package-menu-revert)
15663         (package-menu-get-package, package-menu-get-version)
15664         (package-menu-sort-by-column): Functions deleted.
15665         (package-menu-package-list, package-menu-sort-key): Vars deleted.
15666         (package-menu--status-predicate, package-menu--version-predicate)
15667         (package-menu--name-predicate)
15668         (package-menu--description-predicate): Handle arguments in the
15669         Tabulated List format.
15670         (package-list-packages-no-fetch): Call list-packages.
15672 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
15674         * files.el (after-find-file-from-revert-buffer): Remove variable.
15675         (after-find-file): Don't bind it.
15676         (revert-buffer-in-progress-p): New variable.
15677         (revert-buffer): Bind it.
15678         Pass nil for `after-find-file-from-revert-buffer'.
15680         * saveplace.el (save-place-find-file-hook): Use new variable
15681         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15683 2011-04-06  Glenn Morris  <rgm@gnu.org>
15685         * Makefile.in (AUTOGEN_VCS): New variable.
15686         (autoloads): Use $AUTOGEN_VCS.
15688         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15689         * calendar/calendar.el (calendar-mode-map):
15690         Check for toolkit scroll bars.  (Bug#8305)
15692 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
15694         * minibuffer.el (completion-in-region--postch)
15695         (completion-in-region-mode): Remove unnecessary messages.
15697 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
15699         * font-lock.el (font-lock-refresh-defaults):
15700         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15701         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15703         * info.el (Info-directory-list, Info-read-node-name-2)
15704         (Info-split-parameter-string): Doc fixes.
15705         (Info-virtual-nodes): Reflow docstring.
15706         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15707         (Info-apropos-toc-nodes, info-finder, Info-get-token)
15708         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15709         Fix typos in docstrings.
15710         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15711         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15712         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15713         (Info-restore-desktop-buffer): Mark unused parameters.
15714         (Info-directory-find-file, Info-directory-find-node)
15715         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15716         (Info-virtual-index-find-node, Info-apropos-find-file)
15717         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15718         Mark unused parameters; fix typos in docstrings.
15719         (Info-virtual-index): Remove unused local variable `nodename'.
15721 2011-04-05  Deniz Dogan  <deniz@dogan.se>
15723         * net/rcirc.el: Update my e-mail address.
15724         (rcirc-mode-map): Remove M-o binding.
15726 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
15728         * startup.el (command-line): Save the cursor's theme-face
15729         directly, instead of using face-override-spec.
15731         * custom.el (load-theme): Minor optimization in assigning faces.
15733 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
15735         * help-fns.el (describe-variable): Complete all variables having
15736         documentation, including keywords.
15737         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15739 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
15741         Convert to lexical-binding.
15743         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15744         (bs--get-marked-string, bs--get-modified-string)
15745         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15746         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15747         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15749         * ehelp.el (electric-help-execute-extended)
15750         (electric-help-ctrl-x-prefix):
15751         * hexl.el (hexl-revert-buffer-function):
15752         * linum.el (linum-after-change, linum-after-scroll):
15753         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15755         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15757 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
15759         * epa-dired.el:
15760         * epa-mail.el:
15761         * epa-hook.el:
15762         * epa-file.el:
15763         * epa.el:
15764         * epg.el: Use lexical binding.
15766 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
15768         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15770         * textmodes/flyspell.el (flyspell-word): Recognize default
15771         dictionary case for flyspell-mark-duplications-exceptions.
15772         Use regexp matching for languages.
15773         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15774         default dictionary (Bug#7926).
15776 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
15778         * emacs-lisp/package.el (package--with-work-buffer):
15779         Recognize https URLs.
15781         * net/network-stream.el: Move from gnus/proto-stream.el.
15782         Change prefix to network-stream throughout.
15783         (open-protocol-stream): Merge into open-network-stream, leaving
15784         open-protocol-stream as an alias.  Handle nil BUFFER args.
15786         * subr.el (open-network-stream): Move to net/network-stream.el.
15788 2011-04-02  Glenn Morris  <rgm@gnu.org>
15790         * find-dired.el (find-exec-terminator): New option.
15791         (find-ls-option): Test for -ls support.
15792         (find-ls-subdir-switches): Test for -b in find-ls-option.
15793         (find-dired, find-grep-dired): Doc fixes.
15794         (find-dired): Use find-exec-terminator.
15796         * find-dired.el (find-ls-option, find-ls-subdir-switches)
15797         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15798         (find-name-arg): Remove purecopy.
15800         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15801         (grep-compute-defaults): Check for `-exec COMMAND +' support.
15802         Set grep-find-use-xargs, grep-find-command, and grep-find-template
15803         accordingly.  Don't add the null-device if not needed.
15805         * files.el (save-some-buffers): Doc fix.
15807 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
15809         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15811 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
15813         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15814         Use `dolist' rather than `mapcar'.
15816 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15818         Add lexical binding.
15820         * subr.el (apply-partially): Use new closures rather than CL.
15821         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15822         (dolist, dotimes): Use slightly different expansion for lexical code.
15823         (functionp): Move to C.
15824         (letrec): New macro.
15825         (with-wrapper-hook): Use it and apply-partially instead of CL.
15826         (eval-after-load): Preserve lexical-binding.
15827         (save-window-excursion, with-output-to-temp-buffer): Turn them
15828         into macros.
15830         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15832         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15833         than the arglist.
15834         (help-add-fundoc-usage): Don't add `Not documented'.
15835         (help-function-arglist): Handle closures, subroutines, and new
15836         byte-code-functions.
15837         (help-make-usage): Remove leading underscores.
15838         (describe-function-1): Handle closures.
15839         (describe-variable): Use special-variable-p for completion.
15841         * files.el (lexical-binding): Declare safe.
15843         * emacs-lisp/pcase.el: Don't use destructuring-bind.
15844         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
15845         (pcase): Add `let' pattern.
15846         Change memoization so it actually works.
15847         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15848         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15849         <let>: New case.
15851         * emacs-lisp/macroexp.el: Use lexical binding.
15852         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
15853         Don't convert ' to #' without checking that it's indeed quoting
15854         a lambda.
15856         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15857         Use eval-sexp-add-defvars.
15858         (eval-sexp-add-defvars): New fun.
15860         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15862         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15863         Don't autoload.
15864         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15865         than the internal `byte-compile-lambda'.
15866         (defmethod): Don't hide code under quotes.
15867         (eieio-defmethod): New `code' argument.
15869         * emacs-lisp/eieio-comp.el: Remove.
15871         * emacs-lisp/edebug.el (edebug-eval-defun)
15872         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15873         (edebug-toggle): Avoid `eval'.
15875         * emacs-lisp/disass.el (disassemble-internal): Handle new
15876         `closure' objects.
15877         (disassemble-1): Handle new byte codes.
15879         * emacs-lisp/cl.el (pushnew): Silence warning.
15881         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15882         (cl-byte-compile-throw): Remove.
15883         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15885         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15886         closures.
15888         * emacs-lisp/cconv.el: New file.
15890         * emacs-lisp/bytecomp.el: Use lexical binding instead of
15891         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
15892         (byte-compile-initial-macro-environment):
15893         Handle declare-function here.
15894         (byte-compile--lexical-environment): New var.
15895         (byte-stack-ref, byte-stack-set, byte-discardN)
15896         (byte-discardN-preserve-tos): New lap codes.
15897         (byte-interactive-p): Don't use any more.
15898         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15899         New macros.
15900         (byte-compile-lapcode): Use them and handle new lap codes.
15901         (byte-compile-obsolete): Remove.
15902         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15903         (byte-compile-arglist-warn): Check late def of inlinable funs.
15904         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15905         since they should have been expanded by now.
15906         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15907         (byte-compile-from-buffer): Remove unused second arg.
15908         (byte-compile-preprocess): New function.
15909         (byte-compile-toplevel-file-form): New function to distinguish
15910         file-form calls from outside from file-form calls from hunk-handlers.
15911         (byte-compile-file-form): Simplify.
15912         (byte-compile-file-form-defsubst): Remove.
15913         (byte-compile-file-form-defmumble): Simplify now that
15914         byte-compile-lambda always returns a byte-code-function.
15915         (byte-compile): Preprocess.
15916         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15917         Remove, not used any more.
15918         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15919         (byte-compile-make-args-desc): New funs.
15920         (byte-compile-lambda): Handle lexical functions.  Always return
15921         a byte-code-function.
15922         (byte-compile-reserved-constants): New var, to make up room for
15923         closed-over variables.
15924         (byte-compile-constants-vector): Obey it.
15925         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15926         (byte-compile-macroexpand-declare-function): New function.
15927         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15928         byte-code-functions.
15929         (byte-compile-form): Check obsolescence here.
15930         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15931         (byte-compile-variable-ref): Remove.
15932         (byte-compile-dynamic-variable-op): New fun.
15933         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15934         (byte-compile-variable-set): New funs.
15935         (byte-compile-discard): Add 2 args.
15936         (byte-compile-stack-ref, byte-compile-stack-set)
15937         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15938         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15939         macroexpand-all instead.
15940         (byte-compile-quote-form): Remove.
15941         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15942         (byte-compile-bind, byte-compile-unbind): New funs.
15943         (byte-compile-let): Handle let* and lexical binding.
15944         (byte-compile-let*): Remove.
15945         (byte-compile-catch, byte-compile-unwind-protect)
15946         (byte-compile-track-mouse, byte-compile-condition-case):
15947         Handle a new :fun-body form, used for lexical scoping.
15948         (byte-compile-save-window-excursion)
15949         (byte-compile-with-output-to-temp-buffer): Remove.
15950         (byte-compile-defun): Simplify.
15951         (byte-compile-stack-adjustment): New fun.
15952         (byte-compile-out): Use it.
15953         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15955         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15956         handler any more.
15958         * emacs-lisp/byte-opt.el: Use lexical binding.
15959         (byte-inline-lapcode): Remove (to bytecomp).
15960         (byte-compile-inline-expand): Pay attention to inlining to/from
15961         lexically bound code.
15962         (byte-compile-unfold-lambda): Don't handle byte-code-functions
15963         any more.
15964         (byte-optimize-form-code-walker): Don't handle save-window-excursion
15965         any more and don't call compiler-macros.
15966         (byte-compile-splice-in-already-compiled-code): Remove.
15967         (byte-code): Don't inline any more.
15968         (disassemble-offset): Receive `bytes' as argument rather than via
15969         dynamic scoping.
15970         (byte-compile-tag-number): Declare before first use.
15971         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15972         `return' even if make-spliceable.
15973         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15974         obsolete interactive-p.
15975         (byte-optimize-lapcode): Optimize new lap-codes.
15976         Don't trip up on new form of `byte-constant' lap code.
15978         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15980         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15982         * custom.el (custom-initialize-default, custom-declare-variable):
15983         Use `defvar'.
15985         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15986         New variables.
15987         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15988         (COMPILE_FIRST): Add macroexp and cconv.
15989         * makefile.w32-in: Mirror changes in Makefile.in.
15991         * vc/cvs-status.el:
15992         * vc/diff-mode.el:
15993         * vc/log-edit.el:
15994         * vc/log-view.el:
15995         * vc/smerge-mode.el:
15996         * textmodes/bibtex-style.el:
15997         * textmodes/css-mode.el:
15998         * startup.el:
15999         * uniquify.el:
16000         * minibuffer.el:
16001         * newcomment.el:
16002         * reveal.el:
16003         * server.el:
16004         * mpc.el:
16005         * emacs-lisp/smie.el:
16006         * doc-view.el:
16007         * dired.el:
16008         * abbrev.el: Use lexical binding.
16010 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
16012         * info.el (info-display-manual): New function.
16014 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16016         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16018 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
16020         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16021         an entry for that server in rcirc-authinfo.  (Bug#8385)
16023 2011-03-31  Glenn Morris  <rgm@gnu.org>
16025         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16027         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16029 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
16031         * progmodes/python.el (python-default-interpreter)
16032         (python-python-command-args, python-jython-command-args)
16033         (python-which-shell, python-which-args, python-which-bufname)
16034         (python-file-queue, python-comint-output-filter-function)
16035         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16036         variables and functions.
16038 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16040         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16041         (completion-in-region-mode): New minor mode.
16042         (completion-in-region): Use it.
16043         (completion-in-region--data, completion-in-region-mode-map): New vars.
16044         (completion-in-region--postch): New function.
16045         (completion--capf-misbehave-funs, completion--capf-safe-funs):
16046         New vars.
16047         (completion--capf-wrapper): New function.
16048         (completion-at-point): Use it to track well-behavedness of
16049         hook functions.
16050         (completion-help-at-point): New command.
16052 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
16054         * vc/add-log.el (add-change-log-entry): Don't use whitespace
16055         syntax class to search for whitespace on a single line
16056         (Message-ID: <4D938140.4030905@redhat.com>).
16058 2011-03-30  Leo Liu  <sdl.web@gmail.com>
16060         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16061         New commands.
16062         (edit-abbrevs-map): Bind them here.
16063         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
16065 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
16067         * allout.el (allout-hide-by-annotation, allout-flag-region):
16068         Reduce possibility of overlay leakage by making them volatile.
16070         * allout-widgets.el (allout-widgets-tally): Define as nil so the
16071         hash is not shared between buffers.  Mode initialization is
16072         responsible for giving it a useful starting value.
16073         (allout-item-span): Reduce possibility of overlay leakage by
16074         making them volatile.
16075         (allout-widgets-count-buttons-in-region): Add diagnostic function
16076         for tracking down button overlay leaks.
16078 2011-03-29  Leo Liu  <sdl.web@gmail.com>
16080         * ido.el (ido-read-internal): Use the default history var
16081         minibuffer-history if no HISTORY is specified.
16083 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
16085         * net/imap.el (imap-shell-open, imap-process-connection-type):
16086         Use imap-process-connection-type for 'shell' streams as well as
16087         Kerberos, SSL, other subprocesses.
16089 2011-03-28  Leo Liu  <sdl.web@gmail.com>
16091         * abbrev.el (abbrev-table-empty-p): New function.
16092         (prepare-abbrev-list-buffer): Place empty abbrev tables after
16093         nonempty ones.  (Bug#5937)
16095 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
16097         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16099 2011-03-27  Leo Liu  <sdl.web@gmail.com>
16101         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16102         for foreground and background colors.
16103         (ansi-color-make-color-map): Adapt.
16105 2011-03-25  Leo Liu  <sdl.web@gmail.com>
16107         * midnight.el (midnight-time-float): Remove.  Note it calculates
16108         the microsecond component incorrectly and seconds-to-time does the
16109         same job.
16110         Remove redundant (require 'timer).
16112         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16113         (ido-completions): Remove unused arguments.  (Bug#8329)
16115 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16117         * minibuffer.el (completion--flush-all-sorted-completions):
16118         Remove itself from hook.
16119         (completion-at-point): Let the functions perform the completion
16120         immediately and return nil or t.
16121         * comint.el (comint-dynamic-complete-functions): Now identical to
16122         completion-at-point-functions.
16123         (comint-dynamic-list-input-ring): Remove unused var `index'.
16124         (comint--match-partial-filename, comint--unquote&expand-filename):
16125         New funs, split from comint-match-partial-filename.
16126         (comint-dynamic-complete): Use completion-at-point.
16127         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16129 2011-03-24  Drew Adams  <drew.adams@oracle.com>
16131         * thingatpt.el: Support `defun'.
16133 2011-03-23  Leo Liu  <sdl.web@gmail.com>
16135         * abbrevlist.el: Move to obsolete/abbrevlist.el.
16137         * help-mode.el (help-mode-finish): Tweak regexp.
16139 2011-03-23  Glenn Morris  <rgm@gnu.org>
16141         * eshell/esh-opt.el (eshell-eval-using-options):
16142         Do not bind unused local variable `eshell-option-stub'.
16144         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16146 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
16148         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16149         keymap variable in `with-no-warnings' to avoid a warning when the
16150         keymap has been already `defconst'ed.
16152 2011-03-22  Leo Liu  <sdl.web@gmail.com>
16154         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16155         encode all chars in abbrevs; otherwise use emacs-mule or
16156         utf-8-emacs.  (Bug#8308)
16158 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
16160         * simple.el (backward-delete-char-untabify):
16161         Avoid warning about using `delete-backward-char'.
16163         * image.el (image-type-file-name-regexps): Make it variable.
16164         `imagemagick-register-types' modifies it, and the user may want
16165         to add new extensions for known image types.
16166         (imagemagick-register-types): Throw error if not using ImageMagick.
16168 2011-03-22  Leo Liu  <sdl.web@gmail.com>
16170         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16171         located before rcirc-prompt-end-marker.
16172         (rcirc-complete): Error if point is not after rcirc prompt.
16173         Handle the case when table is nil.
16174         (rcirc-user-authenticated): Define to fix compiler warning.
16176 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
16178         * custom.el (custom--inhibit-theme-enable): Make it affect only
16179         custom-theme-set-variables and custom-theme-set-faces.
16180         (provide-theme): Ignore custom--inhibit-theme-enable.
16181         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16182         (custom-enabling-themes): Delete variable.
16183         (enable-theme): Accept only loaded themes as arguments.
16184         Ignore the special custom-enabled-themes variable.
16185         (custom-enabled-themes): Forbid themes from setting this.
16186         Eliminate use of custom-enabling-themes.
16187         (custom-push-theme): Quote "changed" custom var entry.
16189 2011-03-21  Leo Liu  <sdl.web@gmail.com>
16191         * ido.el (ido-read-internal): Add ido-selected to history instead
16192         of user input.
16194 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16196         * subr.el (deferred-action-list, deferred-action-function):
16197         Mark obsolete.
16199 2011-03-21  Leo Liu  <sdl.web@gmail.com>
16201         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16202         change on 2011-02-13 (bug#8309).
16204         * minibuffer.el (read-file-name-function): Change default value.
16205         (read-file-name--defaults): Rename from read-file-name-defaults.
16206         (read-file-name-default): Rename from read-file-name.
16207         (read-file-name): Call read-file-name-function.
16209 2011-03-21  Glenn Morris  <rgm@gnu.org>
16211         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16212         Doc fixes.
16214 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
16216         * cus-theme.el: Add missing provide statement.
16217         (customize-create-theme): Extract theme value correctly.
16218         (custom-theme-visit-theme): Autoload.
16219         (customize-create-theme): Prompt before inserting default faces.
16221 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
16223         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16224         units and musical notes.
16226 2011-03-20  Leo Liu  <sdl.web@gmail.com>
16228         * ido.el (ido-read-internal): Use completing-read-default.
16229         (ido-completing-read): Fix compatibility with completing-read.
16231 2011-03-20  Christian Ohler  <ohler@gnu.org>
16233         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16234         (ert-delete-all-tests): Use `called-interactively-p' rather than
16235         `interactive-p'.
16236         (ert--make-xrefs-region): Respect END.
16238 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
16240         * dired-aux.el (dired-create-directory): Signal an error if the
16241         directory already exists (Bug#8246).
16243         * facemenu.el (list-colors-display): Call list-faces-display
16244         inside with-help-window.
16245         (list-colors-print): Use display property to align the final
16246         column, instead of checking window-width.
16248 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
16250         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16251         windows-nt systems.
16252         (emerge-protect-metachars): Quote correctly for ms-dos and
16253         windows-nt systems.
16255 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
16257         * info.el (info-initialize): Replace all uses of `:' with
16258         path-separator for compatibility with non-Unix systems.
16259         Cache quoting of path-separator.  (Bug#8258)
16261 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
16263         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16264         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16265         (mouse-avoidance-mode): Fix typos in docstrings.
16267 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
16269         * startup.el (package-subdirectory-regexp): Move from package.el.
16270         Omit \\` and \\', and let callers add them.
16272         * emacs-lisp/package.el (package-strip-version)
16273         (package-load-all-descriptors): Add \\` and \\' to
16274         package-subdirectory-regexp before using it.
16275         (package-untar-buffer): New arg DIR; ensure that file untars only
16276         into this expected directory.  Remove superfluous delete-region.
16277         (package-unpack): Caller changed.
16278         (package-tar-file-info): Use package-subdirectory-regexp.
16280 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16282         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16283         diff-mode-shared-map (bug#8284).
16284         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16286 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16288         * calendar/time-date.el (format-seconds): Use assoc instead of
16289         assoc-string, since assoc-string doesn't exist in XEmacs.
16291 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
16293         * custom.el (custom-known-themes): Reflow docstring.
16294         (custom-theme-load-path): Fix typo in docstring.
16295         (load-theme): Fix typo in error message.
16296         (custom-available-themes, custom-variable-theme-value):
16297         Use `let', not `let*'.
16299 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
16301         * calc/README: Mention inclusion of musical notes.
16303         * calc/calc-units.el (calc-lu-quant): Rename from
16304         `calc-logunits-quantity'.
16305         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16306         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16307         (calc-db): Rename from `calc-dblevel'.
16308         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16309         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16310         (calc-np): Rename from `calc-nplevel'.
16311         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16312         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16313         (calc-lu-plus): Rename from `calc-logunits-add'.
16314         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16315         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16316         (calc-lu-minus): Rename from `calc-logunits-sub'.
16317         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16318         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16319         (calc-lu-times): Rename from `calc-logunits-mul'.
16320         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16321         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16322         (calc-lu-divide): Rename from `calc-logunits-div'.
16323         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16324         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16326         * calc/calc-ext.el (calc-init-extensions): Update the names of the
16327         functions being autoloaded.
16329         * calc/calc.el (calc-lu-power-reference): Rename from
16330         `calc-logunits-power-reference'.
16331         (calc-lu-field-reference): Rename from
16332         `calc-logunits-field-reference'.
16334         * calc/calc-help.el (calc-l-prefix-help):
16335         Mention musical note functions.
16337 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16339         * minibuffer.el (completion-all-sorted-completions):
16340         Use :completion-cycle-penalty text property if present.
16342 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
16344         * allout.el (allout-yank-processing): Adjust for new rebulleting
16345         regime so bullet being yanked is used without prompting the user
16346         for a choice.
16348 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
16350         * startup.el (command-line): Warn the user that _emacs is deprecated.
16352 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
16354         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16355         (delphi-verbose, delphi-comment-face, delphi-string-face)
16356         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16357         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16358         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16359         (delphi-new-comment-line, delphi-font-lock-defaults)
16360         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16361         Fix typos in docstrings.
16363 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
16365         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16366         Invert the roles of character and string values for INSTEAD, so a
16367         string is used for the more common case of a defaulting prompt.
16369 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16371         * progmodes/ruby-mode.el (ruby-backward-sexp):
16372         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16373         * play/gamegrid.el (gamegrid-make-face):
16374         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16375         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16376         * notifications.el (notifications-notify):
16377         * net/xesam.el (xesam-search-engines):
16378         * net/quickurl.el (quickurl-list-insert):
16379         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16381 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
16383         * startup.el (command-line): Update package subdirectory regexp.
16385 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16387         * allout.el (allout-abbreviate-flattened-numbering)
16388         (allout-mode-deactivate-hook): Fix up obsolescence "date".
16390         * subr.el (read-char-choice): Only show the cursor after the prompt,
16391         not after the answer.
16393 2011-03-15  Kevin Ryde  <user42@zip.com.au>
16395         * help-fns.el (variable-at-point): Skip leading quotes, if any
16396         (bug#8253).
16398 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16400         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16401         warning message.
16403 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
16405         * shell.el (shell): When called interactively, offer to change the
16406         shell file name on remote hosts.
16408 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
16410         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16411         integration for LDAP parameters.  The host, base, user or binddn,
16412         and secret tokens can be specified in a netrc file, for instance.
16413         This is optional because an `auth-source' parameter must be
16414         specified in the search attributes.
16416 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
16418         * help.el (describe-mode): Link to the mode's definition (bug#8185).
16420 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16422         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16423         into declaration.  Remove redundant and harmful binding.
16425 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
16427         * files.el (file-ownership-preserved-p): Pass `integer' as an
16428         explicit 2nd argument to `file-attributes'.  If the file's owner
16429         is the Administrators group on Windows, and the current user is
16430         Administrator, consider that a match.
16432         * server.el (server-ensure-safe-dir): Consider server directory
16433         safe on MS-Windows if its owner is the Administrators group while
16434         the current Emacs user is Administrator.  Use `=' to compare
16435         numerical UIDs, since they could be integers or floats.
16437 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
16439         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16441 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
16443         Sync with Tramp 2.2.1.
16445         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16447         * net/trampver.el: Update release number.
16449 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16451         * progmodes/compile.el (compilation--previous-directory): Fix up
16452         various nil/dead-marker mismatches (bug#8014).
16453         (compilation-directory-properties, compilation-error-properties):
16454         Don't call it at a position past the one we're about to change.
16456         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16457         Disable obsolescence warnings in the file that declares it.
16459 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
16461         * allout-widgets.el (allout-widgets-tally):
16462         Initialize allout-widgets-tally as a hash table rather than nil to
16463         prevent mode-line redisplay warnings.  Also, clarify the module
16464         description and fix a comment typo.
16466 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
16468         * help-fns.el (describe-variable): Don't complete keywords.
16469         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16471 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
16473         * emacs-lisp/package.el (package-version-join): Impose a standard
16474         string representation for pre/alpha/beta version lists.
16475         (package-unpack-single): Standardize the directory name by passing
16476         it through package-version-join.
16477         (package-strip-rcs-id): Accept any version string that does not
16478         signal an error in version-to-list.
16480 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
16482         * simple.el (delete-trailing-whitespace): Return nil for the
16483         benefit of `write-file-functions'.
16485 2011-03-10  Glenn Morris  <rgm@gnu.org>
16487         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16489         * vc/vc-git.el (vc-git-program): New option.
16490         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16491         (vc-git--call): Use it.
16493         * eshell/esh-util.el (eshell-condition-case): Doc fix.
16495         * cus-edit.el (Custom-newline): If no button at point, look
16496         for a subgroup button at start-of-line.  (Bug#2298)
16498         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16500 2011-03-10  Julien Danjou  <julien@danjou.info>
16502         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16503         `cursor-type' is nil.
16505 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
16507         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16509 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
16511         * allout.el: Change so yank of distinctive-bullet items
16512         preserves the existing header prefix, rebulleting it if necessary,
16513         rather than replacing it.  This is necessary for proper operation
16514         of cooperative addons like allout-widgets.
16515         (allout-make-topic-prefix, allout-rebullet-heading):
16516         Change SOLICIT arg to INSTEAD, and interpret additionally a string
16517         value as alternate bullet to be used, instead of prompting the user
16518         for a bullet character.
16520 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
16522         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16523         Do not use `tramp-file-name-port', because this returns also
16524         `tramp-default-port'.
16526 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
16528         * net/rcirc.el (rcirc-handler-001): Remove useless
16529         with-rcirc-process-buffer.
16530         (rcirc-check-auth-status): Swap arguments to string-match.
16532 2011-03-09  Glenn Morris  <rgm@gnu.org>
16534         * shell.el (shell-mode):
16535         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
16537         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16538         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
16540 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
16542         * emacs-lisp/package.el (package-refresh-contents)
16543         (package-menu-execute): Use condition-case-no-debug.
16545 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
16547         * simple.el (shell-command-to-string): Use `process-file'.
16549         * emacs-lisp/package.el (package-tar-file-info): Handle also
16550         remote files.
16552         * emacs-lisp/package-x.el (package-upload-buffer-internal):
16553         Use `equal' for upload base check.
16555 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
16557         * textmodes/texinfo.el (texinfo-environments):
16558         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
16560 2011-03-08  Glenn Morris  <rgm@gnu.org>
16562         * cus-start.el (cursor-in-non-selected-windows):
16563         Fix :set quoting oddness.  (Bug#8192)
16565         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16566         in some setf expressions.  (Bug#2159)
16568 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
16570         * custom.el (custom-available-themes): Return themes in
16571         alphabetical order.
16573 See ChangeLog.15 for earlier changes.
16575 ;; Local Variables:
16576 ;; coding: utf-8
16577 ;; End:
16579   Copyright (C) 2011-2012  Free Software Foundation, Inc.
16581   This file is part of GNU Emacs.
16583   GNU Emacs is free software: you can redistribute it and/or modify
16584   it under the terms of the GNU General Public License as published by
16585   the Free Software Foundation, either version 3 of the License, or
16586   (at your option) any later version.
16588   GNU Emacs is distributed in the hope that it will be useful,
16589   but WITHOUT ANY WARRANTY; without even the implied warranty of
16590   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16591   GNU General Public License for more details.
16593   You should have received a copy of the GNU General Public License
16594   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.