* progmodes/python.el (python-shell-send-string-no-output): Allow
[emacs.git] / lisp / ChangeLog
blob8fbe6d35940598ff862b5bd9126dd1dfc743ff39
1 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3         * progmodes/python.el (python-shell-send-string-no-output): Allow
4         accept-process-output to quit, keeping shell process ready for
5         future interactions (Bug#11868).
7 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11         * emacs-lisp/elint.el (elint-find-args-in-code):
12         Use help-function-arglist, so as to handle lexical byte-code.
14         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
15         change (bug#11826).
17 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
20         Avoid spuriously marking the buffer as modified because of c-is-sws.
22         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
23         as not-a-comment (bug#11946).
25         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
26         for uninterned vars.
28         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
29         Use read-event since we don't really want to read chars but bytes.
31         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
32         $$..$$ but also $..$ using regexps (bug#11953).
33         Use tex-verbatim for \url and \path.
34         (tex-font-lock-keywords): Define as defconst like the others.
35         (tex-common-initialization): Don't use font-lock-syntax-table any more.
37 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
39         * international/mule-cmds.el (ucs-insert): Make it an obsolete
40         alias for insert-char.
42 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
44         * progmodes/python.el: Simplified imenu implementation.
45         (python-nav-jump-to-defun): Remove command.
46         (python-mode-map): Use `imenu' instead.
47         (python-nav-list-defun-positions-cache)
48         (python-imenu-include-defun-type, python-imenu-make-tree)
49         (python-imenu-subtree-root-label, python-imenu-index-alist):
50         Remove vars.
51         (python-nav-list-defun-positions, python-nav-read-defun)
52         (python-imenu-tree-assoc, python-imenu-make-element-tree)
53         (python-imenu-make-tree, python-imenu-create-index):
54         Remove functions.
55         (python-mode): Update to interact with imenu by setting
56         `imenu-extract-index-name-function' only.
58 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
60         * progmodes/python.el: Enhancements to navigation commands.
61         (python-nav-backward-sentence)
62         (python-nav-forward-sentence): Remove.
63         (python-nav-backward-statement, python-nav-forward-statement)
64         (python-nav-statement-start, python-nav-statement-end)
65         (python-nav-backward-block, python-nav-forward-block)
66         (python-nav-block-start, python-nav-block-end)
67         (python-nav-forward-sexp-function)
68         (python-info-current-line-comment-p)
69         (python-info-current-line-empty-p): New functions.
70         (python-indent-context): Use `python-nav-statement-start'.
72 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
74         * eshell/em-ls.el (eshell/ls): Use `apply'.
76         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
77         multi-hops, instead of Tramp internals.
79         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
81         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
82         when F1 and F2 are located on different hosts.
84 2012-07-14  Chong Yidong  <cyd@gnu.org>
86         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
87         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
88         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
89         (xterm-mouse--read-event-sequence-1000)
90         (xterm-mouse--read-event-sequence-1006): New functions.  For old
91         mouse protocol, handle M-mouse-X events correctly.
92         (xterm-mouse-event): New arg specifying mouse protocol.
93         (turn-on-xterm-mouse-tracking-on-terminal)
94         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
95         sequence to toggle extended coordinates on newer XTerms.
96         This appears to be harmless on terminals which do not support this.
98 2012-07-14  Leo Liu  <sdl.web@gmail.com>
100         Add fringe bitmap indicators for flymake.  (Bug#11253)
101         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
102         (flymake-make-overlay): New arg BITMAP.
103         (flymake-error-bitmap, flymake-warning-bitmap)
104         (flymake-fringe-indicator-position): New user variables.
106         * fringe.el: New bitmap exclamation-mark.
108 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
110         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
111         also (Bug#7879).
113 2012-07-14  Chong Yidong  <cyd@gnu.org>
115         * electric.el (electric-pair-post-self-insert-function): Fix pair
116         insertion in empty-region case (Bug#11520).
118 2012-07-14  Chong Yidong  <cyd@gnu.org>
120         * bindings.el: Consolidate ctl-x-r-map bindings.
121         Bind copy-rectangle-as-kill to C-x r w.
123         * rect.el, register.el: Move bindings to bindings.el.
125 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
127         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
129 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
131         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
133 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
135         * bindings.el (top): Use `mapc' instead of `mapcar'.
137         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
139 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
141         * progmodes/sql.el (sql-comint): Suppress the check for program on
142         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
143         (Bug#11908)
145 2012-07-13  Chong Yidong  <cyd@gnu.org>
147         * bindings.el: Assign a non-nil permanent-local property to
148         per-buffer variables which lack a default value (Bug#11930).
150         * help-fns.el (describe-variable): In the "automatically becomes
151         local" notice, take note of permanent-local variables.
153 2012-07-13  Chong Yidong  <cyd@gnu.org>
155         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
156         to allow printing the message when called from Lisp.
158         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
159         Remove toggle-read-only.
161         * bs.el (bs-toggle-readonly):
162         * buff-menu.el (Buffer-menu-toggle-read-only):
163         Remove with-no-warnings around toggle-read-only.
165         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
166         Remove with-no-warnings around toggle-read-only.
167         (ffap-read-only, ffap-read-only-other-window)
168         (ffap-read-only-other-frame): Callers changed.
170         * help-mode.el: Don't require view package.
171         (help-mode-finish): Set buffer-read-only instead of calling
172         toggle-read-only.
174         * bindings.el (mode-line-toggle-read-only):
175         * dired.el (dired-toggle-read-only):
176         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
177         with non-nil second arg.
179         * emacs-lisp/eieio-custom.el (eieio-customize-object):
180         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
181         directly.
183 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
185         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
186         not incf.
188 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
190         More CL cleanups and reduction of use of cl.el.
191         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
192         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
193         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
194         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
195         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
196         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
197         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
198         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
199         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
200         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
201         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
202         * eshell/em-cmpl.el, eshell/em-banner.el:
203         * calendar/parse-time.el: Use cl-lib.
204         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
205         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
206         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
207         * term/ns-win.el, term.el, shell.el, ps-samp.el:
208         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
209         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
210         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
211         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
212         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
213         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
214         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
215         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
216         `lambda' rather than with `quote'.
217         (eshell-do-opt): Adjust accordingly.
218         (eshell-process-option): Simplify.
219         * eshell/esh-var.el:
220         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
221         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
222         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
223         to `pcase--dontcare'.
224         * emacs-lisp/cl.el (labels): Mark obsolete.
225         (cl--letf, letf): Move to cl-lib.
226         (cl--letf*, letf*): Remove.
227         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
228         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
229         (cl-progv): Rewrite.
230         (cl--letf, cl-letf): Move from cl.el.
231         (cl-letf*): New macro.
232         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
234 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
236         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
238 2012-07-11  Chong Yidong  <cyd@gnu.org>
240         * vc/log-edit.el (log-edit-vc-backend): New variable.
241         (log-edit): Doc fix.
243         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
244         argument of log-edit to set up all local variables.
245         (vc-start-logentry): New optional arg specifying VC backend.
247         * vc/vc.el (vc-checkin): Use it.
248         (vc-deduce-fileset): Handle Log Edit buffers.
249         (vc-diff): Make first argument optional too.
251         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
253 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
255         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
256         command, just in case.  The function is not needed anymore.
257         (eshell-external-command): Do not call `eshell-remote-command'.
259 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
261         Reduce use of (require 'cl).
262         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
263         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
264         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
265         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
266         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
267         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
268         * battery.el, avoid.el, abbrev.el: Use cl-lib.
269         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
270         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
271         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
272         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
273         * calculator.el, autorevert.el, apropos.el: Don't require CL.
274         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
275         (byte-compile-unfold-bcf, byte-compile-check-variable):
276         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
277         (byte-compile-nilconstp):
278         * emacs-lisp/autoload.el (make-autoload): Use pcase.
279         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
281         * emacs-lisp/gv.el (cond): Make it a valid place.
282         (if): Simplify slightly.
284         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
285         (pcase--self-quoting-p): New function.
286         (pcase--u1): Use it.
288 2012-07-10  Glenn Morris  <rgm@gnu.org>
290         * emacs-lisp/authors.el (authors-fixed-entries):
291         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
293 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
295         Rename configure.in to configure.ac (Bug#11603).
296         * emacs-lisp/authors.el (authors-canonical-file-name):
297         * progmodes/autoconf.el (autoconf-mode):
298         Prefer configure.ac to configure.in.
300 2012-07-08  Chong Yidong  <cyd@gnu.org>
302         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
303         Implement the mouse-1-click-follows-link handling properly.
305         * info.el (Info-link-keymap): Use follow-link mechanism for
306         header-line links (Bug#374).
308         * simple.el (deactivate-mark): Do not set the primary selection
309         if another program has acquired it (Bug#11772).
311 2012-07-07  Kevin Ryde  <user42@zip.com.au>
313         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
314         (woman-decode-region): Replace escaped-escapes without destroying
315         bold or underline (Bug#11552).
316         (woman2-process-escapes): Handle nofill regions (Bug#11591).
318 2012-07-07  Chong Yidong  <cyd@gnu.org>
320         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
321         (interprogram-cut-function, interprogram-paste-function):
322         Mention that we typically mean the clipboard.
324 2012-07-06  Glenn Morris  <rgm@gnu.org>
326         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
328         * files.el (toggle-read-only): Restrict message to interactive use.
330 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
332         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
334         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
336 2012-07-06  Glenn Morris  <rgm@gnu.org>
338         * Makefile.in (compile-one-process): Rename from "recompile".
340         * Makefile.in (bzr-update): "compile" is the same as "recompile
341         autoloads", but parallelizable, so use that instead.
343 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
345         * window.el (quit-window): Always restore window height when
346         it's saved in quit-restore parameter.
348 2012-07-06  Glenn Morris  <rgm@gnu.org>
350         * simple.el (kill-whole-line): Doc tweak.
352 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
354         * files.el (file-relative-name): Compare file names
355         case-insensitively if on MS-Windows or MS-DOS, or if
356         read-file-name-completion-ignore-case is non-nil.  Don't use
357         case-fold-search for this purpose.  (Bug#11827)
359 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
361         * calendar/cal-dst.el (calendar-current-time-zone):
362         Return calendar-current-time-zone-cache if non-nil.
364 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
365 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
367         * calendar/cal-dst.el (calendar-current-time-zone):
368         Return calendar-current-time-zone-cache if non-nil.
370 2012-07-06  Glenn Morris  <rgm@gnu.org>
372         * Makefile.in (cvs-update): Remove old alias.
374 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
376         Sync with Tramp 2.2.6-pre.
378         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
379         compatible declaration.
381         * net/tramp-cmds.el (tramp-append-tramp-buffers):
382         Protect `list-load-path-shadows' call.
384         * net/tramp-compat.el (top): Require packages, which aren't
385         autoloaded anymore for XEmacs.  Protect call of
386         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
387         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
388         it hurts at least for SXEmacs.
389         (tramp-compat-temporary-file-directory): In XEmacs, there is no
390         standard-value for `temporary-file-directory'.
392         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
393         Redirect stderr to /dev/null.
394         (tramp-sh-handle-write-region): uid and gid can be floats.
395         Reported by Russell Sim <russell.sim@gmail.com>.
396         (tramp-sh-handle-vc-registered): Hide errors.
397         (tramp-vc-file-name-handler): Use dummy results for `process-file'
398         and `start-file-process'.
399         (tramp-maybe-open-connection): Check also whether `non-essential'
400         is bound.
402 2012-07-04  Chong Yidong  <cyd@gnu.org>
404         * xml.el (xml--parse-buffer): Use xml-syntax-table.
405         (xml-parse-tag): Likewise, and avoid changing entity tables.
406         (xml-syntax-table): Define from scratch, making sure not to give
407         x2000 and other Unicode spaces whitespace syntax, since those are
408         not spaces in XML.
409         (xml-parse-fragment): Delete unused function.
410         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
411         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
412         (xml-entity-ref, xml-pe-reference-re)
413         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
414         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
415         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
416         (xml-entity-value-re): Use syntax references in regexps where
417         possible; no need to define inside a let-binding.
418         (xml-parse-dtd): Use xml-pe-reference-re.
419         (xml-entity-or-char-ref-re): New defconst.
420         (xml-parse-string, xml-substitute-special): Use it.
422 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
424         * files.el (locate-dominating-file): Allow `name' to be a predicate.
425         (find-file--read-only): New function.
426         (find-file-read-only, find-file-read-only-other-window)
427         (find-file-read-only-other-frame): Use it.
428         (insert-file-contents-literally): Don't `fset'.
429         (get-free-disk-space): Use locate-dominating-file.
431         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
432         function is already compiled.
434         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
436 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
438         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
439         files on the same host.
441 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
443         * help-fns.el (describe-function-1): Only call
444         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
446 2012-07-03  Chong Yidong  <cyd@gnu.org>
448         * xml.el: Protect parser against XML bombs.
449         (xml-entity-expansion-limit): New variable.
450         (xml-parse-string, xml-substitute-special): Use it.
451         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
453 2012-07-03  Glenn Morris  <rgm@gnu.org>
455         * progmodes/bug-reference.el (bug-reference-bug-regexp):
456         Allow linking to specific messages in debbugs reports (eg 123#5).
458 2012-07-02  Chong Yidong  <cyd@gnu.org>
460         * xml.el: Fix entity and character reference expansion, allowing
461         them to expand into markup as per XML spec.
462         (xml-default-ns): New variable.
463         (xml-entity-alist): Use XML spec definitions for lt and amp.
464         (xml-parse-region): Make first two arguments optional.
465         Discard text properties.
466         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
467         All callers changed.
468         (xml-parse-tag): Call xml-parse-tag-1.  For backward
469         compatibility, this function should not modify buffer contents.
470         (xml-parse-tag-1): Fix opening-tag regexp.
471         (xml-parse-string): Rewrite, handling entity and character
472         references properly.
473         (xml--entity-replacement-text): Signal an error if a parameter
474         entity is undefined.
476 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
478         * comint.el (comint-output-filter): Filter out repeated prompts.
480         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
481         and file-name-absolute-p.
482         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
483         internal calls.
485 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
487         Spelling fixes.
488         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
489         Rename from byte-compile--refiy-function.  All uses changed.
491 2012-07-01  Chong Yidong  <cyd@gnu.org>
493         * xml.el (xml--parse-buffer): New function.  Move most of
494         xml-parse-region here.
495         (xml-parse-region): Copy region into a temporary buffer, since
496         parameter entity substitution requires changing buffer contents.
497         Use xml--parse-buffer.
498         (xml-parse-file): Use xml--parse-buffer.
499         (xml-parse-dtd): Make parameter entity substitution work right.
500         Use proper regexps for ELEMENT declarations (Bug#7172).
502 2012-06-30  Glenn Morris  <rgm@gnu.org>
504         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
506         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
507         Remove outdated and unnecessary dbus declarations.
509 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
511         * emacs-lisp/timer.el (timer-until): Subtract results of
512         float-time, instead of taking float-time of the result of
513         time-subtract, since float-time signals an error for negative time
514         arguments.
516 2012-06-30  Chong Yidong  <cyd@gnu.org>
518         * xml.el (xml-*-re): Convert defvars into defconsts, and
519         eval-and-compile them so eval-and-compile works on derivatives.
520         (xml--entity-replacement-text): Use eval-and-comple.
522 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
524         * vc/vc-git.el (vc-git-registered): Use cache property
525         `git-registered'.
526         (vc-git-mode-line-string): Call `vc-working-revision' instead of
527         `vc-git-working-revision' in order to benefit from the cache.
528         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
530 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
532         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
533         removed (likely outside Emacs).  (Bug#11757)
535 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
537         * emacs-lisp/cl-lib.el: Require macroexp.
539 2012-06-30  Chong Yidong  <cyd@gnu.org>
541         * xml.el: Implement XML parameter entities.
542         (xml-parameter-entity-alist): New variable.
543         (xml-parse-region, xml-parse-fragment): Preserve previous values
544         of xml-entity-alist and xml-parameter-entity-alist, so that
545         repeated calls on different documents do not change them.
546         (xml-parse-tag): Fix doctype regexp.
547         (xml--entity-replacement-text): New function.
548         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
549         properly requires url retrieval which is unimplemented.
550         (xml-escape-string): Doc fix.
552 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
554         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
556 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
558         * fringe.el (fringe-mode): Doc fix.
560 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
562         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
563         is non-nil.
564         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
565         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
567 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
569         * calendar/cal-dst.el (calendar-current-time-zone):
570         Return calendar-current-time-zone-cache if non-nil.
572 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
574         * progmodes/which-func.el (which-func-format):
575         Add mouse-face.  (Bug#11698)
577 2012-06-29  Leo Liu  <sdl.web@gmail.com>
579         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
581 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
583         * minibuffer.el (minibuffer-confirm-exit-commands):
584         Add completion-at-point (bug#11725).
586 2012-06-29  Glenn Morris  <rgm@gnu.org>
588         * progmodes/f90.el (f90-font-lock-keywords-2):
589         Add some preprocessor elements.  (Bug#10499)
591 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
593         * progmodes/cperl-mode.el (cperl-update-syntaxification):
594         Use syntax-propertize (bug#11739).
596 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
598         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
600 2012-06-28  Julien Danjou  <julien@danjou.info>
602         * term.el (term-handle-colors-array): Use a set of new faces to
603         color the terminal.  Also uses :inverse-video property.
604         (term-default-fg-color): Set to nil by default, deprecate in favor
605         of `term-face'.
606         (term-default-bg-color): Set to nil by default, deprecate in favor
607         of `term-face'.
608         (term-current-face): Use `term-face' by default.
609         (term-bold-attribute): Variable deleted.
611 2012-06-28  Glenn Morris  <rgm@gnu.org>
613         * simple.el (completion-list-mode-finish):
614         Don't use toggle-read-only.  (Since completion-list-mode has
615         a special mode-class, it wasn't doing anything extra anyway.)
617 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
619         Make inlining of other-mode interpreted functions work (bug#11799).
620         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
621         (byte-compile): Use it to fix compilation of lexical-binding closures.
622         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
623         function, if needed.
625 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
627         * help-mode.el (help-make-xrefs): Don't just withstand
628         cyclic-variable-indirection but any error in documentation-property.
630         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
631         memory use.
632         * bindings.el (bindings--define-key): New function.
633         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
634         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
635         * bindings.el: Use it to purecopy define-key bindings.
637         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
639         * emacs-lisp/cl.el (flet): Mark obsolete.
640         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
641         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
642         * progmodes/js.el (js-c-fill-paragraph):
643         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
644         (ebrowse-switch-member-buffer-to-derived-class):
645         * play/5x5.el (5x5-solver): Use cl-flet.
647         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
648         (cl--symbol-function): New macro.
649         (cl--letf, cl--letf*): Use it.
651         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
652         Strip "toggle-" if any.
654 2012-06-27  Glenn Morris  <rgm@gnu.org>
656         * info.el (Info-default-directory-list): Move here from paths.el.
657         * paths.el: Remove file, which is now empty.
658         * loadup.el: No longer load "paths".
660         * custom.el (custom-initialize-delay): Doc fix.
662         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
663         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
664         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
665         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
666         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
667         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
668         * eshell/eshell.el (eshell-defgroup): Remove alias.
670 2012-06-27  Chong Yidong  <cyd@gnu.org>
672         * help.el (help-enable-auto-load): New variable.
674         * help-fns.el (help-fns--autoloaded-p): New function.
675         (describe-function-1): Refer to a function as "autoloaded" if it
676         was autoloaded at any time in the past.  Perform autoloading if
677         help-enable-auto-load is non-nil.
679 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
681         * makefile.w32-in (compile, compile-always): Depend on
682         update-subdirs, not on subdirs.el.  Otherwise, several different
683         sub-targets of 'bootstrap' running in parallel could
684         simultaneously write to subdirs.el, producing a garbled file.
686 2012-06-26  Sam Steingold  <sds@gnu.org>
688         * files.el (file-name-base): New convenience function.
689         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
690         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
691         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
692         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
693         * textmodes/ispell.el, textmodes/reftex-ref.el:
694         * textmodes/tex-mode.el: Use it.
695         Did not touch cedet and org because they are maintained elsewhere.
697 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
699         * calendar/calendar.el (calendar-exit): Don't try to delete or
700         iconify last frame.  See:
701         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
703 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
705         * server.el (server-process-filter): Remember dir in the
706         process's `server-client-directory' properties.
708 2012-06-24  Chong Yidong  <cyd@gnu.org>
710         * xml.el (xml-parse-tag): Correctly handle comment embedded in
711         non-tag text.
713 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
715         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
717 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
719         * help-fns.el (describe-variable): Don't croak when doc is not found.
720         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
721         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
722         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
723         * emacs-lisp/smie.el (smie-next-sexp): CSE.
724         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
725         ((lambda ..) ..).
726         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
728 2012-06-23  Chong Yidong  <cyd@gnu.org>
730         * info.el (Info-mouse-follow-link): Accept symbol values of
731         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
732         (Info-fontify-node): Use Info-link-keymap for all navigation
733         buttons, with link-args property to perform the desired action.
734         (Info-link-keymap): Doc fix.
735         (Info-next-link-keymap, Info-prev-link-keymap)
736         (Info-up-link-keymap): Delete now-unused keymaps.
738 2012-06-23  Chong Yidong  <cyd@gnu.org>
740         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
742         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
743         system abbrevs.
745         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
747 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
749         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
750         (bug#11719).
752         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
753         the requote function doesn't work properly (bug#11714).
755 2012-06-23  Glenn Morris  <rgm@gnu.org>
757         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
759 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
761         Further GV/CL cleanups.
762         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
763         gv-expander.
764         (gv--defun-declaration): New function.
765         (defun-declarations-alist): Use it.
766         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
767         (gv-place): Autoload.
768         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
769         original definition of dotimes and dolist.
770         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
771         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
772         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
773         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
774         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
775         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
776         to the function's definition.
777         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
778         * window.el:
779         * files.el:
780         * faces.el:
781         * env.el: Don't use CL.
783 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
785         Support higher-resolution time stamps (Bug#9000).
787         * calendar/time-date.el (with-decoded-time-value): New arg
788         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
789         (encode-time-value): New optional arg PICO.  New type 3.
790         (time-to-seconds) [!float-time]: Support the new picoseconds
791         component if it's used.
792         (seconds-to-time, time-subtract, time-add):
793         Support ps-resolution time stamps as well.
795         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
796         (timerp): Timer vectors now have length 9, not 8.
797         (timer--time): Support new-style (4-part) time stamps.
798         (timer-next-integral-multiple-of-time): Time stamps now have
799         picosecond resolution, so take a bit more care about rounding.
800         (timer-relative-time, timer-inc-time): New optional arg psecs.
801         (timer-set-time-with-usecs): Set psecs to 0.
802         (timer--activate): Check psecs component, too.
804         * proced.el (proced-time-lessp): Support ps-resolution stamps.
806 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
808         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
809         Move the non-essential binding to the post/pre-command-hook where it is
810         more obviously correct.
812         * subr.el (read-passwd): Don't use a history at all.
813         * savehist.el (savehist-save): Remove password saved accidentally
814         because of the above bug.
816 2012-06-22  Bastien Guerry  <bzg@gnu.org>
818         * files.el (toggle-read-only): Display a message telling whether
819         the buffer is read-only or not (bug#11726).
821 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
823         * emacs-lisp/gv.el: New file.
824         * subr.el (push, pop): Extend to generalized variables.
825         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
826         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
827         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
828         gv-define-simple-setter, and gv-define-expander.
829         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
830         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
831         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
832         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
833         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
834         gv-letplace.
835         (cl-defstruct): Don't define setf-method any more.
836         * emacs-lisp/cl.el (flet): Don't autoload.
837         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
838         (define-setf-expander, defsetf, define-modify-macro)
839         (cl-struct-setf-expander): Move from cl-lib.el.
840         * emacs-lisp/syntax.el:
841         * emacs-lisp/ewoc.el:
842         * emacs-lisp/smie.el:
843         * emacs-lisp/cconv.el:
844         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
845         (timer--time): Use gv-define-simple-setter.
846         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
847         to avoid coding-system problems in subr.el.  Adjust all users.
848         (macroexp--maxsize, macroexp-small-p): New functions.
849         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
850         * scroll-bar.el (scroll-bar-mode):
851         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
852         (normal-erase-is-backspace-mode): Don't use the `eq' place.
853         * winner.el (winner-configuration, winner-make-point-alist)
854         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
855         * files.el (locate-file-completion-table): Avoid list*.
857 2012-06-22  Chong Yidong  <cyd@gnu.org>
859         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
860         (dired-create-files): Doc fix (Bug#11329).
861         (dired-do-copy): Doc fix (Bug#11334).
862         (dired-mark-read-string): Doc fix (Bug#11553).
864         * dired.el (dired-recursive-copies, dired-recursive-deletes):
865         Doc fix (Bug#11326).
866         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
867         (dired-dwim-target): Doc fix.
869         * wdired.el (wdired-mode): Doc fix.
871 2012-06-22  Glenn Morris  <rgm@gnu.org>
873         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
874         (pcmpl-rpm-cache-stamp-file): New constant.
875         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
876         (pcmpl-rpm-packages): Optionally cache list of packages.
878         * pcmpl-rpm.el (pcmpl-rpm): New group.
879         (pcmpl-rpm-query-options): New option.
880         (pcmpl-rpm-packages): No need to inline it.
881         Use pcmpl-rpm-query-options.
883         * calendar/calendar.el (calendar-in-read-only-buffer):
884         Avoid some needless mode changes.
886 2012-06-21  Chong Yidong  <cyd@gnu.org>
888         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
889         (desktop-path): Remove . from the default value (Bug#10977).
890         (desktop-read): Use user-emacs-directory if desktop-path is nil.
892 2012-06-20  Chong Yidong  <cyd@gnu.org>
894         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
896 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
898         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
899         (bug#11201).
901 2012-06-20  Chong Yidong  <cyd@gnu.org>
903         * term.el (term-window-width): Handle the case of a missing right
904         fringe (Bug#8837).
905         (term-check-size): Use window-text-height (Bug#5445).
906         (term-mode): Use define-derived-mode.  Minor cleanups.
907         Set font-lock-defaults (Bug#7692).
908         (term-move-columns, term-insert-char, term-emulate-terminal)
909         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
911 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
913         * net/ange-ftp.el (ange-ftp-get-passwd):
914         Bind `enable-recursive-minibuffers'.
915         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
917 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
919         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
921 2012-06-19  Glenn Morris  <rgm@gnu.org>
923         * progmodes/python.el (python-mode): Derive from prog-mode.
925 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
927         * emulation/edt.el (edt-default-menu-bar-update-buffers)
928         (edt-user-menu-bar-update-buffers): New functions.
929         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
931 2012-06-19  Chong Yidong  <cyd@gnu.org>
933         * subr.el (with-selected-window): Preserve the selected window's
934         terminal's top-frame (Bug#4702).
936         * window.el (save-selected-window): Likewise.
938 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
940         * progmodes/python.el (python-rx-constituents): Move backquote.
941         (python-skeleton-define, python-define-auxiliary-skeleton):
942         Use `declare'.
944 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
946         * minibuffer.el (read-file-name-default): Revert the patch from
947         2012-06-17.
949 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
951         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
952         (pcase--u1, pcase--q1): Don't use apply-partially.
954 2012-06-18  Glenn Morris  <rgm@gnu.org>
956         * progmodes/python.el (python-proc, python-buffer)
957         (python-send-receive, python-send-string): Fix obsolete versions.
959 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
961         * window.el (special-display-p): Completely remove stringp
962         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
964 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
966         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
968         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
970         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
971         * net/tramp-sh.el (tramp-maybe-open-connection):
972         Throw if `non-essential' is non-nil.
974 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
976         * window.el (special-display-p): Signal an error if BUFFER-NAME
977         is not a string (Bug#11713).
979 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
981         * progmodes/python.el (python-info-beginning-of-backslash):
982         Rename from python-info-beginning-of-backlash, as a spelling fix.
984 2012-06-17  Chong Yidong  <cyd@gnu.org>
986         * term.el (term-emulate-terminal): If term-check-size is called,
987         move point to the process mark without resetting point (Bug#4635).
989 2012-06-17  Glenn Morris  <rgm@gnu.org>
991         * international/mule-cmds.el (mule-menu-keymap)
992         (set-language-environment, set-locale-environment): Doc tweaks.
994 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
996         * cus-face.el (custom-face-attributes): Add wave-style underline
997         attribute.
998         * faces.el (set-face-attribute): Update docstring to describe
999         wave-style underline attribute.
1001 2012-06-16  Chong Yidong  <cyd@gnu.org>
1003         * term/xterm.el (terminal-init-xterm): Discard input before
1004         querying background mode (Bug#10959).
1006 2012-06-16  Stefan Merten  <smerten@oekonux.de>
1008         * textmodes/rst.el: Added and corrected some comments.
1009         (rst-re-alist-def): Improve symbol syntax.
1010         (rst-mode-syntax-table): Correct syntax entries.
1011         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1012         (rst-official-version, rst-official-cvs-rev): Update version
1013         information.
1015 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
1017         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1018         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1020 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
1022         * progmodes/python.el: New python.el merge.
1023         (python-guess-indent): Obsolete var.
1024         (python-indent-guess-indent-offset): New defcustom.
1025         (python-indent): Obsolete var.
1026         (python-indent-offset): New defcustom.
1027         (python-python-command, python-jython-command): Delete var.
1028         (python-shell-interpreter): New defcustom.
1029         (python-pdbtrack-do-tracking-p): Delete var.
1030         (python-pdbtrack-activate): New defcustom.
1031         (python-use-skeletons): Obsolete var.
1032         (python-skeleton-autoinsert): New defcustom.
1033         (inferior-python-filter-regexp, python-continuation-offset)
1034         (python-honour-comment-indentation, python-indent-string-contents)
1035         (python-jython-packages, python-mode-hook)
1036         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1037         (python-shell-prompt-alist)
1038         (python-source-modes): Delete defcustoms.
1039         (python-check-buffer-name, python-eldoc-setup-code)
1040         (python-eldoc-string-code, python-ffap-setup-code)
1041         (python-ffap-string-code, python-fill-comment-function)
1042         (python-fill-decorator-function, python-fill-paren-function)
1043         (python-fill-string-function, python-imenu-include-defun-type)
1044         (python-imenu-make-tree, python-imenu-subtree-root-label)
1045         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1046         (python-shell-compilation-regexp-alist)
1047         (python-shell-completion-module-string-code)
1048         (python-shell-completion-pdb-string-code)
1049         (python-shell-completion-setup-code)
1050         (python-shell-completion-string-code)
1051         (python-shell-enable-font-lock, python-shell-exec-path)
1052         (python-shell-extra-pythonpaths)
1053         (python-shell-internal-buffer-name, python-shell-interpreter-args)
1054         (python-shell-process-environment)
1055         (python-shell-prompt-block-regexp)
1056         (python-shell-prompt-output-regexp)
1057         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1058         (python-shell-send-setup-max-wait, python-shell-setup-codes)
1059         (python-shell-virtualenv-path): New defcustoms.
1060         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1061         (inferior-python-mode-syntax-table, python--prompt-regexp)
1062         (python-buffer, python-command python-python-command)
1063         (python-default-template, python-imports, python-indent-index)
1064         (python-indent-list, python-indent-list-length)
1065         (python-mode-running, python-pdbtrack-is-tracking-p)
1066         (python-preoutput-continuation, python-preoutput-leftover)
1067         (python-preoutput-result, python-preoutput-skip-next-prompt)
1068         (python-prev-dir/file, python-recursing)
1069         (python-saved-check-command, python-version-checked)
1070         (python-which-func-length-limit)
1071         (view-return-to-alist): Delete vars.
1072         (python-check-custom-command, python-dotty-syntax-table)
1073         (python-imenu-index-alist, python-indent-current-level)
1074         (python-indent-dedenters, python-indent-levels)
1075         (python-nav-beginning-of-defun-regexp)
1076         (python-nav-list-defun-positions-cache)
1077         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1078         (python-shell-internal-buffer)
1079         (python-skeleton-available): New vars.
1080         (def-python-skeleton): Delete macro.
1081         (python-skeleton-define): New macro.
1082         (python-define-auxiliary-skeleton, python-rx): New macros.
1083         (python-insert-class): Delete command.
1084         (python-skeleton-class): New command.
1085         (python-insert-def): Delete command.
1086         (python-skeleton-def): New command.
1087         (python-insert-for): Delete command.
1088         (python-skeleton-for): New command.
1089         (python-insert-if): Delete command.
1090         (python-skeleton-if): New command.
1091         (python-insert-try/except, python-insert-try/finally): Delete commands.
1092         (python-skeleton-try): New command.
1093         (python-insert-while): Delete command.
1094         (python-skeleton-while): New command.
1095         (python-backspace): Delete command.
1096         (python-indent-dedent-line-backspace): New command.
1097         (python-electric-colon): Delete command.
1098         (python-indent-electric-colon): New command.
1099         (python-guess-indent): Delete command.
1100         (python-indent-guess-indent-offset): New command.
1101         (python-shift-left): Delete command.
1102         (python-indent-shift-left): New command.
1103         (python-shift-right): Delete command.
1104         (python-indent-shift-right): New command.
1105         (python-find-function): Delete command.
1106         (python-nav-jump-to-defun): New command.
1107         (python-next-statement): Delete command.
1108         (python-nav-forward-sentence): New command.
1109         (python-previous-statement): Delete command.
1110         (python-nav-backward-sentence): New command.
1111         (python-fill-paragraph): Delete command.
1112         (python-fill-paragraph-function): New command.
1113         (python-send-buffer): Delete command.
1114         (python-shell-send-buffer): New command.
1115         (python-send-defun): Delete command.
1116         (python-shell-send-defun): New command.
1117         (python-send-region, python-send-region-and-go): Delete commands.
1118         (python-shell-send-region)
1119         (python-shell-switch-to-shell): New commands.
1120         (python-send-string): Delete command.
1121         (python-shell-send-string): New command.
1122         (python-switch-to-python): Delete command.
1123         (python-shell-switch-to-shell): New command.
1124         (python-describe-symbol): Delete command.
1125         (python-eldoc-at-point): New command.
1126         (python--set-prompt-regexp, python-args-to-list)
1127         (python-after-info-look, python-check-version)
1128         (python-check-comint-prompt, python-find-imports)
1129         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1130         (python-unload-function, python-expand-template)
1131         (python-maybe-jython, python-preoutput-filter)
1132         (python-pdbtrack-get-source-buffer)
1133         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1134         (python-pdbtrack-toggle-stack-tracking)
1135         (python-pdbtrack-track-stack-file, python-initial-text)
1136         (python-first-word, python-comment-line-p, python-send-command)
1137         (python-setup-brm, python-sentinel, python-set-proc)
1138         (python-skip-out, python-input-filter, python-outdent-p)
1139         (python-outline-level, python-backslash-continuation-line-p)
1140         (python-end-of-block, python-end-of-statement, python-mark-block)
1141         (python-beginning-of-block, python-beginning-of-statement)
1142         (python-blank-line-p, python-beginning-of-string)
1143         (python-open-block-statement-p): Delete functions.
1144         (python-indent-line, python-indent-line-1): Delete functions.
1145         (python-indent-line): New function.
1146         (python-indentation-levels): Delete function.
1147         (python-indent-calculate-levels): New function.
1148         (python-proc): Delete function.
1149         (python-shell-get-process): New function.
1150         (python-send-receive): Delete function.
1151         (python-shell-send-string-no-output): New function.
1152         (python-module-path): Delete function.
1153         (python-ffap-module-path): New function.
1154         (python-completion-at-point)
1155         (python-symbol-completions): Delete functions.
1156         (python-completion-complete-at-point): New function.
1157         (python-load-file): Delete function.
1158         (python-shell-send-file): New function.
1159         (python-calculate-indentation): Delete function.
1160         (python-indent-calculate-indentation): New function.
1161         (python-skip-comments/blanks): Delete function.
1162         (python-util-forward-comment): New function.
1163         (python-continuation-line-p): Delete function.
1164         (python-info-continuation-line-p): New function.
1165         (python-which-func, python-current-defun): Delete function.
1166         (python-info-current-defun): New function.
1167         (python-beginning-of-defun): Delete function.
1168         (python-nav-beginning-of-defun): New function.
1169         (python-close-block-statement-p)
1170         (python-block-end-p): Delete function.
1171         (python-info-closing-block): New function.
1172         (python-comint-output-filter-function)
1173         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1174         (python-fill-comment, python-fill-decorator, python-fill-paren)
1175         (python-fill-string, python-imenu-make-element-tree)
1176         (python-imenu-make-tree, python-imenu-tree-assoc)
1177         (python-indent-context, python-indent-dedent-line)
1178         (python-indent-line-function)
1179         (python-indent-post-self-insert-function)
1180         (python-indent-toggle-levels)
1181         (python-info-assignment-continuation-line-p)
1182         (python-info-beginning-of-backlash)
1183         (python-info-block-continuation-line-p)
1184         (python-info-closing-block-message)
1185         (python-info-line-ends-backslash-p)
1186         (python-info-looking-at-beginning-of-defun)
1187         (python-info-ppss-context, python-info-ppss-context-type)
1188         (python-nav-list-defun-positions, python-nav-read-defun)
1189         (python-nav-sentence-end, python-nav-sentence-start)
1190         (python-pdbtrack-comint-output-filter-function)
1191         (python-pdbtrack-set-tracked-buffer)
1192         (python-shell-calculate-exec-path)
1193         (python-shell-calculate-process-environment)
1194         (python-shell-completion--do-completion-at-point)
1195         (python-shell-completion--get-completions)
1196         (python-shell-completion-complete-at-point)
1197         (python-shell-completion-complete-or-indent)
1198         (python-shell-get-or-create-process)
1199         (python-shell-get-process-name)
1200         (python-shell-internal-get-or-create-process)
1201         (python-shell-internal-get-process-name)
1202         (python-shell-internal-send-string, python-shell-make-comint)
1203         (python-shell-parse-command, python-shell-send-setup-code)
1204         (python-skeleton-add-menu-items)
1205         (python-util-clone-local-variables, python-util-position)
1206         (run-python-internal, python-indentation-levels)
1207         (python-nav-beginning-of-defun)
1208         (python-completion-complete-at-point): New functions.
1209         (run-python): Change arguments.  New API requirements.
1211 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1213         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1214         (bug#11649).
1216         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1217         (macroexp--expand-all): Use it.
1219         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1220         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1221         Use `cl-function' instead.
1223 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
1225         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1226         Suggested by Stefan Monnier while discussing bug#11657.
1228 2012-06-14  Sam Steingold  <sds@gnu.org>
1230         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1232 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1234         * play/doctor.el (doctor-doc): Remove parameter and use
1235         doctor-sent instead of sent.
1236         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
1238 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1240         * files.el: Require cl-lib.
1241         (file-name-non-special): Replace case -> cl-case.
1243         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1245         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1246         mapping from #' to function*.
1248 2012-06-13  Chong Yidong  <cyd@gnu.org>
1250         * mouse.el (mouse-drag-track): Do not set the mark if the user
1251         releases the mouse without selecting anything (Bug#11588).
1253 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1255         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1256         as well (bug#11646).
1258         * loadup.el: Count byte-code functions as well.
1260         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1261         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1263         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1264         (bug#11649).  Add cl-defun and cl-defmacro.
1266 2012-06-13  Drew Adams  <drew.adams@oracle.com>
1268         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1269         Fix last change.
1271 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
1273         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1274         Otherwise, it blocks in batch mode.
1276 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
1278         * help-mode.el (bookmark-make-record-default): Declare.
1280 2012-06-13  Chong Yidong  <cyd@gnu.org>
1282         * emacs-lisp/package.el (list-packages): Compute a list of
1283         packages that are newly-available since the last list-packages
1284         invocation.
1285         (package-menu--new-package-list): New var.
1286         (package-menu--generate, package-menu--print-info)
1287         (package-menu--status-predicate, package-menu-mark-install):
1288         Handle new status label "new".
1290 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1292         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1293         conversion to backquotes.
1295 2012-06-12  Chong Yidong  <cyd@gnu.org>
1297         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1298         Rename from gud-inhibit-global-bindings.
1300         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1302         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1303         hook from nxml-glyph-set-hook.
1305         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1306         declaration.
1308         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1310         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1311         Convert to defcustom.
1313 2012-06-12  Drew Adams  <drew.adams@oracle.com>
1315         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1316         New functions.
1317         (help-mode): Use them.
1319 2012-06-11  Glenn Morris  <rgm@gnu.org>
1321         * progmodes/fortran.el (fortran-font-lock-keywords-3):
1322         Use preprocessor face for directives.
1323         (fortran-directive-re): Doc fix.
1325 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1327         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1328         conversion to backquotes (bug#11652).
1330         Fix compiler-expansion of CL's cXXr functions (bug#11673).
1331         * emacs-lisp/cl-lib.el (cl--defalias): New function.
1332         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1333         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1334         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1335         (cl-ninth, cl-tenth): Mark them as inlinable.
1336         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1337         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1338         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1339         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1340         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1341         (cl-list*, cl-adjoin): Don't put an autoload manually.
1342         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1343         (cl--compiler-macro-list*): Add autoload cookie.
1344         (cl--compiler-macro-cXXr): New function.
1346         * help-fns.el (help-fns--compiler-macro): New function extracted from
1347         describe-function-1; follow aliases and use `compiler-macro' property.
1348         (describe-function-1): Use it.
1350 2012-06-11  Chong Yidong  <cyd@gnu.org>
1352         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1353         is uninstalled, if imagemagick is installed.
1355 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1357         * emacs-lisp/cl-lib.el: Use lexical-binding.
1358         (cl-map-extents, cl-maclisp-member): Remove.
1359         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1360         (cl--set-substring, cl--block-wrapper, cl--block-throw)
1361         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1362         * emacs-lisp/cl-extra.el: Use lexical-binding.
1363         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1364         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1365         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1366         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1367         * emacs-lisp/cl-seq.el: Use lexical-binding.
1368         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1369         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1370         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1371         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1372         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1373         CL's internals.
1375 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
1377         Sync with Tramp 2.2.6-pre.
1379         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1380         `print-length' and `print-level' to nil, in order to avoid
1381         truncation.  Reported by Christopher Schmidt
1382         <christopher@ristopher.com>.
1384         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1386         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1387         New defmacro.
1388         (tramp-compat-copy-directory): Add optional argument
1389         COPY-CONTENTS.  It is not handled yet.
1391         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1392         (tramp-ftp-file-name-p): Simplify.
1394         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1395         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1396         connection vector.
1398         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1399         (tramp-methods): Do not use `tramp-password-end-of-line'.
1400         (tramp-completion-function-alist-putty): Handle UNIX case.
1401         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1402         (tramp-do-file-attributes-with-stat)
1403         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1404         gid as real numbers.  They could run out of integer range on cygwin.
1405         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1406         (tramp-sh-handle-expand-file-name): Handle hops.
1407         (tramp-open-connection-setup-interactive-shell):
1408         Use `tramp-cleanup'.  Move check for busyboxes ...
1409         (tramp-find-shell): ... here.  Simplify implementation.
1410         Set "remote-shell" property also for alternative shells.
1411         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1412         If failing, a regular file would be written otherwise.
1413         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
1414         (tramp-find-inline-encoding): Cache the coding commands in the
1415         process cache.  Apply test command on the remote side, if defined.
1416         (tramp-find-inline-compress): Cache the compress commands in the
1417         process cache.
1418         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1419         when requested.  Handle hops.
1420         (tramp-current-connection): New defvar.
1421         (tramp-maybe-open-connection): Use `tramp-cleanup'.
1422         Throw `suppress', if there was a failed connection shortly before.
1423         Handle user interrupt.  (Bug#10187)
1424         (tramp-get-inline-compress, tramp-get-inline-coding):
1425         Read connection properties from the process cache.
1427         * net/tramp-smb.el (tramp-smb-server-version)
1428         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1429         New defconsts.
1430         (tramp-smb-prompt): Extend for powershell prompt.
1431         (tramp-smb-file-name-handler-alist): Add handlers for
1432         `process-file', `shell-command' and `start-file-process'.
1433         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1434         (tramp-smb-winexe-shell-command-switch): New defcustoms.
1435         (tramp-smb-file-name-p): Simplify.
1436         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1437         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1438         (tramp-smb-shell-quote-argument): New defuns.
1439         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1440         Implement using "tar".  By this, time-stamps are preserved.
1441         (tramp-smb-handle-copy-file): Handle also the case of directories.
1442         (tramp-smb-do-file-attributes-with-stat)
1443         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1444         Use `tramp-get-connection-buffer').
1445         (tramp-smb-handle-rename-file): Use "rename", when source and
1446         target are on the same share.
1447         (tramp-smb-maybe-open-connection): Handle wrong passwords.
1448         Use `tramp-smb-server-version'.
1449         (tramp-smb-wait-for-output): Remove prompt.
1451         * net/tramp.el (top): Require 'cl.
1452         (tramp-methods, tramp-rsh-end-of-line):
1453         Remove `tramp-password-end-of-line' from docstring.
1454         (tramp-save-ad-hoc-proxies): New defcustom.
1455         (tramp-completion-function-alist): Adapt docstring.
1456         (tramp-default-password-end-of-line): Remove defcustom.
1457         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
1458         (tramp-user-regexp, tramp-file-name-regexp-unified)
1459         (tramp-file-name-regexp-url): Extend regexp by hop separator.
1460         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1461         (tramp-remote-file-name-spec-regexp): New defconst.
1462         (tramp-file-name-structure): Extend structure for hops.
1463         (tramp-get-method-parameter): Move up.
1464         (tramp-file-name-p, tramp-dissect-file-name)
1465         (with-parsed-tramp-file-name): Handle hops.
1466         (tramp-file-name-hop): New defun.
1467         (tramp-make-tramp-file-name): New optional arg HOP.
1468         (tramp-message-show-progress-reporter-message): New defvar.
1469         (tramp-with-progress-reporter): Use it.  We cannot use
1470         `tramp-message-show-message' here, because this suppresses also
1471         error buffers.
1472         (tramp-error-with-buffer): Suppress buffer view, if
1473         `tramp-message-show-message' is nil.
1474         Use `tramp-get-connection-buffer'.
1475         (tramp-cleanup): New defun.
1476         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1477         (tramp-file-name-handler): If `debug-on-error' is set, propagate
1478         an error unchanged.
1479         (tramp-completion-handle-file-name-all-completions): Handle hops.
1480         Fix an error when called from ido.
1481         (tramp-completion-dissect-file-name): Use better local variable
1482         name.  Add hop to the vector.
1483         (tramp-handle-insert-file-contents): Use progress-reporter for the
1484         whole scenario.
1485         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1486         to `t'.
1487         (tramp-check-for-regexp): Simplify search.
1488         (tramp-enter-password): Remove it.  Move implementation ...
1489         (tramp-action-password): ... here.
1490         (tramp-mode-string-to-int, tramp-local-host-p)
1491         (tramp-make-tramp-temp-file, tramp-read-passwd)
1492         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1493         Set tramp-autoload cookie.
1495         * net/trampver.el: Update release number.
1497 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1498             Michael Albinus  <michael.albinus@gmx.de>
1500         * net/tramp.el (tramp-set-completion-function): Fix docstring.
1501         (tramp-parse-group, tramp-parse-file)
1502         (tramp-parse-shostkeys-sknownhosts): New defuns.
1503         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1504         (tramp-parse-shosts-group, tramp-parse-sconfig)
1505         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1506         (tramp-parse-sknownhosts, tramp-parse-hosts)
1507         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1508         Use them.
1509         (tramp-parse-passwd-group, tramp-parse-netrc-group)
1510         (tramp-parse-putty-group): Don't narrow.
1511         (tramp-parse-putty): Make a loop.
1512         (tramp-file-name-handler): Catch the `suppress' signal.
1514 2012-06-11  Chong Yidong  <cyd@gnu.org>
1516         * image.el (imagemagick-register-types): Put the ImageMagick entry
1517         at the end of image-type-file-name-regexps.
1519 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
1521         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1522         (pcase, pcase-let*, pcase-dolist): Use them.
1524 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1526         * emacs-lisp/pcase.el (pcase--let*): New function.
1527         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
1528         (pcase--expand): Use macroexp-let².
1530 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1532         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1533         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1534         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1535         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1536         * emacs-lisp/derived.el: Use pcase instead of `cl'.
1537         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1539 2012-06-10  Glenn Morris  <rgm@gnu.org>
1541         * mail/rmail.el (rmail-yank-current-message): Leave point at
1542         correct position.  (Bug#11660)
1544 2012-06-10  Chong Yidong  <cyd@gnu.org>
1546         * allout-widgets.el: Fix code header.
1548 2012-06-10  Chong Yidong  <cyd@gnu.org>
1550         * cus-edit.el (customize-changed-options-previous-release):
1551         Bump to 24.1.
1553 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
1555         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1557 2012-06-09  Chong Yidong  <cyd@gnu.org>
1559         * ebuff-menu.el (electric-buffer-list): Preserve header line.
1561 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
1563         * window.el (special-display-popup-frame): Don't use
1564         window--display-buffer (Bug#11651).
1566 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
1568         Fix parallel builds: make sure loaddefs.el is not being written
1569         while Lisp files are compiled.
1570         (compile): Don't depend on 'mh-autoloads'.
1571         (compile-CMD, compile-SH): Depend on 'autoloads'.
1572         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1574         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
1576 2012-06-09  Chong Yidong  <cyd@gnu.org>
1578         * face-remap.el (face-remap-add-relative, face-remap-set-base)
1579         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1580         Doc fixes (Bug#11225).
1582 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1584         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1585         a function if there's a clear indication that it has a compiler-macro.
1586         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1587         (macro-declarations-alist): Add arglist to declaration functions.
1588         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1589         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1590         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1591         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1592         Also add autoload to find the compiler macro.
1593         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1594         (cl--compiler-macro-member, cl--compiler-macro-assoc)
1595         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1596         (cl--compiler-macro-get): New functions, replacing calls to
1597         cl-define-compiler-macro.
1598         (cl-typep) [compiler-macro]: Use macroexp-let².
1600 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
1602         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1603         string properly, fixes Bug#11473.
1605 2012-06-08  Chong Yidong  <cyd@gnu.org>
1607         * faces.el (set-face-attribute): Doc fix.
1608         (modify-face): Don't use :bold and :italic.
1609         (error, warning, success): Tweak definitions.
1611         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1612         (custom-modified, custom-set, custom-changed, custom-themed)
1613         (custom-saved, custom-button, custom-button-mouse)
1614         (custom-button-pressed, custom-state, custom-comment-tag)
1615         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1616         (custom-group-subtitle): Use new-style face specs.
1617         (custom-invalid-face, custom-rogue-face, custom-modified-face)
1618         (custom-set-face, custom-changed-face, custom-saved-face)
1619         (custom-button-face, custom-button-pressed-face)
1620         (custom-documentation-face, custom-state-face)
1621         (custom-comment-face, custom-comment-tag-face)
1622         (custom-variable-tag-face, custom-variable-button-face)
1623         (custom-face-tag-face, custom-group-tag-face-1)
1624         (custom-group-tag-face): Remove obsolete face alias.
1626         * epa.el (epa-validity-high, epa-validity-medium)
1627         (epa-validity-low, epa-mark, epa-field-name, epa-string)
1628         (epa-field-name, epa-field-body):
1629         * font-lock.el (font-lock-comment-face, font-lock-string-face)
1630         (font-lock-keyword-face, font-lock-builtin-face)
1631         (font-lock-function-name-face, font-lock-variable-name-face)
1632         (font-lock-type-face, font-lock-constant-face):
1633         * ido.el (ido-first-match, ido-only-match, ido-subdir)
1634         (ido-virtual, ido-indicator, ido-incomplete-regexp):
1635         * speedbar.el (speedbar-button-face, speedbar-file-face)
1636         (speedbar-directory-face, speedbar-tag-face)
1637         (speedbar-selected-face, speedbar-highlight-face)
1638         (speedbar-separator-face):
1639         * whitespace.el (whitespace-newline, whitespace-space)
1640         (whitespace-hspace, whitespace-tab, whitespace-trailing)
1641         (whitespace-line, whitespace-space-before-tab)
1642         (whitespace-space-after-tab, whitespace-indentation)
1643         (whitespace-empty):
1644         * emulation/cua-base.el (cua-global-mark):
1645         * eshell/em-prompt.el (eshell-prompt):
1646         * net/newst-plainview.el (newsticker-new-item-face)
1647         (newsticker-old-item-face, newsticker-immortal-item-face)
1648         (newsticker-obsolete-item-face, newsticker-date-face)
1649         (newsticker-statistics-face, newsticker-default-face):
1650         * net/newst-reader.el (newsticker-feed-face)
1651         (newsticker-extra-face, newsticker-enclosure-face):
1652         * net/newst-treeview.el (newsticker-treeview-face)
1653         (newsticker-treeview-new-face, newsticker-treeview-old-face)
1654         (newsticker-treeview-immortal-face)
1655         (newsticker-treeview-obsolete-face)
1656         (newsticker-treeview-selection-face):
1657         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1658         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1659         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1660         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1661         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1662         (nxml-outline-active-indicator, nxml-outline-ellipsis):
1663         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1664         (mpuz-text):
1665         * progmodes/vera-mode.el (vera-font-lock-number)
1666         (vera-font-lock-function, vera-font-lock-interface):
1667         * textmodes/table.el (table-cell): Use new-style face specs, and
1668         don't use the old :bold and :italic attributes.
1670         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1671         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1672         (ebrowse-member-class, ebrowse-progress): Likewise.
1673         (ebrowse-tree-mark-face, ebrowse-root-class-face)
1674         (ebrowse-file-name-face, ebrowse-default-face)
1675         (ebrowse-member-attribute-face, ebrowse-member-class-face)
1676         (ebrowse-progress-face): Remove obsolete faces.
1678         * progmodes/flymake.el (flymake-errline, flymake-warnline):
1679         Inherit from error and warning faces respectively.
1681         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1682         Likewise.
1683         (flyspell-incorrect-face, flyspell-duplicate-face):
1684         Remove obsolete aliases.
1686 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
1688         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1689         Avoid infloop.
1691 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1693         * startup.el (argv, argi): Make lexically scoped.
1694         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1695         * emacs-lisp/cl-macs.el: Use lexical-binding.
1696         Rename cl-bind-* to cl--bind-*.
1697         * files.el: Don't require `cl' since it doesn't use it.
1698         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1700 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
1702         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1703         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1704         instead of calling external sort utility.
1705         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1707 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
1709         * descr-text.el (describe-char): Mention how to insert the
1710         character, if the current input method doesn't support it.
1711         See the discussion in this thread for the details:
1712         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1714 2012-06-08  Sam Steingold  <sds@gnu.org>
1716         * bindings.el (global-map): Bind XF86Forward to next-buffer and
1717         XF86Back to previous-buffer.
1718         (minibuffer-local-map): Bind them to next-history-element and
1719         previous-history-element respectively.
1720         * help-mode.el (help-mode-map): Bind them to help-go-forward and
1721         help-go-back respectively.
1722         * info.el (Info-mode-map): Bind them to Info-history-forward and
1723         Info-history-back respectively.
1724         These are the keys next to Up on the ThinkPad keyboard.
1726 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1728         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1729         * emacs-lisp/cl-macs.el: Provide itself.
1730         (cl--labels-convert-cache): New var.
1731         (cl--labels-convert): New function.
1732         (cl-flet, cl-labels): New implementation with new semantics, relying on
1733         lexical-binding.
1734         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1735         (cl-closure-vars, cl--function-convert-cache)
1736         (cl--function-convert): Move from cl-macs.el.
1737         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1738         rename by removing the "cl-" prefix.
1739         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1741 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1743         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1744         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1745         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1746         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1747         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1748         (cl-hash-table-count): Add old compatibility aliases.
1750         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1751         Use macroexpand-all-environment instead.
1752         (cl--old-macroexpand): New var.
1753         (cl--sm-macroexpand): New function.
1754         (cl-symbol-macrolet): Use it during macro expansion.
1755         (cl--function-convert-cache): New var.
1756         (cl--function-convert): New function, extracted from
1757         cl-macroexpand-all.
1758         (cl-lexical-let): Use it.
1760         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1761         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1762         (cl-member): Remove old alias.
1764         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1765         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1766         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1767         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1768         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1769         (cl-macroexpand-cmacs): Remove var.
1770         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1771         Use macroexpand-all instead.
1773 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1775         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1776         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1777         (macroexp-copyable-p): New functions and macros.
1778         * emacs-lisp/edebug.el (edebug-unwrap):
1779         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1780         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1781         (pcase--let*): Remove.
1782         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1783         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
1784         macroexp-const-p instead.
1785         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1787         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1788         instead of "cl-" for internal definitions.  Use macroexp-const-p.
1789         (cl-old-bc-file-form): Remove var.
1790         (cl-const-exprs-p): Remove fun.
1791         (cl-labels, cl-macrolet): Use backquote.
1792         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
1793         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1794         (cl-define-setf-expander): Rename from cl-define-setf-method.
1795         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1797         * international/mule-cmds.el: Don't require CL.
1798         (view-hello-file): Don't use `letf'.
1800 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1802         * tmm.el (tmm-prompt): Use string-prefix-p.
1803         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1804         (tmm-add-prompt): Use minibuffer-completion-help.
1805         (tmm-delete-map): Remove.
1807         * subr.el (kbd): Make it its own function.
1809 2012-06-07  Stefan Merten  <smerten@oekonux.de>
1811         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1812         Silence compiler warnings.  Fix versions.
1813         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1814         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1815         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1816         (rst-package-emacs-version-alist): Correct Emacs version to
1817         represent major merge with upstream.
1818         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1820 2012-06-06  Glenn Morris  <rgm@gnu.org>
1822         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1823         Only print environment variables if set.
1825 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1827         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1828         (macroexp--cons): Rename from maybe-cons.
1829         (macroexp--accumulate): Rename from macroexp-accumulate.
1830         (macroexp--all-forms): Rename from macroexpand-all-forms.
1831         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1832         (macroexp--expand-all): Rename from macroexpand-all-1.
1834 2012-06-06  Sam Steingold  <sds@gnu.org>
1836         * calendar/calendar.el (calendar-in-read-only-buffer):
1837         Call `special-mode' to enable the standard read-only keybindings.
1839 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1841         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1842         with "loading" messages (bug#11635).
1844 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
1846         * files.el (enable-remote-dir-locals): New option.
1847         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
1849         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1850         Ensure, that the temp directory is local.
1852         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1853         `temporary-file-directory'.
1855         * progmodes/python.el (python-send-region): Ensure, that the
1856         temporary file is created also in the remote case.
1858 2012-06-06  Glenn Morris  <rgm@gnu.org>
1860         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1861         (vc-rcs-update-changelog): Use it.
1863         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
1865         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1866         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1867         (vc-sccs-diff): Replace use of the external vcdiff script.
1869 2012-06-05  Glenn Morris  <rgm@gnu.org>
1871         * ledit.el: Move to obsolete/.
1873 2012-06-05  Sam Steingold  <sds@gnu.org>
1875         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
1876         patch (Bug#11140).
1878 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1880         * emacs-lisp/cust-print.el: Move to obsolete.
1882         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1883         compiler-macro expansion.
1885         Add native compiler-macro support.
1886         * emacs-lisp/macroexp.el (macroexpand-all-1):
1887         Support compiler-macros directly.  Properly follow aliases and apply
1888         the compiler macros more thoroughly.
1889         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1890         macroexpand now properly follows aliases.
1891         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1892         (cl-compiler-macroexpand): Use new prop.
1893         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1895         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1897 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
1899         * window.el (get-lru-window, get-mru-window, get-largest-window):
1900         New argument NOT-SELECTED to avoid picking the selected window.
1901         (window--display-buffer-1, window--display-buffer-2): Replace by
1902         new function window--display-buffer
1903         (display-buffer-same-window, display-buffer-reuse-window)
1904         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1905         Use window--display-buffer.
1906         (display-buffer-use-some-window): Remove temporary dedication
1907         hack by calling get-lru-window and get-largest-window with
1908         NOT-SELECTED argument non-nil.  Call window--display-buffer.
1910 2012-06-05  Glenn Morris  <rgm@gnu.org>
1912         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1913         Replace external vcdiff script.
1915 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1917         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1919 2012-06-04  Chong Yidong  <cyd@gnu.org>
1921         * image.el (imagemagick-types-inhibit): Revert last change.
1922         Add INFO and M.
1923         (imagemagick-enabled-types): Remove CIN and EPS*.
1925 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1927         * emacs-lisp/cl-lib.el: Rename from cl.el.
1928         * emacs-lisp/cl.el: New compatibility file.
1929         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1930         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1931         to obey the "cl-" prefix.
1932         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1934 2012-06-03  Glenn Morris  <rgm@gnu.org>
1936         * emacs-lisp/authors.el (authors-aliases): Addition.
1938         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1939         Fix :version.
1941 2012-06-03  Stefan Merten  <smerten@oekonux.de>
1943         * textmodes/rst.el: Add comments.
1944         (rst-transition, rst-adornment): New faces.
1945         (rst-adornment-faces-alist): Make default safe to reevaluate.
1946         Fixes
1947         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1948         Improve customization tags.
1949         (rst-define-level-faces): Clarify meaning.
1951 2012-06-03  Chong Yidong  <cyd@gnu.org>
1953         * progmodes/compile.el (compilation-mode-line-fail)
1954         (compilation-mode-line-run, compilation-mode-line-exit):
1955         New faces.
1956         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1958 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
1960         * progmodes/which-func.el (which-func-update-ediff-windows):
1961         New function.  Use it in ediff-select-hook (Bug#11478).
1963 2012-06-03  Chong Yidong  <cyd@gnu.org>
1965         * bindings.el: Remove explicit help text from format-mode-line.
1966         It is now supplied by mode-line-default-help-echo.
1967         (mode-line-front-space, mode-line-end-spaces)
1968         (mode-line-misc-info): New variables.
1969         (mode-line-modes, mode-line-position): Move the default value to
1970         the variable definition.
1971         (mode-line-default-help-echo): New defcustom.
1972         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1973         (mode-line-modified-help-echo): New functions.
1974         (mode-line-mule-info, mode-line-modified): Use them.
1975         (mode-line-eol-desc, propertized-buffer-identification):
1976         Consistency fixes for help text.
1977         (mode-line-coding-system-map): Allow using mouse-3 to invoke
1978         set-buffer-file-coding-system (Bug#289).
1979         (mode-line-mule-info-help-echo): Update help text.
1981 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1983         * simple.el (execute-extended-command): Set real-this-command
1984         (bug#11506).
1986 2012-06-02  Chong Yidong  <cyd@gnu.org>
1988         Remove incorrect uses of "modeline" in comments, docstrings, and
1989         function/variable names (Bug#10329).
1991         * cus-edit.el (mode-line):
1992         * dframe.el (dframe-mouse-hscroll):
1993         * emacs-lisp/re-builder.el:
1994         * emacs-lisp/easy-mmode.el (define-minor-mode):
1995         * frame.el (set-frame-name):
1996         * help.el (lookup-minor-mode-from-indicator):
1997         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1998         * progmodes/cc-cmds.el (c-toggle-auto-newline)
1999         (c-toggle-hungry-state):
2000         * progmodes/antlr-mode.el (antlr-language-alist):
2001         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2002         * progmodes/vhdl-mode.el (vhdl-mode):
2003         * progmodes/which-func.el (which-func, which-func-cleanup-function):
2004         * term/ns-win.el (ns-face-at-pos):
2005         * term/sup-mouse.el (sup-mouse-report):
2006         * textmodes/flyspell.el (flyspell-mode-line-string):
2007         * textmodes/ispell.el (ispell-highlight-face):
2008         * textmodes/reftex-global.el:
2009         * vc/vc-arch.el (vc-arch-mode-line-string):
2010         * vc/vc-cvs.el (vc-cvs-mode-line-string):
2011         * vc/vc-git.el (vc-git-mode-line-string):
2012         * vc/vc-hooks.el (vc-display-status)
2013         (vc-default-mode-line-string):
2014         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2016         * ansi-color.el (ansi-color-faces-vector): Change default faces.
2018         * dired.el (dired-sort-set-mode-line): Rename from
2019         dired-sort-set-modeline.  All callers changed.
2021         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2022         eshell-status-in-modeline.
2024         * foldout.el (foldout-mode-line-string): Rename from
2025         foldout-modeline-string.  All callers changed.
2026         (foldout-update-mode-line): Rename from foldout-update-modeline.
2028         * subr.el (redraw-modeline): Make into obsolete alias.
2030         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2031         timeclock-modeline-display.  Make old name an alias.
2032         (timeclock-update-mode-line): Likewise.  All callers changed.
2033         (timeclock-mode-line-display): No need to check before using
2034         add-hook.
2035         (timeclock-relative, timeclock-day-over-hook)
2036         (timeclock-use-elapsed, timeclock-mode-string)
2037         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2039         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2040         crisp-mode-modeline-string.
2042         * play/solitaire.el (solitaire-build-mode-line): Rename from
2043         solitaire-build-modeline.  All callers changed.
2045         * play/zone.el (zone-hiding-mode-line): Rename from
2046         zone-hiding-modeline.  All callers changed.
2047         (zone): Remove unusued `modeline-hidden-level' property.
2049         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2050         xscheme-modeline-initialize.  All callers changed.
2052         * strokes.el (strokes-lighter): Rename from
2053         strokes-modeline-string.
2055         * textmodes/sgml-mode.el (html-face-tag-alist)
2056         (html-tag-face-alist): Use mode-line face instead of obsolete
2057         alias modeline.
2059 2012-06-02  Stefan Merten  <smerten@oekonux.de>
2061         * textmodes/rst.el: Always require `cl'.
2062         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2064 2012-06-02  Chong Yidong  <cyd@gnu.org>
2066         * image.el (imagemagick-enabled-types): Rename from
2067         imagemagick-types-enable.  Add many more types.
2068         (imagemagick-types-inhibit): Change default to nil.
2069         (imagemagick-filter-types): Caller changed.
2071 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2073         * emacs-lisp/cl-macs.el: Use backquotes.
2074         (cl-transform-function-property): Use eval-and-compile rather than
2075         abusing `require'.
2076         (defstruct): Use declare-function instead of with-no-warnings.
2078         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2079         (byte-compile-output-docform): Re-add the print-circle bindings.
2080         (byte-compile-fix-header): Use #$ just because it's shorter.
2081         (byte-compile-output-file-form): Remove defun/defmacro.
2083 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
2085         * simple.el (choose-completion): Remove now obsolete binding for
2086         owindow.
2088 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
2090         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2091         in order to avoid "Stack overflow in regexp matcher".
2093 2012-05-31  Glenn Morris  <rgm@gnu.org>
2095         * image.el: For clarity, call imagemagick-register-types at
2096         top-level, rather than relying on a custom :initialize.
2097         (imagemagick-types-enable): New option.  (Bug#11557)
2098         (imagemagick-filter-types): New function.  (Bug#7406)
2099         (imagemagick-register-types): Use imagemagick-filter-types.
2100         If disabling support, remove elements altogether rather
2101         than using an impossible regexp.
2102         (imagemagick-types-inhibit): Give it the default init function.
2104 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2106         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2107         Handle arbitrary file name lengths (Bug#11585).
2109 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
2111         * desktop.el (desktop-read): Clear previous and next buffers for
2112         all windows and bury *Messages* buffer (bug#11556).
2114 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2116         Add `declare' for `defun'.  Align `defmacro's with it.
2117         * emacs-lisp/easy-mmode.el (define-minor-mode)
2118         (define-globalized-minor-mode): Don't autoload the var definitions.
2119         * emacs-lisp/byte-run.el: Use lexical-binding.
2120         (defun-declarations-alist, macro-declarations-alist): New vars.
2121         (defmacro, defun): Use them.
2122         (make-obsolete, define-obsolete-function-alias)
2123         (make-obsolete-variable, define-obsolete-variable-alias):
2124         Use `declare'.
2125         (macro-declaration-function): Mark obsolete.
2126         * emacs-lisp/autoload.el: Use lexical-binding.
2127         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
2129 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2131         * textmodes/ispell.el (ispell-with-no-warnings):
2132         Define as a macro.
2133         (ispell-kill-ispell, ispell-change-dictionary):
2134         Use `called-interactively-p' for Emacs instead of obsolete
2135         `interactive-p'.
2137 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2139         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2140         (macro-declaration-function): Move var from C code.
2141         (macro-declaration-function): Define function with defalias.
2142         * emacs-lisp/macroexp.el (macroexpand-all-1):
2143         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2144         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2145         defun/defmacro any more.
2146         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2147         Provide fallback for unknown arglist.
2148         (byte-compile-arglist-warn): Change calling convention.
2149         (byte-compile-output-file-form): Move print-vars binding.
2150         (byte-compile-output-docform): Simplify accordingly.
2151         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2152         (byte-compile-defmacro-declaration): Remove.
2153         (byte-compile-file-form-defmumble): Generalize to defalias.
2154         (byte-compile-output-as-comment): Return byte-positions.
2155         Simplify callers accordingly.
2156         (byte-compile-lambda): Use `assert'.
2157         (byte-compile-defun, byte-compile-defmacro): Remove.
2158         (byte-compile-file-form-defalias):
2159         Use byte-compile-file-form-defmumble.
2160         (byte-compile-defalias-warn): Remove.
2162 2012-05-29  Stefan Merten  <smerten@oekonux.de>
2164         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2165         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
2167         (rst-mode-abbrev-table): Merge definition.
2168         (rst-mode): Make sure `font-lock-defaults' is buffer local.
2169         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2171 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
2173         * calendar/icalendar.el
2174         (icalendar-export-region): Export UID properly.
2176 2012-05-29  Leo Liu  <sdl.web@gmail.com>
2177         * calendar/icalendar.el (icalendar-import-format):
2178         Add `icalendar-import-format-uid' (Bug#11525).
2179         (icalendar-import-format-uid): New.
2180         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2181         Export UID.
2183 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2185         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2186         different alternative patterns.
2187         (pcase-codegen): Be more careful to preserve identity.
2188         (pcase--u1): Don't forget to mark vars as used.
2190         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2191         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2192         (byte-compile-from-buffer): ...rather than here.
2194         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2195         functions from byte-compile-function-environment.
2197 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
2199         * window.el (window-deletable-p): Avoid deleting the root window
2200         of a frame with an active minibuffer.
2202 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
2204         * simple.el (choose-completion): Use quit-window (Bug#11567).
2206 2012-05-29  Chong Yidong  <cyd@gnu.org>
2208         * whitespace.el (whitespace-cleanup): Fix usage of
2209         whitespace-empty-at-bob-regexp (Bug#11492).
2211 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2213         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2214         revert (Bug#11488).
2216 2012-05-29  Juri Linkov  <juri@jurta.org>
2218         * isearch.el (isearch-mode-map): Bind `M-s _' to
2219         `isearch-toggle-symbol'.  Bind `M-s c' to
2220         `isearch-toggle-case-fold'.
2221         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2222         (isearch-forward): Add `M-s _' to the docstring.
2223         (isearch-forward-symbol, isearch-toggle-case-fold)
2224         (isearch-symbol-regexp): New functions.  (Bug#11381)
2226 2012-05-29  Juri Linkov  <juri@jurta.org>
2228         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
2229         (isearch-occur, isearch-search-and-update): If `isearch-word' is
2230         a function, call it to get the regexp.
2231         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2232         property `isearch-message-prefix' instead of the string "word ".
2233         (isearch-search-fun-default): For the case of `isearch-word',
2234         return a lambda that calls re-search-forward/re-search-backward
2235         with a regexp returned by `word-search-regexp' or by the function
2236         in `isearch-word'.
2238 2012-05-29  Juri Linkov  <juri@jurta.org>
2240         * isearch.el (isearch-search-fun-default): New function.
2241         (isearch-search-fun): Move default part to the new function
2242         `isearch-search-fun-default'.
2243         (isearch-search-fun-function): Set the default value to
2244         `isearch-search-fun-default'.  (Bug#11381)
2246         * comint.el (comint-history-isearch-end):
2247         Use `isearch-search-fun-default'.
2248         (comint-history-isearch-search): Use `isearch-search-fun-default'
2249         and remove spacial case for `isearch-word'.
2250         (comint-history-isearch-wrap): Remove spacial case for
2251         `isearch-word'.
2253         * hexl.el (hexl-isearch-search-function):
2254         Use `isearch-search-fun-default'.
2256         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2257         Use `word-search-regexp' for `isearch-word'.
2259         * misearch.el (multi-isearch-search-fun):
2260         Use `isearch-search-fun-default'.
2262         * simple.el (minibuffer-history-isearch-search):
2263         Use `isearch-search-fun-default' and remove spacial case for
2264         `isearch-word'.
2265         (minibuffer-history-isearch-wrap): Remove spacial case for
2266         `isearch-word'.
2268         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2269         Remove spacial case for `isearch-word'.
2270         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2272 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2274         Decrease XEmacs incompatibilities.
2275         * textmodes/flyspell.el (flyspell-check-pre-word-p):
2276         Use `string-match'.
2277         (flyspell-delete-region-overlays): Use alternative definition for
2278         XEmacs.
2279         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2280         (flyspell-word): Use `process-kill-without-query' if XEmacs.
2281         (flyspell-mode-on): Use `interactive-p' if XEmacs.
2282         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2283         `define-obsolete-face-alias' under XEmacs, but old method.
2285         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2286         `with-no-warnings' definition or Emacs alias.
2287         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2288         (ispell-word): Do not use `region-p' if XEmacs.
2290 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2292         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2293         Check for `ispell-dictionary-base-alist' instead of full
2294         `ispell-dictionary-alist'.
2295         (ispell-init-process): Show spellchecker when starting new Ispell
2296         process.
2298 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2300         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2301         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2303 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
2305         * version.el (motif-version-string, gtk-version-string)
2306         (ns-version-string): Declare.
2308 2012-05-27  Juri Linkov  <juri@jurta.org>
2310         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2311         after the `eval-defun-1' specialcaseing
2312         like in `edebug-eval-defun' (bug#10181).
2314         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2315         like in `eval-defun-1'.
2317 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
2319         * mail/sendmail.el (mail-yank-region):
2320         Recognize rmail-yank-current-message in addition to insert-buffer.
2321         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2322         a *mail* buffer created through rmail-start-mail with sendmail as
2323         mail-user-agent.
2325 2012-05-27  Chong Yidong  <cyd@gnu.org>
2327         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2328         Default to 256 (Bug#11267).
2330         * help.el (describe-mode): Doc fix.
2332 2012-05-26  Glenn Morris  <rgm@gnu.org>
2334         * w32-fns.el (w32-init-info): Remove.
2335         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2337         * info.el (info-initialize): For self-contained NS builds, put the
2338         included info/ directory at the front.  (Bug#2791)
2340         * paths.el (Info-default-directory-list): Make it a defcustom,
2341         mainly so that we can use custom-initialize-delay.
2343 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2345         * subr.el (buffer-has-markers-at): Mark obsolete.
2347         * subr.el (lambda): Use declare.
2349         * emacs-lisp/lisp-mode.el (lambda):
2350         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2352 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2354         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
2356 2012-05-26  Glenn Morris  <rgm@gnu.org>
2358         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2360 2012-05-25  Glenn Morris  <rgm@gnu.org>
2362         * paths.el: Remove no-byte-compile.
2363         * loadup.el: No need to load paths.el uncompiled.
2365         * image.el (imagemagick-types-inhibit): Doc fix.
2367         * version.el: Remove no-byte-compile and associated formatting.
2368         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
2369         is ancient code from when there was an "inc-vers.el".
2371 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2373         * progmodes/gdb-mi.el: Minor style changes.
2374         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2375         Turn into minor modes.
2376         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2377         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2378         (gdb-shell): Remove unneeded let-binding.
2379         (gdb-get-many-fields): Eliminate O(n²) behavior.
2381 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
2383         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2384         platforms that don't link in fontset.c.
2386 2012-05-25  Juri Linkov  <juri@jurta.org>
2388         Use the same diff color scheme as in modern VCSes (bug#10181).
2390         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2391         to avoid confusion with `diff-added' that now uses green colors.
2392         (diff-removed): Use shades of red.
2393         (diff-added): Use shades of green.
2394         (diff-changed): Leave just the yellow color.
2395         (diff-use-changed-face): New variable.
2396         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2397         how to highlight context diff changes.
2398         (diff-refine-change): Use shades of yellow.
2399         (diff-refine-removed): New face that uses shades of red.
2400         (diff-refine-added): New face that uses shades of green.
2401         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2402         `diff-refine-removed' in the call to `smerge-refine-subst'
2403         depending on the value of `diff-use-changed-face'.
2405         * vc/smerge-mode.el (smerge-mine): Use shades of red.
2406         (smerge-other): Use shades of green.
2407         (smerge-base): Use shades of yellow.
2408         (smerge-refined-change): Empty face.
2409         (smerge-refined-removed): New face that uses shades of red.
2410         (smerge-refined-added): New face that uses shades of green.
2411         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
2412         args `props-r' and `props-a', and use them.  Doc fix.
2413         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2414         on its value use different faces `smerge-refined-change',
2415         `smerge-refined-removed', `smerge-refined-added' in the call to
2416         `smerge-refine-subst'.
2418         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2419         Add face condition `min-colors 88' with shades of red.
2420         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2421         `min-colors 88' with shades of green.
2422         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2423         `min-colors 88' with shades of yellow.
2425 2012-05-24  Glenn Morris  <rgm@gnu.org>
2427         * paths.el (prune-directory-list, remote-shell-program): Move to...
2428         * files.el (prune-directory-list, remote-shell-program): ...here.
2429         For the latter, delay initialization, prefer ssh, just search PATH.
2431         * paths.el (term-file-prefix): Move to faces.el (the only user).
2432         * faces.el (term-file-prefix): Move here, make it a defcustom.
2434         * paths.el (news-directory, news-path, news-inews-program):
2435         Move to gnus/nnspool.el.
2437         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2439         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2440         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2441         Make the latter a defcustom, with a delayed initialization.
2443         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2444         These were deleted from Gnus itself late 2010.
2446 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
2448         * progmodes/which-func.el (which-func-ff-hook):
2449         Check against user-error, not error.
2451         * emacs-lisp/edebug.el (top): Do not load or set up loading of
2452         cl-specs.el, which no longer exists.
2454 2012-05-22  Glenn Morris  <rgm@gnu.org>
2456         * info.el (info-emacs-bug): New command.
2457         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2458         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2460 2012-05-21  Glenn Morris  <rgm@gnu.org>
2462         * makefile.w32-in (update-subdirs-SH):
2463         * Makefile.in (update-subdirs): Update for moved update-subdirs.
2465 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2467         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2469         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2470         Simplify Maven regexp, and make sure the file can't start with a space
2471         (bug#11517).
2473 2012-05-21  Glenn Morris  <rgm@gnu.org>
2475         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2476         Scrap superfluous subshells.
2478 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2480         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2481         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2483 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
2485         * calc/calc.el (calc-ensure-consistent-units): New variable.
2487         * calc/calc-units.el (math-consistent-units-p)
2488         (math-check-unit-consistency): New functions.
2489         (calc-quick-units, calc-convert-units):
2490         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2491         is non-nil.
2492         (calc-extract-units): Fix typo.
2494 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2496         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2498         * textmodes/flyspell.el: Commenting style, plus code simplifications.
2499         (flyspell-default-deplacement-commands): Don't spell check after
2500         repeated window/frame switches (e.g. triggered by mouse-movement).
2501         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2502         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2503         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2504         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2505         Remove unused vars.
2506         (flyspell-get-casechars, flyspell-get-not-casechars):
2507         Simplify; Don't bother removing a ] just to add it back.
2508         * textmodes/ispell.el (ispell-program-name): Use executable-find.
2510 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2512         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2513         New functions.
2514         (math-function-table): Add support for more C functions.
2516 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2518         * textmodes/flyspell.el (flyspell-check-pre-word-p)
2519         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2520         Protect delay handling for otherchars against empty otherchars.
2522 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2524         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2525         their respective macro declarations.
2526         * skeleton.el (define-skeleton):
2527         * progmodes/compile.el (define-compilation-mode):
2528         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2529         (define-ibuffer-filter):
2530         * emacs-lisp/generic.el (define-generic-mode):
2531         * emacs-lisp/easy-mmode.el (define-minor-mode)
2532         (define-globalized-minor-mode):
2533         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2534         * emacs-lisp/byte-run.el (defsubst):
2535         * custom.el (deftheme): Add doc-string metadata.
2537 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2539         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2541 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2543         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2545         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2546         * emacs-lisp/cl-macs.el: Idem.
2547         * emacs-lisp/cl-specs.el: Remove.
2549 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2551         Minor renaming of internal CL functions and variables.
2552         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2553         (cl--position): Rename from cl-position.
2554         (cl--delete-duplicates): Rename from cl-delete-duplicates.
2555         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2556         (cl--random-state): Rename from *random-state*.
2558 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2560         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2561         parens around the arg list (bug#11499).
2563 2012-05-17  Juri Linkov  <juri@jurta.org>
2565         * isearch.el (word-search-regexp, word-search-backward)
2566         (word-search-forward, word-search-backward-lax)
2567         (word-search-forward-lax): Move functions from search.c
2568         (bug#10145, bug#11381).
2570 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2572         * textmodes/flyspell.el (flyspell-check-pre-word-p)
2573         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2574         Delay for otherchars as for normal word components.
2576 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2578         * minibuffer.el (completion--sifn-requote): Fix last change.
2579         (minibuffer-local-must-match-filename-map):
2580         Move define-obsolete-variable-alias before its var.
2582 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2584         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2586         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2587         behavior.
2588         (completion--string-equal-p): New function.
2589         (completion--twq-all): Use it to get better assertion failure data.
2591         Only handle ".." and '..' quoting in shell-mode (bug#11466).
2592         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2593         (shell--requote-argument): New functions.
2594         (shell-completion-vars): Use them.
2595         (shell--parse-pcomplete-arguments): Rename from
2596         shell-parse-pcomplete-arguments.
2597         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
2598         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2599         Obey comint-file-name-quote-list.
2601         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2602         (smie-indent-keyword): Use it.
2604 2012-05-14  Stefan Merten  <smerten@oekonux.de>
2606         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2608 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2610         * net/rlogin.el (rlogin-mode-map): Fix last change.
2612 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
2614         * mail/smtpmail.el (smtpmail-send-command): Send the command and
2615         the following \r\n using a single `process-send-string', since the
2616         Lotus SMTP server refuses to accept any commands if they are sent
2617         with two `process-send-string's (Bug#11444).
2619 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2621         * shell.el (shell-parse-pcomplete-arguments):
2622         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2624 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
2626         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2627         (image-transform-scale, image-transform-right-angle-fudge): New vars.
2628         (image-transform-width, image-transform-fit-width): New functions.
2629         (image-transform-properties): Use them.
2630         (image-transform-check-size): New function.
2631         (image-toggle-display-image): Use it (for testing).
2632         (image-transform-set-rotation): Reduce angle mod 360.
2633         Delete obsolete comment.
2635 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
2637         * image-mode.el: Fix scaling (bug#11399).
2638         (image-transform-resize): Doc fix.
2639         (image-transform-properties): Default scale is 1 and height should
2640         be an integer.
2642 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
2644         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2645         than hard-coding `car', to fix misbehavior when moving forward.
2647 2012-05-13  Chong Yidong  <cyd@gnu.org>
2649         * emacs-lisp/tabulated-list.el (tabulated-list-format)
2650         (tabulated-list-entries, tabulated-list-padding)
2651         (tabulated-list-sort-key): Make permanent-local.
2653         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2654         (electric-buffer-list): Put electric buffer menu
2655         command descriptions in this docstring, instead of the docstring
2656         of electric-buffer-menu-mode.  Code cleanups.
2657         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
2658         Electric-buffer-menu-mode.
2659         (electric-buffer-update-highlight): Minor code cleanup.
2661 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
2663         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2664         (Bug#11447)
2666 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2668         Move define-obsolete-variable-alias before the var's definition.
2669         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2670         * tooltip.el (tooltip-hook):
2671         * textmodes/reftex-toc.el (reftex-toc-map):
2672         * textmodes/reftex-sel.el (reftex-select-label-map)
2673         (reftex-select-bib-map):
2674         * textmodes/reftex-index.el (reftex-index-map)
2675         (reftex-index-phrases-map):
2676         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2677         * progmodes/meta-mode.el (meta-mode-map):
2678         * novice.el (disabled-command-hook):
2679         * loadhist.el (unload-hook-features-list):
2680         * frame.el (blink-cursor):
2681         * files.el (find-file-not-found-hooks, write-file-hooks)
2682         (write-contents-hooks):
2683         * emulation/tpu-edt.el (GOLD-map):
2684         * emacs-lock.el (emacs-lock-from-exiting):
2685         * emacs-lisp/generic.el (generic-font-lock-defaults):
2686         * emacs-lisp/chart.el (chart-map):
2687         * dos-fns.el (register-name-alist):
2688         * dired-x.el (dired-omit-files-p):
2689         * desktop.el (desktop-enable):
2690         * cus-edit.el (custom-mode-hook):
2691         * buff-menu.el (buffer-menu-mode-hook):
2692         * bookmark.el (bookmark-read-annotation-text-func)
2693         (bookmark-exit-hooks):
2694         * allout.el (allout-mode-deactivate-hook)
2695         (allout-exposure-change-hook, allout-structure-added-hook)
2696         (allout-structure-deleted-hook, allout-structure-shifted-hook):
2697         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2698         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2699         comes before the corresponding variable's definition.
2701 2012-05-12  Chong Yidong  <cyd@gnu.org>
2703         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2704         (Buffer-menu-mouse-select): Restore function (Bug#11459).
2705         (Buffer-menu-mode-map): Bind it.
2706         (Buffer-menu--pretty-name): Add a mouse-face property.
2708 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2710         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
2711         (prolog-upper-case-string, prolog-lower-case-string)
2712         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2713         (prolog-use-smie, prolog-smie-grammar): New vars.
2714         (prolog-smie-forward-token, prolog-smie-backward-token)
2715         (prolog-smie-rules): New funs.
2716         (prolog-comment-indent): Remove.
2717         (prolog-mode-variables): Use default comment indentation instead.
2718         Setup SMIE.
2719         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2720         (prolog-mode): Don't call them any more.
2721         (prolog-electric-colon, prolog-electric-dash)
2722         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2724         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2726         * minibuffer.el (completion--twq-all): Again, allow case differences.
2728         * term.el: Move keymap initialization code to be more idiomatic.
2729         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2730         (term-terminal-menu): Move initialization into declaration.
2731         (term-escape-char): Let the user set it in her .emacs.
2733         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2734         Provide SMIE-based indentation (not enabled by default yet).
2735         (sh-mode-map): Don't bind electric keys.
2736         Use electric-pair-mode instead of skeleton-pair.
2737         (sh-assignment-regexp): Fit within 80 columns.
2738         (sh-indent-supported): Specify actual shell name instead of boolean.
2739         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2740         (sh-maybe-here-document): Use it.  Make obsolete.
2741         (sh-electric-here-document-mode) New minor mode.
2742         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
2743         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2744         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2745         (sh-smie-rc-grammar, sh-use-smie): New vars.
2746         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2747         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2748         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2749         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2750         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2751         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2752         (sh-set-shell): Use smie-setup if requested.
2754         * term.el (term-set-escape-char): Properly set term-escape-char.
2755         See http://stackoverflow.com/questions/10524656.
2757 2012-05-10  Chong Yidong  <cyd@gnu.org>
2759         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2760         Use url-generic-parse-url, and handle host names and Windows
2761         filenames properly.
2762         (ffap-url-unwrap-remote): Use url-generic-parse-url.
2763         (ffap-url-unwrap-remote): Accept list values, specifying a list of
2764         URL schemes to work on.
2765         (ffap--toggle-read-only): New function.
2766         (ffap-read-only, ffap-read-only-other-window)
2767         (ffap-read-only-other-frame): Use it.
2768         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2769         necessary for ffap-url-unwrap-remote.
2771 2012-05-10  Dave Abrahams  <dave@boostpro.com>
2773         * cus-start.el (create-lockfiles): Add it.
2775 2012-05-09  Chong Yidong  <cyd@gnu.org>
2777         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2778         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2780 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2782         * shell.el (shell-completion-vars): Fix last change (bug#11348).
2784 2012-05-09  Chong Yidong  <cyd@gnu.org>
2786         * ansi-color.el (ansi-color-process-output): Check for validity of
2787         comint-last-output-start before using it.  This avoids a bad
2788         interaction with gdb-mi's input/output buffer.
2790 2012-05-09  Glenn Morris  <rgm@gnu.org>
2792         * files.el (dir-locals-read-from-file):
2793         Mention dir-locals in any error message.
2795 2012-05-09  Chong Yidong  <cyd@gnu.org>
2797         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2798         package (Bug#11410).
2800         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2801         variables into description.
2803 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2805         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2806         shell-delimiter-argument-list (bug#11348).
2807         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2809 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
2811         * textmodes/rst.el: Silence byte-compiler warnings.
2812         (rst-re-alist, rst-reset-section-caches): Move around.
2813         (rst-re): Use `characterp', not `char-valid-p'.
2814         (font-lock-beg, font-lock-end): Declare.
2816         * progmodes/idlw-shell.el (specs): Remove reference to deleted
2817         variable `idlwave-shell-activate-alt-keybindings' and simplify.
2819         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2821 2012-05-08  Glenn Morris  <rgm@gnu.org>
2823         * files.el (auto-mode-alist): Treat ".make" like ".mk".
2825 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2827         * vc/log-edit.el: Add GNU coding standards highlighting.
2828         (log-edit-font-lock-gnu-style)
2829         (log-edit-font-lock-gnu-keywords): New vars.
2830         (log-edit-font-lock-keywords): New fun.
2831         (log-edit-mode): Don't fold case in font-lock.
2832         (log-edit-font-lock-keywords): Do not assume case-folding.
2834         * imenu.el: Misc cleanup.  Make docstrings out of comments.
2835         Use lexical-binding.
2836         (imenu--index-alist, imenu--last-menubar-index-alist)
2837         (imenu-menubar-modified-tick): Use defvar-local.
2838         (imenu--split-menu): Remove unused var.
2839         (imenu--cleanup-seen): Declare as global.
2840         (imenu--cleanup): Use dolist.
2842         * subr.el (defvar-local): Add debug spec and doc-string position.
2844 2012-05-08  Glenn Morris  <rgm@gnu.org>
2846         * language/burmese.el, language/cham.el, language/czech.el:
2847         * language/english.el, language/georgian.el, language/greek.el:
2848         * language/japanese.el, language/khmer.el, language/korean.el:
2849         * language/lao.el, language/misc-lang.el, language/romanian.el:
2850         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2851         * language/thai.el, language/utf-8-lang.el:
2852         Remove no-byte-compile setting.
2854         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
2856 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2858         * progmodes/make-mode.el (makefile-browse):
2859         Remove unnecessary interactive.  (Bug#11324)
2861 2012-05-07  Glenn Morris  <rgm@gnu.org>
2863         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2865         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2867 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2869         * loadup.el: Preload newcomment.el.
2870         * newcomment.el: Move autoload-only code to toplevel.
2872         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2873         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2874         Handle new :right-align column property.
2875         (tabulated-list-print-col): Idem, plus use `display' text-property to
2876         try and preserve alignment for variable pitch fonts.
2878 2012-05-07  Chong Yidong  <cyd@gnu.org>
2880         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2881         (tabulated-list-use-header-line): New var.
2882         (tabulated-list-init-header): Use it.
2883         (tabulated-list-print-fake-header): New function.
2884         (tabulated-list-print): Use it.
2885         (tabulated-list-sort-button-map): Add non-header-line commands.
2886         (tabulated-list-init-header): Add column name property to basic
2887         labels as well.
2888         (tabulated-list-col-sort): Handle non-header-line button case.
2889         (tabulated-list--sort-by-column-name): Fix a corner case.
2891         * buff-menu.el (list-buffers--refresh):
2892         Handle Buffer-menu-use-header-line.
2894 2012-05-06  Chong Yidong  <cyd@gnu.org>
2896         * buff-menu.el: Convert to Tabulated List mode.
2897         (Buffer-menu-buffer+size-width): Make obsolete.
2898         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2899         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2900         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
2901         documentation into docstring of buffer-menu.
2902         (Buffer-menu-toggle-files-only): Add an informative message.
2903         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2904         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2905         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2906         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2907         (Buffer-menu-execute, Buffer-menu-select)
2908         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2909         (Buffer-menu-bury): Use Tabulated List machinery.
2910         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2911         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2912         Delete.
2913         (list-buffers--refresh): New function.
2914         (list-buffers-noselect): Use it.
2915         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2916         (Buffer-menu--pretty-file-name): New helper functions.
2918         * loadup.el: Preload tabulated-list.
2920         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2921         tabulated-list-sort-column.
2922         (tabulated-list-init-header): Add the initial aligning space even
2923         if tabulated-list-padding is zero.
2925 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
2927         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2928         whose cdr is not a cons cell correctly (bug#11038).
2930 2012-05-06  Chong Yidong  <cyd@gnu.org>
2932         * emacs-lisp/tabulated-list.el (tabulated-list-format):
2933         Accept additional plist in column descriptors.
2934         (tabulated-list-init-header): Obey it.
2935         (tabulated-list-get-entry): New function.
2936         (tabulated-list-put-tag): Use it.  Use string-width instead of
2937         length.
2938         (tabulated-list--column-number): New function.
2939         (tabulated-list-print): Use it.
2940         (tabulated-list-print-col): New function.
2941         Set `tabulated-list-column-name' property on each column's text.
2942         (tabulated-list-print-entry): Use it.
2943         (tabulated-list-delete-entry, tabulated-list-set-col):
2944         New functions.
2945         (tabulated-list-sort-column): New command (Bug#11337).
2947         * buff-menu.el (list-buffers): Move C-x C-b binding from
2948         buff-menu.el to bindings.el.
2950         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2951         :advertised-binding feature.
2953 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
2955         * progmodes/compile.el (compilation-internal-error-properties):
2956         Calculate start position correctly when end-col is set but
2957         end-line is not (Bug#11382).
2959 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
2961         * man.el (Man-unindent): Use text-property-default-nonsticky to
2962         prevent untabify from inheriting face properties (Bug#11408).
2964 2012-05-05  Stefan Merten  <smerten@oekonux.de>
2966         * textmodes/rst.el: Major merge with upstream development up to
2967         Docutils SVN r7399 / rst.el V1.2.1.
2969         Clarify maintainership and authors.
2971         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2972         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2973         (rst-official-version, rst-official-cvs-rev, rst-version)
2974         (rst-package-emacs-version-alist): New functions and variables
2975         for version information.
2977         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2978         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2979         (rst-mode-syntax-table, rst-mode): New and corrected functions
2980         and variables representing reStructuredText features.
2982         (rst-re): New function for reStructuredText regexes.  Use in
2983         many places.
2985         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2986         (rst-mode-map): Rebind keys.
2988         (rst-mode-lazy, rst-font-lock-keywords)
2989         (rst-font-lock-extend-region)
2990         (rst-font-lock-extend-region-internal)
2991         (rst-font-lock-extend-region-extend)
2992         (rst-font-lock-find-unindented-line-limit)
2993         (rst-font-lock-find-unindented-line-match)
2994         (rst-adornment-level, rst-font-lock-adornment-level)
2995         (rst-font-lock-adornment-match)
2996         (rst-font-lock-handle-adornment-pre-match-form)
2997         (rst-font-lock-handle-adornment-matcher): Major revision of
2998         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
3000         (rst-preferred-adornments, rst-adjust-hook)
3001         (rst-new-adornment-down, rst-preferred-bullets)
3002         (rst-preferred-bullets, rst-indent, rst-indent-width)
3003         (rst-indent-field, rst-indent-literal-normal)
3004         (rst-indent-literal-minimized, rst-indent-comment): Change,
3005         extend and improve customization.
3007         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3008         (rst-normalize-cursor-position, rst-get-decoration)
3009         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3010         (rst-rstrip, rst-toc-insert-find-delete-contents)
3011         (rst-shift-fill-region, rst-compute-bullet-tabs)
3012         (rst-debug-print-tabs, rst-debug-mark-found)
3013         (rst-shift-region-guts, rst-shift-region-right)
3014         (rst-shift-region-left, rst-use-char-classes)
3015         (rst-font-lock-keywords-function)
3016         (rst-font-lock-indentation-point)
3017         (rst-font-lock-find-unindented-line-begin)
3018         (rst-font-lock-find-unindented-line-end)
3019         (rst-font-lock-find-unindented-line)
3020         (rst-font-lock-adornment-point, rst-font-lock-level)
3021         (rst-adornment-level-alist): Remove functions and variables.
3023         (rst-compare-adornments, rst-get-adornment-match)
3024         (rst-suggest-new-adornment, rst-get-adornments-around)
3025         (rst-adornment-complete-p, rst-get-next-adornment)
3026         (rst-adjust-adornment, rst-display-adornments-hierarchy)
3027         (rst-straighten-adornments): Standardize function names to
3028         use "adornment" instead of "decoration".  Correct callers.
3029         Similar standardizing in many places.
3031         (rst-update-section, rst-adjust, rst-promote-region)
3032         (rst-enumerate-region, rst-bullet-list-region)
3033         (rst-repeat-last-character): Correct use of `interactive'.
3035         (rst-classify-adornment, rst-find-all-adornments)
3036         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3037         (rst-find-leftmost-column, rst-repeat-last-character):
3038         Refactor functions.
3040         (rst-find-title-line, rst-reset-section-caches)
3041         (rst-get-adornments-around, rst-adjust-adornment-work)
3042         (rst-arabic-to-roman, rst-roman-to-arabic)
3043         (rst-insert-list-pos, rst-insert-list-new-item)
3044         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3045         New functions.
3047         (rst-all-sections, rst-section-hierarchy)
3048         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3049         New variables.
3051         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3052         configuration instead of only buffer.  Change where necessary.
3054         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3055         (rst-shift-region, rst-adaptive-fill): New functions for
3056         indentation and filling.
3058         (rst-comment-line-break, rst-comment-indent)
3059         (rst-comment-insert-comment, rst-comment-region)
3060         (rst-uncomment-region): New functions for handling comments.
3062         (rst-compile): Quote shell arguments.
3064         (rst-compile-pdf-preview, rst-compile-slides-preview):
3065         Delete temporary files after use.
3067 2012-05-05  Glenn Morris  <rgm@gnu.org>
3069         * calendar/cal-html.el: Optionally include holidays in the output.
3070         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3071         (cal-html-holidays): New option.
3072         (cal-html-css-default): Add holiday entry.
3073         (holiday-in-range): Autoload it.
3074         (cal-html-htmlify-entry): Add optional class argument.
3075         (cal-html-htmlify-list): Add optional holidays argument.
3076         (cal-html-insert-agenda-days): Include holidays in the output.
3077         (cal-html-one-month): Maybe include holidays.
3079         * calendar/holidays.el (holiday-in-range):
3080         Move here from cal-tex-list-holidays.
3081         * calendar/cal-tex.el (cal-tex-list-holidays):
3082         Make it an obsolete alias for holiday-in-range.  Update all callers.
3084 2012-05-05  Chong Yidong  <cyd@gnu.org>
3086         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3087         Nextstep.
3089 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
3091         * files.el (file-auto-mode-skip): New var.
3092         (set-auto-mode-1): Use it.
3094 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3096         * repeat.el: Use lexical-binding.
3097         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3098         (repeat-undo-count): Remove.
3099         (repeat):
3100         * progmodes/octave-mod.el (octave-abbrev-start):
3101         * progmodes/f90.el (f90-abbrev-start):
3102         * face-remap.el (text-scale-adjust):
3103         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3105         * emacs-lisp/pcase.el (pcase--let*): New function.
3106         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3107         a bit more.
3108         (pcase--split-pred): Be more clever about ruling out overlap between
3109         a predicate and some constant pattern.
3110         (pcase--q1): Use `null' instead of (eq foo nil).
3112         * subr.el (setq-local, defvar-local): New macros.
3113         (kbd): Redefine as an alias.
3114         (with-selected-window): Leave unrelated frames alone.
3115         (set-temporary-overlay-map): New function.
3117 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3119         * subr.el (user-error): New function.
3120         * window.el (switch-to-buffer):
3121         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3122         (smerge-match-conflict):
3123         * simple.el (previous-matching-history-element)
3124         (next-matching-history-element, goto-history-element, undo-more)
3125         (undo-start):
3126         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3127         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3128         (next-file, tags-loop-scan, list-tags, complete-tag):
3129         * progmodes/compile.el (compilation-loop):
3130         * mouse.el (mouse-minibuffer-check):
3131         * man.el (Man-bgproc-sentinel, Man-goto-page):
3132         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3133         (Info-history-forward, Info-follow-reference, Info-menu)
3134         (Info-extract-menu-item, Info-extract-menu-counting)
3135         (Info-forward-node, Info-backward-node, Info-next-menu-item)
3136         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3137         (Info-next-reference, Info-prev-reference, Info-index)
3138         (Info-index-next, Info-follow-nearest-node)
3139         (Info-copy-current-node-name):
3140         * imenu.el (imenu--make-index-alist)
3141         (imenu-default-create-index-function, imenu-add-to-menubar):
3142         * files.el (basic-save-buffer, recover-file):
3143         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3144         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3145         (checkdoc-message-text, checkdoc-defun):
3146         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3147         * cus-edit.el (customize-changed-options, customize-rogue)
3148         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3149         (custom-variable-mark-to-reset-standard)
3150         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3151         (custom-file):
3152         * completion.el (check-completion-length):
3153         * comint.el (comint-search-arg)
3154         (comint-previous-matching-input-string-position)
3155         (comint-previous-matching-input)
3156         (comint-replace-by-expanded-history-before-point, comint-send-input)
3157         (comint-copy-old-input, comint-backward-matching-input)
3158         (comint-goto-process-mark, comint-set-process-mark):
3159         * calendar/calendar.el (calendar-cursor-to-date): Use it.
3160         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3162 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3164         * dabbrev.el (dabbrev--ignore-case-p): New function.
3165         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3166         Use it.
3168         * files.el (automount-dir-prefix): Mark as obsolete.
3170 2012-05-04  Glenn Morris  <rgm@gnu.org>
3172         * patcomp.el, play/bruce.el: Move to obsolete/.
3174 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
3176         Fix minor Y10k bugs.
3177         * arc-mode.el (archive-unixdate):
3178         * autoinsert.el (auto-insert-alist):
3179         * calc/calc-forms.el (math-this-year):
3180         * emacs-lisp/copyright.el (copyright-current-year)
3181         (copyright-update-year, copyright):
3182         * tar-mode.el (tar-clip-time-string):
3183         * time.el (display-time-update):
3184         Don't assume years have 4 digits.
3186 2012-05-04  Chong Yidong  <cyd@gnu.org>
3188         * dos-w32.el (file-name-buffer-file-type-alist)
3189         (direct-print-region-use-command-dot-com):
3190         * ffap.el (ffap-menu-regexp):
3191         * find-file.el (ff-special-constructs):
3192         * follow.el (follow-debug):
3193         * forms.el (forms--debug):
3194         * iswitchb.el (iswitchb-all-frames):
3195         * ido.el (ido-all-frames):
3196         * emacs-lisp/timer.el (timer-max-repeats):
3197         * mail/feedmail.el (feedmail-mail-send-hook)
3198         (feedmail-mail-send-hook-queued):
3199         * mail/footnote.el (footnote-signature-separator):
3200         * mail/mailabbrev.el (mail-alias-separator-string)
3201         (mail-abbrev-mode-regexp):
3202         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3203         * progmodes/idlwave.el (idlwave-libinfo-file)
3204         (idlwave-default-completion-case-is-down)
3205         (idlwave-library-routines): Convert defvars to defcustoms.
3207         * mail/rmail.el (rmail-decode-mime-charset):
3208         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3209         (idlwave-shell-fix-inserted-breaks)
3210         (idlwave-shell-activate-alt-keybindings)
3211         (idlwave-shell-use-breakpoint-glyph):
3212         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3214 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3216         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3218 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
3220         * progmodes/verilog-mode.el (font-lock-keywords):
3221         Fix mis-highligting auto.  Reported by Craig Barner.
3222         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3223         defines from global name space. Reported by Dan Dever.
3224         (verilog-auto-reset, verilog-auto-reset-widths)
3225         (verilog-auto-tieoff): Support using unbased numbers for
3226         AUTORESET and AUTOTIEOFF.
3227         (verilog-submit-bug-report): Update variable list.
3228         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3229         parenthesis from not matching. Reported by Michael Rytting.
3230         (verilog-auto-template-lint): Fix hash error when linting modules
3231         with no used templates.
3232         (verilog-warn, verilog-warn-error)
3233         (verilog-warn-fatal): When non-interactive report multiple
3234         warnings before exiting.  Suggested by Brad Dobbie.
3235         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3236         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3237         to report unused template errors.  Reported by Brad Dobbie.
3238         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3239         nets, bug438. Reported by Vns Blore.
3240         (verilog-auto-inout-module, verilog-auto-reg)
3241         (verilog-read-decls, verilog-read-sub-decls-sig)
3242         (verilog-signals-edit-wire-reg, verilog-signals-with):
3243         Fix passing of Verilog data types in ANSI input/output ports
3244         such as "output logic" into the AUTOs. Special case "wire" and
3245         "reg" for backwards compatibility presuming Verilog 2001.
3246         (verilog-auto-ascii-enum): Add "auto enum" as alias.
3247         (verilog-preprocess): Fix replication of preprocess output.
3248         Reported by Brad Dobbie.
3249         (verilog-auto-inst-interfaced-ports):
3250         Create verilog-auto-inst-interfaced-ports, bug429.
3251         Reported by Julian Gorfajn.
3252         (verilog-after-save-font-hook)
3253         (verilog-before-save-font-hook): New variable.
3254         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3255         (verilog-save-font-mods): Wrap disabling fontification, reported
3256         by David Rogoff.
3257         (verilog-do-indent, verilog-pretty-declarations-auto)
3258         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3259         Reported by Pierre-David Pfister.
3260         (verilog-set-auto-endcomments): Fix endtask auto comments outside
3261         of class declarations, bug292.  Reported by Kevin Heilman.
3262         (verilog-read-decls): Fix 'parameter type' not appearing in
3263         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
3264         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3265         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3266         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3267         Reported by David Kravitz.
3269 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
3271         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3272         assignment with tests in ifs and for loops.
3273         (verilog-extended-complete-re, verilog-complete-reg): Change so
3274         that DPI inport functions don't look like fuction declarations.
3275         (verilog-pretty-expr): Don't line up assignment
3276         operations to the test and increment in if and for loops
3277         (verilog-extended-complete-re, verilog-complete-reg): Change so
3278         that DPI inport functions don't look like fuction declarations.
3280 2012-05-03  Kenichi Handa  <handa@m17n.org>
3282         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3283         decoding, and show a warning message without signaling an error
3284         (Bug#11282).
3286 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3288         * emacs-lisp/bytecomp.el
3289         (byte-compile-file-form-custom-declare-variable): Compile all elements,
3290         since cconv.el might have introduced :fun-body, internal-make-closure,
3291         and friends for bytecomp to handle (bug#11391).
3292         * custom.el (defcustom): Avoid ((λ ..) ..).
3294 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3296         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3298 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
3300         * notifications.el (dbus-debug):
3301         * term/linux.el (gpm-mouse-enable):
3302         * term/screen.el (xterm-register-default-colors): Declare.
3304 2012-05-02  Chong Yidong  <cyd@gnu.org>
3306         * cus-start.el (gc-cons-percentage, exec-suffixes)
3307         (dos-display-scancodes, dos-hyper-key, dos-super-key)
3308         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3309         (make-cursor-line-fully-visible, void-text-area-pointer)
3310         (font-list-limit): Add customization data.
3312         * allout.el (allout-exposure-change-functions)
3313         (allout-structure-added-functions)
3314         (allout-structure-deleted-functions)
3315         (allout-structure-shifted-functions): Rename abnormal hooks from
3316         *-hook, and convert to defcustoms.
3317         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3318         Convert to defcustoms.
3319         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3321         * allout-widgets.el: Hook callers changed.
3323 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
3325         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3326         the yanked message in preference to the default value of
3327         buffer-file-coding-system.
3329 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
3331         * window.el (display-buffer--action-function-custom-type):
3332         Fix entry.
3334 2012-05-02  Alan Mackenzie  <acm@muc.de>
3336         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3338 2012-05-01  Glenn Morris  <rgm@gnu.org>
3340         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3342         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
3344         * cus-edit.el (custom-variable-documentation): Simplify with format.
3346 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3347             Stefan Monnier  <monnier@iro.umontreal.ca>
3349         * simple.el (suggest-key-bindings, execute-extended-command):
3350         Move from keyboard.c.
3352 2012-05-01  Chong Yidong  <cyd@gnu.org>
3354         * follow.el: Eliminate advice.
3355         (set-process-filter, process-filter, sit-for): Advice deleted.
3356         (follow-mode-off-hook): Obsolete hook removed.
3357         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3358         Vars deleted.
3359         (follow-auto): Use a :set function.
3360         (follow-mode): Rewritten.  Don't advise process filters.
3361         (follow-switch-to-current-buffer-all, follow-scroll-up)
3362         (follow-scroll-down): Assume follow-mode is bound.
3363         (follow-comint-scroll-to-bottom)
3364         (follow-align-compilation-windows): New functions.
3365         (follow--window-sorter): New function.
3366         (follow-all-followers): Use it to explicitly sort windows by their
3367         positions; don't make assumptions about next-window order.
3368         (follow-windows-start-end, follow-delete-other-windows-and-split)
3369         (follow-calc-win-start): Doc fix.
3370         (follow-windows-aligned-p, follow-select-if-visible): Don't call
3371         vertical-motion unnecessarily.
3372         (follow-adjust-window): New function.
3373         (follow-post-command-hook): Use it.
3374         (follow-call-set-process-filter, follow-call-process-filter)
3375         (follow-intercept-process-output, follow-tidy-process-filter-alist)
3376         (follow-stop-intercept-process-output, follow-generic-filter):
3377         Functions deleted.
3378         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
3379         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3380         New functions, replacing advice on scroll-bar-* commands.
3381         (follow-mwheel-scroll): New function (Bug#4112).
3383         * comint.el (comint-adjust-point): New function.
3384         (comint-postoutput-scroll-to-bottom): Use it.
3385         Call follow-comint-scroll-to-bottom for Follow mode buffers.
3387 2012-05-01  Glenn Morris  <rgm@gnu.org>
3389         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3390         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3391         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3392         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3393         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3394         Remove no-byte-compile setting.
3396 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3398         * minibuffer.el (completion-table-with-quoting): Fix compatibility
3399         all-completions code to not return a number in the last cdr.
3401 2012-04-30  Leo Liu  <sdl.web@gmail.com>
3403         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3404         read-only error.
3406 2012-04-29  Chong Yidong  <cyd@gnu.org>
3408         * follow.el (follow-calc-win-end): Rewrite to handle partial
3409         screen lines correctly (Bug#8390).
3410         (follow-avoid-tail-recenter): Minor cleanup.
3412 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3414         Avoid the obsolete `assoc' package.
3415         * speedbar.el (speedbar-refresh): Avoid adelete.
3416         (speedbar-file-lists): Simplify and avoid aput.
3417         * man.el (Man--sections, Man--refpages): New vars, replacing
3418         Man-sections-alist and Man-refpages-alist.
3419         (Man-build-section-alist, Man-build-references-alist):
3420         Use them; avoid aput.
3421         (Man--last-section, Man--last-refpage): New vars.
3422         (Man-follow-manual-reference): Use them.
3423         Use the `default' arg of completing-read.
3424         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
3426 2012-04-27  Chong Yidong  <cyd@gnu.org>
3428         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3430         * startup.el (x-apply-session-resources): New function.
3432         * term/ns-win.el (ns-initialize-window-system):
3433         * term/w32-win.el (w32-initialize-window-system):
3434         * term/x-win.el (x-initialize-window-system): Use it to properly
3435         set menu-bar-mode and other vars from X resources, even if the
3436         initial frame is not a window-system frame (Bug#2299).
3438         * subr.el (read-key): Avoid running filter function when setting
3439         up temporary tool bar entries (Bug#9922).
3441 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
3443         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3444         (Bug#11344)
3446 2012-04-27  Chong Yidong  <cyd@gnu.org>
3448         * select.el (xselect--encode-string): New function, split from
3449         xselect-convert-to-string.
3450         (xselect-convert-to-string): Use it.
3451         (xselect-convert-to-filename, xselect-convert-to-os)
3452         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3453         returned strings are properly encoded (Bug#11315).
3455 2012-04-27  Chong Yidong  <cyd@gnu.org>
3457         * simple.el (delete-active-region): Move to killing custom group.
3459 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
3461         * progmodes/which-func.el (which-func-current): Quote %
3462         characters for mode-line processing.
3464 2012-04-27  Chong Yidong  <cyd@gnu.org>
3466         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3467         reaching eob (Bug#11286).
3469 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
3471         * progmodes/gdb-mi.el (gdb-control-level): New variable.
3472         (gdb): Make it buffer-local and init to zero.
3473         (gdb-control-commands-regexp): New variable.
3474         (gdb-send): Don't wrap in "-interpreter-exec console" if
3475         gdb-control-level is positive.  Increment gdb-control-level
3476         whenever the command matches gdb-control-commands-regexp, and
3477         decrement it each time the command is "end".  (Bug#11279)
3479 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
3481         * window.el (adjust-window-trailing-edge, enlarge-window)
3482         (shrink-window, window-resize):
3483         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3484         windows (Bug#11276).
3486 2012-04-27  Chong Yidong  <cyd@gnu.org>
3488         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3489         fix "missing prefix" warning.  All callers changed.
3491 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3493         * emacs-lisp/assoc.el: Move to obsolete/.
3495 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3497         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3499         * term/ns-win.el (ns-define-service):
3500         * progmodes/pascal.el (pascal-goto-defun):
3501         * progmodes/js.el (js--read-tab):
3502         * progmodes/etags.el (tags-lazy-completion-table):
3503         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3504         * emacs-lisp/ewoc.el (ewoc--wrap):
3505         * emacs-lisp/assoc.el (aput, adelete, amake):
3506         * doc-view.el (doc-view-convert-current-doc):
3507         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3509 2012-04-26  Chong Yidong  <cyd@gnu.org>
3511         * image.el (image-type-from-buffer): Only return supported image
3512         type (Bug#9045).
3514         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3515         value, for symmetry with diff-end-of-hunk.
3516         (diff-split-hunk, diff-find-source-location)
3517         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3518         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3519         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3520         compute the relevant hunk or file properly (Bug#6005).
3521         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3523 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3525         * vc/vc-mtn.el:
3526         * vc/vc-hg.el:
3527         * vc/vc-git.el:
3528         * vc/vc-dir.el:
3529         * vc/vc-cvs.el:
3530         * vc/vc-bzr.el:
3531         * vc/vc-arch.el:
3532         * vc/vc.el: Replace lexical-let by lexical-binding.
3533         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3534         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3535         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3537 2012-04-26  Chong Yidong  <cyd@gnu.org>
3539         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3540         (diff-mode-shared-map): Bind it to / and [remap undo].
3542         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3543         (ediff-window-setup-function): Use it as the default, to set up
3544         windows based on whether the current frame is graphical (Bug#2138).
3545         (ediff-choose-window-setup-function-automatically): Make obsolete.
3547         * vc/ediff-init.el: Always define ediff-pixel-width/height.
3549 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3551         * ffap.el: Remove old code for obsolete package.
3552         (ffap-complete-as-file-p): Remove.
3554         Use completion-table-with-quoting for comint and pcomplete.
3555         * comint.el (comint--unquote&requote-argument)
3556         (comint--unquote-argument, comint--requote-argument): New functions.
3557         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3558         (comint-quote-filename): Use regexp-opt-charset.
3559         (comint--common-suffix, comint--common-quoted-suffix)
3560         (comint--table-subvert): Remove.
3561         (comint-unquote-function, comint-requote-function): New vars.
3562         (comint--complete-file-name-data): Use them with
3563         completion-table-with-quoting.
3564         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3565         * pcomplete.el (pcomplete-arg-quote-list)
3566         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3567         (pcomplete-unquote-argument-function): Default to non-nil.
3568         (pcomplete-unquote-argument): Simplify.
3569         (pcomplete--common-quoted-suffix): Remove.
3570         (pcomplete-requote-argument-function): New var.
3571         (pcomplete--common-suffix): New function.
3572         (pcomplete-completions-at-point): Use completion-table-with-quoting
3573         and completion-table-subvert.
3575         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3576         (minibuffer--double-dollars): Preserve properties.
3577         (completion--sifn-requote): New function.
3578         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3580         * minibuffer.el: Add support for completion of quoted/escaped data.
3581         (completion-table-with-quoting, completion-table-subvert): New funs.
3582         (completion--twq-try, completion--twq-all): New functions.
3583         (completion--nth-completion): New function.
3584         (completion-try-completion, completion-all-completions): Use it.
3586 2012-04-25  Leo Liu  <sdl.web@gmail.com>
3588         * progmodes/python.el (python-pdbtrack-get-source-buffer):
3589         Use compilation-message if available to find real filename.
3591 2012-04-25  Chong Yidong  <cyd@gnu.org>
3593         * vc/diff-mode.el (diff-setup-whitespace): New function.
3594         (diff-mode): Use it.
3596         * vc/diff.el (diff-sentinel):
3597         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3598         Whitespace mode variables based on diff style (Bug#8612).
3600 2012-04-25  Leo Liu  <sdl.web@gmail.com>
3602         * progmodes/python.el (python-send-region): Add suffix .py to the
3603         temp file.
3605         * files.el (auto-mode-alist): Use javascript-mode instead.
3607 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
3609         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
3611         * net/soap-client.el (soap-resolve-references-for-sequence-type)
3612         (soap-resolve-references-for-array-type): Hack to prevent self
3613         references, see Bug#9.
3614         (soap-parse-envelope): Report the contents of the 'detail' node
3615         when receiving a fault reply.
3616         (soap-parse-envelope): Report the contents of the entire 'detail' node.
3618         * net/soap-inspect.el (soap-sample-value-for-simple-type)
3619         (soap-inspect-simple-type): New function.
3621         * net/soap-client.el (soap-simple-type): New struct.
3622         (soap-default-xsd-types, soap-default-soapenc-types)
3623         (soap-decode-basic-type, soap-encode-basic-type):
3624         support unsignedInt and double basic types.
3625         (soap-resolve-references-for-simple-type)
3626         (soap-parse-simple-type, soap-encode-simple-type): New function.
3627         (soap-parse-schema): Parse xsd:simpleType declarations.
3629         * net/soap-client.el (soap-default-xsd-types)
3630         (soap-default-soapenc-types): Add integer, byte and anyURI types.
3631         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3632         the local name of "soapenc:Array".
3633         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3634         decoding integer, byte and anyURI xsd types.
3636 2012-04-25  Chong Yidong  <cyd@gnu.org>
3638         * cus-edit.el (custom-buffer-create-internal): Update header text.
3640 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
3642         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3643         settings on 'system-type', not on 'window-system'.  On MS-Windows,
3644         set interactive-mode on in GDB.
3646 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3648         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3649         (ruby-syntax-propertize-regexp): Remove.
3650         (ruby-syntax-propertize-function): Split regexp into chunks.
3651         Match following code directly.
3653 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
3655         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3656         (ruby-syntax-propertize-regexp): New function.
3657         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3658         by a special keyword.
3660         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3661         (ruby-syntax-general-delimiters-goto-beg)
3662         (ruby-syntax-propertize-general-delimiters): New functions.
3663         (ruby-syntax-propertize-function): Use them to handle GDL.
3664         (ruby-font-lock-keywords): Move old handling of GDL...
3665         (ruby-font-lock-syntactic-keywords): .. to here.
3666         (ruby-calculate-indent): Adjust indentation for GDL.
3668 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
3670         * notifications.el (top): Remove unneeded declarations.
3671         (notifications-specification-version): Change to "1.2".
3672         (notifications-interface, notifications-notify-method)
3673         (notifications-close-notification-method): Fix docstring.
3674         (notifications-get-capabilities-method): New defconst.
3675         (notifications-notify): Add :action-items, :resident and
3676         :transient hints.  Change "image_data" to "image-data" and
3677         "image_path" to "image-path".
3678         (notifications-get-capabilities): New defun.
3680 2012-04-24  Leo Liu  <sdl.web@gmail.com>
3682         * progmodes/python.el: Move hideshow setup to the end.
3684 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
3686         * window.el (handle-select-window): Clear echo area since this is
3687         no more done by read_char (Bug#11304).
3689 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3691         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3692         and `/ M' to filter-derived-mode.
3693         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3694         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3695         (ibuffer-mark-by-mode): Use default rather than initial-input.
3696         (ibuffer-filter-by-derived-mode): Autoload and require-match.
3698 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
3700         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3701         (ibuffer-filter-by-derived-mode): New filter.
3702         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3704 2012-04-23  Andreas Politz  <politza@fh-trier.de>
3706         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3708 2012-04-23  Chong Yidong  <cyd@gnu.org>
3710         * cus-edit.el (customize-apropos, customize-apropos-options):
3711         Disable matching of non-option variables (Bug#11176).
3712         (customize-option, customize-option-other-window)
3713         (customize-changed-options): Doc fix.
3714         (customize-apropos-options, customize-apropos-faces)
3715         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3717         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3718         Fix word list splitting (Bug#11132).
3719         (apropos-symbol, apropos-keybinding, apropos-label)
3720         (apropos-property, apropos-function-button)
3721         (apropos-variable-button, apropos-misc-button): New faces.
3722         (apropos-symbol-face, apropos-keybinding-face)
3723         (apropos-label-face, apropos-property-face, apropos-match-face):
3724         Variables removed (Bug#8396).
3725         (apropos-library-button, apropos-format-plist, apropos-print)
3726         (apropos-print-doc, apropos-describe-plist): Callers changed.
3728 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
3730         * net/xesam.el (xesam-mode-map): Use let-bound map in
3731         initialization.  (Bug#11292)
3733 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3735         Preserve ispell session localwords when switching back to
3736         original buffer.
3738         * textmodes/ispell.el (ispell-buffer-session-localwords):
3739         New buffer-local variable to hold buffer session localwords.
3740         (ispell-kill-ispell): Add option 'clear to delete session
3741         localwords.
3742         (ispell-command-loop, ispell-change-dictionary)
3743         (ispell-buffer-local-words): Preserve session localwords when
3744         needed.
3746         * textmodes/flyspell.el (flyspell-process-localwords)
3747         (flyspell-do-correct): Preserve session localwords when needed.
3749 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3751         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3752         using obsolete `translation-table-for-input'.
3753         (ispell-word, ispell-process-line, ispell-complete-word):
3754         Use plain `insert' instead of removed `ispell-insert-word'.
3756 2012-04-22  Chong Yidong  <cyd@gnu.org>
3758         * cus-edit.el (custom-variable-menu)
3759         (custom-variable-reset-saved, custom-face-menu)
3760         (custom-face-reset-saved): If there is no saved value, make the
3761         "reset-saved" operation bring back the default (Bug#9509).
3762         (custom-face-state): Properly detect themed faces.
3764         * faces.el (face-spec-set): Stop supporting deprecated form of
3765         third arg.
3767 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
3769         Move functions from C to Lisp.  Make non-blocking method calls
3770         the default.  Implement further D-Bus standard interfaces.
3772         * net/dbus.el (dbus-message-internal): Declare function.
3773         Remove unneeded function declarations.
3774         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3775         (dbus-message-type-method-return, dbus-message-type-error)
3776         (dbus-message-type-signal): Declare variables.  Remove local
3777         definitions.
3778         (dbus-interface-dbus, dbus-interface-peer)
3779         (dbus-interface-introspectable, dbus-interface-properties)
3780         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3781         Adapt docstring.
3782         (dbus-interface-objectmanager): New defconst.
3783         (dbus-call-method, dbus-call-method-asynchronously)
3784         (dbus-send-signal, dbus-method-return-internal)
3785         (dbus-method-error-internal, dbus-register-service)
3786         (dbus-register-signal, dbus-register-method): New defuns, moved
3787         from dbusbind.c
3788         (dbus-call-method-handler, dbus-setenv)
3789         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3790         New defuns.
3791         (dbus-call-method-non-blocking): Make it an obsolete function.
3792         (dbus-unregister-object, dbus-unregister-service)
3793         (dbus-handle-event, dbus-register-property)
3794         (dbus-property-handler): Obey the new structure of
3795         `bus-registered-objects'.
3796         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
3797         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3798         Use `dbus-call-method'.
3800 2012-04-22  Chong Yidong  <cyd@gnu.org>
3802         * cus-edit.el (custom-commands, custom-reset-menu)
3803         (Custom-reset-standard): Tweak labels.
3804         (custom-reset-button-menu): Change default to t.
3805         (custom-buffer-create-internal): For the custom-reset-button-menu
3806         case, put the revert button first.
3807         (custom-group-subtitle): New face.
3808         (custom-group-value-create): Align docstring to a specific column.
3810         * wid-edit.el (widget-documentation-link-add): Don't handle
3811         indentation in this function.
3812         (widget-documentation-string-indent-to): New function.
3813         (widget-documentation-string-value-create): Use it.
3815         * autorevert.el (auto-revert):
3816         * epg-config.el (epg):
3817         * ibuffer.el (ibuffer):
3818         * mpc.el (mpc):
3819         * ses.el (ses):
3820         * eshell/eshell.el (eshell):
3821         * net/ange-ftp.el (ange-ftp):
3822         * progmodes/ebnf2ps.el (postscript):
3823         * progmodes/flymake.el (flymake):
3824         * progmodes/prolog.el (prolog):
3825         * progmodes/verilog-mode.el (verilog-mode):
3826         * progmodes/which-func.el (which-func):
3827         * term/xterm.el (xterm):
3828         * textmodes/picture.el (picture):
3829         * textmodes/tildify.el (tildify):
3830         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3831         customization buffers.
3833 2012-04-22  Alan Mackenzie  <acm@muc.de>
3835         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3836         Adding a ) can hide the resulting (..) from searches.  Fix it.
3837         Bound the backward search to the position of the existing (.
3839 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
3841         * progmodes/verilog-mode.el (verilog-mode): Check whether
3842         which-func-modes is t before adding verilog-mode.
3843         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3845 2012-04-21  Leo Liu  <sdl.web@gmail.com>
3847         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3849 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
3851         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3852         filling of the last column of a table (Bug#5635).
3853         (woman-find-next-control-line): New arg, specifying an additional
3854         regexp component for the control line.
3855         (woman2-roff-buffer): Use it.
3856         (woman-break-table): New function.
3857         (woman2-TS): Use it.
3859 2012-04-21  Chong Yidong  <cyd@gnu.org>
3861         * woman.el (woman-set-buffer-display-table, woman-decode-region)
3862         (woman-horizontal-escapes, woman-negative-vertical-space)
3863         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3864         (WoMan-warn-ignored): Use ?\s instead of ?\ .
3866 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3868         * minibuffer.el (completion-file-name-table): Complete user names.
3870 2012-04-20  Leo Liu  <sdl.web@gmail.com>
3872         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3873         and pcase-let*.
3875 2012-04-20  Chong Yidong  <cyd@gnu.org>
3877         * server.el (server-execute): Respect initial-buffer-choice if it
3878         is a string and there are no files to open (Bug#2825).
3879         (server-create-window-system-frame, server-create-tty-frame):
3880         Don't switch buffers here.
3881         (server-process-filter): Only try to open a window system frame if
3882         compiled with graphical support (Bug#8314).
3884 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
3886         * battery.el (battery-echo-area-format): Display remaining time
3887         for sysfs backend too (Bug#11269).
3888         (battery-linux-sysfs): Fix conditional for the charge.
3890 2012-04-20  Chong Yidong  <cyd@gnu.org>
3892         * progmodes/gdb-mi.el (gdb): Revert previous change.
3893         (gdb-inferior-io--init-proc): New function.
3894         (gdb-init-1): Use it.
3895         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3896         responsible for allocating a new pty and hooking it to gdb when
3897         the old pty gets an EIO due to process exit.
3898         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
3899         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3900         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3902 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3904         * window.el (window-min-size, window-sizable, window-min-delta)
3905         (window-max-delta, window--resizable, window-resizable)
3906         (window-total-size, window-full-height-p, window-full-width-p)
3907         (window-in-direction, window--resize-mini-window, window-resize)
3908         (window--resize-child-windows-normal)
3909         (window--resize-child-windows, window--resize-siblings)
3910         (window--resize-this-window, adjust-window-trailing-edge)
3911         (enlarge-window, shrink-window): Doc fixes.
3913 2012-04-20  Chong Yidong  <cyd@gnu.org>
3915         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3916         New function to call delete-process on the gdb-inferior buffer's pty.
3917         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3918         pty process (Bug#11273).
3919         (gdb-update): New arg to suppress talking to the gdb process.
3920         (gdb-done-or-error): Use it.
3921         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3922         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3923         sentinel not being called.
3925         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3927         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3929 2012-04-20  Glenn Morris  <rgm@gnu.org>
3931         * net/network-stream.el (open-network-stream): Doc fix.
3933 2012-04-20  Chong Yidong  <cyd@gnu.org>
3935         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3937 2012-04-20  Alan Mackenzie  <acm@muc.de>
3939         Ensure searching for keywords is case sensitive.
3941         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3942         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3943         (c-defun-name, c-mark-function, c-cpp-define-name)
3944         (c-comment-indent, c-scan-conditionals, c-indent-defun)
3945         (c-context-line-break): Bind case-fold-search to nil.
3947         * progmodes/cc-mode.el (c-font-lock-fontify-region):
3948         Bind case-fold-search to nil.
3950 2012-04-20  Chong Yidong  <cyd@gnu.org>
3952         * mail/sendmail.el (mail-bury): Call return action with the right
3953         Rmail buffer (Bug#11242).
3955         * server.el (server-process-filter): Handle corner case where both
3956         tty and nowait options are present (Bug#11102).
3958 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3960         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3961         (top level): Put into the executable the ident-style '$Id:' tag on
3962         windows-nt as well.
3964 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3966         * electric.el (electric-indent-post-self-insert-function): Check that
3967         electric-indent-mode is enabled in current buffer.
3969 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3971         * imenu.el (imenu-progress-message): Restore; it is "used" in
3972         erc/erc-imenu.el and net/snmp-mode.el.
3974 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3976         * avoid.el (mouse-avoidance-mode): Mark unused arg.
3977         (mouse-avoidance-nudge-mouse): Remove unused binding.
3979         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3981         * descr-text.el (describe-char):
3982         * progmodes/python.el (python-describe-symbol):
3983         Don't call `toggle-read-only', set `buffer-read-only'.
3985         * imenu.el (imenu-default-goto-function): Mark unused args.
3986         (imenu-progress-message): Remove obsolete macro; all callers changed.
3988         * subr.el (keymap-canonicalize): Remove unused binding.
3989         (read-passwd): Mark unused arg.
3991         * tutorial.el (tutorial--display-changes): Remove unused binding.
3992         (tutorial--save-tutorial-to): Remove unused variable.
3994         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3995         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3996         (package-generate-autoloads, package-menu--generate)
3997         (package-menu--find-upgrades): Remove unused bindings.
3999         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4000         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
4001         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4002         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4003         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4004         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4005         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4006         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4007         (cua-delete-char-rectangle): Mark unused args.
4008         (cua-align-rectangle): Remove unused binding.
4010         * mail/rmail.el (compilation--message->loc)
4011         (epa--find-coding-system-for-mime-charset): Declare.
4013         * net/dbus.el (dbus-register-service): Declare.
4014         (dbus-name-owner-changed-handler): Remove unused binding.
4016         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4017         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4018         (nxml-scan-backward-within): Mark unused arg.
4019         (nxml-dynamic-markup-word): Remove unused binding.
4021         * mouse.el (mouse-menu-major-mode-map):
4022         * emacs-lisp/authors.el (authors-scan-change-log)
4023         (authors-add-to-author-list):
4024         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4025         * emacs-lisp/smie.el (smie-auto-fill):
4026         * mail/sendmail.el (mail-bury):
4027         * mail/unrmail.el (unrmail):
4028         * net/tls.el (open-tls-stream):
4029         * textmodes/picture.el (picture-mouse-set-point):
4030         Remove unused bindings.
4032 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
4034         * net/tramp.el (tramp-action-password): Let-bind
4035         `enable-recursive-minibuffers' to t.
4037 2012-04-18  Sam Steingold  <sds@gnu.org>
4039         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4040         instead of 'string to accommodate values like [f11].
4041         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4042         * progmodes/gdb-mi.el: Likewise.
4044 2012-04-18  Leo Liu  <sdl.web@gmail.com>
4046         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4047         current buffer.
4048         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4049         LOCAL is nil.
4051 2012-04-18  Chong Yidong  <cyd@gnu.org>
4053         * simple.el (line-move): Use forward-line if in batch mode
4054         (Bug#11053).
4056 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
4058         * files.el (after-find-file): Do not try to add a final newline if
4059         the buffer is read-only (Bug#11156).
4061 2012-04-17  Richard Stallman  <rms@gnu.org>
4063         * mail/rmail.el (rmail-start-mail):
4064         Pass (rmail-mail-return...) for the return-action.
4065         Pass (rmail-yank-current-message...) for the yank-action.
4066         (rmail-yank-current-message): New function.
4067         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4068         (rmail-reply): Likewise.
4069         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4071         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4072         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
4073         buffer, not newbuf.
4075 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
4077         * server.el (server-ensure-safe-dir): Simplify.
4079 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4081         * emacs-lisp/smie.el: Provide smarter auto-filling.
4082         (smie-auto-fill): New function.
4083         (smie-setup): Use it.
4085         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4087 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
4089         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4090         (comment-indent): Use it.
4092 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4094         * ses.el: The overall change is to add cell renaming, that is
4095         setting fancy names for cell symbols other than name matching
4096         "\\`[A-Z]+[0-9]+\\'" regexp .
4097         (ses-localvars): Add ses--renamed-cell-symb-list.
4098         (ses-create-cell-variable): New defun.
4099         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4100         (ses-relocate-formula): Relocate formulas only for cells the
4101         symbols of which are not renamed, i.e. symbols whose names do not
4102         match regexp "\\`[A-Z]+[0-9]+\\'".
4103         (ses-relocate-all): Relocate values only for cells the symbols of
4104         which are not renamed.
4105         (ses-load): Create cells variables as the (ses-cell ...) are read,
4106         in order to check row col consistency with cell symbol name only
4107         for cells that are not renamed.
4108         (ses-replace-name-in-formula): New defun.
4109         (ses-rename-cell): New defun.
4111 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
4113         * progmodes/perl-mode.el (perl-indent-parens-as-block):
4114         New option (bug#11118).
4115         (perl-calculate-indent): Respect it.
4117 2012-04-17  Glenn Morris  <rgm@gnu.org>
4119         * dired-aux.el (dired-mark-read-string): Doc fix.
4121 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
4123         * dired-aux.el (dired-mark-read-string): Offer optional completion.
4124         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
4126 2012-04-17  Glenn Morris  <rgm@gnu.org>
4128         * mouse.el (mouse-drag-track):
4129         * speedbar.el (speedbar-frame-mode):
4130         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4132 2012-04-16  Leo Liu  <sdl.web@gmail.com>
4134         * progmodes/python.el: Trivial cleanup.
4136 2012-04-16  Glenn Morris  <rgm@gnu.org>
4138         * vc/vc.el (vc-string-prefix-p):
4139         * vc/pcvs-util.el (cvs-string-prefix-p):
4140         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4141         * mpc.el (mpc-string-prefix-p):
4142         Make all of these into obsolete aliases for string-prefix-p.
4143         Update callers.
4144         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4146         * textmodes/two-column.el: Move custom options to the start.
4147         (frame-width): Remove compat definition.
4148         (2C-associate-buffer, 2C-dissociate):
4149         Use with-current-buffer rather than save-excursion.
4150         (2C-dissociate): Force a mode-line update.
4151         (2C-autoscroll): Use ignore-errors.
4153         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4154         Autoload trivia.
4156         * emacs-lisp/cl-extra.el (*random-state*):
4157         Remove unnecessary declaration.
4159         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4161         * play/cookie1.el (cookie-snarf):
4162         Give an explicit error if input file cannot be read.
4164         * play/yow.el (yow-file): Use expand-file-name rather than concat.
4166         * progmodes/perl-mode.el (c-macro-expand):
4167         Remove unnecessary autoload (it is in loaddefs.el).
4169         * textmodes/picture.el (picture-desired-column)
4170         (picture-update-desired-column): Convert comments to doc-strings.
4171         (picture-substitute): Remove function.
4172         (picture-mode-map): Initialize in the defvar.
4174         * woman.el: Remove eval-after-load for tar-mode.
4175         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4176         (woman-tar-extract-file): Autoload it.
4178         * frame.el (automatic-hscrolling): Make this alias obsolete.
4180 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4182         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4183         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4184         (ispell-dictionary-base-alist): Revert to original XEmacs
4185         friendly version for default.  [:alpha:] will be added in
4186         `ispell-set-spellchecker-params' if needed.
4188 2012-04-16  Chong Yidong  <cyd@gnu.org>
4190         * image.el (imagemagick--extension-regexp): New variable.
4191         (imagemagick-register-types): Use it.
4192         (imagemagick-types-inhibit): Add :set function.  Allow new value
4193         of t to inhibit all types.
4195         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4196         so we can preload it.
4198         * loadup.el (fboundp): Preload regexp-opt, needed by
4199         imagemagick-register-types.
4201 2012-04-15  Chong Yidong  <cyd@gnu.org>
4203         * frame.el (scrolling): Remove nearly unused customization group.
4205         * scroll-all.el (scroll-all-mode): Move to windows group.
4207 2012-04-15  Chong Yidong  <cyd@gnu.org>
4209         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4211 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4213         Avoid the use of ((lambda ...) ...) in lexical-binding code.
4214         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4216 2012-04-15  Glenn Morris  <rgm@gnu.org>
4218         * simple.el (process-file-side-effects): Doc fix.
4220 2012-04-15  Glenn Morris  <rgm@gnu.org>
4222         * international/mule-cmds.el (set-language-environment): Doc fix.
4224 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
4226         * server.el (server-auth-key, server-generate-key): Doc fixes.
4227         (server-get-auth-key): Doc fix.  Use `string-match-p'.
4228         (server-start): Reflow docstring.
4230 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
4232         * server.el (server-generate-key): `called-interactively-p'
4233         requires a parameter.
4235 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
4237         * server.el (server-auth-key): New variable.
4238         (server-generate-key, server-get-auth-key): New function.
4239         (server-start): Use the new variable and functions to allow
4240         setting a permanent server key (bug#9423).
4242 2012-04-14  Leo Liu  <sdl.web@gmail.com>
4244         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4246 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
4248         Spelling fixes.
4249         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4250         Emacs uses American spelling.
4252 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
4254         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4255         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
4256         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4257         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
4259 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4261         * progmodes/which-func.el (which-func-modes): Change default.
4263 2012-04-14  Kim F. Storm  <storm@cua.dk>
4265         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4266         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4268 2012-04-14  Chong Yidong  <cyd@gnu.org>
4270         * custom.el (custom-theme-set-variables): Doc fix.
4272 2012-04-14  Glenn Morris  <rgm@gnu.org>
4274         * international/mule.el (set-auto-coding-for-load): Doc fix.
4276 2012-04-14  Alan Mackenzie  <acm@muc.de>
4278         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4279         imenu work again for Objective C Mode.  Correct the *-index values,
4280         these having been disturbed by a previous change in 2011-08.
4282         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4283         Correct two search limits.
4285 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4287         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4289 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
4291         * international/characters.el: Fix sorting.
4293 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
4295         * international/characters.el: Add more missing Latin case pairs.
4297 2012-04-14  Glenn Morris  <rgm@gnu.org>
4299         * files.el (dir-locals-set-class-variables): Doc fix.
4301 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
4303         * international/characters.el: Add set-case-syntax-pair call for
4304         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4305         counterpart.  (Bug#11209)
4307         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
4309 2012-04-14  Glenn Morris  <rgm@gnu.org>
4311         * calendar/holidays.el (calendar-check-holidays): Doc fix.
4313 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
4315         * textmodes/ispell.el (ispell-dictionary-base-alist):
4316         Add data for Hebrew.
4318 2012-04-14  Chong Yidong  <cyd@gnu.org>
4320         * net/rcirc.el (rcirc-cmd-quit):
4321         Revert 2012-03-18 change (Bug#11192).
4323 2012-04-14  Glenn Morris  <rgm@gnu.org>
4325         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4327 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
4329         * minibuffer.el (completion-in-region-mode-map):
4330         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
4332 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
4334         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4336 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
4338         * minibuffer.el (minibuffer-local-filename-syntax): New variable
4339         to allow `C-M-f' and `C-M-b' to move to the nearest path
4340         separator (bug#9511).
4342 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
4344         * avoid.el: Require cl when compiling.  And also move the
4345         `provide' to the end.
4347 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4349         * avoid.el (mouse-avoidance-banish-position): New variable.
4350         (mouse-avoidance-banish-destination): Use it (bug#10165).
4352 2012-04-13  Leo Liu  <sdl.web@gmail.com>
4354         * progmodes/which-func.el (which-func-modes): Add objc-mode.
4356 2012-04-13  Ken Brown  <kbrown@cornell.edu>
4358         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
4359         this is no longer needed now that cygstart understands file:// URLs.
4360         (browse-url-filename-alist): For the same reason, don't modify
4361         file:// URLs on Cygwin.
4363 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4365         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4366         the region on shift if the binding is already shifted (bug#11221).
4368 2012-04-12  Glenn Morris  <rgm@gnu.org>
4370         * mail/mailpost.el: Move to obsolete/.
4372 2012-04-12  Drew Adams  <drew.adams@oracle.com>
4374         * imenu.el (imenu--generic-function): Ignore invisible definitions
4375         (bug#10123).
4377 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
4379         * hexl.el (hexl-bits): New variable.
4380         (hexl-options): Mention the variable in the doc string.
4381         (hexl-rulerise, hexl-line-displen): New functions.
4382         (hexl-mode): Mention the new variable.
4383         (hexl-mode, hexl-current-address, hexl-current-address):
4384         Use the displen.
4385         (hexl-ascii-start-column): New function.
4386         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4387         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4389 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4391         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4392         '("-i" ENCODING), in 2 separate command-line arguments, to specify
4393         the encoding, as expected by hunspell.
4395 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4397         * battery.el (battery--linux-sysfs-regexp): New const.
4398         (battery-status-function): Use it.  Remove yeeloong special case.
4399         (battery-yeeloong-sysfs): Remove.
4400         (battery-echo-area-format): Remove yeeloong special case.
4402 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4404         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4405         Reported by Noah Friedman.
4407         * subr.el (read-passwd): Use read-string.
4409 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4411         * vcursor.el (vcursor-move): Increase the priority of the overlay
4412         (bug#9663).
4414 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4416         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4417         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4419 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
4421         * textmodes/artist.el (artist-mode): Convert artist-mode to use
4422         define-minor-mode (bug#10760).
4424 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
4426         * progmodes/grep.el (rgrep): Tweak the find command line so
4427         that directories matching `grep-find-ignored-files' won't be
4428         pruned (bug#10351).
4430 2012-04-11  Chong Yidong  <cyd@gnu.org>
4432         * startup.el (command-line): Remove support for long-obsolete
4433         variable font-lock-face-attributes.
4435 2012-04-11  Glenn Morris  <rgm@gnu.org>
4437         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4439 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4441         * window.el (window--state-get-1): Obey window-point-insertion-type.
4443 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
4445         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4446         to previous function when point is on the first character of a
4447         function.  Take care of that in `narrow-to-defun' (bug#6157).
4449 2012-04-11  Glenn Morris  <rgm@gnu.org>
4451         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4452         not just file-errors.
4454         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4455         (vc-bzr-sha1): Use internal sha1.
4457 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4459         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4461 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
4463         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4464         that start in the middle of the line (bug#10496).
4466 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
4468         * battery.el (battery-linux-proc-acpi): Only one battery is
4469         discharged at a time, but that seems to confuse battery.el when
4470         computing `rate-type' for the battery not being discharged
4471         (bug#10332).
4473 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4475         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4477         * international/quail.el: Use dolist and simplify.
4478         (quail-define-package, quail-update-keyboard-layout)
4479         (quail-define-rules): Use dolist.
4480         (quail-insert-kbd-layout, quail-get-translation): CSE.
4482         * tmm.el: Use dolist, remove left over hook.
4483         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4484         Use dolist.
4485         (calendar-load-hook): Don't mess with it.
4487         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4488         Use derived-mode-p.  Run the diff asynchronously.
4490 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4492         * obsolete/mouse-sel.el: Add an Obsolete-since header.
4494 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
4496         * misc.el: Display absolute path of loaded DLLs (bug#10424).
4497         (list-dynamic-libraries--loaded): New function.
4498         (list-dynamic-libraries--refresh): Use it.
4500 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
4502         * progmodes/python.el (python-fill-paragraph):
4503         Make python-fill-region in a multiline string work when font-lock is
4504         disabled (bug#7018).
4506 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
4508         * language/european.el (cp775): Add oem/legacy (en)coding on
4509         DOS/MS Windows for the Baltic languages.  There are still plenty
4510         of texts written in this encoding/codepage (bug#6519).
4512 2012-04-10  Glenn Morris  <rgm@gnu.org>
4514         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4515         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4517 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
4519         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4520         next-line "n" and previous-line "p" in order to make recentf more
4521         consistent with ibuffer, dired or org-mode (bug#9387).
4523 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4525         * image.el (put-image): Return the overlay created instead of the
4526         optional input string (bug#7834).  Note that this may break code
4527         that is (for some reason or other) depending on `put-image'
4528         returning the string.
4530         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4532         * simple.el (zap-to-char): Allow zapping using input methods
4533         (bug#1580).
4535         * textmodes/fill.el (fill-region): Leave point and mark where they
4536         were before filling (bug#5399).
4538 2012-04-09  Glenn Morris  <rgm@gnu.org>
4540         * version.el (emacs-bzr-get-version):
4541         Handle lightweight checkouts of local branches.
4543 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
4545         * international/characters.el: Recover lost case pairs.  (Bug#11209)
4547 2012-04-09  Chong Yidong  <cyd@gnu.org>
4549         * custom.el (custom-variable-p): Return nil for non-symbol
4550         arguments instead of signaling an error.
4551         (user-variable-p): Obsolete alias for custom-variable-p.
4553         * apropos.el (apropos-variable):
4554         * files-x.el (read-file-local-variable):
4555         * simple.el (set-variable):
4556         * woman.el (woman-mini-help):
4557         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4559 2012-04-09  Glenn Morris  <rgm@gnu.org>
4561         * startup.el (normal-top-level): Don't look for leim-list.el
4562         in places where it will not be found.  (Bug#910)
4564         * international/mule-cmds.el (set-default-coding-systems):
4565         * files.el (normal-mode):
4566         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
4567         This function was removed with ucs-tables.el in 2008.
4569 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
4571         * textmodes/ispell.el (ispell-check-version): For hunspell, set
4572         ispell-encoding8-command to "-i", without a trailing space.
4573         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4574         separate command-line arguments, to specify the encoding, since
4575         that's how hunspell expects it.
4577 2012-04-08  Glenn Morris  <rgm@gnu.org>
4579         * loadup.el: Load bindings before cus-start.
4580         This reduces somewhat the number of "rogue" settings in emacs -Q.
4582 2012-04-07  Glenn Morris  <rgm@gnu.org>
4584         * version.el (emacs-bzr-get-version): New function.
4585         (emacs-bzr-version): New variable.
4586         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
4587         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4589 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
4591         * international/uni-bidi.el, international/uni-category.el:
4592         * international/uni-combining.el, international/uni-decimal.el:
4593         * international/uni-decomposition.el, international/uni-digit.el:
4594         * international/uni-lowercase.el, international/uni-mirrored.el:
4595         * international/uni-name.el, international/uni-numeric.el:
4596         * international/uni-titlecase.el, international/uni-uppercase.el:
4597         Update for Unicode 6.1.
4599 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
4601         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4603 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4605         * window.el (shrink-window): Mention the `window-min-height'
4606         variable in the doc string.
4608 2012-04-05  Bastien Guerry  <bzg@altern.org>
4610         * color.el (color-lighten-name): Fix typo.
4612 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4614         * server.el (server--on-display-p): New function.
4615         (server--on-display-p): Use it.
4617 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
4619         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4620         (bug#11145).
4622 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4624         * comint.el (comint--common-quoted-suffix): Check string boundary
4625         before comparing (bug#11158).
4626         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4628 2012-04-04  Chong Yidong  <cyd@gnu.org>
4630         * minibuffer.el (completion-extra-properties): Doc fix.
4632         * subr.el (delayed-warnings-hook): Doc fix.
4634 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
4636         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4637         selection (Bug#11159).
4638         (epa-insert-keys): Inform that the default public key will be
4639         exported if no key is selected.
4641 2012-04-04  Richard Stallman  <rms@gnu.org>
4643         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4645 2012-04-03  Chong Yidong  <cyd@gnu.org>
4647         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4648         mail-insert-file, not its obsolete alias mail-attach-file.
4650 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
4652         * notifications.el (notifications-notify): Fix docstring.
4654 2012-04-02  Glenn Morris  <rgm@gnu.org>
4656         * emacs-lisp/authors.el (authors-aliases): Another addition.
4658 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
4660         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4661         `tramp-compat-call-process' instead of `tramp-local-call-process'.
4662         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4664 2012-04-01  Chong Yidong  <cyd@gnu.org>
4666         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4667         Handle root directory properly.
4668         (copy-directory): Caller changed.
4670         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4671         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4673 2012-03-31  Glenn Morris  <rgm@gnu.org>
4675         * term/xterm.el (xterm-extra-capabilities): Doc fix.
4677         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
4679         * calendar/calendar.el (calendar-window-list)
4680         (calendar-hide-window): Restore.  (Bug#11140)
4681         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4683         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4685 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4687         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4688         Check if file is a symlink (Bug#10489).
4690         * files.el (copy-directory): Likewise.
4692 2012-03-30  Chong Yidong  <cyd@gnu.org>
4694         * image.el (imagemagick-types-inhibit)
4695         (imagemagick-register-types): Doc fix.
4697 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4699         * textmodes/ispell.el (ispell-get-extended-character-mode):
4700         Disable extended-char-mode for hunspell.  hunspell does not support it
4701         and treats ~word as ordinary words in pipe mode.
4703 2012-03-30  Glenn Morris  <rgm@gnu.org>
4705         * tutorial.el (help-with-tutorial): Ensure local variables don't
4706         happen to make the buffer read-only.  (Bug#11127)
4708 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4710         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4711         (perl-calculate-indent): Return `noindent' in strings.
4713 2012-03-28  Sam Steingold  <sds@gnu.org>
4715         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4716         instead of the broken adhockery which does not prevent calendar
4717         buffers from being displayed at random after exit.
4718         (calendar-window-list, calendar-hide-window): Remove the broken
4719         adhockery.
4721 2012-03-28  Glenn Morris  <rgm@gnu.org>
4723         * replace.el (query-replace-map): Doc fix.
4725 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
4727         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4728         contents.  (Bug#11109)
4730 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4732         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4733         (bug#11077).
4734         (avl-tree--check, avl-tree--check-node): New funs.
4736 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
4738         * window.el (switch-to-visible-buffer): New option.
4739         (switch-to-prev-buffer, switch-to-next-buffer):
4740         Observe switch-to-visible-buffer.  Make sure that checking for a window
4741         showing a buffer already is done on the same frame.
4743 2012-03-27  Glenn Morris  <rgm@gnu.org>
4745         * startup.el (mail-host-address): Doc fix.
4747 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4749         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4750         than 197 variables.
4752 2012-03-26  Ami Fischman  <ami@fischman.org>
4754         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4756 2012-03-26  Glenn Morris  <rgm@gnu.org>
4758         * files.el (save-buffers-kill-emacs): Doc fix.
4760         * startup.el (normal-top-level, command-line, command-line-1):
4761         Give them doc strings.
4763 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
4765         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4766         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4768 2012-03-25  Chong Yidong  <cyd@gnu.org>
4770         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4771         theme if it was previously enabled before (Bug#11031).
4773         * cus-theme.el (custom-theme-write-faces): Retrieve current face
4774         spec with custom-face-get-current-spec if its :shown-value is not
4775         determined yet (Bug#9337).
4776         (customize-create-theme, custom-theme-revert): Doc fixes.
4778         * button.el (button-at): Minor addition to docstring.
4780 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
4782         * vc/vc.el (vc-merge): Fix a prompt.
4784 2012-03-24  Chong Yidong  <cyd@gnu.org>
4786         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4787         point (Bug#9623).
4789         * button.el (button-at): Minor addition to docstring.
4791 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4793         * newcomment.el (comment-choose-indent): No space after BOL.
4795 2012-03-22  Sam Steingold  <sds@gnu.org>
4797         * window.el (switch-to-prev-buffer): Revert last patch because the
4798         bug turned out to be an advertised feature (Elisp manual 28.14).
4800 2012-03-22  Glenn Morris  <rgm@gnu.org>
4802         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
4803         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4805 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4807         * net/network-stream.el (network-stream-open-starttls): Make error
4808         message under Windows be less misleading.
4810 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
4812         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4813         understands (bug#9942).
4815 2012-03-22  Chong Yidong  <cyd@gnu.org>
4817         * simple.el (end-of-visible-line): Handle return value of
4818         next-single-property-change properly (Bug#9371).
4820 2012-03-22  Kenichi Handa  <handa@m17n.org>
4822         * international/quail.el (quail-insert-kbd-layout): Fix previous
4823         change.  To avoid unwanted bidi reordering, use
4824         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4826 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
4828         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4829         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4830         (ruby-beginning-of-indent): Be more careful with the difference
4831         between word-boundary and symbol boundary.
4832         (ruby-mode-syntax-table): Make : a symbol constituent.
4834 2012-03-21  Andreas Politz  <politza@fh-trier.de>
4836         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4838 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4840         * progmodes/etags.el (tags-completion-at-point-function):
4841         Improve last fix.
4843         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4845 2012-03-21  Sam Steingold  <sds@gnu.org>
4847         * progmodes/etags.el (tags-completion-at-point-function):
4848         Avoid the error when point is inside the pattern.
4850 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
4852         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4853         line (Bug#10855).
4855 2012-03-21  Drew Adams  <drew.adams@oracle.com>
4857         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4859 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
4861         * ido.el (ido-set-current-directory, ido-read-internal)
4862         (ido-choose-completion-string, ido-completion-help): Handle nil
4863         value of ido-completion-buffer (Bug#11008).
4865 2012-03-21  Sam Steingold  <sds@gnu.org>
4867         * window.el (switch-to-prev-buffer): Do not switch to a visible
4868         window previous buffer, just like with the frame previous buffers.
4870 2012-03-21  Chong Yidong  <cyd@gnu.org>
4872         * faces.el (make-face, make-empty-face, copy-face):
4873         * face-remap.el (face-remap-add-relative, face-remap-set-base):
4874         Doc fixes.
4876 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4878         * wid-edit.el (widget-complete-field): Remove (bug#11051).
4879         (widget-complete): Remove broken use of it.
4881 2012-03-20  Chong Yidong  <cyd@gnu.org>
4883         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4884         Use string-width and truncate-string-width to handle arbitrary
4885         characters.
4887 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
4889         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4890         to draw rectangles, not squares.  (Regression introduced by revno
4891         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4893 2012-03-18  Chong Yidong  <cyd@gnu.org>
4895         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4896         it is not yet defined (for temacs).
4898 2012-03-18  Leo Liu  <sdl.web@gmail.com>
4900         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4902 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
4904         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4905         (ispell-choices-win-default-height, ispell-silently-savep)
4906         (ispell-dictionary-alist, ispell-encoding8-command)
4907         (ispell-check-version, ispell-aspell-find-dictionary)
4908         (ispell-valid-dictionary-list, ispell-words-keyword)
4909         (ispell-get-word, ispell-internal-change-dictionary)
4910         (ispell-region, ispell-skip-region-list)
4911         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4912         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4913         (ispell-message-text-end, ispell-message)
4914         (ispell-buffer-local-parsing): Doc fix.
4916 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
4918         * htmlfontify.el: Add support for code block fontification for ODT
4919         export (Bug #9914).
4920         (hfy-optimisations): Define new option
4921         `body-text-only'
4922         (hfy-fontify-buffer): Honor above setting.
4923         (hfy-begin-span, hfy-end-span): New routines factored out form
4924         `hfy-fontify-buffer'.
4925         (hfy-begin-span-handler, hfy-end-span-handler): New variables
4926         that permit insertion of custom tags.
4927         (hfy-fontify-buffer): Use above handlers.
4928         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4929         (hfy-face-to-css): Re-defined to be a variable.
4930         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
4931         over multiple runs.  This is made possible by having the caller let
4932         bind a special variable `hfy-user-sheet-assoc'.
4933         (htmlfontify-string): New defun.
4934         (hfy-compile-face-map): Make sure that the last char in the
4935         buffer is correctly fontified.
4936         (hfy-face-resolve-face): Whitespace only change.
4938 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
4940         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4941         message more clear.
4943 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4945         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4947 2012-03-16  Alan Mackenzie  <acm@muc.de>
4949         Further optimise the handling of large macros.
4951         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4952         limit to a call of `c-literal-limits'.
4953         (c-determine-+ve-limit): New function.
4954         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4955         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4956         In CASE 5B, restrict a search limit to 500.
4957         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4959         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4960         Restrict macro bounds to +-500 from after-change's BEG END.
4962 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4964         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4966 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
4968         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4969         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
4971 2012-03-16  Glenn Morris  <rgm@gnu.org>
4973         * view.el (view-buffer, view-buffer-other-window)
4974         (view-buffer-other-frame): Doc fixes re special mode-class.
4976         * subr.el (eval-after-load): If named feature is provided not from
4977         a file, run after-load forms.  (Bug#10946)
4979         * calendar/calendar.el (calendar-insert-at-column):
4980         Handle non-unit-width characters a bit better.  (Bug#10978)
4982 2012-03-15  Chong Yidong  <cyd@gnu.org>
4984         * emacs-lisp/ring.el (ring-extend): New function.
4985         (ring-insert+extend): Extend the ring correctly (Bug#11019).
4987         * comint.el (comint-read-input-ring)
4988         (comint-add-to-input-history): Grow comint-input-ring lazily.
4990 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4992         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4993         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4995         * imenu.el: Fix multiple inheritance breakage (bug#9199).
4996         (imenu-add-to-menubar): Don't add a redundant index.
4997         (imenu-update-menubar): Handle a dynamically composed keymap.
4999 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
5001         * mail/sendmail.el (mail-encode-header):
5002         Bind rfc2047-encode-encoded-words to nil.
5004 2012-03-13  Glenn Morris  <rgm@gnu.org>
5006         * calendar/calendar.el (calendar-string-spread):
5007         Handle non-unit-width characters a bit better.  (Bug#10978)
5009 2012-03-13  Leo Liu  <sdl.web@gmail.com>
5011         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5012         directory and file as argument (Bug#10822).
5014 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
5016         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5017         For dynamically generated code, follow $PC.
5018         (gdb-disassembly-handler-custom): Handle no function name case.
5020 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
5022         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5023         * emulation/ws-mode.el (ws-query-replace):
5024         * sort.el (sort-regexp-fields):
5025         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
5027 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5029         * dabbrev.el: Fix cycle completion order (bug#10963).
5030         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5031         (dabbrev-completion): Don't use an obarray; provide
5032         a cycle-sort-function.
5034 2012-03-12  Leo Liu  <sdl.web@gmail.com>
5036         * simple.el (kill-new): Use equal-including-properties for comparison.
5037         (kill-do-not-save-duplicates): Doc fix.
5039 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5041         * dabbrev.el: Fix cycle completion (bug#10963).
5042         Use lexical binding and wrap to 80 columns.
5043         (dabbrev-completion): Delay computing the list of completions.
5045 2012-03-12  Kenichi Handa  <handa@m17n.org>
5047         * international/quail.el (quail-insert-kbd-layout): Surround each
5048         row by LRO and PDF instead of inserting many LRMs.  Pad the left
5049         and right of each non-spacing marks.  Insert invisible space
5050         between lower and upper characters to prevent composition.
5052 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5054         * minibuffer.el (minibuffer-complete): Don't get confused when the
5055         function is run twice via different commands (bug#10958).
5056         (complete-with-action): Fix docstring.
5058 2012-03-12  Chong Yidong  <cyd@gnu.org>
5060         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5061         (nxml-completion-at-point-function): New function.
5062         (nxml-mode): Use it.
5063         (nxml-bind-meta-tab-to-complete-flag): Default to t.
5065         * emacs-lisp/package.el (package-unpack, package-unpack-single):
5066         Load generated autoloads file before byte compiling (Bug#10970).
5067         (package--make-autoloads-and-compile): New helper fun.
5069 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
5071         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5073 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
5075         * autorevert.el (auto-revert-handler): Ensure, that
5076         file-readable-p is applied only for local files or in
5077         auto-revert-tail-mode.
5079 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
5081         * server.el (server-eval-at): Handle non-tcp connections.
5082         Decode result string.
5084         * server.el (server-msg-size): New constant.
5085         (server-reply-print): New function.
5086         (server-eval-and-print): Use it.
5087         (server-eval-at): Use server-quote-arg and server-unquote-arg.
5088         Handle -print-nonl.
5090 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
5092         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5093         (Bug#10987).
5095 2012-03-11  Chong Yidong  <cyd@gnu.org>
5097         * simple.el (goto-line): Doc fix (Bug#9938).
5099         * subr.el (save-window-excursion): Doc fix (Bug#9979).
5101         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5102         when finished (Bug#10963).
5104 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
5106         * window.el (split-window-below): Fix bug in case where
5107         split-window-keep-point is nil (Bug#10971).
5109 2012-03-11  Juri Linkov  <juri@jurta.org>
5111         * replace.el (replace-highlight): Set isearch-word to nil
5112         unconditionally.  (Bug#10887)
5114 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
5116         * net/mairix.el (mairix-replace-invalid-chars): Rename from
5117         mairix-replace-illegal-chars; all callers changed.  Don't remove
5118         ^, ~, and = characters: they are meaningful in mairix search specs.
5119         (mairix-widget-create-query): Add usage information about mairix
5120         search forms: negating words, searching for substrings, etc.
5122 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
5124         * international/fontset.el (font-encoding-alist): Add an entry for
5125         ksx1001 (Bug#5667).
5127 2012-03-10  Richard Stallman  <rms@gnu.org>
5129         * mail/sendmail.el (mail-encode-header):
5130         Set rfc2047-encode-encoded-words.
5132         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5134         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5135         view buffer means not swapped.
5136         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5137         (rmail-write-region-annotate): Error if real text has disappeared.
5139         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5141 2012-03-10  Chong Yidong  <cyd@gnu.org>
5143         * emulation/cua-rect.el (cua--init-rectangles):
5144         * emulation/cua-base.el (cua--init-keymaps):
5145         Add delete-forward-char to remappings (Bug#9666).
5147 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
5149         * speedbar.el (speedbar-unhighlight-one-tag-line):
5150         Avoid unhighlighting due to frame switching (Bug#10275).
5152 2012-03-10  Chong Yidong  <cyd@gnu.org>
5154         * minibuffer.el (completion-in-region, completion-help-at-point):
5155         Give the completion field overlay a high priority (Bug#6830).
5157         * dired.el (dired-goto-file): Recognize absolute file name
5158         listings (Bug#7126).
5159         (dired-goto-file-1): New helper function.
5160         (dired-toggle-read-only): Inhibit warnings.
5162 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
5164         * net/dbus.el (dbus-property-handler): Return empty array if
5165         there are no properties.
5167 2012-03-09  Leo Liu  <sdl.web@gmail.com>
5169         * savehist.el (savehist-printable): Stricter check for string
5170         value (Bug#10937).
5172 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
5174         * mail/smtpmail.el (smtpmail-send-it):
5175         Bind coding-system-for-write to *-unix, so that FCC files are kept in
5176         valid mbox format.
5178 2012-03-09  Glenn Morris  <rgm@gnu.org>
5180         * files.el (dir-locals-find-file):
5181         Don't check result is regular, readable.
5182         (dir-locals-read-from-file): Demote errors.
5184 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
5186         * international/quail.el (quail-insert-kbd-layout):
5187         Insert invisible LRM characters before each character in a keyboard
5188         layout cell, to prevent their reordering by bidi display engine.
5189         For details, see the discussion in
5190         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5192 2012-03-08  Alan Mackenzie  <acm@muc.de>
5194         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5195         the starting position; make it extend the marked region when
5196         invoked repeatedly - all under appropriate circumstances.
5197         Fixes bugs #5525, #10906.
5199 2012-03-08  Glenn Morris  <rgm@gnu.org>
5201         * files.el (locate-dominating-file, dir-locals-find-file):
5202         Undo 2012-03-06 change.
5204 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
5206         * international/quail.el (quail-help):
5207         Force bidi-paragraph-direction be left-to-right.  See discussion in
5208         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5209         for the reason.
5211 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
5213         Avoid superfluous registering of signals.  (Bug#10807)
5215         * notifications.el (notifications-on-action-object)
5216         (notifications-on-close-object): New defvars.
5217         (notifications-on-action-signal, notifications-on-closed-signal):
5218         Unregister the signal if not needed any longer.
5219         (notifications-notify): Register `notifications-action-signal' or
5220         `notifications-closed-signal', if :on-action or :on-close has been
5221         passed as argument.
5223 2012-03-07  Chong Yidong  <cyd@gnu.org>
5225         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5226         non-X platforms.
5228 2012-03-06  Glenn Morris  <rgm@gnu.org>
5230         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5231         (x-disown-selection-internal, x-get-selection-internal):
5232         Doc fix (add arglist signatures).  (Bug#10783)
5234 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
5236         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5237         Handle breakpoints with no "type".
5239 2012-03-06  Glenn Morris  <rgm@gnu.org>
5241         * files.el (locate-dominating-file): Add optional predicate argument.
5242         (dir-locals-find-file): Make use of above change.
5244 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
5246         * info.el (Info-insert-dir): Also try "dir.gz".
5248 2012-03-06  Glenn Morris  <rgm@gnu.org>
5250         * files.el (dir-locals-find-file):
5251         Ignore non-readable or non-regular files.  (Bug#10928)
5253         * files.el (locate-dominating-file): Doc fix.
5255 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
5257         * calendar/calendar.el (calendar-set-mode-line):
5258         `getenv' returns a string.  (Bug#10951)
5260 2012-03-05  Leo Liu  <sdl.web@gmail.com>
5262         * simple.el (backward-delete-char-untabify): Constrain point to
5263         field (Bug#10939).
5265         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5267 2012-03-05  Chong Yidong  <cyd@gnu.org>
5269         * simple.el (count-words): If called from Lisp, return the word
5270         count, for symmetry with `count-lines'.  Arglist changed.
5271         (count-words--message): Args changed.  Consolidate counting code
5272         from count-words and count-words-region.
5273         (count-words-region): Caller changed.
5274         (count-lines-region): Make it an obsolete alias.
5276 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
5278         * saveplace.el (save-place-to-alist)
5279         (save-place-ignore-files-regexp): Allow value nil to disable this
5280         feature.
5282 2012-03-04  Chong Yidong  <cyd@gnu.org>
5284         * faces.el (face-spec-reset-face): For the default face, reset the
5285         attributes to default values (Bug#10748).
5287 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5289         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5290         previous patch: Check `message-send-mail-function', and not the
5291         default function (bug#10897).
5293 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
5295         * notifications.el (notifications-on-action-signal)
5296         (notifications-on-closed-signal): Check for unique service name of
5297         incoming event.  Fix error in removing entry.
5298         (top): Register for signals with wildcard service name.
5299         (notifications-notify): Use daemon unique service name for map entries.
5301 2012-03-04  Chong Yidong  <cyd@gnu.org>
5303         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5305 2012-03-04  Glenn Morris  <rgm@gnu.org>
5307         * abbrev.el (copy-abbrev-table, abbrev-table-p)
5308         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5309         (expand-abbrev, define-abbrev-table): Doc fixes.
5311 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5313         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5314         `message-default-send-mail-function' and not `send-mail-function'
5315         when doing the prompting for `sendmail-query-once' before sending
5316         in Message buffers (bug#10897).
5318         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5319         This is inconsistent with all the other stream functions, which leave
5320         the setting up to the higher levels (if so wanted) (bug#10931).
5322 2012-03-02  Alan Mackenzie  <acm@muc.de>
5324         Depessimize the handling of very large macros.
5326         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5327         (c-macro-cache-syntactic): New variables to implement a one
5328         element macro cache.
5329         (c-invalidate-macro-cache): New function.
5330         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5331         Adapt to use the new cache.
5332         (c-state-safe-place): Use better the cache of safe positions.
5333         (c-state-semi-nonlit-pos-cache)
5334         (c-state-semi-nonlit-pos-cache-limit):
5335         New variables for...
5336         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
5337         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
5338         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5339         Use c-state-semi-safe-place.
5341         * progmodes/cc-langs.el (c-get-state-before-change-functions):
5342         Add c-invalidate-macro-cache to the C, C++, Obj entries.
5344 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
5346         * jka-compr.el (jka-compr-call-process):
5347         Apply `file-accessible-directory-p' only when the default directory is
5348         not remote.
5350 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
5352         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
5353         access of FILE2, if FILE1 does not exist.
5355         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5356         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5358         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5359         Add "PAGER=" to `process-environment'.
5361 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
5363         * progmodes/sql.el: Bug fix
5364         (sql-get-login-ext): Save login values in globals.
5365         (sql-get-login): Use new version of `sql-get-login-ext'.
5366         (sql-interactive-mode): Set global `sql-connection' to nil.
5367         (sql-connect): Set global values for connection.
5368         (sql-product-interactive): Save global values as buffer local.
5370 2012-02-29  Leo Liu  <sdl.web@gmail.com>
5372         * abbrev.el (define-abbrevs): Reset sys to nil.
5374 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5376         * files.el (file-equal-p): Rename from `files-equal-p'.
5377         Return nil when one or both files don't exist.
5378         (file-subdir-of-p): Now only top directory must exists,
5379         return nil if it doesn't.
5380         (copy-directory): No need to test with `file-subdir-of-p' after
5381         creating dir.
5382         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5383         to `file-equal-p'.
5385 2012-02-28  Glenn Morris  <rgm@gnu.org>
5387         * shell.el (shell-mode):
5388         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5389         * play/landmark.el (landmark-font-lock-face-O):
5390         * play/handwrite.el (handwrite):
5391         * play/gomoku.el (gomoku-O):
5392         * net/browse-url.el (browse-url-browser-display):
5393         * international/mule.el (define-charset):
5394         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5395         * filesets.el (filesets-find-file-delay):
5396         * eshell/em-xtra.el (eshell-xtra):
5397         * eshell/em-unix.el (eshell-grep):
5398         * emulation/viper.el (viper-mode):
5399         * emacs-lisp/regexp-opt.el (regexp-opt-group):
5400         * emacs-lisp/easymenu.el (easy-menu-define):
5401         * calendar/timeclock.el (timeclock-use-display-time):
5402         * bs.el (bs-mode):
5403         * bookmark.el (bookmark-save-flag):
5404         Doc fix (standardize possessive apostrophe usage).
5406 2012-02-27  Chong Yidong  <cyd@gnu.org>
5408         * emulation/viper-cmd.el (viper-intercept-ESC-key):
5409         Fix key-binding lookup for ESC key (Bug#9146).
5411         * font-lock.el (font-lock-specified-p): Rename from
5412         font-lock-spec-present.  Callers changed.
5414 2012-02-27  Daniel Hackney  <dan@haxney.org>
5416         * emacs-lisp/package.el (package-compute-transaction):
5417         Handle holding a package version to t in package-load-list.
5419 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
5421         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5422         (tramp-get-inode, tramp-get-device): Use cached values.
5424 2012-02-26  Alan Mackenzie  <acm@muc.de>
5426         Check there is a font-lock specification before doing initial
5427         fontification.
5429         * font-core.el (font-lock-mode): Move the conditional from
5430         :after-hook to font-lock-initial-fontify.
5431         (font-lock-default-function): Move the check for a specification
5432         to font-lock-spec-present.
5434         * font-lock.el (font-lock-initial-fontify): Call ...
5435         (font-lock-spec-present): New function.
5437 2012-02-26  Jim Blandy  <jimb@red-bean.com>
5439         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5440         (gdb-send): Apply it to the operand of the '-interpreter-exec
5441         console' command, so that we can pass arguments with (say) quotes
5442         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
5444 2012-02-26  Chong Yidong  <cyd@gnu.org>
5446         * help-fns.el (describe-function-1): Clarify description of
5447         remapping (Bug#10844).
5449         * files.el (files-equal-p): Doc fix.
5450         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
5451         and quit the loop once a mismatch is found.
5453 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
5455         * bs.el (bs--show-with-configuration): Don't throw an error
5456         if the window cannot be split; otherwise, subsequent calls to
5457         bs-show fail, restoring a stale window config.  (Bug#10882)
5459 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
5461         * term/ns-win.el (global-map): Bind ns-drag-file to
5462         ns-find-file (Bug#5855, Bug#10050).
5464 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
5466         * calendar/parse-time.el (parse-time-string): Allow extractor to
5467         return nil.
5469 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
5471         * net/tramp.el (tramp-file-name-for-operation):
5472         Add `files-equal-p' and `file-subdir-of-p'.
5474         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5475         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5476         Add COPY-CONTENTS argument.
5478 2012-02-25  Chong Yidong  <cyd@gnu.org>
5480         Add custom groups for VC backends, for consistency with vc-bzr.
5482         * vc/vc-arch.el (vc-arch):
5483         * vc/vc-cvs.el (vc-cvs):
5484         * vc/vc-git.el (vc-git):
5485         * vc/vc-hg.el (vc-hg):
5486         * vc/vc-mtn.el (vc-mtn):
5487         * vc/vc-rcs.el (vc-rcs):
5488         * vc/vc-sccs.el (vc-sccs):
5489         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5490         All relevant defcustoms reassigned.
5492 2012-02-25  Chong Yidong  <cyd@gnu.org>
5494         * newcomment.el (comment-styles): Add autoload (Bug#10868).
5496         * term/x-win.el (x-initialize-window-system): Reduce default for
5497         x-selection-timeout to 5 seconds (Bug#8869).
5499 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5501         * files.el (files-equal-p, file-subdir-of-p): New functions.
5502         (copy-directory): Error when trying to copy a directory on itself.
5503         Add missing copy-contents arg to tramp handler.
5504         * dired-aux.el (dired-copy-file-recursive): Same.
5505         (dired-create-files): Modify destination when source is equal to
5506         dest when copying files.
5507         Return also when dest is a subdir of source.  (Bug#10489)
5509 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
5511         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5512         (Bug#10874)
5514 2012-02-23  Alan Mackenzie  <acm@muc.de>
5516         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5517         parameter "after-hook:" to allow the expansion to run code after
5518         the execution of the mode hooks.
5520         * font-lock.el (font-lock-initial-fontify): New function extracted
5521         from font-lock-mode-internal.
5523         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5524         :after-hook.
5526 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5528         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5529         (completion--cache-all-sorted-completions): New function.
5530         (completion-all-sorted-completions): Use it.
5531         (completion--do-completion, minibuffer-force-complete):
5532         Use it to re-instate the flush hook.
5534         * icomplete.el (icomplete-completions): Replace last fix with a better
5535         one (bug#10850).
5537 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
5539         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5540         when it might call us back infinitely (bug#10797).
5542 2012-02-23  Glenn Morris  <rgm@gnu.org>
5544         * minibuffer.el (completion-category-overrides): Doc fix.
5546 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5548         * minibuffer.el (completion-table-with-context): Fix inf-loop.
5549         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5551 2012-02-23  Glenn Morris  <rgm@gnu.org>
5553         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5554         (authors-obsolete-files-regexps, authors-ignored-files)
5555         (authors-ambiguous-files, authors-renamed-files-alist):
5556         Add more entries.
5558 2012-02-23  Juri Linkov  <juri@jurta.org>
5560         * isearch.el (isearch-occur): Sync interactive spec with occur's
5561         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
5563         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5565 2012-02-22  Juri Linkov  <juri@jurta.org>
5567         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5568         (ucs-insert): Doc fix.  Check for hex digits in the string.
5569         Don't display `nil' in the error message.  (Bug#10857)
5571 2012-02-22  Alan Mackenzie  <acm@muc.de>
5573         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5575 2012-02-22  Glenn Morris  <rgm@gnu.org>
5577         * ffap.el (ffap-c-path):
5578         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
5580 2012-02-22  Chong Yidong  <cyd@gnu.org>
5582         * custom.el (load-theme): Doc fix.
5584 2012-02-22  Glenn Morris  <rgm@gnu.org>
5586         * dired-x.el (dired-guess-shell-alist-default):
5587         Remove escape sequences from nroff output.  (Bug#172)
5589 2012-02-21  Glenn Morris  <rgm@gnu.org>
5591         * vc/emerge.el (emerge-defvar-local):
5592         Set `permanent-local' property rather than unused `preserved'.
5594         * textmodes/picture.el (picture-delete-char): New alias.
5595         (picture-mode-map): Use it.  (Bug#10860)
5596         (picture-mode): Doc fix.
5598 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
5600         * newcomment.el (uncomment-region-default): Remove unused binding.
5602 2012-02-21  Glenn Morris  <rgm@gnu.org>
5604         * textmodes/picture.el (picture-motion, picture-motion-reverse)
5605         (picture-self-insert, picture-tab-chars): Doc fix.
5606         (picture-mode-map): Fix C-a, C-e.
5608 2012-02-20  Glenn Morris  <rgm@gnu.org>
5610         * emacs-lisp/authors.el (authors-aliases): Add another entry.
5612 2012-02-20  Leo Liu  <sdl.web@gmail.com>
5614         * icomplete.el (icomplete-completions): Check FROM arg before
5615         passing to substring (Bug#10850).
5617 2012-02-19  Chong Yidong  <cyd@gnu.org>
5619         * comint.el: Require ansi-color.
5620         (comint-output-filter-functions): Add ansi-color-process-output.
5622         * ansi-color.el: Don't set comint-output-filter-functions; it is
5623         now in the initial value defined in comint.el.
5624         (ansi-color-apply-face-function): New variable.
5625         (ansi-color-apply-on-region): Use it.
5626         (ansi-color-apply-overlay-face): New function.
5628         * shell.el (shell): No need to require ansi-color.
5629         (shell-mode): Use ansi-color-apply-face-function to highlight
5630         color escapes using font-lock-face property (Bug#10835).
5632 2012-02-19  Chong Yidong  <cyd@gnu.org>
5634         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5635         mode-line formats (Bug#10839).
5637 2012-02-18  Glenn Morris  <rgm@gnu.org>
5639         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5641         * mail/undigest.el (unforward-rmail-message): Doc fix.
5643         * saveplace.el (save-place-ignore-files-regexp): Add :version.
5645 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
5647         * international/characters.el (script-list): Sync with the latest
5648         Unicode Character Database.
5650 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
5652         * international/titdic-cnv.el: Remove duplicate coding tag.
5653         * language/cham.el: Likewise.
5654         * language/tai-viet.el: Likewise.
5656 2012-02-18  Glenn Morris  <rgm@gnu.org>
5658         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5659         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5660         (calendar-bahai-all-holidays-flag, calendar-other-dates):
5661         * calendar/diary-lib.el (diary-abbreviated-year-flag):
5662         * calendar/holidays.el (holiday-bahai-holidays)
5663         (calendar-holidays, list-holidays):
5664         Use utf-8 Bahá'í in doc-strings, menus, etc.
5666 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
5668         * saveplace.el (save-place-ignore-files-regexp): New variable
5669         allowing for excluding files from saving their location of point.
5670         The default value matches the temporary commit message editing
5671         files from Git, SVN, Bazaar, and Mercurial.
5672         (save-place-to-alist): Use it.
5674 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
5675             Stefan Monnier  <monnier@iro.umontreal.ca>
5677         * newcomment.el (uncomment-region-default): Don't leave extra space
5678         when an arg is provided (bug#8150).
5680 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
5682         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5684 2012-02-17  Glenn Morris  <rgm@gnu.org>
5686         * net/socks.el: Require network-stream.  (Bug#10599)
5688 2012-02-17  Kenichi Handa  <handa@m17n.org>
5690         * international/charprop.el:
5691         * international/uni-name.el:
5692         * international/uni-old-name.el:
5693         * international/uni-comment.el: Regenerate.
5695 2012-02-16  Glenn Morris  <rgm@gnu.org>
5697         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5698         Interactively in calendar buffer, give an error if not on a date.
5700 2012-02-15  Glenn Morris  <rgm@gnu.org>
5702         * shell.el (shell-delimiter-argument-list):
5703         Revert 2011-02-17 change.  (Bug#8027)
5705 2012-02-15  Chong Yidong  <cyd@gnu.org>
5707         * minibuffer.el (completion-at-point-functions): Doc fix.
5709         * custom.el (defcustom): Doc fix; note use of defvar.
5711 2012-02-15  Glenn Morris  <rgm@gnu.org>
5713         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5714         Doc fixes.
5716 2012-02-14  Glenn Morris  <rgm@gnu.org>
5718         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5720 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
5722         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5723         way the ports list is computed.
5724         (smtpmail-query-smtp-server): Prompt the user for a port number if
5725         we can't connect to any of the standard ports (bug#10810).
5727 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
5729         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5731 2012-02-13  Glenn Morris  <rgm@gnu.org>
5733         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
5735 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
5737         * net/gnutls.el (gnutls-trustfiles): New variable.
5738         (gnutls-negotiate): Use it.
5740 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
5742         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5743         does its stuff if Gnus is running.
5745 2012-02-13  Alan Mackenzie  <acm@muc.de>
5747         Fix a loop in c-set-fl-decl-start.
5749         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5750         c-backward-syntactic-ws actually moves backwards.
5752 2012-02-13  Leo Liu  <sdl.web@gmail.com>
5754         * net/rcirc.el (rcirc-markup-attributes): Move point to the
5755         beginning so that all \C-o chars are removed.
5757 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
5759         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5761 2012-02-12  Alan Mackenzie  <acm@muc.de>
5763         Fix infinite loop with long macros.
5764         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5766 2012-02-12  Chong Yidong  <cyd@gnu.org>
5768         * window.el (display-buffer): Doc fix (Bug#10785).
5770 2012-02-12  Glenn Morris  <rgm@gnu.org>
5772         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5773         (x-disown-selection-internal, x-get-selection-internal):
5774         Sync docs with the xselect.c versions.
5776         * allout-widgets.el: Add missing license notice.
5778 2012-02-11  Glenn Morris  <rgm@gnu.org>
5780         * select.el (x-get-selection-internal, x-own-selection-internal)
5781         (x-disown-selection-internal):
5782         * x-dnd.el (x-get-selection-internal): Update declarations.
5784         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5786         * window.el (window-sides-slots):
5787         * tool-bar.el (tool-bar-position):
5788         * term/xterm.el (xterm-extra-capabilities):
5789         * ses.el (ses-self-reference-early-detection):
5790         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5791         (verilog-auto-wire-type)
5792         (verilog-auto-delete-trailing-whitespace)
5793         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5794         (verilog-auto-tieoff-declaration):
5795         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5796         (sql-oracle-statement-starters, sql-oracle-scan-on):
5797         * progmodes/prolog.el (prolog-align-comments-flag)
5798         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5799         (prolog-left-indent-regexp, prolog-paren-indent-p)
5800         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5801         (prolog-types, prolog-mode-specificators)
5802         (prolog-determinism-specificators, prolog-directives)
5803         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5804         (prolog-electric-dot-flag)
5805         (prolog-electric-dot-full-predicate-template)
5806         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5807         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5808         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5809         (prolog-program-switches, prolog-prompt-regexp)
5810         (prolog-debug-on-string, prolog-debug-off-string)
5811         (prolog-trace-on-string, prolog-trace-off-string)
5812         (prolog-zip-on-string, prolog-zip-off-string)
5813         (prolog-use-standard-consult-compile-method-flag)
5814         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5815         (prolog-imenu-max-lines, prolog-info-predicate-index)
5816         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5817         (prolog-char-quote-workaround):
5818         * progmodes/cc-vars.el (c-defun-tactic):
5819         * net/tramp.el (tramp-encoding-command-interactive)
5820         (tramp-local-end-of-line):
5821         * net/soap-client.el (soap-client):
5822         * net/netrc.el (netrc-file):
5823         * net/gnutls.el (gnutls):
5824         * minibuffer.el (completion-category-overrides)
5825         (completion-cycle-threshold)
5826         (completion-pcm-complete-word-inserts-delimiters):
5827         * man.el (Man-name-local-regexp):
5828         * mail/feedmail.el (feedmail-display-full-frame):
5829         * international/characters.el (glyphless-char-display-control):
5830         * eshell/em-ls.el (eshell-ls-date-format):
5831         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5832         (lisp-lambda-list-keyword-parameter-indentation)
5833         (lisp-lambda-list-keyword-parameter-alignment):
5834         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5835         * dired-x.el (dired-omit-verbose):
5836         * cus-theme.el (custom-theme-allow-multiple-selections):
5837         * calc/calc.el (calc-highlight-selections-with-faces)
5838         (calc-lu-field-reference, calc-lu-power-reference)
5839         (calc-note-threshold):
5840         * battery.el (battery-mode-line-limit):
5841         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5842         (archive-7z-update):
5843         * allout.el (allout-prefixed-keybindings)
5844         (allout-unprefixed-keybindings)
5845         (allout-inhibit-auto-fill-on-headline)
5846         (allout-flattened-numbering-abbreviation):
5847         * allout-widgets.el (allout-widgets-auto-activation)
5848         (allout-widgets-icons-dark-subdir)
5849         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5850         (allout-widgets-theme-dark-background)
5851         (allout-widgets-theme-light-background)
5852         (allout-widgets-item-image-properties-emacs)
5853         (allout-widgets-item-image-properties-xemacs)
5854         (allout-widgets-run-unit-tests-on-load)
5855         (allout-widgets-time-decoration-activity)
5856         (allout-widgets-hook-error-post-time)
5857         (allout-widgets-track-decoration):
5858         Add missing :version tags to new defcustoms and defgroups.
5860         * progmodes/sql.el (sql-ansi-statement-starters)
5861         (sql-oracle-statement-starters): Add custom type.
5863         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5864         (prolog-system-version): Give it a type.
5866 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
5868         * term/pc-win.el (x-select-text, x-selection-owner-p)
5869         (x-own-selection-internal, x-disown-selection-internal)
5870         (x-get-selection-internal): Sync doc strings and argument lists
5871         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
5873 2012-02-11  Leo Liu  <sdl.web@gmail.com>
5875         * progmodes/python.el (python-end-of-statement): Fix infinite
5876         loop.  (Bug#10788)
5878 2012-02-10  Glenn Morris  <rgm@gnu.org>
5880         * international/mule-cmds.el (unify-8859-on-encoding-mode)
5881         (unify-8859-on-decoding-mode): Properly mark as obsolete.
5883 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
5885         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5886         about SMTP before checking the From header.
5888         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5889         into own function for reuse by emacsbug.el.
5891 2012-02-10  Leo Liu  <sdl.web@gmail.com>
5893         * subr.el (condition-case-unless-debug): Rename from
5894         condition-case-no-debug.  All callers changed.
5895         (with-demoted-errors): Fix caller.
5897         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5898         * nxml/rng-valid.el (rng-do-some-validation):
5899         * emacs-lisp/package.el (package-refresh-contents)
5900         (package-menu-execute):
5901         * desktop.el (desktop-create-buffer):
5902         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5904 2012-02-10  Glenn Morris  <rgm@gnu.org>
5906         * textmodes/bibtex.el:
5907         Add missing :version tags for new/changed defcustoms.
5909         * files.el (remote-file-name-inhibit-cache): Doc fixes.
5911 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
5913         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5914         (smtpmail-via-smtp): Use it, or fall back on the From address.
5915         (smtpmail-send-it): Ditto.
5917 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5919         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5920         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
5921         (byte-compile-tmp-var): New const.
5922         (byte-compile-defvar): Use it to minimize .elc size.
5923         Just use `defvar' rather than simulate it (bug#10761).
5925 2012-02-09  Glenn Morris  <rgm@gnu.org>
5927         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
5929         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5930         Add :version tags.
5932         * progmodes/compile.el (compilation-error-screen-columns)
5933         (compilation-first-column, compilation-filter-start): Doc fixes.
5935         * vc/log-view.el (log-view-toggle-entry-display):
5936         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5938         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5939         (report-emacs-bug-can-use-xdg-email):
5940         (report-emacs-bug-insert-to-mailer): Doc fixes.
5941         (report-emacs-bug): Message fix.
5943         * net/browse-url.el (browse-url-can-use-xdg-open)
5944         (browse-url-xdg-open): Doc fixes.
5946         * electric.el (electric-indent-mode, electric-pair-mode)
5947         (electric-layout-rules, electric-layout-mode): Doc fixes.
5948         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5950 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
5952         * server.el (server-unselect-display): Don't inadvertently kill
5953         the current buffer.  (Bug#10729)
5955 2012-02-08  Glenn Morris  <rgm@gnu.org>
5957         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5958         (sql-list-table): Doc fixes.
5960         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5961         Comment out (does nothing).
5963         * completion.el (dynamic-completion-mode):
5964         * dirtrack.el (dirtrack-debug-mode):
5965         * electric.el (electric-layout-mode):
5966         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5967         * face-remap.el (text-scale-mode, buffer-face-mode):
5968         * iimage.el (iimage-mode):
5969         * image-mode.el (image-transform-mode):
5970         * minibuffer.el (completion-in-region-mode):
5971         * scroll-lock.el (scroll-lock-mode):
5972         * simple.el (next-error-follow-minor-mode):
5973         * tar-mode.el (tar-subfile-mode):
5974         * tooltip.el (tooltip-mode):
5975         * vcursor.el (vcursor-use-vcursor-map):
5976         * wid-browse.el (widget-minor-mode):
5977         * emulation/tpu-edt.el (tpu-edt-mode):
5978         * emulation/tpu-extras.el (tpu-cursor-free-mode):
5979         * international/iso-ascii.el (iso-ascii-mode):
5980         * language/thai-util.el (thai-word-mode):
5981         * mail/supercite.el (sc-minor-mode):
5982         * net/goto-addr.el (goto-address-mode):
5983         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5984         * progmodes/cwarn.el (cwarn-mode):
5985         * progmodes/flymake.el (flymake-mode):
5986         * progmodes/glasses.el (glasses-mode):
5987         * progmodes/hideshow.el (hs-minor-mode):
5988         * progmodes/pascal.el (pascal-outline-mode):
5989         * textmodes/enriched.el (enriched-mode):
5990         * vc/smerge-mode.el (smerge-mode):
5991         Doc fixes (minor mode argument).
5993 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
5995         * ls-lisp.el (ls-lisp-sanitize): New function.
5996         (ls-lisp-insert-directory): Use it to fix or remove any elements
5997         in file-alist with missing attributes.  (Bug#4673)
5999 2012-02-07  Alan Mackenzie  <acm@muc.de>
6001         Fix spurious recognition of c-in-knr-argdecl.
6003         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6004         putative K&R region.
6006 2012-02-07  Alan Mackenzie  <acm@muc.de>
6008         * progmodes/cc-engine.el (c-forward-objc-directive):
6009         Prevent looping in "#pragma mark @implementation".
6011 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
6013         * notifications.el (notifications-on-closed-signal): Make `reason'
6014         optional.  (Bug#10744)
6016 2012-02-07  Glenn Morris  <rgm@gnu.org>
6018         * emacs-lisp/easy-mmode.el (define-minor-mode):
6019         Doc fixes for the macro and the mode it defines.
6021         * image.el (imagemagick-types-inhibit): Doc fix.
6023         * cus-start.el (imagemagick-render-type): Add it.
6025 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
6027         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6028         Set the default at load time, too, so that `font-lock-fontify-buffer'
6029         can be called without setting up the entire mode first.  This fixes
6030         a bug in `mm-inline-text' with C MIME parts.
6032 2012-02-06  Chong Yidong  <cyd@gnu.org>
6034         * simple.el (list-processes--refresh): Delete exited processes
6035         (Bug#8094).
6037         * comint.el (comint-next-prompt): next-single-char-property-change
6038         and prev-single-char-property-change never return nil (Bug#8657).
6040         * custom.el (defcustom): Doc fix (Bug#9711).
6042 2012-02-05  Chong Yidong  <cyd@gnu.org>
6044         * cus-edit.el (custom-variable-reset-backup): Quote the value
6045         before storing it in the customized-value property (Bug#6712).
6046         (custom-display): Add a customization type tag.
6047         (custom-buffer-create-internal): Improve tooltip message.
6049         * wid-edit.el (widget-field-value-get): New optional arg to
6050         suppress trailing whitespace truncation.
6051         (character): Use it (Bug#2689).
6053 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
6055         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6056         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6058 2012-02-05  Chong Yidong  <cyd@gnu.org>
6060         * cus-edit.el (custom-variable-value-create): For mismatched
6061         types, show the current value (Bug#7600).
6063         * custom.el (defcustom): Doc fix.
6065 2012-02-05  Glenn Morris  <rgm@gnu.org>
6067         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6069 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
6071         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6072         (pp-buffer): Use `ignore-errors', `looking-at-p'.
6073         (pp-last-sexp): Use `looking-at-p'.
6075 2012-02-04  Glenn Morris  <rgm@gnu.org>
6077         * files.el (revert-buffer):
6078         Doc fix (mention revert-buffer-in-progress-p).
6080         * emacs-lisp/ert-x.el (ert-simulate-command):
6081         Check deferred-action-list (which is obsolete) is bound.
6083         * subr.el (with-wrapper-hook): Doc fixes.
6085         * simple.el (filter-buffer-substring-functions)
6086         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6088 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
6090         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6091         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
6093 2012-02-04  Leo Liu  <sdl.web@gmail.com>
6095         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6097 2012-02-04  Glenn Morris  <rgm@gnu.org>
6099         * image.el (image-extension-data): Add obsolete alias.
6101         * isearch.el (isearch-update): Doc fix.
6103         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6105         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6107 2012-02-03  Glenn Morris  <rgm@gnu.org>
6109         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
6110         (image-animate-timeout): Doc fix.
6112         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6114 2012-02-02  Glenn Morris  <rgm@gnu.org>
6116         * server.el (server-auth-dir): Doc fix.
6117         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
6119         * subr.el (run-mode-hooks): Doc fix.
6121 2012-02-02  Juri Linkov  <juri@jurta.org>
6123         * image-mode.el (image-toggle-display-image): Remove tautological
6124         `major-mode' from the `derived-mode-p' test.
6126 2012-02-02  Kenichi Handa  <handa@m17n.org>
6128         * composite.el (compose-region): Cancel previous change.
6130 2012-02-02  Kenichi Handa  <handa@m17n.org>
6132         * composite.el (compose-region, compose-string): Signal error for
6133         a null string component (Bug#6988).
6135 2012-02-01  Chong Yidong  <cyd@gnu.org>
6137         * view.el (view-buffer-other-window, view-buffer-other-frame):
6138         Handle special modes like view-buffer (Bug#10650).
6139         (view-buffer): Simplify.
6141         * frame.el (set-frame-font): Tweak meaning of third argument.
6143         * dynamic-setting.el (font-setting-change-default-font):
6144         Use set-frame-font (Bug#9982).
6146 2012-02-01  Glenn Morris  <rgm@gnu.org>
6148         * progmodes/compile.el (compilation-internal-error-properties):
6149         Respect compilation-first-column in the "*compilation*" buffer.
6151         * emacs-lisp/easy-mmode.el (define-minor-mode):
6152         Relax :variable's test for a named function.
6154 2012-01-31  Alan Mackenzie  <acm@muc.de>
6156         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6157         off by one error.
6159 2012-01-31  Chong Yidong  <cyd@gnu.org>
6161         * frame.el (set-frame-font): New arg ALL-FRAMES.
6163         * menu-bar.el (menu-set-font): Use set-frame-font.
6165         * faces.el (face-spec-reset-face): Don't apply unspecified
6166         attribute values to the default face.
6168 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
6170         * progmodes/cwarn.el (cwarn): Remove dead link.
6171         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6172         Remove * from defcustom docstrings.
6173         (turn-on-cwarn-mode): Make obsolete.
6174         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6175         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6177 2012-01-31  Glenn Morris  <rgm@gnu.org>
6179         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6180         Fix :variable handling of mode a symbol not equal to modefun.
6181         Allow named functions to be used as the cdr of :variable.
6183 2012-01-30  Glenn Morris  <rgm@gnu.org>
6185         * emacs-lisp/authors.el (authors-fixed-entries):
6186         Remove reference to deleted file rnewspost.el.
6188 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
6190         * window.el (window-with-parameter): Remove unused variable `windows'.
6191         (window--side-check): Remove unused variable `code'.
6192         (window--resize-siblings): Remove unused variable `first'.
6193         (adjust-window-trailing-edge): Remove unused variable `failed'.
6194         (window-deletable-p, window--delete): Remove unused variable `buffer'.
6195         Use `let', not `let*'.
6196         (balance-windows-2): Remove unused variable `found'.
6197         (window--state-put-2): Remove unused variable `splits'.
6198         (window-state-put): Remove unused variable `selected'.
6199         (same-window-p): Use `string-match-p'.
6200         (display-buffer-assq-regexp): Remove unused variable `value'.
6201         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6202         Mark argument ALIST as ignored.
6203         (pop-to-buffer): Remove unused variable `old-window'.
6205 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
6207         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6208         and .lzma compressed files.
6210 2012-01-29  Chong Yidong  <cyd@gnu.org>
6212         * frame.el (window-system-default-frame-alist): Doc fix.
6214         * dynamic-setting.el (font-setting-change-default-font): Don't
6215         change the default face if SET-FONT argument is non-nil (Bug#9982).
6217 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
6219         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6221 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
6223         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6224         breakpoints in files outside current directory (Bug#6098).
6226 2012-01-29  Chong Yidong  <cyd@gnu.org>
6228         * progmodes/python.el: Require ansi-color at top-level.
6230         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6231         Define and use in Emacs Lisp mode (Bug#9360).
6232         (lisp-mode-abbrev-table): Add doc.
6233         (lisp-mode-variables): Don't set local-abbrev-table.
6234         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6236 2012-01-28  Roland Winkler  <winkler@gnu.org>
6238         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6240 2012-01-28  Roland Winkler  <winkler@gnu.org>
6242         * textmodes/bibtex.el (bibtex-entry-alist): New function.
6243         (bibtex-set-dialect): Use it.  Either set global values of
6244         dialect-dependent variables or bind these variables buffer-locally
6245         (Bug#10254).
6246         (bibtex-mode): Call bibtex-set-dialect via
6247         hack-local-variables-hook.
6248         (bibtex-dialect): Update docstring.
6249         Add safe-local-variable predicate.
6250         (bibtex-entry-alist, bibtex-field-alist): Initialize via
6251         bibtex-set-dialect.
6252         (bibtex-mode-map): Define menu for each dialect.
6253         (bibtex-entry): Fix docstring.
6255 2012-01-28  Chong Yidong  <cyd@gnu.org>
6257         * eshell/esh-arg.el (eshell-quote-argument): New function.
6259         * eshell/esh-ext.el (eshell-invoke-batch-file):
6260         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6261         first arg to eshell-parse-command (Bug#10523).
6263 2012-01-28  Drew Adams  <drew.adams@oracle.com>
6265         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6266         `default-directory' is non-nil.
6268 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
6270         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6271         line that displays system-configuration-options.  (Bug#9924)
6273 2012-01-28  Drew Adams  <drew.adams@oracle.com>
6275         * descr-text.el (describe-char): Show information about POS, in
6276         addition to information about the character at POS.  Improve and
6277         update the doc string.  Change "code point" to "code point in
6278         charset", to avoid confusion with the character's Unicode code
6279         point shown above that.  (Bug#10129)
6281 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
6283         * descr-text.el (describe-char): Show the raw character, not only
6284         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
6285         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6286         for the reasons.
6288 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
6290         * emacs-lisp/package.el (package-install):
6291         Run package-refresh-contents if there is no archive yet (Bug#9798).
6293 2012-01-28  Chong Yidong  <cyd@gnu.org>
6295         * emacs-lisp/package.el (package-maybe-load-descriptor):
6296         New function, split from package-maybe-load-descriptor.
6297         (package-maybe-load-descriptor): Use it.
6298         (package-download-transaction): Fully load required packages
6299         inside the loop, so that `require' calls work (Bug#10593).
6300         (package-install): No need to call package-initialize now.
6302 2012-01-28  Chong Yidong  <cyd@gnu.org>
6304         * simple.el (deactivate-mark): Doc fix (Bug#8614).
6306         * tooltip.el (tooltip-mode): Doc fix.
6307         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6309         * frame.el (set-cursor-color): Doc fix (Bug#352).
6311         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6312         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6314         * cus-edit.el (custom-buffer-create-internal): Fix search button
6315         action (Bug#10542).
6316         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6318 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
6320         * dired.el (dired-mark-files-regexp):
6321         Include any subdirectory components.  (Bug#10445)
6323 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
6325         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6326         Handle [host]:port syntax.  (Bug#10533)
6328 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
6330         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6332 2012-01-26  Glenn Morris  <rgm@gnu.org>
6334         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6335         * term.el (term-raw-escape-map): Use Control-X-prefix.
6336         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
6338 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
6340         * window.el (window-state-get, window--state-get-1): Don't deal
6341         with fixed-sizeness of windows.  Simplify code.
6343 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
6345         * window.el (window--state-get-1, window--state-put-2):
6346         Don't save and restore the mark.
6348 2012-01-25  Chong Yidong  <cyd@gnu.org>
6350         * custom.el (custom-variable-p): Doc fix.
6352 2012-01-25  Glenn Morris  <rgm@gnu.org>
6354         * dired.el (dired-goto-file): Handle some of the more common
6355         characters that `ls -b' escapes.  (Bug#10596)
6357         * progmodes/compile.el (compilation-next-error-function):
6358         Respect compilation-first-column in the "*compilation*" buffer.
6359         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
6361         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
6363 2012-01-24  Glenn Morris  <rgm@gnu.org>
6365         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
6367 2012-01-24  Julien Danjou  <julien@danjou.info>
6369         * color.el (color-rgb-to-hsl): Fix value computing.
6370         (color-hue-to-rgb): New function.
6371         (color-hsl-to-rgb): New function.
6372         (color-clamp, color-saturate-hsl, color-saturate-name)
6373         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6374         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6376 2012-01-24  Glenn Morris  <rgm@gnu.org>
6378         * vc/vc-rcs.el (vc-rcs-create-tag):
6379         * vc/vc-sccs.el (vc-sccs-create-tag):
6380         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
6382 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
6384         * eshell/esh-util.el (eshell-read-hosts-file):
6385         Skip comment lines.  (Bug#10549)
6387         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
6389 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
6391         * subr.el (display-delayed-warnings): Doc fix.
6392         (collapse-delayed-warnings): New function to collapse identical
6393         adjacent warnings.
6394         (delayed-warnings-hook): Add it.
6396 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
6398         * net/tramp.el (tramp-action-login): Set connection property "login-as".
6400         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6401         (tramp-default-user-alist): Don't add "pscp".
6402         (tramp-do-copy-or-rename-file-out-of-band): Use connection
6403         property "login-as", if set.  (Bug#10530)
6405 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
6407         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6408         "plink1" and "psftp".  (Bug#10530)
6410 2012-01-21  Kenichi Handa  <handa@m17n.org>
6412         * international/mule-cmds.el (prefer-coding-system): Show a
6413         warning message if the default value of file-name-coding-system
6414         was not changed.
6416 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
6418         * windmove.el (windmove-reference-loc):
6419         Fix windmove-reference-loc miscalculation.
6421 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
6423         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6424         default unit.
6426 2012-01-21  Glenn Morris  <rgm@gnu.org>
6428         * international/mule.el (auto-coding-alist): Add .tbz.
6430         * files.el (local-enable-local-variables): Doc fix.
6431         (inhibit-local-variables-regexps): Rename from
6432         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
6433         Doc fix.  Add some extensions from auto-coding-alist.
6434         (inhibit-local-variables-suffixes):
6435         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
6436         (inhibit-local-variables-p):
6437         New function, extracted from set-auto-mode-1.
6438         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
6439         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
6440         (hack-local-variables): Doc fix.  Make the mode-only case
6441         respect enable-local-variables and friends.
6442         Respect inhibit-local-variables-regexps for file-locals, but
6443         not for directory-locals.
6444         (set-visited-file-name):
6445         Take account of inhibit-local-variables-regexps.
6446         Whether it applies may change as the file name is changed.
6447         * jka-cmpr-hook.el (jka-compr-install):
6448         * jka-compr.el (jka-compr-uninstall):
6449         Update for inhibit-first-line-modes-suffixes name change.
6451 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
6453         * help-macro.el (make-help-screen): Temporarily restore original
6454         binding for minor-mode-map-alist (Bug#10454).
6456 2012-01-19  Julien Danjou  <julien@danjou.info>
6458         * color.el (color-name-to-rgb): Use the white color to find the max
6459         color component value and return correctly computed values.
6460         (color-name-to-rgb): Add missing float conversion for max value.
6462 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
6464         * window.el (window--state-get-1, window-state-get): Do not use
6465         special state value for window-persistent-parameters.
6466         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
6467         (window--state-put-2): Reset all window parameters to nil before
6468         assigning values of persistent parameters.
6470 2012-01-18  Alan Mackenzie  <acm@muc.de>
6472         Eliminate sluggishness and hangs in fontification of "semicolon
6473         deserts".
6475         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6476         Change value 10000 -> 3000.
6477         (c-state-safe-place): Reformulate so it doesn't stack up an
6478         infinite number of wrong entries in c-state-nonlit-pos-cache.
6479         (c-determine-limit-get-base, c-determine-limit): New functions to
6480         determine backward search limits disregarding literals.
6481         (c-find-decl-spots): Amend commenting.
6482         (c-cheap-inside-bracelist-p): New function which detects "={".
6484         * progmodes/cc-fonts.el
6485         (c-make-font-lock-BO-decl-search-function): Give a limit to a
6486         backward search.
6487         (c-font-lock-declarations): Fix an occurrence of point being
6488         undefined.  Check additionally for point being in a bracelist or
6489         near a macro invocation without a semicolon so as to avoid a
6490         fruitless time consuming search for a declarator.  Give a more
6491         precise search limit for declarators using the new
6492         c-determine-limit.
6494 2012-01-18  Glenn Morris  <rgm@gnu.org>
6496         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6497         (set-auto-mode): Doc fixes.
6499 2012-01-17  Glenn Morris  <rgm@gnu.org>
6501         * isearch.el (search-nonincremental-instead): Fix doc typo.
6503         * dired.el (dired-insert-directory): Handle newlines in directory name.
6504         (dired-build-subdir-alist): Unescape newlines in directory name.
6506 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
6508         * net/tramp.el (tramp-local-end-of-line): New defcustom.
6509         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6510         (tramp-action-terminal): Use it.  (Bug#10530)
6512 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6514         * minibuffer.el (completion--replace): Strip properties (bug#10062).
6516 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
6518         * window.el (window-state-ignored-parameters): Remove variable.
6519         (window--state-get-1): Rename argument MARKERS to IGNORE.
6520         Handle persistent window parameters.  Make copy of clone-of
6521         parameter only if requested.  (Bug#10348)
6522         (window--state-put-2): Install a window parameter only if it has
6523         a non-nil value or an existing parameter shall be overwritten.
6525 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
6527         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6529 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
6531         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6532         don't pass the (nil) value of `upnode' to string-match.
6534 2012-01-14  Chong Yidong  <cyd@gnu.org>
6536         * startup.el (command-line): Fix X resource class for cursorColor.
6537         Fix values recognized by the cursorBlink resource.
6539 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
6541         * epg.el (epg--make-temp-file): Avoid permission race condition
6542         when running on old Emacs versions (bug#10403).
6544 2012-01-14  Glenn Morris  <rgm@gnu.org>
6546         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6548 2012-01-13  Alan Mackenzie  <acm@muc.de>
6550         Fix filling for when filladapt mode is enabled.
6552         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6553         c-mask-paragraph, pass in `fill-paragraph' rather than
6554         `fill-region-as-paragraph'.  (This is a reversion of a previous
6555         change.)
6556         * progmodes/cc-mode.el (c-basic-common-init):
6557         Make fill-paragraph-handle-comment buffer local and set it to nil.
6559 2012-01-13  Glenn Morris  <rgm@gnu.org>
6561         * dired.el (dired-switches-escape-p): New function.
6562         (dired-insert-directory): Use dired-switches-escape-p.
6563         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
6565         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
6567 2012-01-12  Glenn Morris  <rgm@gnu.org>
6569         * mail/sendmail.el (mail-mode): Update paragraph-separate for
6570         changes in adaptive-fill-regexp.  (Bug#10276)
6572 2012-01-11  Alan Mackenzie  <acm@muc.de>
6574         Fix Emacs bug #10463 - put `widen's around the critical spots.
6576         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6577         widen around each invocation of c-state-pp-to-literal.  Remove an
6578         unused let variable.
6580 2012-01-11  Glenn Morris  <rgm@gnu.org>
6582         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
6583         Doc fix.
6585 2012-01-10  Chong Yidong  <cyd@gnu.org>
6587         * net/network-stream.el (network-stream-open-starttls):
6588         Avoid emitting a confusing error message when the server gives a bad
6589         response to the capability command.
6591 2012-01-10  Glenn Morris  <rgm@gnu.org>
6593         * mail/unrmail.el (unrmail): Tweak previous change.
6595 2012-01-09  Chong Yidong  <cyd@gnu.org>
6597         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6599 2012-01-08  Alan Mackenzie  <acm@muc.de>
6601         Optimise font locking in long enum definitions.
6603         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6604         arm to a cond form to handle enums.
6605         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6606         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6608 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6610         * files.el (move-file-to-trash): Preserve default file modes on error.
6611         (Bug#10401)
6613 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6615         * faces.el (set-face-attribute): Clarify the meaning of the nil
6616         frame (bug#10294).
6618         * subr.el (with-selected-frame): Mention that the selected frame
6619         is restored (bug#9980).
6621         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6622         (bug#9759).
6624         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6625         (password-read): Don't autoload unused function.
6627 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
6629         * progmodes/which-func.el (which-func-mode): Turn into a
6630         non-interactive function and mark as obsolete (bug#10428).
6632 2012-01-06  Chong Yidong  <cyd@gnu.org>
6634         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6635         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6636         functions, along with 1 and -1.
6638 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
6640         * time.el (display-time-load-average)
6641         (display-time-default-load-average): Doc fixes.  See the thread
6642         starting at
6643         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6644         for the details.
6646 2012-01-06  Glenn Morris  <rgm@gnu.org>
6648         * mail/unrmail.el (unrmail): Give an explicit error if the input file
6649         has no messages.  (Bug#10377)
6651         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6652         than Info-edit.  (Bug#10385)
6654         * time.el (display-time-load-average, display-time-next-load-average):
6655         Doc fixes.
6657         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6658         local setting of buffer-read-only to the input buffer.  (Bug#10419)
6660         * calendar/calendar.el (calendar-mode):
6661         Locally set scroll-margin to 0.  (Bug#10379)
6663 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
6665         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
6667 2012-01-05  Glenn Morris  <rgm@gnu.org>
6669         * eshell/em-unix.el (diff-no-select): Autoload it.
6670         (eshell/diff): Use diff-no-select.  (Bug#10420)
6672 2012-01-05  Chong Yidong  <cyd@gnu.org>
6674         * shell.el (shell-dynamic-complete-functions): Revert last change.
6675         (shell-command-completion-function): New function.
6676         (shell-completion-vars): Use it to implement
6677         shell-completion-execonly (Bug#10417).
6679         * custom.el (enable-theme): Don't set custom-safe-themes.
6681         * cus-theme.el (custom-theme-merge-theme):
6682         Ignore custom-enabled-themes and custom-safe-themes.
6684 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
6686         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6687         first prompt in `sql-interacive-mode'.
6688         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6689         keywords.
6690         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6691         (sql-product-interactive): Bug fix: Set `sql-buffer' in
6692         context of original buffer.  Invoke `sql-login-hook'.
6694 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
6696         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6697         letters in cite-prefix.
6699 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6701         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6703 2012-01-03  Chong Yidong  <cyd@gnu.org>
6705         * shell.el (shell-dynamic-complete-functions):
6706         Put pcomplete-completions-at-point, so as to try
6707         comint-filename-completion first (Bug#10417).
6709 2012-01-02  Richard Stallman  <rms@gnu.org>
6711         * battery.el (battery-status-function):
6712         Detect when to use battery-yeeloong-sysfs.
6713         (battery-echo-area-format): Add string for Yeeloong.
6714         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6715         (battery-yeeloong-sysfs): New function.
6717 2012-01-02  Chong Yidong  <cyd@gnu.org>
6719         * dirtrack.el (dirtrack-list): Eliminate unused third element.
6720         (dirtrack): Merge code for handling relative filenames in prompt
6721         from shell-dir-cookie-watcher.
6722         (dirtrack-debug-message): New arg to avoid excess format calls.
6724         * shell.el (shell-dir-cookie-re): Variable deleted.
6725         (shell-dir-cookie-watcher): Function deleted.
6726         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6727         with dirtrack-mode.
6729 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
6731         * term/w32-win.el (dynamic-library-alist) <gnutls>:
6732         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6733         libgnutls-26.dll.
6735 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
6737         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6739 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
6741         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6742         headers of non-MIME messages, when rmail-enable-mime is non-nil.
6744 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
6746         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6747         also for alternative shells.
6748         (tramp-open-connection-setup-interactive-shell): Check, whether
6749         the shell is a busybox.
6750         (tramp-send-command): Don't suppress multiple prompts for
6751         busyboxes, it hurts.
6753 2011-12-28  Chong Yidong  <cyd@gnu.org>
6755         * progmodes/gdb-mi.el (gdb-get-source-file-list)
6756         (gdb-get-source-file): Move mode line update to
6757         gdb-get-source-file (Bug#10087).
6759 2011-12-25  Chong Yidong  <cyd@gnu.org>
6761         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6762         gud-gdb-marker-filter without taking it as an argument.
6763         (gud-gdb-run-command-fetch-lines): Caller changed.
6764         (gud-gdb-completion-function): New variable.
6765         (gud-gdb-completion-at-point): Use it.
6766         (gud-gdb-completions-1): Split from gud-gdb-completions.
6768         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6769         function as separate arguments.
6770         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6771         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6772         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6773         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6774         (gdb-stopped, def-gdb-auto-update-trigger)
6775         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6776         (gdb-get-changed-registers, gdb-get-main-selected-frame):
6777         Callers changed.
6778         (gud-gdbmi-completions): New function.
6779         (gdb): Use it for generating the completion table.
6781 2011-12-24  Alan Mackenzie  <acm@muc.de>
6783         Introduce a mechanism to widen the region used in context font
6784         locking.  Use this to protect declarations from losing their contexts.
6786         * progmodes/cc-langs.el (c-before-font-lock-functions):
6787         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6788         (c-before-context-fontification-functions): New defvar, a list of
6789         functions to be run just before context (etc.) font locking.
6791         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6792         New, functionality extracted from
6793         c-neutralize-syntax-in-and-mark-CPP.
6794         (c-in-after-change-fontification): New variable.
6795         (c-after-change): Set c-in-after-change-fontification.
6796         (c-set-fl-decl-start): Rejig its interface, so it can be called
6797         from both after-change and context fontifying.
6798         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6799         New functions.
6800         (c-standard-font-lock-fontify-region-function): New variable.
6801         (c-font-lock-fontify-region): New function.
6803 2011-12-24  Juri Linkov  <juri@jurta.org>
6805         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6806         (Bug#10348)
6808 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
6810         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6811         existence of source file.  (Bug#10325)
6813 2011-12-23  Alan Mackenzie  <acm@muc.de>
6815         Fix unstable fontification inside templates.
6817         * progmodes/cc-langs.el (c-before-font-lock-functions):
6818         Newly created from the singular version.  The (c c++ objc) entry now
6819         additionally has c-set-fl-decl-start.  The other languages (apart
6820         from AWK) have that as a single entry.
6822         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6823         The functionality for "local" declarations has been extracted to
6824         c-set-fl-decl-start.
6826         * progmodes/cc-mode.el (c-common-init, c-after-change):
6827         Changes due to pluralisation of c-before-font-lock-functions.
6828         (c-set-fl-decl-start): New function, extracted from
6829         c-font-lock-enclosing-decls and enhanced.
6831 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
6833         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6835 2011-12-22  Juri Linkov  <juri@jurta.org>
6837         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
6839 2011-12-22  Chong Yidong  <cyd@gnu.org>
6841         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6843 2011-12-21  Drew Adams  <drew.adams@oracle.com>
6845         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
6847 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
6849         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6851 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
6853         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
6854         highlighting and support.  Fix up comments for capitalization.
6855         (cfengine-mode-debug): New var.
6856         (cfengine3-mode): Change the modeline indicator to "CFE3".
6857         (cfengine3-font-lock-keywords): Improve defun highlighting.
6858         (cfengine2-actions): Rename from `cfengine-actions'.
6859         (cfengine2-font-lock-keywords): Rename from
6860         `cfengine-font-lock-keywords'.
6861         (cfengine2-imenu-expression): Rename from
6862         `cfengine-imenu-expression'.
6863         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6864         (cfengine2-beginning-of-defun): Rename from
6865         `cfengine-beginning-of-defun'.
6866         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6867         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6868         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
6869         modeline indicator to "CFE2".
6870         (cfengine-mode): Defalias to `cfengine-auto-mode'.
6871         (cfengine-mode-abbrevs): Mark obsolete.
6873 2011-12-21  Chong Yidong  <cyd@gnu.org>
6875         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6876         filename argument.
6878 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
6880         * window.el (window-normalize-buffer-to-display): Remove.
6881         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6883 2011-12-19  Chong Yidong  <cyd@gnu.org>
6885         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6886         Don't signal an error in a predicate function; return non-nil.
6887         (vc-dir-mark-file): Move the error here.
6888         (vc-dir-mark-unmark): If acting on the region, keep going if one
6889         of the entries cannot be marked/unmarked.
6890         (vc-dir-mark-all-files): If current entry is a directory, mark
6891         only child files, as documented.
6893 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6895         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6896         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6897         addition.
6899 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
6901         * term/ns-win.el (ns-get-selection-internal)
6902         (ns-store-selection-internal): Declare.
6903         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6904         Declare as obsolete.
6905         (ns-get-pasteboard, ns-paste-secondary):
6906         Use ns-get-selection-internal.
6907         (ns-set-pasteboard,  ns-copy-including-secondary):
6908         Use ns-store-selection-internal.
6910 2011-12-17  Chong Yidong  <cyd@gnu.org>
6912         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6913         (vc-deduce-fileset): Doc fix.
6915 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
6917         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6919 2011-12-13  Sam Steingold  <sds@gnu.org>
6921         * man.el (Man-getpage-in-background): When running under a
6922         window-system, ignore $MANWIDTH and $COLUMNS.
6924 2011-12-15  Kenichi Handa  <handa@m17n.org>
6926         * language/ethio-util.el: Change coding tag to utf-8-emacs.
6927         (setup-ethiopic-environment-internal): Comment out key-binding for
6928         ethio-toggle-punctuation.
6930 2011-12-13  Alan Mackenzie  <acm@muc.de>
6932         Add the switch statement to AWK Mode.
6934         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6935         "default" to the keywords regexp.
6937         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6938         expression as the rest.
6939         (c-nonlabel-token-key): Allow string literals for AWK.
6940         Refactor for the other modes.
6942         Large brace-block initialisation makes CC Mode slow: Fix.
6943         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6944         routines.  Limit backward searching in c-font-lock-enclosing.decl.
6946         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6947         pp-state and literal type in addition to the limits.
6948         (c-state-safe-place): New defun, extracted from c-state-literal-at.
6949         (c-state-literal-at): Use the above new defun.
6950         (c-slow-in-literal, c-fast-in-literal): Remove.
6951         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6953         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6954         being in a literal.  Add a limit for backward searching.
6956         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6957         c-slow-in-literal.
6959 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6961         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6963 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
6965         * window.el (delete-other-windows): Use correct frame in call to
6966         window-with-parameter.
6968 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
6970         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6971         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6972         (makefile-gmake-statements, makefile-makepp-statements):
6973         Use it and add new makepp keywords.
6974         (makefile-makepp-font-lock-keywords): Add new patterns.
6975         (makefile-match-function-end): Match new [...] and [[...]].
6977 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
6979         * ses.el (ses-call-printer-return, ses-cell-property-get)
6980         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6981         (ses-create-cell-variable, ses-reset-header-string)
6982         (ses-cell-set-formula, ses-repair-cell-reference-all)
6983         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6984         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6985         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6986         (ses-aset-with-undo, ses-load, ses-truncate-cell)
6987         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6988         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6989         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6990         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6991         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6992         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6993         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6994         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6996 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6998         * ses.el: The overall change is to add cell renaming, that is
6999         setting fancy names for cell symbols other than name matching
7000         "\\`[A-Z]+[0-9]+\\'" regexp .
7001         (ses-create-cell-variable): New defun.
7002         (ses-relocate-formula): Relocate formulas only for cells the
7003         symbols of which are not renamed, i.e. symbols whose names do not
7004         match regexp "\\`[A-Z]+[0-9]+\\'".
7005         (ses-relocate-all): Relocate values only for cells the symbols of
7006         which are not renamed.
7007         (ses-load): Create cells variables as the (ses-cell ...) are read,
7008         in order to check row col consistency with cell symbol name only
7009         for cells that are not renamed.
7010         (ses-replace-name-in-formula): New defun.
7011         (ses-rename-cell): New defun.
7013 2011-12-11  Chong Yidong  <cyd@gnu.org>
7015         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7016         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7018 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
7020         * window.el (other-window): Fix docstring.
7022 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
7024         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7025         `from' or `to' address before taking its substring.
7026         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7027         encoded name is chopped in the middle of the encoded string, and
7028         thus displayed encoded.
7030 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
7032         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7034 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
7036         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
7037         to use texinfo-update-node and commands that call it if the
7038         Texinfo file uses @node lines without next/prev/up pointers.
7039         Correct outdated description about texinfo-master-menu.
7040         (texinfo-all-menus-update, texinfo-master-menu)
7041         (texinfo-update-node, texinfo-every-node-update)
7042         (texinfo-multiple-files-update): Doc fix.  Warn against updating
7043         all the @node lines.
7044         (texinfo-master-menu): Only call texinfo-update-node if the prefix
7045         argument is numeric.  Explain better in the doc string what the
7046         function really does.
7047         (texinfo-insert-master-menu-list): Improve the error message
7048         displayed if there's no menu in the Top node.
7049         (Bug#2975)  See also this thread:
7050         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7052 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
7054         * speedbar.el (speedbar-supported-extension-expressions):
7055         Add .adb and .ads, commonly used for Ada source code (bug#10256).
7057 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
7059         * printing.el (pr-mode-alist):
7060         * simple.el (filter-buffer-substring-functions)
7061         (completion-list-insert-choice-function):
7062         * window.el (window-with-parameter, window-atom-root)
7063         (window-sides-slots, window-size-fixed, window-min-delta)
7064         (window-max-delta, window--resize-mini-window)
7065         (window--resize-child-windows-normal, window-tree)
7066         (delete-other-windows, quit-window, split-window)
7067         (display-buffer-record-window, special-display-buffer-names)
7068         (special-display-regexps, special-display-popup-frame)
7069         (same-window-p, split-window-sensibly)
7070         (display-buffer-overriding-action, display-buffer-alist)
7071         (display-buffer-base-action, display-buffer, switch-to-buffer)
7072         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7073         (fit-window-to-buffer, recenter-positions)
7074         (mouse-autoselect-window-state, mouse-autoselect-window-select):
7075         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7076         and remove unneeded backslashes in docstrings.
7078 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7080         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7082         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7083         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7084         end in ".mk".
7085         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7086         when reading the makefile (bug#10116).
7088 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7090         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7091         (bug#10116).
7093 2011-12-06  Glenn Morris  <rgm@gnu.org>
7095         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7097 2011-12-06  Chong Yidong  <cyd@gnu.org>
7099         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7101 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
7103         * textmodes/table.el (table-shorten-cell): Fix typo.
7105 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
7107         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7109 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
7111         * descr-text.el (describe-char): Fix display of strong
7112         right-to-left characters and directional embeddings and overrides.
7114         * simple.el (what-cursor-position): Fix display of codepoints of
7115         strong right-to-left characters.
7117 2011-12-05  Chong Yidong  <cyd@gnu.org>
7119         * faces.el (read-color): Doc fix.
7121 2011-12-05  Glenn Morris  <rgm@gnu.org>
7123         * align.el (align--set-marker): Add doc-string.
7124         Don't try to move something that is not a marker.  (Bug#10216)
7126 2011-12-04  Glenn Morris  <rgm@gnu.org>
7128         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7129         overly zealous deletion of trailing whitespace.
7131 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
7133         * server.el (server-delete-client): On Windows, do not try to delete
7134         the only terminal.
7135         (server-process-filter): On Windows, treat requests for a tty frame as
7136         if they were for a GUI frame if the running server is in GUI mode.
7138 2011-12-03  Glenn Morris  <rgm@gnu.org>
7140         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
7142 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7144         * electric.el: Streamline electric-indent's hook.
7145         (electric-indent-chars): Revert to simple list.
7146         (electric-indent-functions): New var.
7147         (electric-indent-post-self-insert-function): Use it.
7149         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7150         there's no inferior buffer (bug#10196).
7151         (prolog-consult-compile): Don't use toggle-read-only.
7153 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
7155         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7156         interrupt.  (Bug#10187)
7158 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7160         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7161         (bug#9160).
7163         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7164         (bug#10191).
7166 2011-12-02  Juri Linkov  <juri@jurta.org>
7168         * info.el (Info-search): Display "end of manual" when Isearch
7169         reaches the end of single-file Info manual.  (Bug#9918)
7171 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
7173         * isearch.el (isearch-message-prefix): Run the input method part
7174         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
7176 2011-12-02  Juri Linkov  <juri@jurta.org>
7178         * isearch.el (isearch-occur): Use `word-search-regexp' for
7179         `isearch-word'.
7180         (isearch-search-and-update): Add condition for `isearch-word' and
7181         call `word-search-regexp'.  (Bug#10145)
7183 2011-12-01  Glenn Morris  <rgm@gnu.org>
7185         * eshell/em-hist.el (eshell-hist-initialize):
7186         Handle eshell-history-size nil and HISTSIZE set or unset.
7187         (eshell-history-file-name, eshell-history-size): Fix custom type.
7189 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7191         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7193 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
7195         * progmodes/verilog-mode.el (verilog-pretty-expr):
7196         Rework verilog-pretty-expr to handle new assignment operators in system
7197         verilog, such as += *= and the like.
7198         (verilog-assignment-operator-re): Regular expression to find the
7199         assigment operator in a verilog assignment.
7200         (verilog-assignment-operation-re): Regular expression to find an
7201         assignment statement for pretty-expr.
7202         (verilog-in-attribute-p): Query returns true if point is in an
7203         attribute context; used to skip these for expression line up from
7204         pretty-expr.
7205         (verilog-in-parameter-p): Query returns true if point is in an
7206         parameter definition context; used to skip these for expression
7207         line up from pretty-expr.
7208         (verilog-in-parenthesis-p): Query returns true if point is in a
7209         parenthetical expression, specifically ( ) but not [ ] or { };
7210         used by pretty-expr.
7211         (verilog-just-one-space): If there is no space, don't add one.
7212         (verilog-get-lineup-indent-2): Specifically skip just attribute
7213         contexts for expression lineup, rather than skipping all
7214         parenthetical expressions.
7215         (verilog-calculate-indent): Fix comment, and fix indent.
7216         (verilog-do-indent): Indent declarations in lists (suggested by
7217         Joachim Lechner).
7218         (verilog-mode-abbrev-table): Populate abbrev mode with the various
7219         skeleton items.
7220         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7221         by Alain Mellan).
7223 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
7225         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7226         parameters with embedded comments.  Reported by Ray Stevens.
7227         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7228         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7229         Reported by Tim Holt.
7230         (verilog-auto): Fix AUTOing a upper module then AUTOing module
7231         instantiated by upper module causing wrong expansion until AUTOed a
7232         second time.  Reported by K C Buckenmaier.
7233         (verilog-diff-auto): Fix showing .* as a difference when
7234         `verilog-auto-star-save' off.  Reported by Dan Dever.
7235         (verilog-auto-reset, verilog-read-always-signals)
7236         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7237         temporary signals in reset list if
7238         verilog-auto-reset-blocking-in-non is nil, and match assignment
7239         style to each signal's assignment type, bug381.
7240         Reported by Thomas Esposito.
7241         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7242         (verilog-uvm-statement-re): Support UVM indentation and
7243         highlighting, with old OVM keywords only.
7244         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7245         Support AUTOTIEOFF creating non-wire data types.
7246         Suggested by Jonathan Greenlaw.
7247         (verilog-auto-insert-lisp, verilog-delete-to-paren)
7248         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7249         (verilog-inject-sense, verilog-read-inst-pins)
7250         (verilog-read-sub-decls, verilog-read-sub-decls-line):
7251         Fix mismatching parenthesis inside commented out code when deleting
7252         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
7253         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7254         non-numeric vector width.  Reported by Alex Reed.
7255         (verilog-auto-ascii-enum): Add "onehot" option to work around not
7256         detecting signals with parameter widths.  Reported by Alex Reed.
7257         (verilog-auto-delete-trailing-whitespace):
7258         With `verilog-auto-delete-trailing-whitespace' remove trailing
7259         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
7260         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7261         Fix verilog-scan-cache corruption when running user AUTO expansion
7262         hooks that call indentation routines.
7263         (verilog-simplify-range-expression): Fix typo ignoring lower case
7264         identifiers.
7265         (verilog-delete-auto): Fix delete-autos to also remove user created
7266         automatics, as long as they start with AUTO.
7267         (verilog-batch-diff-auto, verilog-diff-auto)
7268         (verilog-diff-function): Add `verilog-diff-auto' and bind to
7269         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
7270         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7271         (verilog-in-paren-quick, verilog-re-search-backward-quick)
7272         (verilog-re-search-forward-quick, verilog-syntax-ppss):
7273         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7274         is disabled and its cache will get corrupt, causing AUTOS not to
7275         expand.  Instead use only -quick functions.
7276         (verilog-scan-region): Fix scanning over escaped quotes.
7277         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7278         (verilog-re-search-backward-quick)
7279         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7280         related functions now ignore strings, to fix misparsing of strings
7281         with magic comments embedded in them.
7282         (verilog-read-auto-template):
7283         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7284         Reported by Brad Dobbie.
7285         (verilog-read-auto-template):
7286         Fix 'verilog-auto-inst-template-numbers' with comments.
7287         Reported by Brad Dobbie.
7288         (verilog-auto-inst, verilog-auto-inst-param)
7289         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7290         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
7291         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7292         debugging templates without merge conflicts, bug357.
7293         Reported by Brad Dobbie.
7294         (verilog-read-auto-template):
7295         Fix verilog-auto-inst-template-numbers with multiple templates.
7296         Reported by Brad Dobbie.
7297         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7298         abbrevs so user won't be asked to save.
7299         (verilog-read-auto-lisp-present): Fix to start at beginning of
7300         buffer in case called outside of verilog-auto.
7301         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7302         to "X-2".  Reported by Matthew Myers.
7303         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7304         all inputs from module templates.  Reported by Leith Johnson.
7305         (verilog-module-inside-filename-p): Fix locating programs as with
7306         modules.
7307         (verilog-auto-inst-port): Fix vl-width expressions when using
7308         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
7309         (verilog-decls-get-regs, verilog-decls-get-signals,
7310         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7311         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7312         verilog-read-decls): Combine reg and wire structures into one var
7313         structure to represent SystemVerilog concepts.
7314         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7315         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7316         (verilog-auto-wire-type, verilog-insert-definition):
7317         Add verilog-auto-wire-type and AUTOLOGIC to support using
7318         SystemVerilog "logic" keyword instead of "wire"/"reg".
7319         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7320         to declares outputs that also have assignments (presumably in an
7321         ifdef or generate if so there's not a driver conflict).
7322         Reported by Matthew Myers.
7323         (verilog-auto-declare-nettype, verilog-insert-definition):
7324         Add verilog-auto-declare-nettype to fix declarations using
7325         `default_nettype none.  Reported by Julian Gorfajn.
7326         (verilog-read-always-signals-recurse, verilog-read-decls)
7327         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7328         malformed end statement, bug325.  Reported by Joshua Wise and
7329         Andrew Drake.
7330         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7331         (verilog-inst-comment-re): Fix not deleting Interfaced comment
7332         when expanding .* in interfaces, bug320.
7333         Reported by Pierre-David Pfister.
7334         (verilog-read-module-name): Fix import statements between module
7335         name and open parenthesis, bug317.
7336         Reported by Pierre-David Pfister.
7337         (verilog-simplify-range-expression): Fix simplification of
7338         multiplications inside AUTOWIRE connections, bug303.
7339         (verilog-auto-inst-port): Support parameter expansion in
7340         multidimensional arrays.
7341         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7342         after "assert property".  Reported by Julian Gorfajn.
7343         (verilog-simplify-range-expression): Fix "couldn't merge" errors
7344         with multiplication, bug303.
7345         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7346         Reported by Jan Frode Lonnum.
7348 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
7350         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7351         (hfy-shell-file-name, hfy-shell):
7352         * international/fontset.el (x-decompose-font-name): Fix typos.
7354 2011-11-29  Ken Brown  <kbrown@cornell.edu>
7356         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7357         (gdb-version): Remove defvar.
7358         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7359         (gdb-gud-context-command, gdb-non-stop-handler)
7360         (gdb-current-context-command, gdb-stopped): Use it.
7361         (gdb-init-1): Enable pretty printing here.
7362         (gdb-non-stop-handler): Don't enable pretty-printing here.
7363         Check to see if the target supports non-stop mode; if not, turn off
7364         non-stop mode.  Use the following.
7365         (gdb-check-target-async): New defun.
7366         (gud-watch, gdb-stopped): Fix whitespace.
7367         (gdb-get-source-file): Don't try to display the source file if
7368         `gdb-main-file' is nil.
7370 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7372         * align.el: Try to generate fewer markers (bug#10047).
7373         (align--set-marker): New macro.
7374         (align-region): Use it.
7376 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7378         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7380 2011-11-29  Chong Yidong  <cyd@gnu.org>
7382         * indent.el (indent-for-tab-command, indent-according-to-mode):
7383         Doc fix.
7384         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
7386 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
7388         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7389         aware of remote file names.  (Bug#10124)
7391 2011-11-29  Chong Yidong  <cyd@gnu.org>
7393         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7395 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7397         * files.el (find-file): Don't use force-same-window (bug#10144).
7398         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7399         use pop-to-buffer if the selected window can't be used.
7400         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7402 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
7404         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7405         special-mode-map.
7407 2011-11-28  Chong Yidong  <cyd@gnu.org>
7409         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7411 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
7413         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7414           gdb-get-source-file-list on gdb-create-source-file-list.
7416 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
7418         * whitespace.el (whitespace-newline): Use a different foreground
7419         color for 16-color light-background displays.
7421 2011-11-24  Chong Yidong  <cyd@gnu.org>
7423         * window.el (display-buffer--special-action): Doc fix.
7425 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
7427         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7428         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7429         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7430         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7431         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7432         (avl-tree-stack-first):
7433         * emacs-lisp/cconv.el (cconv--analyse-use):
7434         * net/gnutls.el (gnutls-negotiate): Fix typos.
7436 2011-11-24  Glenn Morris  <rgm@gnu.org>
7438         * lpr.el (lpr-windows-system, lpr-lp-system):
7439         * mail/binhex.el (binhex-begin-line):
7440         * progmodes/grep.el (grep-history, grep-find-history):
7441         * textmodes/flyspell.el:
7442         * vc/pcvs-defs.el (cvs-global-menu):
7443         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7444         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7445         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7447         * net/tls.el: Fix case of "GnuTLS".
7449         * paths.el (rmail-file-name): Format doc-string for make-docfile.
7451         * version.el (emacs-build-system): Give it a doc-string.
7453 2011-11-24  Juri Linkov  <juri@jurta.org>
7455         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7457 2011-11-24  Glenn Morris  <rgm@gnu.org>
7459         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7460         if called on a non-mime message just toggle the headers.  (Bug#8006)
7462 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
7464         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7465         (allout-lead-with-comment-string, allout-structure-deleted-hook)
7466         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7467         (allout-rebullet-heading, allout-open-sibtopic)
7468         (allout-toggle-current-subtree-encryption)
7469         (allout-toggle-subtree-encryption, allout-encrypt-string)
7470         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7471         (allout-distinctive-bullets-string, allout-auto-activation):
7472         * window.el (window-normalize-buffer-to-display):
7473         * progmodes/verilog-mode.el (verilog-batch-indent):
7474         * textmodes/bibtex.el (bibtex-field-braces-opt)
7475         (bibtex-field-strings-opt):
7476         * vc/cvs-status.el (cvs-tree-merge):
7477         Fix typos.
7479 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
7481         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7482         `non-essential' to t, in order to avoid remote connections.
7484 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
7486         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7487         On MS-DOS and MS-Windows, compare with loaddefs.el
7488         case-insensitively.
7490 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7492         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
7494 2011-11-23  Glenn Morris  <rgm@gnu.org>
7496         * paths.el (rmail-file-name): Reformat the doc-string so that it
7497         is picked up.
7499         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7500         (rmail-auto-file): Ignore case in the "special" field names,
7501         as mail-fetch-field does for all others.
7503         * mail/rmail.el (rmail-forward):
7504         * mail/rmailkwd.el (rmail-set-label):
7505         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7506         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
7508         * mail/rmail.el (rmail-current-message): Doc fix.
7510         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
7512 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7514         * server.el (server-eval-and-print): Allow C-g (bug#6585).
7516 2011-11-22  Glenn Morris  <rgm@gnu.org>
7518         * mail/rmailmm.el (test-rmail-mime-handler)
7519         (test-rmail-mime-bulk-handler)
7520         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7522 2011-11-21  Juri Linkov  <juri@jurta.org>
7524         * calc/calc.el (calc-read-key-sequence):
7525         Let-bind `input-method-function' to nil.  (Bug#10018)
7527 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7529         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7530         Tell the caller that the next line needs recomputation, even
7531         though it doesn't start a sexp (bug#10094).
7533 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7535         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7537 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7539         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7540         Use force-same-window.
7542 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
7544         * descr-text.el (describe-char-unicode-data):
7545         * json.el (json-string-escape):
7546         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7547         (Footnote-unicode, Footnote-style-p):
7548         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7550 2011-11-20  Chong Yidong  <cyd@gnu.org>
7552         * window.el (replace-buffer-in-windows): Restore interactive spec.
7554 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7556         * electric.el (electric-indent-mode): Fix last change (too optimistic).
7558         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7559         (byte-compile-global-not-obsolete-vars): New var.
7560         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7561         Use it.
7562         (byte-compile-warn-obsolete): Align text with the one in *Help*.
7564 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
7566         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7567         * progmodes/pascal.el (electric-pascal-equal):
7568         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7569         * xml.el (xml-substitute-special): Fix typos.
7571 2011-11-20  Glenn Morris  <rgm@gnu.org>
7573         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7574         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7575         Doc fixes.
7576         (rmail-decode-mime-charset): Mark as obsolete.
7578         * mail/rmailsum.el (rmail-message-regexp-p-1):
7579         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7580         Before using mime functions, check they are set.  (Bug#10077)
7582 2011-11-19  Juri Linkov  <juri@jurta.org>
7584         * info.el (Info-finder-find-node): Use `package--builtins' instead
7585         of `package-alist'.  Use node names formed by the pattern "Keyword "
7586         and the keyword name.
7588 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
7590         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7592 2011-11-19  Juri Linkov  <juri@jurta.org>
7594         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7595         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
7596         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7597         `old-history', `old-history-forward'.  Add let-binding
7598         `window-selected'.  Remove calls to `kill-buffer',
7599         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
7600         before calling `Info-find-node', so `Info-find-node-2' will reread
7601         the Info file.  Restore window positions only when `window-selected'
7602         is non-nil.
7604 2011-11-19  Juri Linkov  <juri@jurta.org>
7606         * isearch.el (isearch-lazy-highlight-new-loop):
7607         Remove condition `(not isearch-error)'.  (Bug#9918)
7609         * misearch.el (multi-isearch-search-fun): Add condition
7610         `(not bound)' to ignore lazy-highlighting search.
7611         Add the search-failed message "end of multi" when the end of
7612         multi-sequence is reached.  Uncapitalize the search-failed
7613         message "Repeat for next buffer".
7615         * info.el (Info-search): Add the search-failed message
7616         "end of the manual" when the end of the manual is reached
7617         in Isearch mode.
7619 2011-11-19  Juri Linkov  <juri@jurta.org>
7621         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7622         Use non-destructive `remove' instead of `delete' because
7623         `Info-history-list' stored to `Info-isearch-initial-history-list' in
7624         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7626 2011-11-19  Juri Linkov  <juri@jurta.org>
7628         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7629         to nil instead of binding `search-ring' and `regexp-search-ring'.
7630         (Bug#9185)
7632 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
7634         * simple.el (line-move): Force movement by logical lines for any
7635         hscrolled window, not only when auto-hscroll-mode is on.
7636         (line-move-visual): Update doc string to that effect.  (Bug#10076)
7638 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
7640         * language/european.el (macintosh): Define as alias for mac-roman.
7642 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
7644         * mail/rmailmm.el (rmail-mime-display-header)
7645         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7646         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7647         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7648         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7649         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7650         of a raw aref.
7651         (rmail-mime-entity-segment): To get past the tagline, move forward
7652         2 more lines, to account for the 2 empty lines that precede and
7653         follow the line with the buttons.
7654         (rmail-mime-update-tagline): Move one more line, to get past the
7655         empty line that follows the buttons in the tagline.  (Bug#9520)
7657 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
7659         * window.el (window-max-delta-1, window-min-delta-1)
7660         (window-min-size-1, window-state-get-1, window-state-put-1)
7661         (window-state-put-2): Use "window--" prefix.
7663 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7665         * emacs-lisp/smie.el: Improve warnings and conflict detection.
7666         (smie-warning-count): New var.
7667         (smie-set-prec2tab): Use it.
7668         (smie-bnf->prec2): Improve warnings.  Add docstring.
7669         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7670         (smie-bnf--set-class): New function.
7671         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
7672         corner case.
7674         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7675         (compilation-error-properties, compilation-move-to-column):
7676         Handle compilation-first-column while in the target buffer.
7678         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7679         Don't hardcode point-min==1.
7681         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7682         (eshell-rewrite-for-command): Remove workaround.
7683         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7684         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7685         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7687         * files-x.el (modify-file-local-variable): Obey commenting conventions.
7689 2011-11-17  Glenn Morris  <rgm@gnu.org>
7691         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7692         Ignore buffer-local generated-autoload-file if it is the same
7693         as the global value.  (Bug#10049)
7695 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
7697         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7698         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7699         (reftex-toc-previous-heading, reftex-toc-max-level)
7700         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7701         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7702         (reftex-toc-do-promote, reftex-toc-promote-prepare)
7703         (reftex-toc-promote-action, reftex-toc-extract-section-number)
7704         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7705         (reftex-toc-rename-label, reftex-toc-visit-location)
7706         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7707         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7708         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7709         leaving "*toc*" only for references to the buffer.
7711 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
7713         * window.el (window-resize, delete-window, split-window):
7714         Replace window-splits by window-combination-resize.
7715         * cus-start.el (window-splits): Replace by window-combination-resize.
7717 2011-11-17  Glenn Morris  <rgm@gnu.org>
7719         * progmodes/sh-script.el (sh-font-lock-keywords-var):
7720         Make bash entry derive from sh entry, not shell entry.
7722 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
7724         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7725         local file name.
7727 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
7729         * menu-bar.el (menu-bar-file-menu):
7730         * printing.el (pr-ps-utility):
7731         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7732         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7733         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7734         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7735         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7736         (icalendar--convert-cyclic-to-ical)
7737         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7738         (icalendar--convert-ical-to-diary)
7739         (icalendar--convert-recurring-to-diary)
7740         (icalendar--convert-non-recurring-all-day-to-diary)
7741         (icalendar-import-format-sample):
7742         * progmodes/idlw-shell.el (idlwave-shell-mode):
7743         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7744         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7745         (vhdl-ps-print-init): Fix typos.
7747 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
7749         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7750         FSF and collapse date sequence, obscure author/maintainer email address
7751         better, remove extra version line, track relocation of author's webpage.
7753         * progmodes/python.el (python-pdbtrack-input-prompt)
7754         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7755         regular python pdb prompts.  Adjustments shamelessly taken exactly as
7756         suggested in EmacsWiki page (tiny change):
7757         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7759 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
7761         * expand.el (expand-pos, expand-index, expand-point):
7762         Remove redundant info from docstring.
7763         (expand-add-abbrevs): Doc fix.
7764         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7765         (expand-sample-perl-mode-expand-list): Fix typos.
7767         * net/dbus.el (dbus-event-member-name):
7768         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7769         * term/pc-win.el (msdos-create-frame-with-faces):
7770         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7772 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
7774         * window.el (split-window, window-state-get-1)
7775         (window-state-put-1, window-state-put-2): Rename occurrences of
7776         window-nest to window-combination-limit.
7777         * cus-start.el (window-nest): Rename to window-combination-limit.
7779 2011-11-16  Chong Yidong  <cyd@gnu.org>
7781         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7782         regexp (Bug#10033).
7784 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7786         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7787         `completing-read' will remove *Completions* and will preserve
7788         current-buffer for us.
7789         (tmm-add-prompt): Users of *Completions* will always (re)set its
7790         major mode.
7791         (tmm-old-comp-map): Remove.
7793 2011-11-16  Glenn Morris  <rgm@gnu.org>
7795         * mail/rmailedit.el: Require rmailmm when compiling.
7796         (rmail-old-mime-state): New declaration.
7797         (rmail-edit-current-message): If editing a mime message,
7798         edit the "raw" message from the mbox buffer.
7799         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
7801 2011-11-15  Glenn Morris  <rgm@gnu.org>
7803         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7804         which wasn't being used.  Add optional arg to force given state.
7805         (rmail-mime): Add optional arg to force given state.
7807 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
7809         * allout.el (allout-encryption-plaintext-sanitization-regexps):
7810         * frame.el (display-mm-dimensions-alist):
7811         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7812         (outline-move-subtree-down):
7813         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7814         (newsticker--treeview-do-get-node):
7815         * net/quickurl.el (quickurl-list-buffer-name):
7816         * progmodes/dcl-mode.el (dcl-mode):
7817         * progmodes/gdb-mi.el (gdb-mapcar*):
7818         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7820 2011-11-15  Glenn Morris  <rgm@gnu.org>
7822         * mail/rmail.el (rmail-file-coding-system): It's only ever used
7823         in a boolean sense, so just make it a boolean, and fix the doc.
7824         (rmail-show-mime-function, rmail-mime-feature)
7825         (rmail-require-mime-maybe): Doc fixes.
7826         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7828         * mail/rmailmm.el (rmail-show-mime): Doc fix.
7830 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
7832         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7833         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7834         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7835         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7837 2011-11-15  Glenn Morris  <rgm@gnu.org>
7839         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7840         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7841         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7842         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7843         (rmail-mime, rmail-show-mime): Doc fixes.
7845         * term/ns-win.el (mode-line-frame-identification):
7846         Leave it alone.  (Bug#10051)
7848         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
7850         * mail/rmailout.el (rmail-output-to-rmail-buffer):
7851         Handle empty buffers.  (Bug#9978)
7853 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
7855         * international/mule.el (define-charset):
7856         * mail/rmailmm.el (rmail-mime-find-header-encoding):
7857         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7858         * progmodes/verilog-mode.el (verilog-backward-token):
7859         * textmodes/ispell.el (lookup-words):
7860         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7862 2011-11-14  Glenn Morris  <rgm@gnu.org>
7864         * progmodes/executable.el
7865         (executable-make-buffer-file-executable-if-script-p):
7866         Handle file-modes returning nil.
7868         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7869         message - not necessary, and causes problems.  (Bug#9831)
7871         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7873         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7875         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7876         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
7877         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7879 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
7881         * window.el (window-resize, delete-window): Use window-splits
7882         variable instead of function.
7883         (window-state-get-1, window-state-put-2, window-state-put):
7884         Don't deal with windows' splits status.
7886 2011-11-12  Glenn Morris  <rgm@gnu.org>
7888         * apropos.el (apropos-do-all, apropos-library, apropos-value)
7889         (apropos-documentation): Doc fixes.
7891 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
7893         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7894         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7896 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7898         * electric.el (electric-indent-post-self-insert-function): Make it
7899         possible for a char to only indent in some circumstances.
7900         (electric-indent-mode): Simplify.
7902 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
7904         * window.el (windows-with-parameter): Remove unused function.
7905         (windows-at-side): Rename to window-at-side-list.
7906         (window-check, window-atom-check, window-atom-check-1)
7907         (window-side-check, window-size-ignore, window-size-fixed-1)
7908         (window-in-direction-2): Prefix with "window--".
7909         (window-tree-1): Rename to window--subtree, fix doc-string.
7911 2011-11-11  Glenn Morris  <rgm@gnu.org>
7913         * subr.el (eval-after-load): If FILE is already loaded,
7914         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
7916 2011-11-10  Glenn Morris  <rgm@gnu.org>
7918         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7919         Call svn via vc-svn-command rather than vc-do-command.
7920         (vc-svn-command): Add --non-interactive.  (Bug#9993)
7921         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7923         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7924         Add toggle-read-only.  (Bug#7292)
7925         * files.el (toggle-read-only): Mention that it should only
7926         be used interactively.  (Bug#10006)
7928 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7930         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7931         Adjust regexp for OCaml warnings.
7933         * electric.el (electric-pair-post-self-insert-function): Let user
7934         turn it off buffer-locally (bug#9932).
7936         * progmodes/python.el (python-beginning-of-statement):
7937         Rewrite (bug#2703).
7939         * progmodes/compile.el: Better handle TABs (bug#9749).
7940         (compilation-internal-error-properties)
7941         (compilation-next-error-function): Obey the target buffer's
7942         compilation-error-screen-columns.
7944 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
7946         * progmodes/meta-mode.el: Remove obsolete comments.
7947         (meta-right-comment-regexp, meta-ignore-comment-regexp):
7948         Fix typos in docstrings.
7950 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
7952         * window.el (window-size-fixed-p): Rewrite doc-string.
7953         (window-resizable-p): Rename to window--resizable-p.  Update callers.
7954         (window--resizable): New function.  Make all callers of
7955         window-resizable call window--resizable instead.
7956         (window-resizable): Rewrite in terms of window--resizable.
7958 2011-11-08  Glenn Morris  <rgm@gnu.org>
7960         * progmodes/delphi.el (delphi-mode-syntax-table):
7961         Let define-derived-mode define a proper syntax table.  (Bug#9994)
7963 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7965         * window.el: Stay away from defsubst.
7966         (window-list-no-nils): Remove.
7967         (window-state-get-1, window-state-get): Use backquote instead.
7969 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7971         * emacs-lisp/find-func.el (find-function-read):
7972         Fix incorrect use of default argument in `completing-read'.
7974 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
7976         * window.el (display-buffer-function, special-display-function):
7977         Mention display-buffer-record-window but do not mention
7978         help-setup parameter in doc-strings.
7979         (window-min-delta): Fix doc-string typo.
7981 2011-11-08  Chong Yidong  <cyd@gnu.org>
7983         * window.el (window-total-height, window-total-width): Doc fix.
7984         (window-body-size): Move from C.
7985         (window-body-height, window-body-width): Move to C.
7987 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7989         * window.el: Make special-display like display-buffer-alist (bug#9532).
7990         (display-buffer--special-action): New function, morphed
7991         from display-buffer--special.
7992         (display-buffer): Use it to handle special-display-buffers at higher
7993         priority (just after display-buffer-alist).
7994         (display-buffer-fallback-action, display-buffer--other-frame-action)
7995         (pop-to-buffer-same-window): Remove display-buffer--special.
7997 2011-11-07  Glenn Morris  <rgm@gnu.org>
7999         * calendar/cal-menu.el (cal-menu-set-date-title):
8000         Do nothing if not in a calendar.  (Bug#9976)
8002 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8004         * files.el (find-file): Always use selected-window.
8006 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
8008         * window.el (window-combinations): Make WINDOW argument
8009         mandatory.  Rewrite doc-string.
8010         (walk-window-subtree, window-atom-check, window-min-delta)
8011         (window-max-delta, window--resize-this-window)
8012         (window--resize-root-window-vertically, window-tree)
8013         (balance-windows, window-state-put): Rewrite doc-strings as to
8014         not mention the term "subwindow".
8015         (window--resize-subwindows-skip-p): Rename to
8016         window--resize-child-windows-skip-p.
8017         (window--resize-subwindows-normal): Rename to
8018         window--resize-child-windows-normal.
8019         (window--resize-subwindows): Rename to
8020         window--resize-child-windows.
8021         (window-or-subwindow-p): Rename to window--in-subtree-p.
8023 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
8025         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8026         Ensure that mbox format messages end in two newlines (Bug#9974).
8028 2011-11-06  Chong Yidong  <cyd@gnu.org>
8030         * window.el (window-combination-p): Function deleted; its
8031         side-effect is not used in any existing code.
8032         (window-combinations, window-combined-p): Call window-*-child
8033         directly.
8035 2011-11-05  Chong Yidong  <cyd@gnu.org>
8037         * window.el (window-valid-p): Rename from window-any-p.
8038         (window-size-ignore, window-state-get): Callers changed.
8039         (window-normalize-window): Rename from window-normalize-any-window.
8040         New arg LIVE-ONLY, replacing window-normalize-live-window.
8041         (window-normalize-live-window): Delete.
8042         (window-combination-p, window-combined-p, window-combinations)
8043         (walk-window-subtree, window-atom-root, window-min-size)
8044         (window-sizable, window-sizable-p, window-size-fixed-p)
8045         (window-min-delta, window-max-delta, window-resizable)
8046         (window-resizable-p, window-full-height-p, window-full-width-p)
8047         (window-current-scroll-bars, window-point-1, set-window-point-1)
8048         (window-at-side-p, window-in-direction, window-resize)
8049         (adjust-window-trailing-edge, maximize-window, minimize-window)
8050         (window-deletable-p, delete-window, delete-other-windows)
8051         (record-window-buffer, unrecord-window-buffer)
8052         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8053         (quit-window, split-window, window-state-put)
8054         (set-window-text-height, fit-window-to-buffer)
8055         (shrink-window-if-larger-than-buffer): Callers changed.
8057 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
8059         * mail/rmail.el (rmail-simplified-subject): Decode subject with
8060         rfc2047-decode-string.
8061         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8062         warnings.
8064         * window.el (window-body-height, window-body-width): Mention in
8065         the doc string that the return values are in frame's canonical
8066         units.  (Bug#9949)
8068 2011-11-03  Alan Mackenzie  <acm@muc.de>
8070         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8071         change in cc-engine.el.
8073 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8075         * window.el (switch-to-buffer): Use `force-same-window' interactively.
8077 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
8079         * window.el (quit-window): Call unrecord-window-buffer after
8080         showing another buffer in the window.  (Bug#9937)
8081         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8083 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
8085         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8086         Accept status with more than 9 shelves.  (Bug#9935)
8087         Reported by Colin D Bennett <colin@gibibit.com>.
8089 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
8091         * help.el (with-help-window): Don't reference
8092         temp-buffer-show-specifiers in doc-string.
8094 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
8096         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8097         menu-item.
8099 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8101         * whitespace.el: New version 13.2.2.
8102         (whitespace-newline-mode): Disable properly.  Reported by Sarah
8103         <EmacsWiki>.
8105 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
8107         * net/newst-treeview.el: Remove "Time-stamp".
8108         (newsticker--group-manage-orphan-feeds): Do not call
8109         newsticker--treeview-tree-update.
8110         (newsticker-treeview-update, newsticker-treeview):
8111         Call newsticker--treeview-tree-update if necessary.
8113 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
8115         * window.el (window-iso-combination-p, window-iso-combined-p)
8116         (window-iso-combinations): Remove "iso-" infix.
8117         Suggested by Chong Yidong.
8118         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8119         (window-max-delta-1, window-resize, window--resize-siblings)
8120         (window--resize-this-window, adjust-window-trailing-edge)
8121         (split-window, balance-windows-1)
8122         (shrink-window-if-larger-than-buffer):
8123         * calendar/calendar.el (calendar-generate-window):
8124         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8126 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8128         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8129         in place (bug#9907).
8130         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8131         (eshell-rewrite-if-command, eshell-rewrite-for-command)
8132         (eshell-structure-basic-command, eshell-rewrite-while-command)
8133         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8134         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8135         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8136         (eshell-do-pipelines-synchronously, eshell-eval-command):
8137         Use backquotes and prefer setq to set.
8138         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8139         (eshell-macrop): Use functionp.
8140         (eshell-do-eval): Handle multiple expressions in `while' body.
8142 2011-10-30  Chong Yidong  <cyd@gnu.org>
8144         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8145         instead of set-mark (Bug#9810).
8147 2011-10-30  Chong Yidong  <cyd@gnu.org>
8149         * window.el (split-window-below, split-window-right): Rename from
8150         split-window-above-each-other and split-window-side-by-side
8151         respectively.  All callers changed.
8152         (split-window-sensibly, split-window-sensibly): Use them.
8153         (split-window-keep-point): Doc fix.
8155         * isearch.el: Add isearch-scroll property to split-window-below
8156         and split-window-right.
8158         * follow.el (follow-mode):
8159         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8160         * progmodes/ada-xref.el (ada-gdb-application):
8161         * emulation/vip.el (vip-buffer-in-two-windows):
8162         * image-dired.el (image-dired-dired-with-window-configuration):
8163         * dired-x.el (dired-do-find-marked-files):
8164         * dired.el (dired-pop-to-buffer):
8165         * bs.el (bs--show-with-configuration):
8166         * vc/emerge.el (emerge-setup-windows):
8167         * textmodes/two-column.el (2C-two-columns):
8168         * textmodes/reftex-toc.el (reftex-toc):
8169         * progmodes/gdb-mi.el (gdb-setup-windows):
8170         * progmodes/fortran.el (fortran-window-create):
8171         * net/newst-treeview.el (newsticker--treeview-window-init):
8172         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8173         * emulation/tpu-edt.el (tpu-gold-map):
8174         * emulation/crisp.el (crisp-mode-map):
8175         * calendar/calendar.el (calendar-basic-setup): Callers changed.
8177 2011-10-29  Chong Yidong  <cyd@gnu.org>
8179         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8181         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8183         * textmodes/flyspell.el (flyspell-word): Fix char offset for
8184         forged Ispell output (Bug#7904).
8186         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8188 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8190         * doc-view.el: Avoid ugly errors about not finding nil.
8191         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8192         (doc-view-dvipdf-program, doc-view-unoconv-program)
8193         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8194         Avoid nil or absolute file name as default value.
8195         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8197 2011-10-28  Alan Mackenzie  <acm@muc.de>
8199         * progmodes/cc-defs.el (c-version): -> 5.32.2.
8201 2011-10-28  Alan Mackenzie  <acm@muc.de>
8203         Amend the handling of c-beginning/end-of-defun in nested declaration
8204         scopes.
8206         * progmodes/cc-vars.el (c-defun-tactic): Move here from
8207         cc-langs.el.  Change it to a defcustom.
8209         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8210         cc-vars.el.
8212         * progmodes/cc-engine.el (c-beginning-of-statement-1):
8213         Prevent "class foo : bar" being spuriously recognized as a label.
8215         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8216         Add parameter `inclusive' (to include enclosing braces in the region).
8217         (c-widen-to-enclosing-decl-scope): New function.
8218         (c-while-widening-to-decl-block): New macro.
8219         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8220         outward for defun boundaries, and correspondingly change symbol
8221         `respect-enclosure' to `go-outward'.
8222         (c-declaration-limits): Change algorithm to report only the "innermost"
8223         defun's boundaries.
8225 2011-10-28  Deniz Dogan  <deniz@dogan.se>
8227         * net/rcirc.el (rcirc-mode): Use hard newlines.
8229 2011-10-28  Alan Mackenzie  <acm@muc.de>
8231         Amend to indent and fontify macros "which include their own semicolon"
8232         correctly, using the "virtual semicolon" mechanism.
8234         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8236         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8237         Recode to scan one line at a time rather than having \n and \r
8238         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8239         (c-forward-label): Amend for virtual semicolons.
8240         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8242         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8243         of the new C macros.
8245         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8246         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8247         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8248         (c-opt-cpp-macro-define): Make into a full language variable.
8249         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8250         AWK Mode (including \n, \r) removed, no longer needed.
8252         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8253         Invoke c-make-macro-with-semi-re.
8255         * progmodes/cc-vars.el (c-macro-with-semi-re):
8256         (c-macro-names-with-semicolon): New variables.
8257         (c-make-macro-with-semi-re): New function.
8259 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8261         * vc/log-edit.el: Fill empty field rather than adding new one.
8262         (log-edit-add-field): New function.
8263         (log-edit-insert-changelog): Use it.
8265 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
8267         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8269 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8271         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8272         (gdb--check-interpreter): New function.
8273         (gdb): Use it.
8275 2011-10-27  Glenn Morris  <rgm@gnu.org>
8277         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8278         (least-positive-float, least-negative-float)
8279         (least-positive-normalized-float, least-negative-normalized-float)
8280         (float-epsilon, float-negative-epsilon):
8281         Remove unnecessary declarations.
8283         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8284         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8285         (least-positive-float, least-negative-float)
8286         (least-positive-normalized-float, least-negative-normalized-float)
8287         (float-epsilon, float-negative-epsilon): Add doc-strings,
8288         based on those in cl.texi.
8290         * files.el (set-visited-file-name): If the major-mode changed,
8291         reload the local variables.  (Bug#9796)
8293 2011-10-27  Chong Yidong  <cyd@gnu.org>
8295         * subr.el (change-major-mode-after-body-hook): New hook.
8296         (run-mode-hooks): Run it.
8298         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8299         Use change-major-mode-before-body-hook.
8301         * simple.el (fundamental-mode):
8302         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8303         change introducing fundamental-mode-hook.
8305 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
8307         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8309 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
8311         * ido.el (ido-file-name-all-completions-1): Do not require
8312         tramp.el explicitly.  (Bug#7583)
8314 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8316         * progmodes/octave-mod.el:
8317         * progmodes/octave-inf.el: Update maintainer.
8319 2011-10-26  Chong Yidong  <cyd@gnu.org>
8321         * subr.el (with-wrapper-hook): Rewrite doc.
8323 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
8325         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8326         filenames "/method:foo:".  (Bug#9793)
8328 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8330         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8331         (bug#9865).
8333 2011-10-24  Glenn Morris  <rgm@gnu.org>
8335         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
8337 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
8339         * notifications.el: Add the requirement of a running D-Bus session
8340         bus to the Commentary.
8342 2011-10-24  Juri Linkov  <juri@jurta.org>
8344         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8345         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8346         (Bug#9364)
8348 2011-10-24  Juri Linkov  <juri@jurta.org>
8350         * info.el (Info-following-node-name-re): Add newline to the list
8351         of allowed characters for leading space.  (Bug#9824)
8353 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8355         * progmodes/octave-inf.el (inferior-octave-mode-map):
8356         Fix C-c C-h binding.
8357         * progmodes/octave-mod.el (octave-help): Remove.
8359 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
8361         Sync with Tramp 2.2.3.
8363         * net/tramp-cache.el (top): Pacify byte-compiler using
8364         `init-file-user' and `site-run-file'.
8366         * net/trampver.el: Update release number.
8368 2011-10-23  Chong Yidong  <cyd@gnu.org>
8370         * files.el (toggle-read-only): Remove obsolete comment about
8371         version control.
8373         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8374         for toggle-read-only.  Note that this hasn't called vc-next-action
8375         since 2008-05-02, though it wasn't documented at the time.
8377         * vc/ediff-init.el (ediff-toggle-read-only-function):
8378         Use toggle-read-only.
8380 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
8382         Fix bug #9560, sporadic wrong indentation; improve instrumentation
8383         of c-parse-state.
8385         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8386         correct faulty logical expression.
8387         (c-parse-state-state, c-record-parse-state-state):
8388         (c-replay-parse-state-state): New defvar/defuns.
8389         (c-debug-parse-state): Use new functions.
8391 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
8393         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
8394         last fix.  Use window-in-direction correctly.
8396 2011-10-21  Chong Yidong  <cyd@gnu.org>
8398         * progmodes/idlwave.el (idlwave-mode):
8399         * progmodes/vera-mode.el (vera-mode): No need to set
8400         require-final-newline; that's done in prog-mode.
8401         Suggested by Stefan Monnier.
8403 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
8405         * mouse.el (mouse-drag-window-above)
8406         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8407         (mouse-drag-mode-line-1, mouse-drag-header-line)
8408         (mouse-drag-vertical-line-rightward-window): Remove.
8409         (mouse-drag-line): New function.
8410         (mouse-drag-mode-line, mouse-drag-header-line)
8411         (mouse-drag-vertical-line): Call mouse-drag-line.
8412         * window.el (window-at-side-p, windows-at-side): New functions.
8414 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
8416         * tar-mode.el (tar-grind-file-mode):
8417         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
8419 2011-10-21  Chong Yidong  <cyd@gnu.org>
8421         * progmodes/idlwave.el (idlwave-mode):
8422         * progmodes/vera-mode.el (vera-mode):
8423         Use mode-require-final-newline.
8425 2011-10-20  Glenn Morris  <rgm@gnu.org>
8427         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
8429 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
8431         * emulation/cua-base.el (cua-set-mark): Fix case of string.
8433 2011-10-20  Chong Yidong  <cyd@gnu.org>
8435         * emulation/cua-base.el (cua-mode):
8436         * mail/footnote.el (footnote-mode):
8437         * mail/mailabbrev.el (mail-abbrevs-mode):
8438         * net/xesam.el (xesam-minor-mode):
8439         * progmodes/bug-reference.el (bug-reference-mode):
8440         * progmodes/cap-words.el (capitalized-words-mode):
8441         * progmodes/compile.el (compilation-minor-mode)
8442         (compilation-shell-minor-mode):
8443         * progmodes/gud.el (gud-tooltip-mode):
8444         * progmodes/hideif.el (hide-ifdef-mode):
8445         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8446         * progmodes/subword.el (subword-mode):
8447         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8448         * progmodes/which-func.el (which-function-mode):
8449         * term/tvi970.el (tvi970-set-keypad-mode):
8450         * term/vt100.el (vt100-wide-mode):
8451         * textmodes/flyspell.el (flyspell-mode):
8452         * textmodes/ispell.el (ispell-minor-mode):
8453         * textmodes/nroff-mode.el (nroff-electric-mode):
8454         * textmodes/paragraphs.el (use-hard-newlines):
8455         * textmodes/refill.el (refill-mode):
8456         * textmodes/reftex.el (reftex-mode):
8457         * textmodes/rst.el (rst-minor-mode):
8458         * textmodes/sgml-mode.el (html-autoview-mode)
8459         (sgml-electric-tag-pair-mode):
8460         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8461         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8462         * emulation/crisp.el (crisp-mode):
8463         * emacs-lisp/eldoc.el (eldoc-mode):
8464         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8465         minor mode behavior.
8467 2011-10-19  Juri Linkov  <juri@jurta.org>
8469         * descr-text.el (describe-char): Add #x2010 and #x2011 to
8470         the list of hard-coded chars with escape-glyph face.
8472 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8474         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8476 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
8478         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8479         running process.
8481 2011-10-19  Glenn Morris  <rgm@gnu.org>
8483         * vc/vc-bzr.el (vc-bzr-after-dir-status):
8484         Ignore ignored files.  (Bug#9726)
8486 2011-10-19  Chong Yidong  <cyd@gnu.org>
8488         Doc fix for minor modes, stating that an omitted argument enables
8489         the mode unconditionally when called from Lisp.
8491         * abbrev.el (abbrev-mode):
8492         * allout.el (allout-mode):
8493         * autoinsert.el (auto-insert-mode):
8494         * autoarg.el (autoarg-mode, autoarg-kp-mode):
8495         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8496         (global-auto-revert-mode):
8497         * battery.el (display-battery-mode):
8498         * composite.el (global-auto-composition-mode)
8499         (auto-composition-mode):
8500         * delsel.el (delete-selection-mode):
8501         * desktop.el (desktop-save-mode):
8502         * dired-x.el (dired-omit-mode):
8503         * dirtrack.el (dirtrack-mode):
8504         * doc-view.el (doc-view-minor-mode):
8505         * double.el (double-mode):
8506         * electric.el (electric-indent-mode, electric-pair-mode):
8507         * emacs-lock.el (emacs-lock-mode):
8508         * epa-hook.el (auto-encryption-mode):
8509         * follow.el (follow-mode):
8510         * font-core.el (font-lock-mode):
8511         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8512         * help.el (temp-buffer-resize-mode):
8513         * hilit-chg.el (highlight-changes-mode)
8514         (highlight-changes-visible-mode):
8515         * hi-lock.el (hi-lock-mode):
8516         * hl-line.el (hl-line-mode, global-hl-line-mode):
8517         * icomplete.el (icomplete-mode):
8518         * ido.el (ido-everywhere):
8519         * image-file.el (auto-image-file-mode):
8520         * image-mode.el (image-minor-mode):
8521         * iswitchb.el (iswitchb-mode):
8522         * jka-cmpr-hook.el (auto-compression-mode):
8523         * linum.el (linum-mode):
8524         * longlines.el (longlines-mode):
8525         * master.el (master-mode):
8526         * mb-depth.el (minibuffer-depth-indicate-mode):
8527         * menu-bar.el (menu-bar-mode):
8528         * minibuf-eldef.el (minibuffer-electric-default-mode):
8529         * mouse-sel.el (mouse-sel-mode):
8530         * msb.el (msb-mode):
8531         * mwheel.el (mouse-wheel-mode):
8532         * outline.el (outline-minor-mode):
8533         * paren.el (show-paren-mode):
8534         * recentf.el (recentf-mode):
8535         * reveal.el (reveal-mode, global-reveal-mode):
8536         * rfn-eshadow.el (file-name-shadow-mode):
8537         * ruler-mode.el (ruler-mode):
8538         * savehist.el (savehist-mode):
8539         * scroll-all.el (scroll-all-mode):
8540         * scroll-bar.el (scroll-bar-mode):
8541         * server.el (server-mode):
8542         * shell.el (shell-dirtrack-mode):
8543         * simple.el (auto-fill-mode, transient-mark-mode)
8544         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8545         (line-number-mode, column-number-mode, size-indication-mode)
8546         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8547         * strokes.el (strokes-mode):
8548         * time.el (display-time-mode):
8549         * t-mouse.el (gpm-mouse-mode):
8550         * tool-bar.el (tool-bar-mode):
8551         * tooltip.el (tooltip-mode):
8552         * type-break.el (type-break-mode-line-message-mode)
8553         (type-break-query-mode):
8554         * view.el (view-mode):
8555         * whitespace.el (whitespace-mode, whitespace-newline-mode)
8556         (global-whitespace-mode, global-whitespace-newline-mode):
8557         * xt-mouse.el (xterm-mouse-mode): Doc fix.
8559         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8560         Fix autogenerated docstring.
8562 2011-10-19  Juri Linkov  <juri@jurta.org>
8564         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8565         by checking environment variables "DESKTOP_SESSION" and
8566         "XDG_CURRENT_DESKTOP".  (Bug#9779)
8568 2011-10-19  Juri Linkov  <juri@jurta.org>
8570         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8571         (browse-url-chromium-program, browse-url-chromium-arguments):
8572         New defcustoms.
8573         (browse-url-default-browser): Check for `browse-url-chromium' and
8574         call `browse-url-chromium-program'.
8575         (browse-url-chromium): New command.  (Bug#9779)
8577 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
8579         * facemenu.el (list-colors-duplicates): On Windows, detect more
8580         duplicates by assuming that only colors matching "^System" are
8581         special "system colors".  (Bug#9722)
8583 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8585         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8586         to distinguish the author from the committer.
8588 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
8590         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8592 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
8594         * international/mule.el (sgml-html-meta-auto-coding-function):
8595         Add support for detecting encoding in HTML5 specified only as
8596         <meta charset="UTF-8">.  Implementation just makes http-equiv and
8597         content-type parts from HTML4 encoding string optional.  (Bug#9716)
8599 2011-10-18  Glenn Morris  <rgm@gnu.org>
8601         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
8603 2011-10-18  Chong Yidong  <cyd@gnu.org>
8605         * faces.el (cursor): Doc fix.
8607 2011-10-17  Chong Yidong  <cyd@gnu.org>
8609         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8611 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
8613         * dirtrack.el (dirtrack): Support shell buffers with path
8614         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
8616 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
8618         * json.el: Bump version to 1.3 and note change in History.
8619         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8621 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8623         * comint.el (comint-insert-input, comint-send-input)
8624         (comint-get-old-input-default, comint-backward-matching-input)
8625         (comint-next-prompt): Use nil instead of `input' for field property of
8626         past user input (bug#114).
8628         * minibuffer.el (completion--replace): Inherit surrounding properties
8629         (bug#114).
8630         (minibuffer-complete-and-exit): Use it.
8632         * comint.el (comint--table-subvert): Quote the all-completions output
8633         (bug#9160).
8635 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
8637         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8639         * menu-bar.el (menu-bar-file-menu): Add entry for making new
8640         window on right of selected.  (Bug#9350) Reword other window
8641         entries and separate them from frame entries.
8643 2011-10-15  Glenn Morris  <rgm@gnu.org>
8645         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8646         Doc fixes.
8648 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
8650         * net/network-stream.el (network-stream-open-starttls):
8651         Improve detection of failure due to lack of TLS support.
8653         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8654         putting the input text in front and in bold.
8656 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8658         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8660         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8661         empty buffer.
8663         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8664         unread-command-events rather than pushing yet-another event.
8666 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
8668         * mail/sendmail.el (sendmail-query-once): Improve the wording of
8669         the explanation of the possible choices.  Make the options passed
8670         to completing-read shorter.
8672 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8674         * textmodes/flyspell.el (flyspell-large-region): Make sure
8675         extended character mode is used if defined (Bug#1339).
8677 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
8679         * simple.el (what-cursor-position): Fix the display of the
8680         character info for LRE, LRO, RLE, and RLO characters by appending
8681         an invisible PDF.
8683 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8685         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8686         even in case of error; add debug spec; simplify data flow.
8687         (with-timeout-handler): Remove.
8689 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
8691         Fix Bug#6019, Bug#9315.
8693         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8694         complete `buffer-file-name', the local file name part could look
8695         remotely (for example on VMS).
8697         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8698         `tramp-run-real-handler'.
8699         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8700         already quoted by '"'.
8702         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8703         Let `file-name-handler-alist' be nil, the local file name part
8704         could look remotely (for example on VMS).
8706 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8708         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8709         from here...
8710         (flyspell-post-command-hook): ...to here.
8712 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8714         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8715         if not needed.
8716         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
8717         using completion.  Protect against "slow" callers.
8718         Remove the "message hack".
8720 2011-10-11  Juri Linkov  <juri@jurta.org>
8722         * isearch.el (isearch-lazy-highlight-word): New variable.
8723         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8724         Use it.  (Bug#9727)
8726 2011-10-11  Glenn Morris  <rgm@gnu.org>
8728         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8729         like f90-previous-statement does.
8731 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8733         * eshell/eshell.el (eshell-command): History should be saved
8734         only in interactive use, to avoid error.
8736 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8738         * minibuffer.el (completion-file-name-table): Fix last change,
8739         i.e. ignore normal errors but not the other ones.
8741 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
8743         * window.el (special-display-buffer-names)
8744         (special-display-regexps): Remove some remnants of earlier
8745         changes from doc-strings.
8746         (quit-windows-on): New function.
8748         * vc/vc.el (vc-revert, vc-rollback):
8749         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8750         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
8751         (Bug#6183) (Bug#7074) (Bug#7447)
8753 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
8755         * window.el (frame-auto-hide-function): Add version tag.
8756         (Bug#9699)
8758 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
8760         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8761         condition.
8763 2011-10-09  Leo Liu  <sdl.web@gmail.com>
8765         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8766         (Bug#9701)
8768 2011-10-08  Glenn Morris  <rgm@gnu.org>
8770         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8771         before the first code statement zero indent.  (Bug#9690)
8773 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
8775         * simple.el (count-words-region): Always count in the region.
8776         Report the number of lines and characters too.
8777         (count-words): New command, which counts in the buffer if the
8778         region is inactive, as count-words-region used to.
8779         (count-words--message): New function.  Handle plurals.
8780         (count-lines-region): Make it an alias for count-words-region.
8782         * bindings.el (esc-map): Replace count-lines-region with
8783         count-words-region.
8785 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
8787         * window.el (window--delete): Delete dedicated frame
8788         unconditionally when argument KILL is non-nil.  (Bug#9699)
8789         (switch-to-buffer): Fix doc-string typo.
8791 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8793         * eshell/eshell.el (eshell-command): Avoid using hooks.
8795 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
8797         * bindings.el ([M-left],[M-right]): Bind to left-word and
8798         right-word respectively.
8800 2011-10-07  Glenn Morris  <rgm@gnu.org>
8802         * cus-start.el (debug-on-quit): Fix custom type.
8804 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8806         * subr.el (define-key-after): Clarify that the function is not
8807         useful for non-menu keymaps.
8809         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8811 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8813         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8814         in current minibuffer (Fix bug with recursive minibuffers).
8816 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
8818         * progmodes/gdb-mi.el (gdb): Doc fix.
8820 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
8822         * window.el (frame-auto-hide-function): New option replacing
8823         frame-auto-delete.  Suggested by Stefan Monnier.
8824         (window--delete): Call frame-auto-hide-function instead of
8825         investigating frame-auto-delete.
8826         (window-point-1, set-window-point-1): New functions.
8827         (window-in-direction, record-window-buffer, window-state-get-1)
8828         (display-buffer-record-window): Use window-point-1 instead of
8829         window-point.
8830         (set-window-buffer-start-and-point): Use set-window-point-1.
8832 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8834         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8836 2011-10-05  Glenn Morris  <rgm@gnu.org>
8838         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8839         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
8841 2011-10-05  Leo Liu  <sdl.web@gmail.com>
8843         * subr.el (read-char-choice): Fix argument to buffer-live-p which
8844         works with buffer object.
8846 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8848         * mpc.el (mpc-tool-bar-map): Add labels.
8850 2011-10-04  Glenn Morris  <rgm@gnu.org>
8852         * calendar/holidays.el (calendar-check-holidays): Doc fix.
8854 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
8856         * window.el (window--delete): New function.
8857         (frame-auto-delete): Resuscitate option.
8858         (bury-buffer, replace-buffer-in-windows)
8859         (quit-window): Rewrite using window--delete.
8860         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8861         Pass display-buffer-mark-dedicated to window--display-buffer-2
8862         (Bug#9639).
8864 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8866         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8867         returns a list (bug#9554).  Add remote file name completion.
8868         * comint.el (comint--table-subvert): Curry and get quote&unquote
8869         functions as arguments.
8870         (comint--complete-file-name-data): Adjust call accordingly.
8871         * pcomplete.el (pcomplete--table-subvert): Remove.
8872         (pcomplete-completions-at-point): Use comint--table-subvert instead.
8874         * minibuffer.el (completion-table-case-fold): Use currying.
8875         (completion--styles-type, completion--cycling-threshold-type):
8876         New constants.
8877         (completion-styles, completion-category-overrides)
8878         (completion-cycle-threshold): Use them.
8879         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8880         completion-table-case-fold.
8882 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
8884         * minibuffer.el (completion-category-overrides): Fix type of styles
8885         and add more user friendly tags (bug#9660).
8887 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8889         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8890         (mule-input-method-string): New widget.
8891         (default-input-method, language-info-custom-alist): Use it.
8893 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8895         * pcomplete.el: Require comint.
8896         (pcomplete--common-suffix): Remove.
8897         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8898         (pcomplete--table-subvert): Sync with comint--table-subvert.
8899         (pcomplete--entries): Use comint-completion-file-name-table.
8900         * comint.el (comint-unquote-filename): Simplify.
8901         (comint-completion-file-name-table): New function (bug#9616).
8902         (comint--complete-file-name-data): Use it.
8904         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8905         (pcmpl-gnu-tar-buffer): Remove.
8906         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8907         around.  Make sure pcomplete-suffix-list is only changed temporarily.
8908         Don't look inside the tar's file if it's too large.
8910 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
8912         * cus-edit.el (custom-mode-map):
8913         * epa.el (epa-key-list-mode-map):
8914         * man.el (Man-mode-map):
8915         * startup.el (splash-screen-keymap):
8916         * simple.el (special-mode-map): Use scroll-up-command and
8917         scroll-down-command.
8919         * progmodes/idlw-help.el (idlwave-help-mode-map):
8920         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8921         * net/newst-plainview.el (newsticker-mode-map):
8922         * emulation/ws-mode.el (wordstar-mode-map):
8923         * emulation/vi.el (vi-com-map):
8924         * calc/calc-graph.el (calc-graph-show-dumb):
8925         * term/sun.el (terminal-init-sun):
8926         * term/ns-win.el (global-map):
8927         * progmodes/grep.el (grep-mode-map):
8928         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8929         * mail/rmail.el (rmail-mode-map):
8930         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8932         * custom.el (custom-safe-themes, load-theme): Treat value of t for
8933         custom-safe-themes as special.
8935 2011-10-01  Julien Danjou  <julien@danjou.info>
8937         * notifications.el (notifications-notify): Fix docstring.
8939 2011-10-01  Per Starbäck  <per@starback.se>
8941         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
8943 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
8945         * startup.el (command-line-1): Fix last fix by inserting
8946         initial-scratch-message into *scratch* before displaying it.
8947         (Bug#9605) and (Bug#9636)
8949 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
8951         * simple.el (line-move): If auto-hscroll-mode is disabled and the
8952         window is hscrolled, move by logical lines.  (Bug#9607)
8953         (line-move-visual): Update the doc string to the above effect.
8955 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
8957         * window.el (display-buffer-record-window): When WINDOW is the
8958         selected window use `point' instead of `window-point'.  (Bug#9626)
8960         * startup.el (command-line-1): Use insert-before-markers when
8961         inserting initial-scratch-message.  (Bug#9605)
8963         * help.el (help-window): Remove variable.
8965 2011-09-29  Glenn Morris  <rgm@gnu.org>
8967         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8969 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
8971         * descr-text.el (describe-char-categories): Accept category
8972         descriptions more than one line long.
8974 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8976         * simple.el (delete-trailing-whitespace): Fix last change.
8978         * progmodes/perl-mode.el (perl-syntax-propertize-function):
8979         Don't confuse "y => 3" as the beginning of a `y' operation.
8981         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8982         object has more than 4 slots (bug#9613).
8984 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
8986         * subr.el (with-output-to-temp-buffer):
8987         * net/quickurl.el (quickurl, quickurl-browse-url):
8988         Fix typos in docstrings.
8990 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
8992         * minibuffer.el (completion-styles)
8993         (completion-category-overrides): Cross reference each other in doc
8994         strings.
8996 2011-09-27  Glenn Morris  <rgm@gnu.org>
8998         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8999         to split-string.  (Bug#9606)
9001 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9003         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9004         (bug#9615).
9006 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
9008         * emacs-lisp/package.el (list-packages): Fix echo area message.
9010 2011-09-27  Leo Liu  <sdl.web@gmail.com>
9012         * ido.el (ido-read-internal): Accept cons cell HIST arg.
9014 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
9016         * net/dbus.el (dbus-unregister-object): Don't release services for
9017         registered signals.  (Bug#9581)
9019 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
9021         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9022         function that picks between cfengine 2 and 3 support
9023         automatically.  Update docs accordingly.
9025 2011-09-22  Kenichi Handa  <handa@m17n.org>
9027         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9028         ZERO.
9029         (indian-itrans-v5-table-for-tamil): New variable.
9030         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9032 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
9034         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9035         that's true if the current command involved collapsing of text.
9036         It's reset to false at the beginning of the next command.
9037         (allout-post-command-business): Move the cursor to the beginning
9038         of entry if the cursor is hidden and collapsing activity just
9039         happened.
9041 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
9043         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9044         tracking (Bug#9541).
9046 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
9048         * net/newst-reader.el (newsticker-html-renderer)
9049         (newsticker-show-news): Automatically load html rendering package
9050         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
9051         because w3m-fill-column is let-bound" and the error "Symbol's value
9052         as variable is void: w3m-fill-column".
9054 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
9056         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9057         Release services only if they are defined.  (Bug#9581)
9059 2011-09-23  Richard Stallman  <rms@gnu.org>
9061         * textmodes/paragraphs.el (forward-sentence): For backwards case,
9062         distinguish start of paragraph from start of its text.
9064         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9066         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9067         (rmail-generate-viewer-buffer): Put that hook on view buffer.
9068         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9070 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
9072         * international/mule-diag.el (mule-diag): Insert a newline after
9073         each fontset description.
9075 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9077         * simple.el (delete-trailing-whitespace):
9078         Document last change; simplify.
9080 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
9082         * simple.el (delete-trailing-whitespace): Also delete
9083         extra newlines at the end of the buffer.
9085         * textmodes/picture.el: Make motion commands obey shift-select-mode.
9086         (picture-newline): Use forward-line so as to ignore fields.
9088 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9090         * subr.el (with-wrapper-hook): Fix edebug spec.
9092 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9094         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9095         (bug#4538).
9097 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
9099         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9100         Fix nasty bug using wrong cached values.
9102 2011-09-23  Alan Mackenzie  <acm@muc.de>
9104         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9106 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
9108         * window.el (pop-to-buffer): Ensure right window is selected if we
9109         chose another frame.
9111 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
9113         * simple.el (what-cursor-position): Use get-char-property-change
9114         and next-single-char-property-change, to be able to show display
9115         properties that come from overlays as well as text properties.
9117 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
9119         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9121         * cmuscheme.el (run-scheme, switch-to-scheme):
9122         * cus-edit.el (customize-group, custom-buffer-create)
9123         (customize-browse):
9124         * info.el (info):
9125         * shell.el (shell):
9126         * mail/sendmail.el (mail):
9127         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9129 2011-09-22  Richard Stallman  <rms@gnu.org>
9131         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9132         move back only to line beg, don't move back over blank lines.
9134 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
9136         * files.el (copy-directory): Set directory attributes only in case
9137         they could be retrieved from the source directory.  (Bug#9565)
9139 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
9141         * progmodes/hideshow.el (hs-looking-at-block-start-p)
9142         (hs-find-block-beginning, hs-hide-level-recursive):
9143         Ignore strings as well as comments.  (Bug#9502)
9145 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
9147         * progmodes/sql.el (sql-comint-postgres):
9148         Convert port number to a string.  (Bug#9566)
9150 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
9152         * window.el (quit-window): Undedicate window when switching to
9153         previous buffer.  Reported by Thierry Volpiatto
9154         <thierry.volpiatto@gmail.com>.
9155         (special-display-popup-frame): When popping up a new frame reset
9156         its previous buffers to nil.  Simplify code.
9158 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
9160         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9161         and process filter, as done also in `shell-command'.
9163 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
9165         * window.el (set-window-buffer-start-and-point):
9166         Call set-window-start with NOFORCE argument t.
9167         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9168         (quit-window): Reword doc-string.  Handle new format of
9169         quit-restore parameter.  Don't delete window if it has a
9170         previous buffer we can show instead of the present one.
9171         (display-buffer-record-window): Rewrite using a new format for
9172         the quit-restore window parameter
9173         (special-display-popup-frame, display-buffer-same-window)
9174         (display-buffer-reuse-window, display-buffer-pop-up-frame)
9175         (display-buffer-pop-up-window, display-buffer-use-some-window):
9176         Adapt symbol passed to display-buffer-record-window.
9177         * help.el (help-window-setup): Handle new format of quit-restore
9178         parameter.
9180 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9182         * faces.el (face-list): Fix docstring (bug#9564).
9184         * window.el (display-buffer--action-function-custom-type):
9185         Don't include internal functions in the Custom interface.
9187 2011-09-20  Juri Linkov  <juri@jurta.org>
9189         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9190         (Info-forward-node, Info-backward-node, Info-next-preorder)
9191         (Info-last-preorder): Use it.  (Bug#9528)
9193 2011-09-20  Juri Linkov  <juri@jurta.org>
9195         * info.el (Info-last-preorder): Visit last menu item only when
9196         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9198 2011-09-20  Julien Danjou  <julien@danjou.info>
9200         * password-cache.el (password-cache-remove): Remove entries even if the
9201         value is nil, so that password with a nil value (negative caching) is
9202         possible to invalidate.
9204 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
9206         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9207         all whitespace around breakpoint.  (Bug#9553)
9208         (f90-find-breakpoint): Only break at whitespace inside a comment.
9210 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9212         * minibuffer.el (completion-file-name-table): Keep track of errors.
9213         (completion-table-with-predicate): Handle the case where pred1 is nil.
9214         * pcomplete.el (pcomplete-completions-at-point): Simplify.
9216 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9218         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9219         (debugger-return-value): Signal an error if the debugging context does
9220         not await any return value.
9222         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9223         * image-mode.el (image-toggle-display-text)
9224         (image-toggle-display-image): Stay away from evil `intangible'.
9226 2011-09-19  Leo Liu  <sdl.web@gmail.com>
9228         * replace.el (occur-revert-arguments): Make it permanent-local.
9229         (occur-mode): Don't call font-lock-defontify.
9231 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
9233         * net/ldap.el (ldap-search-internal): Don't push empty search
9234         result (Bug#9508).
9236 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9238         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9240 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
9242         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9243         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9245 2011-09-18  Juri Linkov  <juri@jurta.org>
9247         * buff-menu.el (Buffer-menu-mode-map):
9248         * dired.el (dired-mode-map):
9249         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9250         (lisp-interaction-mode-map):
9251         * emacs-lisp/package.el (package-menu-mode-map):
9252         * epa.el (epa-key-list-mode-map):
9253         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9254         (menu-bar-options-menu):
9255         * outline.el (outline-mode-menu-bar-map):
9256         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9257         * vc/vc-dir.el (vc-dir-menu-map):
9258         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9259         Capitalize non-function content words in menu item strings.
9261         * dired.el (dired-mode-map): Add menu item for
9262         `image-dired-dired-toggle-marked-thumbs'.
9264 2011-09-18  Juri Linkov  <juri@jurta.org>
9266         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9267         to `isearch-case-fold-search' and restore its original value
9268         after the `isearch-mode' call.
9270 2011-09-18  Juri Linkov  <juri@jurta.org>
9272         * progmodes/grep.el (grep-process-setup): Don't check code for 1
9273         because `zgrep' returns 1 for successful matches (bug#9226).
9275 2011-09-18  Juri Linkov  <juri@jurta.org>
9277         * info.el (Info-extract-menu-node-name): Check the second match
9278         for empty string (second test-case of bug#9528).
9279         (Info-last-preorder): Let-bind `Info-history' to nil to not add
9280         intermediate nodes to the history (first test-case of bug#9528).
9282 2011-09-18  Juri Linkov  <juri@jurta.org>
9284         * info.el (Info-mode-syntax-table): New variable.
9285         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9287 2011-09-18  Juri Linkov  <juri@jurta.org>
9289         * info.el (Info-file-supports-index-cookies):
9290         Increment line-beginning-position's arg from 3 to 4 because makeinfo
9291         outputs one more line for long file names (bug#4142).
9293 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
9295         * newcomment.el (comment-normalize-vars): If prompting for
9296         comment-start, set comment-start-skip too (Bug#8424).
9298 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
9300         * icomplete.el: Fix previous fix of Bug#5849.
9301         (icomplete-mode): Don't set completion-show-inline-help.
9302         (icomplete-minibuffer-setup): Set completion-show-inline-help
9303         locally during icompletion.
9305 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
9307         * woman.el (woman2-process-escapes): Don't delete unrecognized
9308         escapes (Bug#7843).
9310         * files.el (inhibit-first-line-modes-regexps): Add image files.
9311         (hack-local-variables-prop-line): Return nil for malformed
9312         prop-lines (Bug#9044).
9314 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
9316         * net/tramp.el (top): Don't require 'shell.
9317         (tramp-methods): Fix docstring.
9318         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9319         Return complete remote file name.  Handle "smb" case.
9320         Use `tramp-tmpdir', if defined for the respective method.
9321         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9323         * net/tramp-compat.el (top): Require 'shell.
9325         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9326         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9327         `tramp-current-host'.
9328         (tramp-get-remote-tmpdir): Remove.
9330         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9331         `tramp-tmpdir' entries.
9332         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9333         (tramp-smb-handle-file-attributes): Ignore errors.
9334         (tramp-smb-wait-for-output): Check also for process end.
9336 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9338         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9339         when sending QUIT (bug#9312).
9341 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
9343         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9344         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9345         occur-mode-display-occurrence.
9346         (occur-edit-mode): Add usage message.
9347         (occur-cease-edit): New command.
9348         (occur-after-change-function): Use text properties to find the
9349         position of the prefix text.
9350         (occur-engine): Set stickiness of prefix text properties.
9352 2011-09-17  Glenn Morris  <rgm@gnu.org>
9354         * progmodes/etags.el (complete-tag):
9355         Fix call to completion-in-region.  (Bug#9526)
9357 2011-09-17  Juri Linkov  <juri@jurta.org>
9359         * textmodes/ispell.el (ispell-word): Add to the error message
9360         the word, ispell program name and current dictionary (bug#9121).
9361         (ispell-tex-arg-end): Capitalize "error" in the error message.
9363 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
9365         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9366         check.  (Bug#4251)
9368 2011-09-17  Juri Linkov  <juri@jurta.org>
9370         * window.el (window-safe-min-height, window-safe-min-width):
9371         Fix typos (followup to bug#9522).
9373 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
9375         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9377 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
9379         * simple.el (line-move): If goal-column is set, move by logical
9380         lines, not by display lines.  (Bug#971)
9381         (next-line, previous-line, goal-column, line-move-visual): Doc fix
9382         to reflect the above change.
9384 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9386         * image.el (imagemagick-register-types): Use regexp-opt.
9388 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
9390         * window.el (display-buffer-base-action): Rename from
9391         display-buffer-default-action.  Make default value empty.
9392         (display-buffer-overriding-action): Convert to defvar.
9393         (display-buffer-fallback-action): New var.
9395 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
9397         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9398         declaration.
9399         (package--add-to-archive-contents): If there is a duplicate entry
9400         with an older version, remove it.
9401         (package-menu-mark-delete, package-menu-mark-install)
9402         (package-menu-mark-unmark): Make unused args optional.
9403         (package-menu-mark-obsolete-for-deletion):
9404         Use package-menu-get-status instead of a regexp search.
9405         (package-menu-get-status): Use tabulated-list-entry.
9406         (package-menu-mark-upgrades): New command.
9407         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
9408         (package-menu-execute): Do installation before deletion.
9409         (package-menu-refresh, package-menu-execute): Use derived-mode-p
9410         instead of checking major-mode.
9411         (package-menu--find-upgrades): New function.
9413 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9415         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9416         passwords in the log buffer.
9417         (smtpmail-process-filter): Update the process marker so that the
9418         "broken by peer" status message is inserted in the right place.
9420 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9422         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9423         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9424         bibtex-completion-at-point-function.
9425         (bibtex-completion-at-point-function): Use them.
9427         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9429         * mpc.el (mpc-constraints-tag-lookup): New function.
9430         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9431         also to browser "album|playlist".
9433 2011-09-14  Juri Linkov  <juri@jurta.org>
9435         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
9436         (isearch-edit-string): Use length of `isearch-string' when
9437         `isearch-fail-pos' returns nil.
9438         (isearch-message): Remove duplicate code and call
9439         `isearch-fail-pos' with arg `t'.
9441 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
9443         * replace.el (occur-mode-goto-occurrence): Don't force using other
9444         window (Bug#9499).
9446         * dired-aux.el (dired-do-chmod): Don't provide initial input.
9448 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
9450         * window.el (display-buffer-window): Remove.
9451         (display-buffer-record-window): Use help-setup window parameter
9452         instead of variable display-buffer-window.
9453         (display-buffer-function, special-display-buffer-names)
9454         (special-display-function): Mention help-setup parameter instead
9455         of display-buffer-window in doc-string.
9456         * help.el (help-window-setup): New argument help-window.
9457         Use help-window-setup parameter instead of display-buffer-window.
9458         Reword some messages.
9459         (with-help-window): Pass window used for displaying the buffer
9460         to help-window-setup.  Don't set display-buffer-window.
9462 2011-09-13  Glenn Morris  <rgm@gnu.org>
9464         * emacs-lisp/debug.el (debugger-make-xrefs):
9465         Preserve point.  (Bug#9462)
9467 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
9469         * window.el (window-deletable-p): Use next-frame.
9471 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
9473         * window.el (window-auto-delete): Remove.
9474         (window-deletable-p): Remove argument FORCE.  Don't deal with
9475         dedication and previous buffers.
9476         (switch-to-prev-buffer): Don't delete window.
9477         (delete-windows-on): Delete a window's frame if and only if the
9478         window is dedicated.
9479         (replace-buffer-in-windows): Delete buffer's window or frame if
9480         and only if window is dedicated.
9481         (quit-window): Handle quit-restore as before last change.
9482         (bury-buffer): Delete window only if window-deletable-p returns t.
9484 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
9486         * window.el (window-deletable-p): Never delete the last frame on a
9487         given terminal.
9489 2011-09-13  Glenn Morris  <rgm@gnu.org>
9491         * help.el (describe-key-briefly): Copy previous standard-output change.
9493 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
9495         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
9497 2011-09-13  Glenn Morris  <rgm@gnu.org>
9499         * emacs-lisp/lisp-mode.el (lisp-indent-function):
9500         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9502 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
9504         * dired-aux.el (dired-mark-read-string): Don't return default
9505         value on empty input (Bug#9361).
9506         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9507         Omit initial minibuffer contents.
9508         (dired-do-chmod): Signal an error on empty input.
9509         (dired-mark-read-string): Don't return default on empty input.
9511         * files.el (file-modes-symbolic-to-number): Doc fix.
9513 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9515         * international/mule-cmds.el (ucs-completions): Remove.
9516         (read-char-by-name): Use complete-with-action instead; add metadata.
9518 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
9520         * window.el (display-buffer--action-function-custom-type)
9521         (display-buffer--action-custom-type): New vars.
9522         (display-buffer-alist, display-buffer-default-action)
9523         (display-buffer-overriding-action): Add defcustom types.
9525         * frame.el (delete-other-frames): Doc fix (Bug#276).
9527 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9529         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9531 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
9533         Change modes that used same-window-* vars to use switch-to-buffer.
9535         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9536         Use switch-to-buffer.
9538         * cus-edit.el (customize-group, custom-buffer-create)
9539         (customize-browse, custom-buffer-create-other-window):
9540         Use switch-to-buffer or switch-to-buffer-other-window.
9542         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9543         (Info-prev, Info-up, Info-speedbar-goto-node)
9544         (info-display-manual): Use switch-to-buffer.
9545         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9547         * mail/sendmail.el (mail): Use switch-to-buffer.
9548         (mail-recover): Use switch-to-buffer-other-window.
9550         * cmuscheme.el (run-scheme, switch-to-scheme):
9551         * ielm.el (ielm):
9552         * shell.el (shell):
9553         * net/rlogin.el (rlogin):
9554         * net/telnet.el (telnet, rsh):
9555         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9557 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
9559         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9561 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9563         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9564         so don't mention it (bug#9301).
9565         (dired-sort-toggle-or-edit): Clarify string further.
9567         * faces.el (face-spec-set-match-display): Make `(type graphic)'
9568         match `x', `w32' and `ns', like the manual says (bug#9029).
9570         * subr.el (eval-after-load): Doc string clarification (bug#9125).
9571         (process-kill-buffer-query-function): Mention the buffer name in
9572         the query.
9574         * image-mode.el (image-next-line): The line parameter is mandatory
9575         (bug#9258).
9577         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9578         which can be useful (bug#9301).
9580         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9582         * subr.el (match-string): Mention that the current buffer should
9583         be the same as the search was done in (bug#9282).
9585         * facemenu.el: Disable the remove-* commands if the mark isn't
9586         active (bug#9162).
9588 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
9590         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9591         of display-buffer.
9592         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9594         * replace.el (occur-mode-goto-occurrence)
9595         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9596         and display-buffer.
9598         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9599         display-buffer.
9601         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9602         special-display and same-window variables.
9603         (mail-other-window): Use switch-to-buffer-other-window.
9604         (mail-other-frame): USe switch-to-buffer-other-frame.
9606         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9607         Use display-buffer-other-frame.
9608         (gdb-display-gdb-buffer): Use pop-to-buffer.
9610         * progmodes/gud.el (gud-goto-info): Use info-other-window.
9612         * progmodes/python.el: Don't set same-window-buffer-names.
9614         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9616         * window.el (display-buffer-alist): Add *Python*.
9618 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
9620         * window.el (display-buffer-alist): Add entry for buffers
9621         previously handled same-window-*.
9622         (display-buffer-alist, display-buffer-default-action)
9623         (display-buffer-overriding-action): Mark as risky.
9624         (display-buffer-alist): Document action function changes.
9625         (display-buffer--same-window-action)
9626         (display-buffer--other-frame-action): New variables.
9627         (switch-to-buffer, display-buffer-other-frame): Use them.
9628         (display-buffer): Rename reuse-frame entry to reusable-frames.
9629         (display-buffer-reuse-selected-window): Function deleted.
9630         (display-buffer-reuse-window): Handle reusable-frames alist entry.
9631         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9632         (display-buffer-special): New function.
9633         (display-buffer--maybe-pop-up-frame-or-window): Rename from
9634         display-buffer-reuse-or-pop-window.  Split off special-display
9635         part into display-buffer-special.
9636         (display-buffer-use-some-window): Don't perform any special
9637         pop-up-frames handling.
9638         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9639         (display-buffer--maybe-same-window): Rename from
9640         display-buffer-maybe-same-window.
9642         * info.el: Don't set same-window-regexps.
9643         (info-setup): New function.
9644         (info-other-window, info): Call it.
9646         * cus-edit.el: Don't set same-window-regexps.
9647         (customize-group): New argument.
9648         (customize-group-other-window): Use it.
9649         (customize-face, customize-face-other-window): Likewise.
9650         (custom-buffer-create-other-window): Use pop-to-buffer directly.
9652         * net/rlogin.el:
9653         * net/telnet.el:
9654         * progmodes/gud.el: Don't set same-window-regexps.
9656         * cmuscheme.el:
9657         * ielm.el:
9658         * shell.el:
9659         * mail/sendmail.el:
9660         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9662 2011-09-10  Juri Linkov  <juri@jurta.org>
9664         * isearch.el (isearch-edit-string): Remove obsolete mention of
9665         `C-w' (`isearch-yank-word-or-char') from docstring.
9666         (isearch-query-replace): Fix typo in docstring (bug#9466).
9668 2011-09-10  Juri Linkov  <juri@jurta.org>
9670         * paren.el (show-paren-function): Don't show escaped parens.
9671         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
9673 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
9675         * mail/sendmail.el (mml-to-mime, mml-attach-file)
9676         (mm-default-file-encoding): Remove autoload forms, they are
9677         replaced with autoload cookies in mml.el and mm-encode.el.
9678         (mail-add-attachment): New command.
9679         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9680         (mail-mode): Mention mail-insert-file and mail-add-attachment in
9681         the doc string.
9682         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9684 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
9686         * simple.el (count-words-region): Use buffer if there's no region
9687         (bug#9429).
9689 2011-09-09  Juri Linkov  <juri@jurta.org>
9691         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9692         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9693         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
9695 2011-09-09  Alan Mackenzie  <acm@muc.de>
9697         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9698         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
9700 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
9702         Fix for Savannah bug#9392.
9703         * simple.el (mail-encode-mml): New defvar.
9705         * mail/rmail.el (mail-encode-mml): Add a defvar.
9706         (rmail-enable-mime-composing): Default to t.
9707         (rmail-forward): Use MIME method of forwarding only if both
9708         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9709         Set mail-encode-mml non-nil if the MIME method was used.
9711         * mail/sendmail.el (mml-to-mime): Add autoload form.
9712         (mail-encode-mml): Add a defvar.
9713         (mail-mode): Make mail-encode-mml buffer-local and initialize it
9714         to nil.
9715         (mail-send): If mail-encode-mml is non-nil, run the outgoing
9716         message through mml-to-mime, and reset mail-encode-mml to nil.
9718 2011-09-09  Glenn Morris  <rgm@gnu.org>
9720         * woman.el (woman-if-body): When processing an .el block,
9721         do not delete the next .el block as well.  (Bug#9447)
9722         (woman-special-characters): Add oq, cq, and hy characters.
9724 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
9726         * window.el (window-deletable-p): Make sure window is live before
9727         invoking window-prev-buffers.
9729 2011-09-08  Leo Liu  <sdl.web@gmail.com>
9731         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
9733 2011-09-08  Juri Linkov  <juri@jurta.org>
9735         * progmodes/compile.el (compilation-environment): Make it
9736         a defcustom (bug#8340).
9738 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
9740         * window.el (frame-auto-delete): Rename to window-auto-delete.
9741         Make it control auto-deletion of windows and/or frames.
9742         (window-deletable-p): New argument FORCE.  Rewrite conditions
9743         for deleting window/frame.  (Bug#9419)
9744         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9745         Rewrite handling of case when window/frame can be deleted.
9746         (delete-windows-on): Call window-deletable-p with new FORCE
9747         argument t.  (Bug#9456)
9749 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
9751         * help-mode.el (help-mode): Restore autoload.
9753 2011-09-07  Juri Linkov  <juri@jurta.org>
9755         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9756         `compilation-environment'.  Set buffer-local
9757         `compilation-environment' to `thisenv' later after (funcall mode).
9758         (Bug#8340)
9760         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
9761         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9762         instead of replacing its value.  (Bug#8340)
9764 2011-09-07  Juri Linkov  <juri@jurta.org>
9766         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9767         based on text properties put by `grep-filter' instead of matching
9768         escape sequences.
9769         (grep-mode): Set buffer-local `compilation-error-screen-columns'
9770         to the value of `grep-error-screen-columns' (bug#9438).
9772 2011-09-07  Juri Linkov  <juri@jurta.org>
9774         * simple.el (next-error-highlight, next-error-highlight-no-select):
9775         Doc fix (bug#9432).
9777 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
9779         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9780         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
9782 2011-09-07  Leo Liu  <sdl.web@gmail.com>
9784         * net/rcirc.el (rcirc-mode): Conditionally initialize
9785         rcirc-input-ring.
9787 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9789         * emacs-lisp/find-func.el (find-function-C-source): Only set
9790         find-function-C-source-directory after checking that we found a source
9791         file there (bug#9440).
9793 2011-09-06  Alan Mackenzie  <acm@muc.de>
9795         * isearch.el (isearch-other-meta-char): Wherever a key list is
9796         unread, "unread" the prefix arg, too.  This fixes bug #8901.
9798 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9800         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9802 2011-09-05  Juri Linkov  <juri@jurta.org>
9804         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9806 2011-09-05  Juri Linkov  <juri@jurta.org>
9808         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9809         keeping point where processing of grep matches begins, and
9810         continue to delete remaining escape sequences from the same point.
9811         (grep-filter): Make leading zero optional in "0?1;31m" because
9812         git-grep emits "\033[1;31m" escape sequences unlike expected
9813         "\033[01;31m" as GNU Grep does (bug#9408).
9814         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9816 2011-09-05  Juri Linkov  <juri@jurta.org>
9818         * subr.el (y-or-n-p): Capitalize "yes".
9820 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
9822         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
9823         `tramp-cache-unload-hook' where appropriate.
9824         (tramp-methods): Rename `tramp-remote-sh' to
9825         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
9826         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9828         * net/tramp-sh.el (top): Don't require 'shell.
9829         (tramp-methods): Add `tramp-remote-shell' and
9830         `tramp-remote-shell-args' entries.
9831         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9832         (tramp-sh-handle-shell-command): Remove.
9833         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9834         Use `tramp-remote-shell'.
9836 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
9838         * mail/sendmail.el (sendmail-query-once-function): Delete.
9839         (sendmail-query-once): Save directly to send-mail-function.
9840         Update message-send-mail-function too.
9842         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9844 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
9846         * progmodes/python.el (python-mode-map): Use correct function to
9847         start python interpreter from menu-bar (as reported by Geert
9848         Kloosterman).
9849         (inferior-python-mode-map): Fix typo.
9850         (python-shell-map): Remove.
9852 2011-09-03  Deniz Dogan  <deniz@dogan.se>
9854         * net/rcirc.el (rcirc-print): Simplify code for
9855         rcirc-scroll-show-maximum-output.  There is no need to walk
9856         through all windows to find the right one.
9858 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
9860         * help.el (help-return-method): Doc fix.
9862 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
9864         * window.el (window-deletable-p): Don't return a non-nil value
9865         when there's a buffer that was shown in the window before.
9866         (Bug#9419)
9867         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9868         Set window's previous buffers to nil.
9870 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
9872         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9873         newline before and after the tag line, so it doesn't interfere
9874         with determining the paragraph direction of bidirectional text.
9876 2011-09-03  Leo Liu  <sdl.web@gmail.com>
9878         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
9880 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
9882         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9883         (pop-to-buffer): Change interactive spec.  Pass second argument
9884         directly to display-buffer.
9885         (display-buffer): Fix interactive spec.  Use functionp to
9886         distinguish between a function and a list of functions.
9888         * abbrev.el (edit-abbrevs):
9889         * arc-mode.el (archive-extract):
9890         * autoinsert.el (auto-insert):
9891         * bookmark.el (bookmark-bmenu-list):
9892         * files.el (find-file):
9893         * view.el (view-buffer):
9894         * progmodes/compile.el (compilation-goto-locus):
9895         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9897 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
9899         * window.el (display-buffer-alist): Doc fix.
9900         (display-buffer): Add docstring.  Don't treat
9901         display-buffer-default specially.
9902         (display-buffer-reuse-selected-window)
9903         (display-buffer-same-window, display-buffer-maybe-same-window)
9904         (display-buffer-reuse-window, display-buffer-pop-up-frame)
9905         (display-buffer-pop-up-window)
9906         (display-buffer-reuse-or-pop-window)
9907         (display-buffer-use-some-window): New functions.
9908         (display-buffer-default-action): Use them.
9909         (display-buffer-default): Delete.
9910         (pop-to-buffer-1): Fix choice of actions.
9912 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9914         * minibuffer.el (completion--insert-strings): Don't get confused by
9915         completion entries that end with an LF char.
9917 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
9919         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9921 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
9923         * window.el (display-buffer): Restore interactive spec.
9924         (display-buffer-same-window, display-buffer-other-window):
9925         New functions.
9926         (pop-to-buffer-1): New function.  Use the above.
9927         (pop-to-buffer, pop-to-buffer-same-window): Use it.
9928         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9930         * view.el (view-buffer-other-window, view-buffer-other-frame):
9931         Just use pop-to-buffer.
9933 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9935         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
9937 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
9939         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
9941 2011-08-31  Richard Stallman  <rms@gnu.org>
9943         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9944         of the separation of rmail-view-buffer from rmail-buffer.
9945         If you say no to "replace original", the decrypt is in the
9946         view buffer.  If you say yes, the decrypt goes into the
9947         rmail buffer also.
9949 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
9951         * window.el (display-buffer-window): Rewrite doc-string.
9952         (display-buffer-record-window): New function.
9953         (display-buffer-macro-specifiers)
9954         (display-buffer-even-window-sizes, display-buffer-set-height)
9955         (display-buffer-set-width, display-buffer-in-window)
9956         (display-buffer-reuse-window, display-buffer-split-specifiers)
9957         (display-buffer-side-specifiers, display-buffer-split-window-1)
9958         (display-buffer-split-window, display-buffer-split-atom-window)
9959         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9960         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9961         (display-buffer-other-window-means-other-frame)
9962         (display-buffer-normalize-special)
9963         (display-buffer-normalize-default)
9964         (display-buffer-normalize-argument)
9965         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9966         (display-buffer-normalize-specifiers, display-buffer-frame)
9967         (display-buffer-same-window, display-buffer-same-frame)
9968         (display-buffer-other-window)
9969         (display-buffer-same-frame-other-window)
9970         (display-buffer-other-frame, pop-to-buffer-same-window)
9971         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9972         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9973         (switch-to-buffer-same-frame)
9974         (switch-to-buffer-other-window-same-frame)
9975         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9976         (display-buffer-alist-set-1, display-buffer-alist-set-2)
9977         (display-buffer-alist-set): Remove.
9978         (display-buffer-function, special-display-buffer-names)
9979         (special-display-regexps, special-display-function):
9980         In doc-string refer to display-buffer-window and quit-restore
9981         parameter.
9982         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9983         (special-display-frame-alist, special-display-popup-frame)
9984         (same-window-buffer-names, same-window-regexps, same-window-p)
9985         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9986         (split-window-preferred-function, split-height-threshold)
9987         (split-width-threshold, window-splittable-p)
9988         (split-window-sensibly, window--try-to-split-window)
9989         (window--frame-usable-p, even-window-heights)
9990         (window--even-window-heights, window--display-buffer-1)
9991         (window--display-buffer-2, display-buffer-other-frame):
9992         Restore old Emacs 23 code, order and doc-strings where applicable.
9993         (display-buffer-default, display-buffer-assq-regexp): New functions.
9994         (display-buffer-alist): Rewrite doc-string.
9995         (display-buffer-default-action)
9996         (display-buffer-overriding-action): New variables.
9997         (display-buffer, switch-to-buffer): Rewrite.
9998         (pop-to-buffer): Restore Emacs 23 behavior but use
9999         window-normalize-buffer-to-display.
10000         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10001         Restore Emacs 23 behavior but use
10002         window-normalize-buffer-to-switch-to.
10003         (pop-to-buffer-same-window): Rewrite.
10004         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10005         Rewrite using Emacs 23 options.
10007 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
10009         * net/tramp.el (tramp-root-regexp): Remove.
10010         (tramp-completion-file-name-regexp-unified)
10011         (tramp-completion-file-name-regexp-separate)
10012         (tramp-completion-file-name-regexp-url): Don't use leading volume
10013         letter on win32 systems.  (Bug#5303, Bug#9311)
10014         (tramp-drop-volume-letter): Simplify definition.
10015         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10017 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10019         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10020         (bug#9356).
10022 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
10024         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10026 2011-08-29  Juri Linkov  <juri@jurta.org>
10028         * isearch.el (isearch-done): Don't display message "Mark saved"
10029         when arg `edit' is non-nil to prevent its flicker in the echo area.
10031 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
10033         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10034         obsolete packages for deletion.
10036 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
10038         * help-mode.el (help-mode-map): Add special-mode-map to parent.
10039         (help-mode): Derive help-mode from special-mode.  Don't invoke
10040         view-mode from help-mode.
10041         (help-xref-override-view-map): Remove.
10042         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10043         view-mode is not used anymore.
10045 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
10047         * server.el (server-port): Doc fix.
10049         * cus-theme.el (custom-theme-choose-mode): Inherit from
10050         special-mode (Bug#9124).
10051         (custom-theme-choose-mode-map): Add special-mode to parent.
10053 2011-08-28  Alan Mackenzie  <acm@muc.de>
10055         * progmodes/cc-fonts.el
10056         (c-make-font-lock-BO-decl-search-function): New function.
10057         (c-basic-matchers-after - "Fontify the clauses after various
10058         keywords"): Extract the three keyword lists for the 3 erroneous
10059         constructs from the list of four, and use the new function above
10060         in place of an old one.
10062 2011-08-28  Deniz Dogan  <deniz@dogan.se>
10064         * net/rcirc.el (rcirc-insert-prev-input)
10065         (rcirc-insert-next-input): Remove unused argument.
10067 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10069         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10071 2011-08-27  Alan Mackenzie  <acm@muc.de>
10073         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10074         handle function pointer parameters properly.
10076 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
10078         * window.el (display-buffer-reuse-window): Fix case where
10079         selected window was reused with non-nil OTHER-WINDOW argument.
10080         (Bug#9381)
10082 2011-08-27  Deniz Dogan  <deniz@dogan.se>
10084         * net/rcirc.el (rcirc-check-auth-status): Adding support for
10085         oftc's NickServ messages.
10087 2011-08-27  Glenn Morris  <rgm@gnu.org>
10089         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
10091 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
10093         * emacs-lisp/package.el (package-install): Call package-initialize
10094         if called interactively.
10096 2011-08-26  Leo Liu  <sdl.web@gmail.com>
10098         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
10100 2011-08-25  Juri Linkov  <juri@jurta.org>
10102         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10103         `search-whitespace-regexp' (bug#9364).
10105 2011-08-25  Juri Linkov  <juri@jurta.org>
10107         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10108         `regexp-search-ring' to their global values to protect from
10109         updating by `read-from-minibuffer' (bug#9185).
10111 2011-08-25  Juri Linkov  <juri@jurta.org>
10113         * textmodes/ispell.el (ispell-command-loop): Add newline
10114         at the end of the "Use option `i'..." line.
10116 2011-08-25  Juri Linkov  <juri@jurta.org>
10118         * battery.el (display-battery-mode): If `battery-status-function'
10119         or `battery-mode-line-format' is nil, display the message and set
10120         `display-battery-mode' to nil (bug#9363).
10122 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
10124         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10125         bidi-string-mark-left-to-right; they are unnecessary now.
10127 2011-08-25  Deniz Dogan  <deniz@dogan.se>
10129         * net/quickurl.el: Documentation typo fixes.
10131 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
10133         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10135 2011-08-25  Glenn Morris  <rgm@gnu.org>
10137         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10139         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10140         (smtpmail-via-smtp): Handle nil response from smtp.
10142 2011-08-24  Juri Linkov  <juri@jurta.org>
10144         * proced.el (proced-marked): Inherit from `error' instead of
10145         `font-lock-warning-face'.
10147         * ibuffer.el (ibuffer-marked-face): Change default face from
10148         `font-lock-warning-face' to `warning'.
10149         (ibuffer-deletion-face): Change default face from
10150         `font-lock-type-face' to `error'.
10152         * battery.el (battery-update): Use the face `error' instead of
10153         `font-lock-warning-face' (bug#6117).
10155 2011-08-24  Juri Linkov  <juri@jurta.org>
10157         * faces.el (success): Change face color from "Green3" to
10158         "ForestGreen" on light background (bug#9353).
10160 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
10162         * window.el (quit-window): Rename from quit-restore-window.
10163         Use same arglist as old quit-window.
10164         (frame-auto-delete): Doc fix.
10166         * view.el (view-mode-exit): Use quit-window.
10168 2011-08-24  Juri Linkov  <juri@jurta.org>
10170         * isearch.el (isearch-ring-adjust1): Start visiting previous
10171         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10172         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10173         for empty search string (when the last search string is reused
10174         automatically) to adjust the isearch ring to the last element and
10175         prepare the correct index for further M-p commands (bug#9185).
10177 2011-08-24  Kenichi Handa  <handa@m17n.org>
10179         * international/ucs-normalize.el: If decomposition property of
10180         CHAR is the default one (i.e. a list of CHAR itself), treat it as
10181         nil.
10182         (nfd, nfkd): Likewise.
10184 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10186         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10187         from process filters aren't reliably transmitted to the surrounding
10188         accept-process-output.
10189         (mpc-proc-check): New function.
10190         (mpc-proc-sync): Use it (bug#8293)
10192 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10194         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10195         Add compatibility functions (bug#9313).
10197 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
10199         * cus-start.el (all): Add entry for bidi-paragraph-direction.
10201         * international/uni-bidi.el: Regenerate.
10203 2011-08-23  Kenichi Handa  <handa@m17n.org>
10205         * international/charprop.el:
10206         * international/uni-bidi.el:
10207         * international/uni-category.el:
10208         * international/uni-combining.el:
10209         * international/uni-comment.el:
10210         * international/uni-decimal.el:
10211         * international/uni-decomposition.el:
10212         * international/uni-digit.el:
10213         * international/uni-lowercase.el:
10214         * international/uni-mirrored.el:
10215         * international/uni-name.el:
10216         * international/uni-numeric.el:
10217         * international/uni-old-name.el:
10218         * international/uni-titlecase.el:
10219         * international/uni-uppercase.el: Regenerate.
10221 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
10223         * help.el (help-window-setup): Fix message displayed when other
10224         window is reused.  (Bug#9341)
10226 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10228         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10229         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10231         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10232         Mark obsolete.
10233         * shell.el (shell-parse-pcomplete-arguments): New function.
10234         (shell-completion-vars): Use it instead (bug#9160).
10236 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10238         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10239         strings and comments (bug#9333).
10241         * emacs-lisp/debug.el (debug-arglist): New function.
10242         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
10243         (debug-on-entry-1): Handle interpreted closures (bug#9120).
10245 2011-08-22  Juri Linkov  <juri@jurta.org>
10247         * progmodes/compile.el (compilation-mode-font-lock-keywords):
10248         Revert regexp that highlights output switches to its old
10249         pre-2010-10-28 value and remove one `?' from it (bug#9319).
10251         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10252         to check for empty output (bug#9226).
10254 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
10256         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10257         symbol-constituent as the default, as that stops font-lock from
10258         working properly (Bug#8843).
10260 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10262         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10263         `coding-system-for-*' around the process open call to avoid
10264         auth-source side effects.
10265         (smtpmail-try-auth-methods): Expand the secret password.
10266         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10267         probe hangs.
10269 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
10271         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10273         * emacs-lisp/find-func.el (find-function-noselect): New arg
10274         lisp-only.
10276         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10277         signal an error for built-in functions (Bug#6664).
10279 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10281         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10282         (smtpmail-try-auth-methods): Use it.
10284 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
10286         * font-lock.el (font-lock-fontify-region)
10287         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10288         (font-lock-default-unfontify-buffer)
10289         (font-lock-default-fontify-region)
10290         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10292         * progmodes/compile.el (compilation-error-properties):
10293         Fix confusion between file struct and message struct (Bug#9319).
10294         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10295         `ant' regexp.
10297         * net/browse-url.el (browse-url-firefox): Don't call
10298         browse-url-firefox-sentinel unless using -remote (Bug#9328).
10300 2011-08-20  Glenn Morris  <rgm@gnu.org>
10302         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10304         * tutorial.el (tutorial--default-keys): Update some default bindings.
10306         * files.el (hack-local-variables): Fully ignore case for "mode:".
10308 2011-08-20  Alan Mackenzie  <acm@muc.de>
10310         Resolve invalid use of a regexp in regexp-opt.
10312         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10313         detection for a java annotation.
10315         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10316         detection for a java annotation.
10318         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10319         handling for java.
10320         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10322 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
10324         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10325         (Bug#9274).
10327 2011-08-20  Alan Mackenzie  <acm@muc.de>
10329         Fontify CPP expressions correctly when starting in the middle of
10330         such a construct.  Mainly for when jit-lock etc. starts a chunk
10331         here.
10333         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
10334         variable.
10335         (c-make-font-lock-search-form): New function, extracted from
10336         c-make-font-lock-search-function.
10337         (c-make-font-lock-search-function): Use the above function.
10338         (c-make-font-lock-context-search-function): New function.
10339         (c-cpp-matchers): Enhance the preprocessor expression case with
10340         the above function
10341         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10342         which takes an expression.
10344         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10346 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
10348         * window.el (display-buffer-reuse-window)
10349         (display-buffer-pop-up-window): Don't reuse or split a side
10350         window.
10352 2011-08-19  Glenn Morris  <rgm@gnu.org>
10354         * files.el (hack-local-variables-prop-line, hack-local-variables):
10355         Downcase "Mode:".  (Bug#9331)
10357 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
10359         * international/characters.el: Add L and R categories.
10361         * subr.el (bidi-string-mark-left-to-right): Rename from
10362         string-mark-left-to-right.  Use category search.
10364         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10366 2011-08-18  Juri Linkov  <juri@jurta.org>
10368         * faces.el (error, warning, success): New faces with definitions
10369         copied from old default values of `font-lock-warning-face',
10370         `compilation-warning', `compilation-info' (bug#6117).
10372         * font-lock.el (font-lock-warning-face): Inherit from `error'.
10374         * progmodes/compile.el (compilation-error): Inherit from `error'.
10375         (compilation-warning): Inherit from `warning'.
10376         (compilation-info): Inherit from `success'.
10378         * dired.el (dired-marked): Inherit from `warning'.
10379         (dired-flagged): Inherit from `error'.
10381 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10383         * mail/smtpmail.el (auth-source): Require to avoid problems with
10384         binding variables (bug#9298).  Also clean up some unused
10385         autoloads.
10387         * net/network-stream.el (network-stream-open-starttls):
10388         Support using starttls.el without using gnutls-cli.
10390 2011-08-17  Juri Linkov  <juri@jurta.org>
10392         * progmodes/grep.el (rgrep): Handle the case when
10393         `grep-find-command' is a cons cell (bug#9278).
10395 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
10397         * window.el (display-buffer-pop-up-frame): Run frame creation
10398         function with BUFFER current (as special-display-popup-frame
10399         does).  Reported by Drew Adams.
10401 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
10403         * epa-mail.el: Simplify GnuPG group expansion using
10404         epg-expand-group.
10405         (epa-mail-group-alist, epa-mail-group-modtime)
10406         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10407         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10408         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10409         Remove.
10411 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
10413         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10415 2011-08-16  Alan Mackenzie  <acm@muc.de>
10417         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10418         Correct, to avoid the inside of macros.
10420 2011-08-16  Richard Stallman  <rms@gnu.org>
10422         * epa-mail.el: Handle GnuPG group definitions.
10423         (epa-mail-group-alist, epa-mail-group-modtime)
10424         (epa-mail-gnupg-conf-file): New variables.
10425         (epa-mail-parse-groups, epa-mail-sync-groups)
10426         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10427         (epa-mail-expand-recipients): New functions.
10428         (epa-mail-encrypt): Call epa-mail-expand-recipients.
10430         * mail/rmail.el (rmail-epa-decrypt): New command.
10432         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10433         Don't bind buffer-read-only, just inhibit-read-only.
10434         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10435         (epa-decrypt-armor-in-region): Make error message clearer.
10437 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10439         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10440         and "a2b" to "ab" for `prefix'.
10442 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
10444         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10445         filter groups.
10446         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
10447         Fourquet (Bug#8804).
10449 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
10451         * startup.el (argi): Declare as global variable (bug#9275).
10453 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
10455         * subr.el (string-mark-left-to-right): Search the entire string
10456         for RTL script, not just the terminating character.  Doc fix.
10458 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10460         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10461         New function.
10462         (js--regexp-literal, js-syntax-propertize-function): Remove.
10463         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10464         (js-mode-map): Don't rebind electric keys.
10465         (js-insert-and-indent): Remove.
10466         (js-mode): Setup electric-layout and electric-indent instead.
10468         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10470 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
10472         * epa.el (epa-progress-callback-function): Fix the logic of
10473         displaying progress.
10474         * epa-file.el (epa-file-insert-file-contents): Make progress
10475         display more user-friendly.
10476         (epa-file-write-region): Ditto.
10478 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
10480         * subr.el (string-mark-left-to-right): New function.
10482         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10483         Use string-mark-left-to-right.
10484         (list-buffers-noselect): Caller changed.
10486         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10487         Use string-mark-left-to-right.
10488         (tabulated-list-print): Recenter after moving point.
10490 2011-08-10  Juri Linkov  <juri@jurta.org>
10492         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10493         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10494         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10496 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
10498         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10499         (Bug#7554).
10501 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10503         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10504         character.  (Bug#6594)
10506 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
10508         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10509         (image-dired--with-db-file): New macro.
10510         (image-dired-write-tags, image-dired-remove-tag)
10511         (image-dired-create-gallery-lists, image-dired-write-comments)
10512         (image-dired-get-comment, image-dired-mark-tagged-files)
10513         (image-dired-list-tags, image-dired-gallery-generate): Use it.
10514         (image-dired-gallery-generate): Use insert-file-contents.
10516         * time.el (display-time-world-list, display-time-world-display):
10517         * time-stamp.el (time-stamp-string):
10518         * vc/add-log.el (add-change-log-entry): Use setenv instead of
10519         set-time-zone-rule (Bug#7337).
10521 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
10523         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10524         (epg-error-to-string, epg-errors-to-string): New function.
10525         (epg-wait-for-completion): Reverse errors list.
10526         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10527         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10528         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10529         (epg-sign-keys, epg-generate-key-from-file)
10530         (epg-generate-key-from-string): Format errors by using
10531         epg-errors-to-string (bug#9255).
10532         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10534 2011-08-07  Juri Linkov  <juri@jurta.org>
10536         * faces.el (list-faces-display): Remove extra angle bracket
10537         from `help-mode-map'.
10539         * info.el (Info-history-toc-nodes): Doc fix.
10541         * longlines.el (longlines-mode): Doc fix.
10543 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10545         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10546         of statements and in a few more cases (bug#9183).
10548         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10549         New functions.
10550         (cl-transform-lambda): Use them (bug#9239).
10552 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
10554         * window.el (display-buffer-same-window)
10555         (display-buffer-same-frame, display-buffer-other-window)
10556         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10557         (pop-to-buffer-other-window)
10558         (pop-to-buffer-same-frame-other-window)
10559         (pop-to-buffer-other-frame): Make them defuns.
10560         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10562 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10564         * subr.el (make-composed-keymap): Move from C.  Change calling
10565         convention, and improve docstring to bring attention to a subtle point.
10566         * minibuffer.el (completing-read-default): Adjust accordingly.
10568 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
10570         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10571         (tramp-open-shell): Use `tramp-shell-quote-argument'.
10573         * net/trampver.el: Update release number.
10575 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10577         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10578         "in" (bug#9190).
10580 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10582         * mail/sendmail.el (sendmail-query-once): Restore the current
10583         buffer after querying (bug#9074).
10585         * dired.el (dired-flagged): Use different faces for marked and
10586         flagged files (bug#6117).
10588         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10589         (bug#4433).
10591         * ido.el (ido-mode): Switch off the message if called
10592         non-interactively.
10594         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10595         before 587, since it appears that that's more likely to work for
10596         more people.
10598         * cus-edit.el (custom-file): When running under emacs -q, always
10599         refuse to save the customizations, even if the .emacs file doesn't
10600         exist.
10602         * info.el: Remove the `Info-beginning-of-buffer' function
10603         (bug#8325).
10605         * net/network-stream.el (network-stream-open-starttls):
10606         Use `starttls-available-p' to see whether starttls.el can be used.
10608 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
10610         * window.el (display-buffer-in-window): Don't set dedicated status
10611         of window here (Bug#9215).
10612         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10613         (display-buffer-pop-up-side-window)
10614         (display-buffer-in-side-window): Set dedicated status of window here.
10616 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10618         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10619         before binding generated-autoload-file.
10621 2011-08-01  Deniz Dogan  <deniz@dogan.se>
10623         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10625 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
10627         Sync with Tramp 2.2.2.
10629         * net/trampver.el: Update release number.
10631 2011-07-30  Juri Linkov  <juri@jurta.org>
10633         * dired-aux.el (dired-touch-initial): Remove function.
10634         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10635         current time, and `default' to the last modification time of the
10636         current marked file (bug#6887).
10638 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
10640         * simple.el (goto-line): Use string-to-number to provide a
10641         numeric argument to read-number (bug#9163).
10643 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
10645         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10646         connection process, it could be nil.
10648 2011-07-27  Leo Liu  <sdl.web@gmail.com>
10650         Simplify url handling in rcirc-mode.
10652         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10653         (rcirc-browse-url-at-mouse): Remove.
10654         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10656 2011-07-26  Alan Mackenzie  <acm@muc.de>
10658         Fontify bitfield declarations properly.
10660         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10661         (c-symbol-chars): Now exported as a lang variable.
10662         (c-not-primitive-type-keywords): New lang variable.
10664         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10665         QT keyword "more" to prevent "more slots: ...." being spuriously
10666         parsed as a bitfield declaration.
10668         * progmodes/cc-engine.el (c-beginning-of-statement-1):
10669         Refactor and enhance to handle bitfield declarations.
10670         (c-punctuation-in): New function.
10671         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10672         declarations properly.
10674 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
10676         * calendar/icalendar.el (icalendar--all-events): Take care of
10677         multiple vcalendars in a single file.
10678         (icalendar--convert-float-to-ical): Checkdoc fixes.
10680 2011-07-25  Deniz Dogan  <deniz@dogan.se>
10682         * image.el (insert-image): Clarifying docstring.
10684 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
10686         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10687         `tramp-send-command-and-check' if there is no error.
10688         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10690 2011-07-22  Alan Mackenzie  <acm@muc.de>
10692         Prevent cc-langs.elc being loaded at run time.
10694         * progmodes/cc-mode.el: Remove two autoload forms which loaded
10695         cc-langs.
10697         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10698         "(require 'cc-langs)".  Quote a form so it will evaluate at
10699         (cc-mode's) compilation time.
10701 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
10703         * net/tramp.el (tramp-file-name-handler): Avoid recursive
10704         loading.  (Bug#9114)
10706 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
10708         * window.el (display-buffer-pop-up-window)
10709         (display-buffer-pop-up-side-window)
10710         (display-buffer-in-side-window): Call display-buffer-set-height
10711         and display-buffer-set-width after setting the new window's
10712         buffer so `fit-window-to-buffer' and friends work on the right buffer.
10714 2011-07-20  Sam Steingold  <sds@gnu.org>
10716         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10717         (etags-tags-included-tables): Call `convert-standard-filename' on
10718         the file names contained in TAGS so that windows Emacs can handle
10719         TAGS files created by cygwin ctags.
10721 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10723         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10724         which apparently didn't work.
10726 2011-07-19  Roland Winkler  <winkler@gnu.org>
10728         * proced.el (proced-send-signal): For *Marked Processes* buffer
10729         put point at beginning of buffer.
10731 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
10733         * proced.el (proced-format): Make header lines align with the text
10734         (bug#1779).
10736 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10738         * view.el (view-buffer): Allow running in `special' modes if we're
10739         visiting a file (bug#8615).
10741 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
10743         * window.el (display-buffer-alist-of-strings-p)
10744         (display-buffer-alist-set-1, display-buffer-alist-set-2):
10745         New functions.
10746         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10747         more accurately.
10749 2011-07-18  Alan Mackenzie  <acm@muc.de>
10751         Fontify declarators properly when, e.g., a jit-lock chunk begins
10752         inside a declaration.
10754         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10756         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10757         New function.
10758         (c-complex-decl-matchers): Insert reference to
10759         c-font-lock-enclosing-decls.
10761         * progmodes/cc-engine.el (c-backward-single-comment):
10762         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10763         to nil around calls to (forward-comment -1).
10765 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10767         * image.el (put-image): Doc typo fix.
10769         * progmodes/etags.el (tags-search): Doc typo fix.
10771         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10772         password if we get errors 550 to 554.
10774 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10776         * net/gnutls.el (gnutls-log-level): Remove.
10778         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10779         indentation character (bug#6380).
10781         * files.el (buffer-offer-save): Made permanently local (bug#6241).
10783         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10784         to clarify what the problem is (bug#4291).
10786         * simple.el (current-kill): Clarify what
10787         `interprogram-paste-function' does (bug#7500).
10788         (auto-fill-mode): Document `auto-fill-function' in relation to
10789         `auto-fill-mode' (bug#2470).
10791 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
10793         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10794         method if slot is read-only (bug#9035).
10796 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
10798         * frame.el (select-frame-set-input-focus): New argument NORECORD.
10799         * window.el (pop-to-buffer): Select window used even if it was
10800         selected before, see discussion of (Bug#8615), (Bug#6954).
10801         Pass argument NORECORD on to select-frame-set-input-focus.
10803 2011-07-15  Glenn Morris  <rgm@gnu.org>
10805         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
10806         Respect help-form.
10808 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
10810         * net/gnutls.el (gnutls-min-prime-bits): New variable.
10811         (gnutls-negotiate): Use it.
10813 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10815         * net/gnutls.el (gnutls-negotiate):
10816         Upcase `gnutls-algorithm-priority'.
10818 2011-07-15  Glenn Morris  <rgm@gnu.org>
10820         * jka-compr.el (jka-compr-verbose): Move from here...
10821         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
10822         Add missing :version tag.
10823         * info.el: No need to require jka-compr when compiling.
10825 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10827         * net/gnutls.el (gnutls-algorithm-priority): New variable.
10828         (gnutls-negotiate): Use it.
10830         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10832         * info.el (Info-beginning-of-buffer): New command.
10833         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10834         announcing `b' as the key (bug#8325).
10835         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10837         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10839         * international/mule-cmds.el
10840         (describe-specified-language-support): Make the error message
10841         clearer (bug#8905).
10843         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10845         * isearch.el (isearch-barrier): Add a doc string, since it's
10846         mentioned in a function doc string (bug#8678).
10848 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
10850         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10851         buffer argument (Bug#9083) and self-identifying label argument.
10853 2011-07-15  Glenn Morris  <rgm@gnu.org>
10855         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
10857 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10859         * man.el (Man-fontify-manpage): Fix message when formatting the
10860         man page (bug#7929).
10862 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
10864         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10865         argument LRM; if non-nil, append an invisible LRM character to the
10866         buffer name.
10867         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10868         last argument non-nil, when formatting buffer names.
10869         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10870         paragraph direction.
10872 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10874         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10875         the man page name (bug#7929).
10877         * image.el (put-image): Mention the `put-image' overlay property
10878         (bug#7834).
10880         * scroll-bar.el (set-scroll-bar-mode): Mention that
10881         `scroll-bar-mode' lists the values (bug#7772).
10883         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10884         command (bug#7729).
10886         * rect.el (apply-on-rectangle): Return the point after the last
10887         operation.
10888         (string-rectangle): Go to the point after the last operation
10889         (bug#7522).
10891         * printing.el (pr-toggle-region): Clarify the documentation
10892         slightly (bug#7493).
10894         * time.el (display-time-update):
10895         Allow `display-time-mail-function' to return nil (bug#7158).
10896         Fix suggested by Detlev Zundel.
10898         * vc/diff.el (diff): Clarify the order the file names are read
10899         (bug#7111).
10901         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10902         the doc string (bug#7015).
10904         * font-lock.el (font-lock-maximum-decoration): Mention what
10905         numeric levels mean (bug#6935).
10907         * startup.el (initial-buffer-choice): Don't mention the `none'
10908         selection, which is against policy.
10910 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
10912         * window.el (display-buffer-normalize-special):
10913         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10915 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
10917         * subr.el (version<, version<=, version=): Mention "-CVS" and
10918         "-12345" alpha version numbers.
10920 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
10922         * bindings.el: Add advertised binding for set-mark-command
10923         (Bug#5772).
10925 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
10927         * bindings.el (mode-line-other-buffer):
10928         * bookmark.el (bookmark-bmenu-2-window):
10929         * bs.el (bs-cycle-next, bs-cycle-previous):
10930         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10931         switch-to-buffer.
10933         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10934         Delete.
10936 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
10938         * follow.el (follow-debug-message, follow-redisplay):
10939         * jka-cmpr-hook.el (with-auto-compression-mode):
10940         Fix typos in docstrings.
10942 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10944         * subr.el (with-silent-modifications): Clarify somewhat what the
10945         macro inhibits (bug#6525).
10947         * simple.el (eval-expression): Note what it does if called
10948         interactively (bug#6495).
10950 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10952         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10953         Use pop-to-buffer buffer-or-name if it is nil.
10955         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10956         Remove switch-to-buffer.
10958 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10960         * files.el (make-directory): Clarify that an error will be raised
10961         if there's an error (bug#6397).
10963         * startup.el (initial-buffer-choice): Add `none' as a choice
10964         (bug#6234).
10966         * subr.el (add-hook): Clarify section about buffer-local hooks
10967         (bug#6218).
10969         * dired.el (dired-flagged): Clarify doc string (bug#6117).
10971 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
10973         * tabify.el (untabify): Preserve the current column so that point
10974         doesn't move (bug#6032).
10976 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10978         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10979         Rewrite to avoid awkward possessive "s" (bug#5986).
10981 2011-07-13  Glenn Morris  <rgm@gnu.org>
10983         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
10984         (dired-insert-directory): Give a message the first time
10985         if ls is found not to support --dired.
10987 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10989         * simple.el (toggle-truncate-lines): Clarify what is toggled
10990         (bug#5580).  Text by Drew Adams.
10992 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10994         * simple.el (blink-matching-open): Make the error message from the
10995         last change less verbose.
10997 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
10999         * font-lock.el (font-lock-comment-face): Use the high contrast
11000         "yellow" color for font-lock-comment-face on low color terminals
11001         using a dark background color (bug#4221).
11003 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11005         * dired.el (dired-insert-set-properties): Make the doc string
11006         reflect what it does now (bug#5325).
11008         * simple.el (blink-matching-open): Say that we were unable to find
11009         the match within the limit, if we're limited (bug#5122).
11011         * international/mule-cmds.el (prefer-coding-system): Add an
11012         example (bug#4869).
11014         * progmodes/etags.el (tags-search): Document `file-list-form'
11015         (bug#4731).
11017 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
11019         * net/browse-url.el (browse-url-default-browser)
11020         (browse-url-browser-function): Make the default browser choice a
11021         bit more logical (bug#4300).  Also clean up the doc string.
11023 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
11025         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11026         binary endings (bug#4440).
11028 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11030         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11031         which can be pretty annoying (bug#8971).
11033         * jka-compr.el (jka-compr-verbose): New variable, and use
11034         throughout (bug#8971).
11036         * info.el (Info-find-file): Fall back on the installation
11037         directory if we can't find the info node anywhere else.
11039 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
11041         * vc/vc.el (vc-revert-file):
11042         Don't set file time-stamp in the past.  (Bug#5181)
11044 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11046         * files.el (after-find-file): Give a better error message when
11047         trying to find a symlink that points to a file that doesn't exist
11048         (bug#4398).
11050         * progmodes/cc-vars.el: Remove (probably) misleading comment
11051         (bug#4396).
11053 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
11055         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11057 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
11059         * mouse-sel.el: Hack restoring functionality, while keeping
11060         compatibility with 2010-07-03 changes to mouse selection.
11061         (mouse-sel-primary-overlay): New var.
11062         (mouse-sel-selection-alist): Use it.
11063         (mouse-sel-mode): Doc fix; remove points that are default features
11064         of mouse.el.
11066 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
11068         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11069         Fix previous fix (bug#2490).
11071 2011-07-12  Roland Winkler  <winkler@gnu.org>
11073         * textmodes/bibtex.el (bibtex-initialize):
11074         Use pop-to-buffer-same-window.
11075         (bibtex-search-entries): Fix interactive call.
11077 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11079         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11080         Fontise bytecomp Error lines more correctly (bug#2490).
11081         Fix suggested by Johan Bockgård.
11083         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11085         * dired-x.el (dired-guess-default): Use `delete-dups'.
11087 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
11089         * dired.el (dired-mark-prompt):
11090         * dired-aux.el (dired-read-shell-command): Doc fix.
11092 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11094         * mail/sendmail.el (sendmail-query-once):
11095         Use `customize-save-variable' unconditionally, now that it works under
11096         emacs -Q.
11098         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11100         * cus-edit.el (custom-file): Take an optional no-error variable.
11101         (customize-save-variable): Set the variable, and give a warning if
11102         running under "emacs -q".
11104 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
11106         * loadhist.el (unload-feature-special-hooks):
11107         Add `auto-coding-functions', `fill-nobreak-predicate' and
11108         `find-directory-functions' (bug#5327).
11110 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11112         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11114         * cus-edit.el (custom-guess-name-alist): -alist variables should
11115         use the `alist' type (bug#3120).  Suggested by Drew Adams.
11117         * printing.el: Add documentation to all the `pr-toggle-' commands.
11119 2011-07-11  Leo Liu  <sdl.web@gmail.com>
11121         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11122         backends where it makes sense (bug#2623).
11124 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11126         * dired-x.el (dired-guess-default): Remove duplicate shell command
11127         entries (bug#2028).
11128         (dired-guess-default): Fix grammar in doc string (bug#2028).
11129         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11131         * subr.el (remove-duplicates): New conveniency function.
11133 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11135         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11136         (bug#1526).
11138 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
11140         * window.el (display-buffer-normalize-default): Don't invert
11141         meaning of even-window-heights.  Reported by Eli Zaretskii
11142         <eliz@gnu.org>.
11144 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
11146         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11148 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
11150         * window.el (display-buffer): Fix arguments to
11151         display-buffer-reuse-window in last change.
11153         * faces.el (link): Use a less saturated blue on light backgrounds.
11155         * startup.el (fancy-startup-text, fancy-about-text)
11156         (fancy-startup-tail): Use font-lock faces, for background safety.
11158 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
11160         * emulation/viper-cmd.el (viper-change-state-to-vi):
11161         Limit triggering of abbrev expansion (Bug#9038).
11163 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
11165         * window.el (display-buffer-default-specifiers): Remove.
11166         (display-buffer-macro-specifiers): Remove default specifiers.
11167         (display-buffer-alist): Default to nil.
11168         (display-buffer-reuse-window): New optional argument other-window.
11169         (display-buffer-pop-up-window): Allow splitting internal
11170         windows.  Check whether a live window was created.
11171         (display-buffer-other-window-means-other-frame)
11172         (display-buffer-normalize-arguments): Rename to
11173         display-buffer-normalize-argument and rewrite.  Set the
11174         other-window specifier.
11175         (display-buffer-normalize-special): New function.
11176         (display-buffer-normalize-options): Rename to
11177         display-buffer-normalize-default and rewrite.
11178         (display-buffer-normalize-options-inhibit): Remove.
11179         (display-buffer-normalize-specifiers): Rewrite.
11180         (display-buffer): Process other-window specifier and call
11181         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
11182         more faithfully.
11183         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11184         (display-buffer-alist-set): Don't handle 'unset default values.
11185         (display-buffer-in-window, display-buffer-alist-set):
11186         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
11187         <tassilo@member.fsf.org>.
11189 2011-07-09  Leo Liu  <sdl.web@gmail.com>
11191         * register.el (insert-register): Restore accidental change on
11192         2011-06-26.  (Bug#9028)
11194 2011-07-09  Glenn Morris  <rgm@gnu.org>
11196         * subr.el (remq): Handle the empty list.  (Bug#9024)
11198 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
11200         * mail/sendmail.el (send-mail-function): No longer delay custom
11201         initialization.
11202         * custom.el (custom-initialize-delay): Doc fix.
11204 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11206         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11208 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
11210         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11211         human-friendly prompt.
11213 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11215         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11216         provided by a particular plugin.
11218 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11220         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11221         save customizations (with "emacs -Q"), just set the variable
11222         instead of erroring out.
11224         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11226 2011-07-08  Juri Linkov  <juri@jurta.org>
11228         * arc-mode.el (archive-zip-expunge, archive-zip-update)
11229         (archive-zip-update-case): Use 7z if found by `executable-find'.
11230         The order of searching the available programs is the same as in
11231         `archive-zip-extract' (bug#8968).
11233 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
11235         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11236         (menu-bar-options-menu): Tweak descriptions.
11238 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11240         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11241         menu items into verb phrases (bug#1421).  Also refill to fit under
11242         80 columns.
11244 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
11246         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11247         (Info-read-node-name): Doc fix (Bug#1084).
11249         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11250         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11251         (end-of-sexp, beginning-of-sexp)
11252         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11253         (forward-symbol, forward-same-syntax, word-at-point)
11254         (sentence-at-point): Doc fix (Bug#1144).
11256 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11258         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11259         should cover it (bug#1281).
11261         * cus-edit.el (custom-show): Mark as obsolete.
11263         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11264         negotiation fails, then possibly try again with a non-encrypted
11265         connection (bug#9017).
11267         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11268         be used.
11270 2011-07-07  Richard Stallman  <rms@gnu.org>
11272         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11273         property, and handle its changed format.
11274         Look for the correct line number.
11275         Use file's line contents (but not past first =) to find
11276         correct line in message.
11278 2011-07-07  Kenichi Handa  <handa@m17n.org>
11280         * international/characters.el (build-unicode-category-table):
11281         Delete it.
11282         (unicode-category-table): Set it by unicode-property-table-internal.
11284         * international/mule-cmds.el (char-code-property-alist): Move to
11285         to src/chartab.c.
11286         (get-char-code-property): Call unicode-property-table-internal to
11287         load a file.  Call get-unicode-property-internal where necessary.
11288         (put-char-code-property): Call unicode-property-table-internal to
11289         load a file.  Call put-unicode-property-internal where necessary.
11290         put-unicode-property-internal where necessary.
11291         (char-code-property-description):
11292         Call unicode-property-table-internal to load a file.
11294         * international/charprop.el:
11295         * international/uni-bidi.el:
11296         * international/uni-category.el:
11297         * international/uni-combining.el:
11298         * international/uni-comment.el:
11299         * international/uni-decimal.el:
11300         * international/uni-decomposition.el:
11301         * international/uni-digit.el:
11302         * international/uni-lowercase.el:
11303         * international/uni-mirrored.el:
11304         * international/uni-name.el:
11305         * international/uni-numeric.el:
11306         * international/uni-old-name.el:
11307         * international/uni-titlecase.el:
11308         * international/uni-uppercase.el: Regenerate.
11310         * loadup.el: Load international/charprop.el before
11311         international/characters.
11313 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
11315         * window.el (next-buffer, previous-buffer): Signal an error if
11316         called from a minibuffer window.
11318         * bindings.el: Revert 2011-07-04 change.
11320 2011-07-06  Richard Stallman  <rms@gnu.org>
11322         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11323         (rmail-mime-insert-bulk, rmail-mime-insert-text):
11324         Treat markers like ints.
11325         (rmail-mime-entity): Doc fix.
11327 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11329         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11330         defcustom again for backwards compatibility.
11332         * simple.el (shell-command-on-region): Fill.
11334         * dired-aux.el (dired-kill-line): Add a doc string.
11336         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11337         to "\\sw\\|\\s_" (bug#358).
11339         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11340         (dired-unmark-backward): Ditto.
11341         (dired-flag-backup-files): Ditto.
11343         * dired-x.el (dired-mark-sexp): Ditto.
11345 2011-07-06  Richard Stallman  <rms@gnu.org>
11347         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11348         (rmail-mime-entity): New arg TRUNCATED.
11349         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11350         New functions.
11351         (rmail-mime-save): Warn if entity is truncated.
11352         (rmail-mime-toggle-hidden): Likewise, for showing.
11353         (rmail-mime-process-multipart): Record when an entity is truncated.
11355         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11356         if ENTITY is a string.
11358 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11360         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
11361         of faces when `M-C-x'-ing their definitions (bug#8378).
11362         Also clean up the code slightly.
11364         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
11365         because that makes the colors go away.
11367         * mail/sendmail.el (send-mail-function): Change the default to
11368         `sendmail-query-once'.
11369         (sendmail-query-once): Add an autoload cookie.
11371         * net/network-stream.el (network-stream-open-starttls): Try using
11372         a plain connection even if the server offered STARTTLS, and we
11373         kinda wanted to use it, if Emacs doesn't have any STARTTLS
11374         capability.  This should make smtpmail.el work in slightly more
11375         configurations.
11377 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
11379         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11380         New defun.
11381         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11383 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
11385         * progmodes/sql.el: Version 3.0
11386         (sql-product-alist): Add product :completion-object,
11387         :completion-column, and :statement attributes.
11388         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
11389         (sql-mode-syntax-table): Mark all punctuation.
11390         (sql-font-lock-keywords-builder): Temporarily remove fallback on
11391         ansi keywords.
11392         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
11393         (sql-mode-oracle-font-lock-keywords): Improve.
11394         (sql-oracle-show-reserved-words): New function for development.
11395         (sql-product-font-lock): Simplify for source code buffers.
11396         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11397         New functions.
11398         (sql-highlight-product): Set product specific syntax table.
11399         (sql-mode-map): Add statement movement functions.
11400         (sql-ansi-statement-starters, sql-oracle-statement-starters):
11401         New variable.
11402         (sql-statement-regexp, sql-beginning-of-statement)
11403         (sql-end-of-statement, sql-signum): New functions.
11404         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
11405         (sql-show-sqli-buffer): Bug fix.
11406         (sql-interactive-mode): Store connection data as buffer local.
11407         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
11408         with sql-interactive-mode.
11409         (sql-save-connection): Save buffer local settings.
11410         (sql-connection-menu-filter): Change menu entry name.
11411         (sql-product-interactive): Bug fix.
11412         (sql-preoutput-hold): New variable.
11413         (sql-interactive-remove-continuation-prompt): Bug fixes.
11414         (sql-debug-redirect): New variable.
11415         (sql-str-literal): New function.
11416         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
11417         Redesign.
11418         (sql-oracle-save-settings, sql-oracle-restore-settings)
11419         (sql-oracle-list-all, sql-oracle-list-table): New functions.
11420         (sql-completion-object, sql-completion-column)
11421         (sql-completion-sqlbuf): New variables.
11422         (sql-build-completions-1, sql-build-completions)
11423         (sql-try-completion): New functions.
11424         (sql-read-table-name): Use them.
11425         (sql-contains-names): New buffer local variable.
11426         (sql-list-all, sql-list-table): Use it.
11427         (sql-oracle-completion-types): New variable.
11428         (sql-oracle-completion-object, sql-sqlite-completion-object)
11429         (sql-postgres-completion-object): New functions.
11431 2011-07-06  Glenn Morris  <rgm@gnu.org>
11433         * window.el (pop-to-buffer): Doc fix.
11435 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
11437         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11439 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
11441         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11443         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11445 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
11447         * button.el (button): Inherit from link face.  Suggested by Dan
11448         Nicolaescu.
11450 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11452         * progmodes/gdb-mi.el: Fit in 80 columns.
11453         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11454         switch-to-buffer.
11456         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11457         if imenu is simply not configured (bug#8941).
11459 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
11461         * allout.el (allout-post-undo-hook): New allout outline-change
11462         event hook to signal undo activity.
11463         (allout-post-command-business): Run allout-post-undo-hook if an
11464         undo just occurred.
11465         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11466         * allout-widgets.el (allout-widgets-after-undo-function):
11467         Ensure the integrity of the current item's decoration after it has been
11468         in the vicinity of an undo.
11469         (allout-widgets-mode): Include allout-widgets-after-undo-function
11470         on the new allout-post-undo-hook.
11472 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11474         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11475         Let define-derived-mode define it.
11476         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11477         cycles of abbrev-table inheritance (bug#8998).
11479 2011-07-05  Roland Winkler  <winkler@gnu.org>
11481         * textmodes/bibtex.el: Add support for biblatex.
11482         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11483         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11484         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11485         (bibtex-entry-alist, bibtex-field-alist): New variables.
11486         (bibtex-entry-field-alist): Obsolete alias for
11487         bibtex-BibTeX-entry-alist.
11488         (bibtex-entry-alist, bibtex-field-alist): New widgets.
11489         (bibtex-set-dialect): New command.
11490         (bibtex-entry-type, bibtex-entry-head)
11491         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11492         Bind via bibtex-set-dialect.
11493         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11494         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11495         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11496         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11497         Define via bibtex-set-dialect.
11498         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11499         Obey bibtex-no-opt-remove-re.
11500         (bibtex-vec-push, bibtex-vec-incr): New functions.
11501         (bibtex-format-entry, bibtex-field-list)
11502         (bibtex-print-help-message, bibtex-validate)
11503         (bibtex-search-entries): Use new format of bibtex-entry-alist.
11505 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11507         * progmodes/compile.el (compilation-goto-locus):
11508         * net/tramp-cmds.el (tramp-append-tramp-buffers):
11509         * bs.el (bs-cycle-next, bs-cycle-previous):
11510         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11511         * bindings.el (mode-line-other-buffer):
11512         * autoinsert.el (auto-insert):
11513         * arc-mode.el (archive-extract):
11514         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11516 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
11518         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11519         Fix check of `emacs-lock-unlockable-modes'.
11520         Coerce true values of `emacs-lock--try-unlocking' to t.
11522 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
11524         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11525         * emacs-lock.el: New file.
11527 2011-07-05  Julien Danjou  <julien@danjou.info>
11529         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11530         than `boundp' to check if face is set.
11532 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
11534         * register.el (registerv-make):
11535         * window.el (window-min-height): Fix typos in docstrings.
11537 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
11539         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11540         Update doc string.
11542 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
11544         * server.el (server-execute): Catch quit and call
11545         `server-return-error' to pass the error back to emacsclient and
11546         close the connection (bug#8942).
11548 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
11550         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11551         insecure exception for current topic.  Also note that auto-saves
11552         are handled differently.
11554         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11555         State variables for tracking auto-save inhibition situation.
11557         (allout-write-contents-hook-handler): Rename from
11558         'allout-write-file-hook-handler', and describe how it depends on
11559         write-contents-functions sensitivity to non-nil value to prevent
11560         file write.
11562         (allout-auto-save-hook-handler): Remove.  auto-save does not check
11563         this in individual buffers, only in the starting buffer, so this
11564         is not the right way for us to inhibit auto-save in a buffer
11565         according to its condition.
11567         (allout-mode): Use new allout-write-contents-hook-handler, and
11568         only with write-contents-functions.  Remove auto-save provisions -
11569         they're implemented elsewhere.
11571         (allout-before-change-handler): If undo is in progress, note that
11572         for attention of allout-post-command-business.
11574         (allout-post-command-business): If the command we're following was
11575         an undo, check for change in the status of encrypted items and
11576         adjust auto-save inhibitions accordingly.
11578         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11579         according to whether there are or aren't any plain-text topics
11580         pending encryption.
11582         (allout-inhibit-auto-save-info-for-decryption):
11583         Adjust buffer-saved-size and some allout state to inhibit auto-saves
11584         if there are plain-text topics pending encryption.
11586         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11587         buffer-saved-size and some allout state to not inhibit auto-saves
11588         if there are no longer any plain-text topics pending encryption.
11590         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11591         No longer provide for exemption of the current topic.
11593 2011-07-04  Juri Linkov  <juri@jurta.org>
11595         Add 7z operations to delete and save changed members (bug#8968).
11596         * arc-mode.el (archive-7z-expunge, archive-7z-update):
11597         New defcustoms.
11598         (archive-7z-write-file-member): New function.
11599         (archive-7z-summarize): Fix the number of dashes in the
11600         listing output.
11602 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11604         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11605         (bug#8958).
11607 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
11609         * bindings.el: Ignore next-buffer and previous-buffer in
11610         minibuffer-local-map.
11612         * font-lock.el (font-lock-builtin-face): Change light background
11613         color to dark slate blue (Bug#6693).
11615 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
11617         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11619 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11621         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11622         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11623         Add switch-to-buffer.
11625 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11627         * isearch.el (isearch-search-fun-function): Clarify further the
11628         meaning of the function returned.
11630 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
11632         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11634         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11635         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11636         Use it.
11637         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
11638         `tramp-default-remote-path' does not exist.
11639         (tramp-send-command-and-read): New optional argument NOERROR.
11640         (tramp-open-connection-setup-interactive-shell)
11641         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11642         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11643         (tramp-process-sentinel): Flush also process' connection property.
11644         (tramp-sh-handle-start-file-process): Do not set process
11645         sentinel.  It is done now ...
11646         (tramp-maybe-open-connection): ... here.  (Bug#8929)
11648 2011-07-04  MON KEY  <monkey@sandpframing.com>
11650         * play/animate.el (animate-string): Doc fixes and allow changing
11651         the buffer name (bug#5417).
11653 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11655         * play/animate.el (animation-buffer-name): Rename from *animate*.
11657 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
11659         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11660         This is simpler and helps future-proof the code.
11661         (timer-until): Use time-subtract and float-time.
11662         (timer--time-less-p): Use time-less-p.
11664 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
11666         * type-break.el (timep): Use the value of `float-time' to avoid a
11667         byte-compiler warning.
11669         * server.el (server-eval-and-print): Return any result, even nil.
11671 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
11673         * type-break.el: Accept time formats that the builtins accept.
11674         (timep, type-break-time-difference): Accept any format that
11675         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11676         This is simpler and helps future-proof the code.
11677         (type-break-time-difference): Round rather than ignoring
11678         subseconds components.
11680 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11682         * info.el (Info-apropos-matches): Make non-interactive, since it
11683         doesn't seem to do anything useful as a command (bug#8829).
11685 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
11687         * frame.el (frame-background-mode, frame-set-background-mode):
11688         Move from faces.el.
11689         (frame-default-terminal-background): New function.
11691         * custom.el (custom-push-theme): Don't record faces in `changed'
11692         theme; this doesn't work correctly for per-frame face settings.
11693         (disable-theme): Use face-set-after-frame-default to reset faces.
11694         (custom--frame-color-default): New function.
11696 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11698         * dired.el (dired-flagging-regexp): Remove unused variable
11699         (bug#8769).
11701 2011-03-29  Kevin Ryde  <user42@zip.com.au>
11703         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11704         `perl-Test2' extend to match possible "fail #N" rep count
11705         (bug#8377).
11707 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11709         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11710         `smtpmail-via-smtp' now returns the error instead of nil.
11712         * isearch.el (isearch-search-fun-function): Clarify the doc string
11713         (bug#8101).
11715 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
11717         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11718         unnecessary spaces (bug#8987).
11720 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11722         * net/network-stream.el (open-network-stream): Use the
11723         :end-of-capability command thoughout.
11725 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
11727         * net/network-stream.el (open-network-stream): Add the
11728         :end-of-capability command parameter, used by pop3.el.
11730 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11732         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11734         * fringe.el (fringe-query-style): Remove redundant text " (type ?
11735         for list)" (bug#6475).
11737         * files.el (file-expand-wildcards): Ignore non-readable
11738         sub-directories while trying to find matches instead of signaling
11739         an error (bug#6297).
11741         * man.el (Man-reference-regexp): Allow matching possible
11742         word-wrapped references (bug#6289).
11744         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11745         for consistency with the other vc buffers (bug#6197).
11746         (vc-checkin): Ditto.
11748         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11750         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11752 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11754         * custom.el (defcustom): Clarify that :set is only used in the
11755         Customize user interface (bug#6089).
11757         * progmodes/flymake.el (flymake-mode): If the buffer isn't
11758         associated with a file, refuse to run instead of erroring out
11759         (bug#6084).
11761         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11762         the doc string, since it appears that using `fill-column' always
11763         controls the width (bug#7845).
11765         * simple.el (shell-command-on-region): Say where the error output
11766         went if `shell-command-default-error-buffer' is set (bug#6857).
11768 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
11770         * allout.el (allout-yank-processing): Adjust cursor position for
11771         backwards-deleted space.
11773         (allout-rebullet-heading): Register changes with
11774         allout-exposure-changed-hook, so the modified topic is properly
11775         decorated.
11777 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11779         * minibuffer.el (completion-in-region): Document PREDICATE
11780         (bug#7136).
11782         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11783         of keyword/argument pairs (bug#6904).
11785         * replace.el (multi-occur):
11786         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11788 2011-07-02  Drew Adams  <drew.adams@oracle.com>
11790         * dired.el (dired-mark-if): Make the message about whether it's
11791         marking or unmarking clearer (bug#8523).
11793 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11795         * disp-table.el (display-table-print-array): New function.
11796         (describe-display-table): Use it to print the vectors more pretty
11797         (Bug#8859).
11799 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
11801         * window.el (window-state-get-1): Don't assign clone numbers.
11802         Add clone-of item to list of window parameters.
11803         (window-state-put-2): Don't process clone numbers.
11804         (display-buffer-alist): Fix doc-string.
11806 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11808         * subr.el (remq): Don't allocate if it's not needed.
11809         (keymap--menu-item-binding, keymap--menu-item-with-binding)
11810         (keymap--merge-bindings): New functions.
11811         (keymap-canonicalize): Use them to refine the canonicalization.
11812         * minibuffer.el (minibuffer-local-completion-map)
11813         (minibuffer-local-must-match-map): Move initialization from C.
11814         (minibuffer-local-filename-completion-map): Move initialization from C;
11815         don't inherit from anything here.
11816         (minibuffer-local-filename-must-match-map): Make obsolete.
11817         (completing-read-default): Use make-composed-keymap to combine
11818         minibuffer-local-filename-completion-map with either
11819         minibuffer-local-must-match-map or
11820         minibuffer-local-filename-completion-map.
11822 2011-07-01  Glenn Morris  <rgm@gnu.org>
11824         * type-break.el (type-break-time-sum): Use dolist.
11826         * textmodes/flyspell.el (flyspell-word-search-backward):
11827         Replace CL function.
11829 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11831         * mouse.el (mouse--strip-first-event): New function.
11832         (function-key-map): Use it to map fringe clicks to normal clicks
11833         by default.
11835         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11836         (vc-bzr-revision-completion-table): Add support for annotate and date.
11838         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11839         inherit from parent.
11841 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11843         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11844         (dired-show-file-type): Doc fixup (bug#8818).
11846         * dired.el (dired-mode): Fix up the doc string as suggested by
11847         Drew Adams (bug#8817).
11849         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11850         cookie, since the manual says that it should be possible to add
11851         this function to `find-file-hook' (bug#8709).
11853 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
11855         * progmodes/cfengine.el: Moved all cfengine3.el functionality
11856         here.  Noted Ted Zlatanov as the maintainer.
11857         (cfengine-common-settings, cfengine-common-syntax): New functions
11858         to set up common things between `cfengine-mode' and
11859         `cfengine3-mode'.
11860         (cfengine3-mode): New mode.
11861         (cfengine3-defuns cfengine3-defuns-regex
11862         (cfengine3-class-selector-regex cfengine3-category-regex)
11863         (cfengine3-vartypes cfengine3-font-lock-keywords)
11864         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11865         (cfengine3-indent-line): Add from cfengine3.el.
11867 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
11869         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11871         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11873 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
11875         * window.el (same-window-buffer-names, same-window-regexps)
11876         (same-window-p, special-display-frame-alist)
11877         (special-display-popup-frame, special-display-function)
11878         (special-display-buffer-names, special-display-regexps)
11879         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11880         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11881         (split-window-preferred-function, split-height-threshold)
11882         (split-width-threshold, even-window-heights)
11883         (display-buffer-mark-dedicated, window-splittable-p)
11884         (split-window-sensibly, window-safely-shrinkable-p):
11885         Un-obsolete.
11886         (display-buffer): Don't spread args with function specifier
11887         because special-display-popup-frame won't like it.
11889 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
11891         Time-stamp simplifications and fixes.
11892         These improve accuracy slightly, and future-proof the code
11893         against some potential changes to current-time format.
11895         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11896         by using time-since and float-time.
11898         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11899         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
11900         + NNN microseconds".
11902         * type-break.el (type-break-time-sum): Rewrite using time-add.
11904         * play/hanoi.el (hanoi-current-time-float): Remove.
11905         All uses replaced by float-time.
11907         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11908         This yields a more-accurate answer.
11909         (rng-time-to-float): Remove; no longer needed.
11911         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11913         * calendar/timeclock.el (timeclock-seconds-to-time):
11914         Defalias to seconds-to-time, since they're the same thing.
11916         * emacs-lisp/elp.el (elp-elapsed-time):
11917         * emacs-lisp/benchmark.el (benchmark-elapse):
11918         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11920 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11922         * window.el (bury-buffer): Don't iconify the only frame.
11923         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11924         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
11926 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
11928         * eshell/em-smart.el (eshell-smart-display-navigate-list):
11929         Add mouse-yank-primary.
11931 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
11933         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11935 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11937         * emacs-lisp/find-func.el (find-library--load-name): New fun.
11938         (find-library-name): Use it to find relative load names when provided
11939         absolute file name (bug#8803).
11941 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11943         * textmodes/flyspell.el (flyspell-word): Consider words that
11944         differ only in case as potential doublons (bug#5687).
11946         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11947         Remove two rather uninteresting debugging-like messages to make
11948         debbugs.el more silent.
11950         * comint.el (comint-password-prompt-regexp): Accept "Response" as
11951         a password-like phrase.
11953 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
11955         * progmodes/cc-guess.el: New file.
11957         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11959         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11960         derived from `c-basic-common-init'.
11962         * progmodes/cc-mode.el (top-level): Require cc-guess.
11963         (c-basic-common-init): Use `cc-choose-style-for-mode'.
11965 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
11967         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11969 2011-06-30  Alan Mackenzie  <acm@muc.de>
11971         * progmodes/cc-engine.el (c-guess-continued-construct):
11972         Correct the handling of template-args-cont, particularly for when font
11973         lock is disabled.  Name this case as "CASE G".
11975 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
11977         * allout.el (allout-yank-processing): Fix injection of extra space
11978         between bullet and non-whitespace character in first topic when
11979         pasting, ensuring that the actual spacing in the pasted topic
11980         following the bullet char is preserved.  This extra space was
11981         causing pasted encrypted topics to get a decrypted status even
11982         when the content was actually still encrypted.  Now the decryption
11983         status from before the paste is preserved.
11985         (allout-flag-region): Set all allout overlays so they evaporate
11986         when reduced to zero length (evanescent), to prevent overlay
11987         leakage.
11989 2011-06-30  Glenn Morris  <rgm@gnu.org>
11991         * w32-fns.el (w32-charset-info-alist): Declare.
11993         * find-dired.el (find-grep-options): Simplify.
11995         * term/ns-win.el (ns-set-resource): Declare.
11997         * ses.el (row, col): Declare dynamic variables honestly.
11999         * textmodes/reftex-parse.el (index-tags): Declare.
12001 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
12003         * cus-edit.el (customize-push-and-save): New function.
12005         * files.el (hack-local-variables-confirm): Use it.
12007         * custom.el (load-theme): New arg NO-CONFIRM.
12008         Use customize-push-and-save (Bug#8720).
12009         (custom-enabled-themes): Doc fix.
12011         * cus-theme.el (customize-create-theme)
12012         (custom-theme-merge-theme): Callers to load-theme changed.
12014 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12016         * thingatpt.el (thing-at-point-short-url-regexp): Require that
12017         short URLs have at least one dot in them (bug #7614).
12019         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12020         nil, because using a pty is apparently too slow (bug #895).
12022 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12024         * mail/sendmail.el (sendmail-query-once): New function.
12025         (sendmail-query-once-function): New variable.
12027 2011-06-29  Glenn Morris  <rgm@gnu.org>
12029         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12031         * ses.el (top-level): Require cl when compiling.
12032         (ses-set-localvars): Fix error statement.
12033         Call it at compile time to silence a storm of warnings.
12035 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
12037         * window.el (normalize-live-buffer): Rename to
12038         window-normalize-buffer.
12039         (normalize-live-frame): Rename to window-normalize-frame.
12040         (normalize-any-window): Rename to window-normalize-any-window.
12041         (normalize-live-window): Rename to window-normalize-live-window.
12042         (make-window-atom): Rename to window-make-atom.
12043         (window-resize-reset): Rename to window--resize-reset.
12044         (window-resize-reset-1): Rename to window--resize-reset-1.
12045         (resize-mini-window): Rename to window--resize-mini-window.
12046         (resize-subwindows-skip-p): Rename to
12047         window--resize-subwindows-skip-p.
12048         (resize-subwindows-normal): Rename to
12049         window--resize-subwindows-normal.
12050         (resize-subwindows): Rename to window--resize-subwindows.
12051         (resize-other-windows): Rename to window--resize-siblings.
12052         (resize-this-window): Rename to window--resize-this-window.
12053         (resize-root-window): Rename to window--resize-root-window.
12054         (resize-root-window-vertically): Rename to
12055         window--resize-root-window-vertically.
12056         (normalize-buffer-to-display): Rename to
12057         window-normalize-buffer-to-display.
12058         (normalize-buffer-to-switch-to): Rename to
12059         window-normalize-buffer-to-switch-to.
12060         Correspondingly update all callers of the functions listed
12061         above.
12062         (display-buffer-alist, display-buffer-normalize-arguments)
12063         (display-buffer-normalize-options, display-buffer)
12064         (display-buffer-alist-set): Use "function" instead of
12065         "fun-with-args".
12067 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
12069         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12070         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
12071         debbugs.gnu.org.  Mention acknowledgment email.
12073 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12075         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12076         buffer multibyteness, since it shouldn't matter.
12078 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
12080         * window.el (display-buffer-in-side-window): Handle dedicated
12081         windows as in display-buffer-reuse-window.
12082         (display-buffer-normalize-alist): Use value of override
12083         specifier.
12084         (display-buffer-normalize-specifiers): Use value of
12085         other-window-means-other-frame specifier.
12086         (display-buffer-alist): Rewrite some texts in widgets.
12087         (display-buffer): Spread arguments when calling function
12088         specified by fun-with-args.
12090 2011-06-28  Deniz Dogan  <deniz@dogan.se>
12092         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12093         Unnest `let'.
12095         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12096         selectors (Bug#5732).
12097         (css-proprietary-nmstart-re): Use `regexp-opt'.
12099 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
12101         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12102         (eshell-ls-date-format): New defcustom.
12103         (eshell-ls-file): Use it.
12105 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12107         * help-fns.el (describe-variable): Fix message for terminal-local vars.
12109 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
12111         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12112         (ange-ftp-make-tmp-name): New arg.
12113         (ange-ftp-file-local-copy): Use it.
12115 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
12117         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12118         no-conversion (Bug#8870).
12120 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
12122         * window.el (window-right, window-left, window-child)
12123         (window-child-count, window-last-child)
12124         (window-iso-combination-p, walk-window-tree-1)
12125         (window-atom-check-1, window-tree-1, delete-window)
12126         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12127         new naming conventions - window-vchild, window-hchild,
12128         window-next and window-prev are now called window-top-child,
12129         window-left-child, window-next-sibling and window-prev-sibling
12130         respectively.
12131         (resize-window-reset): Rename to window-resize-reset.
12132         (resize-window-reset-1): Rename to window-resize-reset-1.
12133         (resize-window): Rename to window-resize.
12134         (window-min-height, window-min-width)
12135         (resize-mini-window, resize-this-window, resize-root-window)
12136         (resize-root-window-vertically, adjust-window-trailing-edge)
12137         (enlarge-window, shrink-window, maximize-window)
12138         (minimize-window, delete-window, quit-restore-window)
12139         (split-window, balance-windows, balance-windows-area-adjust)
12140         (balance-windows-area, window-state-put-2)
12141         (display-buffer-even-window-sizes, display-buffer-set-height)
12142         (display-buffer-set-width, set-window-text-height)
12143         (fit-window-to-buffer): Rename all "resize-window" prefixed
12144         calls to use the "window-resize" prefix convention.
12145         (display-buffer-alist): Fix symbol for label specifier.
12146         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12147         corresponding specifier.
12148         Reported by Juanma Barranquero <lekktu@gmail.com>.
12150 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12152         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12153         convention.
12154         (ses-call-printer): Does not pass an empty string to formatter when the
12155         cell is empty to keep from barking printer Calc math-format-value.
12157 2011-06-27  Richard Stallman  <rms@gnu.org>
12159         * battery.el (battery-mode-line-limit): New variable.
12160         (battery-update): Handle it.
12162         * mail/rmailmm.el (rmail-mime-process-multipart):
12163         Handle truncated messages.
12165 2011-06-27  Glenn Morris  <rgm@gnu.org>
12167         * progmodes/flymake.el (flymake-err-line-patterns):
12168         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
12170 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12172         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12173         (ses--clean-!, ses--clean-_): New functions.
12174         (ses-range): Add configurability of readout order, and conversion
12175         to Calc vector.
12177         * ses.el (ses-repair-cell-reference-all): New function.
12178         (ses-cell-symbol): Set macro as safe, so that it can be used in
12179         formulas.
12181         * ses.el: Update cycle detection algorithm.
12182         (ses-localvars): Add ses--Dijkstra-attempt-nb and
12183         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12184         (ses-set-localvars): New function.
12185         (ses-make-cell): Add property-list as a cell element.
12186         (ses-cell-property-get-fun, ses-cell-property-get)
12187         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12188         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12189         New functions.
12190         (ses-cell-property-set, ses-cell-property-pop)
12191         (ses-cell-property-get-handle): New macro.
12192         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12193         New aliases, used for code readability.
12194         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12195         cycle detection.
12196         (ses-self-reference-early-detection): New defcustom.
12197         (ses-formula-references): Robustify against self-referring cells.
12198         (ses-mode): Use ses-set-localvars.
12199         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12200         before lauching the update processing.
12201         (ses-initialize-Dijkstra-attempt): New function.
12202         (ses-recalculate-cell): Update for cycle detection based on
12203         Dijkstra algorithm.
12205         * ses.el: Fix commenting and indenting convention.
12207 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12209         * bs.el (bs-cycle-next): Complete last change.
12211 2011-06-27  Drew Adams  <drew.adams@oracle.com>
12213         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12215 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12217         * net/network-stream.el (network-stream-open-starttls):
12218         Don't re-get capabilities unless we've reestablished connection.
12219         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12221         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12222         to binary to possibly avoid line encoding issues on Windows (among
12223         other things).
12225 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12227         * net/network-stream.el (open-network-stream): Return an :error
12228         saying what the problem was, if possible.
12230         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12231         server.
12233         * net/network-stream.el (network-stream-open-starttls): If we
12234         wanted to use STARTTLS, and the server offered it, but we weren't
12235         able to because we had no STARTTLS support, then close the connection.
12236         (open-network-stream): Return an :error element, if present.
12238 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
12240         * hl-line.el (hl-line-sticky-flag): Doc fix.
12241         (global-hl-line-sticky-flag): New option (Bug#8323).
12242         (global-hl-line-highlight): Obey it.
12244         * vc/vc.el (vc-revert-show-diff): Default to t.
12246 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
12248         * allout-widgets.el (allout-widgets-post-command-business):
12249         Stop decorating intermediate isearch matches.  They're not being
12250         undecorated when an isearch is continued past, and isearch
12251         automatically collapses them.  This leads to "widget leaks", where
12252         decorated items accumulate in collapsed areas.  Lines with lots of
12253         hidden widgets can slow down cursor travel, substantially.
12254         Too much complicated machinery would be needed to ensure undecoration,
12255         so we're doing without this nicety.
12257         (allout-widgets-tally-string): Don't try to do a hash-table-count
12258         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
12259         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12260         *Messages* when allout-widgets-maintain-tally is t.
12262 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
12264         * window.el (display-buffer-normalize-argument): Rename to
12265         display-buffer-normalize-arguments.  Handle special meaning of
12266         LABEL argument.  Respect special-display-function when popping up
12267         a new frame.  Fix code searching for a window showing the buffer
12268         on another frame.
12269         (display-buffer-normalize-specifiers):
12270         Call display-buffer-normalize-arguments.
12271         (display-buffer-in-window): Don't undedicate the window if its
12272         buffer remains the same.
12273         Reported by Drew Adams <drew.adams@oracle.com>.
12274         (display-buffer-alist): Add choice for same-window macro
12275         specfier.
12276         (display-buffer): Mention special meaning of LABEL argument in
12277         doc-string.  Fix quoting.  Don't pop up a new frame even as
12278         fallback.
12280 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
12282         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12283         avoid deleting the current window in some cases (bug#8911).
12285 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
12287         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12288         (Bug#8934)
12290 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12292         * net/network-stream.el (network-stream-open-starttls):
12293         Use built-in TLS support if `gnutls-available-p' is true.
12294         (network-stream-open-tls): Ditto.
12296 2011-06-26  Leo Liu  <sdl.web@gmail.com>
12298         * register.el (registerv): New struct.
12299         (registerv-make): New function.
12300         (jump-to-register, describe-register-1, insert-register):
12301         Support the jump-func, print-func and insert-func slot of a registerv
12302         struct.  (Bug#8415)
12304 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
12306         * vc/vc.el (vc-revert-show-diff): New defcustom.
12307         (vc-diff-internal): New arg specifying diff buffer.
12308         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
12309         reuse an existing *vc-diff* buffer (Bug#8927).
12311         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12313 2011-06-26  Glenn Morris  <rgm@gnu.org>
12315         * progmodes/f90.el (f90-critical-indent): New option.
12316         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12317         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12318         (f90-mode): Doc fix.
12319         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12320         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12321         (f90-beginning-of-block, f90-next-block, f90-indent-region)
12322         (f90-match-end): Handle block, critical.
12324 2011-06-25  Glenn Morris  <rgm@gnu.org>
12326         * calendar/diary-lib.el (diary-included-files): Doc fix.
12327         (diary-include-files): New function, extracted from
12328         diary-include-other-diary-files and diary-mark-included-diary-files.
12329         (diary-include-other-diary-files, diary-mark-included-diary-files):
12330         Just call diary-include-files.
12331         (diary-mark-entries): Reset diary-included-files on first call.
12333         * calendar/diary-lib.el (diary-mark-entries)
12334         (diary-mark-included-diary-files):
12335         Visit included diary-files in temp buffers.
12337         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12338         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12339         (f90-start-block-re, f90-imenu-generic-expression)
12340         (f90-looking-at-program-block-start, f90-no-block-limit):
12341         Add support for submodules.
12343         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12344         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
12346 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
12348         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12349         buffer-file-type before setting its value, to avoid disastrous
12350         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
12352 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
12354         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12356         * ses.el (ses-unload-function):
12357         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12359         * proced.el (proced-unload-function):
12360         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12362 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
12364         * server.el (server-create-window-system-frame): Add parameters arg.
12365         (server-process-filter): Doc fix.  Handle frame-parameters.
12367 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
12369         Fix bug#8730, bug#8781.
12371         * loadhist.el (unload--set-major-mode): New function.
12372         (unload-feature): Use it.
12374         * progmodes/python.el (python-after-info-look): Add autoload cookie.
12375         (python-unload-function): New function.
12377 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12379         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12381 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
12383         * net/browse-url.el (browse-url-firefox-program): Add icecat to
12384         the candidates list.
12386 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
12388         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12390 2011-06-23  Richard Stallman  <rms@gnu.org>
12392         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12393         (rmail-variables): Set next-error-move-function.
12394         (rmail-what-message): Take argument POS.
12395         (rmail-next-error-move): New function.
12397 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12399         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12400         messages for adjacent non-terminals.
12402 2011-06-23  Richard Stallman  <rms@gnu.org>
12404         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
12405         (rmail-show-message-1): Preserve buffer modified flag.
12406         (rmail-start-mail): Don't specify use of rmail-mail-return;
12407         that's done by mail-bury now.
12408         (rmail-mail-return): Handle arg NEWBUF.
12410 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
12412         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12413         SIZE is a number.
12415 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
12417         * window.el (get-lru-window, get-mru-window)
12418         (get-largest-window): Never return a minibuffer window.
12419         (display-buffer-pop-up-window): Fix a bug that could lead to
12420         reusing the minibuffer window.
12421         (display-buffer): Pass original specifier argument to
12422         display-buffer-function instead of the normalized one.
12423         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12425 2011-06-22  Leo Liu  <sdl.web@gmail.com>
12427         * minibuffer.el (completing-read-function)
12428         (completing-read-default): Move from minibuf.c
12430 2011-06-22  Richard Stallman  <rms@gnu.org>
12432         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12433         to Rmail even if not started by a special Rmail command.
12435         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12436         Copy the buffer currently showing just one message.
12438 2011-06-22  Roland Winkler  <winkler@gnu.org>
12440         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12441         (bibtex-clean-entry): First delete the old key so that a
12442         customized algorithm for generating the new key does not get
12443         confused by the old key.
12444         (bibtex-url): Obey regexp of first step.
12445         (bibtex-search-entries): Do not use add-to-list with local
12446         list-var.
12448 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12450         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12451         stored a user name, then query for the password first, instead of
12452         waiting for SMTP to give an error message and the trying again.
12454 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
12456         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12457         BUFFER in call-process.
12459 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12461         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12462         QUIT twice.
12463         (smtpmail-try-auth-methods): Require user name and password from
12464         auth-source.
12466 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
12468         * window.el (display-buffer-default-specifiers)
12469         (display-buffer-alist): Remove entries for pop-up-frame-alist.
12470         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12471         (split-window): Normalize SIDE argument (Bug#8916).
12473         * frame.el (pop-up-frame-alist, pop-up-frame-function)
12474         (special-display-frame-alist, special-display-popup-frame):
12475         Remove duplicate declarations.  These are now in window.el.
12477 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12479         * mail/smtpmail.el (smtpmail-via-smtp):
12480         Set :use-starttls-if-possible so that we always use STARTTLS if the
12481         server supports it.  SMTP servers that support STARTTLS commonly
12482         require it.
12484         * net/network-stream.el (network-stream-open-starttls): Support
12485         upgrading to STARTTLS always, even if we don't have built-in support.
12486         (open-network-stream): Add the :always-query-capabilities keyword.
12488         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12489         upgrades with `open-network-stream', and rely solely on
12490         auth-source for all credentials.  Big changes throughout the file,
12491         but in particular:
12492         (smtpmail-auth-credentials): Remove.
12493         (smtpmail-starttls-credentials): Remove.
12494         (smtpmail-via-smtp): Check for servers saying they want AUTH after
12495         MAIL FROM, too.
12497         * net/network-stream.el (network-stream-open-starttls):
12498         Provide support for client certificates both for external and built-in
12499         STARTTLS.
12500         (auth-source): Require.
12501         (open-network-stream): Document the :client-certificate keyword.
12502         (network-stream-certificate): Change cert-cert to cert and
12503         cert-key to key.
12505 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
12507         * net/tramp-cache.el (top): Don't load the persistency file when
12508         "emacs -Q" has been called.
12510 2011-06-21  Tim Harper  <timcharper@gmail.com>
12512         * term/ns-win.el (ns-initialize-window-system):
12513         Set application-specific `ApplePressAndHoldEnabled' system
12514         resource to NO as it is not yet supported by the NS port.
12516 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
12518         * misc.el (list-dynamic-libraries--refresh): Compute header here...
12519         (list-dynamic-libraries): ...not here.
12521 2011-06-21  Leo Liu  <sdl.web@gmail.com>
12523         * subr.el (sha1): Implement sha1 using secure-hash.
12525 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
12527         * window.el (display-buffer-alist): In default value do not
12528         enforce searching a window on any but the selected frame.
12529         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12530         (display-buffer-select-window): Remove function.
12531         (display-buffer-in-window): When a window on another frame gets
12532         reused, do not select it any more but just raise its frame if
12533         necessary (Bug#8851) and (Bug#8856).
12534         (display-buffer-normalize-options): Handle pop-up-frames related
12535         options more faithfully.
12536         (pop-to-buffer): Don't rely on `display-buffer' selecting the
12537         window if it is on another frame.
12538         (display-buffer-alist, display-buffer-default-specifiers):
12539         Don't make new frame unsplittable by default.
12540         (display-buffer-normalize-argument): Fix doc-string typo and use
12541         'same-frame-other-window instead of 'other-window when associating
12542         with display-buffer-macro-specifiers.
12544 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
12546         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12547         New functions.
12548         (5x5-mode-map, 5x5-mode-menu): Bind them.
12549         (5x5-draw-grid): Tweak the solver's rendering.
12551 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12553         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12554         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12556 2011-06-21  Drew Adams  <drew.adams@oracle.com>
12558         * menu-bar.el: Use function variable instead of switch-to-buffer.
12559         (menu-bar-select-buffer-function): New variable.
12560         (menu-bar-update-buffers): Use it (bug#8876).
12562 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12564         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12565         variable's status.
12567 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
12569         * x-dnd.el (x-dnd-version-from-flags)
12570         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12571         and long as number (Bug#8899).
12572         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12574 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12576         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12577         (completion-try-completion, completion-all-completions): Compute the
12578         metadata argument if it's missing; make it optional (bug#8795).
12580         * wid-edit.el: Use lex-bind and move towards completion-at-point.
12581         (widget-complete): Use new :completion-function property.
12582         (widget-completions-at-point): New function.
12583         (default): Use :completion-function instead of :complete.
12584         (widget-default-completions): Rename from widget-default-complete;
12585         Rewrite.
12586         (widget-string-complete, widget-file-complete, widget-color-complete):
12587         Remove functions.
12588         (file, symbol, function, variable, coding-system, color):
12589         * international/mule-cmds.el (default-input-method, charset)
12590         (language-info-custom-alist):
12591         * cus-edit.el (face): Use new property :completions.
12593         * progmodes/pascal.el (pascal-completions-at-point): New function.
12594         (pascal-mode): Use it.
12595         (pascal-mode-map): Use completion-at-point.
12596         (pascal-toggle-completions): Make obsolete.
12597         (pascal-complete-word, pascal-show-completions):
12598         * progmodes/octave-mod.el (octave-complete-symbol):
12599         Redefine as obsolete alias.
12600         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12601         Signal absence of completion info for old Octave,
12602         (inferior-octave-complete): Redefine as obsolete alias.
12603         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12604         (meta-completions-at-point): Rename from meta-complete-symbol and
12605         adapt it for use on completion-at-point-functions.
12606         (meta-common-mode): Use it.
12607         (meta-looking-at-backward, meta-match-buffer): Remove.
12608         (meta-complete-symbol): Redefine as obsolete alias.
12609         (meta-common-mode-map): Use completion-at-point.
12610         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12611         (makefile-mode-map): Use completion-at-point.
12612         (makefile-completions-at-point): Rename from makefile-complete and
12613         adapt it for use on completion-at-point-functions.
12614         (makefile-mode): Use it.
12615         (makefile-complete): Redefine as obsolete alias.
12617 2011-06-20  Deniz Dogan  <deniz@dogan.se>
12619         * net/rcirc.el: Delete trailing whitespaces once and for all.
12621 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
12623         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12625 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
12627         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12629         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12631 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
12633         * window.el (display-buffer-other-window-means-other-frame):
12634         Call display-buffer-normalize-alist.
12635         (display-buffer-normalize-specifiers-1): Rename to
12636         display-buffer-normalize-argument.  New argument other-frame.
12637         Rewrite.
12638         (display-buffer-normalize-specifiers-2): Rename to
12639         display-buffer-normalize-options.
12640         (display-buffer-normalize-alist-1): New function.
12641         (display-buffer-normalize-specifiers-3): Rename to
12642         display-buffer-normalize-alist.
12643         Call display-buffer-normalize-alist-1.
12644         (display-buffer-normalize-options-inhibit): New variable.
12645         (display-buffer-normalize-specifiers): Rewrite calling
12646         display-buffer-normalize-alist,
12647         display-buffer-normalize-argument, and
12648         display-buffer-normalize-options.  Don't call the latter if
12649         display-buffer-normalize-options-inhibit is non-nil.
12650         (frame-auto-delete): New option.
12651         (window-deletable-p): Use frame-auto-delete.
12652         (window-list-no-nils, window-state-ignored-parameters)
12653         (window-state-get-1, window-state-get, window-state-put-list)
12654         (window-state-put-1, window-state-put-2, window-state-put):
12655         New functions.
12656         (display-buffer-normalize-options): Move special-display-p group
12657         after pop-up-frame group (Bug#8851) and (Bug#8856).
12659 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
12661         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12662         groups (Bug#8776).
12663         (rx-submatch-n): New function.
12664         (rx): Document it.
12666         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12667         (Bug#8768).
12669         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12671         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12673         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12674         anytime existing face settings are present (Bug#8889).
12676         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12677         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12678         Remove unused argument.
12680 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
12682         * window.el (display-buffer-default-specifiers):
12683         Remove pop-up-frame.  Add pop-up-window-min-height,
12684         pop-up-window-min-width, and another reuse-window specifier
12685         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
12686         (display-buffer-normalize-specifiers-2):
12687         Handle split-height-threshold and split-width-threshold also when
12688         pop-up-windows is unset.  Add a reuse-window specifier for the
12689         case popping up a new window fails.
12690         (special-display-popup-frame): Remove double quoting.
12691         (display-buffer-normalize-specifiers-1): Fix thinko.
12693 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12695         * shell.el (shell-completion-vars): Set pcomplete-termination-string
12696         according to comint-completion-addsuffix.
12698         * pcomplete.el: Convert to lexical binding and fix bug#8819.
12699         (pcomplete-suffix-list): Mark as obsolete.
12700         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12701         pcomplete-seen in the closure.
12702         (pcomplete-comint-setup): Setup completion-at-point as well.
12703         (pcomplete--entries): New function.
12704         (pcomplete--env-regexp): New var.
12705         (pcomplete-entries): Rewrite to work with partial-completion and
12706         without relying on pcomplete-suffix-list.
12707         (pcomplete-pare-list): Remove, unused.
12709 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
12711         * window.el (display-buffer-alist): Set pop-up-window-min-height
12712         and pop-up-window-min-width in default value.  Reported by
12713         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
12714         other-window-means-other-frame.
12715         (display-buffer-macro-specifiers): Comment out entry for
12716         other-window specifier.
12717         (display-buffer-other-window-means-other-frame): New function.
12718         (display-buffer-normalize-specifiers-1): New arguments
12719         buffer-name and label.  Treat other-window case specially.
12720         (display-buffer-normalize-specifiers-2): Treat other-window case
12721         specially.
12722         (display-buffer-normalize-specifiers-3): New function.
12723         (display-buffer-normalize-specifiers):
12724         Call display-buffer-normalize-specifiers-3.
12726 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
12728         * window.el (same-window-p): Fix two typos introduced when
12729         adding with-no-warnings.
12730         (display-buffer-normalize-specifiers-1): Don't check
12731         pop-up-frames for 'unset initialization.
12732         (display-buffer-normalize-specifiers-2): Major rewrite using
12733         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12734         (pop-up-frames, display-buffer-reuse-frames)
12735         (display-buffer-mark-dedicated): Don't initialize to 'unset.
12736         Suggested by David Engster <deng@randomsample.de>.
12737         (even-window-heights): Initialize to 'unset.
12738         (display-buffer-alist-set): Handle new 'unset initializations.
12739         (display-buffer-macro-specifiers): Don't pop up a new frame in the
12740         other window case.
12742 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
12744         * window.el (display-buffer-normalize-specifiers-1):
12745         Respect current value of pop-up-frames for most reasonable values of
12746         second argument of display-buffer (Bug#8865).
12747         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12748         (switch-to-buffer-other-window-same-frame)
12749         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
12750         Adams (Bug#8875).
12751         (display-buffer): Don't check noninteractive when calling
12752         display-buffer-pop-up-frame.
12753         (display-buffer-pop-up-frame): Never pop up a frame in
12754         noninteractive mode (Bug#8857).
12755         (enlarge-window, shrink-window): Don't report an error when the
12756         window can't be resized as requested (Bug#8862).
12758 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12760         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12762         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12764         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12766 2011-06-15  Alan Mackenzie  <acm@muc.de>
12768         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12769         for declarators, disable knr checking to speed up for normal files.
12770         2: Refactor, replacing a sequence of nested if forms by a cond form.
12772 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12774         * net/network-stream.el (open-network-stream): Add the keyword
12775         :always-query-capabilities for the case where you want to force a
12776         `plain' network connection, but the protocol still requires the
12777         capabilitiy command (i.e., SMTP and EHLO).
12779         * subr.el (process-live-p): Rename from `process-alive-p' for
12780         consistency with other `-live-p' functions.
12782 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12784         * window.el (same-window-buffer-names, same-window-regexps)
12785         (special-display-frame-alist, special-display-popup-frame)
12786         (special-display-function, special-display-buffer-names)
12787         (special-display-regexps, pop-up-frame-alist)
12788         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12789         (pop-up-windows, split-window-preferred-function)
12790         (split-height-threshold, split-width-threshold, even-window-heights)
12791         (display-buffer-mark-dedicated): Don't encourage the use of
12792         display-buffer-alist from Elisp code.
12794 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
12796         * progmodes/python.el (python-mode): Derive from prog-mode.
12797         * progmodes/ps-mode.el (ps-mode):
12798         * progmodes/mixal-mode.el (mixal-mode):
12799         * progmodes/cfengine.el (cfengine-mode):
12800         * progmodes/ld-script.el (ld-script-mode): Likewise.
12802 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
12804         * window.el (display-buffer-alist): Trim default value to avoid
12805         popping up a new frame (Bug#8857) or reusing an arbitrary window
12806         on another frame.
12807         (display-buffer): Do not fall back on popping up a new frame in
12808         batch mode (Bug#8857).
12810 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
12812         * cus-theme.el (describe-theme-1): Use custom-theme-p.
12813         (custom-theme-summary): New function.
12814         (customize-themes): Use it.
12816 2011-06-13  Glenn Morris  <rgm@gnu.org>
12818         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12820 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
12822         * help.el (help-window): Remove variable.
12823         (help-window-point-marker, temp-buffer-max-height)
12824         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12825         (help-print-return-message): Don't set help-window.
12826         (resize-temp-buffer-window): Rewrite cod eand doc-string.
12827         (help-window-setup-finish): Remove.
12828         (help-window-display-message, help-window-setup)
12829         (with-help-window): Major rewrite based on new
12830         display-buffer-window variable.
12832         * help-mode.el (help-mode-finish): Remove help-window related
12833         code.
12835         * view.el (view-exits-all-viewing-windows): Remove reference to
12836         view-return-to-alist in doc-string.
12837         (view-return-to-alist): Make obsolete.
12838         (view-buffer): Call pop-to-buffer-same-window and remove
12839         undo-window code.
12840         (view-buffer-other-window): Call pop-to-buffer-other-window and
12841         simplify code.  Ignore second argument.
12842         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12843         simplify code.  Ignore second argument.
12844         (view-return-to-alist-update): Make obsolete.
12845         (view-mode-enter): Rename second argument to QUIT-RESTORE.
12846         Rewrite using quit-restore window parameters.
12847         (view-mode-exit): Rename second argument to EXIT-ONLY.
12848         Rewrite using quit-restore-window.
12849         (View-exit, View-exit-and-edit, View-leave, View-quit)
12850         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12851         appropriate arguments.
12852         (view-end-message): Use quit-restore window parameter.
12854         * window.el (display-buffer-function): Rewrite doc-string.
12855         (display-buffer-window, display-buffer-alist): New variables.
12856         (display-buffer-split-specifiers)
12857         (display-buffer-side-specifiers)
12858         (display-buffer-macro-specifiers): New constants.
12859         (display-buffer-even-window-sizes, display-buffer-set-height)
12860         (display-buffer-set-width, display-buffer-select-window)
12861         (display-buffer-in-window, display-buffer-reuse-window)
12862         (display-buffer-split-window-1, display-buffer-split-window)
12863         (display-buffer-split-atom-window, display-buffer-pop-up-window)
12864         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12865         (display-buffer-in-side-window, normalize-buffer-to-display)
12866         (display-buffer-normalize-specifiers-1)
12867         (display-buffer-normalize-specifiers-2)
12868         (display-buffer-normalize-specifiers, display-buffer-frame):
12869         New functions.
12870         (display-buffer): Major rewrite.
12871         (display-buffer-other-window, display-buffer-other-frame)
12872         (pop-to-buffer, switch-to-buffer-other-window)
12873         (switch-to-buffer-other-frame): Rewrite.
12874         (display-buffer-same-window, display-buffer-same-frame)
12875         (display-buffer-same-frame-other-window)
12876         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12877         (pop-to-buffer-other-window)
12878         (pop-to-buffer-same-frame-other-window)
12879         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12880         (switch-to-buffer-other-window-same-frame): New functions.
12881         (same-window-p, special-display-p): Rewrite disabling warnings.
12882         Make obsolete.
12883         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12884         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12885         Make obsolete
12886         (same-window-buffer-names, same-window-regexps)
12887         (special-display-frame-alist, special-display-popup-frame)
12888         (special-display-function, special-display-buffer-names)
12889         (special-display-regexps, pop-up-frame-alist)
12890         (pop-up-frame-function, split-window-preferred-function)
12891         (split-height-threshold, split-width-threshold)
12892         (even-window-heights): Make obsolete.
12894 2011-06-12  Glenn Morris  <rgm@gnu.org>
12896         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
12897         Misc simplifications.
12899 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
12901         * window.el (window-safely-shrinkable-p): Restore function which
12902         was inadvertently removed in change from 2011-06-11.  Declare as
12903         obsolete.
12905         * calendar/calendar.el (calendar-generate-window):
12906         Use window-iso-combined-p instead of combination of one-window-p and
12907         window-safely-shrinkable-p.
12909 2011-06-12  Glenn Morris  <rgm@gnu.org>
12911         * progmodes/fortran.el (fortran-mode-syntax-table):
12912         * progmodes/f90.el (f90-mode-syntax-table):
12913         Set % to punctuation.  (Bug#8820)
12914         (f90-find-tag-default): Remove, no longer needed.
12916 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
12918         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12920 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
12922         * image.el (image-animated-p): Return animation delay in seconds.
12923         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12924         (image-animate-timeout): Remove DELAY argument.  Don't assume
12925         every subimage has the same delay; get it from image-animated-p.
12926         (image-animate): Caller changed.
12928 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
12930         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12931         to ignored backtrace functions.
12933 2011-06-11  Glenn Morris  <rgm@gnu.org>
12935         * calendar/appt.el (appt-disp-window-function): Doc fix.
12936         (appt-check): Handle overlapping appointments.  (Bug#8337)
12938 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
12940         * window.el (window-tree-1, window-tree): New functions, moving
12941         the latter to window.el.
12942         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12943         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12944         (bw-refresh-edges): Remove.
12945         (balance-windows-1, balance-windows-2): New functions.
12946         (balance-windows): Rewrite in terms of window tree functions,
12947         balance-windows-1 and balance-windows-2.
12948         (bw-adjust-window): Remove.
12949         (balance-windows-area-adjust): New function with functionality of
12950         bw-adjust-window but using resize-window.
12951         (set-window-text-height): Rewrite doc-string.
12952         Use normalize-live-window and resize-window.
12953         (enlarge-window-horizontally, shrink-window-horizontally):
12954         Rename argument to DELTA.
12955         (window-buffer-height): New function.
12956         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12957         Rewrite using new window resize routines.
12958         (kill-buffer-and-window, mouse-autoselect-window-select):
12959         Use ignore-errors instead of condition-case.
12960         (quit-window): Call delete-frame instead of delete-windows-on
12961         for the only buffer on frame.
12963 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
12965         * loadup.el (top-level): Load window before files for the sake
12966         of replace-buffer-in-windows.
12968         * files.el (read-buffer-to-switch)
12969         (switch-to-buffer-other-window)
12970         (switch-to-buffer-other-frame, display-buffer-other-frame):
12971         Move to window.el.
12973         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12974         (previous-buffer): Move to window.el.
12976         * bindings.el (unbury-buffer): Move to window.el.
12978         * window.el (delete-other-windows-vertically): Move after
12979         definition of delete-other-windows.
12980         (other-window, delete-windows-on, replace-buffer-in-windows):
12981         Move here from window.c.
12982         (record-window-buffer, unrecord-window-buffer)
12983         (set-window-buffer-start-and-point, switch-to-prev-buffer)
12984         (switch-to-next-buffer): New functions.
12985         (get-next-valid-buffer, last-buffer, next-buffer): Move here
12986         from simple.el.  Call switch-to-next-buffer.
12987         (previous-buffer): Move here from simple.el.
12988         Call switch-to-prev-buffer.
12989         (bury-buffer): Move here from buffer.c.  Switch to previous
12990         buffer when window cannot be deleted.
12991         (unbury-buffer): Move here from bindings.el.
12992         (ctl-x-map): Move binding for other-window from window.c to
12993         here.
12994         (read-buffer-to-switch, switch-to-buffer-other-window)
12995         (switch-to-buffer-other-frame): Move here from files.el.
12996         (normalize-buffer-to-switch-to): New functions.
12997         (switch-to-buffer): Move here from buffer.c.
12998         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13000 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
13002         * window.el (window-min-height, window-min-width): Move here
13003         from window.c.  Add defcustoms and rewrite doc-strings.
13004         (resize-mini-window, resize-window): New functions.
13005         (adjust-window-trailing-edge, enlarge-window, shrink-window):
13006         Move here from window.c.
13007         (maximize-window, minimize-window): New functions.
13008         (delete-window, delete-other-windows, split-window): Move here
13009         from window.c.
13010         (window-split-min-size): New function.
13011         (split-window-keep-point): Mention split-window-above-each-other
13012         instead of split-window-vertically.
13013         (split-window-above-each-other, split-window-vertically):
13014         Rename split-window-vertically to split-window-above-each-other
13015         and provide defalias for old definition.
13016         (split-window-side-by-side, split-window-horizontally):
13017         Rename split-window-horizontally to split-window-side-by-side
13018         and provide defalias for the old definition.
13019         (ctl-x-map): Move bindings for delete-window,
13020         delete-other-windows and enlarge-window here from window.c.
13021         Replace bindings for split-window-vertically and
13022         split-window-horizontally by bindings for
13023         split-window-above-each-other and split-window-side-by-side.
13025         * cus-start.el (all): Remove entries for window-min-height and
13026         window-min-width.  Add entries for window-splits and
13027         window-nest.
13029 2011-06-09  Glenn Morris  <rgm@gnu.org>
13031         * calendar/appt.el (appt-mode-line): New function.
13032         (appt-check, appt-disp-window): Use it.
13034         * files.el (hack-one-local-variable-eval-safep):
13035         Allow minor-modes with explicit +/-1 arguments.
13037 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
13039         * term/xterm.el (xterm): Add defgroup.
13040         (xterm-extra-capabilities): Add defcustom to supply known xterm
13041         capabilities, skip querying them, or query them (default).
13042         (terminal-init-xterm): Use it.
13043         (terminal-init-xterm-modify-other-keys): New function to set up
13044         modifyOtherKeys support to simplify `terminal-init-xterm'.
13046 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
13048         * window.el (resize-window-reset, resize-window-reset-1)
13049         (resize-subwindows-skip-p, resize-subwindows-normal)
13050         (resize-subwindows, resize-other-windows, resize-this-window)
13051         (resize-root-window, resize-root-window-vertically)
13052         (window-deletable-p, window-or-subwindow-p)
13053         (frame-root-window-p): New functions.
13055 2011-06-09  Glenn Morris  <rgm@gnu.org>
13057         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13058         (ange-ftp-get-files): Use it.
13060 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
13062         * mail/sendmail.el (mail-recover-1, mail-recover):
13063         * files.el (recover-file, recover-session):
13064         Handle dired-listing-switches not being just a single short option.
13066 2011-06-09  Glenn Morris  <rgm@gnu.org>
13068         * calendar/appt.el (appt-display-message, appt-disp-window):
13069         Handle lists of appointments.
13071 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
13073         * window.el (one-window-p): Move down in code.
13074         Rewrite doc-string.
13075         (window-current-scroll-bars): Rewrite doc-string.
13076         Normalize live window argument.
13077         (walk-windows, get-window-with-predicate, count-windows):
13078         Rewrite doc-string.  Use window-list-1.
13079         (window-in-direction-2, window-in-direction, get-mru-window):
13080         New functions.
13082 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
13084         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13085         Doc fix (Bug#8713).
13087 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
13089         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13091 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
13093         * loadhist.el (unload-feature-special-hooks):
13094         Add `comint-output-filter-functions'.
13096 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
13098         * calendar/appt.el (appt-check): Move some initializations into the let.
13100 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
13102         * window.el (window-height): Defalias to window-total-height.
13103         (window-width): Defalias to window-body-width.
13105 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
13107         * image-mode.el (image-toggle-animation): New command.
13108         (image-mode-map): Bind it to RET.
13109         (image-mode): Update message.
13110         (image-toggle-display-image): Avoid a spurious cache flush.
13111         (image-transform-rotation): Doc fix.
13112         (image-transform-properties): Return quickly in the normal case.
13113         (image-animate-loop): Rename from image-animate-max-time.
13115         * image.el (image-animate-max-time): Move to image-mode.el.
13116         (create-animated-image): Remove unnecessary function.
13117         (image-animate): Rename from image-animate-start.  New arg.
13118         (image-animate-stop): Remove; just use image-animate-timer.
13119         (image-animate-timer): Use car-safe.
13120         (image-animate-timeout): Rename argument.
13122 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
13124         * window.el (get-lru-window, get-largest-window): Move here from
13125         window.c.  Rename first argument to ALL-FRAMES.
13126         Rephrase doc-strings.
13127         (get-buffer-window-list): Rewrite using window-list-1.
13128         Rephrase doc-string.
13129         (window-safe-min-height, window-safe-min-width): New constants.
13130         (window-size-ignore, window-min-size, window-min-size-1)
13131         (window-sizable, window-sizable-p, window-size-fixed-1)
13132         (window-size-fixed-p, window-min-delta-1, window-min-delta)
13133         (window-max-delta-1, window-max-delta, window-resizable)
13134         (window-resizable-p, window-total-height, window-total-width)
13135         (window-body-width): New functions.
13136         (window-full-height-p, window-full-width-p): Rewrite using
13137         window-total-size.
13138         (window-body-height): Rewrite using window-body-size.
13140 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
13142         * window.el (window-right, window-left, window-child)
13143         (window-child-count, window-last-child, window-any-p)
13144         (normalize-live-buffer, normalize-live-frame)
13145         (normalize-any-window, normalize-live-window)
13146         (window-iso-combination-p, window-iso-combined-p)
13147         (window-iso-combinations)
13148         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13149         (windows-with-parameter, window-with-parameter)
13150         (window-atom-root, make-window-atom, window-atom-check-1)
13151         (window-atom-check, window-side-check, window-check):
13152         New functions.
13153         (ignore-window-parameters, window-sides, window-sides-vertical)
13154         (window-sides-slots): New variables.
13155         (window-size-fixed): Move down in code.  Minor doc-string fix.
13157 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
13159         * comint.el (comint-dynamic-complete-as-filename)
13160         (comint-dynamic-complete-filename): Correctly call
13161         completion-in-region.
13163 2011-06-05  Deniz Dogan  <deniz@dogan.se>
13165         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13166         in last change.
13168 2011-06-05  Deniz Dogan  <deniz@dogan.se>
13170         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13171         (rcirc): Use it to prompt for encryption.
13173 2011-06-05  Roland Winkler  <winkler@gnu.org>
13175         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13176         (bibtex-search-entries): New command bound to C-c C-a.
13177         (bibtex-display-entries): New function.
13179 2011-06-05  Roland Winkler  <winkler@gnu.org>
13181         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13182         (bibtex-insert-kill): After yanking insert newline if necessary.
13183         (bibtex-initialize): Call bibtex-string-files-init only once.
13184         (bibtex-mode): Do not call easy-menu-add.
13185         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13186         (bibtex-yank): Set arg properly if nil.
13188 2011-06-05  Roland Winkler  <winkler@gnu.org>
13190         * textmodes/bibtex.el (bibtex-search-entry-globally):
13191         New variable.
13192         (bibtex-search-entry): Use it.
13194 2011-06-05  Roland Winkler  <winkler@gnu.org>
13196         * textmodes/bibtex.el (bibtex-entry-format): New option
13197         sort-fields.
13198         (bibtex-format-entry, bibtex-reformat): Honor this option.
13199         (bibtex-parse-entry): Return fields in proper order.
13201 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
13203         * doc-view.el (doc-view-remove-if): Move computation of result out
13204         of `dolist' to silence misleading lexical-binding warning.
13206 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
13208         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13209         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13211 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
13213         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13214         "SunOS 5.10".
13216 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
13218         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13219         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13220         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13221         (tramp-parse-putty):
13222         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13223         (tramp-completion-function-alist-ssh)
13224         (tramp-completion-function-alist-telnet)
13225         (tramp-completion-function-alist-su)
13226         (tramp-completion-function-alist-putty): Set `tramp-autoload'
13227         cookie.
13229         * net/tramp-ftp.el:
13230         * net/tramp-sh.el:
13231         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13232         load "tramp.el" `tramp-set-completion-function'.
13234 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13236         * shell.el: Require and use pcomplete.
13237         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13238         (shell-completion-vars): Set pcomplete-default-completion-function.
13240 2011-06-04  Deniz Dogan  <deniz@dogan.se>
13242         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13243         `memq' (Bug#8799).
13245 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13247         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13249 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
13251         * bs.el (bs--mark-unmark, bs--nth-wrapper):
13252         * mpc.el (mpc-select-extend, mpc-songpointer-context):
13253         * vc/log-view.el (log-view-beginning-of-defun):
13254         * vc/smerge-mode.el (smerge-apply-resolution-patch)
13255         (smerge-refine-forward, smerge-refine-chopup-region):
13256         Silence warning for unused `dotimes' counter variables.
13258 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13260         * net/tramp.el (tramp-with-progress-reporter): Rename from
13261         with-progress-reporter.  Use `declare'.
13262         * net/tramp-smb.el:
13263         * net/tramp-sh.el:
13264         * net/tramp-gvfs.el: Update all uses.
13266 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
13268         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13269         buffer isn't killed before making it current.
13271 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13273         Silence various byte-compiler warnings.
13274         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13275         `access-type' and new obsolescence format.
13276         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13277         new format.
13278         (byte-compile-check-variable): New `access-type' argument.
13279         Only warn if the access-type is obsolete.
13280         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13281         (byte-compile-variable-set): Adjust callers.
13282         * help-fns.el (describe-variable): Adjust to new obsolescence format.
13283         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13284         setting it as obsolete.
13285         * simple.el (minibuffer-completing-symbol):
13286         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13287         access as obsolete.
13288         * minibuffer.el (minibuffer-completing-file-name): Don't make it
13289         obsolete yet.
13290         * international/quail.el (quail-mouse-choose-completion): Remove unused
13291         code referring to obsolete var.
13292         (quail-choose-completion-string): Remove.
13293         * server.el (server-clients-with, server-kill-buffer-query-function)
13294         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13295         * proced.el (proced-send-signal):
13296         * emacs-lisp/lisp.el (lisp-complete-symbol):
13297         Replace completion-annotate-function with completion-extra-properties.
13299 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13301         * simple.el (goto-line): Use read-number.
13302         (overriding-map-is-bound): Remove.
13303         (saved-overriding-map): Change default.
13304         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13305         Take the map as argument.
13306         (universal-argument, negative-argument, digit-argument): Use it.
13307         (restore-overriding-map): Adjust.
13308         (do-auto-fill): Use fill-forward-paragraph.
13309         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13311         * minibuffer.el (minibuffer-inactive-mode-map): New var.
13312         (minibuffer-inactive-mode): New major mode.
13313         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13314         the *Messages* buffer" hack.
13315         (mouse-popup-menubar): Don't burp if the event is a normal key.
13317         Miscellaneous tweaks.
13318         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13319         lexical scoping as in subr.el's dolist and dotimes.
13320         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13321         Silence compiler warning.
13322         * thingatpt.el (forward-whitespace): Trivial coding style fix.
13323         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13324         * international/ccl.el (ccl-compile): Trivial simplification.
13325         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13326         * emacs-lisp/testcover.el (testcover-end): Remove spurious
13327         `printflag' argument.
13328         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13329         Purecopy the whole obsolescence data.
13331 2011-06-01  Leo Liu  <sdl.web@gmail.com>
13333         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13334         improve doc-string as suggested by Marco Pessotto
13335         <melmothx@gmail.com>.
13336         (rcirc-print): Fix last change.
13338 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13340         * minibuffer.el (complete-with-action): Return nil for the metadata and
13341         boundaries of non-functional tables.
13342         (completion-table-dynamic): Return nil for the metadata.
13343         (completion-table-with-terminator): Add default case, using
13344         complete-with-action.
13345         (completion--metadata): New function.
13346         (completion-all-sorted-completions, minibuffer-completion-help): Use it
13347         to try and avoid pathological performance problems.
13348         (completion--embedded-envvar-table): Return `category' metadata.
13350 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13352         * subr.el (process-alive-p): New tiny convenience function.
13354 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13356         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13357         content but also its previous major mode.
13359 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
13361         * emacs-lisp/debug.el (debug): Restore the previous content of the
13362         *Backtrace* buffer when we exit with C-M-c.
13364 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13366         * minibuffer.el: Add metadata method to completion tables.
13367         (completion-category-overrides): New defcustom.
13368         (completion-metadata, completion--field-metadata)
13369         (completion-metadata-get, completion--styles)
13370         (completion--cycle-threshold): New functions.
13371         (completion-try-completion, completion-all-completions):
13372         Add `metadata' argument to choose completion-styles.
13373         (completion--do-completion): Use metadata to choose cycling.
13374         (completion-all-sorted-completions): Use metadata for sorting.
13375         Remove :completion-cycle-penalty which is not needed any more.
13376         (completion--try-word-completion): Add `metadata' argument.
13377         (minibuffer-completion-help): Check metadata for annotation function
13378         and sorting.
13379         (completion-file-name-table): Return `category' metadata.
13380         (minibuffer-completing-file-name): Make obsolete.
13381         * simple.el (minibuffer-completing-symbol): Make obsolete.
13382         * icomplete.el (icomplete-completions): Pass new `metadata' param to
13383         completion-try-completion.
13385 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13387         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13389 2011-05-30  Leo Liu  <sdl.web@gmail.com>
13391         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
13392         (rcirc-print): Decode all incoming messages (bug#8744).
13393         (rcirc-decode-coding-system): Allow value nil for automatic coding
13394         system detection.
13396 2011-06-01  Glenn Morris  <rgm@gnu.org>
13398         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13400 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
13402         * image.el (image-animate-max-time): Allow nil and t values.
13403         Default to nil.
13404         (create-animated-image): Doc fix.
13405         (image-animate-start): Remove second arg; just use
13406         image-animate-max-time.
13407         (image-animate-timeout): Doc fix.  Args changed.
13409         * image-mode.el (image-toggle-display-image): Ensure that the
13410         image spec passed to the animate timer is the same object as in
13411         the buffer's display property (Bug#6981).
13412         (image-transform-properties): Doc fix.
13414         * image.el (image-animate-max-time): Default to nil.
13416 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
13418         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13419         entire buffer list (Bug#8184).
13421 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
13423         * image.el (imagemagick-types-inhibit)
13424         (imagemagick-register-types): Doc fix.
13426 2011-05-29  Deniz Dogan  <deniz@dogan.se>
13428         * net/rcirc.el (rcirc): Use the user's stored encryption method by
13429         default.
13431 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
13433         * select.el: Don't perform clipboard-manager saving in hooks;
13434         leave the hooks empty.
13436 2011-05-28  Leo Liu  <sdl.web@gmail.com>
13438         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13439         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
13440         (occur-edit-mode): New major mode (Bug#8463).
13441         (occur-after-change-function): New function.
13442         (occur-engine): Give Occur tags a read-only property.
13444 2011-05-28  Kevin Ryde  <user42@zip.com.au>
13446         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13448 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
13450         * bindings.el (help-echo): Make the initial non-indicator dash
13451         empty on graphical terminals (Bug#7295).
13453         * files.el (auto-mode-alist): Move config rule after the
13454         in-stripping one (Bug#8547).
13456         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13458         * startup.el (normal-splash-screen): Remove gratuitous mode-line
13459         setting (Bug#8740).
13461 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
13463         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13464         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13465         (Bug#8539).
13467 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
13469         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13471 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
13473         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13474         (hs-hide-block-at-point, hs-find-block-beginning)
13475         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13476         (Bug#8279).
13478 2011-05-28  Glenn Morris  <rgm@gnu.org>
13480         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
13482 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
13484         * help-fns.el (describe-function-1): If the function is a derived
13485         major mode, print the parent mode.
13487         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13488         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13490 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13492         * minibuffer.el (completion--capf-wrapper): Check applicability before
13493         returning non-nil for non-exclusive completion data.
13494         * progmodes/etags.el (tags-completion-at-point-function):
13495         * info-look.el (info-lookup-completions-at-point): Mark as
13496         non-exclusive.
13497         (info-complete): Adjust accordingly.
13499         * info-look.el: Convert to lexical-binding and completion-at-point.
13500         (info-lookup-completions-at-point): New function.
13501         (info-complete): Use it and completion-in-region.
13503 2011-05-28  Drew Adams  <drew.adams@oracle.com>
13505         * isearch.el: Let M-e start with point at the first mismatched char.
13506         (isearch-fail-pos): New function.
13507         (isearch-edit-string): Use it.
13509 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
13511         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13513 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
13515         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
13516         traversal functions for avl-trees.
13517         (avl-tree--stack): New struct.
13518         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13519         (avl-tree-enter): Add optional `updatefun' arg.
13520         (avl-tree--do-enter): Add optional `updatefun' arg.
13521         Change return value.
13522         (avl-tree-delete): Add optional `test' and `nilflag' args.
13523         (avl-tree--do-delete): Add `test' and `nilflag' args.
13524         Change return value.
13525         (avl-tree-member): Add optional `nilflag'
13526         (avl-tree-member-p): New function.
13527         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13528         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13529         (avl-tree-stack-empty-p): New functions.
13531         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13532         avl-tree--del-balance1 and make it work both ways.
13533         (avl-tree--del-balance2): Remove.
13534         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13535         make it work both ways.
13536         (avl-tree--enter-balance2): Remove.
13537         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13538         New macros.
13539         (avl-tree--mapc, avl-tree-map): Add direction argument.
13541 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
13543         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13545 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
13547         * select.el: Support clipboard managers with built-in function
13548         x-clipboard-manager-save, via delete-frame-functions and
13549         kill-emacs-hook.
13550         (xselect-convert-to-targets): Add MULTIPLE target to list.
13551         (xselect-convert-to-save-targets): New function.
13553 2011-05-27  Kenichi Handa  <handa@m17n.org>
13555         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13556         let-binding rfc2047-encode-encoded-words to nil.
13558 2011-05-27  Glenn Morris  <rgm@gnu.org>
13560         * mail/emacsbug.el: Don't require url-util.
13562         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
13564         * files.el (set-auto-mode):
13565         Also respect mode: entries at the end of the file.  (Bug#8586)
13567 2011-05-26  Glenn Morris  <rgm@gnu.org>
13569         * files.el (hack-local-variables-prop-line, hack-local-variables):
13570         Downcase mode names, as seems to be traditional.
13571         (hack-local-variables, hack-local-variables-apply): Doc fixes.
13573         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13574         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
13576 2011-05-25  Julien Danjou  <julien@danjou.info>
13578         * textmodes/rst.el (rst-define-level-faces): Do not define face
13579         symbol if it is already defined.
13581 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13583         * play/5x5.el (5x5-new-game, 5x5-randomize):
13584         Reset 5x5-solver-output to nil when a new grid is cast.
13585         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13586         these debugging traces, as defmacro breaks the compiled code.
13588 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
13590         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13592 2011-05-24  Leo Liu  <sdl.web@gmail.com>
13594         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13595         (vc-bzr-sha1): Adapt.
13597         * sha1.el: Remove.  Function `sha1' is now builtin.
13599         * bindings.el: Provide sha1 feature.
13601 2011-05-24  Kenichi Handa  <handa@m17n.org>
13603         * mail/sendmail.el: Require `rfc2047'.
13604         (mail-insert-from-field): Do not perform RFC2047 encoding.
13605         (mail-encode-header): New function.
13606         (sendmail-send-it): Set buffer-file-coding-system of the work
13607         buffer to the return value of select-message-coding-system.
13608         Call mail-encode-header.
13610         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13612 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
13614         * mail/supercite.el (sc-default-cite-frame):
13615         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13617 2011-05-24  Glenn Morris  <rgm@gnu.org>
13619         * progmodes/python.el (brm-menu): Declare.
13621         * emulation/viper.el (viper-set-hooks): Declare.
13623         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13624         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13625         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13626         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13627         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13628         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13630 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13632         Add an :exit-function for completion-at-point.
13634         * minibuffer.el (completion--done): New fun.
13635         (completion--do-completion): Use it.  New arg `expect-exact'.
13636         (minibuffer-complete, minibuffer-complete-word): Don't output message,
13637         since completion--do-completion does it for us now.
13638         (minibuffer-force-complete): Use completion--done and
13639         completion--replace.  Handle sole-completion case with more care.
13640         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13641         (completion-extra-properties): New var.
13642         (completion-annotate-function): Make obsolete.
13643         (minibuffer-completion-help): Adjust accordingly.
13644         Use completion-list-insert-choice-function.
13645         (completion-at-point, completion-help-at-point):
13646         Bind completion-extra-properties.
13647         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13648         * simple.el (completion-list-insert-choice-function): New var.
13649         (completion-setup-function): Preserve it.
13650         (choose-completion): Pay attention to it, shuffle the code a bit.
13651         (choose-completion-string): New arg `insert-function'.
13653         * textmodes/bibtex.el: Convert to lexical binding.
13654         (bibtex-mode-map): Use completion-at-point.
13655         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13656         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13657         (bibtex-complete): Define as obsolete alias.
13658         (bibtex-complete-internal): Remove.
13659         (bibtex-format-entry): Remove unused sub-group in regexp.
13660         * shell.el (shell--command-completion-data)
13661         (shell-environment-variable-completion):
13662         * pcomplete.el (pcomplete-completions-at-point):
13663         * comint.el (comint--complete-file-name-data): Use :exit-function
13664         instead of completion-table-with-terminator so it also works for
13665         choose-completion.
13667 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13669         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13671         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13672         (bug#8710).
13674         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13676 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
13678         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13679         customization variable and implement: If non-nil, auto-fill will
13680         be inhibited while on topic's header line.
13682 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13684         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13685         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
13686         always have a solution in grid size = 5 cases.
13687         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13688         (5x5-solver-output, 5x5-log-buffer): New vars.
13689         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13690         Make these variables buffer local to achieve 5x5 multi-session-ness.
13691         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13692         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13693         (5x5-solve-suggest): New funs.
13694         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13695         randomize a grid so that we ensure that there is always a solution.
13696         (5x5-make-random-grid): Allow other movement than flipping.
13698 2011-05-23  Kevin Ryde  <user42@zip.com.au>
13700         * emacs-lisp/advice.el (ad-read-advised-function):
13701         Use `function-called-at-point' as the default, if it has
13702         advice and passes PREDICATE.
13704 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13706         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13707         byte-compile-lambda if it's actually a lambda.
13709         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13710         Fix function quoting.  Use backquote better.
13712 2011-05-22  Yuanle Song  <sylecn@gmail.com>
13714         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13715         matching (Bug#8516).
13717 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
13719         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13720         different face (Bug#8178).
13722 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
13724         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13725         defface (Bug#8144).
13727 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13729         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13730         funcall as well (bug#8712).  Warn when performing those conversions.
13731         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13733         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13735 2011-05-22  Glenn Morris  <rgm@gnu.org>
13737         * files.el (hack-local-variables-prop-line): Small simplifications.
13738         (hack-local-variables, hack-local-variables-prop-line):
13739         If MODE-ONLY, return the mode, rather than just `t'.
13741 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13743         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13745 2011-05-21  Glenn Morris  <rgm@gnu.org>
13747         * files.el (hack-local-variables-prop-line, hack-local-variables):
13748         If only interested in the mode, don't bother doing the other stuff.
13750         * image-mode.el (image-after-revert-hook):
13751         Redraw all frames on which the image is visible.  (Bug#8567)
13753         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
13755         * wid-edit.el (widget-checklist-match-inline):
13756         Fix 2011-04-19 change.  (Bug#8649)
13758 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13760         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13761         Also allow singlespace after single-letter capitals followed by a dot.
13763         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13764         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13766 2011-05-20  Nix  <nix@esperi.org.uk>
13768         * files.el (basic-save-buffer-2):
13769         Fix handling of break-hardlink-on-save with non-existent files.
13771 2011-05-19  Deniz Dogan  <deniz@dogan.se>
13773         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13774         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13776 2011-05-19  Glenn Morris  <rgm@gnu.org>
13778         * progmodes/f90.el (f90-type-def-re):
13779         Handle "type, bind(c)".  (Bug#8691)
13781         * emacs-lisp/autoload.el (batch-update-autoloads):
13782         Set autoload-excludes by parsing loadup.el rather than Makefiles.
13784 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
13786         * net/tramp.el (tramp-process-actions): Set "first-password-request"
13787         property for the correct connection in case of multihops.
13789 2011-05-18  Glenn Morris  <rgm@gnu.org>
13791         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13792         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13794         Rationalize calendar handling of day and month abbrev-arrays.
13795         * calendar/calendar.el (calendar-customized-p): New function.
13796         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13797         (calendar-day-name-array, calendar-month-name-array): Doc fix.
13798         Add :set function.
13799         (calendar-abbrev-length, calendar-day-abbrev-array)
13800         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13801         (calendar-day-abbrev-array, calendar-month-abbrev-array):
13802         Elements may no longer be nil.
13803         (calendar-day-name, calendar-month-name):
13804         Update for changed nature of abbrev arrays.
13805         * calendar/diary-lib.el (diary-name-pattern):
13806         Update for changed nature of abbrev arrays.
13807         (diary-mark-entries-1): Update calendar-make-alist calls.
13808         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13809         * calendar/cal-html.el (cal-html-day-abbrev-array):
13810         Simply inherit from calendar-day-abbrev-array.
13812 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13814         * progmodes/grep.el (grep-mode): Disable default
13815         compilation-directory-matcher setting (bug#8684).
13817 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
13819         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13820         instead of "head" and "tail".  There were problems with SunOS 5.9,
13821         and it performs better.
13823 2011-05-17  Glenn Morris  <rgm@gnu.org>
13825         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13827         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13828         Replace obsolete function.
13830         * shell.el (pcomplete-parse-arguments-function): Declare.
13832         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13833         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13834         (appt-check): Doc fixes.
13835         (appt-disp-window-function, appt-delete-window-function):
13836         Remove needless special case in custom :type.
13837         (appt-display-count): Default to 0, not nil.
13838         (appt-check): Reset appt-display-count to 0, not nil.
13840 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
13842         * progmodes/python.el (python-font-lock-keywords):
13843         Add the Python 3.X keyword "nonlocal" (bug#8639).
13845 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13847         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13849 2011-05-16  Kevin Ryde  <user42@zip.com.au>
13851         * info-look.el (makefile-automake-mode): New setups, looking in
13852         automake manual, then makefile-mode.
13853         (makefile-mode): Remove automake manual, have it just in
13854         makefile-automake-mode since there's various things different or
13855         not relevant to plain make.
13856         (makefile-mode): Remove "other-modes" non-existent automake-mode,
13857         believe a hypothetical automake-mode would go to makefile-mode,
13858         not the other way around.
13860 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
13862         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13863         hunk-end tags (Bug#8672).
13865         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13866         vc-annotate-show-diff-revision-at-line (Bug#8671).
13868 2011-05-14  Glenn Morris  <rgm@gnu.org>
13870         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13871         in the middle of an existing one with multiple authors.  (Bug#8645)
13872         (change-log-font-lock-keywords): Also handle multiple author lines
13873         with leading tabs.  (Bug#8644)
13875         * calendar/appt.el (appt-check): Rename some local variables.
13876         Some simplification/reordering.
13878         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13879         (feedmail-sendmail-f-doesnt-sell-me-out)
13880         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13881         (feedmail-debug-sit-for, feedmail-queue-express-hook)
13882         (feedmail-queue-runner-message-sender): Set :version.
13883         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13884         (bbdb-dwim-net-address, vm-mail): Declare.
13885         (feedmail-binmail-gnulinuxish-template):
13886         Rename from feedmail-binmail-linuxish-template.
13887         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13888         Use insert-buffer-substring.
13890 2011-05-14  Bill Carpenter  <bill@carpenter.org>
13892         * mail/feedmail.el (feedmail-patch-level): Increase.
13893         (feedmail-debug): New custom group.
13894         (feedmail-confirm-outgoing-timeout)
13895         (feedmail-sendmail-f-doesnt-sell-me-out)
13896         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13897         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13898         (feedmail-sender-line, feedmail-from-line)
13899         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13900         (feedmail-spray-this-address)
13901         (feedmail-spray-address-fiddle-plex-list)
13902         (feedmail-queue-use-send-time-for-date)
13903         (feedmail-queue-use-send-time-for-message-id)
13904         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13905         (feedmail-buffer-eating-function):
13906         Doc fixes.
13907         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13908         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13909         (feedmail-message-action-scroll-down): New functions.
13910         (feedmail-queue-directory, feedmail-queue-draft-directory):
13911         Use expand-file-name.
13912         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13913         Remove C-v help entry.
13914         (feedmail-queue-buffer-file-name): New variable.
13915         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13916         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13917         (feedmail-message-action-send-strong, feedmail-message-action-edit)
13918         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13919         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13920         (feedmail-message-action-toggle-spray)
13921         (feedmail-run-the-queue-no-prompts)
13922         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13923         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13924         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13925         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13926         (feedmail-envelope-deducer, feedmail-fiddle-from)
13927         (feedmail-fiddle-sender, feedmail-default-date-generator)
13928         (feedmail-fiddle-date, feedmail-fiddle-message-id)
13929         (feedmail-fiddle-spray-address)
13930         (feedmail-fiddle-list-of-spray-fiddle-plexes)
13931         (feedmail-fiddle-list-of-fiddle-plexes)
13932         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13933         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13934         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13935         Change default.  Doc fix.
13936         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13937         (feedmail-binmail-linuxish-template): New constant.
13938         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
13939         Respect feedmail-sendmail-f-doesnt-sell-me-out.
13940         (feedmail-send-it): Add debug call.
13941         Use feedmail-queue-buffer-file-name, and
13942         feedmail-send-it-immediately-wrapper.
13943         (feedmail-message-action-send): Add debug call.
13944         Use feedmail-send-it-immediately-wrapper.
13945         (feedmail-queue-express-to-queue): Add debug call.
13946         Run feedmail-queue-express-hook.
13947         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
13948         (feedmail-message-action-help-blat):
13949         Rename from feedmail-queue-send-edit-prompt-help-first.
13950         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
13951         Check line-endings.  Handle errors better.
13952         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13953         Doc fix.  Add debug call.
13954         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
13955         Use feedmail-queue-send-edit-prompt-inner.
13956         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13957         (feedmail-queue-send-edit-prompt-inner): New function, extracted
13958         from feedmail-queue-send-edit-prompt.
13959         (feedmail-queue-send-edit-prompt-help)
13960         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13961         (feedmail-tidy-up-slug): Add debug call.
13962         Respect feedmail-queue-slug-suspect-regexp.
13963         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13964         (feedmail-dump-message-to-queue): Add debug call.
13965         Expand queue-directory.
13966         (feedmail-dump-message-to-queue): Change message slightly.
13967         Use feedmail-say-chatter.
13968         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
13969         (feedmail-send-it-immediately-wrapper): New function.
13970         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
13971         Insert empty string rather than newline.  Handle full-frame case.
13972         Use catch/throw.  Use feedmail-say-chatter.
13973         (feedmail-fiddle-from): Try mail-host-address.
13974         (feedmail-default-message-id-generator): Doc fix.
13975         Bind system-time-locale.  Handle missing end.
13976         (feedmail-fiddle-x-mailer): Add debug call.
13977         Handle feedmail-x-mailer-line being nil.
13978         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13979         Add debug call.  Use buffer-substring-no-properties.
13980         (feedmail-say-debug, feedmail-say-chatter): New functions.
13981         (feedmail-find-eoh): Give an explicit error.
13983 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
13985         * net/newst-treeview.el (newsticker-treeview-face): Change default
13986         family from helvetica to sans.
13987         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13988         etc/images/newsticker.
13990         * net/newst-reader.el (newsticker-feed-face): Change default
13991         family from helvetica to sans.
13993         * net/newst-plainview.el (newsticker-new-item-face)
13994         (newsticker-old-item-face, newsticker-immortal-item-face)
13995         (newsticker-obsolete-item-face, newsticker-date-face)
13996         (newsticker-statistics-face): Change default family from
13997         helvetica to sans.
13998         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13999         etc/images/newsticker.
14001         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14002         (newsticker--process-auto-mark-filter-match): Tell user about
14003         auto-marking.
14005 2011-05-13  Didier Verna  <didier@xemacs.org>
14007         Common Lisp indentation improvements on defmethod and lambda-lists.
14008         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14009         TODO entries.
14010         (lisp-lambda-list-keyword-parameter-indentation)
14011         (lisp-lambda-list-keyword-parameter-alignment)
14012         (lisp-lambda-list-keyword-alignment): New customizable user options.
14013         (lisp-indent-defun-method): Improve docstring.
14014         (extended-loop-p): Fix comment.
14015         (lisp-indent-lambda-list-keywords-regexp): New variable.
14016         (lisp-indent-lambda-list): New function.
14017         (lisp-indent-259): Use it.
14018         (lisp-indent-defmethod): Support for more than one
14019         method qualifier and properly indent methods lambda-lists.
14020         (defgeneric): Provide a missing common-lisp-indent-function property.
14022 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14024         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14025         bounds for the empty string (bug#8667).
14027 2011-05-13  Glenn Morris  <rgm@gnu.org>
14029         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14031         * mail/sendmail.el (sendmail-program): Try executable-find first.
14032         (sendmail-send-it): `sendmail-program' cannot be unbound.
14034         * calendar/appt.el (appt-make-list): Simplify.
14035         (appt-time-msg-list): Doc fix.
14036         (appt-check): Change mode-line message at the time of the appointment.
14038 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14040         * progmodes/ld-script.el (ld-script-keywords)
14041         (ld-script-builtins): Update keywords list.
14043 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14045         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14047         * shell.el (shell-completion-vars): New function.
14048         (shell-mode):
14049         * simple.el (read-shell-command): Use it.
14050         (blink-matching-open): No need for " [...]" in minibuffer-message.
14052 2011-05-12  Glenn Morris  <rgm@gnu.org>
14054         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14055         (appt-check): Simplify.
14057 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
14059         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14060         literal "/dev/null".
14062 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14064         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14065         Fix typo.
14067 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
14069         * progmodes/which-func.el (which-function):
14070         Use add-log-current-defun instead of add-log-current-defun-function,
14071         which might not be defined (Bug#8260).
14073 2011-05-12  Glenn Morris  <rgm@gnu.org>
14075         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14076         Let byte-compile-initial-macro-environment always take precedence.
14078 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14080         * net/rcirc.el: Add support for SSL/TLS connections.
14081         (rcirc-server-alist): New field `encryption'.
14082         (rcirc): Check `encryption' settings.
14083         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
14084         Merge make-local-variable into `set'.
14085         (rcirc--connection-open-p): New function.
14086         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14087         the process is not a network process (e.g. running gnutls-cli).
14088         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14089         Make rcirc-(en|de)code-coding-system local here.
14090         (rcirc-mode): Merge make-local-variable into `set'.
14091         (rcirc-parent-buffer): Make permanent buffer-local.
14092         (rcirc-multiline-minor-mode): Don't do it here.
14093         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14094         there's no server buffer.
14096 2011-05-11  Glenn Morris  <rgm@gnu.org>
14098         * newcomment.el (comment-kill): Prefix "unused" local.
14100         * term/w32console.el (get-screen-color): Declare.
14102         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14103         Handle symbol elements of byte-compile-initial-macro-environment.
14105 2011-05-10  Leo Liu  <sdl.web@gmail.com>
14107         * bookmark.el (bookmark-bmenu-mode-map):
14108         Bind bookmark-bmenu-search to `/'.
14110         * mail/footnote.el: Convert to utf-8 encoding.
14111         (footnote-unicode-string, footnote-unicode-regexp): New variable.
14112         (Footnote-unicode): New function.
14113         (footnote-style-alist): Add unicode style to the list.
14114         (footnote-style): Doc fix.
14116 2011-05-10  Jim Meyering  <meyering@redhat.com>
14118         Fix doubled-word typos.
14119         * international/quail.el (quail-insert-kbd-layout): and and -> and
14120         * kermit.el: and and -> and
14121         * net/ldap.el (ldap-search-internal): to to -> to
14122         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14123         * progmodes/js.el (js-mode): and and -> and
14124         * textmodes/artist.el (artist-move-to-xy): at at -> at
14125         (artist-draw-region-trim-line-endings): if if -> if
14126         And Safetyc -> Safety.
14127         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14129 2011-05-10  Glenn Morris  <rgm@gnu.org>
14130             Stefan Monnier  <monnier@iro.umontreal.ca>
14132         * files.el (hack-one-local-variable-eval-safep):
14133         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
14135 2011-05-10  Glenn Morris  <rgm@gnu.org>
14137         * calendar/diary-lib.el (diary-list-entries-hook)
14138         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14139         (diary-nongregorian-marking-hook, diary-list-entries)
14140         (diary-include-other-diary-files, diary-mark-entries)
14141         (diary-mark-included-diary-files): Doc fixes.
14143 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
14145         * misc.el: Require tabulated-list.el during compilation.
14147 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
14149         * progmodes/compile.el (compilation-start):
14150         Run compilation-filter-hook for the async case too.
14151         (compilation-filter-hook): Doc fix.
14153 2011-05-09  Deniz Dogan  <deniz@dogan.se>
14155         * wdired.el: Remove outdated installation comment.  Fix usage
14156         comment.
14158 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
14160         * misc.el: Implement new command `list-dynamic-libraries'.
14161         (list-dynamic-libraries--loaded-only-p): New variable.
14162         (list-dynamic-libraries--refresh): New function.
14163         (list-dynamic-libraries): New command.
14165 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
14167         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14168         Fix the ant regexp to handle end-line and end-column info from jikes.
14169         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
14170         higher priority to avoid clobbering by gnu.
14172 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
14174         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14175         if the face has existing theme settings (Bug#8454).
14177 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
14179         * progmodes/perl-mode.el (perl-imenu-generic-expression):
14180         Only match variables declared via `my' or `our' (Bug#8261).
14182         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14183         special file names `.' and `..' (Bug#8259).
14185 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
14187         * progmodes/grep.el (grep-mode-font-lock-keywords):
14188         Remove buffer-changing entries.
14189         (grep-filter): New function.
14190         (grep-mode): Add it to compilation-filter-hook.
14192         * progmodes/compile.el (compilation-filter-hook)
14193         (compilation-filter-start): New defvars.
14194         (compilation-filter): Call compilation-filter-hook prior to
14195         updating the process mark.
14197 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14199         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14201 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
14203         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14204         mailclient-send-it even if window-system is nil.  (Bug#8595)
14206         * term/w32console.el (terminal-init-w32console):
14207         Call get-screen-color and use its output to set the frame
14208         background-mode.  (Bug#8597)
14210 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14212         Make bytecomp.el understand that defmethod defines funs (bug#8631).
14213         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14214         New functions.
14215         (defgeneric, eieio--defmethod): Use them.
14216         (eieio-defgeneric): Remove.
14217         (defmethod): Call defgeneric in a way visible to the byte-compiler.
14219 2011-05-07  Glenn Morris  <rgm@gnu.org>
14221         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14222         Use let rather than let*.
14223         (timeclock-find-discrep): Remove unused local.
14225         * calendar/diary-lib.el (diary-comment-start): Doc fix.
14227         * calendar/appt.el (appt-time-msg-list): Doc fix.
14229 2011-05-06  Noah Friedman  <friedman@splode.com>
14231         * apropos.el (apropos-print-doc): Only use
14232         emacs-lisp-docstring-fill-column when it is bound to an integer,
14233         per that variable's documentation.
14235 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14237         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14238         and warnings are not silently discarded (e.g. use -d instead of -P).
14240 2011-05-06  Glenn Morris  <rgm@gnu.org>
14242         * calendar/appt.el (appt-message-warning-time): Doc fix.
14243         (appt-warning-time-regexp): New option.
14244         (appt-make-list): Respect appt-message-warning-time.
14246         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14247         New options.
14248         (diary-add-to-list): Strip comments from the displayed string.
14249         (diary-mode): Set comment-start and comment-end.
14251         * vc/diff-mode.el (smerge-refine-subst): Declare.
14252         (diff-refine-hunk): Don't require smerge-mode when compiling.
14254 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
14256         * simple.el (list-processes): Return nil as the docstring says.
14258 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
14260         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14261         to "".
14262         (ange-ftp-write-region, ange-ftp-insert-file-contents)
14263         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14264         determining of binary transfer.  (Bug#7383)
14266 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
14268         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14269         Fix port computation bug.  (Bug#8618)
14271 2011-05-05  Glenn Morris  <rgm@gnu.org>
14273         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14275         * simple.el (shell-dynamic-complete-functions)
14276         (comint-dynamic-complete-functions): Declare.
14278         * net/network-stream.el (gnutls-negotiate):
14279         * simple.el (tabulated-list-print): Fix declarations.
14281         * progmodes/gud.el (syntax-symbol, syntax-point):
14282         Remove unnecessary and incorrect declarations.
14284         * emacs-lisp/check-declare.el (check-declare-scan):
14285         Handle byte-compile-initial-macro-environment in bytecomp.el
14287 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14289         Fix earlier half-done eieio-defmethod change (bug#8338).
14290         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14291         Streamline and change calling convention.
14292         (defmethod): Adjust accordingly and simplify.
14293         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14294         new eieio--defmethod.
14295         (slot-boundp): Minor CSE simplification.
14297 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
14299         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14300         (glasses-make-readable): Use glasses-separate-capital-groups.
14302 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
14304         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14305         (warning-series): Doc fix.
14306         (display-warning): Don't try to create the buffer if we just found it.
14308 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
14310         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14311         (autoload-find-generated-file): New function.
14312         (generate-file-autoloads): Bind generated-autoload-file to
14313         buffer-file-name.
14314         (update-file-autoloads, update-directory-autoloads):
14315         Use autoload-find-generated-file.  If called interactively, prompt for
14316         output file (Bug#7989).
14317         (batch-update-autoloads): Doc fix.
14319 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
14321         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14323 2011-05-04  Glenn Morris  <rgm@gnu.org>
14325         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14326         function, so it follows changes in calendar-date-style.
14327         (diary-fancy-date-matcher): New function.
14328         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14329         (diary-fancy-font-lock-fontify-region-function):
14330         Use diary-fancy-date-pattern as a function.
14332         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14333         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
14335 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
14337         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14338         instead of positional arguments.  Allow :keylist and :crlfiles
14339         arguments.
14340         (open-gnutls-stream): Call it.
14342         * net/network-stream.el (network-stream-open-starttls): Adjust to
14343         call `gnutls-negotiate' with :process and :hostname arguments.
14345 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14347         * minibuffer.el (completion--message): New function.
14348         (completion--do-completion, minibuffer-complete)
14349         (minibuffer-force-complete, minibuffer-complete-word): Use it.
14350         (completion--do-completion): Don't ignore completion-auto-help when in
14351         icomplete-mode.
14353         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14354         internal encoding (e.g. tibetan zero is not whitespace).
14355         (global-whitespace-mode): Prefer save-current-buffer.
14356         (whitespace-trailing-regexp): Remove useless save-match-data.
14357         (whitespace-empty-at-bob-regexp): Minor simplification.
14359 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
14361         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14363 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
14365         * textmodes/ispell.el (ispell-add-per-file-word-list):
14366         Use `concat' to create string for insertion.
14368 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14370         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14371         Avoid open-line which runs post-self-insert-hook.
14372         (bibtex-fill-entry): Remove unused `end' var.
14374 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
14376         * textmodes/ispell.el (ispell-add-per-file-word-list):
14377         Protect against `nil' value of `comment-start' (Bug#8579).
14379 2011-05-03  Leo Liu  <sdl.web@gmail.com>
14381         * isearch.el (isearch-yank-pop): New command.
14382         (isearch-mode-map): Bind it to `M-y'.
14383         (isearch-forward): Mention it.
14385 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14387         * simple.el (minibuffer-complete-shell-command): Remove.
14388         (minibuffer-local-shell-command-map): Use completion-at-point.
14389         (read-shell-command): Setup completion vars here instead.
14390         (read-expression-map): Bind TAB to symbol completion.
14392         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14393         error directly rather via storing it into `results'.
14395 2011-05-02  Leo Liu  <sdl.web@gmail.com>
14397         * vc/diff.el: Fix description.
14399 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14401         * server.el (server-eval-at): New function.
14403 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14405         * net/network-stream.el (open-network-stream): Take a :nowait
14406         parameter and pass it on to `make-network-process'.
14407         (network-stream-open-plain): Ditto.
14409 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14411         * faces.el (face-spec-set-match-display): Don't match toolkit
14412         options on terminal frames.
14414 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14416         * progmodes/pascal.el: Use lexical binding.
14417         (pascal-mode-map): Remove author preferences.
14419         * pcomplete.el (pcomplete-std-complete): Don't abuse
14420         completion-at-point.
14422 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
14424         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14425         removing code that has been dead since 1991 or so.
14427         * startup.el (command-line): When warning about "_emacs", use a
14428         delayed warning to allow the user to filter it out.
14430 2011-04-28  Deniz Dogan  <deniz@dogan.se>
14432         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14433         user has not joined.
14435 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14437         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14438         aren't any completions at point.
14440 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
14442         * subr.el (display-delayed-warnings): New function.
14443         (delayed-warnings-hook): New variable.
14445 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14447         * minibuffer.el (completion-at-point, completion-help-at-point):
14448         Don't presume that a given completion-at-point-function will always
14449         use the same calling convention.
14451         * pcomplete.el (pcomplete-completions-at-point):
14452         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
14453         pcomplete-seen is non-nil.
14454         (pcomplete-comint-setup): Also recognize the new comint/shell
14455         completion functions.
14456         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14457         pcomplete-seen is non-nil.
14459 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
14461         * calendar/icalendar.el (diary-lib): Add require statement.
14462         (icalendar--create-uid): Read out a uid from a text-property on
14463         the first character in the entry.  This allows for code to add its
14464         own uid to the entry.
14465         (icalendar--convert-float-to-ical): Add export of
14466         `diary-float'-entries save for those with the optional DAY
14467         argument.
14469 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
14471         * subr.el (shell-quote-argument): Use alternate escaping strategy
14472         when we spot a variable reference in a string.
14474 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
14476         * cus-start.el (all): Define customization for debug-on-event.
14478 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
14480         * subr.el (shell-quote-argument): Escape correctly under Windows.
14482 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14484         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14486 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
14488         * net/tramp.el (tramp-process-actions): Add POS argument.
14489         Delete region between POS and (pos).
14491         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14492         Use `nil' position in `tramp-process-actions' call.
14493         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14495         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14496         position in `tramp-process-actions' call.
14498         * net/trampver.el: Update release number.
14500 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14502         * custom.el (defcustom): Obey lexical-binding.
14504         Fix octave-inf completion problems reported by Alexander Klimov.
14505         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14506         Inherit from octave-mode-syntax-table.
14507         (inferior-octave-mode): Set info-lookup-mode.
14508         (inferior-octave-completion-at-point): New function.
14509         (inferior-octave-complete): Use it and completion-in-region.
14510         (inferior-octave-dynamic-complete-functions): Use it as well, and use
14511         comint-filename-completion.
14512         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14513         symbol elements which shouldn't be word elements.
14514         (octave-font-lock-keywords, octave-beginning-of-defun)
14515         (octave-function-header-regexp): Adjust regexps accordingly.
14516         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14518 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
14520         * net/gnutls.el (gnutls-errorp): Declare before first use.
14522 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
14524         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14525         verify-error, and verify-hostname-error parameters.  Check whether
14526         default trustfile exists before going to use it.  Add missing
14527         argument to gnutls-message-maybe call.  Return value.
14528         Reported by Claudio Bley <claudio.bley@gmail.com>.
14529         (open-gnutls-stream): Add usage example.
14531         * net/network-stream.el (network-stream-open-starttls): Give host
14532         parameter to `gnutls-negotiate'.
14533         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14534         * subr.el (shell-quote-argument): Escape correctly under Windows.
14536 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
14538         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14539         Use correct match group (bug#8438).
14541 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
14543         * emacs-lisp/package.el (package-built-in-p): Fix typo.
14544         (package-menu--generate): New arg specifying packages to show.
14545         (package-menu-refresh, package-menu-execute, list-packages):
14546         Callers changed.
14547         (package-show-package-list): New function, replacing deleted
14548         package--list-packages (renamed because it is non-internal).
14550         * finder.el (finder-list-matches): Use package-show-package-list
14551         instead of deleted package--list-packages.
14553         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14554         Based on a previous implementation by Juanma Barranquero (Bug#8366).
14555         (vc-annotate-mode-map): Bind it to RET.
14557 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
14559         * progmodes/etags.el (next-file): Don't use set-buffer to change
14560         buffers (Bug#8478).
14562 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
14564         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14566         * apropos.el (apropos-label-face): Avoid variable-pitch face.
14567         (apropos-accumulator): Doc fix.
14568         (apropos-function, apropos-macro, apropos-command)
14569         (apropos-variable, apropos-face, apropos-group, apropos-widget)
14570         (apropos-plist): Add face property.
14571         (apropos-symbols-internal): Fix indentation.
14572         (apropos-print): Simplify help, and recognize apropos-multi-type.
14573         (apropos-print-doc): Use button-type-get to extract the button's
14574         face property.  Fill docstring (Bug#8352).
14576 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
14578         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14580         * play/mpuz.el (mpuz-silent): Doc fix.
14581         (mpuz-mode-map): Use mapc.
14582         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14583         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14584         Fix typos in docstrings.
14586         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14587         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14589         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14591 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
14593         * minibuffer.el (completion--do-completion): Avoid the "Next char
14594         not unique" prompt if icomplete-mode is enabled (Bug#5849).
14596         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14597         mouse-2 into unread-command-events, it is interpreted correctly.
14599         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14600         (image-toggle-display): Doc fix.
14602 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
14604         * textmodes/page.el (what-page): Use line-number-at-pos to
14605         calculate line number (Bug#6825).
14607 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
14609         * eshell/esh-mode.el (find-tag-interactive): Declare function.
14610         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14611         Pass argument NO-DEFAULT to `find-tag-interactive'.
14613 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
14615         Lexical-binding cleanup.
14617         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14618         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14619         * progmodes/ada-prj.el (ada-prj-initialize-values)
14620         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14621         (ada-prj-show-value):
14622         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14623         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14624         (antlr-invalidate-context-cache, antlr-options-menu-filter)
14625         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14626         * progmodes/bug-reference.el (bug-reference-push-button):
14627         * progmodes/fortran.el (fortran-line-length):
14628         * progmodes/glasses.el (glasses-change):
14629         * progmodes/octave-mod.el (octave-fill-paragraph):
14630         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14631         (python-pdbtrack-grub-for-buffer, python-sentinel):
14632         * progmodes/sql.el (sql-save-connection):
14633         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14634         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14635         Mark unused parameters.
14637         * progmodes/compile.el (compilation--flush-directory-cache)
14638         (compilation--flush-parse, compile-internal): Mark unused parameters.
14639         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14640         (compilation-next-error-function): Remove unused variable `timestamp'.
14642         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14643         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14645         * progmodes/dcl-mode.el (dcl-end-of-command):
14646         Remove unused variable `start'.
14647         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14648         (dcl-option-value-basic, dcl-option-value-offset)
14649         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14650         Mark unused parameters.
14651         (dcl-save-local-variable): Remove unused variable `val'.
14652         (mode): Declare.
14654         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14655         Mark unused parameters.
14656         (delphi-ignore-changes): Move before first use.
14657         (delphi-charset-token-at): Remove unused variable `start'.
14658         (delphi-else-start): Remove unused variable `if-count'.
14659         (delphi-comment-block-start, delphi-comment-block-end):
14660         Remove unused variable `kind'.
14661         (delphi-indent-line): Remove unused variable `new-point'.
14663         * progmodes/ebrowse.el (ebrowse-files-list)
14664         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14665         Mark unused parameters.  Don't quote `lambda'.
14666         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14667         Don't quote `lambda'.
14668         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14669         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14670         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14671         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14672         Use `ignore-errors'.
14673         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14674         (ebrowse-view/find-file-and-search-pattern)
14675         (ebrowse-view/find-member-declaration/definition):
14676         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14677         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14678         Rename parameter PREFIX-ARG to PREFIX.
14679         (ebrowse-tags-read-name): Remove unused variables `start' and
14680         `member-info'.
14681         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14682         to `tags-file'.
14684         * progmodes/etags.el (local-find-tag-hook): Declare.
14685         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14686         Mark unused parameters.
14688         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14689         (executable-interpret): Mark unused parameter.
14691         * progmodes/flymake.el (flymake-process-sentinel)
14692         (flymake-after-change-function)
14693         (flymake-create-temp-with-folder-structure)
14694         (flymake-get-include-dirs-dot): Mark unused parameters.
14695         (flymake-safe-delete-directory): Remove unused variable `err'.
14697         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14698         (speedbar-timer-fn, speedbar-line-text)
14699         (speedbar-change-expand-button-char, speedbar-delete-subblock)
14700         (speedbar-center-buffer-smartly): Declare functions.
14701         (gdb-find-watch-expression): Remove unused variable `array'.
14702         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14703         (gdb-starting): Mark unused parameters.
14704         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14705         (gdb-table-string): Remove unused variable `res'.
14706         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14707         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14708         (gdb-display-buffer): Remove unused variable `cur-size'.
14710         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14711         allow lexical-binding compilation.
14712         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14713         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14714         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14715         Mark unused parameters.
14716         (gud-gdb-marker-filter): Remove unused variable `match'.
14717         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14718         lambda expressions and funcall them, instead of using `fset'.
14720         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14721         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14723         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14724         variable `header-beg'; use `let'.
14726         * progmodes/icon.el (indent-icon-exp): Remove unused variables
14727         `restart', `last-sexp' and `at-do'.
14729         * progmodes/js.el (js--debug): Mark unused parameter.
14730         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14731         (js--splice-into-items): Remove unused variable `item'.
14732         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14734         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14735         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14736         (makefile-complete): Remove unused variable `try'.
14737         (makefile-fill-paragraph, makefile-match-function-end):
14738         Mark unused parameters.
14740         * progmodes/octave-inf.el (inferior-octave-complete):
14741         Remove unused variable `proc'.
14742         (inferior-octave-output-digest): Mark unused parameter.
14744         * progmodes/perl-mode.el (perl-calculate-indent):
14745         Remove unused variable `err'.
14747         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14748         (prolog-indent-line): Mark unused parameters.
14749         (prolog-indent-line): Remove unused variable `beg'.
14751         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14752         (reporter-dont-compact-list): Declare.
14754         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14755         Remove unused variable `char'.
14756         (sh-debug): Mark unused parameter.
14757         (sh-get-indent-info): Remove unused variable `start'.
14758         (sh-calculate-indent): Remove unused variable `var'.
14760         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14761         (simula-electric-keyword): Remove unused variable `null'.
14762         (simula-search-backward, simula-search-forward): Remove unused
14763         variables `begin' and `end'.
14765         * progmodes/vera-mode.el (vera-guess-basic-syntax):
14766         Remove unused variable `pos'.
14767         (vera-electric-tab, vera-comment-uncomment-region):
14768         Mark unused parameters.
14769         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14771 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
14773         * emacs-lisp/package.el (package--builtins, package-alist)
14774         (package-load-descriptor, package-built-in-p, package-activate)
14775         (define-package, package-installed-p)
14776         (package-compute-transaction, package-buffer-info)
14777         (package--push): Doc fix.  Distinguish more clearly between
14778         version strings and version lists.
14780 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
14782         Lexical-binding cleanup.
14784         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14785         (5x5-make-mutate-best):
14786         * play/fortune.el (fortune-in-buffer):
14787         * play/gomoku.el (gomoku-init-display):
14788         * play/solitaire.el (solitaire, solitaire-do-check):
14789         * play/tetris.el (tetris-default-update-speed-function):
14790         Mark unused parameters.
14792         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14793         (bubbles--shift): Remove unused variable `char-org'.
14794         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
14795         (bubbles--show-images): Remove unused variable `char'.
14797         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14798         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14799         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14800         (decipher-analyze-buffer): Use ?\s.
14801         (decipher-make-checkpoint): Remove unused variable `mapping'.
14803         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14805         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14806         Remove unused variable `result'; use `let'.
14808         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14809         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14810         (gametree-children-shown-p, gametree-compute-reduced-score):
14811         Use `ignore-errors'.
14813         * play/handwrite.el (ps-lpr-switches): Declare.
14814         (handwrite): Remove unused variables `pmin' and `lastp'.
14816         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14818         * play/landmark.el (landmark-init-display)
14819         (landmark-update-naught-weights): Mark unused parameters.
14820         (landmark-y): Remove unused variable `noise'.  Simplify.
14821         (landmark-human-plays): Remove unused variable `score'.
14823         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14824         (mpuz-try-proposal): Remove unused variable `game'.
14826         * play/zone.el (life-patterns): Declare.
14828 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
14830         * vc/vc.el (ediff-vc-internal): Declare function.
14832 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14834         * shell.el: Use lexical-binding and std completion UI.
14835         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14836         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14837         comint-preoutput-filter-functions rather than on
14838         comint-output-filter-functions.
14839         (shell-command-completion, shell--command-completion-data)
14840         (shell-filename-completion, shell-environment-variable-completion)
14841         (shell-c-a-p-replace-by-expanded-directory): New functions.
14842         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14843         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14844         (shell-dynamic-complete-environment-variable): Use them.
14845         (shell-dynamic-complete-as-environment-variable)
14846         (shell-dynamic-complete-as-command): Remove.
14847         (shell-match-partial-variable): Match past point.
14848         * comint.el: Clean up use of completion-at-point-functions.
14849         (comint-completion-at-point): New function.
14850         (comint-mode): Use it completion-at-point-functions.
14851         (comint-dynamic-complete): Make it obsolete.
14852         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14853         (comint-c-a-p-replace-by-expanded-history): New function.
14854         (comint-dynamic-complete-functions)
14855         (comint-replace-by-expanded-history): Use it.
14856         * minibuffer.el (completion-table-with-terminator): Allow dynamic
14857         termination strings.  Try harder to avoid second try-completion.
14858         (completion-in-region-mode-map): Disable bindings that don't work yet.
14860         * comint.el: Use lexical-binding.  Require CL.
14861         (comint-dynamic-complete-functions): Use comint-filename-completion.
14862         (comint-completion-addsuffix): Tweak custom type.
14863         (comint-filename-completion, comint--common-suffix)
14864         (comint--common-quoted-suffix, comint--table-subvert)
14865         (comint--complete-file-name-data): New functions.
14866         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14867         (comint-dynamic-list-filename-completions): Use them.
14868         (comint-dynamic-simple-complete): Make obsolete.
14870         * minibuffer.el (completion-in-region-mode):
14871         Keep completion-in-region-mode--predicate global.
14872         (completion-in-region--postch):
14873         Assume completion-in-region-mode--predicate is not null.
14875         * progmodes/flymake.el (flymake-start-syntax-check-process):
14876         Obey `dir'.  Simplify.
14878         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14879         we're in VC after all.
14881 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
14883         * vc/vc.el (vc-diff-build-argument-list-internal)
14884         (vc-version-ediff, vc-ediff): New commands.
14885         (vc-version-diff): Use vc-diff-build-argument-list-internal.
14887 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14889         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14890         add sanity check.
14892         * obsolete/erc-hecomplete.el: Make obsolete.
14893         * obsolete/: Standardize obsolescence info in the header.
14895 2011-04-20  Glenn Morris  <rgm@gnu.org>
14897         * calendar/solar.el (solar-horizontal-coordinates):
14898         Use the longitude argument rather than `calendar-longitude'.
14899         (solar-date-next-longitude): Remove unused locals.
14901 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14903         * whitespace.el: New version 13.2.1.
14905 2011-04-20  felix  <EmacsWiki>  (tiny change)
14907         * whitespace.el (global-whitespace-mode): Keep highlight when
14908         switching between major modes on a file.
14910 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14912         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14913         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14914         multi-line comments as well.
14916 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
14918         Lexical-binding cleanup.
14920         * arc-mode.el (archive-mode-revert):
14921         * cmuscheme.el (scheme-interactively-start-process):
14922         * custom.el (custom-initialize-delay):
14923         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14924         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14925         * emacs-lock.el (emacs-lock-clear-sentinel):
14926         * ezimage.el (defezimage):
14927         * follow.el (follow-avoid-tail-recenter):
14928         * fringe.el (set-fringe-mode-1):
14929         * generic-x.el (bat-generic-mode-compile):
14930         * help-mode.el (help-info-variable, help-do-xref)
14931         (help-mode-revert-buffer):
14932         * help.el (view-emacs-todo):
14933         * iswitchb.el (iswitchb-completion-help):
14934         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14935         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14936         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14937         * locate.el (locate-update):
14938         * longlines.el (longlines-encode-region)
14939         (longlines-after-change-function):
14940         * outline.el (outline-isearch-open-invisible):
14941         * ps-def.el (declare-function, charset-dimension, char-width)
14942         (encode-char):
14943         * ps-mule.el (ps-mule-plot-string):
14944         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14945         (recentf-edit-list-select, recentf-edit-list-validate)
14946         (recentf-open-files-action):
14947         * rect.el (delete-whitespace-rectangle-line)
14948         (rectangle-number-line-callback):
14949         * register.el (window-configuration-to-register)
14950         (frame-configuration-to-register):
14951         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14952         * select.el (xselect-convert-to-string, xselect-convert-to-length)
14953         (xselect-convert-to-targets, xselect-convert-to-delete)
14954         (xselect-convert-to-filename, xselect-convert-to-charpos)
14955         (xselect-convert-to-lineno, xselect-convert-to-colno)
14956         (xselect-convert-to-os, xselect-convert-to-host)
14957         (xselect-convert-to-user, xselect-convert-to-class)
14958         (xselect-convert-to-name, xselect-convert-to-integer)
14959         (xselect-convert-to-atom, xselect-convert-to-identity):
14960         * subr.el (declare, ignore, process-kill-without-query)
14961         (text-clone-maintain):
14962         * terminal.el (te-get-char, te-tic-sentinel):
14963         * tool-bar.el (tool-bar-make-keymap):
14964         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14965         * type-break.el (type-break-mode, type-break-noninteractive-query):
14966         * view.el (View-back-to-mark):
14967         * wid-browse.el (widget-browse-action, widget-browse-widget)
14968         (widget-browse-widgets, widget-browse-sexp):
14969         * widget.el (define-widget-keywords):
14970         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14971         Mark unused parameters.
14973         * align.el (align-adjust-col-for-rule): Mark unused parameter.
14974         (align-areas): Remove unused variable `look'.
14975         (align-region): Remove unused variables `real-end' and `pos-list'.
14977         * apropos.el (apropos-score-doc): Remove unused variable `i'.
14979         * bindings.el (mode-line-modified, mode-line-remote):
14980         Mark unused parameters.
14981         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14983         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14984         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14986         * comint.el (comint-history-isearch-pop-state)
14987         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14988         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14989         (comint-substitute-in-file-name): Doc fix.
14991         * completion.el (cmpl-statistics-block): Mark unused parameter.
14992         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14993         (save-completions-to-file, load-completions-from-file):
14994         Remove unused local variable `e'.
14996         * composite.el (compose-chars): Remove unused variable `len'.
14997         (lgstring-insert-glyph): Remove unused variable `g'.
14998         (compose-glyph-string): Remove unused variables `ascent',
14999         `descent', `lbearing' and `rbearing'.
15000         (compose-glyph-string-relative): Remove unused variables
15001         `lbearing', `rbearing' and `wadjust'.
15002         (compose-gstring-for-graphic): Remove unused variables `header',
15003         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
15004         (compose-gstring-for-terminal): Remove unused variables `header'
15005         and `nchars'.  Use `let', not `let*'.
15007         * cus-edit.el (Custom-set, Custom-save, custom-reset)
15008         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15009         (Custom-buffer-done, custom-buffer-create-internal)
15010         (custom-browse-visibility-action, custom-browse-group-tag-action)
15011         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15012         (widget-magic-mouse-down-action, custom-toggle-parent)
15013         (custom-add-parent-links, custom-toggle-hide-variable)
15014         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15015         (custom-toggle-hide-face, face, hook, custom-group-link-action)
15016         (custom-face-menu-create, custom-variable-menu-create, get)
15017         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15018         (custom-reset-standard-save-and-update): Remove unused variable `value'.
15019         (customize-apropos): Remove unused variable `tests'.
15020         (custom-group-value-create): Remove unused variable `hidden-p'.
15021         (sort-fold-case): Declare.
15023         * cus-theme.el (custom-reset-standard-faces-list)
15024         (custom-reset-standard-variables-list): Declare.
15025         (customize-create-theme, custom-theme-revert, custom-theme-write)
15026         (custom-theme-choose-mode, customize-themes, custom-theme-save):
15027         Mark unused parameters.
15029         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15031         * delim-col.el (delimit-columns-max): Move defvar before first use.
15033         * descr-text.el (describe-char-categories): Don't quote `lambda'.
15034         (describe-char): Don't quote `lambda'.  Mark unused parameter.
15036         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15037         (auto-insert): Declare.
15038         (desktop-restore-file-buffer): Rename desktop-* parameters;
15039         mark unused ones.
15040         (desktop-create-buffer): Rename desktop-* parameters and bind them.
15041         (desktop-buffer): Rename desktop-* parameters.
15043         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15044         (dframe-reposition-frame-xemacs, dframe-help-echo)
15045         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15046         Mark unused parameters.
15048         * dired-aux.el (backup-extract-version-start, overwrite-query)
15049         (overwrite-backup-query, rename-regexp-query)
15050         (rename-non-directory-query): Declare.
15051         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15052         (dired-add-entry): Remove unused variable `orig-file-name'.
15053         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15054         Use parameter PRESERVE-TIME instead of accessing dynamic variable
15055         `dired-copy-preserve-time' directly.
15056         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15057         (dired-insert-subdir-newpos): Rename unused variable `pos'.
15059         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15060         (dired-virtual-revert, dired-make-relative-symlink):
15061         Mark unused parameters.
15062         (manual-program): Declare.
15063         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15064         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15065         wrapped in `with-no-warnings' to avoid replacing one warning by another.
15067         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15069         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15071         * echistory.el (electric-history-in-progress, Helper-return-blurb):
15072         Declare.
15074         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15076         * electric.el (Electric-command-loop): Rename parameter
15077         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15079         * expand.el (expand-in-literal): Remove unused variable `here'.
15081         * facemenu.el (facemenu-add-new-color):
15082         Remove unused variable `docstring'.
15084         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15085         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15086         (face-attr-construct): Mark unused parameter.  Doc fix.
15087         (read-color): Remove unused variable `hex-string'.
15089         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15090         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15091         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15092         (display-buffer-other-frame): Remove unused variable `old-window'.
15093         (kill-buffer-hook): Declare.
15094         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15095         Mark unused parameters.
15096         (after-find-file): Pass 1 to `auto-save-mode', not t.
15098         * files-x.el (auto-insert): Declare.
15099         (modify-file-local-variable-prop-line): Remove unused variable `val'.
15101         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15102         variable `buf'.  Mark unused parameter.
15103         (find-lisp-insert-directory): Mark unused parameter.
15105         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15106         (format-encode-region): Remove unused variables `cur-buf' and `result'.
15107         (format-common-tail): Remove, unused.
15108         (format-deannotate-region): Remove unused variable `loc'.
15109         (format-annotate-region): Remove unused variable `p'.
15110         (format-annotate-single-property-change): Remove unused variables
15111         `default' and `tail'.
15113         * forms.el (read-file-filter): Declare.
15114         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15116         * frame.el (frame-creation-function-alist): Mark unused parameter.
15117         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15119         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15120         Remove unused parameters.
15121         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15122         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15124         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15125         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15126         (hfy-prepare-tag-map): Mark unused parameters.
15127         (htmlfontify-buffer): Use `called-interactively-p'.
15129         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15130         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15131         (ibuffer-do-occur): Mark unused parameters.
15132         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15133         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15135         * ibuffer.el: Don't quote `lambda'.
15136         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15137         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15138         Mark unused parameters.
15140         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15141         (ido-completing-read): Mark unused parameters.
15142         (ido-copy-current-word): Mark unused parameters;
15143         remove unused variable `name'.
15144         (ido-sort-merged-list): Remove unused parameter `dirs'.
15146         * ielm.el (ielm-input-sender): Mark unused parameter.
15147         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15148         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15149         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15150         `ielm-string' as a dynamic variable accessible from the IELM prompt.
15151         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
15153         * image-dired.el (image-dired-display-thumbs): Remove unused
15154         variables `curr-file' and `count'.
15155         (image-dired-remove-tag): Remove unused variable `start'.
15156         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15157         variable `curr-file'
15158         (image-dired-rotate-original): Remove unused variable `temp-file'.
15159         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15160         Remove unused variable `file'.
15161         (image-dired-gallery-generate): Remove unused variable `curr'.
15162         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15164         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15166         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15168         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15170         * isearch.el (minibuffer-history-symbol): Declare.
15171         (isearch-edit-string): Remove unused variable `err'.
15172         (isearch-message-prefix, isearch-message-suffix):
15173         Mark unused parameters.
15175         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15177         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15179         * makesum.el (double-column): Remove unused variable `cnt'.
15181         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15182         (ido-ignore-item-temp-list): Declare.
15184         * mouse-drag.el (mouse-drag-throw): Remove unused variables
15185         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15186         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15187         (mouse-drag-drag): Remove unused variables `mouse-delta' and
15188         `mouse-col-delta'.
15190         * mouse-sel.el (mouse-extend-internal):
15191         Remove unused variable `orig-window-frame'.
15193         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15194         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15195         Move declarations before first use.
15196         (pcomplete-opt): Mark unused parameters; doc fix.
15198         * proced.el (proced-revert): Mark unused parameter.
15199         (proced-send-signal): Remove unused variable `err'.
15201         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15202         Rename parameter PREFIX-ARG to ARG.
15203         (ps-basic-plot-string, ps-basic-plot-whitespace):
15204         Mark unused parameters.
15206         * replace.el (replace-count): Define.
15207         (occur-revert-function): Mark unused parameters.
15208         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15209         (isearch-case-fold-search, isearch-string): Declare.
15210         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15211         bind `case-fold-search'.  Remove unused variables `beg' and `end',
15212         and simplify.
15213         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15214         COUNT and bind `replace-count'.
15215         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15216         to COUNT.
15218         * savehist.el (print-readably, print-string-length): Declare.
15220         * shadowfile.el (shadow-expand-cluster-in-file-name):
15221         Remove unused variable `cluster'.
15222         (shadow-copy-file): Remove unused variable `i'.
15223         (shadow-noquery, shadow-clusters, shadow-site-cluster)
15224         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15225         (shadow-define-literal-group, shadow-define-regexp-group)
15226         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15228         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15229         (shell): Use `called-interactively-p'.
15230         (shell-directory-tracker): Remove unused variable `chdir-failure'.
15232         * simple.el (compilation-context-lines, comint-file-name-quote-list)
15233         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15234         (delete-backward-char): Remove unused variable `ocol'.
15235         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15236         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15237         (event-apply-hyper-modifier, event-apply-shift-modifier)
15238         (event-apply-control-modifier, event-apply-meta-modifier):
15239         Mark unused parameters.
15240         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15241         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15243         * speedbar.el (speedbar-ignored-directory-expressions)
15244         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15245         (speedbar-find-file, speedbar-dir-follow)
15246         (speedbar-directory-buttons-follow, speedbar-tag-find)
15247         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15248         (speedbar-buffers-line-directory, speedbar-buffer-click):
15249         Mark unused parameters.
15250         (speedbar-tag-file): Remove unused variable `mode'.
15251         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15253         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15255         * talk.el (talk): Remove unused variable `display'.
15257         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15258         (tar-write-region-annotate): Mark unused parameter.
15260         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15261         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15262         Declare them, wrapped in `with-no-warnings' to avoid replacing one
15263         warning by another.
15265         * time-stamp.el (time-stamp-string-preprocess):
15266         Remove unused variable `require-padding'.
15268         * tree-widget.el (widget-glyph-enable): Declare.
15269         (tree-widget-action): Mark unused parameter.
15271         * w32-fns.el (x-get-selection): Mark unused parameter.
15272         (autoload-make-program, generated-autoload-file): Declare.
15274         * wdired.el (wdired-revert): Mark unused parameters.
15275         (wdired-xcase-word): Remove unused variable `err'.
15277         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15278         (whitespace-help-scroll): Remove unused variable `data-help'.
15280         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15281         (widget-image-insert, widget-after-change, default)
15282         (widget-default-format-handler, widget-default-notify)
15283         (widget-default-prompt-value, widget-info-link-action)
15284         (widget-url-link-action, widget-function-link-action)
15285         (widget-variable-link-action, widget-file-link-action)
15286         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15287         (widget-field-prompt-internal, widget-field-action, widget-field-match)
15288         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15289         (widget-insert-button-action, widget-delete-button-action, visibility)
15290         (widget-documentation-link-action, widget-documentation-string-action)
15291         (widget-const-prompt-value, widget-regexp-match, symbol)
15292         (widget-coding-system-prompt-value)
15293         (widget-key-sequence-value-to-external, sexp)
15294         (widget-sexp-value-to-internal, character, vector, cons)
15295         (widget-choice-prompt-value, widget-boolean-prompt-value)
15296         (widget-color--choose-action): Mark unused parameters.
15297         (widget-item-match-inline, widget-choice-match-inline)
15298         (widget-checklist-match, widget-checklist-match-inline)
15299         (widget-group-match): Rename parameter VALUES to VALS.
15300         (widget-field-value-set): Remove unused variable `size'.
15301         (widget-color-action): Remove unused variables `value' and `start'.
15303         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15304         variable `dir'.  Doc fix.
15305         (windmove-find-other-window): Don't pass it.
15307         * window.el (count-windows): Mark unused parameter.
15308         (bw-adjust-window): Remove unused variable `err'.
15310         * woman.el (woman-file-name): Remove unused variable `default'.
15311         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15312         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15313         (global-font-lock-mode): Declare.
15314         (woman-decode-region): Mark unused parameter.
15315         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15317         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15318         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15319         (x-dnd-handle-moz-url): Remove unused variable `title'.
15320         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15322         * xml.el (xml-parse-tag, xml-parse-attlist):
15323         Remove unused variable `pos'.
15325 2011-04-19  Glenn Morris  <rgm@gnu.org>
15327         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15328         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15329         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15330         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15331         * calendar/cal-html.el (cal-html-insert-minical):
15332         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15333         (calendar-mark-date-pattern):
15334         Prefix "unused" locals.
15336         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15337         optional argument `style'.
15339         * calendar/appt.el (appt-make-list):
15340         * calendar/cal-china.el (calendar-chinese-date-string):
15341         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15342         (diary-hebrew-yahrzeit):
15343         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15344         * calendar/calendar.el (calendar-generate-window):
15345         * calendar/time-date.el (time-to-days):
15346         Remove unused local variables.
15348 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
15350         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15351         glyphless-char-display table.
15352         (tabulated-list-glyphless-char-display): New var.
15354 2011-04-18  Sam Steingold  <sds@gnu.org>
15356         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15357         to acknowledgments.
15359 2011-04-17  Glenn Morris  <rgm@gnu.org>
15361         * calendar/diary-lib.el (diary-sexp-entry):
15362         * calendar/holidays.el (holiday-sexp):
15363         Set debug-on-error rather than the removed stack-trace-on-error.
15365 2011-04-16  Glenn Morris  <rgm@gnu.org>
15367         * progmodes/f90.el: Use lexical-binding.
15368         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15370 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15372         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15373         (mail-mode): Setup mailalias completion here instead.
15374         * mail/mailalias.el: Use lexical-binding.
15375         (pattern, mailalias-done): Declare dynamic.
15376         (mail-completion-at-point-function): New function, from mail-complete.
15377         (mail-complete): Use it.
15378         (mail-completion-expand): New function.
15379         (mail-get-names): Use it.
15380         (mail-directory, mail-directory-process, mail-directory-stream):
15381         Don't use `pattern' for lexically bound arg.
15383         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15385         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15386         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15387         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15389         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15390         (byte-save-window-excursion, byte-temp-output-buffer-setup)
15391         (byte-interactive-p): Define them again, for use when inlining
15392         old code.
15394 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
15396         * loadup.el: Use `string-to-number', not `string-to-int'.
15398 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15400         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15401         gud-gdb-complete-command.
15402         (gud-gdb-completions): New function, from gud-gdb-complete-command.
15403         (gud-gdb-completion-at-point): New function.
15404         (gud-gdb-completions): Remove.
15406 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
15408         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15409         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
15410         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15411         whether `executable-find' is bound.
15413         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15415 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15417         * minibuffer.el (completion-in-region-mode-predicate)
15418         (completion-in-region-mode--predicate): New vars.
15419         (completion-in-region, completion-in-region--postch)
15420         (completion-in-region-mode): Use them.
15421         (completion--capf-wrapper): Also return the hook function.
15422         (completion-at-point, completion-help-at-point):
15423         Adjust and provide a predicate.
15425         Preserve arg names for advice of subr and lexical functions (bug#8457).
15426         * help-fns.el (help-function-arglist): Consolidate the subr and
15427         new-byte-code cases.  Add argument `preserve-names' to extract names
15428         from the docstring when needed.
15429         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15430         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15431         (ad-arglist): Use help-function-arglist's new arg.
15432         (ad-definition-type): Use cond.
15434 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
15436         * autorevert.el (auto-revert-handler):
15437         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15438         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15439         Don't quote lambda.
15441         * image-mode.el (image-transform-set-scale):
15442         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15444 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15446         * net/network-stream.el (network-stream-open-starttls): Only do
15447         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15448         Upgrades via gnutls-cli are too slow to be done opportunistically.
15450 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
15452         * dframe.el (dframe-current-frame): Remove spurious quote.
15454 2011-04-12  Glenn Morris  <rgm@gnu.org>
15456         * calendar/cal-tex.el (cal-tex-end-document):
15457         Try to automatically use latin1 input if needed.
15459         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15460         Don't try to cons a mark onto an empty element.
15462 2011-04-11  Leo Liu  <sdl.web@gmail.com>
15464         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15465         buffers.
15466         (ido-kill-buffer-at-head): Support killing virtual buffers.
15468 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
15470         * minibuffer.el (completion-show-inline-help): New var.
15471         (completion--do-completion, minibuffer-complete)
15472         (minibuffer-force-complete, minibuffer-complete-word):
15473         Inhibit minibuffer messages if completion-show-inline-help is nil.
15475         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15476         to avoid interference from inline help (Bug#5849).
15478 2011-04-10  Leo Liu  <sdl.web@gmail.com>
15480         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15481         Fix typo.
15483 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
15485         * image-mode.el (image-toggle-display-image): Signal an error if
15486         not in Image mode.
15487         (image-transform-mode, image-transform-resize)
15488         (image-transform-set-rotation): Doc fix.
15489         (image-transform-set-resize): Delete.
15490         (image-transform-set-scale, image-transform-fit-to-height)
15491         (image-transform-fit-to-width): Handle image-toggle-display-image
15492         and image-transform-resize directly.
15494 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
15496         * doc-view.el (doc-view-fit-width-to-window)
15497         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15498         New functions for fitting the shown image to the Emacs window size.
15499         (doc-view-mode-map): Add bindings for the new functions.
15501 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
15503         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15504         Fix typo in docstring.
15506 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
15508         * files.el (file-size-human-readable): Produce one digit after
15509         decimal, like "ls -lh" does.
15511         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15512         the file size representation.
15514         * simple.el (list-processes): If async subprocesses are not
15515         available, error out with a clear error message.
15517 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
15519         * help.el (help-form-show): New function, to be called from C.
15520         Put help-form output in a buffer named differently than *Help*.
15522 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
15524         * files.el (file-size-human-readable): New function.
15526         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15527         computing the representation inline.  Don't require `cl'.
15529 2011-04-08  Glenn Morris  <rgm@gnu.org>
15531         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15533         * net/browse-url.el (browse-url-firefox):
15534         Test system-type, not system-configuration.
15536         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15537         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15538         Use log-edit-empty-buffer-p.  (Bug#7598)
15540         * net/rlogin.el (rlogin-process-connection-type): Simplify.
15541         (rlogin-mode-map): Initialize in the defvar.
15542         (rlogin): Use ignore-errors.
15544         * replace.el (occur-mode-map): Some fixes for menu items.
15546 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
15548         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
15550 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
15552         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15553         issuing unused warnings.
15555         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15556         macro directly.
15558         * simple.el: Lisp reimplement of list-processes.  Based on an
15559         earlier reimplementation by Leo Liu, but using tabulated-list.el.
15560         (process-menu-mode): New major mode.
15561         (list-processes--refresh, list-processes):
15562         (process-menu-visit-buffer): New functions.
15564         * files.el (save-buffers-kill-emacs): Don't assume any return
15565         value of list-processes, which is undocumented anyway.
15567 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
15569         * emacs-lisp/tabulated-list.el: New file.
15571         * emacs-lisp/package.el: Use Tabulated List mode.
15572         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15573         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
15574         table format using Tabulated List mode variables.
15575         (package--push): New macro, replacing package-list-maybe-add.
15576         (package-menu--generate): Use package--push.  Renamed from
15577         package--generate-package-list.
15578         (package-menu-refresh, list-packages): Use it.
15579         (package-menu--print-info): Rename from package-print-package.
15580         Return insertion data instead of inserting it directly.
15581         (package-menu-describe-package, package-menu-execute):
15582         Use tabulated-list-get-id.
15583         (package-menu-mark-delete, package-menu-mark-install)
15584         (package-menu-mark-unmark, package-menu-backup-unmark)
15585         (package-menu-mark-obsolete-for-deletion):
15586         Use tabulated-list-put-tag.
15587         (package--list-packages, package-menu-revert)
15588         (package-menu-get-package, package-menu-get-version)
15589         (package-menu-sort-by-column): Functions deleted.
15590         (package-menu-package-list, package-menu-sort-key): Vars deleted.
15591         (package-menu--status-predicate, package-menu--version-predicate)
15592         (package-menu--name-predicate)
15593         (package-menu--description-predicate): Handle arguments in the
15594         Tabulated List format.
15595         (package-list-packages-no-fetch): Call list-packages.
15597 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
15599         * files.el (after-find-file-from-revert-buffer): Remove variable.
15600         (after-find-file): Don't bind it.
15601         (revert-buffer-in-progress-p): New variable.
15602         (revert-buffer): Bind it.
15603         Pass nil for `after-find-file-from-revert-buffer'.
15605         * saveplace.el (save-place-find-file-hook): Use new variable
15606         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15608 2011-04-06  Glenn Morris  <rgm@gnu.org>
15610         * Makefile.in (AUTOGEN_VCS): New variable.
15611         (autoloads): Use $AUTOGEN_VCS.
15613         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15614         * calendar/calendar.el (calendar-mode-map):
15615         Check for toolkit scroll bars.  (Bug#8305)
15617 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
15619         * minibuffer.el (completion-in-region--postch)
15620         (completion-in-region-mode): Remove unnecessary messages.
15622 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
15624         * font-lock.el (font-lock-refresh-defaults):
15625         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15626         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15628         * info.el (Info-directory-list, Info-read-node-name-2)
15629         (Info-split-parameter-string): Doc fixes.
15630         (Info-virtual-nodes): Reflow docstring.
15631         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15632         (Info-apropos-toc-nodes, info-finder, Info-get-token)
15633         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15634         Fix typos in docstrings.
15635         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15636         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15637         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15638         (Info-restore-desktop-buffer): Mark unused parameters.
15639         (Info-directory-find-file, Info-directory-find-node)
15640         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15641         (Info-virtual-index-find-node, Info-apropos-find-file)
15642         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15643         Mark unused parameters; fix typos in docstrings.
15644         (Info-virtual-index): Remove unused local variable `nodename'.
15646 2011-04-05  Deniz Dogan  <deniz@dogan.se>
15648         * net/rcirc.el: Update my e-mail address.
15649         (rcirc-mode-map): Remove M-o binding.
15651 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
15653         * startup.el (command-line): Save the cursor's theme-face
15654         directly, instead of using face-override-spec.
15656         * custom.el (load-theme): Minor optimization in assigning faces.
15658 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
15660         * help-fns.el (describe-variable): Complete all variables having
15661         documentation, including keywords.
15662         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15664 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
15666         Convert to lexical-binding.
15668         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15669         (bs--get-marked-string, bs--get-modified-string)
15670         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15671         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15672         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15674         * ehelp.el (electric-help-execute-extended)
15675         (electric-help-ctrl-x-prefix):
15676         * hexl.el (hexl-revert-buffer-function):
15677         * linum.el (linum-after-change, linum-after-scroll):
15678         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15680         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15682 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
15684         * epa-dired.el:
15685         * epa-mail.el:
15686         * epa-hook.el:
15687         * epa-file.el:
15688         * epa.el:
15689         * epg.el: Use lexical binding.
15691 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
15693         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15695         * textmodes/flyspell.el (flyspell-word): Recognize default
15696         dictionary case for flyspell-mark-duplications-exceptions.
15697         Use regexp matching for languages.
15698         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15699         default dictionary (Bug#7926).
15701 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
15703         * emacs-lisp/package.el (package--with-work-buffer):
15704         Recognize https URLs.
15706         * net/network-stream.el: Move from gnus/proto-stream.el.
15707         Change prefix to network-stream throughout.
15708         (open-protocol-stream): Merge into open-network-stream, leaving
15709         open-protocol-stream as an alias.  Handle nil BUFFER args.
15711         * subr.el (open-network-stream): Move to net/network-stream.el.
15713 2011-04-02  Glenn Morris  <rgm@gnu.org>
15715         * find-dired.el (find-exec-terminator): New option.
15716         (find-ls-option): Test for -ls support.
15717         (find-ls-subdir-switches): Test for -b in find-ls-option.
15718         (find-dired, find-grep-dired): Doc fixes.
15719         (find-dired): Use find-exec-terminator.
15721         * find-dired.el (find-ls-option, find-ls-subdir-switches)
15722         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15723         (find-name-arg): Remove purecopy.
15725         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15726         (grep-compute-defaults): Check for `-exec COMMAND +' support.
15727         Set grep-find-use-xargs, grep-find-command, and grep-find-template
15728         accordingly.  Don't add the null-device if not needed.
15730         * files.el (save-some-buffers): Doc fix.
15732 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
15734         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15736 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
15738         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15739         Use `dolist' rather than `mapcar'.
15741 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15743         Add lexical binding.
15745         * subr.el (apply-partially): Use new closures rather than CL.
15746         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15747         (dolist, dotimes): Use slightly different expansion for lexical code.
15748         (functionp): Move to C.
15749         (letrec): New macro.
15750         (with-wrapper-hook): Use it and apply-partially instead of CL.
15751         (eval-after-load): Preserve lexical-binding.
15752         (save-window-excursion, with-output-to-temp-buffer): Turn them
15753         into macros.
15755         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15757         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15758         than the arglist.
15759         (help-add-fundoc-usage): Don't add `Not documented'.
15760         (help-function-arglist): Handle closures, subroutines, and new
15761         byte-code-functions.
15762         (help-make-usage): Remove leading underscores.
15763         (describe-function-1): Handle closures.
15764         (describe-variable): Use special-variable-p for completion.
15766         * files.el (lexical-binding): Declare safe.
15768         * emacs-lisp/pcase.el: Don't use destructuring-bind.
15769         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
15770         (pcase): Add `let' pattern.
15771         Change memoization so it actually works.
15772         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15773         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15774         <let>: New case.
15776         * emacs-lisp/macroexp.el: Use lexical binding.
15777         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
15778         Don't convert ' to #' without checking that it's indeed quoting
15779         a lambda.
15781         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15782         Use eval-sexp-add-defvars.
15783         (eval-sexp-add-defvars): New fun.
15785         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15787         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15788         Don't autoload.
15789         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15790         than the internal `byte-compile-lambda'.
15791         (defmethod): Don't hide code under quotes.
15792         (eieio-defmethod): New `code' argument.
15794         * emacs-lisp/eieio-comp.el: Remove.
15796         * emacs-lisp/edebug.el (edebug-eval-defun)
15797         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15798         (edebug-toggle): Avoid `eval'.
15800         * emacs-lisp/disass.el (disassemble-internal): Handle new
15801         `closure' objects.
15802         (disassemble-1): Handle new byte codes.
15804         * emacs-lisp/cl.el (pushnew): Silence warning.
15806         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15807         (cl-byte-compile-throw): Remove.
15808         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15810         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15811         closures.
15813         * emacs-lisp/cconv.el: New file.
15815         * emacs-lisp/bytecomp.el: Use lexical binding instead of
15816         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
15817         (byte-compile-initial-macro-environment):
15818         Handle declare-function here.
15819         (byte-compile--lexical-environment): New var.
15820         (byte-stack-ref, byte-stack-set, byte-discardN)
15821         (byte-discardN-preserve-tos): New lap codes.
15822         (byte-interactive-p): Don't use any more.
15823         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15824         New macros.
15825         (byte-compile-lapcode): Use them and handle new lap codes.
15826         (byte-compile-obsolete): Remove.
15827         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15828         (byte-compile-arglist-warn): Check late def of inlinable funs.
15829         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15830         since they should have been expanded by now.
15831         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15832         (byte-compile-from-buffer): Remove unused second arg.
15833         (byte-compile-preprocess): New function.
15834         (byte-compile-toplevel-file-form): New function to distinguish
15835         file-form calls from outside from file-form calls from hunk-handlers.
15836         (byte-compile-file-form): Simplify.
15837         (byte-compile-file-form-defsubst): Remove.
15838         (byte-compile-file-form-defmumble): Simplify now that
15839         byte-compile-lambda always returns a byte-code-function.
15840         (byte-compile): Preprocess.
15841         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15842         Remove, not used any more.
15843         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15844         (byte-compile-make-args-desc): New funs.
15845         (byte-compile-lambda): Handle lexical functions.  Always return
15846         a byte-code-function.
15847         (byte-compile-reserved-constants): New var, to make up room for
15848         closed-over variables.
15849         (byte-compile-constants-vector): Obey it.
15850         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15851         (byte-compile-macroexpand-declare-function): New function.
15852         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15853         byte-code-functions.
15854         (byte-compile-form): Check obsolescence here.
15855         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15856         (byte-compile-variable-ref): Remove.
15857         (byte-compile-dynamic-variable-op): New fun.
15858         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15859         (byte-compile-variable-set): New funs.
15860         (byte-compile-discard): Add 2 args.
15861         (byte-compile-stack-ref, byte-compile-stack-set)
15862         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15863         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15864         macroexpand-all instead.
15865         (byte-compile-quote-form): Remove.
15866         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15867         (byte-compile-bind, byte-compile-unbind): New funs.
15868         (byte-compile-let): Handle let* and lexical binding.
15869         (byte-compile-let*): Remove.
15870         (byte-compile-catch, byte-compile-unwind-protect)
15871         (byte-compile-track-mouse, byte-compile-condition-case):
15872         Handle a new :fun-body form, used for lexical scoping.
15873         (byte-compile-save-window-excursion)
15874         (byte-compile-with-output-to-temp-buffer): Remove.
15875         (byte-compile-defun): Simplify.
15876         (byte-compile-stack-adjustment): New fun.
15877         (byte-compile-out): Use it.
15878         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15880         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15881         handler any more.
15883         * emacs-lisp/byte-opt.el: Use lexical binding.
15884         (byte-inline-lapcode): Remove (to bytecomp).
15885         (byte-compile-inline-expand): Pay attention to inlining to/from
15886         lexically bound code.
15887         (byte-compile-unfold-lambda): Don't handle byte-code-functions
15888         any more.
15889         (byte-optimize-form-code-walker): Don't handle save-window-excursion
15890         any more and don't call compiler-macros.
15891         (byte-compile-splice-in-already-compiled-code): Remove.
15892         (byte-code): Don't inline any more.
15893         (disassemble-offset): Receive `bytes' as argument rather than via
15894         dynamic scoping.
15895         (byte-compile-tag-number): Declare before first use.
15896         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15897         `return' even if make-spliceable.
15898         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15899         obsolete interactive-p.
15900         (byte-optimize-lapcode): Optimize new lap-codes.
15901         Don't trip up on new form of `byte-constant' lap code.
15903         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15905         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15907         * custom.el (custom-initialize-default, custom-declare-variable):
15908         Use `defvar'.
15910         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15911         New variables.
15912         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15913         (COMPILE_FIRST): Add macroexp and cconv.
15914         * makefile.w32-in: Mirror changes in Makefile.in.
15916         * vc/cvs-status.el:
15917         * vc/diff-mode.el:
15918         * vc/log-edit.el:
15919         * vc/log-view.el:
15920         * vc/smerge-mode.el:
15921         * textmodes/bibtex-style.el:
15922         * textmodes/css-mode.el:
15923         * startup.el:
15924         * uniquify.el:
15925         * minibuffer.el:
15926         * newcomment.el:
15927         * reveal.el:
15928         * server.el:
15929         * mpc.el:
15930         * emacs-lisp/smie.el:
15931         * doc-view.el:
15932         * dired.el:
15933         * abbrev.el: Use lexical binding.
15935 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
15937         * info.el (info-display-manual): New function.
15939 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15941         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15943 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
15945         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15946         an entry for that server in rcirc-authinfo.  (Bug#8385)
15948 2011-03-31  Glenn Morris  <rgm@gnu.org>
15950         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15952         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15954 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
15956         * progmodes/python.el (python-default-interpreter)
15957         (python-python-command-args, python-jython-command-args)
15958         (python-which-shell, python-which-args, python-which-bufname)
15959         (python-file-queue, python-comint-output-filter-function)
15960         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15961         variables and functions.
15963 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15965         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15966         (completion-in-region-mode): New minor mode.
15967         (completion-in-region): Use it.
15968         (completion-in-region--data, completion-in-region-mode-map): New vars.
15969         (completion-in-region--postch): New function.
15970         (completion--capf-misbehave-funs, completion--capf-safe-funs):
15971         New vars.
15972         (completion--capf-wrapper): New function.
15973         (completion-at-point): Use it to track well-behavedness of
15974         hook functions.
15975         (completion-help-at-point): New command.
15977 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
15979         * vc/add-log.el (add-change-log-entry): Don't use whitespace
15980         syntax class to search for whitespace on a single line
15981         (Message-ID: <4D938140.4030905@redhat.com>).
15983 2011-03-30  Leo Liu  <sdl.web@gmail.com>
15985         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15986         New commands.
15987         (edit-abbrevs-map): Bind them here.
15988         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
15990 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
15992         * allout.el (allout-hide-by-annotation, allout-flag-region):
15993         Reduce possibility of overlay leakage by making them volatile.
15995         * allout-widgets.el (allout-widgets-tally): Define as nil so the
15996         hash is not shared between buffers.  Mode initialization is
15997         responsible for giving it a useful starting value.
15998         (allout-item-span): Reduce possibility of overlay leakage by
15999         making them volatile.
16000         (allout-widgets-count-buttons-in-region): Add diagnostic function
16001         for tracking down button overlay leaks.
16003 2011-03-29  Leo Liu  <sdl.web@gmail.com>
16005         * ido.el (ido-read-internal): Use the default history var
16006         minibuffer-history if no HISTORY is specified.
16008 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
16010         * net/imap.el (imap-shell-open, imap-process-connection-type):
16011         Use imap-process-connection-type for 'shell' streams as well as
16012         Kerberos, SSL, other subprocesses.
16014 2011-03-28  Leo Liu  <sdl.web@gmail.com>
16016         * abbrev.el (abbrev-table-empty-p): New function.
16017         (prepare-abbrev-list-buffer): Place empty abbrev tables after
16018         nonempty ones.  (Bug#5937)
16020 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
16022         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16024 2011-03-27  Leo Liu  <sdl.web@gmail.com>
16026         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16027         for foreground and background colors.
16028         (ansi-color-make-color-map): Adapt.
16030 2011-03-25  Leo Liu  <sdl.web@gmail.com>
16032         * midnight.el (midnight-time-float): Remove.  Note it calculates
16033         the microsecond component incorrectly and seconds-to-time does the
16034         same job.
16035         Remove redundant (require 'timer).
16037         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16038         (ido-completions): Remove unused arguments.  (Bug#8329)
16040 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16042         * minibuffer.el (completion--flush-all-sorted-completions):
16043         Remove itself from hook.
16044         (completion-at-point): Let the functions perform the completion
16045         immediately and return nil or t.
16046         * comint.el (comint-dynamic-complete-functions): Now identical to
16047         completion-at-point-functions.
16048         (comint-dynamic-list-input-ring): Remove unused var `index'.
16049         (comint--match-partial-filename, comint--unquote&expand-filename):
16050         New funs, split from comint-match-partial-filename.
16051         (comint-dynamic-complete): Use completion-at-point.
16052         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16054 2011-03-24  Drew Adams  <drew.adams@oracle.com>
16056         * thingatpt.el: Support `defun'.
16058 2011-03-23  Leo Liu  <sdl.web@gmail.com>
16060         * abbrevlist.el: Move to obsolete/abbrevlist.el.
16062         * help-mode.el (help-mode-finish): Tweak regexp.
16064 2011-03-23  Glenn Morris  <rgm@gnu.org>
16066         * eshell/esh-opt.el (eshell-eval-using-options):
16067         Do not bind unused local variable `eshell-option-stub'.
16069         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16071 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
16073         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16074         keymap variable in `with-no-warnings' to avoid a warning when the
16075         keymap has been already `defconst'ed.
16077 2011-03-22  Leo Liu  <sdl.web@gmail.com>
16079         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16080         encode all chars in abbrevs; otherwise use emacs-mule or
16081         utf-8-emacs.  (Bug#8308)
16083 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
16085         * simple.el (backward-delete-char-untabify):
16086         Avoid warning about using `delete-backward-char'.
16088         * image.el (image-type-file-name-regexps): Make it variable.
16089         `imagemagick-register-types' modifies it, and the user may want
16090         to add new extensions for known image types.
16091         (imagemagick-register-types): Throw error if not using ImageMagick.
16093 2011-03-22  Leo Liu  <sdl.web@gmail.com>
16095         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16096         located before rcirc-prompt-end-marker.
16097         (rcirc-complete): Error if point is not after rcirc prompt.
16098         Handle the case when table is nil.
16099         (rcirc-user-authenticated): Define to fix compiler warning.
16101 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
16103         * custom.el (custom--inhibit-theme-enable): Make it affect only
16104         custom-theme-set-variables and custom-theme-set-faces.
16105         (provide-theme): Ignore custom--inhibit-theme-enable.
16106         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16107         (custom-enabling-themes): Delete variable.
16108         (enable-theme): Accept only loaded themes as arguments.
16109         Ignore the special custom-enabled-themes variable.
16110         (custom-enabled-themes): Forbid themes from setting this.
16111         Eliminate use of custom-enabling-themes.
16112         (custom-push-theme): Quote "changed" custom var entry.
16114 2011-03-21  Leo Liu  <sdl.web@gmail.com>
16116         * ido.el (ido-read-internal): Add ido-selected to history instead
16117         of user input.
16119 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16121         * subr.el (deferred-action-list, deferred-action-function):
16122         Mark obsolete.
16124 2011-03-21  Leo Liu  <sdl.web@gmail.com>
16126         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16127         change on 2011-02-13 (bug#8309).
16129         * minibuffer.el (read-file-name-function): Change default value.
16130         (read-file-name--defaults): Rename from read-file-name-defaults.
16131         (read-file-name-default): Rename from read-file-name.
16132         (read-file-name): Call read-file-name-function.
16134 2011-03-21  Glenn Morris  <rgm@gnu.org>
16136         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16137         Doc fixes.
16139 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
16141         * cus-theme.el: Add missing provide statement.
16142         (customize-create-theme): Extract theme value correctly.
16143         (custom-theme-visit-theme): Autoload.
16144         (customize-create-theme): Prompt before inserting default faces.
16146 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
16148         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16149         units and musical notes.
16151 2011-03-20  Leo Liu  <sdl.web@gmail.com>
16153         * ido.el (ido-read-internal): Use completing-read-default.
16154         (ido-completing-read): Fix compatibility with completing-read.
16156 2011-03-20  Christian Ohler  <ohler@gnu.org>
16158         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16159         (ert-delete-all-tests): Use `called-interactively-p' rather than
16160         `interactive-p'.
16161         (ert--make-xrefs-region): Respect END.
16163 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
16165         * dired-aux.el (dired-create-directory): Signal an error if the
16166         directory already exists (Bug#8246).
16168         * facemenu.el (list-colors-display): Call list-faces-display
16169         inside with-help-window.
16170         (list-colors-print): Use display property to align the final
16171         column, instead of checking window-width.
16173 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
16175         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16176         windows-nt systems.
16177         (emerge-protect-metachars): Quote correctly for ms-dos and
16178         windows-nt systems.
16180 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
16182         * info.el (info-initialize): Replace all uses of `:' with
16183         path-separator for compatibility with non-Unix systems.
16184         Cache quoting of path-separator.  (Bug#8258)
16186 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
16188         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16189         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16190         (mouse-avoidance-mode): Fix typos in docstrings.
16192 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
16194         * startup.el (package-subdirectory-regexp): Move from package.el.
16195         Omit \\` and \\', and let callers add them.
16197         * emacs-lisp/package.el (package-strip-version)
16198         (package-load-all-descriptors): Add \\` and \\' to
16199         package-subdirectory-regexp before using it.
16200         (package-untar-buffer): New arg DIR; ensure that file untars only
16201         into this expected directory.  Remove superfluous delete-region.
16202         (package-unpack): Caller changed.
16203         (package-tar-file-info): Use package-subdirectory-regexp.
16205 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16207         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16208         diff-mode-shared-map (bug#8284).
16209         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16211 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16213         * calendar/time-date.el (format-seconds): Use assoc instead of
16214         assoc-string, since assoc-string doesn't exist in XEmacs.
16216 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
16218         * custom.el (custom-known-themes): Reflow docstring.
16219         (custom-theme-load-path): Fix typo in docstring.
16220         (load-theme): Fix typo in error message.
16221         (custom-available-themes, custom-variable-theme-value):
16222         Use `let', not `let*'.
16224 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
16226         * calc/README: Mention inclusion of musical notes.
16228         * calc/calc-units.el (calc-lu-quant): Rename from
16229         `calc-logunits-quantity'.
16230         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16231         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16232         (calc-db): Rename from `calc-dblevel'.
16233         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16234         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16235         (calc-np): Rename from `calc-nplevel'.
16236         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16237         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16238         (calc-lu-plus): Rename from `calc-logunits-add'.
16239         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16240         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16241         (calc-lu-minus): Rename from `calc-logunits-sub'.
16242         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16243         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16244         (calc-lu-times): Rename from `calc-logunits-mul'.
16245         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16246         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16247         (calc-lu-divide): Rename from `calc-logunits-div'.
16248         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16249         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16251         * calc/calc-ext.el (calc-init-extensions): Update the names of the
16252         functions being autoloaded.
16254         * calc/calc.el (calc-lu-power-reference): Rename from
16255         `calc-logunits-power-reference'.
16256         (calc-lu-field-reference): Rename from
16257         `calc-logunits-field-reference'.
16259         * calc/calc-help.el (calc-l-prefix-help):
16260         Mention musical note functions.
16262 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16264         * minibuffer.el (completion-all-sorted-completions):
16265         Use :completion-cycle-penalty text property if present.
16267 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
16269         * allout.el (allout-yank-processing): Adjust for new rebulleting
16270         regime so bullet being yanked is used without prompting the user
16271         for a choice.
16273 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
16275         * startup.el (command-line): Warn the user that _emacs is deprecated.
16277 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
16279         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16280         (delphi-verbose, delphi-comment-face, delphi-string-face)
16281         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16282         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16283         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16284         (delphi-new-comment-line, delphi-font-lock-defaults)
16285         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16286         Fix typos in docstrings.
16288 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
16290         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16291         Invert the roles of character and string values for INSTEAD, so a
16292         string is used for the more common case of a defaulting prompt.
16294 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16296         * progmodes/ruby-mode.el (ruby-backward-sexp):
16297         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16298         * play/gamegrid.el (gamegrid-make-face):
16299         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16300         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16301         * notifications.el (notifications-notify):
16302         * net/xesam.el (xesam-search-engines):
16303         * net/quickurl.el (quickurl-list-insert):
16304         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16306 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
16308         * startup.el (command-line): Update package subdirectory regexp.
16310 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16312         * allout.el (allout-abbreviate-flattened-numbering)
16313         (allout-mode-deactivate-hook): Fix up obsolescence "date".
16315         * subr.el (read-char-choice): Only show the cursor after the prompt,
16316         not after the answer.
16318 2011-03-15  Kevin Ryde  <user42@zip.com.au>
16320         * help-fns.el (variable-at-point): Skip leading quotes, if any
16321         (bug#8253).
16323 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16325         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16326         warning message.
16328 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
16330         * shell.el (shell): When called interactively, offer to change the
16331         shell file name on remote hosts.
16333 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
16335         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16336         integration for LDAP parameters.  The host, base, user or binddn,
16337         and secret tokens can be specified in a netrc file, for instance.
16338         This is optional because an `auth-source' parameter must be
16339         specified in the search attributes.
16341 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
16343         * help.el (describe-mode): Link to the mode's definition (bug#8185).
16345 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16347         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16348         into declaration.  Remove redundant and harmful binding.
16350 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
16352         * files.el (file-ownership-preserved-p): Pass `integer' as an
16353         explicit 2nd argument to `file-attributes'.  If the file's owner
16354         is the Administrators group on Windows, and the current user is
16355         Administrator, consider that a match.
16357         * server.el (server-ensure-safe-dir): Consider server directory
16358         safe on MS-Windows if its owner is the Administrators group while
16359         the current Emacs user is Administrator.  Use `=' to compare
16360         numerical UIDs, since they could be integers or floats.
16362 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
16364         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16366 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
16368         Sync with Tramp 2.2.1.
16370         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16372         * net/trampver.el: Update release number.
16374 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16376         * progmodes/compile.el (compilation--previous-directory): Fix up
16377         various nil/dead-marker mismatches (bug#8014).
16378         (compilation-directory-properties, compilation-error-properties):
16379         Don't call it at a position past the one we're about to change.
16381         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16382         Disable obsolescence warnings in the file that declares it.
16384 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
16386         * allout-widgets.el (allout-widgets-tally):
16387         Initialize allout-widgets-tally as a hash table rather than nil to
16388         prevent mode-line redisplay warnings.  Also, clarify the module
16389         description and fix a comment typo.
16391 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
16393         * help-fns.el (describe-variable): Don't complete keywords.
16394         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16396 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
16398         * emacs-lisp/package.el (package-version-join): Impose a standard
16399         string representation for pre/alpha/beta version lists.
16400         (package-unpack-single): Standardize the directory name by passing
16401         it through package-version-join.
16402         (package-strip-rcs-id): Accept any version string that does not
16403         signal an error in version-to-list.
16405 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
16407         * simple.el (delete-trailing-whitespace): Return nil for the
16408         benefit of `write-file-functions'.
16410 2011-03-10  Glenn Morris  <rgm@gnu.org>
16412         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16414         * vc/vc-git.el (vc-git-program): New option.
16415         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16416         (vc-git--call): Use it.
16418         * eshell/esh-util.el (eshell-condition-case): Doc fix.
16420         * cus-edit.el (Custom-newline): If no button at point, look
16421         for a subgroup button at start-of-line.  (Bug#2298)
16423         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16425 2011-03-10  Julien Danjou  <julien@danjou.info>
16427         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16428         `cursor-type' is nil.
16430 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
16432         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16434 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
16436         * allout.el: Change so yank of distinctive-bullet items
16437         preserves the existing header prefix, rebulleting it if necessary,
16438         rather than replacing it.  This is necessary for proper operation
16439         of cooperative addons like allout-widgets.
16440         (allout-make-topic-prefix, allout-rebullet-heading):
16441         Change SOLICIT arg to INSTEAD, and interpret additionally a string
16442         value as alternate bullet to be used, instead of prompting the user
16443         for a bullet character.
16445 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
16447         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16448         Do not use `tramp-file-name-port', because this returns also
16449         `tramp-default-port'.
16451 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
16453         * net/rcirc.el (rcirc-handler-001): Remove useless
16454         with-rcirc-process-buffer.
16455         (rcirc-check-auth-status): Swap arguments to string-match.
16457 2011-03-09  Glenn Morris  <rgm@gnu.org>
16459         * shell.el (shell-mode):
16460         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
16462         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16463         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
16465 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
16467         * emacs-lisp/package.el (package-refresh-contents)
16468         (package-menu-execute): Use condition-case-no-debug.
16470 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
16472         * simple.el (shell-command-to-string): Use `process-file'.
16474         * emacs-lisp/package.el (package-tar-file-info): Handle also
16475         remote files.
16477         * emacs-lisp/package-x.el (package-upload-buffer-internal):
16478         Use `equal' for upload base check.
16480 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
16482         * textmodes/texinfo.el (texinfo-environments):
16483         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
16485 2011-03-08  Glenn Morris  <rgm@gnu.org>
16487         * cus-start.el (cursor-in-non-selected-windows):
16488         Fix :set quoting oddness.  (Bug#8192)
16490         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16491         in some setf expressions.  (Bug#2159)
16493 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
16495         * custom.el (custom-available-themes): Return themes in
16496         alphabetical order.
16498 See ChangeLog.15 for earlier changes.
16500 ;; Local Variables:
16501 ;; coding: utf-8
16502 ;; End:
16504   Copyright (C) 2011-2012  Free Software Foundation, Inc.
16506   This file is part of GNU Emacs.
16508   GNU Emacs is free software: you can redistribute it and/or modify
16509   it under the terms of the GNU General Public License as published by
16510   the Free Software Foundation, either version 3 of the License, or
16511   (at your option) any later version.
16513   GNU Emacs is distributed in the hope that it will be useful,
16514   but WITHOUT ANY WARRANTY; without even the implied warranty of
16515   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16516   GNU General Public License for more details.
16518   You should have received a copy of the GNU General Public License
16519   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.