* vc/vc-hooks.el (vc-before-save): Clear cache if file has been
[emacs.git] / lisp / ChangeLog
blobd92783e03b0617f6ddd8e2e485b5f12f2d39f303
1 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
3         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4         removed (likely outside Emacs).
6 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8         * emacs-lisp/cl-lib.el: Require macroexp for its macros.
10 2012-06-30  Chong Yidong  <cyd@gnu.org>
12         * xml.el: Implement XML parameter entities.
13         (xml-parameter-entity-alist): New variable.
14         (xml-parse-region, xml-parse-fragment): Preserve previous values
15         of xml-entity-alist and xml-parameter-entity-alist, so that
16         repeated calls on different documents do not change them.
17         (xml-parse-tag): Fix doctype regexp.
18         (xml--entity-replacement-text): New function.
19         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
20         properly requires url retrieval which is unimplemented.
21         (xml-escape-string): Doc fix.
23 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
25         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
27 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
29         * fringe.el (fringe-mode): Doc fix.
31 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
33         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
34         is non-nil.
35         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
36         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
38 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
40         * calendar/cal-dst.el (calendar-current-time-zone):
41         Return calendar-current-time-zone-cache if non-nil.
43 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
45         * progmodes/which-func.el (which-func-format):
46         Add mouse-face.  (Bug#11698)
48 2012-06-29  Leo Liu  <sdl.web@gmail.com>
50         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
52 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
54         * minibuffer.el (minibuffer-confirm-exit-commands):
55         Add completion-at-point (bug#11725).
57 2012-06-29  Glenn Morris  <rgm@gnu.org>
59         * progmodes/f90.el (f90-font-lock-keywords-2):
60         Add some preprocessor elements.  (Bug#10499)
62 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
64         * progmodes/cperl-mode.el (cperl-update-syntaxification):
65         Use syntax-propertize (bug#11739).
67 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
69         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
71 2012-06-28  Julien Danjou  <julien@danjou.info>
73         * term.el (term-handle-colors-array): Use a set of new faces to
74         color the terminal.  Also uses :inverse-video property.
75         (term-default-fg-color): Set to nil by default, deprecate in favor
76         of `term-face'.
77         (term-default-bg-color): Set to nil by default, deprecate in favor
78         of `term-face'.
79         (term-current-face): Use `term-face' by default.
80         (term-bold-attribute): Variable deleted.
82 2012-06-28  Glenn Morris  <rgm@gnu.org>
84         * simple.el (completion-list-mode-finish):
85         Don't use toggle-read-only.  (Since completion-list-mode has
86         a special mode-class, it wasn't doing anything extra anyway.)
88 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
90         Make inlining of other-mode interpreted functions work (bug#11799).
91         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
92         (byte-compile): Use it to fix compilation of lexical-binding closures.
93         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
94         function, if needed.
96 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
98         * help-mode.el (help-make-xrefs): Don't just withstand
99         cyclic-variable-indirection but any error in documentation-property.
101         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
102         memory use.
103         * bindings.el (bindings--define-key): New function.
104         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
105         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
106         * bindings.el: Use it to purecopy define-key bindings.
108         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
110         * emacs-lisp/cl.el (flet): Mark obsolete.
111         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
112         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
113         * progmodes/js.el (js-c-fill-paragraph):
114         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
115         (ebrowse-switch-member-buffer-to-derived-class):
116         * play/5x5.el (5x5-solver): Use cl-flet.
118         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
119         (cl--symbol-function): New macro.
120         (cl--letf, cl--letf*): Use it.
122         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
123         Strip "toggle-" if any.
125 2012-06-27  Glenn Morris  <rgm@gnu.org>
127         * info.el (Info-default-directory-list): Move here from paths.el.
128         * paths.el: Remove file, which is now empty.
129         * loadup.el: No longer load "paths".
131         * custom.el (custom-initialize-delay): Doc fix.
133         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
134         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
135         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
136         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
137         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
138         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
139         * eshell/eshell.el (eshell-defgroup): Remove alias.
141 2012-06-27  Chong Yidong  <cyd@gnu.org>
143         * help.el (help-enable-auto-load): New variable.
145         * help-fns.el (help-fns--autoloaded-p): New function.
146         (describe-function-1): Refer to a function as "autoloaded" if it
147         was autoloaded at any time in the past.  Perform autoloading if
148         help-enable-auto-load is non-nil.
150 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
152         * makefile.w32-in (compile, compile-always): Depend on
153         update-subdirs, not on subdirs.el.  Otherwise, several different
154         sub-targets of 'bootstrap' running in parallel could
155         simultaneously write to subdirs.el, producing a garbled file.
157 2012-06-26  Sam Steingold  <sds@gnu.org>
159         * files.el (file-name-base): New convenience function.
160         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
161         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
162         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
163         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
164         * textmodes/ispell.el, textmodes/reftex-ref.el:
165         * textmodes/tex-mode.el: Use it.
166         Did not touch cedet and org because they are maintained elsewhere.
168 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
170         * calendar/calendar.el (calendar-exit): Don't try to delete or
171         iconify last frame.  See:
172         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
174 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
176         * server.el (server-process-filter): Remember dir in the
177         process's `server-client-directory' properties.
179 2012-06-24  Chong Yidong  <cyd@gnu.org>
181         * xml.el (xml-parse-tag): Correctly handle comment embedded in
182         non-tag text.
184 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
186         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
188 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
190         * help-fns.el (describe-variable): Don't croak when doc is not found.
191         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
192         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
193         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
194         * emacs-lisp/smie.el (smie-next-sexp): CSE.
195         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
196         ((lambda ..) ..).
197         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
199 2012-06-23  Chong Yidong  <cyd@gnu.org>
201         * info.el (Info-mouse-follow-link): Accept symbol values of
202         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
203         (Info-fontify-node): Use Info-link-keymap for all navigation
204         buttons, with link-args property to perform the desired action.
205         (Info-link-keymap): Doc fix.
206         (Info-next-link-keymap, Info-prev-link-keymap)
207         (Info-up-link-keymap): Delete now-unused keymaps.
209 2012-06-23  Chong Yidong  <cyd@gnu.org>
211         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
213         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
214         system abbrevs.
216         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
218 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
220         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
221         (bug#11719).
223         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
224         the requote function doesn't work properly (bug#11714).
226 2012-06-23  Glenn Morris  <rgm@gnu.org>
228         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
230 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
232         Further GV/CL cleanups.
233         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
234         gv-expander.
235         (gv--defun-declaration): New function.
236         (defun-declarations-alist): Use it.
237         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
238         (gv-place): Autoload.
239         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
240         original definition of dotimes and dolist.
241         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
242         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
243         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
244         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
245         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
246         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
247         to the function's definition.
248         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
249         * window.el:
250         * files.el:
251         * faces.el:
252         * env.el: Don't use CL.
254 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
256         Support higher-resolution time stamps (Bug#9000).
258         * calendar/time-date.el (with-decoded-time-value): New arg
259         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
260         (encode-time-value): New optional arg PICO.  New type 3.
261         (time-to-seconds) [!float-time]: Support the new picoseconds
262         component if it's used.
263         (seconds-to-time, time-subtract, time-add):
264         Support ps-resolution time stamps as well.
266         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
267         (timerp): Timer vectors now have length 9, not 8.
268         (timer--time): Support new-style (4-part) time stamps.
269         (timer-next-integral-multiple-of-time): Time stamps now have
270         picosecond resolution, so take a bit more care about rounding.
271         (timer-relative-time, timer-inc-time): New optional arg psecs.
272         (timer-set-time-with-usecs): Set psecs to 0.
273         (timer--activate): Check psecs component, too.
275         * proced.el (proced-time-lessp): Support ps-resolution stamps.
277 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
279         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
280         Move the non-essential binding to the post/pre-command-hook where it is
281         more obviously correct.
283         * subr.el (read-passwd): Don't use a history at all.
284         * savehist.el (savehist-save): Remove password saved accidentally
285         because of the above bug.
287 2012-06-22  Bastien Guerry  <bzg@gnu.org>
289         * files.el (toggle-read-only): Display a message telling whether
290         the buffer is read-only or not (bug#11726).
292 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
294         * emacs-lisp/gv.el: New file.
295         * subr.el (push, pop): Extend to generalized variables.
296         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
297         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
298         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
299         gv-define-simple-setter, and gv-define-expander.
300         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
301         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
302         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
303         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
304         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
305         gv-letplace.
306         (cl-defstruct): Don't define setf-method any more.
307         * emacs-lisp/cl.el (flet): Don't autoload.
308         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
309         (define-setf-expander, defsetf, define-modify-macro)
310         (cl-struct-setf-expander): Move from cl-lib.el.
311         * emacs-lisp/syntax.el:
312         * emacs-lisp/ewoc.el:
313         * emacs-lisp/smie.el:
314         * emacs-lisp/cconv.el:
315         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
316         (timer--time): Use gv-define-simple-setter.
317         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
318         to avoid coding-system problems in subr.el.  Adjust all users.
319         (macroexp--maxsize, macroexp-small-p): New functions.
320         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
321         * scroll-bar.el (scroll-bar-mode):
322         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
323         (normal-erase-is-backspace-mode): Don't use the `eq' place.
324         * winner.el (winner-configuration, winner-make-point-alist)
325         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
326         * files.el (locate-file-completion-table): Avoid list*.
328 2012-06-22  Chong Yidong  <cyd@gnu.org>
330         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
331         (dired-create-files): Doc fix (Bug#11329).
332         (dired-do-copy): Doc fix (Bug#11334).
333         (dired-mark-read-string): Doc fix (Bug#11553).
335         * dired.el (dired-recursive-copies, dired-recursive-deletes):
336         Doc fix (Bug#11326).
337         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
338         (dired-dwim-target): Doc fix.
340         * wdired.el (wdired-mode): Doc fix.
342 2012-06-22  Glenn Morris  <rgm@gnu.org>
344         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
345         (pcmpl-rpm-cache-stamp-file): New constant.
346         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
347         (pcmpl-rpm-packages): Optionally cache list of packages.
349         * pcmpl-rpm.el (pcmpl-rpm): New group.
350         (pcmpl-rpm-query-options): New option.
351         (pcmpl-rpm-packages): No need to inline it.
352         Use pcmpl-rpm-query-options.
354         * calendar/calendar.el (calendar-in-read-only-buffer):
355         Avoid some needless mode changes.
357 2012-06-21  Chong Yidong  <cyd@gnu.org>
359         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
360         (desktop-path): Remove . from the default value (Bug#10977).
361         (desktop-read): Use user-emacs-directory if desktop-path is nil.
363 2012-06-20  Chong Yidong  <cyd@gnu.org>
365         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
367 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
369         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
370         (bug#11201).
372 2012-06-20  Chong Yidong  <cyd@gnu.org>
374         * term.el (term-window-width): Handle the case of a missing right
375         fringe (Bug#8837).
376         (term-check-size): Use window-text-height (Bug#5445).
377         (term-mode): Use define-derived-mode.  Minor cleanups.
378         Set font-lock-defaults (Bug#7692).
379         (term-move-columns, term-insert-char, term-emulate-terminal)
380         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
382 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
384         * net/ange-ftp.el (ange-ftp-get-passwd):
385         Bind `enable-recursive-minibuffers'.
386         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
388 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
390         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
392 2012-06-19  Glenn Morris  <rgm@gnu.org>
394         * progmodes/python.el (python-mode): Derive from prog-mode.
396 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
398         * emulation/edt.el (edt-default-menu-bar-update-buffers)
399         (edt-user-menu-bar-update-buffers): New functions.
400         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
402 2012-06-19  Chong Yidong  <cyd@gnu.org>
404         * subr.el (with-selected-window): Preserve the selected window's
405         terminal's top-frame (Bug#4702).
407         * window.el (save-selected-window): Likewise.
409 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
411         * progmodes/python.el (python-rx-constituents): Move backquote.
412         (python-skeleton-define, python-define-auxiliary-skeleton):
413         Use `declare'.
415 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
417         * minibuffer.el (read-file-name-default): Revert the patch from
418         2012-06-17.
420 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
422         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
423         (pcase--u1, pcase--q1): Don't use apply-partially.
425 2012-06-18  Glenn Morris  <rgm@gnu.org>
427         * progmodes/python.el (python-proc, python-buffer)
428         (python-send-receive, python-send-string): Fix obsolete versions.
430 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
432         * window.el (special-display-p): Completely remove stringp
433         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
435 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
437         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
439         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
441         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
442         * net/tramp-sh.el (tramp-maybe-open-connection):
443         Throw if `non-essential' is non-nil.
445 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
447         * window.el (special-display-p): Signal an error if BUFFER-NAME
448         is not a string (Bug#11713).
450 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
452         * progmodes/python.el (python-info-beginning-of-backslash):
453         Rename from python-info-beginning-of-backlash, as a spelling fix.
455 2012-06-17  Chong Yidong  <cyd@gnu.org>
457         * term.el (term-emulate-terminal): If term-check-size is called,
458         move point to the process mark without resetting point (Bug#4635).
460 2012-06-17  Glenn Morris  <rgm@gnu.org>
462         * international/mule-cmds.el (mule-menu-keymap)
463         (set-language-environment, set-locale-environment): Doc tweaks.
465 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
467         * cus-face.el (custom-face-attributes): Add wave-style underline
468         attribute.
469         * faces.el (set-face-attribute): Update docstring to describe
470         wave-style underline attribute.
472 2012-06-16  Chong Yidong  <cyd@gnu.org>
474         * term/xterm.el (terminal-init-xterm): Discard input before
475         querying background mode (Bug#10959).
477 2012-06-16  Stefan Merten  <smerten@oekonux.de>
479         * textmodes/rst.el: Added and corrected some comments.
480         (rst-re-alist-def): Improve symbol syntax.
481         (rst-mode-syntax-table): Correct syntax entries.
482         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
483         (rst-official-version, rst-official-cvs-rev): Update version
484         information.
486 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
488         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
489         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
491 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
493         * progmodes/python.el: New python.el merge.
494         (python-guess-indent): Obsolete var.
495         (python-indent-guess-indent-offset): New defcustom.
496         (python-indent): Obsolete var.
497         (python-indent-offset): New defcustom.
498         (python-python-command, python-jython-command): Delete var.
499         (python-shell-interpreter): New defcustom.
500         (python-pdbtrack-do-tracking-p): Delete var.
501         (python-pdbtrack-activate): New defcustom.
502         (python-use-skeletons): Obsolete var.
503         (python-skeleton-autoinsert): New defcustom.
504         (inferior-python-filter-regexp, python-continuation-offset)
505         (python-honour-comment-indentation, python-indent-string-contents)
506         (python-jython-packages, python-mode-hook)
507         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
508         (python-shell-prompt-alist)
509         (python-source-modes): Delete defcustoms.
510         (python-check-buffer-name, python-eldoc-setup-code)
511         (python-eldoc-string-code, python-ffap-setup-code)
512         (python-ffap-string-code, python-fill-comment-function)
513         (python-fill-decorator-function, python-fill-paren-function)
514         (python-fill-string-function, python-imenu-include-defun-type)
515         (python-imenu-make-tree, python-imenu-subtree-root-label)
516         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
517         (python-shell-compilation-regexp-alist)
518         (python-shell-completion-module-string-code)
519         (python-shell-completion-pdb-string-code)
520         (python-shell-completion-setup-code)
521         (python-shell-completion-string-code)
522         (python-shell-enable-font-lock, python-shell-exec-path)
523         (python-shell-extra-pythonpaths)
524         (python-shell-internal-buffer-name, python-shell-interpreter-args)
525         (python-shell-process-environment)
526         (python-shell-prompt-block-regexp)
527         (python-shell-prompt-output-regexp)
528         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
529         (python-shell-send-setup-max-wait, python-shell-setup-codes)
530         (python-shell-virtualenv-path): New defcustoms.
531         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
532         (inferior-python-mode-syntax-table, python--prompt-regexp)
533         (python-buffer, python-command python-python-command)
534         (python-default-template, python-imports, python-indent-index)
535         (python-indent-list, python-indent-list-length)
536         (python-mode-running, python-pdbtrack-is-tracking-p)
537         (python-preoutput-continuation, python-preoutput-leftover)
538         (python-preoutput-result, python-preoutput-skip-next-prompt)
539         (python-prev-dir/file, python-recursing)
540         (python-saved-check-command, python-version-checked)
541         (python-which-func-length-limit)
542         (view-return-to-alist): Delete vars.
543         (python-check-custom-command, python-dotty-syntax-table)
544         (python-imenu-index-alist, python-indent-current-level)
545         (python-indent-dedenters, python-indent-levels)
546         (python-nav-beginning-of-defun-regexp)
547         (python-nav-list-defun-positions-cache)
548         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
549         (python-shell-internal-buffer)
550         (python-skeleton-available): New vars.
551         (def-python-skeleton): Delete macro.
552         (python-skeleton-define): New macro.
553         (python-define-auxiliary-skeleton, python-rx): New macros.
554         (python-insert-class): Delete command.
555         (python-skeleton-class): New command.
556         (python-insert-def): Delete command.
557         (python-skeleton-def): New command.
558         (python-insert-for): Delete command.
559         (python-skeleton-for): New command.
560         (python-insert-if): Delete command.
561         (python-skeleton-if): New command.
562         (python-insert-try/except, python-insert-try/finally): Delete commands.
563         (python-skeleton-try): New command.
564         (python-insert-while): Delete command.
565         (python-skeleton-while): New command.
566         (python-backspace): Delete command.
567         (python-indent-dedent-line-backspace): New command.
568         (python-electric-colon): Delete command.
569         (python-indent-electric-colon): New command.
570         (python-guess-indent): Delete command.
571         (python-indent-guess-indent-offset): New command.
572         (python-shift-left): Delete command.
573         (python-indent-shift-left): New command.
574         (python-shift-right): Delete command.
575         (python-indent-shift-right): New command.
576         (python-find-function): Delete command.
577         (python-nav-jump-to-defun): New command.
578         (python-next-statement): Delete command.
579         (python-nav-forward-sentence): New command.
580         (python-previous-statement): Delete command.
581         (python-nav-backward-sentence): New command.
582         (python-fill-paragraph): Delete command.
583         (python-fill-paragraph-function): New command.
584         (python-send-buffer): Delete command.
585         (python-shell-send-buffer): New command.
586         (python-send-defun): Delete command.
587         (python-shell-send-defun): New command.
588         (python-send-region, python-send-region-and-go): Delete commands.
589         (python-shell-send-region)
590         (python-shell-switch-to-shell): New commands.
591         (python-send-string): Delete command.
592         (python-shell-send-string): New command.
593         (python-switch-to-python): Delete command.
594         (python-shell-switch-to-shell): New command.
595         (python-describe-symbol): Delete command.
596         (python-eldoc-at-point): New command.
597         (python--set-prompt-regexp, python-args-to-list)
598         (python-after-info-look, python-check-version)
599         (python-check-comint-prompt, python-find-imports)
600         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
601         (python-unload-function, python-expand-template)
602         (python-maybe-jython, python-preoutput-filter)
603         (python-pdbtrack-get-source-buffer)
604         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
605         (python-pdbtrack-toggle-stack-tracking)
606         (python-pdbtrack-track-stack-file, python-initial-text)
607         (python-first-word, python-comment-line-p, python-send-command)
608         (python-setup-brm, python-sentinel, python-set-proc)
609         (python-skip-out, python-input-filter, python-outdent-p)
610         (python-outline-level, python-backslash-continuation-line-p)
611         (python-end-of-block, python-end-of-statement, python-mark-block)
612         (python-beginning-of-block, python-beginning-of-statement)
613         (python-blank-line-p, python-beginning-of-string)
614         (python-open-block-statement-p): Delete functions.
615         (python-indent-line, python-indent-line-1): Delete functions.
616         (python-indent-line): New function.
617         (python-indentation-levels): Delete function.
618         (python-indent-calculate-levels): New function.
619         (python-proc): Delete function.
620         (python-shell-get-process): New function.
621         (python-send-receive): Delete function.
622         (python-shell-send-string-no-output): New function.
623         (python-module-path): Delete function.
624         (python-ffap-module-path): New function.
625         (python-completion-at-point)
626         (python-symbol-completions): Delete functions.
627         (python-completion-complete-at-point): New function.
628         (python-load-file): Delete function.
629         (python-shell-send-file): New function.
630         (python-calculate-indentation): Delete function.
631         (python-indent-calculate-indentation): New function.
632         (python-skip-comments/blanks): Delete function.
633         (python-util-forward-comment): New function.
634         (python-continuation-line-p): Delete function.
635         (python-info-continuation-line-p): New function.
636         (python-which-func, python-current-defun): Delete function.
637         (python-info-current-defun): New function.
638         (python-beginning-of-defun): Delete function.
639         (python-nav-beginning-of-defun): New function.
640         (python-close-block-statement-p)
641         (python-block-end-p): Delete function.
642         (python-info-closing-block): New function.
643         (python-comint-output-filter-function)
644         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
645         (python-fill-comment, python-fill-decorator, python-fill-paren)
646         (python-fill-string, python-imenu-make-element-tree)
647         (python-imenu-make-tree, python-imenu-tree-assoc)
648         (python-indent-context, python-indent-dedent-line)
649         (python-indent-line-function)
650         (python-indent-post-self-insert-function)
651         (python-indent-toggle-levels)
652         (python-info-assignment-continuation-line-p)
653         (python-info-beginning-of-backlash)
654         (python-info-block-continuation-line-p)
655         (python-info-closing-block-message)
656         (python-info-line-ends-backslash-p)
657         (python-info-looking-at-beginning-of-defun)
658         (python-info-ppss-context, python-info-ppss-context-type)
659         (python-nav-list-defun-positions, python-nav-read-defun)
660         (python-nav-sentence-end, python-nav-sentence-start)
661         (python-pdbtrack-comint-output-filter-function)
662         (python-pdbtrack-set-tracked-buffer)
663         (python-shell-calculate-exec-path)
664         (python-shell-calculate-process-environment)
665         (python-shell-completion--do-completion-at-point)
666         (python-shell-completion--get-completions)
667         (python-shell-completion-complete-at-point)
668         (python-shell-completion-complete-or-indent)
669         (python-shell-get-or-create-process)
670         (python-shell-get-process-name)
671         (python-shell-internal-get-or-create-process)
672         (python-shell-internal-get-process-name)
673         (python-shell-internal-send-string, python-shell-make-comint)
674         (python-shell-parse-command, python-shell-send-setup-code)
675         (python-skeleton-add-menu-items)
676         (python-util-clone-local-variables, python-util-position)
677         (run-python-internal, python-indentation-levels)
678         (python-nav-beginning-of-defun)
679         (python-completion-complete-at-point): New functions.
680         (run-python): Change arguments.  New API requirements.
682 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
684         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
685         (bug#11649).
687         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
688         (macroexp--expand-all): Use it.
690         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
691         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
692         Use `cl-function' instead.
694 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
696         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
697         Suggested by Stefan Monnier while discussing bug#11657.
699 2012-06-14  Sam Steingold  <sds@gnu.org>
701         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
703 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
705         * play/doctor.el (doctor-doc): Remove parameter and use
706         doctor-sent instead of sent.
707         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
709 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
711         * files.el: Require cl-lib.
712         (file-name-non-special): Replace case -> cl-case.
714         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
716         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
717         mapping from #' to function*.
719 2012-06-13  Chong Yidong  <cyd@gnu.org>
721         * mouse.el (mouse-drag-track): Do not set the mark if the user
722         releases the mouse without selecting anything (Bug#11588).
724 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
726         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
727         as well (bug#11646).
729         * loadup.el: Count byte-code functions as well.
731         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
732         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
734         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
735         (bug#11649).  Add cl-defun and cl-defmacro.
737 2012-06-13  Drew Adams  <drew.adams@oracle.com>
739         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
740         Fix last change.
742 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
744         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
745         Otherwise, it blocks in batch mode.
747 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
749         * help-mode.el (bookmark-make-record-default): Declare.
751 2012-06-13  Chong Yidong  <cyd@gnu.org>
753         * emacs-lisp/package.el (list-packages): Compute a list of
754         packages that are newly-available since the last list-packages
755         invocation.
756         (package-menu--new-package-list): New var.
757         (package-menu--generate, package-menu--print-info)
758         (package-menu--status-predicate, package-menu-mark-install):
759         Handle new status label "new".
761 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
763         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
764         conversion to backquotes.
766 2012-06-12  Chong Yidong  <cyd@gnu.org>
768         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
769         Rename from gud-inhibit-global-bindings.
771         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
773         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
774         hook from nxml-glyph-set-hook.
776         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
777         declaration.
779         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
781         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
782         Convert to defcustom.
784 2012-06-12  Drew Adams  <drew.adams@oracle.com>
786         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
787         New functions.
788         (help-mode): Use them.
790 2012-06-11  Glenn Morris  <rgm@gnu.org>
792         * progmodes/fortran.el (fortran-font-lock-keywords-3):
793         Use preprocessor face for directives.
794         (fortran-directive-re): Doc fix.
796 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
798         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
799         conversion to backquotes (bug#11652).
801         Fix compiler-expansion of CL's cXXr functions (bug#11673).
802         * emacs-lisp/cl-lib.el (cl--defalias): New function.
803         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
804         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
805         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
806         (cl-ninth, cl-tenth): Mark them as inlinable.
807         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
808         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
809         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
810         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
811         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
812         (cl-list*, cl-adjoin): Don't put an autoload manually.
813         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
814         (cl--compiler-macro-list*): Add autoload cookie.
815         (cl--compiler-macro-cXXr): New function.
817         * help-fns.el (help-fns--compiler-macro): New function extracted from
818         describe-function-1; follow aliases and use `compiler-macro' property.
819         (describe-function-1): Use it.
821 2012-06-11  Chong Yidong  <cyd@gnu.org>
823         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
824         is uninstalled, if imagemagick is installed.
826 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
828         * emacs-lisp/cl-lib.el: Use lexical-binding.
829         (cl-map-extents, cl-maclisp-member): Remove.
830         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
831         (cl--set-substring, cl--block-wrapper, cl--block-throw)
832         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
833         * emacs-lisp/cl-extra.el: Use lexical-binding.
834         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
835         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
836         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
837         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
838         * emacs-lisp/cl-seq.el: Use lexical-binding.
839         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
840         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
841         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
842         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
843         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
844         CL's internals.
846 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
848         Sync with Tramp 2.2.6-pre.
850         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
851         `print-length' and `print-level' to nil, in order to avoid
852         truncation.  Reported by Christopher Schmidt
853         <christopher@ristopher.com>.
855         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
857         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
858         New defmacro.
859         (tramp-compat-copy-directory): Add optional argument
860         COPY-CONTENTS.  It is not handled yet.
862         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
863         (tramp-ftp-file-name-p): Simplify.
865         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
866         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
867         connection vector.
869         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
870         (tramp-methods): Do not use `tramp-password-end-of-line'.
871         (tramp-completion-function-alist-putty): Handle UNIX case.
872         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
873         (tramp-do-file-attributes-with-stat)
874         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
875         gid as real numbers.  They could run out of integer range on cygwin.
876         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
877         (tramp-sh-handle-expand-file-name): Handle hops.
878         (tramp-open-connection-setup-interactive-shell):
879         Use `tramp-cleanup'.  Move check for busyboxes ...
880         (tramp-find-shell): ... here.  Simplify implementation.
881         Set "remote-shell" property also for alternative shells.
882         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
883         If failing, a regular file would be written otherwise.
884         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
885         (tramp-find-inline-encoding): Cache the coding commands in the
886         process cache.  Apply test command on the remote side, if defined.
887         (tramp-find-inline-compress): Cache the compress commands in the
888         process cache.
889         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
890         when requested.  Handle hops.
891         (tramp-current-connection): New defvar.
892         (tramp-maybe-open-connection): Use `tramp-cleanup'.
893         Throw `suppress', if there was a failed connection shortly before.
894         Handle user interrupt.  (Bug#10187)
895         (tramp-get-inline-compress, tramp-get-inline-coding):
896         Read connection properties from the process cache.
898         * net/tramp-smb.el (tramp-smb-server-version)
899         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
900         New defconsts.
901         (tramp-smb-prompt): Extend for powershell prompt.
902         (tramp-smb-file-name-handler-alist): Add handlers for
903         `process-file', `shell-command' and `start-file-process'.
904         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
905         (tramp-smb-winexe-shell-command-switch): New defcustoms.
906         (tramp-smb-file-name-p): Simplify.
907         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
908         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
909         (tramp-smb-shell-quote-argument): New defuns.
910         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
911         Implement using "tar".  By this, time-stamps are preserved.
912         (tramp-smb-handle-copy-file): Handle also the case of directories.
913         (tramp-smb-do-file-attributes-with-stat)
914         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
915         Use `tramp-get-connection-buffer').
916         (tramp-smb-handle-rename-file): Use "rename", when source and
917         target are on the same share.
918         (tramp-smb-maybe-open-connection): Handle wrong passwords.
919         Use `tramp-smb-server-version'.
920         (tramp-smb-wait-for-output): Remove prompt.
922         * net/tramp.el (top): Require 'cl.
923         (tramp-methods, tramp-rsh-end-of-line):
924         Remove `tramp-password-end-of-line' from docstring.
925         (tramp-save-ad-hoc-proxies): New defcustom.
926         (tramp-completion-function-alist): Adapt docstring.
927         (tramp-default-password-end-of-line): Remove defcustom.
928         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
929         (tramp-user-regexp, tramp-file-name-regexp-unified)
930         (tramp-file-name-regexp-url): Extend regexp by hop separator.
931         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
932         (tramp-remote-file-name-spec-regexp): New defconst.
933         (tramp-file-name-structure): Extend structure for hops.
934         (tramp-get-method-parameter): Move up.
935         (tramp-file-name-p, tramp-dissect-file-name)
936         (with-parsed-tramp-file-name): Handle hops.
937         (tramp-file-name-hop): New defun.
938         (tramp-make-tramp-file-name): New optional arg HOP.
939         (tramp-message-show-progress-reporter-message): New defvar.
940         (tramp-with-progress-reporter): Use it.  We cannot use
941         `tramp-message-show-message' here, because this suppresses also
942         error buffers.
943         (tramp-error-with-buffer): Suppress buffer view, if
944         `tramp-message-show-message' is nil.
945         Use `tramp-get-connection-buffer'.
946         (tramp-cleanup): New defun.
947         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
948         (tramp-file-name-handler): If `debug-on-error' is set, propagate
949         an error unchanged.
950         (tramp-completion-handle-file-name-all-completions): Handle hops.
951         Fix an error when called from ido.
952         (tramp-completion-dissect-file-name): Use better local variable
953         name.  Add hop to the vector.
954         (tramp-handle-insert-file-contents): Use progress-reporter for the
955         whole scenario.
956         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
957         to `t'.
958         (tramp-check-for-regexp): Simplify search.
959         (tramp-enter-password): Remove it.  Move implementation ...
960         (tramp-action-password): ... here.
961         (tramp-mode-string-to-int, tramp-local-host-p)
962         (tramp-make-tramp-temp-file, tramp-read-passwd)
963         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
964         Set tramp-autoload cookie.
966         * net/trampver.el: Update release number.
968 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
969             Michael Albinus  <michael.albinus@gmx.de>
971         * net/tramp.el (tramp-set-completion-function): Fix docstring.
972         (tramp-parse-group, tramp-parse-file)
973         (tramp-parse-shostkeys-sknownhosts): New defuns.
974         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
975         (tramp-parse-shosts-group, tramp-parse-sconfig)
976         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
977         (tramp-parse-sknownhosts, tramp-parse-hosts)
978         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
979         Use them.
980         (tramp-parse-passwd-group, tramp-parse-netrc-group)
981         (tramp-parse-putty-group): Don't narrow.
982         (tramp-parse-putty): Make a loop.
983         (tramp-file-name-handler): Catch the `suppress' signal.
985 2012-06-11  Chong Yidong  <cyd@gnu.org>
987         * image.el (imagemagick-register-types): Put the ImageMagick entry
988         at the end of image-type-file-name-regexps.
990 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
992         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
993         (pcase, pcase-let*, pcase-dolist): Use them.
995 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
997         * emacs-lisp/pcase.el (pcase--let*): New function.
998         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
999         (pcase--expand): Use macroexp-let².
1001 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1003         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1004         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1005         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1006         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1007         * emacs-lisp/derived.el: Use pcase instead of `cl'.
1008         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1010 2012-06-10  Glenn Morris  <rgm@gnu.org>
1012         * mail/rmail.el (rmail-yank-current-message): Leave point at
1013         correct position.  (Bug#11660)
1015 2012-06-10  Chong Yidong  <cyd@gnu.org>
1017         * allout-widgets.el: Fix code header.
1019 2012-06-10  Chong Yidong  <cyd@gnu.org>
1021         * cus-edit.el (customize-changed-options-previous-release):
1022         Bump to 24.1.
1024 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
1026         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1028 2012-06-09  Chong Yidong  <cyd@gnu.org>
1030         * ebuff-menu.el (electric-buffer-list): Preserve header line.
1032 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
1034         * window.el (special-display-popup-frame): Don't use
1035         window--display-buffer (Bug#11651).
1037 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
1039         Fix parallel builds: make sure loaddefs.el is not being written
1040         while Lisp files are compiled.
1041         (compile): Don't depend on 'mh-autoloads'.
1042         (compile-CMD, compile-SH): Depend on 'autoloads'.
1043         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1045         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
1047 2012-06-09  Chong Yidong  <cyd@gnu.org>
1049         * face-remap.el (face-remap-add-relative, face-remap-set-base)
1050         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1051         Doc fixes (Bug#11225).
1053 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1055         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1056         a function if there's a clear indication that it has a compiler-macro.
1057         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1058         (macro-declarations-alist): Add arglist to declaration functions.
1059         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1060         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1061         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1062         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1063         Also add autoload to find the compiler macro.
1064         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1065         (cl--compiler-macro-member, cl--compiler-macro-assoc)
1066         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1067         (cl--compiler-macro-get): New functions, replacing calls to
1068         cl-define-compiler-macro.
1069         (cl-typep) [compiler-macro]: Use macroexp-let².
1071 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
1073         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1074         string properly, fixes Bug#11473.
1076 2012-06-08  Chong Yidong  <cyd@gnu.org>
1078         * faces.el (set-face-attribute): Doc fix.
1079         (modify-face): Don't use :bold and :italic.
1080         (error, warning, success): Tweak definitions.
1082         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1083         (custom-modified, custom-set, custom-changed, custom-themed)
1084         (custom-saved, custom-button, custom-button-mouse)
1085         (custom-button-pressed, custom-state, custom-comment-tag)
1086         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1087         (custom-group-subtitle): Use new-style face specs.
1088         (custom-invalid-face, custom-rogue-face, custom-modified-face)
1089         (custom-set-face, custom-changed-face, custom-saved-face)
1090         (custom-button-face, custom-button-pressed-face)
1091         (custom-documentation-face, custom-state-face)
1092         (custom-comment-face, custom-comment-tag-face)
1093         (custom-variable-tag-face, custom-variable-button-face)
1094         (custom-face-tag-face, custom-group-tag-face-1)
1095         (custom-group-tag-face): Remove obsolete face alias.
1097         * epa.el (epa-validity-high, epa-validity-medium)
1098         (epa-validity-low, epa-mark, epa-field-name, epa-string)
1099         (epa-field-name, epa-field-body):
1100         * font-lock.el (font-lock-comment-face, font-lock-string-face)
1101         (font-lock-keyword-face, font-lock-builtin-face)
1102         (font-lock-function-name-face, font-lock-variable-name-face)
1103         (font-lock-type-face, font-lock-constant-face):
1104         * ido.el (ido-first-match, ido-only-match, ido-subdir)
1105         (ido-virtual, ido-indicator, ido-incomplete-regexp):
1106         * speedbar.el (speedbar-button-face, speedbar-file-face)
1107         (speedbar-directory-face, speedbar-tag-face)
1108         (speedbar-selected-face, speedbar-highlight-face)
1109         (speedbar-separator-face):
1110         * whitespace.el (whitespace-newline, whitespace-space)
1111         (whitespace-hspace, whitespace-tab, whitespace-trailing)
1112         (whitespace-line, whitespace-space-before-tab)
1113         (whitespace-space-after-tab, whitespace-indentation)
1114         (whitespace-empty):
1115         * emulation/cua-base.el (cua-global-mark):
1116         * eshell/em-prompt.el (eshell-prompt):
1117         * net/newst-plainview.el (newsticker-new-item-face)
1118         (newsticker-old-item-face, newsticker-immortal-item-face)
1119         (newsticker-obsolete-item-face, newsticker-date-face)
1120         (newsticker-statistics-face, newsticker-default-face):
1121         * net/newst-reader.el (newsticker-feed-face)
1122         (newsticker-extra-face, newsticker-enclosure-face):
1123         * net/newst-treeview.el (newsticker-treeview-face)
1124         (newsticker-treeview-new-face, newsticker-treeview-old-face)
1125         (newsticker-treeview-immortal-face)
1126         (newsticker-treeview-obsolete-face)
1127         (newsticker-treeview-selection-face):
1128         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1129         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1130         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1131         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1132         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1133         (nxml-outline-active-indicator, nxml-outline-ellipsis):
1134         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1135         (mpuz-text):
1136         * progmodes/vera-mode.el (vera-font-lock-number)
1137         (vera-font-lock-function, vera-font-lock-interface):
1138         * textmodes/table.el (table-cell): Use new-style face specs, and
1139         don't use the old :bold and :italic attributes.
1141         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1142         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1143         (ebrowse-member-class, ebrowse-progress): Likewise.
1144         (ebrowse-tree-mark-face, ebrowse-root-class-face)
1145         (ebrowse-file-name-face, ebrowse-default-face)
1146         (ebrowse-member-attribute-face, ebrowse-member-class-face)
1147         (ebrowse-progress-face): Remove obsolete faces.
1149         * progmodes/flymake.el (flymake-errline, flymake-warnline):
1150         Inherit from error and warning faces respectively.
1152         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1153         Likewise.
1154         (flyspell-incorrect-face, flyspell-duplicate-face):
1155         Remove obsolete aliases.
1157 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
1159         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1160         Avoid infloop.
1162 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1164         * startup.el (argv, argi): Make lexically scoped.
1165         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1166         * emacs-lisp/cl-macs.el: Use lexical-binding.
1167         Rename cl-bind-* to cl--bind-*.
1168         * files.el: Don't require `cl' since it doesn't use it.
1169         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1171 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
1173         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1174         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1175         instead of calling external sort utility.
1176         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1178 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
1180         * descr-text.el (describe-char): Mention how to insert the
1181         character, if the current input method doesn't support it.
1182         See the discussion in this thread for the details:
1183         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1185 2012-06-08  Sam Steingold  <sds@gnu.org>
1187         * bindings.el (global-map): Bind XF86Forward to next-buffer and
1188         XF86Back to previous-buffer.
1189         (minibuffer-local-map): Bind them to next-history-element and
1190         previous-history-element respectively.
1191         * help-mode.el (help-mode-map): Bind them to help-go-forward and
1192         help-go-back respectively.
1193         * info.el (Info-mode-map): Bind them to Info-history-forward and
1194         Info-history-back respectively.
1195         These are the keys next to Up on the ThinkPad keyboard.
1197 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1199         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1200         * emacs-lisp/cl-macs.el: Provide itself.
1201         (cl--labels-convert-cache): New var.
1202         (cl--labels-convert): New function.
1203         (cl-flet, cl-labels): New implementation with new semantics, relying on
1204         lexical-binding.
1205         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1206         (cl-closure-vars, cl--function-convert-cache)
1207         (cl--function-convert): Move from cl-macs.el.
1208         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1209         rename by removing the "cl-" prefix.
1210         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1212 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1214         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1215         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1216         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1217         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1218         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1219         (cl-hash-table-count): Add old compatibility aliases.
1221         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1222         Use macroexpand-all-environment instead.
1223         (cl--old-macroexpand): New var.
1224         (cl--sm-macroexpand): New function.
1225         (cl-symbol-macrolet): Use it during macro expansion.
1226         (cl--function-convert-cache): New var.
1227         (cl--function-convert): New function, extracted from
1228         cl-macroexpand-all.
1229         (cl-lexical-let): Use it.
1231         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1232         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1233         (cl-member): Remove old alias.
1235         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1236         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1237         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1238         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1239         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1240         (cl-macroexpand-cmacs): Remove var.
1241         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1242         Use macroexpand-all instead.
1244 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1246         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1247         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1248         (macroexp-copyable-p): New functions and macros.
1249         * emacs-lisp/edebug.el (edebug-unwrap):
1250         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1251         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1252         (pcase--let*): Remove.
1253         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1254         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
1255         macroexp-const-p instead.
1256         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1258         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1259         instead of "cl-" for internal definitions.  Use macroexp-const-p.
1260         (cl-old-bc-file-form): Remove var.
1261         (cl-const-exprs-p): Remove fun.
1262         (cl-labels, cl-macrolet): Use backquote.
1263         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
1264         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1265         (cl-define-setf-expander): Rename from cl-define-setf-method.
1266         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1268         * international/mule-cmds.el: Don't require CL.
1269         (view-hello-file): Don't use `letf'.
1271 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1273         * tmm.el (tmm-prompt): Use string-prefix-p.
1274         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1275         (tmm-add-prompt): Use minibuffer-completion-help.
1276         (tmm-delete-map): Remove.
1278         * subr.el (kbd): Make it its own function.
1280 2012-06-07  Stefan Merten  <smerten@oekonux.de>
1282         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1283         Silence compiler warnings.  Fix versions.
1284         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1285         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1286         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1287         (rst-package-emacs-version-alist): Correct Emacs version to
1288         represent major merge with upstream.
1289         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1291 2012-06-06  Glenn Morris  <rgm@gnu.org>
1293         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1294         Only print environment variables if set.
1296 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1298         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1299         (macroexp--cons): Rename from maybe-cons.
1300         (macroexp--accumulate): Rename from macroexp-accumulate.
1301         (macroexp--all-forms): Rename from macroexpand-all-forms.
1302         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1303         (macroexp--expand-all): Rename from macroexpand-all-1.
1305 2012-06-06  Sam Steingold  <sds@gnu.org>
1307         * calendar/calendar.el (calendar-in-read-only-buffer):
1308         Call `special-mode' to enable the standard read-only keybindings.
1310 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1312         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1313         with "loading" messages (bug#11635).
1315 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
1317         * files.el (enable-remote-dir-locals): New option.
1318         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
1320         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1321         Ensure, that the temp directory is local.
1323         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1324         `temporary-file-directory'.
1326         * progmodes/python.el (python-send-region): Ensure, that the
1327         temporary file is created also in the remote case.
1329 2012-06-06  Glenn Morris  <rgm@gnu.org>
1331         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1332         (vc-rcs-update-changelog): Use it.
1334         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1336         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1337         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1338         (vc-sccs-diff): Replace use of the external vcdiff script.
1340 2012-06-05  Glenn Morris  <rgm@gnu.org>
1342         * ledit.el: Move to obsolete/.
1344 2012-06-05  Sam Steingold  <sds@gnu.org>
1346         * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1347         patch (Bug#11140).
1349 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1351         * emacs-list/cust-print.el: Move to obsolete.
1353         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1354         compiler-macro expansion.
1356         Add native compiler-macro support.
1357         * emacs-lisp/macroexp.el (macroexpand-all-1):
1358         Support compiler-macros directly.  Properly follow aliases and apply
1359         the compiler macros more thoroughly.
1360         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1361         macroexpand now properly follows aliases.
1362         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1363         (cl-compiler-macroexpand): Use new prop.
1364         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1366         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1368 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
1370         * window.el (get-lru-window, get-mru-window, get-largest-window):
1371         New argument NOT-SELECTED to avoid picking the selected window.
1372         (window--display-buffer-1, window--display-buffer-2): Replace by
1373         new function window--display-buffer
1374         (display-buffer-same-window, display-buffer-reuse-window)
1375         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1376         Use window--display-buffer.
1377         (display-buffer-use-some-window): Remove temporary dedication
1378         hack by calling get-lru-window and get-largest-window with
1379         NOT-SELECTED argument non-nil.  Call window--display-buffer.
1381 2012-06-05  Glenn Morris  <rgm@gnu.org>
1383         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1384         Replace external vcdiff script.
1386 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1388         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1390 2012-06-04  Chong Yidong  <cyd@gnu.org>
1392         * image.el (imagemagick-types-inhibit): Revert last change.
1393         Add INFO and M.
1394         (imagemagick-enabled-types): Remove CIN and EPS*.
1396 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1398         * emacs-lisp/cl-lib.el: Rename from cl.el.
1399         * emacs-lisp/cl.el: New compatibility file.
1400         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1401         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1402         to obey the "cl-" prefix.
1403         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1405 2012-06-03  Glenn Morris  <rgm@gnu.org>
1407         * emacs-lisp/authors.el (authors-aliases): Addition.
1409         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1410         Fix :version.
1412 2012-06-03  Stefan Merten  <smerten@oekonux.de>
1414         * textmodes/rst.el: Add comments.
1415         (rst-transition, rst-adornment): New faces.
1416         (rst-adornment-faces-alist): Make default safe to reevaluate.
1417         Fixes
1418         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1419         Improve customization tags.
1420         (rst-define-level-faces): Clarify meaning.
1422 2012-06-03  Chong Yidong  <cyd@gnu.org>
1424         * progmodes/compile.el (compilation-mode-line-fail)
1425         (compilation-mode-line-run, compilation-mode-line-exit):
1426         New faces.
1427         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1429 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
1431         * progmodes/which-func.el (which-func-update-ediff-windows):
1432         New function.  Use it in ediff-select-hook (Bug#11478).
1434 2012-06-03  Chong Yidong  <cyd@gnu.org>
1436         * bindings.el: Remove explicit help text from format-mode-line.
1437         It is now supplied by mode-line-default-help-echo.
1438         (mode-line-front-space, mode-line-end-spaces)
1439         (mode-line-misc-info): New variables.
1440         (mode-line-modes, mode-line-position): Move the default value to
1441         the variable definition.
1442         (mode-line-default-help-echo): New defcustom.
1443         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1444         (mode-line-modified-help-echo): New functions.
1445         (mode-line-mule-info, mode-line-modified): Use them.
1446         (mode-line-eol-desc, propertized-buffer-identification):
1447         Consistency fixes for help text.
1448         (mode-line-coding-system-map): Allow using mouse-3 to invoke
1449         set-buffer-file-coding-system (Bug#289).
1450         (mode-line-mule-info-help-echo): Update help text.
1452 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1454         * simple.el (execute-extended-command): Set real-this-command
1455         (bug#11506).
1457 2012-06-02  Chong Yidong  <cyd@gnu.org>
1459         Remove incorrect uses of "modeline" in comments, docstrings, and
1460         function/variable names (Bug#10329).
1462         * cus-edit.el (mode-line):
1463         * dframe.el (dframe-mouse-hscroll):
1464         * emacs-lisp/re-builder.el:
1465         * emacs-lisp/easy-mmode.el (define-minor-mode):
1466         * frame.el (set-frame-name):
1467         * help.el (lookup-minor-mode-from-indicator):
1468         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1469         * progmodes/cc-cmds.el (c-toggle-auto-newline)
1470         (c-toggle-hungry-state):
1471         * progmodes/antlr-mode.el (antlr-language-alist):
1472         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1473         * progmodes/vhdl-mode.el (vhdl-mode):
1474         * progmodes/which-func.el (which-func, which-func-cleanup-function):
1475         * term/ns-win.el (ns-face-at-pos):
1476         * term/sup-mouse.el (sup-mouse-report):
1477         * textmodes/flyspell.el (flyspell-mode-line-string):
1478         * textmodes/ispell.el (ispell-highlight-face):
1479         * textmodes/reftex-global.el:
1480         * vc/vc-arch.el (vc-arch-mode-line-string):
1481         * vc/vc-cvs.el (vc-cvs-mode-line-string):
1482         * vc/vc-git.el (vc-git-mode-line-string):
1483         * vc/vc-hooks.el (vc-display-status)
1484         (vc-default-mode-line-string):
1485         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1487         * ansi-color.el (ansi-color-faces-vector): Change default faces.
1489         * dired.el (dired-sort-set-mode-line): Rename from
1490         dired-sort-set-modeline.  All callers changed.
1492         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1493         eshell-status-in-modeline.
1495         * foldout.el (foldout-mode-line-string): Rename from
1496         foldout-modeline-string.  All callers changed.
1497         (foldout-update-mode-line): Rename from foldout-update-modeline.
1499         * subr.el (redraw-modeline): Make into obsolete alias.
1501         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1502         timeclock-modeline-display.  Make old name an alias.
1503         (timeclock-update-mode-line): Likewise.  All callers changed.
1504         (timeclock-mode-line-display): No need to check before using
1505         add-hook.
1506         (timeclock-relative, timeclock-day-over-hook)
1507         (timeclock-use-elapsed, timeclock-mode-string)
1508         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1510         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1511         crisp-mode-modeline-string.
1513         * play/solitaire.el (solitaire-build-mode-line): Rename from
1514         solitaire-build-modeline.  All callers changed.
1516         * play/zone.el (zone-hiding-mode-line): Rename from
1517         zone-hiding-modeline.  All callers changed.
1518         (zone): Remove unusued `modeline-hidden-level' property.
1520         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1521         xscheme-modeline-initialize.  All callers changed.
1523         * strokes.el (strokes-lighter): Rename from
1524         strokes-modeline-string.
1526         * textmodes/sgml-mode.el (html-face-tag-alist)
1527         (html-tag-face-alist): Use mode-line face instead of obsolete
1528         alias modeline.
1530 2012-06-02  Stefan Merten  <smerten@oekonux.de>
1532         * textmodes/rst.el: Always require `cl'.
1533         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1535 2012-06-02  Chong Yidong  <cyd@gnu.org>
1537         * image.el (imagemagick-enabled-types): Rename from
1538         imagemagick-types-enable.  Add many more types.
1539         (imagemagick-types-inhibit): Change default to nil.
1540         (imagemagick-filter-types): Caller changed.
1542 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1544         * emacs-lisp/cl-macs.el: Use backquotes.
1545         (cl-transform-function-property): Use eval-and-compile rather than
1546         abusing `require'.
1547         (defstruct): Use declare-function instead of with-no-warnings.
1549         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1550         (byte-compile-output-docform): Re-add the print-circle bindings.
1551         (byte-compile-fix-header): Use #$ just because it's shorter.
1552         (byte-compile-output-file-form): Remove defun/defmacro.
1554 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
1556         * simple.el (choose-completion): Remove now obsolete binding for
1557         owindow.
1559 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
1561         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1562         in order to avoid "Stack overflow in regexp matcher".
1564 2012-05-31  Glenn Morris  <rgm@gnu.org>
1566         * image.el: For clarity, call imagemagick-register-types at
1567         top-level, rather than relying on a custom :initialize.
1568         (imagemagick-types-enable): New option.  (Bug#11557)
1569         (imagemagick-filter-types): New function.  (Bug#7406)
1570         (imagemagick-register-types): Use imagemagick-filter-types.
1571         If disabling support, remove elements altogether rather
1572         than using an impossible regexp.
1573         (imagemagick-types-inhibit): Give it the default init function.
1575 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1577         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1578         Handle arbitrary file name lengths (Bug#11585).
1580 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
1582         * desktop.el (desktop-read): Clear previous and next buffers for
1583         all windows and bury *Messages* buffer (bug#11556).
1585 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1587         Add `declare' for `defun'.  Align `defmacro's with it.
1588         * emacs-lisp/easy-mmode.el (define-minor-mode)
1589         (define-globalized-minor-mode): Don't autoload the var definitions.
1590         * emacs-lisp/byte-run.el: Use lexical-binding.
1591         (defun-declarations-alist, macro-declarations-alist): New vars.
1592         (defmacro, defun): Use them.
1593         (make-obsolete, define-obsolete-function-alias)
1594         (make-obsolete-variable, define-obsolete-variable-alias):
1595         Use `declare'.
1596         (macro-declaration-function): Mark obsolete.
1597         * emacs-lisp/autoload.el: Use lexical-binding.
1598         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
1600 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1602         * textmodes/ispell.el (ispell-with-no-warnings):
1603         Define as a macro.
1604         (ispell-kill-ispell, ispell-change-dictionary):
1605         Use `called-interactively-p' for Emacs instead of obsolete
1606         `interactive-p'.
1608 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1610         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1611         (macro-declaration-function): Move var from C code.
1612         (macro-declaration-function): Define function with defalias.
1613         * emacs-lisp/macroexp.el (macroexpand-all-1):
1614         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1615         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1616         defun/defmacro any more.
1617         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1618         Provide fallback for unknown arglist.
1619         (byte-compile-arglist-warn): Change calling convention.
1620         (byte-compile-output-file-form): Move print-vars binding.
1621         (byte-compile-output-docform): Simplify accordingly.
1622         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1623         (byte-compile-defmacro-declaration): Remove.
1624         (byte-compile-file-form-defmumble): Generalize to defalias.
1625         (byte-compile-output-as-comment): Return byte-positions.
1626         Simplify callers accordingly.
1627         (byte-compile-lambda): Use `assert'.
1628         (byte-compile-defun, byte-compile-defmacro): Remove.
1629         (byte-compile-file-form-defalias):
1630         Use byte-compile-file-form-defmumble.
1631         (byte-compile-defalias-warn): Remove.
1633 2012-05-29  Stefan Merten  <smerten@oekonux.de>
1635         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1636         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
1638         (rst-mode-abbrev-table): Merge definition.
1639         (rst-mode): Make sure `font-lock-defaults' is buffer local.
1640         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1642 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
1644         * calendar/icalendar.el
1645         (icalendar-export-region): Export UID properly.
1647 2012-05-29 Leo <sdl.web@gmail.com>
1648         * calendar/icalendar.el (icalendar-import-format):
1649         Add `icalendar-import-format-uid' (Bug#11525).
1650         (icalendar-import-format-uid): New.
1651         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1652         Export UID.
1654 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1656         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1657         different alternative patterns.
1658         (pcase-codegen): Be more careful to preserve identity.
1659         (pcase--u1): Don't forget to mark vars as used.
1661         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1662         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1663         (byte-compile-from-buffer): ...rather than here.
1665         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1666         functions from byte-compile-function-environment.
1668 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
1670         * window.el (window-deletable-p): Avoid deleting the root window
1671         of a frame with an active minibuffer.
1673 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
1675         * simple.el (choose-completion): Use quit-window (Bug#11567).
1677 2012-05-29  Chong Yidong  <cyd@gnu.org>
1679         * whitespace.el (whitespace-cleanup): Fix usage of
1680         whitespace-empty-at-bob-regexp (Bug#11492).
1682 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1684         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1685         revert (Bug#11488).
1687 2012-05-29  Juri Linkov  <juri@jurta.org>
1689         * isearch.el (isearch-mode-map): Bind `M-s _' to
1690         `isearch-toggle-symbol'.  Bind `M-s c' to
1691         `isearch-toggle-case-fold'.
1692         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1693         (isearch-forward): Add `M-s _' to the docstring.
1694         (isearch-forward-symbol, isearch-toggle-case-fold)
1695         (isearch-symbol-regexp): New functions.  (Bug#11381)
1697 2012-05-29  Juri Linkov  <juri@jurta.org>
1699         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
1700         (isearch-occur, isearch-search-and-update): If `isearch-word' is
1701         a function, call it to get the regexp.
1702         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1703         property `isearch-message-prefix' instead of the string "word ".
1704         (isearch-search-fun-default): For the case of `isearch-word',
1705         return a lambda that calls re-search-forward/re-search-backward
1706         with a regexp returned by `word-search-regexp' or by the function
1707         in `isearch-word'.
1709 2012-05-29  Juri Linkov  <juri@jurta.org>
1711         * isearch.el (isearch-search-fun-default): New function.
1712         (isearch-search-fun): Move default part to the new function
1713         `isearch-search-fun-default'.
1714         (isearch-search-fun-function): Set the default value to
1715         `isearch-search-fun-default'.  (Bug#11381)
1717         * comint.el (comint-history-isearch-end):
1718         Use `isearch-search-fun-default'.
1719         (comint-history-isearch-search): Use `isearch-search-fun-default'
1720         and remove spacial case for `isearch-word'.
1721         (comint-history-isearch-wrap): Remove spacial case for
1722         `isearch-word'.
1724         * hexl.el (hexl-isearch-search-function):
1725         Use `isearch-search-fun-default'.
1727         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1728         Use `word-search-regexp' for `isearch-word'.
1730         * misearch.el (multi-isearch-search-fun):
1731         Use `isearch-search-fun-default'.
1733         * simple.el (minibuffer-history-isearch-search):
1734         Use `isearch-search-fun-default' and remove spacial case for
1735         `isearch-word'.
1736         (minibuffer-history-isearch-wrap): Remove spacial case for
1737         `isearch-word'.
1739         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1740         Remove spacial case for `isearch-word'.
1741         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1743 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1745         Decrease XEmacs incompatibilities.
1746         * textmodes/flyspell.el (flyspell-check-pre-word-p):
1747         Use `string-match'.
1748         (flyspell-delete-region-overlays): Use alternative definition for
1749         XEmacs.
1750         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1751         (flyspell-word): Use `process-kill-without-query' if XEmacs.
1752         (flyspell-mode-on): Use `interactive-p' if XEmacs.
1753         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1754         `define-obsolete-face-alias' under XEmacs, but old method.
1756         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1757         `with-no-warnings' definition or Emacs alias.
1758         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1759         (ispell-word): Do not use `region-p' if XEmacs.
1761 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1763         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1764         Check for `ispell-dictionary-base-alist' instead of full
1765         `ispell-dictionary-alist'.
1766         (ispell-init-process): Show spellchecker when starting new Ispell
1767         process.
1769 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1771         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1772         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1774 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
1776         * version.el (motif-version-string, gtk-version-string)
1777         (ns-version-string): Declare.
1779 2012-05-27  Juri Linkov  <juri@jurta.org>
1781         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1782         after the `eval-defun-1' specialcaseing
1783         like in `edebug-eval-defun' (bug#10181).
1785         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1786         like in `eval-defun-1'.
1788 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1790         * mail/sendmail.el (mail-yank-region):
1791         Recognize rmail-yank-current-message in addition to insert-buffer.
1792         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1793         a *mail* buffer created through rmail-start-mail with sendmail as
1794         mail-user-agent.
1796 2012-05-27  Chong Yidong  <cyd@gnu.org>
1798         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1799         Default to 256 (Bug#11267).
1801         * help.el (describe-mode): Doc fix.
1803 2012-05-26  Glenn Morris  <rgm@gnu.org>
1805         * w32-fns.el (w32-init-info): Remove.
1806         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1808         * info.el (info-initialize): For self-contained NS builds, put the
1809         included info/ directory at the front.  (Bug#2791)
1811         * paths.el (Info-default-directory-list): Make it a defcustom,
1812         mainly so that we can use custom-initialize-delay.
1814 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1816         * subr.el (buffer-has-markers-at): Mark obsolete.
1818         * subr.el (lambda): Use declare.
1820         * emacs-lisp/lisp-mode.el (lambda):
1821         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1823 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1825         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
1827 2012-05-26  Glenn Morris  <rgm@gnu.org>
1829         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1831 2012-05-25  Glenn Morris  <rgm@gnu.org>
1833         * paths.el: Remove no-byte-compile.
1834         * loadup.el: No need to load paths.el uncompiled.
1836         * image.el (imagemagick-types-inhibit): Doc fix.
1838         * version.el: Remove no-byte-compile and associated formatting.
1839         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
1840         is ancient code from when there was an "inc-vers.el".
1842 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1844         * progmodes/gdb-mi.el: Minor style changes.
1845         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1846         Turn into minor modes.
1847         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1848         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1849         (gdb-shell): Remove unneeded let-binding.
1850         (gdb-get-many-fields): Eliminate O(n²) behavior.
1852 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
1854         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1855         platforms that don't link in fontset.c.
1857 2012-05-25  Juri Linkov  <juri@jurta.org>
1859         Use the same diff color scheme as in modern VCSes (bug#10181).
1861         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1862         to avoid confusion with `diff-added' that now uses green colors.
1863         (diff-removed): Use shades of red.
1864         (diff-added): Use shades of green.
1865         (diff-changed): Leave just the yellow color.
1866         (diff-use-changed-face): New variable.
1867         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1868         how to highlight context diff changes.
1869         (diff-refine-change): Use shades of yellow.
1870         (diff-refine-removed): New face that uses shades of red.
1871         (diff-refine-added): New face that uses shades of green.
1872         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1873         `diff-refine-removed' in the call to `smerge-refine-subst'
1874         depending on the value of `diff-use-changed-face'.
1876         * vc/smerge-mode.el (smerge-mine): Use shades of red.
1877         (smerge-other): Use shades of green.
1878         (smerge-base): Use shades of yellow.
1879         (smerge-refined-change): Empty face.
1880         (smerge-refined-removed): New face that uses shades of red.
1881         (smerge-refined-added): New face that uses shades of green.
1882         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
1883         args `props-r' and `props-a', and use them.  Doc fix.
1884         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1885         on its value use different faces `smerge-refined-change',
1886         `smerge-refined-removed', `smerge-refined-added' in the call to
1887         `smerge-refine-subst'.
1889         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1890         Add face condition `min-colors 88' with shades of red.
1891         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1892         `min-colors 88' with shades of green.
1893         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1894         `min-colors 88' with shades of yellow.
1896 2012-05-24  Glenn Morris  <rgm@gnu.org>
1898         * paths.el (prune-directory-list, remote-shell-program): Move to...
1899         * files.el (prune-directory-list, remote-shell-program): ...here.
1900         For the latter, delay initialization, prefer ssh, just search PATH.
1902         * paths.el (term-file-prefix): Move to faces.el (the only user).
1903         * faces.el (term-file-prefix): Move here, make it a defcustom.
1905         * paths.el (news-directory, news-path, news-inews-program):
1906         Move to gnus/nnspool.el.
1908         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1910         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1911         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1912         Make the latter a defcustom, with a delayed initialization.
1914         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1915         These were deleted from Gnus itself late 2010.
1917 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
1919         * progmodes/which-func.el (which-func-ff-hook):
1920         Check against user-error, not error.
1922         * emacs-lisp/edebug.el (top): Do not load or set up loading of
1923         cl-specs.el, which no longer exists.
1925 2012-05-22  Glenn Morris  <rgm@gnu.org>
1927         * info.el (info-emacs-bug): New command.
1928         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1929         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1931 2012-05-21  Glenn Morris  <rgm@gnu.org>
1933         * makefile.w32-in (update-subdirs-SH):
1934         * Makefile.in (update-subdirs): Update for moved update-subdirs.
1936 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1938         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1940         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1941         Simplify Maven regexp, and make sure the file can't start with a space
1942         (bug#11517).
1944 2012-05-21  Glenn Morris  <rgm@gnu.org>
1946         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1947         Scrap superfluous subshells.
1949 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1951         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1952         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1954 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
1956         * calc/calc.el (calc-ensure-consistent-units): New variable.
1958         * calc/calc-units.el (math-consistent-units-p)
1959         (math-check-unit-consistency): New functions.
1960         (calc-quick-units, calc-convert-units):
1961         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1962         is non-nil.
1963         (calc-extract-units): Fix typo.
1965 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1967         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1969         * textmodes/flyspell.el: Commenting style, plus code simplifications.
1970         (flyspell-default-deplacement-commands): Don't spell check after
1971         repeated window/frame switches (e.g. triggered by mouse-movement).
1972         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1973         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1974         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1975         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1976         Remove unused vars.
1977         (flyspell-get-casechars, flyspell-get-not-casechars):
1978         Simplify; Don't bother removing a ] just to add it back.
1979         * textmodes/ispell.el (ispell-program-name): Use executable-find.
1981 2012-05-18  Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1983         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1984         New functions.
1985         (math-function-table): Add support for more C functions.
1987 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1989         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1990         (flyspell-debug-signal-word-checked): Protect delay handling for
1991         otherchars against empty otherchars.
1993 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1995         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1996         their respective macro declarations.
1997         * skeleton.el (define-skeleton):
1998         * progmodes/compile.el (define-compilation-mode):
1999         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2000         (define-ibuffer-filter):
2001         * emacs-lisp/generic.el (define-generic-mode):
2002         * emacs-lisp/easy-mmode.el (define-minor-mode)
2003         (define-globalized-minor-mode):
2004         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2005         * emacs-lisp/byte-run.el (defsubst):
2006         * custom.el (deftheme): Add doc-string metadata.
2008 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2010         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2012 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2014         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2016         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2017         * emacs-lisp/cl-macs.el: Idem.
2018         * emacs-lisp/cl-specs.el: Remove.
2020 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2022         Minor renaming of internal CL functions and variables.
2023         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2024         (cl--position): Rename from cl-position.
2025         (cl--delete-duplicates): Rename from cl-delete-duplicates.
2026         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2027         (cl--random-state): Rename from *random-state*.
2029 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2031         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2032         parens around the arg list (bug#11499).
2034 2012-05-17  Juri Linkov  <juri@jurta.org>
2036         * isearch.el (word-search-regexp, word-search-backward)
2037         (word-search-forward, word-search-backward-lax)
2038         (word-search-forward-lax): Move functions from search.c
2039         (bug#10145, bug#11381).
2041 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2043         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2044         (flyspell-debug-signal-word-checked): Delay for otherchars as for
2045         normal word components.
2047 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2049         * minibuffer.el (completion--sifn-requote): Fix last change.
2050         (minibuffer-local-must-match-filename-map):
2051         Move define-obsolete-variable-alias before its var.
2053 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2055         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2057         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2058         behavior.
2059         (completion--string-equal-p): New function.
2060         (completion--twq-all): Use it to get better assertion failure data.
2062         Only handle ".." and '..' quoting in shell-mode (bug#11466).
2063         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2064         (shell--requote-argument): New functions.
2065         (shell-completion-vars): Use them.
2066         (shell--parse-pcomplete-arguments): Rename from
2067         shell-parse-pcomplete-arguments.
2068         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
2069         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2070         Obey comint-file-name-quote-list.
2072         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2073         (smie-indent-keyword): Use it.
2075 2012-05-14  Stefan Merten  <smerten@oekonux.de>
2077         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2079 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2081         * net/rlogin.el (rlogin-mode-map): Fix last change.
2083 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
2085         * mail/smtpmail.el (smtpmail-send-command): Send the command and
2086         the following \r\n using a single `process-send-string', since the
2087         Lotus SMTP server refuses to accept any commands if they are sent
2088         with two `process-send-string's (Bug#11444).
2090 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2092         * shell.el (shell-parse-pcomplete-arguments):
2093         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2095 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
2097         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2098         (image-transform-scale, image-transform-right-angle-fudge): New vars.
2099         (image-transform-width, image-transform-fit-width): New functions.
2100         (image-transform-properties): Use them.
2101         (image-transform-check-size): New function.
2102         (image-toggle-display-image): Use it (for testing).
2103         (image-transform-set-rotation): Reduce angle mod 360.
2104         Delete obsolete comment.
2106 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
2108         * image-mode.el: Fix scaling (bug#11399).
2109         (image-transform-resize): Doc fix.
2110         (image-transform-properties): Default scale is 1 and height should
2111         be an integer.
2113 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
2115         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2116         than hard-coding `car', to fix misbehavior when moving forward.
2118 2012-05-13  Chong Yidong  <cyd@gnu.org>
2120         * emacs-lisp/tabulated-list.el (tabulated-list-format)
2121         (tabulated-list-entries, tabulated-list-padding)
2122         (tabulated-list-sort-key): Make permanent-local.
2124         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2125         (electric-buffer-list): Put electric buffer menu
2126         command descriptions in this docstring, instead of the docstring
2127         of electric-buffer-menu-mode.  Code cleanups.
2128         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
2129         Electric-buffer-menu-mode.
2130         (electric-buffer-update-highlight): Minor code cleanup.
2132 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
2134         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2135         (Bug#11447)
2137 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2139         Move define-obsolete-variable-alias before the var's definition.
2140         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2141         * tooltip.el (tooltip-hook):
2142         * textmodes/reftex-toc.el (reftex-toc-map):
2143         * textmodes/reftex-sel.el (reftex-select-label-map)
2144         (reftex-select-bib-map):
2145         * textmodes/reftex-index.el (reftex-index-map)
2146         (reftex-index-phrases-map):
2147         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2148         * progmodes/meta-mode.el (meta-mode-map):
2149         * novice.el (disabled-command-hook):
2150         * loadhist.el (unload-hook-features-list):
2151         * frame.el (blink-cursor):
2152         * files.el (find-file-not-found-hooks, write-file-hooks)
2153         (write-contents-hooks):
2154         * emulation/tpu-edt.el (GOLD-map):
2155         * emacs-lock.el (emacs-lock-from-exiting):
2156         * emacs-lisp/generic.el (generic-font-lock-defaults):
2157         * emacs-lisp/chart.el (chart-map):
2158         * dos-fns.el (register-name-alist):
2159         * dired-x.el (dired-omit-files-p):
2160         * desktop.el (desktop-enable):
2161         * cus-edit.el (custom-mode-hook):
2162         * buff-menu.el (buffer-menu-mode-hook):
2163         * bookmark.el (bookmark-read-annotation-text-func)
2164         (bookmark-exit-hooks):
2165         * allout.el (allout-mode-deactivate-hook)
2166         (allout-exposure-change-hook, allout-structure-added-hook)
2167         (allout-structure-deleted-hook, allout-structure-shifted-hook):
2168         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2169         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2170         comes before the corresponding variable's definition.
2172 2012-05-12  Chong Yidong  <cyd@gnu.org>
2174         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2175         (Buffer-menu-mouse-select): Restore function (Bug#11459).
2176         (Buffer-menu-mode-map): Bind it.
2177         (Buffer-menu--pretty-name): Add a mouse-face property.
2179 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2181         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
2182         (prolog-upper-case-string, prolog-lower-case-string)
2183         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2184         (prolog-use-smie, prolog-smie-grammar): New vars.
2185         (prolog-smie-forward-token, prolog-smie-backward-token)
2186         (prolog-smie-rules): New funs.
2187         (prolog-comment-indent): Remove.
2188         (prolog-mode-variables): Use default comment indentation instead.
2189         Setup SMIE.
2190         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2191         (prolog-mode): Don't call them any more.
2192         (prolog-electric-colon, prolog-electric-dash)
2193         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2195         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2197         * minibuffer.el (completion--twq-all): Again, allow case differences.
2199         * term.el: Move keymap initialization code to be more idiomatic.
2200         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2201         (term-terminal-menu): Move initialization into declaration.
2202         (term-escape-char): Let the user set it in her .emacs.
2204         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2205         Provide SMIE-based indentation (not enabled by default yet).
2206         (sh-mode-map): Don't bind electric keys.
2207         Use electric-pair-mode instead of skeleton-pair.
2208         (sh-assignment-regexp): Fit within 80 columns.
2209         (sh-indent-supported): Specify actual shell name instead of boolean.
2210         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2211         (sh-maybe-here-document): Use it.  Make obsolete.
2212         (sh-electric-here-document-mode) New minor mode.
2213         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
2214         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2215         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2216         (sh-smie-rc-grammar, sh-use-smie): New vars.
2217         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2218         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2219         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2220         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2221         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2222         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2223         (sh-set-shell): Use smie-setup if requested.
2225         * term.el (term-set-escape-char): Properly set term-escape-char.
2226         See http://stackoverflow.com/questions/10524656.
2228 2012-05-10  Chong Yidong  <cyd@gnu.org>
2230         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2231         Use url-generic-parse-url, and handle host names and Windows
2232         filenames properly.
2233         (ffap-url-unwrap-remote): Use url-generic-parse-url.
2234         (ffap-url-unwrap-remote): Accept list values, specifying a list of
2235         URL schemes to work on.
2236         (ffap--toggle-read-only): New function.
2237         (ffap-read-only, ffap-read-only-other-window)
2238         (ffap-read-only-other-frame): Use it.
2239         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2240         necessary for ffap-url-unwrap-remote.
2242 2012-05-10  Dave Abrahams  <dave@boostpro.com>
2244         * cus-start.el (create-lockfiles): Add it.
2246 2012-05-09  Chong Yidong  <cyd@gnu.org>
2248         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2249         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2251 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2253         * shell.el (shell-completion-vars): Fix last change (bug#11348).
2255 2012-05-09  Chong Yidong  <cyd@gnu.org>
2257         * ansi-color.el (ansi-color-process-output): Check for validity of
2258         comint-last-output-start before using it.  This avoids a bad
2259         interaction with gdb-mi's input/output buffer.
2261 2012-05-09  Glenn Morris  <rgm@gnu.org>
2263         * files.el (dir-locals-read-from-file):
2264         Mention dir-locals in any error message.
2266 2012-05-09  Chong Yidong  <cyd@gnu.org>
2268         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2269         package (Bug#11410).
2271         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2272         variables into description.
2274 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2276         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2277         shell-delimiter-argument-list (bug#11348).
2278         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2280 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
2282         * textmodes/rst.el: Silence byte-compiler warnings.
2283         (rst-re-alist, rst-reset-section-caches): Move around.
2284         (rst-re): Use `characterp', not `char-valid-p'.
2285         (font-lock-beg, font-lock-end): Declare.
2287         * progmodes/idlw-shell.el (specs): Remove reference to deleted
2288         variable `idlwave-shell-activate-alt-keybindings' and simplify.
2290         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2292 2012-05-08  Glenn Morris  <rgm@gnu.org>
2294         * files.el (auto-mode-alist): Treat ".make" like ".mk".
2296 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2298         * vc/log-edit.el: Add GNU coding standards highlighting.
2299         (log-edit-font-lock-gnu-style)
2300         (log-edit-font-lock-gnu-keywords): New vars.
2301         (log-edit-font-lock-keywords): New fun.
2302         (log-edit-mode): Don't fold case in font-lock.
2303         (log-edit-font-lock-keywords): Do not assume case-folding.
2305         * imenu.el: Misc cleanup.  Make docstrings out of comments.
2306         Use lexical-binding.
2307         (imenu--index-alist, imenu--last-menubar-index-alist)
2308         (imenu-menubar-modified-tick): Use defvar-local.
2309         (imenu--split-menu): Remove unused var.
2310         (imenu--cleanup-seen): Declare as global.
2311         (imenu--cleanup): Use dolist.
2313         * subr.el (defvar-local): Add debug spec and doc-string position.
2315 2012-05-08  Glenn Morris  <rgm@gnu.org>
2317         * lisp/language/burmese.el, language/cham.el, language/czech.el:
2318         * language/english.el, language/georgian.el, language/greek.el:
2319         * language/japanese.el, language/khmer.el, language/korean.el:
2320         * language/lao.el, language/misc-lang.el, language/romanian.el:
2321         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2322         * language/thai.el, language/utf-8-lang.el:
2323         Remove no-byte-compile setting.
2325         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
2327 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2329         * progmodes/make-mode.el (makefile-browse):
2330         Remove unnecessary interactive.  (Bug#11324)
2332 2012-05-07  Glenn Morris  <rgm@gnu.org>
2334         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2336         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2338 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2340         * loadup.el: Preload newcomment.el.
2341         * newcomment.el: Move autoload-only code to toplevel.
2343         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2344         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2345         Handle new :right-align column property.
2346         (tabulated-list-print-col): Idem, plus use `display' text-property to
2347         try and preserve alignment for variable pitch fonts.
2349 2012-05-07  Chong Yidong  <cyd@gnu.org>
2351         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2352         (tabulated-list-use-header-line): New var.
2353         (tabulated-list-init-header): Use it.
2354         (tabulated-list-print-fake-header): New function.
2355         (tabulated-list-print): Use it.
2356         (tabulated-list-sort-button-map): Add non-header-line commands.
2357         (tabulated-list-init-header): Add column name property to basic
2358         labels as well.
2359         (tabulated-list-col-sort): Handle non-header-line button case.
2360         (tabulated-list--sort-by-column-name): Fix a corner case.
2362         * buff-menu.el (list-buffers--refresh):
2363         Handle Buffer-menu-use-header-line.
2365 2012-05-06  Chong Yidong  <cyd@gnu.org>
2367         * buff-menu.el: Convert to Tabulated List mode.
2368         (Buffer-menu-buffer+size-width): Make obsolete.
2369         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2370         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2371         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
2372         documentation into docstring of buffer-menu.
2373         (Buffer-menu-toggle-files-only): Add an informative message.
2374         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2375         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2376         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2377         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2378         (Buffer-menu-execute, Buffer-menu-select)
2379         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2380         (Buffer-menu-bury): Use Tabulated List machinery.
2381         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2382         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2383         Delete.
2384         (list-buffers--refresh): New function.
2385         (list-buffers-noselect): Use it.
2386         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2387         (Buffer-menu--pretty-file-name): New helper functions.
2389         * loadup.el: Preload tabulated-list.
2391         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2392         tabulated-list-sort-column.
2393         (tabulated-list-init-header): Add the initial aligning space even
2394         if tabulated-list-padding is zero.
2396 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
2398         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2399         whose cdr is not a cons cell correctly (bug#11038).
2401 2012-05-06  Chong Yidong  <cyd@gnu.org>
2403         * emacs-lisp/tabulated-list.el (tabulated-list-format):
2404         Accept additional plist in column descriptors.
2405         (tabulated-list-init-header): Obey it.
2406         (tabulated-list-get-entry): New function.
2407         (tabulated-list-put-tag): Use it.  Use string-width instead of
2408         length.
2409         (tabulated-list--column-number): New function.
2410         (tabulated-list-print): Use it.
2411         (tabulated-list-print-col): New function.
2412         Set `tabulated-list-column-name' property on each column's text.
2413         (tabulated-list-print-entry): Use it.
2414         (tabulated-list-delete-entry, tabulated-list-set-col):
2415         New functions.
2416         (tabulated-list-sort-column): New command (Bug#11337).
2418         * buff-menu.el (list-buffers): Move C-x C-b binding from
2419         buff-menu.el to bindings.el.
2421         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2422         :advertised-binding feature.
2424 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
2426         * progmodes/compile.el (compilation-internal-error-properties):
2427         Calculate start position correctly when end-col is set but
2428         end-line is not (Bug#11382).
2430 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
2432         * man.el (Man-unindent): Use text-property-default-nonsticky to
2433         prevent untabify from inheriting face properties (Bug#11408).
2435 2012-05-05  Stefan Merten  <smerten@oekonux.de>
2437         * textmodes/rst.el: Major merge with upstream development up to
2438         Docutils SVN r7399 / rst.el V1.2.1.
2440         Clarify maintainership and authors.
2442         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2443         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2444         (rst-official-version, rst-official-cvs-rev, rst-version)
2445         (rst-package-emacs-version-alist): New functions and variables
2446         for version information.
2448         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2449         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2450         (rst-mode-syntax-table, rst-mode): New and corrected functions
2451         and variables representing reStructuredText features.
2453         (rst-re): New function for reStructuredText regexes.  Use in
2454         many places.
2456         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2457         (rst-mode-map): Rebind keys.
2459         (rst-mode-lazy, rst-font-lock-keywords)
2460         (rst-font-lock-extend-region)
2461         (rst-font-lock-extend-region-internal)
2462         (rst-font-lock-extend-region-extend)
2463         (rst-font-lock-find-unindented-line-limit)
2464         (rst-font-lock-find-unindented-line-match)
2465         (rst-adornment-level, rst-font-lock-adornment-level)
2466         (rst-font-lock-adornment-match)
2467         (rst-font-lock-handle-adornment-pre-match-form)
2468         (rst-font-lock-handle-adornment-matcher): Major revision of
2469         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
2471         (rst-preferred-adornments, rst-adjust-hook)
2472         (rst-new-adornment-down, rst-preferred-bullets)
2473         (rst-preferred-bullets, rst-indent, rst-indent-width)
2474         (rst-indent-field, rst-indent-literal-normal)
2475         (rst-indent-literal-minimized, rst-indent-comment): Change,
2476         extend and improve customization.
2478         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2479         (rst-normalize-cursor-position, rst-get-decoration)
2480         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2481         (rst-rstrip, rst-toc-insert-find-delete-contents)
2482         (rst-shift-fill-region, rst-compute-bullet-tabs)
2483         (rst-debug-print-tabs, rst-debug-mark-found)
2484         (rst-shift-region-guts, rst-shift-region-right)
2485         (rst-shift-region-left, rst-use-char-classes)
2486         (rst-font-lock-keywords-function)
2487         (rst-font-lock-indentation-point)
2488         (rst-font-lock-find-unindented-line-begin)
2489         (rst-font-lock-find-unindented-line-end)
2490         (rst-font-lock-find-unindented-line)
2491         (rst-font-lock-adornment-point, rst-font-lock-level)
2492         (rst-adornment-level-alist): Remove functions and variables.
2494         (rst-compare-adornments, rst-get-adornment-match)
2495         (rst-suggest-new-adornment, rst-get-adornments-around)
2496         (rst-adornment-complete-p, rst-get-next-adornment)
2497         (rst-adjust-adornment, rst-display-adornments-hierarchy)
2498         (rst-straighten-adornments): Standardize function names to
2499         use "adornment" instead of "decoration".  Correct callers.
2500         Similar standardizing in many places.
2502         (rst-update-section, rst-adjust, rst-promote-region)
2503         (rst-enumerate-region, rst-bullet-list-region)
2504         (rst-repeat-last-character): Correct use of `interactive'.
2506         (rst-classify-adornment, rst-find-all-adornments)
2507         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2508         (rst-find-leftmost-column, rst-repeat-last-character):
2509         Refactor functions.
2511         (rst-find-title-line, rst-reset-section-caches)
2512         (rst-get-adornments-around, rst-adjust-adornment-work)
2513         (rst-arabic-to-roman, rst-roman-to-arabic)
2514         (rst-insert-list-pos, rst-insert-list-new-item)
2515         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2516         New functions.
2518         (rst-all-sections, rst-section-hierarchy)
2519         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2520         New variables.
2522         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2523         configuration instead of only buffer.  Change where necessary.
2525         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2526         (rst-shift-region, rst-adaptive-fill): New functions for
2527         indentation and filling.
2529         (rst-comment-line-break, rst-comment-indent)
2530         (rst-comment-insert-comment, rst-comment-region)
2531         (rst-uncomment-region): New functions for handling comments.
2533         (rst-compile): Quote shell arguments.
2535         (rst-compile-pdf-preview, rst-compile-slides-preview):
2536         Delete temporary files after use.
2538 2012-05-05  Glenn Morris  <rgm@gnu.org>
2540         * calendar/cal-html.el: Optionally include holidays in the output.
2541         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2542         (cal-html-holidays): New option.
2543         (cal-html-css-default): Add holiday entry.
2544         (holiday-in-range): Autoload it.
2545         (cal-html-htmlify-entry): Add optional class argument.
2546         (cal-html-htmlify-list): Add optional holidays argument.
2547         (cal-html-insert-agenda-days): Include holidays in the output.
2548         (cal-html-one-month): Maybe include holidays.
2550         * calendar/holidays.el (holiday-in-range):
2551         Move here from cal-tex-list-holidays.
2552         * calendar/cal-tex.el (cal-tex-list-holidays):
2553         Make it an obsolete alias for holiday-in-range.  Update all callers.
2555 2012-05-05  Chong Yidong  <cyd@gnu.org>
2557         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2558         Nextstep.
2560 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
2562         * files.el (file-auto-mode-skip): New var.
2563         (set-auto-mode-1): Use it.
2565 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2567         * repeat.el: Use lexical-binding.
2568         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2569         (repeat-undo-count): Remove.
2570         (repeat):
2571         * progmodes/octave-mod.el (octave-abbrev-start):
2572         * progmodes/f90.el (f90-abbrev-start):
2573         * face-remap.el (text-scale-adjust):
2574         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2576         * emacs-lisp/pcase.el (pcase--let*): New function.
2577         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2578         a bit more.
2579         (pcase--split-pred): Be more clever about ruling out overlap between
2580         a predicate and some constant pattern.
2581         (pcase--q1): Use `null' instead of (eq foo nil).
2583         * subr.el (setq-local, defvar-local): New macros.
2584         (kbd): Redefine as an alias.
2585         (with-selected-window): Leave unrelated frames alone.
2586         (set-temporary-overlay-map): New function.
2588 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2590         * subr.el (user-error): New function.
2591         * window.el (switch-to-buffer):
2592         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2593         (smerge-match-conflict):
2594         * simple.el (previous-matching-history-element)
2595         (next-matching-history-element, goto-history-element, undo-more)
2596         (undo-start):
2597         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2598         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2599         (next-file, tags-loop-scan, list-tags, complete-tag):
2600         * progmodes/compile.el (compilation-loop):
2601         * mouse.el (mouse-minibuffer-check):
2602         * man.el (Man-bgproc-sentinel, Man-goto-page):
2603         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2604         (Info-history-forward, Info-follow-reference, Info-menu)
2605         (Info-extract-menu-item, Info-extract-menu-counting)
2606         (Info-forward-node, Info-backward-node, Info-next-menu-item)
2607         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2608         (Info-next-reference, Info-prev-reference, Info-index)
2609         (Info-index-next, Info-follow-nearest-node)
2610         (Info-copy-current-node-name):
2611         * imenu.el (imenu--make-index-alist)
2612         (imenu-default-create-index-function, imenu-add-to-menubar):
2613         * files.el (basic-save-buffer, recover-file):
2614         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2615         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2616         (checkdoc-message-text, checkdoc-defun):
2617         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2618         * cus-edit.el (customize-changed-options, customize-rogue)
2619         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2620         (custom-variable-mark-to-reset-standard)
2621         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2622         (custom-file):
2623         * completion.el (check-completion-length):
2624         * comint.el (comint-search-arg)
2625         (comint-previous-matching-input-string-position)
2626         (comint-previous-matching-input)
2627         (comint-replace-by-expanded-history-before-point, comint-send-input)
2628         (comint-copy-old-input, comint-backward-matching-input)
2629         (comint-goto-process-mark, comint-set-process-mark):
2630         * calendar/calendar.el (calendar-cursor-to-date): Use it.
2631         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2633 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2635         * dabbrev.el (dabbrev--ignore-case-p): New function.
2636         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2637         Use it.
2639         * files.el (automount-dir-prefix): Mark as obsolete.
2641 2012-05-04  Glenn Morris  <rgm@gnu.org>
2643         * patcomp.el, play/bruce.el: Move to obsolete/.
2645 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
2647         Fix minor Y10k bugs.
2648         * arc-mode.el (archive-unixdate):
2649         * autoinsert.el (auto-insert-alist):
2650         * calc/calc-forms.el (math-this-year):
2651         * emacs-lisp/copyright.el (copyright-current-year)
2652         (copyright-update-year, copyright):
2653         * tar-mode.el (tar-clip-time-string):
2654         * time.el (display-time-update):
2655         Don't assume years have 4 digits.
2657 2012-05-04  Chong Yidong  <cyd@gnu.org>
2659         * dos-w32.el (file-name-buffer-file-type-alist)
2660         (direct-print-region-use-command-dot-com):
2661         * ffap.el (ffap-menu-regexp):
2662         * find-file.el (ff-special-constructs):
2663         * follow.el (follow-debug):
2664         * forms.el (forms--debug):
2665         * iswitchb.el (iswitchb-all-frames):
2666         * ido.el (ido-all-frames):
2667         * emacs-lisp/timer.el (timer-max-repeats):
2668         * mail/feedmail.el (feedmail-mail-send-hook)
2669         (feedmail-mail-send-hook-queued):
2670         * mail/footnote.el (footnote-signature-separator):
2671         * mail/mailabbrev.el (mail-alias-separator-string)
2672         (mail-abbrev-mode-regexp):
2673         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2674         * progmodes/idlwave.el (idlwave-libinfo-file)
2675         (idlwave-default-completion-case-is-down)
2676         (idlwave-library-routines): Convert defvars to defcustoms.
2678         * mail/rmail.el (rmail-decode-mime-charset):
2679         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2680         (idlwave-shell-fix-inserted-breaks)
2681         (idlwave-shell-activate-alt-keybindings)
2682         (idlwave-shell-use-breakpoint-glyph):
2683         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2685 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2687         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2689 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
2691         * progmodes/verilog-mode.el (font-lock-keywords):
2692         Fix mis-highligting auto.  Reported by Craig Barner.
2693         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2694         defines from global name space. Reported by Dan Dever.
2695         (verilog-auto-reset, verilog-auto-reset-widths)
2696         (verilog-auto-tieoff): Support using unbased numbers for
2697         AUTORESET and AUTOTIEOFF.
2698         (verilog-submit-bug-report): Update variable list.
2699         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2700         parenthesis from not matching. Reported by Michael Rytting.
2701         (verilog-auto-template-lint): Fix hash error when linting modules
2702         with no used templates.
2703         (verilog-warn, verilog-warn-error)
2704         (verilog-warn-fatal): When non-interactive report multiple
2705         warnings before exiting.  Suggested by Brad Dobbie.
2706         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2707         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2708         to report unused template errors.  Reported by Brad Dobbie.
2709         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2710         nets, bug438. Reported by Vns Blore.
2711         (verilog-auto-inout-module, verilog-auto-reg)
2712         (verilog-read-decls, verilog-read-sub-decls-sig)
2713         (verilog-signals-edit-wire-reg, verilog-signals-with):
2714         Fix passing of Verilog data types in ANSI input/output ports
2715         such as "output logic" into the AUTOs. Special case "wire" and
2716         "reg" for backwards compatibility presuming Verilog 2001.
2717         (verilog-auto-ascii-enum): Add "auto enum" as alias.
2718         (verilog-preprocess): Fix replication of preprocess output.
2719         Reported by Brad Dobbie.
2720         (verilog-auto-inst-interfaced-ports):
2721         Create verilog-auto-inst-interfaced-ports, bug429.
2722         Reported by Julian Gorfajn.
2723         (verilog-after-save-font-hook)
2724         (verilog-before-save-font-hook): New variable.
2725         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2726         (verilog-save-font-mods): Wrap disabling fontification, reported
2727         by David Rogoff.
2728         (verilog-do-indent, verilog-pretty-declarations-auto)
2729         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2730         Reported by Pierre-David Pfister.
2731         (verilog-set-auto-endcomments): Fix endtask auto comments outside
2732         of class declarations, bug292.  Reported by Kevin Heilman.
2733         (verilog-read-decls): Fix 'parameter type' not appearing in
2734         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
2735         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2736         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2737         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2738         Reported by David Kravitz.
2740 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
2742         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2743         assignment with tests in ifs and for loops.
2744         (verilog-extended-complete-re, verilog-complete-reg): Change so
2745         that DPI inport functions don't look like fuction declarations.
2746         (verilog-pretty-expr): Don't line up assignment
2747         operations to the test and increment in if and for loops
2748         (verilog-extended-complete-re, verilog-complete-reg): Change so
2749         that DPI inport functions don't look like fuction declarations
2751 2012-05-03  Kenichi Handa  <handa@m17n.org>
2753         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2754         decoding, and show a warning message without signaling an error
2755         (Bug#11282).
2757 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2759         * emacs-lisp/bytecomp.el
2760         (byte-compile-file-form-custom-declare-variable): Compile all elements,
2761         since cconv.el might have introduced :fun-body, internal-make-closure,
2762         and friends for bytecomp to handle (bug#11391).
2763         * custom.el (defcustom): Avoid ((λ ..) ..).
2765 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2767         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2769 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
2771         * notifications.el (dbus-debug):
2772         * term/linux.el (gpm-mouse-enable):
2773         * term/screen.el (xterm-register-default-colors): Declare.
2775 2012-05-02  Chong Yidong  <cyd@gnu.org>
2777         * cus-start.el (gc-cons-percentage, exec-suffixes)
2778         (dos-display-scancodes, dos-hyper-key, dos-super-key)
2779         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2780         (make-cursor-line-fully-visible, void-text-area-pointer)
2781         (font-list-limit): Add customization data.
2783         * allout.el (allout-exposure-change-functions)
2784         (allout-structure-added-functions)
2785         (allout-structure-deleted-functions)
2786         (allout-structure-shifted-functions): Rename abnormal hooks from
2787         *-hook, and convert to defcustoms.
2788         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2789         Convert to defcustoms.
2790         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2792         * allout-widgets.el: Hook callers changed.
2794 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
2796         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2797         the yanked message in preference to the default value of
2798         buffer-file-coding-system.
2800 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
2802         * window.el (display-buffer--action-function-custom-type):
2803         Fix entry.
2805 2012-05-02  Alan Mackenzie  <acm@muc.de>
2807         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2809 2012-05-01  Glenn Morris  <rgm@gnu.org>
2811         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2813         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
2815         * cus-edit.el (custom-variable-documentation): Simplify with format.
2817 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2818             Stefan Monnier  <monnier@iro.umontreal.ca>
2820         * simple.el (suggest-key-bindings, execute-extended-command):
2821         Move from keyboard.c.
2823 2012-05-01  Chong Yidong  <cyd@gnu.org>
2825         * follow.el: Eliminate advice.
2826         (set-process-filter, process-filter, sit-for): Advice deleted.
2827         (follow-mode-off-hook): Obsolete hook removed.
2828         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2829         Vars deleted.
2830         (follow-auto): Use a :set function.
2831         (follow-mode): Rewritten.  Don't advise process filters.
2832         (follow-switch-to-current-buffer-all, follow-scroll-up)
2833         (follow-scroll-down): Assume follow-mode is bound.
2834         (follow-comint-scroll-to-bottom)
2835         (follow-align-compilation-windows): New functions.
2836         (follow--window-sorter): New function.
2837         (follow-all-followers): Use it to explicitly sort windows by their
2838         positions; don't make assumptions about next-window order.
2839         (follow-windows-start-end, follow-delete-other-windows-and-split)
2840         (follow-calc-win-start): Doc fix.
2841         (follow-windows-aligned-p, follow-select-if-visible): Don't call
2842         vertical-motion unnecessarily.
2843         (follow-adjust-window): New function.
2844         (follow-post-command-hook): Use it.
2845         (follow-call-set-process-filter, follow-call-process-filter)
2846         (follow-intercept-process-output, follow-tidy-process-filter-alist)
2847         (follow-stop-intercept-process-output, follow-generic-filter):
2848         Functions deleted.
2849         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2850         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2851         New functions, replacing advice on scroll-bar-* commands.
2852         (follow-mwheel-scroll): New function (Bug#4112).
2854         * comint.el (comint-adjust-point): New function.
2855         (comint-postoutput-scroll-to-bottom): Use it.
2856         Call follow-comint-scroll-to-bottom for Follow mode buffers.
2858 2012-05-01  Glenn Morris  <rgm@gnu.org>
2860         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2861         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2862         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2863         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2864         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2865         Remove no-byte-compile setting.
2867 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2869         * minibuffer.el (completion-table-with-quoting): Fix compatibility
2870         all-completions code to not return a number in the last cdr.
2872 2012-04-30  Leo Liu  <sdl.web@gmail.com>
2874         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2875         read-only error.
2877 2012-04-29  Chong Yidong  <cyd@gnu.org>
2879         * follow.el (follow-calc-win-end): Rewrite to handle partial
2880         screen lines correctly (Bug#8390).
2881         (follow-avoid-tail-recenter): Minor cleanup.
2883 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2885         Avoid the obsolete `assoc' package.
2886         * speedbar.el (speedbar-refresh): Avoid adelete.
2887         (speedbar-file-lists): Simplify and avoid aput.
2888         * man.el (Man--sections, Man--refpages): New vars, replacing
2889         Man-sections-alist and Man-refpages-alist.
2890         (Man-build-section-alist, Man-build-references-alist):
2891         Use them; avoid aput.
2892         (Man--last-section, Man--last-refpage): New vars.
2893         (Man-follow-manual-reference): Use them.
2894         Use the `default' arg of completing-read.
2895         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
2897 2012-04-27  Chong Yidong  <cyd@gnu.org>
2899         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2901         * startup.el (x-apply-session-resources): New function.
2903         * term/ns-win.el (ns-initialize-window-system):
2904         * term/w32-win.el (w32-initialize-window-system):
2905         * term/x-win.el (x-initialize-window-system): Use it to properly
2906         set menu-bar-mode and other vars from X resources, even if the
2907         initial frame is not a window-system frame (Bug#2299).
2909         * subr.el (read-key): Avoid running filter function when setting
2910         up temporary tool bar entries (Bug#9922).
2912 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
2914         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2915         (Bug#11344)
2917 2012-04-27  Chong Yidong  <cyd@gnu.org>
2919         * select.el (xselect--encode-string): New function, split from
2920         xselect-convert-to-string.
2921         (xselect-convert-to-string): Use it.
2922         (xselect-convert-to-filename, xselect-convert-to-os)
2923         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2924         returned strings are properly encoded (Bug#11315).
2926 2012-04-27  Chong Yidong  <cyd@gnu.org>
2928         * simple.el (delete-active-region): Move to killing custom group.
2930 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
2932         * progmodes/which-func.el (which-func-current): Quote %
2933         characters for mode-line processing.
2935 2012-04-27  Chong Yidong  <cyd@gnu.org>
2937         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2938         reaching eob (Bug#11286).
2940 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
2942         * progmodes/gdb-mi.el (gdb-control-level): New variable.
2943         (gdb): Make it buffer-local and init to zero.
2944         (gdb-control-commands-regexp): New variable.
2945         (gdb-send): Don't wrap in "-interpreter-exec console" if
2946         gdb-control-level is positive.  Increment gdb-control-level
2947         whenever the command matches gdb-control-commands-regexp, and
2948         decrement it each time the command is "end".  (Bug#11279)
2950 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
2952         * window.el (adjust-window-trailing-edge, enlarge-window)
2953         (shrink-window, window-resize):
2954         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2955         windows (Bug#11276).
2957 2012-04-27  Chong Yidong  <cyd@gnu.org>
2959         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2960         fix "missing prefix" warning.  All callers changed.
2962 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2964         * emacs-lisp/assoc.el: Move to obsolete/.
2966 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2968         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2970         * term/ns-win.el (ns-define-service):
2971         * progmodes/pascal.el (pascal-goto-defun):
2972         * progmodes/js.el (js--read-tab):
2973         * progmodes/etags.el (tags-lazy-completion-table):
2974         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2975         * emacs-lisp/ewoc.el (ewoc--wrap):
2976         * emacs-lisp/assoc.el (aput, adelete, amake):
2977         * doc-view.el (doc-view-convert-current-doc):
2978         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2980 2012-04-26  Chong Yidong  <cyd@gnu.org>
2982         * image.el (image-type-from-buffer): Only return supported image
2983         type (Bug#9045).
2985         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2986         value, for symmetry with diff-end-of-hunk.
2987         (diff-split-hunk, diff-find-source-location)
2988         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2989         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2990         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2991         compute the relevant hunk or file properly (Bug#6005).
2992         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2994 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2996         * vc/vc-mtn.el:
2997         * vc/vc-hg.el:
2998         * vc/vc-git.el:
2999         * vc/vc-dir.el:
3000         * vc/vc-cvs.el:
3001         * vc/vc-bzr.el:
3002         * vc/vc-arch.el:
3003         * vc/vc.el: Replace lexical-let by lexical-binding.
3004         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3005         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3006         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3008 2012-04-26  Chong Yidong  <cyd@gnu.org>
3010         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3011         (diff-mode-shared-map): Bind it to / and [remap undo].
3013         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3014         (ediff-window-setup-function): Use it as the default, to set up
3015         windows based on whether the current frame is graphical (Bug#2138).
3016         (ediff-choose-window-setup-function-automatically): Make obsolete.
3018         * vc/ediff-init.el: Always define ediff-pixel-width/height.
3020 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3022         * ffap.el: Remove old code for obsolete package.
3023         (ffap-complete-as-file-p): Remove.
3025         Use completion-table-with-quoting for comint and pcomplete.
3026         * comint.el (comint--unquote&requote-argument)
3027         (comint--unquote-argument, comint--requote-argument): New functions.
3028         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3029         (comint-quote-filename): Use regexp-opt-charset.
3030         (comint--common-suffix, comint--common-quoted-suffix)
3031         (comint--table-subvert): Remove.
3032         (comint-unquote-function, comint-requote-function): New vars.
3033         (comint--complete-file-name-data): Use them with
3034         completion-table-with-quoting.
3035         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3036         * pcomplete.el (pcomplete-arg-quote-list)
3037         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3038         (pcomplete-unquote-argument-function): Default to non-nil.
3039         (pcomplete-unquote-argument): Simplify.
3040         (pcomplete--common-quoted-suffix): Remove.
3041         (pcomplete-requote-argument-function): New var.
3042         (pcomplete--common-suffix): New function.
3043         (pcomplete-completions-at-point): Use completion-table-with-quoting
3044         and completion-table-subvert.
3046         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3047         (minibuffer--double-dollars): Preserve properties.
3048         (completion--sifn-requote): New function.
3049         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3051         * minibuffer.el: Add support for completion of quoted/escaped data.
3052         (completion-table-with-quoting, completion-table-subvert): New funs.
3053         (completion--twq-try, completion--twq-all): New functions.
3054         (completion--nth-completion): New function.
3055         (completion-try-completion, completion-all-completions): Use it.
3057 2012-04-25  Leo Liu  <sdl.web@gmail.com>
3059         * progmodes/python.el (python-pdbtrack-get-source-buffer):
3060         Use compilation-message if available to find real filename.
3062 2012-04-25  Chong Yidong  <cyd@gnu.org>
3064         * vc/diff-mode.el (diff-setup-whitespace): New function.
3065         (diff-mode): Use it.
3067         * vc/diff.el (diff-sentinel):
3068         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3069         Whitespace mode variables based on diff style (Bug#8612).
3071 2012-04-25  Leo Liu  <sdl.web@gmail.com>
3073         * progmodes/python.el (python-send-region): Add suffix .py to the
3074         temp file.
3076         * files.el (auto-mode-alist): Use javascript-mode instead.
3078 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
3080         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
3082         * soap-client.el (soap-resolve-references-for-sequence-type)
3083         (soap-resolve-references-for-array-type): Hack to prevent self
3084         references, see Bug#9.
3085         (soap-parse-envelope): Report the contents of the 'detail' node
3086         when receiving a fault reply.
3087         (soap-parse-envelope): Report the contents of the entire 'detail' node.
3089         * soap-inspect.el (soap-sample-value-for-simple-type)
3090         (soap-inspect-simple-type): New function.
3092         * soap-client.el (soap-simple-type): New struct.
3093         (soap-default-xsd-types, soap-default-soapenc-types)
3094         (soap-decode-basic-type, soap-encode-basic-type):
3095         support unsignedInt and double basic types.
3096         (soap-resolve-references-for-simple-type)
3097         (soap-parse-simple-type, soap-encode-simple-type): New function.
3098         (soap-parse-schema): Parse xsd:simpleType declarations.
3100         * soap-client.el (soap-default-xsd-types)
3101         (soap-default-soapenc-types): Add integer, byte and anyURI types.
3102         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3103         the local name of "soapenc:Array".
3104         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3105         decoding integer, byte and anyURI xsd types.
3107 2012-04-25  Chong Yidong  <cyd@gnu.org>
3109         * cus-edit.el (custom-buffer-create-internal): Update header text.
3111 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
3113         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3114         settings on 'system-type', not on 'window-system'.  On MS-Windows,
3115         set interactive-mode on in GDB.
3117 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3119         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3120         (ruby-syntax-propertize-regexp): Remove.
3121         (ruby-syntax-propertize-function): Split regexp into chunks.
3122         Match following code directly.
3124 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
3126         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3127         (ruby-syntax-propertize-regexp): New function.
3128         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3129         by a special keyword.
3131         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3132         (ruby-syntax-general-delimiters-goto-beg)
3133         (ruby-syntax-propertize-general-delimiters): New functions.
3134         (ruby-syntax-propertize-function): Use them to handle GDL.
3135         (ruby-font-lock-keywords): Move old handling of GDL...
3136         (ruby-font-lock-syntactic-keywords): .. to here.
3137         (ruby-calculate-indent): Adjust indentation for GDL.
3139 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
3141         * notifications.el (top): Remove unneeded declarations.
3142         (notifications-specification-version): Change to "1.2".
3143         (notifications-interface, notifications-notify-method)
3144         (notifications-close-notification-method): Fix docstring.
3145         (notifications-get-capabilities-method): New defconst.
3146         (notifications-notify): Add :action-items, :resident and
3147         :transient hints.  Change "image_data" to "image-data" and
3148         "image_path" to "image-path".
3149         (notifications-get-capabilities): New defun.
3151 2012-04-24  Leo Liu  <sdl.web@gmail.com>
3153         * progmodes/python.el: Move hideshow setup to the end.
3155 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
3157         * window.el (handle-select-window): Clear echo area since this is
3158         no more done by read_char (Bug#11304).
3160 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3162         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3163         and `/ M' to filter-derived-mode.
3164         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3165         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3166         (ibuffer-mark-by-mode): Use default rather than initial-input.
3167         (ibuffer-filter-by-derived-mode): Autoload and require-match.
3169 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
3171         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3172         (ibuffer-filter-by-derived-mode): New filter.
3173         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3175 2012-04-23  Andreas Politz  <politza@fh-trier.de>
3177         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3179 2012-04-23  Chong Yidong  <cyd@gnu.org>
3181         * cus-edit.el (customize-apropos, customize-apropos-options):
3182         Disable matching of non-option variables (Bug#11176).
3183         (customize-option, customize-option-other-window)
3184         (customize-changed-options): Doc fix.
3185         (customize-apropos-options, customize-apropos-faces)
3186         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3188         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3189         Fix word list splitting (Bug#11132).
3190         (apropos-symbol, apropos-keybinding, apropos-label)
3191         (apropos-property, apropos-function-button)
3192         (apropos-variable-button, apropos-misc-button): New faces.
3193         (apropos-symbol-face, apropos-keybinding-face)
3194         (apropos-label-face, apropos-property-face, apropos-match-face):
3195         Variables removed (Bug#8396).
3196         (apropos-library-button, apropos-format-plist, apropos-print)
3197         (apropos-print-doc, apropos-describe-plist): Callers changed.
3199 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
3201         * net/xesam.el (xesam-mode-map): Use let-bound map in
3202         initialization.  (Bug#11292)
3204 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3206         Preserve ispell session localwords when switching back to
3207         original buffer.
3209         * ispell.el (ispell-buffer-session-localwords): New buffer-local
3210         variable to hold buffer session localwords.
3211         (ispell-kill-ispell): add option 'clear to delete session
3212         localwords.
3213         (ispell-command-loop, ispell-change-dictionary)
3214         (ispell-buffer-local-words): Preserve session localwords when
3215         needed.
3217         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3218         Preserve session localwords when needed.
3220 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3222         * ispell.el (ispell-insert-word) Remove unneeded function using
3223         obsolete `translation-table-for-input'.
3224         (ispell-word, ispell-process-line, ispell-complete-word):
3225         Use plain `insert' instead of removed `ispell-insert-word'.
3227 2012-04-22  Chong Yidong  <cyd@gnu.org>
3229         * cus-edit.el (custom-variable-menu)
3230         (custom-variable-reset-saved, custom-face-menu)
3231         (custom-face-reset-saved): If there is no saved value, make the
3232         "reset-saved" operation bring back the default (Bug#9509).
3233         (custom-face-state): Properly detect themed faces.
3235         * faces.el (face-spec-set): Stop supporting deprecated form of
3236         third arg.
3238 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
3240         Move functions from C to Lisp.  Make non-blocking method calls
3241         the default.  Implement further D-Bus standard interfaces.
3243         * net/dbus.el (dbus-message-internal): Declare function.
3244         Remove unneeded function declarations.
3245         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3246         (dbus-message-type-method-return, dbus-message-type-error)
3247         (dbus-message-type-signal): Declare variables.  Remove local
3248         definitions.
3249         (dbus-interface-dbus, dbus-interface-peer)
3250         (dbus-interface-introspectable, dbus-interface-properties)
3251         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3252         Adapt docstring.
3253         (dbus-interface-objectmanager): New defconst.
3254         (dbus-call-method, dbus-call-method-asynchronously)
3255         (dbus-send-signal, dbus-method-return-internal)
3256         (dbus-method-error-internal, dbus-register-service)
3257         (dbus-register-signal, dbus-register-method): New defuns, moved
3258         from dbusbind.c
3259         (dbus-call-method-handler, dbus-setenv)
3260         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3261         New defuns.
3262         (dbus-call-method-non-blocking): Make it an obsolete function.
3263         (dbus-unregister-object, dbus-unregister-service)
3264         (dbus-handle-event, dbus-register-property)
3265         (dbus-property-handler): Obey the new structure of
3266         `bus-registered-objects'.
3267         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
3268         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3269         Use `dbus-call-method'.
3271 2012-04-22  Chong Yidong  <cyd@gnu.org>
3273         * cus-edit.el (custom-commands, custom-reset-menu)
3274         (Custom-reset-standard): Tweak labels.
3275         (custom-reset-button-menu): Change default to t.
3276         (custom-buffer-create-internal): For the custom-reset-button-menu
3277         case, put the revert button first.
3278         (custom-group-subtitle): New face.
3279         (custom-group-value-create): Align docstring to a specific column.
3281         * wid-edit.el (widget-documentation-link-add): Don't handle
3282         indentation in this function.
3283         (widget-documentation-string-indent-to): New function.
3284         (widget-documentation-string-value-create): Use it.
3286         * autorevert.el (auto-revert):
3287         * epg-config.el (epg):
3288         * ibuffer.el (ibuffer):
3289         * mpc.el (mpc):
3290         * ses.el (ses):
3291         * eshell/eshell.el (eshell):
3292         * net/ange-ftp.el (ange-ftp):
3293         * progmodes/ebnf2ps.el (postscript):
3294         * progmodes/flymake.el (flymake):
3295         * progmodes/prolog.el (prolog):
3296         * progmodes/verilog-mode.el (verilog-mode):
3297         * progmodes/which-func.el (which-func):
3298         * term/xterm.el (xterm):
3299         * textmodes/picture.el (picture):
3300         * textmodes/tildify.el (tildify):
3301         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3302         customization buffers.
3304 2012-04-22  Alan Mackenzie  <acm@muc.de>
3306         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3307         Adding a ) can hide the resulting (..) from searches.  Fix it.
3308         Bound the backward search to the position of the existing (.
3310 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
3312         * progmodes/verilog-mode.el (verilog-mode): Check whether
3313         which-func-modes is t before adding verilog-mode.
3314         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3316 2012-04-21  Leo Liu  <sdl.web@gmail.com>
3318         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3320 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
3322         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3323         filling of the last column of a table (Bug#5635).
3324         (woman-find-next-control-line): New arg, specifying an additional
3325         regexp component for the control line.
3326         (woman2-roff-buffer): Use it.
3327         (woman-break-table): New function.
3328         (woman2-TS): Use it.
3330 2012-04-21  Chong Yidong  <cyd@gnu.org>
3332         * woman.el (woman-set-buffer-display-table, woman-decode-region)
3333         (woman-horizontal-escapes, woman-negative-vertical-space)
3334         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3335         (WoMan-warn-ignored): Use ?\s instead of ?\ .
3337 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3339         * minibuffer.el (completion-file-name-table): Complete user names.
3341 2012-04-20  Leo Liu  <sdl.web@gmail.com>
3343         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3344         and pcase-let*.
3346 2012-04-20  Chong Yidong  <cyd@gnu.org>
3348         * server.el (server-execute): Respect initial-buffer-choice if it
3349         is a string and there are no files to open (Bug#2825).
3350         (server-create-window-system-frame, server-create-tty-frame):
3351         Don't switch buffers here.
3352         (server-process-filter): Only try to open a window system frame if
3353         compiled with graphical support (Bug#8314).
3355 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
3357         * battery.el (battery-echo-area-format): Display remaining time
3358         for sysfs backend too (Bug#11269).
3359         (battery-linux-sysfs): Fix conditional for the charge.
3361 2012-04-20  Chong Yidong  <cyd@gnu.org>
3363         * progmodes/gdb-mi.el (gdb): Revert previous change.
3364         (gdb-inferior-io--init-proc): New function.
3365         (gdb-init-1): Use it.
3366         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3367         responsible for allocating a new pty and hooking it to gdb when
3368         the old pty gets an EIO due to process exit.
3369         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
3370         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3371         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3373 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3375         * window.el (window-min-size, window-sizable, window-min-delta)
3376         (window-max-delta, window--resizable, window-resizable)
3377         (window-total-size, window-full-height-p, window-full-width-p)
3378         (window-in-direction, window--resize-mini-window, window-resize)
3379         (window--resize-child-windows-normal)
3380         (window--resize-child-windows, window--resize-siblings)
3381         (window--resize-this-window, adjust-window-trailing-edge)
3382         (enlarge-window, shrink-window): Doc fixes.
3384 2012-04-20  Chong Yidong  <cyd@gnu.org>
3386         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3387         New function to call delete-process on the gdb-inferior buffer's pty.
3388         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3389         pty process (Bug#11273).
3390         (gdb-update): New arg to suppress talking to the gdb process.
3391         (gdb-done-or-error): Use it.
3392         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3393         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3394         sentinel not being called.
3396         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3398         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3400 2012-04-20  Glenn Morris  <rgm@gnu.org>
3402         * net/network-stream.el (open-network-stream): Doc fix.
3404 2012-04-20  Chong Yidong  <cyd@gnu.org>
3406         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3408 2012-04-20  Alan Mackenzie  <acm@muc.de>
3410         Ensure searching for keywords is case sensitive.
3412         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3413         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3414         (c-defun-name, c-mark-function, c-cpp-define-name)
3415         (c-comment-indent, c-scan-conditionals, c-indent-defun)
3416         (c-context-line-break): Bind case-fold-search to nil.
3418         * progmodes/cc-mode.el (c-font-lock-fontify-region):
3419         Bind case-fold-search to nil.
3421 2012-04-20  Chong Yidong  <cyd@gnu.org>
3423         * mail/sendmail.el (mail-bury): Call return action with the right
3424         Rmail buffer (Bug#11242).
3426         * server.el (server-process-filter): Handle corner case where both
3427         tty and nowait options are present (Bug#11102).
3429 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3431         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3432         (top level): Put into the executable the ident-style '$Id:' tag on
3433         windows-nt as well.
3435 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3437         * electric.el (electric-indent-post-self-insert-function): Check that
3438         electric-indent-mode is enabled in current buffer.
3440 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3442         * imenu.el (imenu-progress-message): Restore; it is "used" in
3443         erc/erc-imenu.el and net/snmp-mode.el.
3445 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3447         * avoid.el (mouse-avoidance-mode): Mark unused arg.
3448         (mouse-avoidance-nudge-mouse): Remove unused binding.
3450         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3452         * descr-text.el (describe-char):
3453         * progmodes/python.el (python-describe-symbol):
3454         Don't call `toggle-read-only', set `buffer-read-only'.
3456         * imenu.el (imenu-default-goto-function): Mark unused args.
3457         (imenu-progress-message): Remove obsolete macro; all callers changed.
3459         * subr.el (keymap-canonicalize): Remove unused binding.
3460         (read-passwd): Mark unused arg.
3462         * tutorial.el (tutorial--display-changes): Remove unused binding.
3463         (tutorial--save-tutorial-to): Remove unused variable.
3465         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3466         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3467         (package-generate-autoloads, package-menu--generate)
3468         (package-menu--find-upgrades): Remove unused bindings.
3470         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3471         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
3472         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3473         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3474         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3475         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3476         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3477         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3478         (cua-delete-char-rectangle): Mark unused args.
3479         (cua-align-rectangle): Remove unused binding.
3481         * mail/rmail.el (compilation--message->loc)
3482         (epa--find-coding-system-for-mime-charset): Declare.
3484         * net/dbus.el (dbus-register-service): Declare.
3485         (dbus-name-owner-changed-handler): Remove unused binding.
3487         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3488         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3489         (nxml-scan-backward-within): Mark unused arg.
3490         (nxml-dynamic-markup-word): Remove unused binding.
3492         * mouse.el (mouse-menu-major-mode-map):
3493         * emacs-lisp/authors.el (authors-scan-change-log)
3494         (authors-add-to-author-list):
3495         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3496         * emacs-lisp/smie.el (smie-auto-fill):
3497         * mail/sendmail.el (mail-bury):
3498         * mail/unrmail.el (unrmail):
3499         * net/tls.el (open-tls-stream):
3500         * textmodes/picture.el (picture-mouse-set-point):
3501         Remove unused bindings.
3503 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
3505         * net/tramp.el (tramp-action-password): Let-bind
3506         `enable-recursive-minibuffers' to t.
3508 2012-04-18  Sam Steingold  <sds@gnu.org>
3510         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3511         instead of 'string to accommodate values like [f11].
3512         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3513         * progmodes/gdb-mi.el: Likewise.
3515 2012-04-18  Leo Liu  <sdl.web@gmail.com>
3517         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3518         current buffer.
3519         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3520         LOCAL is nil.
3522 2012-04-18  Chong Yidong  <cyd@gnu.org>
3524         * simple.el (line-move): Use forward-line if in batch mode
3525         (Bug#11053).
3527 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
3529         * files.el (after-find-file): Do not try to add a final newline if
3530         the buffer is read-only (Bug#11156).
3532 2012-04-17  Richard Stallman  <rms@gnu.org>
3534         * mail/rmail.el (rmail-start-mail):
3535         Pass (rmail-mail-return...) for the return-action.
3536         Pass (rmail-yank-current-message...) for the yank-action.
3537         (rmail-yank-current-message): New function.
3538         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3539         (rmail-reply): Likewise.
3540         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3542         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3543         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
3544         buffer, not newbuf.
3546 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
3548         * server.el (server-ensure-safe-dir): Simplify.
3550 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3552         * emacs-lisp/smie.el: Provide smarter auto-filling.
3553         (smie-auto-fill): New function.
3554         (smie-setup): Use it.
3556         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3558 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
3560         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3561         (comment-indent): Use it.
3563 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3565         * ses.el: The overall change is to add cell renaming, that is
3566         setting fancy names for cell symbols other than name matching
3567         "\\`[A-Z]+[0-9]+\\'" regexp .
3568         (ses-localvars): Add ses--renamed-cell-symb-list.
3569         (ses-create-cell-variable): New defun.
3570         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3571         (ses-relocate-formula): Relocate formulas only for cells the
3572         symbols of which are not renamed, i.e. symbols whose names do not
3573         match regexp "\\`[A-Z]+[0-9]+\\'".
3574         (ses-relocate-all): Relocate values only for cells the symbols of
3575         which are not renamed.
3576         (ses-load): Create cells variables as the (ses-cell ...) are read,
3577         in order to check row col consistency with cell symbol name only
3578         for cells that are not renamed.
3579         (ses-replace-name-in-formula): New defun.
3580         (ses-rename-cell): New defun.
3582 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
3584         * progmodes/perl-mode.el (perl-indent-parens-as-block):
3585         New option (bug#11118).
3586         (perl-calculate-indent): Respect it.
3588 2012-04-17  Glenn Morris  <rgm@gnu.org>
3590         * dired-aux.el (dired-mark-read-string): Doc fix.
3592 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
3594         * dired-aux.el (dired-mark-read-string): Offer optional completion.
3595         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
3597 2012-04-17  Glenn Morris  <rgm@gnu.org>
3599         * mouse.el (mouse-drag-track):
3600         * speedbar.el (speedbar-frame-mode):
3601         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3603 2012-04-16  Leo Liu  <sdl.web@gmail.com>
3605         * progmodes/python.el: Trivial cleanup.
3607 2012-04-16  Glenn Morris  <rgm@gnu.org>
3609         * vc/vc.el (vc-string-prefix-p):
3610         * vc/pcvs-util.el (cvs-string-prefix-p):
3611         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3612         * mpc.el (mpc-string-prefix-p):
3613         Make all of these into obsolete aliases for string-prefix-p.
3614         Update callers.
3615         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3617         * textmodes/two-column.el: Move custom options to the start.
3618         (frame-width): Remove compat definition.
3619         (2C-associate-buffer, 2C-dissociate):
3620         Use with-current-buffer rather than save-excursion.
3621         (2C-dissociate): Force a mode-line update.
3622         (2C-autoscroll): Use ignore-errors.
3624         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3625         Autoload trivia.
3627         * emacs-lisp/cl-extra.el (*random-state*):
3628         Remove unnecessary declaration.
3630         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3632         * play/cookie1.el (cookie-snarf):
3633         Give an explicit error if input file cannot be read.
3635         * play/yow.el (yow-file): Use expand-file-name rather than concat.
3637         * progmodes/perl-mode.el (c-macro-expand):
3638         Remove unnecessary autoload (it is in loaddefs.el).
3640         * textmodes/picture.el (picture-desired-column)
3641         (picture-update-desired-column): Convert comments to doc-strings.
3642         (picture-substitute): Remove function.
3643         (picture-mode-map): Initialize in the defvar.
3645         * woman.el: Remove eval-after-load for tar-mode.
3646         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3647         (woman-tar-extract-file): Autoload it.
3649         * frame.el (automatic-hscrolling): Make this alias obsolete.
3651 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3653         * ispell.el (ispell-set-spellchecker-params): Post-process
3654         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3655         (ispell-dictionary-base-alist): Revert to original XEmacs
3656         friendly version for default.  [:alpha:] will be added in
3657         `ispell-set-spellchecker-params' if needed
3659 2012-04-16  Chong Yidong  <cyd@gnu.org>
3661         * image.el (imagemagick--extension-regexp): New variable.
3662         (imagemagick-register-types): Use it.
3663         (imagemagick-types-inhibit): Add :set function.  Allow new value
3664         of t to inhibit all types.
3666         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3667         so we can preload it.
3669         * loadup.el (fboundp): Preload regexp-opt, needed by
3670         imagemagick-register-types.
3672 2012-04-15  Chong Yidong  <cyd@gnu.org>
3674         * frame.el (scrolling): Remove nearly unused customization group.
3676         * scroll-all.el (scroll-all-mode): Move to windows group.
3678 2012-04-15  Chong Yidong  <cyd@gnu.org>
3680         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3682 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3684         Avoid the use of ((lambda ...) ...) in lexical-binding code.
3685         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3687 2012-04-15  Glenn Morris  <rgm@gnu.org>
3689         * simple.el (process-file-side-effects): Doc fix.
3691 2012-04-15  Glenn Morris  <rgm@gnu.org>
3693         * international/mule-cmds.el (set-language-environment): Doc fix.
3695 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
3697         * server.el (server-auth-key, server-generate-key): Doc fixes.
3698         (server-get-auth-key): Doc fix.  Use `string-match-p'.
3699         (server-start): Reflow docstring.
3701 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
3703         * server.el (server-generate-key): `called-interactively-p'
3704         requires a parameter.
3706 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
3708         * server.el (server-auth-key): New variable.
3709         (server-generate-key, server-get-auth-key): New function.
3710         (server-start): Use the new variable and functions to allow
3711         setting a permanent server key (bug#9423).
3713 2012-04-14  Leo Liu  <sdl.web@gmail.com>
3715         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3717 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
3719         Spelling fixes.
3720         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3721         Emacs uses American spelling.
3723 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
3725         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3726         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
3727         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3728         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
3730 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3732         * progmodes/which-func.el (which-func-modes): Change default.
3734 2012-04-14  Kim F. Storm  <storm@cua.dk>
3736         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3737         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3739 2012-04-14  Chong Yidong  <cyd@gnu.org>
3741         * custom.el (custom-theme-set-variables): Doc fix.
3743 2012-04-14  Glenn Morris  <rgm@gnu.org>
3745         * international/mule.el (set-auto-coding-for-load): Doc fix.
3747 2012-04-14  Alan Mackenzie  <acm@muc.de>
3749         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3750         imenu work again for Objective C Mode.  Correct the *-index values,
3751         these having been disturbed by a previous change in 2011-08.
3753         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3754         Correct two search limits.
3756 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3758         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3760 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
3762         * international/characters.el: Fix sorting.
3764 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3766         * international/characters.el: Add more missing Latin case pairs.
3768 2012-04-14  Glenn Morris  <rgm@gnu.org>
3770         * files.el (dir-locals-set-class-variables): Doc fix.
3772 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3774         * international/characters.el: Add set-case-syntax-pair call for
3775         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3776         counterpart.  (Bug#11209)
3778         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
3780 2012-04-14  Glenn Morris  <rgm@gnu.org>
3782         * calendar/holidays.el (calendar-check-holidays): Doc fix.
3784 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3786         * textmodes/ispell.el (ispell-dictionary-base-alist):
3787         Add data for Hebrew.
3789 2012-04-14  Chong Yidong  <cyd@gnu.org>
3791         * net/rcirc.el (rcirc-cmd-quit):
3792         Revert 2012-03-18 change (Bug#11192).
3794 2012-04-14  Glenn Morris  <rgm@gnu.org>
3796         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3798 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3800         * minibuffer.el (completion-in-region-mode-map):
3801         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
3803 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
3805         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3807 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
3809         * minibuffer.el (minibuffer-local-filename-syntax): New variable
3810         to allow `C-M-f' and `C-M-b' to move to the nearest path
3811         separator (bug#9511).
3813 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
3815         * avoid.el: Require cl when compiling.  And also move the
3816         `provide' to the end.
3818 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3820         * avoid.el (mouse-avoidance-banish-position): New variable.
3821         (mouse-avoidance-banish-destination): Use it (bug#10165).
3823 2012-04-13  Leo Liu  <sdl.web@gmail.com>
3825         * progmodes/which-func.el (which-func-modes): Add objc-mode.
3827 2012-04-13  Ken Brown  <kbrown@cornell.edu>
3829         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3830         this is no longer needed now that cygstart understands file:// URLs.
3831         (browse-url-filename-alist): For the same reason, don't modify
3832         file:// URLs on Cygwin.
3834 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3836         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3837         the region on shift if the binding is already shifted (bug#11221).
3839 2012-04-12  Glenn Morris  <rgm@gnu.org>
3841         * mail/mailpost.el: Move to obsolete/.
3843 2012-04-12  Drew Adams  <drew.adams@oracle.com>
3845         * imenu.el (imenu--generic-function): Ignore invisible definitions
3846         (bug#10123).
3848 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
3850         * hexl.el (hexl-bits): New variable.
3851         (hexl-options): Mention the variable in the doc string.
3852         (hexl-rulerise, hexl-line-displen): New functions.
3853         (hexl-mode): Mention the new variable.
3854         (hexl-mode, hexl-current-address, hexl-current-address):
3855         Use the displen.
3856         (hexl-ascii-start-column): New function.
3857         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3858         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3860 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3862         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3863         '("-i" ENCODING), in 2 separate command-line arguments, to specify
3864         the encoding, as expected by hunspell.
3866 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3868         * battery.el (battery--linux-sysfs-regexp): New const.
3869         (battery-status-function): Use it.  Remove yeeloong special case.
3870         (battery-yeeloong-sysfs): Remove.
3871         (battery-echo-area-format): Remove yeeloong special case.
3873 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3875         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3876         Reported by Noah Friedman.
3878         * subr.el (read-passwd): Use read-string.
3880 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3882         * vcursor.el (vcursor-move): Increase the priority of the overlay
3883         (bug#9663).
3885 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3887         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3888         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3890 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
3892         * textmodes/artist.el (artist-mode): Convert artist-mode to use
3893         define-minor-mode (bug#10760).
3895 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
3897         * progmodes/grep.el (rgrep): Tweak the find command line so
3898         that directories matching `grep-find-ignored-files' won't be
3899         pruned (bug#10351).
3901 2012-04-11  Chong Yidong  <cyd@gnu.org>
3903         * startup.el (command-line): Remove support for long-obsolete
3904         variable font-lock-face-attributes.
3906 2012-04-11  Glenn Morris  <rgm@gnu.org>
3908         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3910 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3912         * window.el (window--state-get-1): Obey window-point-insertion-type.
3914 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
3916         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3917         to previous function when point is on the first character of a
3918         function.  Take care of that in `narrow-to-defun' (bug#6157).
3920 2012-04-11  Glenn Morris  <rgm@gnu.org>
3922         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3923         not just file-errors.
3925         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3926         (vc-bzr-sha1): Use internal sha1.
3928 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3930         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3932 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
3934         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3935         that start in the middle of the line (bug#10496).
3937 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
3939         * battery.el (battery-linux-proc-acpi): Only one battery is
3940         discharged at a time, but that seems to confuse battery.el when
3941         computing `rate-type' for the battery not being discharged
3942         (bug#10332).
3944 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3946         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3948         * international/quail.el: Use dolist and simplify.
3949         (quail-define-package, quail-update-keyboard-layout)
3950         (quail-define-rules): Use dolist.
3951         (quail-insert-kbd-layout, quail-get-translation): CSE.
3953         * tmm.el: Use dolist, remove left over hook.
3954         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3955         Use dolist.
3956         (calendar-load-hook): Don't mess with it.
3958         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3959         Use derived-mode-p.  Run the diff asynchronously.
3961 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3963         * obsolete/mouse-sel.el: Add an Obsolete-since header.
3965 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
3967         * misc.el: Display absolute path of loaded DLLs (bug#10424).
3968         (list-dynamic-libraries--loaded): New function.
3969         (list-dynamic-libraries--refresh): Use it.
3971 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
3973         * progmodes/python.el (python-fill-paragraph):
3974         Make python-fill-region in a multiline string work when font-lock is
3975         disabled (bug#7018).
3977 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
3979         * language/european.el (cp775): Add oem/legacy (en)coding on
3980         DOS/MS Windows for the Baltic languages.  There are still plenty
3981         of texts written in this encoding/codepage (bug#6519).
3983 2012-04-10  Glenn Morris  <rgm@gnu.org>
3985         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3986         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3988 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
3990         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3991         next-line "n" and previous-line "p" in order to make recentf more
3992         consistent with ibuffer, dired or org-mode (bug#9387).
3994 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3996         * image.el (put-image): Return the overlay created instead of the
3997         optional input string (bug#7834).  Note that this may break code
3998         that is (for some reason or other) depending on `put-image'
3999         returning the string.
4001         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4003         * simple.el (zap-to-char): Allow zapping using input methods
4004         (bug#1580).
4006         * textmodes/fill.el (fill-region): Leave point and mark where they
4007         were before filling (bug#5399).
4009 2012-04-09  Glenn Morris  <rgm@gnu.org>
4011         * version.el (emacs-bzr-get-version):
4012         Handle lightweight checkouts of local branches.
4014 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
4016         * international/characters.el: Recover lost case pairs.  (Bug#11209)
4018 2012-04-09  Chong Yidong  <cyd@gnu.org>
4020         * custom.el (custom-variable-p): Return nil for non-symbol
4021         arguments instead of signaling an error.
4022         (user-variable-p): Obsolete alias for custom-variable-p.
4024         * apropos.el (apropos-variable):
4025         * files-x.el (read-file-local-variable):
4026         * simple.el (set-variable):
4027         * woman.el (woman-mini-help):
4028         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4030 2012-04-09  Glenn Morris  <rgm@gnu.org>
4032         * startup.el (normal-top-level): Don't look for leim-list.el
4033         in places where it will not be found.  (Bug#910)
4035         * international/mule-cmds.el (set-default-coding-systems):
4036         * files.el (normal-mode):
4037         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
4038         This function was removed with ucs-tables.el in 2008.
4040 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
4042         * textmodes/ispell.el (ispell-check-version): For hunspell, set
4043         ispell-encoding8-command to "-i", without a trailing space.
4044         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4045         separate command-line arguments, to specify the encoding, since
4046         that's how hunspell expects it.
4048 2012-04-08  Glenn Morris  <rgm@gnu.org>
4050         * loadup.el: Load bindings before cus-start.
4051         This reduces somewhat the number of "rogue" settings in emacs -Q.
4053 2012-04-07  Glenn Morris  <rgm@gnu.org>
4055         * version.el (emacs-bzr-get-version): New function.
4056         (emacs-bzr-version): New variable.
4057         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
4058         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4060 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
4062         * international/uni-bidi.el, international/uni-category.el:
4063         * international/uni-combining.el, international/uni-decimal.el:
4064         * international/uni-decomposition.el, international/uni-digit.el:
4065         * international/uni-lowercase.el, international/uni-mirrored.el:
4066         * international/uni-name.el, international/uni-numeric.el:
4067         * international/uni-titlecase.el, international/uni-uppercase.el:
4068         Update for Unicode 6.1.
4070 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
4072         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4074 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4076         * window.el (shrink-window): Mention the `window-min-height'
4077         variable in the doc string.
4079 2012-04-05  Bastien Guerry  <bzg@altern.org>
4081         * color.el (color-lighten-name): Fix typo.
4083 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4085         * server.el (server--on-display-p): New function.
4086         (server--on-display-p): Use it.
4088 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
4090         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4091         (bug#11145).
4093 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4095         * comint.el (comint--common-quoted-suffix): Check string boundary
4096         before comparing (bug#11158).
4097         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4099 2012-04-04  Chong Yidong  <cyd@gnu.org>
4101         * minibuffer.el (completion-extra-properties): Doc fix.
4103         * subr.el (delayed-warnings-hook): Doc fix.
4105 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
4107         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4108         selection (Bug#11159).
4109         (epa-insert-keys): Inform that the default public key will be
4110         exported if no key is selected.
4112 2012-04-04  Richard Stallman  <rms@gnu.org>
4114         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4116 2012-04-03  Chong Yidong  <cyd@gnu.org>
4118         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4119         mail-insert-file, not its obsolete alias mail-attach-file.
4121 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
4123         * notifications.el (notifications-notify): Fix docstring.
4125 2012-04-02  Glenn Morris  <rgm@gnu.org>
4127         * emacs-lisp/authors.el (authors-aliases): Another addition.
4129 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
4131         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4132         `tramp-compat-call-process' instead of `tramp-local-call-process'.
4133         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4135 2012-04-01  Chong Yidong  <cyd@gnu.org>
4137         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4138         Handle root directory properly.
4139         (copy-directory): Caller changed.
4141         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4142         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4144 2012-03-31  Glenn Morris  <rgm@gnu.org>
4146         * term/xterm.el (xterm-extra-capabilities): Doc fix.
4148         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
4150         * calendar/calendar.el (calendar-window-list)
4151         (calendar-hide-window): Restore.  (Bug#11140)
4152         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4154         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4156 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4158         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4159         Check if file is a symlink (Bug#10489).
4161         * files.el (copy-directory): Likewise.
4163 2012-03-30  Chong Yidong  <cyd@gnu.org>
4165         * image.el (imagemagick-types-inhibit)
4166         (imagemagick-register-types): Doc fix.
4168 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4170         * ispell.el (ispell-get-extended-character-mode):
4171         Disable extended-char-mode for hunspell.  hunspell does not support it
4172         and treats ~word as ordinary words in pipe mode.
4174 2012-03-30  Glenn Morris  <rgm@gnu.org>
4176         * tutorial.el (help-with-tutorial): Ensure local variables don't
4177         happen to make the buffer read-only.  (Bug#11127)
4179 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4181         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4182         (perl-calculate-indent): Return `noindent' in strings.
4184 2012-03-28  Sam Steingold  <sds@gnu.org>
4186         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4187         instead of the broken adhockery which does not prevent calendar
4188         buffers from being displayed at random after exit.
4189         (calendar-window-list, calendar-hide-window): Remove the broken
4190         adhockery.
4192 2012-03-28  Glenn Morris  <rgm@gnu.org>
4194         * replace.el (query-replace-map): Doc fix.
4196 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
4198         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4199         contents.  (Bug#11109)
4201 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4203         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4204         (bug#11077).
4205         (avl-tree--check, avl-tree--check-node): New funs.
4207 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
4209         * window.el (switch-to-visible-buffer): New option.
4210         (switch-to-prev-buffer, switch-to-next-buffer):
4211         Observe switch-to-visible-buffer.  Make sure that checking for a window
4212         showing a buffer already is done on the same frame.
4214 2012-03-27  Glenn Morris  <rgm@gnu.org>
4216         * startup.el (mail-host-address): Doc fix.
4218 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4220         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4221         than 197 variables.
4223 2012-03-26  Ami Fischman  <ami@fischman.org>
4225         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4227 2012-03-26  Glenn Morris  <rgm@gnu.org>
4229         * files.el (save-buffers-kill-emacs): Doc fix.
4231         * startup.el (normal-top-level, command-line, command-line-1):
4232         Give them doc strings.
4234 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
4236         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4237         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4239 2012-03-25  Chong Yidong  <cyd@gnu.org>
4241         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4242         theme if it was previously enabled before (Bug#11031).
4244         * cus-theme.el (custom-theme-write-faces): Retrieve current face
4245         spec with custom-face-get-current-spec if its :shown-value is not
4246         determined yet (Bug#9337).
4247         (customize-create-theme, custom-theme-revert): Doc fixes.
4249         * button.el (button-at): Minor addition to docstring.
4251 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
4253         * vc/vc.el (vc-merge): Fix a prompt.
4255 2012-03-24  Chong Yidong  <cyd@gnu.org>
4257         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4258         point (Bug#9623).
4260         * button.el (button-at): Minor addition to docstring.
4262 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4264         * newcomment.el (comment-choose-indent): No space after BOL.
4266 2012-03-22  Sam Steingold  <sds@gnu.org>
4268         * window.el (switch-to-prev-buffer): Revert last patch because the
4269         bug turned out to be an advertised feature (Elisp manual 28.14).
4271 2012-03-22  Glenn Morris  <rgm@gnu.org>
4273         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
4274         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4276 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4278         * net/network-stream.el (network-stream-open-starttls): Make error
4279         message under Windows be less misleading.
4281 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
4283         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4284         understands (bug#9942).
4286 2012-03-22  Chong Yidong  <cyd@gnu.org>
4288         * simple.el (end-of-visible-line): Handle return value of
4289         next-single-property-change properly (Bug#9371).
4291 2012-03-22  Kenichi Handa  <handa@m17n.org>
4293         * international/quail.el (quail-insert-kbd-layout): Fix previous
4294         change.  To avoid unwanted bidi reordering, use
4295         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4297 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
4299         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4300         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4301         (ruby-beginning-of-indent): Be more careful with the difference
4302         between word-boundary and symbol boundary.
4303         (ruby-mode-syntax-table): Make : a symbol constituent.
4305 2012-03-21  Andreas Politz  <politza@fh-trier.de>
4307         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4309 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4311         * progmodes/etags.el (tags-completion-at-point-function):
4312         Improve last fix.
4314         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4316 2012-03-21  Sam Steingold  <sds@gnu.org>
4318         * progmodes/etags.el (tags-completion-at-point-function):
4319         Avoid the error when point is inside the pattern.
4321 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
4323         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4324         line (Bug#10855).
4326 2012-03-21  Drew Adams  <drew.adams@oracle.com>
4328         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4330 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
4332         * ido.el (ido-set-current-directory, ido-read-internal)
4333         (ido-choose-completion-string, ido-completion-help): Handle nil
4334         value of ido-completion-buffer (Bug#11008).
4336 2012-03-21  Sam Steingold  <sds@gnu.org>
4338         * window.el (switch-to-prev-buffer): Do not switch to a visible
4339         window previous buffer, just like with the frame previous buffers.
4341 2012-03-21  Chong Yidong  <cyd@gnu.org>
4343         * faces.el (make-face, make-empty-face, copy-face):
4344         * face-remap.el (face-remap-add-relative, face-remap-set-base):
4345         Doc fixes.
4347 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4349         * wid-edit.el (widget-complete-field): Remove (bug#11051).
4350         (widget-complete): Remove broken use of it.
4352 2012-03-20  Chong Yidong  <cyd@gnu.org>
4354         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4355         Use string-width and truncate-string-width to handle arbitrary
4356         characters.
4358 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
4360         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4361         to draw rectangles, not squares.  (Regression introduced by revno
4362         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4364 2012-03-18  Chong Yidong  <cyd@gnu.org>
4366         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4367         it is not yet defined (for temacs).
4369 2012-03-18  Leo Liu  <sdl.web@gmail.com>
4371         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4373 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
4375         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4376         (ispell-choices-win-default-height, ispell-silently-savep)
4377         (ispell-dictionary-alist, ispell-encoding8-command)
4378         (ispell-check-version, ispell-aspell-find-dictionary)
4379         (ispell-valid-dictionary-list, ispell-words-keyword)
4380         (ispell-get-word, ispell-internal-change-dictionary)
4381         (ispell-region, ispell-skip-region-list)
4382         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4383         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4384         (ispell-message-text-end, ispell-message)
4385         (ispell-buffer-local-parsing): Doc fix.
4387 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
4389         * htmlfontify.el: Add support for code block fontification for ODT
4390         export (Bug #9914).
4391         (hfy-optimisations): Define new option
4392         `body-text-only'
4393         (hfy-fontify-buffer): Honor above setting.
4394         (hfy-begin-span, hfy-end-span): New routines factored out form
4395         `hfy-fontify-buffer'.
4396         (hfy-begin-span-handler, hfy-end-span-handler): New variables
4397         that permit insertion of custom tags.
4398         (hfy-fontify-buffer): Use above handlers.
4399         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4400         (hfy-face-to-css): Re-defined to be a variable.
4401         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
4402         over multiple runs.  This is made possible by having the caller let
4403         bind a special variable `hfy-user-sheet-assoc'.
4404         (htmlfontify-string): New defun.
4405         (hfy-compile-face-map): Make sure that the last char in the
4406         buffer is correctly fontified.
4407         (hfy-face-resolve-face): Whitespace only change.
4409 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
4411         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4412         message more clear.
4414 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4416         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4418 2012-03-16  Alan Mackenzie  <acm@muc.de>
4420         Further optimise the handling of large macros.
4422         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4423         limit to a call of `c-literal-limits'.
4424         (c-determine-+ve-limit): New function.
4425         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4426         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4427         In CASE 5B, restrict a search limit to 500.
4428         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4430         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4431         Restrict macro bounds to +-500 from after-change's BEG END.
4433 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4435         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4437 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
4439         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4440         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
4442 2012-03-16  Glenn Morris  <rgm@gnu.org>
4444         * view.el (view-buffer, view-buffer-other-window)
4445         (view-buffer-other-frame): Doc fixes re special mode-class.
4447         * subr.el (eval-after-load): If named feature is provided not from
4448         a file, run after-load forms.  (Bug#10946)
4450         * calendar/calendar.el (calendar-insert-at-column):
4451         Handle non-unit-width characters a bit better.  (Bug#10978)
4453 2012-03-15  Chong Yidong  <cyd@gnu.org>
4455         * emacs-lisp/ring.el (ring-extend): New function.
4456         (ring-insert+extend): Extend the ring correctly (Bug#11019).
4458         * comint.el (comint-read-input-ring)
4459         (comint-add-to-input-history): Grow comint-input-ring lazily.
4461 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4463         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4464         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4466         * imenu.el: Fix multiple inheritance breakage (bug#9199).
4467         (imenu-add-to-menubar): Don't add a redundant index.
4468         (imenu-update-menubar): Handle a dynamically composed keymap.
4470 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
4472         * mail/sendmail.el (mail-encode-header):
4473         Bind rfc2047-encode-encoded-words to nil.
4475 2012-03-13  Glenn Morris  <rgm@gnu.org>
4477         * calendar/calendar.el (calendar-string-spread):
4478         Handle non-unit-width characters a bit better.  (Bug#10978)
4480 2012-03-13  Leo Liu  <sdl.web@gmail.com>
4482         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4483         directory and file as argument (Bug#10822).
4485 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
4487         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4488         For dynamically generated code, follow $PC.
4489         (gdb-disassembly-handler-custom): Handle no function name case.
4491 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
4493         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4494         * emulation/ws-mode.el (ws-query-replace):
4495         * sort.el (sort-regexp-fields):
4496         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
4498 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4500         * dabbrev.el: Fix cycle completion order (bug#10963).
4501         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4502         (dabbrev-completion): Don't use an obarray; provide
4503         a cycle-sort-function.
4505 2012-03-12  Leo Liu  <sdl.web@gmail.com>
4507         * simple.el (kill-new): Use equal-including-properties for comparison.
4508         (kill-do-not-save-duplicates): Doc fix.
4510 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4512         * dabbrev.el: Fix cycle completion (bug#10963).
4513         Use lexical binding and wrap to 80 columns.
4514         (dabbrev-completion): Delay computing the list of completions.
4516 2012-03-12  Kenichi Handa  <handa@m17n.org>
4518         * international/quail.el (quail-insert-kbd-layout): Surround each
4519         row by LRO and PDF instead of inserting many LRMs.  Pad the left
4520         and right of each non-spacing marks.  Insert invisible space
4521         between lower and upper characters to prevent composition.
4523 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4525         * minibuffer.el (minibuffer-complete): Don't get confused when the
4526         function is run twice via different commands (bug#10958).
4527         (complete-with-action): Fix docstring.
4529 2012-03-12  Chong Yidong  <cyd@gnu.org>
4531         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4532         (nxml-completion-at-point-function): New function.
4533         (nxml-mode): Use it.
4534         (nxml-bind-meta-tab-to-complete-flag): Default to t.
4536         * emacs-lisp/package.el (package-unpack, package-unpack-single):
4537         Load generated autoloads file before byte compiling (Bug#10970).
4538         (package--make-autoloads-and-compile): New helper fun.
4540 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
4542         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4544 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
4546         * autorevert.el (auto-revert-handler): Ensure, that
4547         file-readable-p is applied only for local files or in
4548         auto-revert-tail-mode.
4550 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
4552         * server.el (server-eval-at): Handle non-tcp connections.
4553         Decode result string.
4555         * server.el (server-msg-size): New constant.
4556         (server-reply-print): New function.
4557         (server-eval-and-print): Use it.
4558         (server-eval-at): Use server-quote-arg and server-unquote-arg.
4559         Handle -print-nonl.
4561 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
4563         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4564         (Bug#10987).
4566 2012-03-11  Chong Yidong  <cyd@gnu.org>
4568         * simple.el (goto-line): Doc fix (Bug#9938).
4570         * subr.el (save-window-excursion): Doc fix (Bug#9979).
4572         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4573         when finished (Bug#10963).
4575 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
4577         * window.el (split-window-below): Fix bug in case where
4578         split-window-keep-point is nil (Bug#10971).
4580 2012-03-11  Juri Linkov  <juri@jurta.org>
4582         * replace.el (replace-highlight): Set isearch-word to nil
4583         unconditionally.  (Bug#10887)
4585 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
4587         * net/mairix.el (mairix-replace-invalid-chars): Rename from
4588         mairix-replace-illegal-chars; all callers changed.  Don't remove
4589         ^, ~, and = characters: they are meaningful in mairix search specs.
4590         (mairix-widget-create-query): Add usage information about mairix
4591         search forms: negating words, searching for substrings, etc.
4593 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
4595         * international/fontset.el (font-encoding-alist): Add an entry for
4596         ksx1001 (Bug#5667).
4598 2012-03-10  Richard Stallman  <rms@gnu.org>
4600         * mail/sendmail.el (mail-encode-header):
4601         Set rfc2047-encode-encoded-words.
4603         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4605         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4606         view buffer means not swapped.
4607         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4608         (rmail-write-region-annotate): Error if real text has disappeared.
4610         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4612 2012-03-10  Chong Yidong  <cyd@gnu.org>
4614         * emulation/cua-rect.el (cua--init-rectangles):
4615         * emulation/cua-base.el (cua--init-keymaps):
4616         Add delete-forward-char to remappings (Bug#9666).
4618 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
4620         * speedbar.el (speedbar-unhighlight-one-tag-line):
4621         Avoid unhighlighting due to frame switching (Bug#10275).
4623 2012-03-10  Chong Yidong  <cyd@gnu.org>
4625         * minibuffer.el (completion-in-region, completion-help-at-point):
4626         Give the completion field overlay a high priority (Bug#6830).
4628         * dired.el (dired-goto-file): Recognize absolute file name
4629         listings (Bug#7126).
4630         (dired-goto-file-1): New helper function.
4631         (dired-toggle-read-only): Inhibit warnings.
4633 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
4635         * net/dbus.el (dbus-property-handler): Return empty array if
4636         there are no properties.
4638 2012-03-09  Leo Liu  <sdl.web@gmail.com>
4640         * savehist.el (savehist-printable): Stricter check for string
4641         value (Bug#10937).
4643 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
4645         * mail/smtpmail.el (smtpmail-send-it):
4646         Bind coding-system-for-write to *-unix, so that FCC files are kept in
4647         valid mbox format.
4649 2012-03-09  Glenn Morris  <rgm@gnu.org>
4651         * files.el (dir-locals-find-file):
4652         Don't check result is regular, readable.
4653         (dir-locals-read-from-file): Demote errors.
4655 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
4657         * international/quail.el (quail-insert-kbd-layout):
4658         Insert invisible LRM characters before each character in a keyboard
4659         layout cell, to prevent their reordering by bidi display engine.
4660         For details, see the discussion in
4661         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4663 2012-03-08  Alan Mackenzie  <acm@muc.de>
4665         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4666         the starting position; make it extend the marked region when
4667         invoked repeatedly - all under appropriate circumstances.
4668         Fixes bugs #5525, #10906.
4670 2012-03-08  Glenn Morris  <rgm@gnu.org>
4672         * files.el (locate-dominating-file, dir-locals-find-file):
4673         Undo 2012-03-06 change.
4675 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
4677         * international/quail.el (quail-help):
4678         Force bidi-paragraph-direction be left-to-right.  See discussion in
4679         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4680         for the reason.
4682 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
4684         Avoid superfluous registering of signals.  (Bug#10807)
4686         * notifications.el (notifications-on-action-object)
4687         (notifications-on-close-object): New defvars.
4688         (notifications-on-action-signal, notifications-on-closed-signal):
4689         Unregister the signal if not needed any longer.
4690         (notifications-notify): Register `notifications-action-signal' or
4691         `notifications-closed-signal', if :on-action or :on-close has been
4692         passed as argument.
4694 2012-03-07  Chong Yidong  <cyd@gnu.org>
4696         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4697         non-X platforms.
4699 2012-03-06  Glenn Morris  <rgm@gnu.org>
4701         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4702         (x-disown-selection-internal, x-get-selection-internal):
4703         Doc fix (add arglist signatures).  (Bug#10783)
4705 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
4707         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4708         Handle breakpoints with no "type".
4710 2012-03-06  Glenn Morris  <rgm@gnu.org>
4712         * files.el (locate-dominating-file): Add optional predicate argument.
4713         (dir-locals-find-file): Make use of above change.
4715 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
4717         * info.el (Info-insert-dir): Also try "dir.gz".
4719 2012-03-06  Glenn Morris  <rgm@gnu.org>
4721         * files.el (dir-locals-find-file):
4722         Ignore non-readable or non-regular files.  (Bug#10928)
4724         * files.el (locate-dominating-file): Doc fix.
4726 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
4728         * calendar/calendar.el (calendar-set-mode-line):
4729         `getenv' returns a string.  (Bug#10951)
4731 2012-03-05  Leo Liu  <sdl.web@gmail.com>
4733         * simple.el (backward-delete-char-untabify): Constrain point to
4734         field (Bug#10939).
4736         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4738 2012-03-05  Chong Yidong  <cyd@gnu.org>
4740         * simple.el (count-words): If called from Lisp, return the word
4741         count, for symmetry with `count-lines'.  Arglist changed.
4742         (count-words--message): Args changed.  Consolidate counting code
4743         from count-words and count-words-region.
4744         (count-words-region): Caller changed.
4745         (count-lines-region): Make it an obsolete alias.
4747 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
4749         * saveplace.el (save-place-to-alist)
4750         (save-place-ignore-files-regexp): Allow value nil to disable this
4751         feature.
4753 2012-03-04  Chong Yidong  <cyd@gnu.org>
4755         * faces.el (face-spec-reset-face): For the default face, reset the
4756         attributes to default values (Bug#10748).
4758 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4760         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4761         previous patch: Check `message-send-mail-function', and not the
4762         default function (bug#10897).
4764 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
4766         * notifications.el (notifications-on-action-signal)
4767         (notifications-on-closed-signal): Check for unique service name of
4768         incoming event.  Fix error in removing entry.
4769         (top): Register for signals with wildcard service name.
4770         (notifications-notify): Use daemon unique service name for map entries.
4772 2012-03-04  Chong Yidong  <cyd@gnu.org>
4774         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4776 2012-03-04  Glenn Morris  <rgm@gnu.org>
4778         * abbrev.el (copy-abbrev-table, abbrev-table-p)
4779         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4780         (expand-abbrev, define-abbrev-table): Doc fixes.
4782 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4784         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4785         `message-default-send-mail-function' and not `send-mail-function'
4786         when doing the prompting for `sendmail-query-once' before sending
4787         in Message buffers (bug#10897).
4789         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4790         This is inconsistent with all the other stream functions, which leave
4791         the setting up to the higher levels (if so wanted) (bug#10931).
4793 2012-03-02  Alan Mackenzie  <acm@muc.de>
4795         Depessimize the handling of very large macros.
4797         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4798         (c-macro-cache-syntactic): New variables to implement a one
4799         element macro cache.
4800         (c-invalidate-macro-cache): New function.
4801         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4802         Adapt to use the new cache.
4803         (c-state-safe-place): Use better the cache of safe positions.
4804         (c-state-semi-nonlit-pos-cache)
4805         (c-state-semi-nonlit-pos-cache-limit):
4806         New variables for...
4807         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
4808         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4809         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4810         Use c-state-semi-safe-place.
4812         * progmodes/cc-langs.el (c-get-state-before-change-functions):
4813         Add c-invalidate-macro-cache to the C, C++, Obj entries.
4815 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
4817         * jka-compr.el (jka-compr-call-process):
4818         Apply `file-accessible-directory-p' only when the default directory is
4819         not remote.
4821 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
4823         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
4824         access of FILE2, if FILE1 does not exist.
4826         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4827         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4829         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4830         Add "PAGER=" to `process-environment'.
4832 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
4834         * progmodes/sql.el: Bug fix
4835         (sql-get-login-ext): Save login values in globals.
4836         (sql-get-login): Use new version of `sql-get-login-ext'.
4837         (sql-interactive-mode): Set global `sql-connection' to nil.
4838         (sql-connect): Set global values for connection.
4839         (sql-product-interactive): Save global values as buffer local.
4841 2012-02-29  Leo Liu  <sdl.web@gmail.com>
4843         * abbrev.el (define-abbrevs): Reset sys to nil.
4845 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4847         * files.el (file-equal-p): Rename from `files-equal-p'.
4848         Return nil when one or both files don't exist.
4849         (file-subdir-of-p): Now only top directory must exists,
4850         return nil if it doesn't.
4851         (copy-directory): No need to test with `file-subdir-of-p' after
4852         creating dir.
4853         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4854         to `file-equal-p'.
4856 2012-02-28  Glenn Morris  <rgm@gnu.org>
4858         * shell.el (shell-mode):
4859         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4860         * play/landmark.el (landmark-font-lock-face-O):
4861         * play/handwrite.el (handwrite):
4862         * play/gomoku.el (gomoku-O):
4863         * net/browse-url.el (browse-url-browser-display):
4864         * international/mule.el (define-charset):
4865         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4866         * filesets.el (filesets-find-file-delay):
4867         * eshell/em-xtra.el (eshell-xtra):
4868         * eshell/em-unix.el (eshell-grep):
4869         * emulation/viper.el (viper-mode):
4870         * emacs-lisp/regexp-opt.el (regexp-opt-group):
4871         * emacs-lisp/easymenu.el (easy-menu-define):
4872         * calendar/timeclock.el (timeclock-use-display-time):
4873         * bs.el (bs-mode):
4874         * bookmark.el (bookmark-save-flag):
4875         Doc fix (standardize possessive apostrophe usage).
4877 2012-02-27  Chong Yidong  <cyd@gnu.org>
4879         * emulation/viper-cmd.el (viper-intercept-ESC-key):
4880         Fix key-binding lookup for ESC key (Bug#9146).
4882         * font-lock.el (font-lock-specified-p): Rename from
4883         font-lock-spec-present.  Callers changed.
4885 2012-02-27  Daniel Hackney  <dan@haxney.org>
4887         * emacs-lisp/package.el (package-compute-transaction):
4888         Handle holding a package version to t in package-load-list.
4890 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
4892         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4893         (tramp-get-inode, tramp-get-device): Use cached values.
4895 2012-02-26  Alan Mackenzie  <acm@muc.de>
4897         Check there is a font-lock specification before doing initial
4898         fontification.
4900         * font-core.el (font-lock-mode): Move the conditional from
4901         :after-hook to font-lock-initial-fontify.
4902         (font-lock-default-function): Move the check for a specification
4903         to font-lock-spec-present.
4905         * font-lock.el (font-lock-initial-fontify): Call ...
4906         (font-lock-spec-present): New function.
4908 2012-02-26  Jim Blandy  <jimb@red-bean.com>
4910         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4911         (gdb-send): Apply it to the operand of the '-interpreter-exec
4912         console' command, so that we can pass arguments with (say) quotes
4913         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
4915 2012-02-26  Chong Yidong  <cyd@gnu.org>
4917         * help-fns.el (describe-function-1): Clarify description of
4918         remapping (Bug#10844).
4920         * files.el (files-equal-p): Doc fix.
4921         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
4922         and quit the loop once a mismatch is found.
4924 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
4926         * bs.el (bs--show-with-configuration): Don't throw an error
4927         if the window cannot be split; otherwise, subsequent calls to
4928         bs-show fail, restoring a stale window config.  (Bug#10882)
4930 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
4932         * term/ns-win.el (global-map): Bind ns-drag-file to
4933         ns-find-file (Bug#5855, Bug#10050).
4935 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
4937         * calendar/parse-time.el (parse-time-string): Allow extractor to
4938         return nil.
4940 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
4942         * net/tramp.el (tramp-file-name-for-operation):
4943         Add `files-equal-p' and `file-subdir-of-p'.
4945         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4946         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4947         Add COPY-CONTENTS argument.
4949 2012-02-25  Chong Yidong  <cyd@gnu.org>
4951         Add custom groups for VC backends, for consistency with vc-bzr.
4953         * vc/vc-arch.el (vc-arch):
4954         * vc/vc-cvs.el (vc-cvs):
4955         * vc/vc-git.el (vc-git):
4956         * vc/vc-hg.el (vc-hg):
4957         * vc/vc-mtn.el (vc-mtn):
4958         * vc/vc-rcs.el (vc-rcs):
4959         * vc/vc-sccs.el (vc-sccs):
4960         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4961         All relevant defcustoms reassigned.
4963 2012-02-25  Chong Yidong  <cyd@gnu.org>
4965         * newcomment.el (comment-styles): Add autoload (Bug#10868).
4967         * term/x-win.el (x-initialize-window-system): Reduce default for
4968         x-selection-timeout to 5 seconds (Bug#8869).
4970 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4972         * files.el (files-equal-p, file-subdir-of-p): New functions.
4973         (copy-directory): Error when trying to copy a directory on itself.
4974         Add missing copy-contents arg to tramp handler.
4975         * dired-aux.el (dired-copy-file-recursive): Same.
4976         (dired-create-files): Modify destination when source is equal to
4977         dest when copying files.
4978         Return also when dest is a subdir of source.  (Bug#10489)
4980 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
4982         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4983         (Bug#10874)
4985 2012-02-23  Alan Mackenzie  <acm@muc.de>
4987         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4988         parameter "after-hook:" to allow the expansion to run code after
4989         the execution of the mode hooks.
4991         * font-lock.el (font-lock-initial-fontify): New function extracted
4992         from font-lock-mode-internal.
4994         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4995         :after-hook.
4997 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4999         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5000         (completion--cache-all-sorted-completions): New function.
5001         (completion-all-sorted-completions): Use it.
5002         (completion--do-completion, minibuffer-force-complete):
5003         Use it to re-instate the flush hook.
5005         * icomplete.el (icomplete-completions): Replace last fix with a better
5006         one (bug#10850).
5008 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
5010         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5011         when it might call us back infinitely (bug#10797).
5013 2012-02-23  Glenn Morris  <rgm@gnu.org>
5015         * minibuffer.el (completion-category-overrides): Doc fix.
5017 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5019         * minibuffer.el (completion-table-with-context): Fix inf-loop.
5020         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5022 2012-02-23  Glenn Morris  <rgm@gnu.org>
5024         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5025         (authors-obsolete-files-regexps, authors-ignored-files)
5026         (authors-ambiguous-files, authors-renamed-files-alist):
5027         Add more entries.
5029 2012-02-23  Juri Linkov  <juri@jurta.org>
5031         * isearch.el (isearch-occur): Sync interactive spec with occur's
5032         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
5034         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5036 2012-02-22  Juri Linkov  <juri@jurta.org>
5038         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5039         (ucs-insert): Doc fix.  Check for hex digits in the string.
5040         Don't display `nil' in the error message.  (Bug#10857)
5042 2012-02-22  Alan Mackenzie  <acm@muc.de>
5044         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5046 2012-02-22  Glenn Morris  <rgm@gnu.org>
5048         * ffap.el (ffap-c-path):
5049         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
5051 2012-02-22  Chong Yidong  <cyd@gnu.org>
5053         * custom.el (load-theme): Doc fix.
5055 2012-02-22  Glenn Morris  <rgm@gnu.org>
5057         * dired-x.el (dired-guess-shell-alist-default):
5058         Remove escape sequences from nroff output.  (Bug#172)
5060 2012-02-21  Glenn Morris  <rgm@gnu.org>
5062         * vc/emerge.el (emerge-defvar-local):
5063         Set `permanent-local' property rather than unused `preserved'.
5065         * textmodes/picture.el (picture-delete-char): New alias.
5066         (picture-mode-map): Use it.  (Bug#10860)
5067         (picture-mode): Doc fix.
5069 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
5071         * newcomment.el (uncomment-region-default): Remove unused binding.
5073 2012-02-21  Glenn Morris  <rgm@gnu.org>
5075         * textmodes/picture.el (picture-motion, picture-motion-reverse)
5076         (picture-self-insert, picture-tab-chars): Doc fix.
5077         (picture-mode-map): Fix C-a, C-e.
5079 2012-02-20  Glenn Morris  <rgm@gnu.org>
5081         * emacs-lisp/authors.el (authors-aliases): Add another entry.
5083 2012-02-20  Leo Liu  <sdl.web@gmail.com>
5085         * icomplete.el (icomplete-completions): Check FROM arg before
5086         passing to substring (Bug#10850).
5088 2012-02-19  Chong Yidong  <cyd@gnu.org>
5090         * comint.el: Require ansi-color.
5091         (comint-output-filter-functions): Add ansi-color-process-output.
5093         * ansi-color.el: Don't set comint-output-filter-functions; it is
5094         now in the initial value defined in comint.el.
5095         (ansi-color-apply-face-function): New variable.
5096         (ansi-color-apply-on-region): Use it.
5097         (ansi-color-apply-overlay-face): New function.
5099         * shell.el (shell): No need to require ansi-color.
5100         (shell-mode): Use ansi-color-apply-face-function to highlight
5101         color escapes using font-lock-face property (Bug#10835).
5103 2012-02-19  Chong Yidong  <cyd@gnu.org>
5105         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5106         mode-line formats (Bug#10839).
5108 2012-02-18  Glenn Morris  <rgm@gnu.org>
5110         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5112         * mail/undigest.el (unforward-rmail-message): Doc fix.
5114         * saveplace.el (save-place-ignore-files-regexp): Add :version.
5116 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
5118         * international/characters.el (script-list): Sync with the latest
5119         Unicode Character Database.
5121 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
5123         * international/titdic-cnv.el: Remove duplicate coding tag.
5124         * language/cham.el: Likewise.
5125         * language/tai-viet.el: Likewise.
5127 2012-02-18  Glenn Morris  <rgm@gnu.org>
5129         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5130         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5131         (calendar-bahai-all-holidays-flag, calendar-other-dates):
5132         * calendar/diary-lib.el (diary-abbreviated-year-flag):
5133         * calendar/holidays.el (holiday-bahai-holidays)
5134         (calendar-holidays, list-holidays):
5135         Use utf-8 Bahá'í in doc-strings, menus, etc.
5137 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
5139         * saveplace.el (save-place-ignore-files-regexp): New variable
5140         allowing for excluding files from saving their location of point.
5141         The default value matches the temporary commit message editing
5142         files from Git, SVN, Bazaar, and Mercurial.
5143         (save-place-to-alist): Use it.
5145 2012-02-17  Lawrence Mitchell <wence@gmx.li>
5146             Stefan Monnier  <monnier@iro.umontreal.ca>
5148         * newcomment.el (uncomment-region-default): Don't leave extra space
5149         when an arg is provided (bug#8150).
5151 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
5153         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5155 2012-02-17  Glenn Morris  <rgm@gnu.org>
5157         * net/socks.el: Require network-stream.  (Bug#10599)
5159 2012-02-17  Kenichi Handa  <handa@m17n.org>
5161         * international/charprop.el:
5162         * international/uni-name.el:
5163         * international/uni-old-name.el:
5164         * international/uni-comment.el: Regenerate.
5166 2012-02-16  Glenn Morris  <rgm@gnu.org>
5168         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5169         Interactively in calendar buffer, give an error if not on a date.
5171 2012-02-15  Glenn Morris  <rgm@gnu.org>
5173         * shell.el (shell-delimiter-argument-list):
5174         Revert 2011-02-17 change.  (Bug#8027)
5176 2012-02-15  Chong Yidong  <cyd@gnu.org>
5178         * minibuffer.el (completion-at-point-functions): Doc fix.
5180         * custom.el (defcustom): Doc fix; note use of defvar.
5182 2012-02-15  Glenn Morris  <rgm@gnu.org>
5184         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5185         Doc fixes.
5187 2012-02-14  Glenn Morris  <rgm@gnu.org>
5189         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5191 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
5193         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5194         way the ports list is computed.
5195         (smtpmail-query-smtp-server): Prompt the user for a port number if
5196         we can't connect to any of the standard ports (bug#10810).
5198 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
5200         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5202 2012-02-13  Glenn Morris  <rgm@gnu.org>
5204         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
5206 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
5208         * net/gnutls.el (gnutls-trustfiles): New variable.
5209         (gnutls-negotiate): Use it.
5211 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
5213         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5214         does its stuff if Gnus is running.
5216 2012-02-13  Alan Mackenzie  <acm@muc.de>
5218         Fix a loop in c-set-fl-decl-start.
5220         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5221         c-backward-syntactic-ws actually moves backwards.
5223 2012-02-13  Leo Liu  <sdl.web@gmail.com>
5225         * net/rcirc.el (rcirc-markup-attributes): Move point to the
5226         beginning so that all \C-o chars are removed.
5228 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
5230         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5232 2012-02-12  Alan Mackenzie  <acm@muc.de>
5234         Fix infinite loop with long macros.
5235         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5237 2012-02-12  Chong Yidong  <cyd@gnu.org>
5239         * window.el (display-buffer): Doc fix (Bug#10785).
5241 2012-02-12  Glenn Morris  <rgm@gnu.org>
5243         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5244         (x-disown-selection-internal, x-get-selection-internal):
5245         Sync docs with the xselect.c versions.
5247         * allout-widgets.el: Add missing license notice.
5249 2012-02-11  Glenn Morris  <rgm@gnu.org>
5251         * select.el (x-get-selection-internal, x-own-selection-internal)
5252         (x-disown-selection-internal):
5253         * x-dnd.el (x-get-selection-internal): Update declarations.
5255         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5257         * window.el (window-sides-slots):
5258         * tool-bar.el (tool-bar-position):
5259         * term/xterm.el (xterm-extra-capabilities):
5260         * ses.el (ses-self-reference-early-detection):
5261         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5262         (verilog-auto-wire-type)
5263         (verilog-auto-delete-trailing-whitespace)
5264         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5265         (verilog-auto-tieoff-declaration):
5266         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5267         (sql-oracle-statement-starters, sql-oracle-scan-on):
5268         * progmodes/prolog.el (prolog-align-comments-flag)
5269         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5270         (prolog-left-indent-regexp, prolog-paren-indent-p)
5271         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5272         (prolog-types, prolog-mode-specificators)
5273         (prolog-determinism-specificators, prolog-directives)
5274         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5275         (prolog-electric-dot-flag)
5276         (prolog-electric-dot-full-predicate-template)
5277         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5278         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5279         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5280         (prolog-program-switches, prolog-prompt-regexp)
5281         (prolog-debug-on-string, prolog-debug-off-string)
5282         (prolog-trace-on-string, prolog-trace-off-string)
5283         (prolog-zip-on-string, prolog-zip-off-string)
5284         (prolog-use-standard-consult-compile-method-flag)
5285         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5286         (prolog-imenu-max-lines, prolog-info-predicate-index)
5287         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5288         (prolog-char-quote-workaround):
5289         * progmodes/cc-vars.el (c-defun-tactic):
5290         * net/tramp.el (tramp-encoding-command-interactive)
5291         (tramp-local-end-of-line):
5292         * net/soap-client.el (soap-client):
5293         * net/netrc.el (netrc-file):
5294         * net/gnutls.el (gnutls):
5295         * minibuffer.el (completion-category-overrides)
5296         (completion-cycle-threshold)
5297         (completion-pcm-complete-word-inserts-delimiters):
5298         * man.el (Man-name-local-regexp):
5299         * mail/feedmail.el (feedmail-display-full-frame):
5300         * international/characters.el (glyphless-char-display-control):
5301         * eshell/em-ls.el (eshell-ls-date-format):
5302         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5303         (lisp-lambda-list-keyword-parameter-indentation)
5304         (lisp-lambda-list-keyword-parameter-alignment):
5305         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5306         * dired-x.el (dired-omit-verbose):
5307         * cus-theme.el (custom-theme-allow-multiple-selections):
5308         * calc/calc.el (calc-highlight-selections-with-faces)
5309         (calc-lu-field-reference, calc-lu-power-reference)
5310         (calc-note-threshold):
5311         * battery.el (battery-mode-line-limit):
5312         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5313         (archive-7z-update):
5314         * allout.el (allout-prefixed-keybindings)
5315         (allout-unprefixed-keybindings)
5316         (allout-inhibit-auto-fill-on-headline)
5317         (allout-flattened-numbering-abbreviation):
5318         * allout-widgets.el (allout-widgets-auto-activation)
5319         (allout-widgets-icons-dark-subdir)
5320         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5321         (allout-widgets-theme-dark-background)
5322         (allout-widgets-theme-light-background)
5323         (allout-widgets-item-image-properties-emacs)
5324         (allout-widgets-item-image-properties-xemacs)
5325         (allout-widgets-run-unit-tests-on-load)
5326         (allout-widgets-time-decoration-activity)
5327         (allout-widgets-hook-error-post-time)
5328         (allout-widgets-track-decoration):
5329         Add missing :version tags to new defcustoms and defgroups.
5331         * progmodes/sql.el (sql-ansi-statement-starters)
5332         (sql-oracle-statement-starters): Add custom type.
5334         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5335         (prolog-system-version): Give it a type.
5337 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
5339         * term/pc-win.el (x-select-text, x-selection-owner-p)
5340         (x-own-selection-internal, x-disown-selection-internal)
5341         (x-get-selection-internal): Sync doc strings and argument lists
5342         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
5344 2012-02-11  Leo Liu  <sdl.web@gmail.com>
5346         * progmodes/python.el (python-end-of-statement): Fix infinite
5347         loop.  (Bug#10788)
5349 2012-02-10  Glenn Morris  <rgm@gnu.org>
5351         * international/mule-cmds.el (unify-8859-on-encoding-mode)
5352         (unify-8859-on-decoding-mode): Properly mark as obsolete.
5354 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
5356         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5357         about SMTP before checking the From header.
5359         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5360         into own function for reuse by emacsbug.el.
5362 2012-02-10  Leo Liu  <sdl.web@gmail.com>
5364         * subr.el (condition-case-unless-debug): Rename from
5365         condition-case-no-debug.  All callers changed.
5366         (with-demoted-errors): Fix caller.
5368         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5369         * nxml/rng-valid.el (rng-do-some-validation):
5370         * emacs-lisp/package.el (package-refresh-contents)
5371         (package-menu-execute):
5372         * desktop.el (desktop-create-buffer):
5373         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5375 2012-02-10  Glenn Morris  <rgm@gnu.org>
5377         * textmodes/bibtex.el:
5378         Add missing :version tags for new/changed defcustoms.
5380         * files.el (remote-file-name-inhibit-cache): Doc fixes.
5382 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
5384         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5385         (smtpmail-via-smtp): Use it, or fall back on the From address.
5386         (smtpmail-send-it): Ditto.
5388 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5390         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5391         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
5392         (byte-compile-tmp-var): New const.
5393         (byte-compile-defvar): Use it to minimize .elc size.
5394         Just use `defvar' rather than simulate it (bug#10761).
5396 2012-02-09  Glenn Morris  <rgm@gnu.org>
5398         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
5400         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5401         Add :version tags.
5403         * progmodes/compile.el (compilation-error-screen-columns)
5404         (compilation-first-column, compilation-filter-start): Doc fixes.
5406         * vc/log-view.el (log-view-toggle-entry-display):
5407         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5409         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5410         (report-emacs-bug-can-use-xdg-email):
5411         (report-emacs-bug-insert-to-mailer): Doc fixes.
5412         (report-emacs-bug): Message fix.
5414         * net/browse-url.el (browse-url-can-use-xdg-open)
5415         (browse-url-xdg-open): Doc fixes.
5417         * electric.el (electric-indent-mode, electric-pair-mode)
5418         (electric-layout-rules, electric-layout-mode): Doc fixes.
5419         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5421 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
5423         * server.el (server-unselect-display): Don't inadvertently kill
5424         the current buffer.  (Bug#10729)
5426 2012-02-08  Glenn Morris  <rgm@gnu.org>
5428         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5429         (sql-list-table): Doc fixes.
5431         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5432         Comment out (does nothing).
5434         * completion.el (dynamic-completion-mode):
5435         * dirtrack.el (dirtrack-debug-mode):
5436         * electric.el (electric-layout-mode):
5437         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5438         * face-remap.el (text-scale-mode, buffer-face-mode):
5439         * iimage.el (iimage-mode):
5440         * image-mode.el (image-transform-mode):
5441         * minibuffer.el (completion-in-region-mode):
5442         * scroll-lock.el (scroll-lock-mode):
5443         * simple.el (next-error-follow-minor-mode):
5444         * tar-mode.el (tar-subfile-mode):
5445         * tooltip.el (tooltip-mode):
5446         * vcursor.el (vcursor-use-vcursor-map):
5447         * wid-browse.el (widget-minor-mode):
5448         * emulation/tpu-edt.el (tpu-edt-mode):
5449         * emulation/tpu-extras.el (tpu-cursor-free-mode):
5450         * international/iso-ascii.el (iso-ascii-mode):
5451         * language/thai-util.el (thai-word-mode):
5452         * mail/supercite.el (sc-minor-mode):
5453         * net/goto-addr.el (goto-address-mode):
5454         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5455         * progmodes/cwarn.el (cwarn-mode):
5456         * progmodes/flymake.el (flymake-mode):
5457         * progmodes/glasses.el (glasses-mode):
5458         * progmodes/hideshow.el (hs-minor-mode):
5459         * progmodes/pascal.el (pascal-outline-mode):
5460         * textmodes/enriched.el (enriched-mode):
5461         * vc/smerge-mode.el (smerge-mode):
5462         Doc fixes (minor mode argument).
5464 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
5466         * ls-lisp.el (ls-lisp-sanitize): New function.
5467         (ls-lisp-insert-directory): Use it to fix or remove any elements
5468         in file-alist with missing attributes.  (Bug#4673)
5470 2012-02-07  Alan Mackenzie  <acm@muc.de>
5472         Fix spurious recognition of c-in-knr-argdecl.
5474         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5475         putative K&R region.
5477 2012-02-07  Alan Mackenzie  <acm@muc.de>
5479         * progmodes/cc-engine.el (c-forward-objc-directive):
5480         Prevent looping in "#pragma mark @implementation".
5482 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
5484         * notifications.el (notifications-on-closed-signal): Make `reason'
5485         optional.  (Bug#10744)
5487 2012-02-07  Glenn Morris  <rgm@gnu.org>
5489         * emacs-lisp/easy-mmode.el (define-minor-mode):
5490         Doc fixes for the macro and the mode it defines.
5492         * image.el (imagemagick-types-inhibit): Doc fix.
5494         * cus-start.el (imagemagick-render-type): Add it.
5496 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
5498         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5499         Set the default at load time, too, so that `font-lock-fontify-buffer'
5500         can be called without setting up the entire mode first.  This fixes
5501         a bug in `mm-inline-text' with C MIME parts.
5503 2012-02-06  Chong Yidong  <cyd@gnu.org>
5505         * simple.el (list-processes--refresh): Delete exited processes
5506         (Bug#8094).
5508         * comint.el (comint-next-prompt): next-single-char-property-change
5509         and prev-single-char-property-change never return nil (Bug#8657).
5511         * custom.el (defcustom): Doc fix (Bug#9711).
5513 2012-02-05  Chong Yidong  <cyd@gnu.org>
5515         * cus-edit.el (custom-variable-reset-backup): Quote the value
5516         before storing it in the customized-value property (Bug#6712).
5517         (custom-display): Add a customization type tag.
5518         (custom-buffer-create-internal): Improve tooltip message.
5520         * wid-edit.el (widget-field-value-get): New optional arg to
5521         suppress trailing whitespace truncation.
5522         (character): Use it (Bug#2689).
5524 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
5526         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5527         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5529 2012-02-05  Chong Yidong  <cyd@gnu.org>
5531         * cus-edit.el (custom-variable-value-create): For mismatched
5532         types, show the current value (Bug#7600).
5534         * custom.el (defcustom): Doc fix.
5536 2012-02-05  Glenn Morris  <rgm@gnu.org>
5538         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5540 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
5542         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5543         (pp-buffer): Use `ignore-errors', `looking-at-p'.
5544         (pp-last-sexp): Use `looking-at-p'.
5546 2012-02-04  Glenn Morris  <rgm@gnu.org>
5548         * files.el (revert-buffer):
5549         Doc fix (mention revert-buffer-in-progress-p).
5551         * emacs-lisp/ert-x.el (ert-simulate-command):
5552         Check deferred-action-list (which is obsolete) is bound.
5554         * subr.el (with-wrapper-hook): Doc fixes.
5556         * simple.el (filter-buffer-substring-functions)
5557         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5559 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
5561         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5562         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
5564 2012-02-04  Leo Liu  <sdl.web@gmail.com>
5566         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5568 2012-02-04  Glenn Morris  <rgm@gnu.org>
5570         * image.el (image-extension-data): Add obsolete alias.
5572         * isearch.el (isearch-update): Doc fix.
5574         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5576         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5578 2012-02-03  Glenn Morris  <rgm@gnu.org>
5580         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
5581         (image-animate-timeout): Doc fix.
5583         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5585 2012-02-02  Glenn Morris  <rgm@gnu.org>
5587         * server.el (server-auth-dir): Doc fix.
5588         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
5590         * subr.el (run-mode-hooks): Doc fix.
5592 2012-02-02  Juri Linkov  <juri@jurta.org>
5594         * image-mode.el (image-toggle-display-image): Remove tautological
5595         `major-mode' from the `derived-mode-p' test.
5597 2012-02-02  Kenichi Handa  <handa@m17n.org>
5599         * composite.el (compose-region): Cancel previous change.
5601 2012-02-02  Kenichi Handa  <handa@m17n.org>
5603         * composite.el (compose-region, compose-string): Signal error for
5604         a null string component (Bug#6988).
5606 2012-02-01  Chong Yidong  <cyd@gnu.org>
5608         * view.el (view-buffer-other-window, view-buffer-other-frame):
5609         Handle special modes like view-buffer (Bug#10650).
5610         (view-buffer): Simplify.
5612         * frame.el (set-frame-font): Tweak meaning of third argument.
5614         * dynamic-setting.el (font-setting-change-default-font):
5615         Use set-frame-font (Bug#9982).
5617 2012-02-01  Glenn Morris  <rgm@gnu.org>
5619         * progmodes/compile.el (compilation-internal-error-properties):
5620         Respect compilation-first-column in the "*compilation*" buffer.
5622         * emacs-lisp/easy-mmode.el (define-minor-mode):
5623         Relax :variable's test for a named function.
5625 2012-01-31  Alan Mackenzie  <acm@muc.de>
5627         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5628         off by one error.
5630 2012-01-31  Chong Yidong  <cyd@gnu.org>
5632         * frame.el (set-frame-font): New arg ALL-FRAMES.
5634         * menu-bar.el (menu-set-font): Use set-frame-font.
5636         * faces.el (face-spec-reset-face): Don't apply unspecified
5637         attribute values to the default face.
5639 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
5641         * progmodes/cwarn.el (cwarn): Remove dead link.
5642         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5643         Remove * from defcustom docstrings.
5644         (turn-on-cwarn-mode): Make obsolete.
5645         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5646         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5648 2012-01-31  Glenn Morris  <rgm@gnu.org>
5650         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5651         Fix :variable handling of mode a symbol not equal to modefun.
5652         Allow named functions to be used as the cdr of :variable.
5654 2012-01-30  Glenn Morris  <rgm@gnu.org>
5656         * emacs-lisp/authors.el (authors-fixed-entries):
5657         Remove reference to deleted file rnewspost.el.
5659 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
5661         * window.el (window-with-parameter): Remove unused variable `windows'.
5662         (window--side-check): Remove unused variable `code'.
5663         (window--resize-siblings): Remove unused variable `first'.
5664         (adjust-window-trailing-edge): Remove unused variable `failed'.
5665         (window-deletable-p, window--delete): Remove unused variable `buffer'.
5666         Use `let', not `let*'.
5667         (balance-windows-2): Remove unused variable `found'.
5668         (window--state-put-2): Remove unused variable `splits'.
5669         (window-state-put): Remove unused variable `selected'.
5670         (same-window-p): Use `string-match-p'.
5671         (display-buffer-assq-regexp): Remove unused variable `value'.
5672         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5673         Mark argument ALIST as ignored.
5674         (pop-to-buffer): Remove unused variable `old-window'.
5676 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
5678         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5679         and .lzma compressed files.
5681 2012-01-29  Chong Yidong  <cyd@gnu.org>
5683         * frame.el (window-system-default-frame-alist): Doc fix.
5685         * dynamic-setting.el (font-setting-change-default-font): Don't
5686         change the default face if SET-FONT argument is non-nil (Bug#9982).
5688 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
5690         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5692 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
5694         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5695         breakpoints in files outside current directory (Bug#6098).
5697 2012-01-29  Chong Yidong  <cyd@gnu.org>
5699         * progmodes/python.el: Require ansi-color at top-level.
5701         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5702         Define and use in Emacs Lisp mode (Bug#9360).
5703         (lisp-mode-abbrev-table): Add doc.
5704         (lisp-mode-variables): Don't set local-abbrev-table.
5705         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5707 2012-01-28  Roland Winkler  <winkler@gnu.org>
5709         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5711 2012-01-28  Roland Winkler  <winkler@gnu.org>
5713         * textmodes/bibtex.el (bibtex-entry-alist): New function.
5714         (bibtex-set-dialect): Use it.  Either set global values of
5715         dialect-dependent variables or bind these variables buffer-locally
5716         (Bug#10254).
5717         (bibtex-mode): Call bibtex-set-dialect via
5718         hack-local-variables-hook.
5719         (bibtex-dialect): Update docstring.
5720         Add safe-local-variable predicate.
5721         (bibtex-entry-alist, bibtex-field-alist): Initialize via
5722         bibtex-set-dialect.
5723         (bibtex-mode-map): Define menu for each dialect.
5724         (bibtex-entry): Fix docstring.
5726 2012-01-28  Chong Yidong  <cyd@gnu.org>
5728         * eshell/esh-arg.el (eshell-quote-argument): New function.
5730         * eshell/esh-ext.el (eshell-invoke-batch-file):
5731         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5732         first arg to eshell-parse-command (Bug#10523).
5734 2012-01-28  Drew Adams  <drew.adams@oracle.com>
5736         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5737         `default-directory' is non-nil.
5739 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
5741         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5742         line that displays system-configuration-options.  (Bug#9924)
5744 2012-01-28  Drew Adams  <drew.adams@oracle.com>
5746         * descr-text.el (describe-char): Show information about POS, in
5747         addition to information about the character at POS.  Improve and
5748         update the doc string.  Change "code point" to "code point in
5749         charset", to avoid confusion with the character's Unicode code
5750         point shown above that.  (Bug#10129)
5752 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
5754         * descr-text.el (describe-char): Show the raw character, not only
5755         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
5756         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5757         for the reasons.
5759 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
5761         * emacs-lisp/package.el (package-install):
5762         Run package-refresh-contents if there is no archive yet (Bug#9798).
5764 2012-01-28  Chong Yidong  <cyd@gnu.org>
5766         * emacs-lisp/package.el (package-maybe-load-descriptor):
5767         New function, split from package-maybe-load-descriptor.
5768         (package-maybe-load-descriptor): Use it.
5769         (package-download-transaction): Fully load required packages
5770         inside the loop, so that `require' calls work (Bug#10593).
5771         (package-install): No need to call package-initialize now.
5773 2012-01-28  Chong Yidong  <cyd@gnu.org>
5775         * simple.el (deactivate-mark): Doc fix (Bug#8614).
5777         * tooltip.el (tooltip-mode): Doc fix.
5778         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5780         * frame.el (set-cursor-color): Doc fix (Bug#352).
5782         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5783         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5785         * cus-edit.el (custom-buffer-create-internal): Fix search button
5786         action (Bug#10542).
5787         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5789 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
5791         * dired.el (dired-mark-files-regexp):
5792         Include any subdirectory components.  (Bug#10445)
5794 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
5796         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5797         Handle [host]:port syntax.  (Bug#10533)
5799 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
5801         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5803 2012-01-26  Glenn Morris  <rgm@gnu.org>
5805         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5806         * term.el (term-raw-escape-map): Use Control-X-prefix.
5807         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
5809 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
5811         * window.el (window-state-get, window--state-get-1): Don't deal
5812         with fixed-sizeness of windows.  Simplify code.
5814 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
5816         * window.el (window--state-get-1, window--state-put-2):
5817         Don't save and restore the mark.
5819 2012-01-25  Chong Yidong  <cyd@gnu.org>
5821         * custom.el (custom-variable-p): Doc fix.
5823 2012-01-25  Glenn Morris  <rgm@gnu.org>
5825         * dired.el (dired-goto-file): Handle some of the more common
5826         characters that `ls -b' escapes.  (Bug#10596)
5828         * progmodes/compile.el (compilation-next-error-function):
5829         Respect compilation-first-column in the "*compilation*" buffer.
5830         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
5832         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
5834 2012-01-24  Glenn Morris  <rgm@gnu.org>
5836         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
5838 2012-01-24  Julien Danjou  <julien@danjou.info>
5840         * color.el (color-rgb-to-hsl): Fix value computing.
5841         (color-hue-to-rgb): New function.
5842         (color-hsl-to-rgb): New function.
5843         (color-clamp, color-saturate-hsl, color-saturate-name)
5844         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5845         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5847 2012-01-24  Glenn Morris  <rgm@gnu.org>
5849         * vc/vc-rcs.el (vc-rcs-create-tag):
5850         * vc/vc-sccs.el (vc-sccs-create-tag):
5851         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
5853 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
5855         * eshell/esh-util.el (eshell-read-hosts-file):
5856         Skip comment lines.  (Bug#10549)
5858         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
5860 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
5862         * subr.el (display-delayed-warnings): Doc fix.
5863         (collapse-delayed-warnings): New function to collapse identical
5864         adjacent warnings.
5865         (delayed-warnings-hook): Add it.
5867 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
5869         * net/tramp.el (tramp-action-login): Set connection property "login-as".
5871         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5872         (tramp-default-user-alist): Don't add "pscp".
5873         (tramp-do-copy-or-rename-file-out-of-band): Use connection
5874         property "login-as", if set.  (Bug#10530)
5876 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
5878         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5879         "plink1" and "psftp".  (Bug#10530)
5881 2012-01-21  Kenichi Handa  <handa@m17n.org>
5883         * international/mule-cmds.el (prefer-coding-system): Show a
5884         warning message if the default value of file-name-coding-system
5885         was not changed.
5887 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
5889         * windmove.el (windmove-reference-loc):
5890         Fix windmove-reference-loc miscalculation.
5892 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
5894         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5895         default unit.
5897 2012-01-21  Glenn Morris  <rgm@gnu.org>
5899         * international/mule.el (auto-coding-alist): Add .tbz.
5901         * files.el (local-enable-local-variables): Doc fix.
5902         (inhibit-local-variables-regexps): Rename from
5903         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
5904         Doc fix.  Add some extensions from auto-coding-alist.
5905         (inhibit-local-variables-suffixes):
5906         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
5907         (inhibit-local-variables-p):
5908         New function, extracted from set-auto-mode-1.
5909         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
5910         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
5911         (hack-local-variables): Doc fix.  Make the mode-only case
5912         respect enable-local-variables and friends.
5913         Respect inhibit-local-variables-regexps for file-locals, but
5914         not for directory-locals.
5915         (set-visited-file-name):
5916         Take account of inhibit-local-variables-regexps.
5917         Whether it applies may change as the file name is changed.
5918         * jka-cmpr-hook.el (jka-compr-install):
5919         * jka-compr.el (jka-compr-uninstall):
5920         Update for inhibit-first-line-modes-suffixes name change.
5922 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
5924         * help-macro.el (make-help-screen): Temporarily restore original
5925         binding for minor-mode-map-alist (Bug#10454).
5927 2012-01-19  Julien Danjou  <julien@danjou.info>
5929         * color.el (color-name-to-rgb): Use the white color to find the max
5930         color component value and return correctly computed values.
5931         (color-name-to-rgb): Add missing float conversion for max value.
5933 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
5935         * window.el (window--state-get-1, window-state-get): Do not use
5936         special state value for window-persistent-parameters.
5937         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
5938         (window--state-put-2): Reset all window parameters to nil before
5939         assigning values of persistent parameters.
5941 2012-01-18  Alan Mackenzie  <acm@muc.de>
5943         Eliminate sluggishness and hangs in fontification of "semicolon
5944         deserts".
5946         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5947         Change value 10000 -> 3000.
5948         (c-state-safe-place): Reformulate so it doesn't stack up an
5949         infinite number of wrong entries in c-state-nonlit-pos-cache.
5950         (c-determine-limit-get-base, c-determine-limit): New functions to
5951         determine backward search limits disregarding literals.
5952         (c-find-decl-spots): Amend commenting.
5953         (c-cheap-inside-bracelist-p): New function which detects "={".
5955         * progmodes/cc-fonts.el
5956         (c-make-font-lock-BO-decl-search-function): Give a limit to a
5957         backward search.
5958         (c-font-lock-declarations): Fix an occurrence of point being
5959         undefined.  Check additionally for point being in a bracelist or
5960         near a macro invocation without a semicolon so as to avoid a
5961         fruitless time consuming search for a declarator.  Give a more
5962         precise search limit for declarators using the new
5963         c-determine-limit.
5965 2012-01-18  Glenn Morris  <rgm@gnu.org>
5967         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5968         (set-auto-mode): Doc fixes.
5970 2012-01-17  Glenn Morris  <rgm@gnu.org>
5972         * isearch.el (search-nonincremental-instead): Fix doc typo.
5974         * dired.el (dired-insert-directory): Handle newlines in directory name.
5975         (dired-build-subdir-alist): Unescape newlines in directory name.
5977 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
5979         * net/tramp.el (tramp-local-end-of-line): New defcustom.
5980         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5981         (tramp-action-terminal): Use it.  (Bug#10530)
5983 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5985         * minibuffer.el (completion--replace): Strip properties (bug#10062).
5987 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
5989         * window.el (window-state-ignored-parameters): Remove variable.
5990         (window--state-get-1): Rename argument MARKERS to IGNORE.
5991         Handle persistent window parameters.  Make copy of clone-of
5992         parameter only if requested.  (Bug#10348)
5993         (window--state-put-2): Install a window parameter only if it has
5994         a non-nil value or an existing parameter shall be overwritten.
5996 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
5998         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6000 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
6002         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6003         don't pass the (nil) value of `upnode' to string-match.
6005 2012-01-14  Chong Yidong  <cyd@gnu.org>
6007         * startup.el (command-line): Fix X resource class for cursorColor.
6008         Fix values recognized by the cursorBlink resource.
6010 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
6012         * epg.el (epg--make-temp-file): Avoid permission race condition
6013         when running on old Emacs versions (bug#10403).
6015 2012-01-14  Glenn Morris  <rgm@gnu.org>
6017         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6019 2012-01-13  Alan Mackenzie  <acm@muc.de>
6021         Fix filling for when filladapt mode is enabled.
6023         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6024         c-mask-paragraph, pass in `fill-paragraph' rather than
6025         `fill-region-as-paragraph'.  (This is a reversion of a previous
6026         change.)
6027         * progmodes/cc-mode.el (c-basic-common-init):
6028         Make fill-paragraph-handle-comment buffer local and set it to nil.
6030 2012-01-13  Glenn Morris  <rgm@gnu.org>
6032         * dired.el (dired-switches-escape-p): New function.
6033         (dired-insert-directory): Use dired-switches-escape-p.
6034         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
6036         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
6038 2012-01-12  Glenn Morris  <rgm@gnu.org>
6040         * mail/sendmail.el (mail-mode): Update paragraph-separate for
6041         changes in adaptive-fill-regexp.  (Bug#10276)
6043 2012-01-11  Alan Mackenzie  <acm@muc.de>
6045         Fix Emacs bug #10463 - put `widen's around the critical spots.
6047         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6048         widen around each invocation of c-state-pp-to-literal.  Remove an
6049         unused let variable.
6051 2012-01-11  Glenn Morris  <rgm@gnu.org>
6053         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
6054         Doc fix.
6056 2012-01-10  Chong Yidong  <cyd@gnu.org>
6058         * net/network-stream.el (network-stream-open-starttls):
6059         Avoid emitting a confusing error message when the server gives a bad
6060         response to the capability command.
6062 2012-01-10  Glenn Morris  <rgm@gnu.org>
6064         * mail/unrmail.el (unrmail): Tweak previous change.
6066 2012-01-09  Chong Yidong  <cyd@gnu.org>
6068         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6070 2012-01-08  Alan Mackenzie  <acm@muc.de>
6072         Optimise font locking in long enum definitions.
6074         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6075         arm to a cond form to handle enums.
6076         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6077         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6079 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6081         * files.el (move-file-to-trash): Preserve default file modes on error.
6082         (Bug#10401)
6084 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6086         * faces.el (set-face-attribute): Clarify the meaning of the nil
6087         frame (bug#10294).
6089         * subr.el (with-selected-frame): Mention that the selected frame
6090         is restored (bug#9980).
6092         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6093         (bug#9759).
6095         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6096         (password-read): Don't autoload unused function.
6098 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
6100         * progmodes/which-func.el (which-func-mode): Turn into a
6101         non-interactive function and mark as obsolete (bug#10428).
6103 2012-01-06  Chong Yidong  <cyd@gnu.org>
6105         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6106         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6107         functions, along with 1 and -1.
6109 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
6111         * time.el (display-time-load-average)
6112         (display-time-default-load-average): Doc fixes.  See the thread
6113         starting at
6114         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6115         for the details.
6117 2012-01-06  Glenn Morris  <rgm@gnu.org>
6119         * mail/unrmail.el (unrmail): Give an explicit error if the input file
6120         has no messages.  (Bug#10377)
6122         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6123         than Info-edit.  (Bug#10385)
6125         * time.el (display-time-load-average, display-time-next-load-average):
6126         Doc fixes.
6128         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6129         local setting of buffer-read-only to the input buffer.  (Bug#10419)
6131         * calendar/calendar.el (calendar-mode):
6132         Locally set scroll-margin to 0.  (Bug#10379)
6134 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
6136         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
6138 2012-01-05  Glenn Morris  <rgm@gnu.org>
6140         * eshell/em-unix.el (diff-no-select): Autoload it.
6141         (eshell/diff): Use diff-no-select.  (Bug#10420)
6143 2012-01-05  Chong Yidong  <cyd@gnu.org>
6145         * shell.el (shell-dynamic-complete-functions): Revert last change.
6146         (shell-command-completion-function): New function.
6147         (shell-completion-vars): Use it to implement
6148         shell-completion-execonly (Bug#10417).
6150         * custom.el (enable-theme): Don't set custom-safe-themes.
6152         * cus-theme.el (custom-theme-merge-theme):
6153         Ignore custom-enabled-themes and custom-safe-themes.
6155 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
6157         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6158         first prompt in `sql-interacive-mode'.
6159         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6160         keywords.
6161         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6162         (sql-product-interactive): Bug fix: Set `sql-buffer' in
6163         context of original buffer.  Invoke `sql-login-hook'.
6165 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
6167         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6168         letters in cite-prefix.
6170 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6172         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6174 2012-01-03  Chong Yidong  <cyd@gnu.org>
6176         * shell.el (shell-dynamic-complete-functions):
6177         Put pcomplete-completions-at-point, so as to try
6178         comint-filename-completion first (Bug#10417).
6180 2012-01-02  Richard Stallman  <rms@gnu.org>
6182         * battery.el (battery-status-function):
6183         Detect when to use battery-yeeloong-sysfs.
6184         (battery-echo-area-format): Add string for Yeeloong.
6185         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6186         (battery-yeeloong-sysfs): New function.
6188 2012-01-02  Chong Yidong  <cyd@gnu.org>
6190         * dirtrack.el (dirtrack-list): Eliminate unused third element.
6191         (dirtrack): Merge code for handling relative filenames in prompt
6192         from shell-dir-cookie-watcher.
6193         (dirtrack-debug-message): New arg to avoid excess format calls.
6195         * shell.el (shell-dir-cookie-re): Variable deleted.
6196         (shell-dir-cookie-watcher): Function deleted.
6197         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6198         with dirtrack-mode.
6200 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
6202         * term/w32-win.el (dynamic-library-alist) <gnutls>:
6203         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6204         libgnutls-26.dll.
6206 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
6208         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6210 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
6212         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6213         headers of non-MIME messages, when rmail-enable-mime is non-nil.
6215 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
6217         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6218         also for alternative shells.
6219         (tramp-open-connection-setup-interactive-shell): Check, whether
6220         the shell is a busybox.
6221         (tramp-send-command): Don't suppress multiple prompts for
6222         busyboxes, it hurts.
6224 2011-12-28  Chong Yidong  <cyd@gnu.org>
6226         * progmodes/gdb-mi.el (gdb-get-source-file-list)
6227         (gdb-get-source-file): Move mode line update to
6228         gdb-get-source-file (Bug#10087).
6230 2011-12-25  Chong Yidong  <cyd@gnu.org>
6232         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6233         gud-gdb-marker-filter without taking it as an argument.
6234         (gud-gdb-run-command-fetch-lines): Caller changed.
6235         (gud-gdb-completion-function): New variable.
6236         (gud-gdb-completion-at-point): Use it.
6237         (gud-gdb-completions-1): Split from gud-gdb-completions.
6239         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6240         function as separate arguments.
6241         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6242         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6243         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6244         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6245         (gdb-stopped, def-gdb-auto-update-trigger)
6246         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6247         (gdb-get-changed-registers, gdb-get-main-selected-frame):
6248         Callers changed.
6249         (gud-gdbmi-completions): New function.
6250         (gdb): Use it for generating the completion table.
6252 2011-12-24  Alan Mackenzie  <acm@muc.de>
6254         Introduce a mechanism to widen the region used in context font
6255         locking.  Use this to protect declarations from losing their contexts.
6257         * progmodes/cc-langs.el (c-before-font-lock-functions):
6258         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6259         (c-before-context-fontification-functions): New defvar, a list of
6260         functions to be run just before context (etc.) font locking.
6262         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6263         New, functionality extracted from
6264         c-neutralize-syntax-in-and-mark-CPP.
6265         (c-in-after-change-fontification): New variable.
6266         (c-after-change): Set c-in-after-change-fontification.
6267         (c-set-fl-decl-start): Rejig its interface, so it can be called
6268         from both after-change and context fontifying.
6269         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6270         New functions.
6271         (c-standard-font-lock-fontify-region-function): New variable.
6272         (c-font-lock-fontify-region): New function.
6274 2011-12-24  Juri Linkov  <juri@jurta.org>
6276         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6277         (Bug#10348)
6279 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
6281         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6282         existence of source file.  (Bug#10325)
6284 2011-12-23  Alan Mackenzie  <acm@muc.de>
6286         Fix unstable fontification inside templates.
6288         * progmodes/cc-langs.el (c-before-font-lock-functions):
6289         Newly created from the singular version.  The (c c++ objc) entry now
6290         additionally has c-set-fl-decl-start.  The other languages (apart
6291         from AWK) have that as a single entry.
6293         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6294         The functionality for "local" declarations has been extracted to
6295         c-set-fl-decl-start.
6297         * progmodes/cc-mode.el (c-common-init, c-after-change):
6298         Changes due to pluralisation of c-before-font-lock-functions.
6299         (c-set-fl-decl-start): New function, extracted from
6300         c-font-lock-enclosing-decls and enhanced.
6302 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
6304         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6306 2011-12-22  Juri Linkov  <juri@jurta.org>
6308         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
6310 2011-12-22  Chong Yidong  <cyd@gnu.org>
6312         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6314 2011-12-21  Drew Adams  <drew.adams@oracle.com>
6316         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
6318 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
6320         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6322 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
6324         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
6325         highlighting and support.  Fix up comments for capitalization.
6326         (cfengine-mode-debug): New var.
6327         (cfengine3-mode): Change the modeline indicator to "CFE3".
6328         (cfengine3-font-lock-keywords): Improve defun highlighting.
6329         (cfengine2-actions): Rename from `cfengine-actions'.
6330         (cfengine2-font-lock-keywords): Rename from
6331         `cfengine-font-lock-keywords'.
6332         (cfengine2-imenu-expression): Rename from
6333         `cfengine-imenu-expression'.
6334         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6335         (cfengine2-beginning-of-defun): Rename from
6336         `cfengine-beginning-of-defun'.
6337         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6338         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6339         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
6340         modeline indicator to "CFE2".
6341         (cfengine-mode): Defalias to `cfengine-auto-mode'.
6342         (cfengine-mode-abbrevs): Mark obsolete.
6344 2011-12-21  Chong Yidong  <cyd@gnu.org>
6346         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6347         filename argument.
6349 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
6351         * window.el (window-normalize-buffer-to-display): Remove.
6352         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6354 2011-12-19  Chong Yidong  <cyd@gnu.org>
6356         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6357         Don't signal an error in a predicate function; return non-nil.
6358         (vc-dir-mark-file): Move the error here.
6359         (vc-dir-mark-unmark): If acting on the region, keep going if one
6360         of the entries cannot be marked/unmarked.
6361         (vc-dir-mark-all-files): If current entry is a directory, mark
6362         only child files, as documented.
6364 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6366         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6367         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6368         addition.
6370 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
6372         * term/ns-win.el (ns-get-selection-internal)
6373         (ns-store-selection-internal): Declare.
6374         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6375         Declare as obsolete.
6376         (ns-get-pasteboard, ns-paste-secondary):
6377         Use ns-get-selection-internal.
6378         (ns-set-pasteboard,  ns-copy-including-secondary):
6379         Use ns-store-selection-internal.
6381 2011-12-17  Chong Yidong  <cyd@gnu.org>
6383         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6384         (vc-deduce-fileset): Doc fix.
6386 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
6388         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6390 2011-12-13  Sam Steingold  <sds@gnu.org>
6392         * man.el (Man-getpage-in-background): When running under a
6393         window-system, ignore $MANWIDTH and $COLUMNS.
6395 2011-12-15  Kenichi Handa  <handa@m17n.org>
6397         * language/ethio-util.el: Change coding tag to utf-8-emacs.
6398         (setup-ethiopic-environment-internal): Comment out key-binding for
6399         ethio-toggle-punctuation.
6401 2011-12-13  Alan Mackenzie  <acm@muc.de>
6403         Add the switch statement to AWK Mode.
6405         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6406         "default" to the keywords regexp.
6408         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6409         expression as the rest.
6410         (c-nonlabel-token-key): Allow string literals for AWK.
6411         Refactor for the other modes.
6413         Large brace-block initialisation makes CC Mode slow: Fix.
6414         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6415         routines.  Limit backward searching in c-font-lock-enclosing.decl.
6417         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6418         pp-state and literal type in addition to the limits.
6419         (c-state-safe-place): New defun, extracted from c-state-literal-at.
6420         (c-state-literal-at): Use the above new defun.
6421         (c-slow-in-literal, c-fast-in-literal): Remove.
6422         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6424         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6425         being in a literal.  Add a limit for backward searching.
6427         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6428         c-slow-in-literal.
6430 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6432         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6434 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
6436         * window.el (delete-other-windows): Use correct frame in call to
6437         window-with-parameter.
6439 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
6441         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6442         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6443         (makefile-gmake-statements, makefile-makepp-statements):
6444         Use it and add new makepp keywords.
6445         (makefile-makepp-font-lock-keywords): Add new patterns.
6446         (makefile-match-function-end): Match new [...] and [[...]].
6448 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
6450         * ses.el (ses-call-printer-return, ses-cell-property-get)
6451         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6452         (ses-create-cell-variable, ses-reset-header-string)
6453         (ses-cell-set-formula, ses-repair-cell-reference-all)
6454         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6455         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6456         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6457         (ses-aset-with-undo, ses-load, ses-truncate-cell)
6458         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6459         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6460         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6461         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6462         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6463         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6464         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6465         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6467 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6469         * ses.el: The overall change is to add cell renaming, that is
6470         setting fancy names for cell symbols other than name matching
6471         "\\`[A-Z]+[0-9]+\\'" regexp .
6472         (ses-create-cell-variable): New defun.
6473         (ses-relocate-formula): Relocate formulas only for cells the
6474         symbols of which are not renamed, i.e. symbols whose names do not
6475         match regexp "\\`[A-Z]+[0-9]+\\'".
6476         (ses-relocate-all): Relocate values only for cells the symbols of
6477         which are not renamed.
6478         (ses-load): Create cells variables as the (ses-cell ...) are read,
6479         in order to check row col consistency with cell symbol name only
6480         for cells that are not renamed.
6481         (ses-replace-name-in-formula): New defun.
6482         (ses-rename-cell): New defun.
6484 2011-12-11  Chong Yidong  <cyd@gnu.org>
6486         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6487         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6489 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
6491         * window.el (other-window): Fix docstring.
6493 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
6495         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6496         `from' or `to' address before taking its substring.
6497         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6498         encoded name is chopped in the middle of the encoded string, and
6499         thus displayed encoded.
6501 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
6503         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6505 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
6507         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
6508         to use texinfo-update-node and commands that call it if the
6509         Texinfo file uses @node lines without next/prev/up pointers.
6510         Correct outdated description about texinfo-master-menu.
6511         (texinfo-all-menus-update, texinfo-master-menu)
6512         (texinfo-update-node, texinfo-every-node-update)
6513         (texinfo-multiple-files-update): Doc fix.  Warn against updating
6514         all the @node lines.
6515         (texinfo-master-menu): Only call texinfo-update-node if the prefix
6516         argument is numeric.  Explain better in the doc string what the
6517         function really does.
6518         (texinfo-insert-master-menu-list): Improve the error message
6519         displayed if there's no menu in the Top node.
6520         (Bug#2975)  See also this thread:
6521         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6523 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
6525         * speedbar.el (speedbar-supported-extension-expressions):
6526         Add .adb and .ads, commonly used for Ada source code (bug#10256).
6528 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
6530         * printing.el (pr-mode-alist):
6531         * simple.el (filter-buffer-substring-functions)
6532         (completion-list-insert-choice-function):
6533         * window.el (window-with-parameter, window-atom-root)
6534         (window-sides-slots, window-size-fixed, window-min-delta)
6535         (window-max-delta, window--resize-mini-window)
6536         (window--resize-child-windows-normal, window-tree)
6537         (delete-other-windows, quit-window, split-window)
6538         (display-buffer-record-window, special-display-buffer-names)
6539         (special-display-regexps, special-display-popup-frame)
6540         (same-window-p, split-window-sensibly)
6541         (display-buffer-overriding-action, display-buffer-alist)
6542         (display-buffer-base-action, display-buffer, switch-to-buffer)
6543         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6544         (fit-window-to-buffer, recenter-positions)
6545         (mouse-autoselect-window-state, mouse-autoselect-window-select):
6546         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6547         and remove unneeded backslashes in docstrings.
6549 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6551         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6553         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6554         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6555         end in ".mk".
6556         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6557         when reading the makefile (bug#10116).
6559 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6561         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6562         (bug#10116).
6564 2011-12-06  Glenn Morris  <rgm@gnu.org>
6566         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6568 2011-12-06  Chong Yidong  <cyd@gnu.org>
6570         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6572 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
6574         * textmodes/table.el (table-shorten-cell): Fix typo.
6576 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
6578         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6580 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
6582         * descr-text.el (describe-char): Fix display of strong
6583         right-to-left characters and directional embeddings and overrides.
6585         * simple.el (what-cursor-position): Fix display of codepoints of
6586         strong right-to-left characters.
6588 2011-12-05  Chong Yidong  <cyd@gnu.org>
6590         * faces.el (read-color): Doc fix.
6592 2011-12-05  Glenn Morris  <rgm@gnu.org>
6594         * align.el (align--set-marker): Add doc-string.
6595         Don't try to move something that is not a marker.  (Bug#10216)
6597 2011-12-04  Glenn Morris  <rgm@gnu.org>
6599         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6600         overly zealous deletion of trailing whitespace.
6602 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
6604         * server.el (server-delete-client): On Windows, do not try to delete
6605         the only terminal.
6606         (server-process-filter): On Windows, treat requests for a tty frame as
6607         if they were for a GUI frame if the running server is in GUI mode.
6609 2011-12-03  Glenn Morris  <rgm@gnu.org>
6611         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
6613 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6615         * electric.el: Streamline electric-indent's hook.
6616         (electric-indent-chars): Revert to simple list.
6617         (electric-indent-functions): New var.
6618         (electric-indent-post-self-insert-function): Use it.
6620         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6621         there's no inferior buffer (bug#10196).
6622         (prolog-consult-compile): Don't use toggle-read-only.
6624 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
6626         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6627         interrupt.  (Bug#10187)
6629 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6631         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6632         (bug#9160).
6634         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6635         (bug#10191).
6637 2011-12-02  Juri Linkov  <juri@jurta.org>
6639         * info.el (Info-search): Display "end of manual" when Isearch
6640         reaches the end of single-file Info manual.  (Bug#9918)
6642 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
6644         * isearch.el (isearch-message-prefix): Run the input method part
6645         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
6647 2011-12-02  Juri Linkov  <juri@jurta.org>
6649         * isearch.el (isearch-occur): Use `word-search-regexp' for
6650         `isearch-word'.
6651         (isearch-search-and-update): Add condition for `isearch-word' and
6652         call `word-search-regexp'.  (Bug#10145)
6654 2011-12-01  Glenn Morris  <rgm@gnu.org>
6656         * eshell/em-hist.el (eshell-hist-initialize):
6657         Handle eshell-history-size nil and HISTSIZE set or unset.
6658         (eshell-history-file-name, eshell-history-size): Fix custom type.
6660 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6662         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6664 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
6666         * progmodes/verilog-mode.el (verilog-pretty-expr):
6667         Rework verilog-pretty-expr to handle new assignment operators in system
6668         verilog, such as += *= and the like.
6669         (verilog-assignment-operator-re): Regular expression to find the
6670         assigment operator in a verilog assignment.
6671         (verilog-assignment-operation-re): Regular expression to find an
6672         assignment statement for pretty-expr.
6673         (verilog-in-attribute-p): Query returns true if point is in an
6674         attribute context; used to skip these for expression line up from
6675         pretty-expr.
6676         (verilog-in-parameter-p): Query returns true if point is in an
6677         parameter definition context; used to skip these for expression
6678         line up from pretty-expr.
6679         (verilog-in-parenthesis-p): Query returns true if point is in a
6680         parenthetical expression, specifically ( ) but not [ ] or { };
6681         used by pretty-expr.
6682         (verilog-just-one-space): If there is no space, don't add one.
6683         (verilog-get-lineup-indent-2): Specifically skip just attribute
6684         contexts for expression lineup, rather than skipping all
6685         parenthetical expressions.
6686         (verilog-calculate-indent): Fix comment, and fix indent.
6687         (verilog-do-indent): Indent declarations in lists (suggested by
6688         Joachim Lechner).
6689         (verilog-mode-abbrev-table): Populate abbrev mode with the various
6690         skeleton items.
6691         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6692         by Alain Mellan).
6694 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
6696         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6697         parameters with embedded comments.  Reported by Ray Stevens.
6698         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6699         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6700         Reported by Tim Holt.
6701         (verilog-auto): Fix AUTOing a upper module then AUTOing module
6702         instantiated by upper module causing wrong expansion until AUTOed a
6703         second time.  Reported by K C Buckenmaier.
6704         (verilog-diff-auto): Fix showing .* as a difference when
6705         `verilog-auto-star-save' off.  Reported by Dan Dever.
6706         (verilog-auto-reset, verilog-read-always-signals)
6707         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6708         temporary signals in reset list if
6709         verilog-auto-reset-blocking-in-non is nil, and match assignment
6710         style to each signal's assignment type, bug381.
6711         Reported by Thomas Esposito.
6712         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6713         (verilog-uvm-statement-re): Support UVM indentation and
6714         highlighting, with old OVM keywords only.
6715         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6716         Support AUTOTIEOFF creating non-wire data types.
6717         Suggested by Jonathan Greenlaw.
6718         (verilog-auto-insert-lisp, verilog-delete-to-paren)
6719         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6720         (verilog-inject-sense, verilog-read-inst-pins)
6721         (verilog-read-sub-decls, verilog-read-sub-decls-line):
6722         Fix mismatching parenthesis inside commented out code when deleting
6723         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
6724         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6725         non-numeric vector width.  Reported by Alex Reed.
6726         (verilog-auto-ascii-enum): Add "onehot" option to work around not
6727         detecting signals with parameter widths.  Reported by Alex Reed.
6728         (verilog-auto-delete-trailing-whitespace):
6729         With `verilog-auto-delete-trailing-whitespace' remove trailing
6730         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
6731         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6732         Fix verilog-scan-cache corruption when running user AUTO expansion
6733         hooks that call indentation routines.
6734         (verilog-simplify-range-expression): Fix typo ignoring lower case
6735         identifiers.
6736         (verilog-delete-auto): Fix delete-autos to also remove user created
6737         automatics, as long as they start with AUTO.
6738         (verilog-batch-diff-auto, verilog-diff-auto)
6739         (verilog-diff-function): Add `verilog-diff-auto' and bind to
6740         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
6741         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6742         (verilog-in-paren-quick, verilog-re-search-backward-quick)
6743         (verilog-re-search-forward-quick, verilog-syntax-ppss):
6744         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6745         is disabled and its cache will get corrupt, causing AUTOS not to
6746         expand.  Instead use only -quick functions.
6747         (verilog-scan-region): Fix scanning over escaped quotes.
6748         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6749         (verilog-re-search-backward-quick)
6750         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6751         related functions now ignore strings, to fix misparsing of strings
6752         with magic comments embedded in them.
6753         (verilog-read-auto-template):
6754         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6755         Reported by Brad Dobbie.
6756         (verilog-read-auto-template):
6757         Fix 'verilog-auto-inst-template-numbers' with comments.
6758         Reported by Brad Dobbie.
6759         (verilog-auto-inst, verilog-auto-inst-param)
6760         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6761         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
6762         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6763         debugging templates without merge conflicts, bug357.
6764         Reported by Brad Dobbie.
6765         (verilog-read-auto-template):
6766         Fix verilog-auto-inst-template-numbers with multiple templates.
6767         Reported by Brad Dobbie.
6768         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6769         abbrevs so user won't be asked to save.
6770         (verilog-read-auto-lisp-present): Fix to start at beginning of
6771         buffer in case called outside of verilog-auto.
6772         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6773         to "X-2".  Reported by Matthew Myers.
6774         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6775         all inputs from module templates.  Reported by Leith Johnson.
6776         (verilog-module-inside-filename-p): Fix locating programs as with
6777         modules.
6778         (verilog-auto-inst-port): Fix vl-width expressions when using
6779         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
6780         (verilog-decls-get-regs, verilog-decls-get-signals,
6781         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6782         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6783         verilog-read-decls): Combine reg and wire structures into one var
6784         structure to represent SystemVerilog concepts.
6785         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6786         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6787         (verilog-auto-wire-type, verilog-insert-definition):
6788         Add verilog-auto-wire-type and AUTOLOGIC to support using
6789         SystemVerilog "logic" keyword instead of "wire"/"reg".
6790         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6791         to declares outputs that also have assignments (presumably in an
6792         ifdef or generate if so there's not a driver conflict).
6793         Reported by Matthew Myers.
6794         (verilog-auto-declare-nettype, verilog-insert-definition):
6795         Add verilog-auto-declare-nettype to fix declarations using
6796         `default_nettype none.  Reported by Julian Gorfajn.
6797         (verilog-read-always-signals-recurse, verilog-read-decls)
6798         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6799         malformed end statement, bug325.  Reported by Joshua Wise and
6800         Andrew Drake.
6801         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6802         (verilog-inst-comment-re): Fix not deleting Interfaced comment
6803         when expanding .* in interfaces, bug320.
6804         Reported by Pierre-David Pfister.
6805         (verilog-read-module-name): Fix import statements between module
6806         name and open parenthesis, bug317.
6807         Reported by Pierre-David Pfister.
6808         (verilog-simplify-range-expression): Fix simplification of
6809         multiplications inside AUTOWIRE connections, bug303.
6810         (verilog-auto-inst-port): Support parameter expansion in
6811         multidimensional arrays.
6812         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6813         after "assert property".  Reported by Julian Gorfajn.
6814         (verilog-simplify-range-expression): Fix "couldn't merge" errors
6815         with multiplication, bug303.
6816         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6817         Reported by Jan Frode Lonnum.
6819 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
6821         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6822         (hfy-shell-file-name, hfy-shell):
6823         * international/fontset.el (x-decompose-font-name): Fix typos.
6825 2011-11-29  Ken Brown  <kbrown@cornell.edu>
6827         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6828         (gdb-version): Remove defvar.
6829         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6830         (gdb-gud-context-command, gdb-non-stop-handler)
6831         (gdb-current-context-command, gdb-stopped): Use it.
6832         (gdb-init-1): Enable pretty printing here.
6833         (gdb-non-stop-handler): Don't enable pretty-printing here.
6834         Check to see if the target supports non-stop mode; if not, turn off
6835         non-stop mode.  Use the following.
6836         (gdb-check-target-async): New defun.
6837         (gud-watch, gdb-stopped): Fix whitespace.
6838         (gdb-get-source-file): Don't try to display the source file if
6839         `gdb-main-file' is nil.
6841 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6843         * align.el: Try to generate fewer markers (bug#10047).
6844         (align--set-marker): New macro.
6845         (align-region): Use it.
6847 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6849         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6851 2011-11-29  Chong Yidong  <cyd@gnu.org>
6853         * indent.el (indent-for-tab-command, indent-according-to-mode):
6854         Doc fix.
6855         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
6857 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
6859         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6860         aware of remote file names.  (Bug#10124)
6862 2011-11-29  Chong Yidong  <cyd@gnu.org>
6864         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6866 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6868         * files.el (find-file): Don't use force-same-window (bug#10144).
6869         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6870         use pop-to-buffer if the selected window can't be used.
6871         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6873 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
6875         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6876         special-mode-map.
6878 2011-11-28  Chong Yidong  <cyd@gnu.org>
6880         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6882 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
6884         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6885           gdb-get-source-file-list on gdb-create-source-file-list.
6887 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
6889         * whitespace.el (whitespace-newline): Use a different foreground
6890         color for 16-color light-background displays.
6892 2011-11-24  Chong Yidong  <cyd@gnu.org>
6894         * window.el (display-buffer--special-action): Doc fix.
6896 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
6898         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6899         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6900         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6901         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6902         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6903         (avl-tree-stack-first):
6904         * emacs-lisp/cconv.el (cconv--analyse-use):
6905         * net/gnutls.el (gnutls-negotiate): Fix typos.
6907 2011-11-24  Glenn Morris  <rgm@gnu.org>
6909         * lpr.el (lpr-windows-system, lpr-lp-system):
6910         * mail/binhex.el (binhex-begin-line):
6911         * progmodes/grep.el (grep-history, grep-find-history):
6912         * textmodes/flyspell.el:
6913         * vc/pcvs-defs.el (cvs-global-menu):
6914         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6915         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6916         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6918         * net/tls.el: Fix case of "GnuTLS".
6920         * paths.el (rmail-file-name): Format doc-string for make-docfile.
6922         * version.el (emacs-build-system): Give it a doc-string.
6924 2011-11-24  Juri Linkov  <juri@jurta.org>
6926         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6928 2011-11-24  Glenn Morris  <rgm@gnu.org>
6930         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6931         if called on a non-mime message just toggle the headers.  (Bug#8006)
6933 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
6935         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6936         (allout-lead-with-comment-string, allout-structure-deleted-hook)
6937         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6938         (allout-rebullet-heading, allout-open-sibtopic)
6939         (allout-toggle-current-subtree-encryption)
6940         (allout-toggle-subtree-encryption, allout-encrypt-string)
6941         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6942         (allout-distinctive-bullets-string, allout-auto-activation):
6943         * window.el (window-normalize-buffer-to-display):
6944         * progmodes/verilog-mode.el (verilog-batch-indent):
6945         * textmodes/bibtex.el (bibtex-field-braces-opt)
6946         (bibtex-field-strings-opt):
6947         * vc/cvs-status.el (cvs-tree-merge):
6948         Fix typos.
6950 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
6952         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6953         `non-essential' to t, in order to avoid remote connections.
6955 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
6957         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6958         On MS-DOS and MS-Windows, compare with loaddefs.el
6959         case-insensitively.
6961 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
6963         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
6965 2011-11-23  Glenn Morris  <rgm@gnu.org>
6967         * paths.el (rmail-file-name): Reformat the doc-string so that it
6968         is picked up.
6970         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6971         (rmail-auto-file): Ignore case in the "special" field names,
6972         as mail-fetch-field does for all others.
6974         * mail/rmail.el (rmail-forward):
6975         * mail/rmailkwd.el (rmail-set-label):
6976         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6977         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
6979         * mail/rmail.el (rmail-current-message): Doc fix.
6981         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
6983 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6985         * server.el (server-eval-and-print): Allow C-g (bug#6585).
6987 2011-11-22  Glenn Morris  <rgm@gnu.org>
6989         * mail/rmailmm.el (test-rmail-mime-handler)
6990         (test-rmail-mime-bulk-handler)
6991         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6993 2011-11-21  Juri Linkov  <juri@jurta.org>
6995         * calc/calc.el (calc-read-key-sequence):
6996         Let-bind `input-method-function' to nil.  (Bug#10018)
6998 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7000         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7001         Tell the caller that the next line needs recomputation, even
7002         though it doesn't start a sexp (bug#10094).
7004 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7006         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7008 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7010         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7011         Use force-same-window.
7013 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
7015         * descr-text.el (describe-char-unicode-data):
7016         * json.el (json-string-escape):
7017         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7018         (Footnote-unicode, Footnote-style-p):
7019         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7021 2011-11-20  Chong Yidong  <cyd@gnu.org>
7023         * window.el (replace-buffer-in-windows): Restore interactive spec.
7025 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7027         * electric.el (electric-indent-mode): Fix last change (too optimistic).
7029         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7030         (byte-compile-global-not-obsolete-vars): New var.
7031         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7032         Use it.
7033         (byte-compile-warn-obsolete): Align text with the one in *Help*.
7035 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
7037         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7038         * progmodes/pascal.el (electric-pascal-equal):
7039         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7040         * xml.el (xml-substitute-special): Fix typos.
7042 2011-11-20  Glenn Morris  <rgm@gnu.org>
7044         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7045         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7046         Doc fixes.
7047         (rmail-decode-mime-charset): Mark as obsolete.
7049         * mail/rmailsum.el (rmail-message-regexp-p-1):
7050         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7051         Before using mime functions, check they are set.  (Bug#10077)
7053 2011-11-19  Juri Linkov  <juri@jurta.org>
7055         * info.el (Info-finder-find-node): Use `package--builtins' instead
7056         of `package-alist'.  Use node names formed by the pattern "Keyword "
7057         and the keyword name.
7059 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
7061         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7063 2011-11-19  Juri Linkov  <juri@jurta.org>
7065         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7066         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
7067         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7068         `old-history', `old-history-forward'.  Add let-binding
7069         `window-selected'.  Remove calls to `kill-buffer',
7070         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
7071         before calling `Info-find-node', so `Info-find-node-2' will reread
7072         the Info file.  Restore window positions only when `window-selected'
7073         is non-nil.
7075 2011-11-19  Juri Linkov  <juri@jurta.org>
7077         * isearch.el (isearch-lazy-highlight-new-loop):
7078         Remove condition `(not isearch-error)'.  (Bug#9918)
7080         * misearch.el (multi-isearch-search-fun): Add condition
7081         `(not bound)' to ignore lazy-highlighting search.
7082         Add the search-failed message "end of multi" when the end of
7083         multi-sequence is reached.  Uncapitalize the search-failed
7084         message "Repeat for next buffer".
7086         * info.el (Info-search): Add the search-failed message
7087         "end of the manual" when the end of the manual is reached
7088         in Isearch mode.
7090 2011-11-19  Juri Linkov  <juri@jurta.org>
7092         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7093         Use non-destructive `remove' instead of `delete' because
7094         `Info-history-list' stored to `Info-isearch-initial-history-list' in
7095         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7097 2011-11-19  Juri Linkov  <juri@jurta.org>
7099         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7100         to nil instead of binding `search-ring' and `regexp-search-ring'.
7101         (Bug#9185)
7103 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
7105         * simple.el (line-move): Force movement by logical lines for any
7106         hscrolled window, not only when auto-hscroll-mode is on.
7107         (line-move-visual): Update doc string to that effect.  (Bug#10076)
7109 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
7111         * language/european.el (macintosh): Define as alias for mac-roman.
7113 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
7115         * mail/rmailmm.el (rmail-mime-display-header)
7116         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7117         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7118         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7119         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7120         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7121         of a raw aref.
7122         (rmail-mime-entity-segment): To get past the tagline, move forward
7123         2 more lines, to account for the 2 empty lines that precede and
7124         follow the line with the buttons.
7125         (rmail-mime-update-tagline): Move one more line, to get past the
7126         empty line that follows the buttons in the tagline.  (Bug#9520)
7128 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
7130         * window.el (window-max-delta-1, window-min-delta-1)
7131         (window-min-size-1, window-state-get-1, window-state-put-1)
7132         (window-state-put-2): Use "window--" prefix.
7134 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7136         * emacs-lisp/smie.el: Improve warnings and conflict detection.
7137         (smie-warning-count): New var.
7138         (smie-set-prec2tab): Use it.
7139         (smie-bnf->prec2): Improve warnings.  Add docstring.
7140         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7141         (smie-bnf--set-class): New function.
7142         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
7143         corner case.
7145         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7146         (compilation-error-properties, compilation-move-to-column):
7147         Handle compilation-first-column while in the target buffer.
7149         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7150         Don't hardcode point-min==1.
7152         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7153         (eshell-rewrite-for-command): Remove workaround.
7154         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7155         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7156         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7158         * files-x.el (modify-file-local-variable): Obey commenting conventions.
7160 2011-11-17  Glenn Morris  <rgm@gnu.org>
7162         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7163         Ignore buffer-local generated-autoload-file if it is the same
7164         as the global value.  (Bug#10049)
7166 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
7168         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7169         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7170         (reftex-toc-previous-heading, reftex-toc-max-level)
7171         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7172         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7173         (reftex-toc-do-promote, reftex-toc-promote-prepare)
7174         (reftex-toc-promote-action, reftex-toc-extract-section-number)
7175         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7176         (reftex-toc-rename-label, reftex-toc-visit-location)
7177         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7178         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7179         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7180         leaving "*toc*" only for references to the buffer.
7182 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
7184         * window.el (window-resize, delete-window, split-window):
7185         Replace window-splits by window-combination-resize.
7186         * cus-start.el (window-splits): Replace by window-combination-resize.
7188 2011-11-17  Glenn Morris  <rgm@gnu.org>
7190         * progmodes/sh-script.el (sh-font-lock-keywords-var):
7191         Make bash entry derive from sh entry, not shell entry.
7193 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
7195         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7196         local file name.
7198 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
7200         * menu-bar.el (menu-bar-file-menu):
7201         * printing.el (pr-ps-utility):
7202         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7203         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7204         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7205         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7206         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7207         (icalendar--convert-cyclic-to-ical)
7208         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7209         (icalendar--convert-ical-to-diary)
7210         (icalendar--convert-recurring-to-diary)
7211         (icalendar--convert-non-recurring-all-day-to-diary)
7212         (icalendar-import-format-sample):
7213         * progmodes/idlw-shell.el (idlwave-shell-mode):
7214         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7215         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7216         (vhdl-ps-print-init): Fix typos.
7218 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
7220         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7221         FSF and collapse date sequence, obscure author/maintainer email address
7222         better, remove extra version line, track relocation of author's webpage.
7224         * progmodes/python.el (python-pdbtrack-input-prompt)
7225         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7226         regular python pdb prompts.  Adjustments shamelessly taken exactly as
7227         suggested in EmacsWiki page (tiny change):
7228         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7230 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
7232         * expand.el (expand-pos, expand-index, expand-point):
7233         Remove redundant info from docstring.
7234         (expand-add-abbrevs): Doc fix.
7235         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7236         (expand-sample-perl-mode-expand-list): Fix typos.
7238         * net/dbus.el (dbus-event-member-name):
7239         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7240         * term/pc-win.el (msdos-create-frame-with-faces):
7241         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7243 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
7245         * window.el (split-window, window-state-get-1)
7246         (window-state-put-1, window-state-put-2): Rename occurrences of
7247         window-nest to window-combination-limit.
7248         * cus-start.el (window-nest): Rename to window-combination-limit.
7250 2011-11-16  Chong Yidong  <cyd@gnu.org>
7252         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7253         regexp (Bug#10033).
7255 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7257         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7258         `completing-read' will remove *Completions* and will preserve
7259         current-buffer for us.
7260         (tmm-add-prompt): Users of *Completions* will always (re)set its
7261         major mode.
7262         (tmm-old-comp-map): Remove.
7264 2011-11-16  Glenn Morris  <rgm@gnu.org>
7266         * mail/rmailedit.el: Require rmailmm when compiling.
7267         (rmail-old-mime-state): New declaration.
7268         (rmail-edit-current-message): If editing a mime message,
7269         edit the "raw" message from the mbox buffer.
7270         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
7272 2011-11-15  Glenn Morris  <rgm@gnu.org>
7274         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7275         which wasn't being used.  Add optional arg to force given state.
7276         (rmail-mime): Add optional arg to force given state.
7278 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
7280         * allout.el (allout-encryption-plaintext-sanitization-regexps):
7281         * frame.el (display-mm-dimensions-alist):
7282         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7283         (outline-move-subtree-down):
7284         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7285         (newsticker--treeview-do-get-node):
7286         * net/quickurl.el (quickurl-list-buffer-name):
7287         * progmodes/dcl-mode.el (dcl-mode):
7288         * progmodes/gdb-mi.el (gdb-mapcar*):
7289         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7291 2011-11-15  Glenn Morris  <rgm@gnu.org>
7293         * mail/rmail.el (rmail-file-coding-system): It's only ever used
7294         in a boolean sense, so just make it a boolean, and fix the doc.
7295         (rmail-show-mime-function, rmail-mime-feature)
7296         (rmail-require-mime-maybe): Doc fixes.
7297         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7299         * mail/rmailmm.el (rmail-show-mime): Doc fix.
7301 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
7303         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7304         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7305         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7306         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7308 2011-11-15  Glenn Morris  <rgm@gnu.org>
7310         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7311         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7312         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7313         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7314         (rmail-mime, rmail-show-mime): Doc fixes.
7316         * term/ns-win.el (mode-line-frame-identification):
7317         Leave it alone.  (Bug#10051)
7319         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
7321         * mail/rmailout.el (rmail-output-to-rmail-buffer):
7322         Handle empty buffers.  (Bug#9978)
7324 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
7326         * international/mule.el (define-charset):
7327         * mail/rmailmm.el (rmail-mime-find-header-encoding):
7328         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7329         * progmodes/verilog-mode.el (verilog-backward-token):
7330         * textmodes/ispell.el (lookup-words):
7331         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7333 2011-11-14  Glenn Morris  <rgm@gnu.org>
7335         * progmodes/executable.el
7336         (executable-make-buffer-file-executable-if-script-p):
7337         Handle file-modes returning nil.
7339         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7340         message - not necessary, and causes problems.  (Bug#9831)
7342         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7344         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7346         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7347         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
7348         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7350 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
7352         * window.el (window-resize, delete-window): Use window-splits
7353         variable instead of function.
7354         (window-state-get-1, window-state-put-2, window-state-put):
7355         Don't deal with windows' splits status.
7357 2011-11-12  Glenn Morris  <rgm@gnu.org>
7359         * apropos.el (apropos-do-all, apropos-library, apropos-value)
7360         (apropos-documentation): Doc fixes.
7362 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
7364         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7365         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7367 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7369         * electric.el (electric-indent-post-self-insert-function): Make it
7370         possible for a char to only indent in some circumstances.
7371         (electric-indent-mode): Simplify.
7373 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
7375         * window.el (windows-with-parameter): Remove unused function.
7376         (windows-at-side): Rename to window-at-side-list.
7377         (window-check, window-atom-check, window-atom-check-1)
7378         (window-side-check, window-size-ignore, window-size-fixed-1)
7379         (window-in-direction-2): Prefix with "window--".
7380         (window-tree-1): Rename to window--subtree, fix doc-string.
7382 2011-11-11  Glenn Morris  <rgm@gnu.org>
7384         * subr.el (eval-after-load): If FILE is already loaded,
7385         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
7387 2011-11-10  Glenn Morris  <rgm@gnu.org>
7389         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7390         Call svn via vc-svn-command rather than vc-do-command.
7391         (vc-svn-command): Add --non-interactive.  (Bug#9993)
7392         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7394         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7395         Add toggle-read-only.  (Bug#7292)
7396         * files.el (toggle-read-only): Mention that it should only
7397         be used interactively.  (Bug#10006)
7399 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7401         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7402         Adjust regexp for OCaml warnings.
7404         * electric.el (electric-pair-post-self-insert-function): Let user
7405         turn it off buffer-locally (bug#9932).
7407         * progmodes/python.el (python-beginning-of-statement):
7408         Rewrite (bug#2703).
7410         * progmodes/compile.el: Better handle TABs (bug#9749).
7411         (compilation-internal-error-properties)
7412         (compilation-next-error-function): Obey the target buffer's
7413         compilation-error-screen-columns.
7415 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
7417         * progmodes/meta-mode.el: Remove obsolete comments.
7418         (meta-right-comment-regexp, meta-ignore-comment-regexp):
7419         Fix typos in docstrings.
7421 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
7423         * window.el (window-size-fixed-p): Rewrite doc-string.
7424         (window-resizable-p): Rename to window--resizable-p.  Update callers.
7425         (window--resizable): New function.  Make all callers of
7426         window-resizable call window--resizable instead.
7427         (window-resizable): Rewrite in terms of window--resizable.
7429 2011-11-08  Glenn Morris  <rgm@gnu.org>
7431         * progmodes/delphi.el (delphi-mode-syntax-table):
7432         Let define-derived-mode define a proper syntax table.  (Bug#9994)
7434 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7436         * window.el: Stay away from defsubst.
7437         (window-list-no-nils): Remove.
7438         (window-state-get-1, window-state-get): Use backquote instead.
7440 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7442         * emacs-lisp/find-func.el (find-function-read):
7443         Fix incorrect use of default argument in `completing-read'.
7445 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
7447         * window.el (display-buffer-function, special-display-function):
7448         Mention display-buffer-record-window but do not mention
7449         help-setup parameter in doc-strings.
7450         (window-min-delta): Fix doc-string typo.
7452 2011-11-08  Chong Yidong  <cyd@gnu.org>
7454         * window.el (window-total-height, window-total-width): Doc fix.
7455         (window-body-size): Move from C.
7456         (window-body-height, window-body-width): Move to C.
7458 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7460         * window.el: Make special-display like display-buffer-alist (bug#9532).
7461         (display-buffer--special-action): New function, morphed
7462         from display-buffer--special.
7463         (display-buffer): Use it to handle special-display-buffers at higher
7464         priority (just after display-buffer-alist).
7465         (display-buffer-fallback-action, display-buffer--other-frame-action)
7466         (pop-to-buffer-same-window): Remove display-buffer--special.
7468 2011-11-07  Glenn Morris  <rgm@gnu.org>
7470         * calendar/cal-menu.el (cal-menu-set-date-title):
7471         Do nothing if not in a calendar.  (Bug#9976)
7473 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7475         * files.el (find-file): Always use selected-window.
7477 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
7479         * window.el (window-combinations): Make WINDOW argument
7480         mandatory.  Rewrite doc-string.
7481         (walk-window-subtree, window-atom-check, window-min-delta)
7482         (window-max-delta, window--resize-this-window)
7483         (window--resize-root-window-vertically, window-tree)
7484         (balance-windows, window-state-put): Rewrite doc-strings as to
7485         not mention the term "subwindow".
7486         (window--resize-subwindows-skip-p): Rename to
7487         window--resize-child-windows-skip-p.
7488         (window--resize-subwindows-normal): Rename to
7489         window--resize-child-windows-normal.
7490         (window--resize-subwindows): Rename to
7491         window--resize-child-windows.
7492         (window-or-subwindow-p): Rename to window--in-subtree-p.
7494 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7496         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7497         Ensure that mbox format messages end in two newlines (Bug#9974).
7499 2011-11-06  Chong Yidong  <cyd@gnu.org>
7501         * window.el (window-combination-p): Function deleted; its
7502         side-effect is not used in any existing code.
7503         (window-combinations, window-combined-p): Call window-*-child
7504         directly.
7506 2011-11-05  Chong Yidong  <cyd@gnu.org>
7508         * window.el (window-valid-p): Rename from window-any-p.
7509         (window-size-ignore, window-state-get): Callers changed.
7510         (window-normalize-window): Rename from window-normalize-any-window.
7511         New arg LIVE-ONLY, replacing window-normalize-live-window.
7512         (window-normalize-live-window): Delete.
7513         (window-combination-p, window-combined-p, window-combinations)
7514         (walk-window-subtree, window-atom-root, window-min-size)
7515         (window-sizable, window-sizable-p, window-size-fixed-p)
7516         (window-min-delta, window-max-delta, window-resizable)
7517         (window-resizable-p, window-full-height-p, window-full-width-p)
7518         (window-current-scroll-bars, window-point-1, set-window-point-1)
7519         (window-at-side-p, window-in-direction, window-resize)
7520         (adjust-window-trailing-edge, maximize-window, minimize-window)
7521         (window-deletable-p, delete-window, delete-other-windows)
7522         (record-window-buffer, unrecord-window-buffer)
7523         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7524         (quit-window, split-window, window-state-put)
7525         (set-window-text-height, fit-window-to-buffer)
7526         (shrink-window-if-larger-than-buffer): Callers changed.
7528 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
7530         * mail/rmail.el (rmail-simplified-subject): Decode subject with
7531         rfc2047-decode-string.
7532         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7533         warnings.
7535         * window.el (window-body-height, window-body-width): Mention in
7536         the doc string that the return values are in frame's canonical
7537         units.  (Bug#9949)
7539 2011-11-03  Alan Mackenzie  <acm@muc.de>
7541         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7542         change in cc-engine.el.
7544 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7546         * window.el (switch-to-buffer): Use `force-same-window' interactively.
7548 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
7550         * window.el (quit-window): Call unrecord-window-buffer after
7551         showing another buffer in the window.  (Bug#9937)
7552         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7554 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
7556         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7557         Accept status with more than 9 shelves.  (Bug#9935)
7558         Reported by Colin D Bennett <colin@gibibit.com>.
7560 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
7562         * help.el (with-help-window): Don't reference
7563         temp-buffer-show-specifiers in doc-string.
7565 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7567         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7568         menu-item.
7570 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7572         * whitespace.el: New version 13.2.2.
7573         (whitespace-newline-mode): Disable properly.  Reported by Sarah
7574         <EmacsWiki>.
7576 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
7578         * net/newst-treeview.el: Remove "Time-stamp".
7579         (newsticker--group-manage-orphan-feeds): Do not call
7580         newsticker--treeview-tree-update.
7581         (newsticker-treeview-update, newsticker-treeview):
7582         Call newsticker--treeview-tree-update if necessary.
7584 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
7586         * window.el (window-iso-combination-p, window-iso-combined-p)
7587         (window-iso-combinations): Remove "iso-" infix.
7588         Suggested by Chong Yidong.
7589         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7590         (window-max-delta-1, window-resize, window--resize-siblings)
7591         (window--resize-this-window, adjust-window-trailing-edge)
7592         (split-window, balance-windows-1)
7593         (shrink-window-if-larger-than-buffer):
7594         * calendar/calendar.el (calendar-generate-window):
7595         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7597 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7599         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7600         in place (bug#9907).
7601         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7602         (eshell-rewrite-if-command, eshell-rewrite-for-command)
7603         (eshell-structure-basic-command, eshell-rewrite-while-command)
7604         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7605         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7606         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7607         (eshell-do-pipelines-synchronously, eshell-eval-command):
7608         Use backquotes and prefer setq to set.
7609         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7610         (eshell-macrop): Use functionp.
7611         (eshell-do-eval): Handle multiple expressions in `while' body.
7613 2011-10-30  Chong Yidong  <cyd@gnu.org>
7615         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7616         instead of set-mark (Bug#9810).
7618 2011-10-30  Chong Yidong  <cyd@gnu.org>
7620         * window.el (split-window-below, split-window-right): Rename from
7621         split-window-above-each-other and split-window-side-by-side
7622         respectively.  All callers changed.
7623         (split-window-sensibly, split-window-sensibly): Use them.
7624         (split-window-keep-point): Doc fix.
7626         * isearch.el: Add isearch-scroll property to split-window-below
7627         and split-window-right.
7629         * follow.el (follow-mode):
7630         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7631         * progmodes/ada-xref.el (ada-gdb-application):
7632         * emulation/vip.el (vip-buffer-in-two-windows):
7633         * image-dired.el (image-dired-dired-with-window-configuration):
7634         * dired-x.el (dired-do-find-marked-files):
7635         * dired.el (dired-pop-to-buffer):
7636         * bs.el (bs--show-with-configuration):
7637         * vc/emerge.el (emerge-setup-windows):
7638         * textmodes/two-column.el (2C-two-columns):
7639         * textmodes/reftex-toc.el (reftex-toc):
7640         * progmodes/gdb-mi.el (gdb-setup-windows):
7641         * progmodes/fortran.el (fortran-window-create):
7642         * net/newst-treeview.el (newsticker--treeview-window-init):
7643         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7644         * emulation/tpu-edt.el (tpu-gold-map):
7645         * emulation/crisp.el (crisp-mode-map):
7646         * calendar/calendar.el (calendar-basic-setup): Callers changed.
7648 2011-10-29  Chong Yidong  <cyd@gnu.org>
7650         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7652         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7654         * textmodes/flyspell.el (flyspell-word): Fix char offset for
7655         forged Ispell output (Bug#7904).
7657         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7659 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7661         * doc-view.el: Avoid ugly errors about not finding nil.
7662         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7663         (doc-view-dvipdf-program, doc-view-unoconv-program)
7664         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7665         Avoid nil or absolute file name as default value.
7666         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7668 2011-10-28  Alan Mackenzie  <acm@muc.de>
7670         * progmodes/cc-defs.el (c-version): -> 5.32.2.
7672 2011-10-28  Alan Mackenzie  <acm@muc.de>
7674         Amend the handling of c-beginning/end-of-defun in nested declaration
7675         scopes.
7677         * progmodes/cc-vars.el (c-defun-tactic): Move here from
7678         cc-langs.el.  Change it to a defcustom.
7680         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7681         cc-vars.el.
7683         * progmodes/cc-engine.el (c-beginning-of-statement-1):
7684         Prevent "class foo : bar" being spuriously recognized as a label.
7686         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7687         Add parameter `inclusive' (to include enclosing braces in the region).
7688         (c-widen-to-enclosing-decl-scope): New function.
7689         (c-while-widening-to-decl-block): New macro.
7690         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7691         outward for defun boundaries, and correspondingly change symbol
7692         `respect-enclosure' to `go-outward'.
7693         (c-declaration-limits): Change algorithm to report only the "innermost"
7694         defun's boundaries.
7696 2011-10-28  Deniz Dogan  <deniz@dogan.se>
7698         * net/rcirc.el (rcirc-mode): Use hard newlines.
7700 2011-10-28  Alan Mackenzie  <acm@muc.de>
7702         Amend to indent and fontify macros "which include their own semicolon"
7703         correctly, using the "virtual semicolon" mechanism.
7705         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7707         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7708         Recode to scan one line at a time rather than having \n and \r
7709         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7710         (c-forward-label): Amend for virtual semicolons.
7711         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7713         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7714         of the new C macros.
7716         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7717         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7718         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7719         (c-opt-cpp-macro-define): Make into a full language variable.
7720         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7721         AWK Mode (including \n, \r) removed, no longer needed.
7723         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7724         Invoke c-make-macro-with-semi-re.
7726         * progmodes/cc-vars.el (c-macro-with-semi-re):
7727         (c-macro-names-with-semicolon): New variables.
7728         (c-make-macro-with-semi-re): New function.
7730 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7732         * vc/log-edit.el: Fill empty field rather than adding new one.
7733         (log-edit-add-field): New function.
7734         (log-edit-insert-changelog): Use it.
7736 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7738         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7740 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7742         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7743         (gdb--check-interpreter): New function.
7744         (gdb): Use it.
7746 2011-10-27  Glenn Morris  <rgm@gnu.org>
7748         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7749         (least-positive-float, least-negative-float)
7750         (least-positive-normalized-float, least-negative-normalized-float)
7751         (float-epsilon, float-negative-epsilon):
7752         Remove unnecessary declarations.
7754         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7755         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7756         (least-positive-float, least-negative-float)
7757         (least-positive-normalized-float, least-negative-normalized-float)
7758         (float-epsilon, float-negative-epsilon): Add doc-strings,
7759         based on those in cl.texi.
7761         * files.el (set-visited-file-name): If the major-mode changed,
7762         reload the local variables.  (Bug#9796)
7764 2011-10-27  Chong Yidong  <cyd@gnu.org>
7766         * subr.el (change-major-mode-after-body-hook): New hook.
7767         (run-mode-hooks): Run it.
7769         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7770         Use change-major-mode-before-body-hook.
7772         * simple.el (fundamental-mode):
7773         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7774         change introducing fundamental-mode-hook.
7776 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
7778         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7780 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
7782         * ido.el (ido-file-name-all-completions-1): Do not require
7783         tramp.el explicitly.  (Bug#7583)
7785 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7787         * progmodes/octave-mod.el:
7788         * progmodes/octave-inf.el: Update maintainer.
7790 2011-10-26  Chong Yidong  <cyd@gnu.org>
7792         * subr.el (with-wrapper-hook): Rewrite doc.
7794 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
7796         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7797         filenames "/method:foo:".  (Bug#9793)
7799 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7801         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7802         (bug#9865).
7804 2011-10-24  Glenn Morris  <rgm@gnu.org>
7806         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
7808 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
7810         * notifications.el: Add the requirement of a running D-Bus session
7811         bus to the Commentary.
7813 2011-10-24  Juri Linkov  <juri@jurta.org>
7815         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7816         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7817         (Bug#9364)
7819 2011-10-24  Juri Linkov  <juri@jurta.org>
7821         * info.el (Info-following-node-name-re): Add newline to the list
7822         of allowed characters for leading space.  (Bug#9824)
7824 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7826         * progmodes/octave-inf.el (inferior-octave-mode-map):
7827         Fix C-c C-h binding.
7828         * progmodes/octave-mod.el (octave-help): Remove.
7830 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
7832         Sync with Tramp 2.2.3.
7834         * net/tramp-cache.el (top): Pacify byte-compiler using
7835         `init-file-user' and `site-run-file'.
7837         * net/trampver.el: Update release number.
7839 2011-10-23  Chong Yidong  <cyd@gnu.org>
7841         * files.el (toggle-read-only): Remove obsolete comment about
7842         version control.
7844         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7845         for toggle-read-only.  Note that this hasn't called vc-next-action
7846         since 2008-05-02, though it wasn't documented at the time.
7848         * vc/ediff-init.el (ediff-toggle-read-only-function):
7849         Use toggle-read-only.
7851 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
7853         Fix bug #9560, sporadic wrong indentation; improve instrumentation
7854         of c-parse-state.
7856         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7857         correct faulty logical expression.
7858         (c-parse-state-state, c-record-parse-state-state):
7859         (c-replay-parse-state-state): New defvar/defuns.
7860         (c-debug-parse-state): Use new functions.
7862 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
7864         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7865         last fix.  Use window-in-direction correctly.
7867 2011-10-21  Chong Yidong  <cyd@gnu.org>
7869         * progmodes/idlwave.el (idlwave-mode):
7870         * progmodes/vera-mode.el (vera-mode): No need to set
7871         require-final-newline; that's done in prog-mode.
7872         Suggested by Stefan Monnier.
7874 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
7876         * mouse.el (mouse-drag-window-above)
7877         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7878         (mouse-drag-mode-line-1, mouse-drag-header-line)
7879         (mouse-drag-vertical-line-rightward-window): Remove.
7880         (mouse-drag-line): New function.
7881         (mouse-drag-mode-line, mouse-drag-header-line)
7882         (mouse-drag-vertical-line): Call mouse-drag-line.
7883         * window.el (window-at-side-p, windows-at-side): New functions.
7885 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
7887         * tar-mode.el (tar-grind-file-mode):
7888         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
7890 2011-10-21  Chong Yidong  <cyd@gnu.org>
7892         * progmodes/idlwave.el (idlwave-mode):
7893         * progmodes/vera-mode.el (vera-mode):
7894         Use mode-require-final-newline.
7896 2011-10-20  Glenn Morris  <rgm@gnu.org>
7898         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
7900 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
7902         * emulation/cua-base.el (cua-set-mark): Fix case of string.
7904 2011-10-20  Chong Yidong  <cyd@gnu.org>
7906         * emulation/cua-base.el (cua-mode):
7907         * mail/footnote.el (footnote-mode):
7908         * mail/mailabbrev.el (mail-abbrevs-mode):
7909         * net/xesam.el (xesam-minor-mode):
7910         * progmodes/bug-reference.el (bug-reference-mode):
7911         * progmodes/cap-words.el (capitalized-words-mode):
7912         * progmodes/compile.el (compilation-minor-mode)
7913         (compilation-shell-minor-mode):
7914         * progmodes/gud.el (gud-tooltip-mode):
7915         * progmodes/hideif.el (hide-ifdef-mode):
7916         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7917         * progmodes/subword.el (subword-mode):
7918         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7919         * progmodes/which-func.el (which-function-mode):
7920         * term/tvi970.el (tvi970-set-keypad-mode):
7921         * term/vt100.el (vt100-wide-mode):
7922         * textmodes/flyspell.el (flyspell-mode):
7923         * textmodes/ispell.el (ispell-minor-mode):
7924         * textmodes/nroff-mode.el (nroff-electric-mode):
7925         * textmodes/paragraphs.el (use-hard-newlines):
7926         * textmodes/refill.el (refill-mode):
7927         * textmodes/reftex.el (reftex-mode):
7928         * textmodes/rst.el (rst-minor-mode):
7929         * textmodes/sgml-mode.el (html-autoview-mode)
7930         (sgml-electric-tag-pair-mode):
7931         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7932         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7933         * emulation/crisp.el (crisp-mode):
7934         * emacs-lisp/eldoc.el (eldoc-mode):
7935         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7936         minor mode behavior.
7938 2011-10-19  Juri Linkov  <juri@jurta.org>
7940         * descr-text.el (describe-char): Add #x2010 and #x2011 to
7941         the list of hard-coded chars with escape-glyph face.
7943 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7945         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7947 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
7949         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7950         running process.
7952 2011-10-19  Glenn Morris  <rgm@gnu.org>
7954         * vc/vc-bzr.el (vc-bzr-after-dir-status):
7955         Ignore ignored files.  (Bug#9726)
7957 2011-10-19  Chong Yidong  <cyd@gnu.org>
7959         Doc fix for minor modes, stating that an omitted argument enables
7960         the mode unconditionally when called from Lisp.
7962         * abbrev.el (abbrev-mode):
7963         * allout.el (allout-mode):
7964         * autoinsert.el (auto-insert-mode):
7965         * autoarg.el (autoarg-mode, autoarg-kp-mode):
7966         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7967         (global-auto-revert-mode):
7968         * battery.el (display-battery-mode):
7969         * composite.el (global-auto-composition-mode)
7970         (auto-composition-mode):
7971         * delsel.el (delete-selection-mode):
7972         * desktop.el (desktop-save-mode):
7973         * dired-x.el (dired-omit-mode):
7974         * dirtrack.el (dirtrack-mode):
7975         * doc-view.el (doc-view-minor-mode):
7976         * double.el (double-mode):
7977         * electric.el (electric-indent-mode, electric-pair-mode):
7978         * emacs-lock.el (emacs-lock-mode):
7979         * epa-hook.el (auto-encryption-mode):
7980         * follow.el (follow-mode):
7981         * font-core.el (font-lock-mode):
7982         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7983         * help.el (temp-buffer-resize-mode):
7984         * hilit-chg.el (highlight-changes-mode)
7985         (highlight-changes-visible-mode):
7986         * hi-lock.el (hi-lock-mode):
7987         * hl-line.el (hl-line-mode, global-hl-line-mode):
7988         * icomplete.el (icomplete-mode):
7989         * ido.el (ido-everywhere):
7990         * image-file.el (auto-image-file-mode):
7991         * image-mode.el (image-minor-mode):
7992         * iswitchb.el (iswitchb-mode):
7993         * jka-cmpr-hook.el (auto-compression-mode):
7994         * linum.el (linum-mode):
7995         * longlines.el (longlines-mode):
7996         * master.el (master-mode):
7997         * mb-depth.el (minibuffer-depth-indicate-mode):
7998         * menu-bar.el (menu-bar-mode):
7999         * minibuf-eldef.el (minibuffer-electric-default-mode):
8000         * mouse-sel.el (mouse-sel-mode):
8001         * msb.el (msb-mode):
8002         * mwheel.el (mouse-wheel-mode):
8003         * outline.el (outline-minor-mode):
8004         * paren.el (show-paren-mode):
8005         * recentf.el (recentf-mode):
8006         * reveal.el (reveal-mode, global-reveal-mode):
8007         * rfn-eshadow.el (file-name-shadow-mode):
8008         * ruler-mode.el (ruler-mode):
8009         * savehist.el (savehist-mode):
8010         * scroll-all.el (scroll-all-mode):
8011         * scroll-bar.el (scroll-bar-mode):
8012         * server.el (server-mode):
8013         * shell.el (shell-dirtrack-mode):
8014         * simple.el (auto-fill-mode, transient-mark-mode)
8015         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8016         (line-number-mode, column-number-mode, size-indication-mode)
8017         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8018         * strokes.el (strokes-mode):
8019         * time.el (display-time-mode):
8020         * t-mouse.el (gpm-mouse-mode):
8021         * tool-bar.el (tool-bar-mode):
8022         * tooltip.el (tooltip-mode):
8023         * type-break.el (type-break-mode-line-message-mode)
8024         (type-break-query-mode):
8025         * view.el (view-mode):
8026         * whitespace.el (whitespace-mode, whitespace-newline-mode)
8027         (global-whitespace-mode, global-whitespace-newline-mode):
8028         * xt-mouse.el (xterm-mouse-mode): Doc fix.
8030         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8031         Fix autogenerated docstring.
8033 2011-10-19  Juri Linkov  <juri@jurta.org>
8035         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8036         by checking environment variables "DESKTOP_SESSION" and
8037         "XDG_CURRENT_DESKTOP".  (Bug#9779)
8039 2011-10-19  Juri Linkov  <juri@jurta.org>
8041         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8042         (browse-url-chromium-program, browse-url-chromium-arguments):
8043         New defcustoms.
8044         (browse-url-default-browser): Check for `browse-url-chromium' and
8045         call `browse-url-chromium-program'.
8046         (browse-url-chromium): New command.  (Bug#9779)
8048 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
8050         * facemenu.el (list-colors-duplicates): On Windows, detect more
8051         duplicates by assuming that only colors matching "^System" are
8052         special "system colors".  (Bug#9722)
8054 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8056         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8057         to distinguish the author from the committer.
8059 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
8061         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8063 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
8065         * international/mule.el (sgml-html-meta-auto-coding-function):
8066         Add support for detecting encoding in HTML5 specified only as
8067         <meta charset="UTF-8">.  Implementation just makes http-equiv and
8068         content-type parts from HTML4 encoding string optional.  (Bug#9716)
8070 2011-10-18  Glenn Morris  <rgm@gnu.org>
8072         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
8074 2011-10-18  Chong Yidong  <cyd@gnu.org>
8076         * faces.el (cursor): Doc fix.
8078 2011-10-17  Chong Yidong  <cyd@gnu.org>
8080         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8082 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
8084         * dirtrack.el (dirtrack): Support shell buffers with path
8085         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
8087 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
8089         * json.el: Bump version to 1.3 and note change in History.
8090         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8092 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8094         * comint.el (comint-insert-input, comint-send-input)
8095         (comint-get-old-input-default, comint-backward-matching-input)
8096         (comint-next-prompt): Use nil instead of `input' for field property of
8097         past user input (bug#114).
8099         * minibuffer.el (completion--replace): Inherit surrounding properties
8100         (bug#114).
8101         (minibuffer-complete-and-exit): Use it.
8103         * comint.el (comint--table-subvert): Quote the all-completions output
8104         (bug#9160).
8106 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
8108         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8110         * menu-bar.el (menu-bar-file-menu): Add entry for making new
8111         window on right of selected.  (Bug#9350) Reword other window
8112         entries and separate them from frame entries.
8114 2011-10-15  Glenn Morris  <rgm@gnu.org>
8116         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8117         Doc fixes.
8119 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
8121         * net/network-stream.el (network-stream-open-starttls):
8122         Improve detection of failure due to lack of TLS support.
8124         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8125         putting the input text in front and in bold.
8127 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8129         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8131         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8132         empty buffer.
8134         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8135         unread-command-events rather than pushing yet-another event.
8137 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
8139         * mail/sendmail.el (sendmail-query-once): Improve the wording of
8140         the explanation of the possible choices.  Make the options passed
8141         to completing-read shorter.
8143 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8145         * textmodes/flyspell.el (flyspell-large-region): Make sure
8146         extended character mode is used if defined (Bug#1339).
8148 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
8150         * simple.el (what-cursor-position): Fix the display of the
8151         character info for LRE, LRO, RLE, and RLO characters by appending
8152         an invisible PDF.
8154 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8156         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8157         even in case of error; add debug spec; simplify data flow.
8158         (with-timeout-handler): Remove.
8160 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
8162         Fix Bug#6019, Bug#9315.
8164         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8165         complete `buffer-file-name', the local file name part could look
8166         remotely (for example on VMS).
8168         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8169         `tramp-run-real-handler'.
8170         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8171         already quoted by '"'.
8173         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8174         Let `file-name-handler-alist' be nil, the local file name part
8175         could look remotely (for example on VMS).
8177 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8179         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8180         from here...
8181         (flyspell-post-command-hook): ...to here.
8183 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8185         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8186         if not needed.
8187         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
8188         using completion.  Protect against "slow" callers.
8189         Remove the "message hack".
8191 2011-10-11  Juri Linkov  <juri@jurta.org>
8193         * isearch.el (isearch-lazy-highlight-word): New variable.
8194         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8195         Use it.  (Bug#9727)
8197 2011-10-11  Glenn Morris  <rgm@gnu.org>
8199         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8200         like f90-previous-statement does.
8202 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8204         * eshell/eshell.el (eshell-command): History should be saved
8205         only in interactive use, to avoid error.
8207 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8209         * minibuffer.el (completion-file-name-table): Fix last change,
8210         i.e. ignore normal errors but not the other ones.
8212 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
8214         * window.el (special-display-buffer-names)
8215         (special-display-regexps): Remove some remnants of earlier
8216         changes from doc-strings.
8217         (quit-windows-on): New function.
8219         * vc/vc.el (vc-revert, vc-rollback):
8220         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8221         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
8222         (Bug#6183) (Bug#7074) (Bug#7447)
8224 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
8226         * window.el (frame-auto-hide-function): Add version tag.
8227         (Bug#9699)
8229 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
8231         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8232         condition.
8234 2011-10-09  Leo Liu  <sdl.web@gmail.com>
8236         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8237         (Bug#9701)
8239 2011-10-08  Glenn Morris  <rgm@gnu.org>
8241         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8242         before the first code statement zero indent.  (Bug#9690)
8244 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
8246         * simple.el (count-words-region): Always count in the region.
8247         Report the number of lines and characters too.
8248         (count-words): New command, which counts in the buffer if the
8249         region is inactive, as count-words-region used to.
8250         (count-words--message): New function.  Handle plurals.
8251         (count-lines-region): Make it an alias for count-words-region.
8253         * bindings.el (esc-map): Replace count-lines-region with
8254         count-words-region.
8256 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
8258         * window.el (window--delete): Delete dedicated frame
8259         unconditionally when argument KILL is non-nil.  (Bug#9699)
8260         (switch-to-buffer): Fix doc-string typo.
8262 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8264         * eshell/eshell.el (eshell-command): Avoid using hooks.
8266 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
8268         * bindings.el ([M-left],[M-right]): Bind to left-word and
8269         right-word respectively.
8271 2011-10-07  Glenn Morris  <rgm@gnu.org>
8273         * cus-start.el (debug-on-quit): Fix custom type.
8275 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8277         * subr.el (define-key-after): Clarify that the function is not
8278         useful for non-menu keymaps.
8280         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8282 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8284         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8285         in current minibuffer (Fix bug with recursive minibuffers).
8287 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
8289         * progmodes/gdb-mi.el (gdb): Doc fix.
8291 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
8293         * window.el (frame-auto-hide-function): New option replacing
8294         frame-auto-delete.  Suggested by Stefan Monnier.
8295         (window--delete): Call frame-auto-hide-function instead of
8296         investigating frame-auto-delete.
8297         (window-point-1, set-window-point-1): New functions.
8298         (window-in-direction, record-window-buffer, window-state-get-1)
8299         (display-buffer-record-window): Use window-point-1 instead of
8300         window-point.
8301         (set-window-buffer-start-and-point): Use set-window-point-1.
8303 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8305         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8307 2011-10-05  Glenn Morris  <rgm@gnu.org>
8309         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8310         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
8312 2011-10-05  Leo Liu  <sdl.web@gmail.com>
8314         * subr.el (read-char-choice): Fix argument to buffer-live-p which
8315         works with buffer object.
8317 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8319         * mpc.el (mpc-tool-bar-map): Add labels.
8321 2011-10-04  Glenn Morris  <rgm@gnu.org>
8323         * calendar/holidays.el (calendar-check-holidays): Doc fix.
8325 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
8327         * window.el (window--delete): New function.
8328         (frame-auto-delete): Resuscitate option.
8329         (bury-buffer, replace-buffer-in-windows)
8330         (quit-window): Rewrite using window--delete.
8331         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8332         Pass display-buffer-mark-dedicated to window--display-buffer-2
8333         (Bug#9639).
8335 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8337         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8338         returns a list (bug#9554).  Add remote file name completion.
8339         * comint.el (comint--table-subvert): Curry and get quote&unquote
8340         functions as arguments.
8341         (comint--complete-file-name-data): Adjust call accordingly.
8342         * pcomplete.el (pcomplete--table-subvert): Remove.
8343         (pcomplete-completions-at-point): Use comint--table-subvert instead.
8345         * minibuffer.el (completion-table-case-fold): Use currying.
8346         (completion--styles-type, completion--cycling-threshold-type):
8347         New constants.
8348         (completion-styles, completion-category-overrides)
8349         (completion-cycle-threshold): Use them.
8350         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8351         completion-table-case-fold.
8353 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
8355         * minibuffer.el (completion-category-overrides): Fix type of styles
8356         and add more user friendly tags (bug#9660).
8358 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8360         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8361         (mule-input-method-string): New widget.
8362         (default-input-method, language-info-custom-alist): Use it.
8364 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8366         * pcomplete.el: Require comint.
8367         (pcomplete--common-suffix): Remove.
8368         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8369         (pcomplete--table-subvert): Sync with comint--table-subvert.
8370         (pcomplete--entries): Use comint-completion-file-name-table.
8371         * comint.el (comint-unquote-filename): Simplify.
8372         (comint-completion-file-name-table): New function (bug#9616).
8373         (comint--complete-file-name-data): Use it.
8375         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8376         (pcmpl-gnu-tar-buffer): Remove.
8377         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8378         around.  Make sure pcomplete-suffix-list is only changed temporarily.
8379         Don't look inside the tar's file if it's too large.
8381 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
8383         * cus-edit.el (custom-mode-map):
8384         * epa.el (epa-key-list-mode-map):
8385         * man.el (Man-mode-map):
8386         * startup.el (splash-screen-keymap):
8387         * simple.el (special-mode-map): Use scroll-up-command and
8388         scroll-down-command.
8390         * progmodes/idlw-help.el (idlwave-help-mode-map):
8391         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8392         * net/newst-plainview.el (newsticker-mode-map):
8393         * emulation/ws-mode.el (wordstar-mode-map):
8394         * emulation/vi.el (vi-com-map):
8395         * calc/calc-graph.el (calc-graph-show-dumb):
8396         * term/sun.el (terminal-init-sun):
8397         * term/ns-win.el (global-map):
8398         * progmodes/grep.el (grep-mode-map):
8399         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8400         * mail/rmail.el (rmail-mode-map):
8401         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8403         * custom.el (custom-safe-themes, load-theme): Treat value of t for
8404         custom-safe-themes as special.
8406 2011-10-01  Julien Danjou  <julien@danjou.info>
8408         * notifications.el (notifications-notify): Fix docstring.
8410 2011-10-01  Per Starbäck  <per@starback.se>
8412         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
8414 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
8416         * startup.el (command-line-1): Fix last fix by inserting
8417         initial-scratch-message into *scratch* before displaying it.
8418         (Bug#9605) and (Bug#9636)
8420 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
8422         * simple.el (line-move): If auto-hscroll-mode is disabled and the
8423         window is hscrolled, move by logical lines.  (Bug#9607)
8424         (line-move-visual): Update the doc string to the above effect.
8426 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
8428         * window.el (display-buffer-record-window): When WINDOW is the
8429         selected window use `point' instead of `window-point'.  (Bug#9626)
8431         * startup.el (command-line-1): Use insert-before-markers when
8432         inserting initial-scratch-message.  (Bug#9605)
8434         * help.el (help-window): Remove variable.
8436 2011-09-29  Glenn Morris  <rgm@gnu.org>
8438         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8440 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
8442         * descr-text.el (describe-char-categories): Accept category
8443         descriptions more than one line long.
8445 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8447         * simple.el (delete-trailing-whitespace): Fix last change.
8449         * progmodes/perl-mode.el (perl-syntax-propertize-function):
8450         Don't confuse "y => 3" as the beginning of a `y' operation.
8452         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8453         object has more than 4 slots (bug#9613).
8455 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
8457         * subr.el (with-output-to-temp-buffer):
8458         * net/quickurl.el (quickurl, quickurl-browse-url):
8459         Fix typos in docstrings.
8461 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
8463         * minibuffer.el (completion-styles)
8464         (completion-category-overrides): Cross reference each other in doc
8465         strings.
8467 2011-09-27  Glenn Morris  <rgm@gnu.org>
8469         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8470         to split-string.  (Bug#9606)
8472 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8474         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8475         (bug#9615).
8477 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
8479         * emacs-lisp/package.el (list-packages): Fix echo area message.
8481 2011-09-27  Leo Liu  <sdl.web@gmail.com>
8483         * ido.el (ido-read-internal): Accept cons cell HIST arg.
8485 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
8487         * net/dbus.el (dbus-unregister-object): Don't release services for
8488         registered signals.  (Bug#9581)
8490 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
8492         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8493         function that picks between cfengine 2 and 3 support
8494         automatically.  Update docs accordingly.
8496 2011-09-22  Kenichi Handa  <handa@m17n.org>
8498         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8499         ZERO.
8500         (indian-itrans-v5-table-for-tamil): New variable.
8501         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8503 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
8505         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8506         that's true if the current command involved collapsing of text.
8507         It's reset to false at the beginning of the next command.
8508         (allout-post-command-business): Move the cursor to the beginning
8509         of entry if the cursor is hidden and collapsing activity just
8510         happened.
8512 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
8514         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8515         tracking (Bug#9541).
8517 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
8519         * net/newst-reader.el (newsticker-html-renderer)
8520         (newsticker-show-news): Automatically load html rendering package
8521         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
8522         because w3m-fill-column is let-bound" and the error "Symbol's value
8523         as variable is void: w3m-fill-column".
8525 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
8527         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8528         Release services only if they are defined.  (Bug#9581)
8530 2011-09-23  Richard Stallman  <rms@gnu.org>
8532         * textmodes/paragraphs.el (forward-sentence): For backwards case,
8533         distinguish start of paragraph from start of its text.
8535         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8537         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8538         (rmail-generate-viewer-buffer): Put that hook on view buffer.
8539         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8541 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
8543         * international/mule-diag.el (mule-diag): Insert a newline after
8544         each fontset description.
8546 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8548         * simple.el (delete-trailing-whitespace):
8549         Document last change; simplify.
8551 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
8553         * simple.el (delete-trailing-whitespace): Also delete
8554         extra newlines at the end of the buffer.
8556         * textmodes/picture.el: Make motion commands obey shift-select-mode.
8557         (picture-newline): Use forward-line so as to ignore fields.
8559 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8561         * subr.el (with-wrapper-hook): Fix edebug spec.
8563 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8565         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8566         (bug#4538).
8568 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
8570         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8571         Fix nasty bug using wrong cached values.
8573 2011-09-23  Alan Mackenzie  <acm@muc.de>
8575         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8577 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
8579         * window.el (pop-to-buffer): Ensure right window is selected if we
8580         chose another frame.
8582 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
8584         * simple.el (what-cursor-position): Use get-char-property-change
8585         and next-single-char-property-change, to be able to show display
8586         properties that come from overlays as well as text properties.
8588 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
8590         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8592         * cmuscheme.el (run-scheme, switch-to-scheme):
8593         * cus-edit.el (customize-group, custom-buffer-create)
8594         (customize-browse):
8595         * info.el (info):
8596         * shell.el (shell):
8597         * mail/sendmail.el (mail):
8598         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8600 2011-09-22  Richard Stallman  <rms@gnu.org>
8602         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8603         move back only to line beg, don't move back over blank lines.
8605 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
8607         * files.el (copy-directory): Set directory attributes only in case
8608         they could be retrieved from the source directory.  (Bug#9565)
8610 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
8612         * progmodes/hideshow.el (hs-looking-at-block-start-p)
8613         (hs-find-block-beginning, hs-hide-level-recursive):
8614         Ignore strings as well as comments.  (Bug#9502)
8616 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
8618         * progmodes/sql.el (sql-comint-postgres):
8619         Convert port number to a string.  (Bug#9566)
8621 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
8623         * window.el (quit-window): Undedicate window when switching to
8624         previous buffer.  Reported by Thierry Volpiatto
8625         <thierry.volpiatto@gmail.com>.
8626         (special-display-popup-frame): When popping up a new frame reset
8627         its previous buffers to nil.  Simplify code.
8629 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
8631         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8632         and process filter, as done also in `shell-command'.
8634 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
8636         * window.el (set-window-buffer-start-and-point):
8637         Call set-window-start with NOFORCE argument t.
8638         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8639         (quit-window): Reword doc-string.  Handle new format of
8640         quit-restore parameter.  Don't delete window if it has a
8641         previous buffer we can show instead of the present one.
8642         (display-buffer-record-window): Rewrite using a new format for
8643         the quit-restore window parameter
8644         (special-display-popup-frame, display-buffer-same-window)
8645         (display-buffer-reuse-window, display-buffer-pop-up-frame)
8646         (display-buffer-pop-up-window, display-buffer-use-some-window):
8647         Adapt symbol passed to display-buffer-record-window.
8648         * help.el (help-window-setup): Handle new format of quit-restore
8649         parameter.
8651 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8653         * faces.el (face-list): Fix docstring (bug#9564).
8655         * window.el (display-buffer--action-function-custom-type):
8656         Don't include internal functions in the Custom interface.
8658 2011-09-20  Juri Linkov  <juri@jurta.org>
8660         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8661         (Info-forward-node, Info-backward-node, Info-next-preorder)
8662         (Info-last-preorder): Use it.  (Bug#9528)
8664 2011-09-20  Juri Linkov  <juri@jurta.org>
8666         * info.el (Info-last-preorder): Visit last menu item only when
8667         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8669 2011-09-20  Julien Danjou  <julien@danjou.info>
8671         * password-cache.el (password-cache-remove): Remove entries even if the
8672         value is nil, so that password with a nil value (negative caching) is
8673         possible to invalidate.
8675 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
8677         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8678         all whitespace around breakpoint.  (Bug#9553)
8679         (f90-find-breakpoint): Only break at whitespace inside a comment.
8681 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8683         * minibuffer.el (completion-file-name-table): Keep track of errors.
8684         (completion-table-with-predicate): Handle the case where pred1 is nil.
8685         * pcomplete.el (pcomplete-completions-at-point): Simplify.
8687 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8689         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8690         (debugger-return-value): Signal an error if the debugging context does
8691         not await any return value.
8693         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8694         * image-mode.el (image-toggle-display-text)
8695         (image-toggle-display-image): Stay away from evil `intangible'.
8697 2011-09-19  Leo Liu  <sdl.web@gmail.com>
8699         * replace.el (occur-revert-arguments): Make it permanent-local.
8700         (occur-mode): Don't call font-lock-defontify.
8702 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
8704         * net/ldap.el (ldap-search-internal): Don't push empty search
8705         result (Bug#9508).
8707 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8709         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8711 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
8713         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8714         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8716 2011-09-18  Juri Linkov  <juri@jurta.org>
8718         * buff-menu.el (Buffer-menu-mode-map):
8719         * dired.el (dired-mode-map):
8720         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8721         (lisp-interaction-mode-map):
8722         * emacs-lisp/package.el (package-menu-mode-map):
8723         * epa.el (epa-key-list-mode-map):
8724         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8725         (menu-bar-options-menu):
8726         * outline.el (outline-mode-menu-bar-map):
8727         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8728         * vc/vc-dir.el (vc-dir-menu-map):
8729         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8730         Capitalize non-function content words in menu item strings.
8732         * dired.el (dired-mode-map): Add menu item for
8733         `image-dired-dired-toggle-marked-thumbs'.
8735 2011-09-18  Juri Linkov  <juri@jurta.org>
8737         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8738         to `isearch-case-fold-search' and restore its original value
8739         after the `isearch-mode' call.
8741 2011-09-18  Juri Linkov  <juri@jurta.org>
8743         * progmodes/grep.el (grep-process-setup): Don't check code for 1
8744         because `zgrep' returns 1 for successful matches (bug#9226).
8746 2011-09-18  Juri Linkov  <juri@jurta.org>
8748         * info.el (Info-extract-menu-node-name): Check the second match
8749         for empty string (second test-case of bug#9528).
8750         (Info-last-preorder): Let-bind `Info-history' to nil to not add
8751         intermediate nodes to the history (first test-case of bug#9528).
8753 2011-09-18  Juri Linkov  <juri@jurta.org>
8755         * info.el (Info-mode-syntax-table): New variable.
8756         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8758 2011-09-18  Juri Linkov  <juri@jurta.org>
8760         * info.el (Info-file-supports-index-cookies):
8761         Increment line-beginning-position's arg from 3 to 4 because makeinfo
8762         outputs one more line for long file names (bug#4142).
8764 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
8766         * newcomment.el (comment-normalize-vars): If prompting for
8767         comment-start, set comment-start-skip too (Bug#8424).
8769 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
8771         * icomplete.el: Fix previous fix of Bug#5849.
8772         (icomplete-mode): Don't set completion-show-inline-help.
8773         (icomplete-minibuffer-setup): Set completion-show-inline-help
8774         locally during icompletion.
8776 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
8778         * woman.el (woman2-process-escapes): Don't delete unrecognized
8779         escapes (Bug#7843).
8781         * files.el (inhibit-first-line-modes-regexps): Add image files.
8782         (hack-local-variables-prop-line): Return nil for malformed
8783         prop-lines (Bug#9044).
8785 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
8787         * net/tramp.el (top): Don't require 'shell.
8788         (tramp-methods): Fix docstring.
8789         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8790         Return complete remote file name.  Handle "smb" case.
8791         Use `tramp-tmpdir', if defined for the respective method.
8792         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8794         * net/tramp-compat.el (top): Require 'shell.
8796         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8797         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8798         `tramp-current-host'.
8799         (tramp-get-remote-tmpdir): Remove.
8801         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8802         `tramp-tmpdir' entries.
8803         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8804         (tramp-smb-handle-file-attributes): Ignore errors.
8805         (tramp-smb-wait-for-output): Check also for process end.
8807 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8809         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8810         when sending QUIT (bug#9312).
8812 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
8814         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8815         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8816         occur-mode-display-occurrence.
8817         (occur-edit-mode): Add usage message.
8818         (occur-cease-edit): New command.
8819         (occur-after-change-function): Use text properties to find the
8820         position of the prefix text.
8821         (occur-engine): Set stickiness of prefix text properties.
8823 2011-09-17  Glenn Morris  <rgm@gnu.org>
8825         * progmodes/etags.el (complete-tag):
8826         Fix call to completion-in-region.  (Bug#9526)
8828 2011-09-17  Juri Linkov  <juri@jurta.org>
8830         * textmodes/ispell.el (ispell-word): Add to the error message
8831         the word, ispell program name and current dictionary (bug#9121).
8832         (ispell-tex-arg-end): Capitalize "error" in the error message.
8834 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
8836         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8837         check.  (Bug#4251)
8839 2011-09-17  Juri Linkov  <juri@jurta.org>
8841         * window.el (window-safe-min-height, window-safe-min-width):
8842         Fix typos (followup to bug#9522).
8844 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
8846         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8848 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
8850         * simple.el (line-move): If goal-column is set, move by logical
8851         lines, not by display lines.  (Bug#971)
8852         (next-line, previous-line, goal-column, line-move-visual): Doc fix
8853         to reflect the above change.
8855 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8857         * image.el (imagemagick-register-types): Use regexp-opt.
8859 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
8861         * window.el (display-buffer-base-action): Rename from
8862         display-buffer-default-action.  Make default value empty.
8863         (display-buffer-overriding-action): Convert to defvar.
8864         (display-buffer-fallback-action): New var.
8866 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
8868         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8869         declaration.
8870         (package--add-to-archive-contents): If there is a duplicate entry
8871         with an older version, remove it.
8872         (package-menu-mark-delete, package-menu-mark-install)
8873         (package-menu-mark-unmark): Make unused args optional.
8874         (package-menu-mark-obsolete-for-deletion):
8875         Use package-menu-get-status instead of a regexp search.
8876         (package-menu-get-status): Use tabulated-list-entry.
8877         (package-menu-mark-upgrades): New command.
8878         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
8879         (package-menu-execute): Do installation before deletion.
8880         (package-menu-refresh, package-menu-execute): Use derived-mode-p
8881         instead of checking major-mode.
8882         (package-menu--find-upgrades): New function.
8884 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8886         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8887         passwords in the log buffer.
8888         (smtpmail-process-filter): Update the process marker so that the
8889         "broken by peer" status message is inserted in the right place.
8891 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8893         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8894         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8895         bibtex-completion-at-point-function.
8896         (bibtex-completion-at-point-function): Use them.
8898         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8900         * mpc.el (mpc-constraints-tag-lookup): New function.
8901         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8902         also to browser "album|playlist".
8904 2011-09-14  Juri Linkov  <juri@jurta.org>
8906         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
8907         (isearch-edit-string): Use length of `isearch-string' when
8908         `isearch-fail-pos' returns nil.
8909         (isearch-message): Remove duplicate code and call
8910         `isearch-fail-pos' with arg `t'.
8912 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
8914         * replace.el (occur-mode-goto-occurrence): Don't force using other
8915         window (Bug#9499).
8917         * dired-aux.el (dired-do-chmod): Don't provide initial input.
8919 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
8921         * window.el (display-buffer-window): Remove.
8922         (display-buffer-record-window): Use help-setup window parameter
8923         instead of variable display-buffer-window.
8924         (display-buffer-function, special-display-buffer-names)
8925         (special-display-function): Mention help-setup parameter instead
8926         of display-buffer-window in doc-string.
8927         * help.el (help-window-setup): New argument help-window.
8928         Use help-window-setup parameter instead of display-buffer-window.
8929         Reword some messages.
8930         (with-help-window): Pass window used for displaying the buffer
8931         to help-window-setup.  Don't set display-buffer-window.
8933 2011-09-13  Glenn Morris  <rgm@gnu.org>
8935         * emacs-lisp/debug.el (debugger-make-xrefs):
8936         Preserve point.  (Bug#9462)
8938 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
8940         * window.el (window-deletable-p): Use next-frame.
8942 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
8944         * window.el (window-auto-delete): Remove.
8945         (window-deletable-p): Remove argument FORCE.  Don't deal with
8946         dedication and previous buffers.
8947         (switch-to-prev-buffer): Don't delete window.
8948         (delete-windows-on): Delete a window's frame if and only if the
8949         window is dedicated.
8950         (replace-buffer-in-windows): Delete buffer's window or frame if
8951         and only if window is dedicated.
8952         (quit-window): Handle quit-restore as before last change.
8953         (bury-buffer): Delete window only if window-deletable-p returns t.
8955 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
8957         * window.el (window-deletable-p): Never delete the last frame on a
8958         given terminal.
8960 2011-09-13  Glenn Morris  <rgm@gnu.org>
8962         * help.el (describe-key-briefly): Copy previous standard-output change.
8964 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
8966         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
8968 2011-09-13  Glenn Morris  <rgm@gnu.org>
8970         * emacs-lisp/lisp-mode.el (lisp-indent-function):
8971         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8973 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
8975         * dired-aux.el (dired-mark-read-string): Don't return default
8976         value on empty input (Bug#9361).
8977         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8978         Omit initial minibuffer contents.
8979         (dired-do-chmod): Signal an error on empty input.
8980         (dired-mark-read-string): Don't return default on empty input.
8982         * files.el (file-modes-symbolic-to-number): Doc fix.
8984 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8986         * international/mule-cmds.el (ucs-completions): Remove.
8987         (read-char-by-name): Use complete-with-action instead; add metadata.
8989 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
8991         * window.el (display-buffer--action-function-custom-type)
8992         (display-buffer--action-custom-type): New vars.
8993         (display-buffer-alist, display-buffer-default-action)
8994         (display-buffer-overriding-action): Add defcustom types.
8996         * frame.el (delete-other-frames): Doc fix (Bug#276).
8998 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9000         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9002 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
9004         Change modes that used same-window-* vars to use switch-to-buffer.
9006         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9007         Use switch-to-buffer.
9009         * cus-edit.el (customize-group, custom-buffer-create)
9010         (customize-browse, custom-buffer-create-other-window):
9011         Use switch-to-buffer or switch-to-buffer-other-window.
9013         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9014         (Info-prev, Info-up, Info-speedbar-goto-node)
9015         (info-display-manual): Use switch-to-buffer.
9016         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9018         * mail/sendmail.el (mail): Use switch-to-buffer.
9019         (mail-recover): Use switch-to-buffer-other-window.
9021         * cmuscheme.el (run-scheme, switch-to-scheme):
9022         * ielm.el (ielm):
9023         * shell.el (shell):
9024         * net/rlogin.el (rlogin):
9025         * net/telnet.el (telnet, rsh):
9026         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9028 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
9030         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9032 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9034         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9035         so don't mention it (bug#9301).
9036         (dired-sort-toggle-or-edit): Clarify string further.
9038         * faces.el (face-spec-set-match-display): Make `(type graphic)'
9039         match `x', `w32' and `ns', like the manual says (bug#9029).
9041         * subr.el (eval-after-load): Doc string clarification (bug#9125).
9042         (process-kill-buffer-query-function): Mention the buffer name in
9043         the query.
9045         * image-mode.el (image-next-line): The line parameter is mandatory
9046         (bug#9258).
9048         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9049         which can be useful (bug#9301).
9051         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9053         * subr.el (match-string): Mention that the current buffer should
9054         be the same as the search was done in (bug#9282).
9056         * facemenu.el: Disable the remove-* commands if the mark isn't
9057         active (bug#9162).
9059 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
9061         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9062         of display-buffer.
9063         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9065         * replace.el (occur-mode-goto-occurrence)
9066         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9067         and display-buffer.
9069         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9070         display-buffer.
9072         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9073         special-display and same-window variables.
9074         (mail-other-window): Use switch-to-buffer-other-window.
9075         (mail-other-frame): USe switch-to-buffer-other-frame.
9077         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9078         Use display-buffer-other-frame.
9079         (gdb-display-gdb-buffer): Use pop-to-buffer.
9081         * progmodes/gud.el (gud-goto-info): Use info-other-window.
9083         * progmodes/python.el: Don't set same-window-buffer-names.
9085         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9087         * window.el (display-buffer-alist): Add *Python*.
9089 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
9091         * window.el (display-buffer-alist): Add entry for buffers
9092         previously handled same-window-*.
9093         (display-buffer-alist, display-buffer-default-action)
9094         (display-buffer-overriding-action): Mark as risky.
9095         (display-buffer-alist): Document action function changes.
9096         (display-buffer--same-window-action)
9097         (display-buffer--other-frame-action): New variables.
9098         (switch-to-buffer, display-buffer-other-frame): Use them.
9099         (display-buffer): Rename reuse-frame entry to reusable-frames.
9100         (display-buffer-reuse-selected-window): Function deleted.
9101         (display-buffer-reuse-window): Handle reusable-frames alist entry.
9102         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9103         (display-buffer-special): New function.
9104         (display-buffer--maybe-pop-up-frame-or-window): Rename from
9105         display-buffer-reuse-or-pop-window.  Split off special-display
9106         part into display-buffer-special.
9107         (display-buffer-use-some-window): Don't perform any special
9108         pop-up-frames handling.
9109         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9110         (display-buffer--maybe-same-window): Rename from
9111         display-buffer-maybe-same-window.
9113         * info.el: Don't set same-window-regexps.
9114         (info-setup): New function.
9115         (info-other-window, info): Call it.
9117         * cus-edit.el: Don't set same-window-regexps.
9118         (customize-group): New argument.
9119         (customize-group-other-window): Use it.
9120         (customize-face, customize-face-other-window): Likewise.
9121         (custom-buffer-create-other-window): Use pop-to-buffer directly.
9123         * net/rlogin.el:
9124         * net/telnet.el:
9125         * progmodes/gud.el: Don't set same-window-regexps.
9127         * cmuscheme.el:
9128         * ielm.el:
9129         * shell.el:
9130         * mail/sendmail.el:
9131         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9133 2011-09-10  Juri Linkov  <juri@jurta.org>
9135         * isearch.el (isearch-edit-string): Remove obsolete mention of
9136         `C-w' (`isearch-yank-word-or-char') from docstring.
9137         (isearch-query-replace): Fix typo in docstring (bug#9466).
9139 2011-09-10  Juri Linkov  <juri@jurta.org>
9141         * paren.el (show-paren-function): Don't show escaped parens.
9142         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
9144 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
9146         * mail/sendmail.el (mml-to-mime, mml-attach-file)
9147         (mm-default-file-encoding): Remove autoload forms, they are
9148         replaced with autoload cookies in mml.el and mm-encode.el.
9149         (mail-add-attachment): New command.
9150         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9151         (mail-mode): Mention mail-insert-file and mail-add-attachment in
9152         the doc string.
9153         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9155 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
9157         * simple.el (count-words-region): Use buffer if there's no region
9158         (bug#9429).
9160 2011-09-09  Juri Linkov  <juri@jurta.org>
9162         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9163         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9164         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
9166 2011-09-09  Alan Mackenzie  <acm@muc.de>
9168         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9169         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
9171 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
9173         Fix for Savannah bug#9392.
9174         * simple.el (mail-encode-mml): New defvar.
9176         * mail/rmail.el (mail-encode-mml): Add a defvar.
9177         (rmail-enable-mime-composing): Default to t.
9178         (rmail-forward): Use MIME method of forwarding only if both
9179         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9180         Set mail-encode-mml non-nil if the MIME method was used.
9182         * mail/sendmail.el (mml-to-mime): Add autoload form.
9183         (mail-encode-mml): Add a defvar.
9184         (mail-mode): Make mail-encode-mml buffer-local and initialize it
9185         to nil.
9186         (mail-send): If mail-encode-mml is non-nil, run the outgoing
9187         message through mml-to-mime, and reset mail-encode-mml to nil.
9189 2011-09-09  Glenn Morris  <rgm@gnu.org>
9191         * woman.el (woman-if-body): When processing an .el block,
9192         do not delete the next .el block as well.  (Bug#9447)
9193         (woman-special-characters): Add oq, cq, and hy characters.
9195 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
9197         * window.el (window-deletable-p): Make sure window is live before
9198         invoking window-prev-buffers.
9200 2011-09-08  Leo Liu  <sdl.web@gmail.com>
9202         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
9204 2011-09-08  Juri Linkov  <juri@jurta.org>
9206         * progmodes/compile.el (compilation-environment): Make it
9207         a defcustom (bug#8340).
9209 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
9211         * window.el (frame-auto-delete): Rename to window-auto-delete.
9212         Make it control auto-deletion of windows and/or frames.
9213         (window-deletable-p): New argument FORCE.  Rewrite conditions
9214         for deleting window/frame.  (Bug#9419)
9215         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9216         Rewrite handling of case when window/frame can be deleted.
9217         (delete-windows-on): Call window-deletable-p with new FORCE
9218         argument t.  (Bug#9456)
9220 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
9222         * help-mode.el (help-mode): Restore autoload.
9224 2011-09-07  Juri Linkov  <juri@jurta.org>
9226         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9227         `compilation-environment'.  Set buffer-local
9228         `compilation-environment' to `thisenv' later after (funcall mode).
9229         (Bug#8340)
9231         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
9232         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9233         instead of replacing its value.  (Bug#8340)
9235 2011-09-07  Juri Linkov  <juri@jurta.org>
9237         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9238         based on text properties put by `grep-filter' instead of matching
9239         escape sequences.
9240         (grep-mode): Set buffer-local `compilation-error-screen-columns'
9241         to the value of `grep-error-screen-columns' (bug#9438).
9243 2011-09-07  Juri Linkov  <juri@jurta.org>
9245         * simple.el (next-error-highlight, next-error-highlight-no-select):
9246         Doc fix (bug#9432).
9248 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
9250         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9251         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
9253 2011-09-07  Leo Liu  <sdl.web@gmail.com>
9255         * net/rcirc.el (rcirc-mode): Conditionally initialize
9256         rcirc-input-ring.
9258 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9260         * emacs-lisp/find-func.el (find-function-C-source): Only set
9261         find-function-C-source-directory after checking that we found a source
9262         file there (bug#9440).
9264 2011-09-06  Alan Mackenzie  <acm@muc.de>
9266         * isearch.el (isearch-other-meta-char): Wherever a key list is
9267         unread, "unread" the prefix arg, too.  This fixes bug #8901.
9269 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9271         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9273 2011-09-05  Juri Linkov  <juri@jurta.org>
9275         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9277 2011-09-05  Juri Linkov  <juri@jurta.org>
9279         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9280         keeping point where processing of grep matches begins, and
9281         continue to delete remaining escape sequences from the same point.
9282         (grep-filter): Make leading zero optional in "0?1;31m" because
9283         git-grep emits "\033[1;31m" escape sequences unlike expected
9284         "\033[01;31m" as GNU Grep does (bug#9408).
9285         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9287 2011-09-05  Juri Linkov  <juri@jurta.org>
9289         * subr.el (y-or-n-p): Capitalize "yes".
9291 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
9293         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
9294         `tramp-cache-unload-hook' where appropriate.
9295         (tramp-methods): Rename `tramp-remote-sh' to
9296         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
9297         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9299         * net/tramp-sh.el (top): Don't require 'shell.
9300         (tramp-methods): Add `tramp-remote-shell' and
9301         `tramp-remote-shell-args' entries.
9302         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9303         (tramp-sh-handle-shell-command): Remove.
9304         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9305         Use `tramp-remote-shell'.
9307 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
9309         * mail/sendmail.el (sendmail-query-once-function): Delete.
9310         (sendmail-query-once): Save directly to send-mail-function.
9311         Update message-send-mail-function too.
9313         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9315 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
9317         * progmodes/python.el (python-mode-map): Use correct function to
9318         start python interpreter from menu-bar (as reported by Geert
9319         Kloosterman).
9320         (inferior-python-mode-map): Fix typo.
9321         (python-shell-map): Remove.
9323 2011-09-03  Deniz Dogan  <deniz@dogan.se>
9325         * net/rcirc.el (rcirc-print): Simplify code for
9326         rcirc-scroll-show-maximum-output.  There is no need to walk
9327         through all windows to find the right one.
9329 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
9331         * help.el (help-return-method): Doc fix.
9333 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
9335         * window.el (window-deletable-p): Don't return a non-nil value
9336         when there's a buffer that was shown in the window before.
9337         (Bug#9419)
9338         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9339         Set window's previous buffers to nil.
9341 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
9343         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9344         newline before and after the tag line, so it doesn't interfere
9345         with determining the paragraph direction of bidirectional text.
9347 2011-09-03  Leo Liu  <sdl.web@gmail.com>
9349         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
9351 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
9353         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9354         (pop-to-buffer): Change interactive spec.  Pass second argument
9355         directly to display-buffer.
9356         (display-buffer): Fix interactive spec.  Use functionp to
9357         distinguish between a function and a list of functions.
9359         * abbrev.el (edit-abbrevs):
9360         * arc-mode.el (archive-extract):
9361         * autoinsert.el (auto-insert):
9362         * bookmark.el (bookmark-bmenu-list):
9363         * files.el (find-file):
9364         * view.el (view-buffer):
9365         * progmodes/compile.el (compilation-goto-locus):
9366         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9368 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
9370         * window.el (display-buffer-alist): Doc fix.
9371         (display-buffer): Add docstring.  Don't treat
9372         display-buffer-default specially.
9373         (display-buffer-reuse-selected-window)
9374         (display-buffer-same-window, display-buffer-maybe-same-window)
9375         (display-buffer-reuse-window, display-buffer-pop-up-frame)
9376         (display-buffer-pop-up-window)
9377         (display-buffer-reuse-or-pop-window)
9378         (display-buffer-use-some-window): New functions.
9379         (display-buffer-default-action): Use them.
9380         (display-buffer-default): Delete.
9381         (pop-to-buffer-1): Fix choice of actions.
9383 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9385         * minibuffer.el (completion--insert-strings): Don't get confused by
9386         completion entries that end with an LF char.
9388 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
9390         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9392 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
9394         * window.el (display-buffer): Restore interactive spec.
9395         (display-buffer-same-window, display-buffer-other-window):
9396         New functions.
9397         (pop-to-buffer-1): New function.  Use the above.
9398         (pop-to-buffer, pop-to-buffer-same-window): Use it.
9399         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9401         * view.el (view-buffer-other-window, view-buffer-other-frame):
9402         Just use pop-to-buffer.
9404 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9406         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
9408 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
9410         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
9412 2011-08-31  Richard Stallman  <rms@gnu.org>
9414         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9415         of the separation of rmail-view-buffer from rmail-buffer.
9416         If you say no to "replace original", the decrypt is in the
9417         view buffer.  If you say yes, the decrypt goes into the
9418         rmail buffer also.
9420 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
9422         * window.el (display-buffer-window): Rewrite doc-string.
9423         (display-buffer-record-window): New function.
9424         (display-buffer-macro-specifiers)
9425         (display-buffer-even-window-sizes, display-buffer-set-height)
9426         (display-buffer-set-width, display-buffer-in-window)
9427         (display-buffer-reuse-window, display-buffer-split-specifiers)
9428         (display-buffer-side-specifiers, display-buffer-split-window-1)
9429         (display-buffer-split-window, display-buffer-split-atom-window)
9430         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9431         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9432         (display-buffer-other-window-means-other-frame)
9433         (display-buffer-normalize-special)
9434         (display-buffer-normalize-default)
9435         (display-buffer-normalize-argument)
9436         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9437         (display-buffer-normalize-specifiers, display-buffer-frame)
9438         (display-buffer-same-window, display-buffer-same-frame)
9439         (display-buffer-other-window)
9440         (display-buffer-same-frame-other-window)
9441         (display-buffer-other-frame, pop-to-buffer-same-window)
9442         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9443         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9444         (switch-to-buffer-same-frame)
9445         (switch-to-buffer-other-window-same-frame)
9446         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9447         (display-buffer-alist-set-1, display-buffer-alist-set-2)
9448         (display-buffer-alist-set): Remove.
9449         (display-buffer-function, special-display-buffer-names)
9450         (special-display-regexps, special-display-function):
9451         In doc-string refer to display-buffer-window and quit-restore
9452         parameter.
9453         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9454         (special-display-frame-alist, special-display-popup-frame)
9455         (same-window-buffer-names, same-window-regexps, same-window-p)
9456         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9457         (split-window-preferred-function, split-height-threshold)
9458         (split-width-threshold, window-splittable-p)
9459         (split-window-sensibly, window--try-to-split-window)
9460         (window--frame-usable-p, even-window-heights)
9461         (window--even-window-heights, window--display-buffer-1)
9462         (window--display-buffer-2, display-buffer-other-frame):
9463         Restore old Emacs 23 code, order and doc-strings where applicable.
9464         (display-buffer-default, display-buffer-assq-regexp): New functions.
9465         (display-buffer-alist): Rewrite doc-string.
9466         (display-buffer-default-action)
9467         (display-buffer-overriding-action): New variables.
9468         (display-buffer, switch-to-buffer): Rewrite.
9469         (pop-to-buffer): Restore Emacs 23 behavior but use
9470         window-normalize-buffer-to-display.
9471         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9472         Restore Emacs 23 behavior but use
9473         window-normalize-buffer-to-switch-to.
9474         (pop-to-buffer-same-window): Rewrite.
9475         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9476         Rewrite using Emacs 23 options.
9478 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
9480         * net/tramp.el (tramp-root-regexp): Remove.
9481         (tramp-completion-file-name-regexp-unified)
9482         (tramp-completion-file-name-regexp-separate)
9483         (tramp-completion-file-name-regexp-url): Don't use leading volume
9484         letter on win32 systems.  (Bug#5303, Bug#9311)
9485         (tramp-drop-volume-letter): Simplify definition.
9486         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9488 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9490         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9491         (bug#9356).
9493 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
9495         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9497 2011-08-29  Juri Linkov  <juri@jurta.org>
9499         * isearch.el (isearch-done): Don't display message "Mark saved"
9500         when arg `edit' is non-nil to prevent its flicker in the echo area.
9502 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
9504         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9505         obsolete packages for deletion.
9507 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
9509         * help-mode.el (help-mode-map): Add special-mode-map to parent.
9510         (help-mode): Derive help-mode from special-mode.  Don't invoke
9511         view-mode from help-mode.
9512         (help-xref-override-view-map): Remove.
9513         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9514         view-mode is not used anymore.
9516 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
9518         * server.el (server-port): Doc fix.
9520         * cus-theme.el (custom-theme-choose-mode): Inherit from
9521         special-mode (Bug#9124).
9522         (custom-theme-choose-mode-map): Add special-mode to parent.
9524 2011-08-28  Alan Mackenzie  <acm@muc.de>
9526         * progmodes/cc-fonts.el
9527         (c-make-font-lock-BO-decl-search-function): New function.
9528         (c-basic-matchers-after - "Fontify the clauses after various
9529         keywords"): Extract the three keyword lists for the 3 erroneous
9530         constructs from the list of four, and use the new function above
9531         in place of an old one.
9533 2011-08-28  Deniz Dogan  <deniz@dogan.se>
9535         * net/rcirc.el (rcirc-insert-prev-input)
9536         (rcirc-insert-next-input): Remove unused argument.
9538 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9540         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9542 2011-08-27  Alan Mackenzie  <acm@muc.de>
9544         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9545         handle function pointer parameters properly.
9547 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
9549         * window.el (display-buffer-reuse-window): Fix case where
9550         selected window was reused with non-nil OTHER-WINDOW argument.
9551         (Bug#9381)
9553 2011-08-27  Deniz Dogan  <deniz@dogan.se>
9555         * net/rcirc.el (rcirc-check-auth-status): Adding support for
9556         oftc's NickServ messages.
9558 2011-08-27  Glenn Morris  <rgm@gnu.org>
9560         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
9562 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
9564         * emacs-lisp/package.el (package-install): Call package-initialize
9565         if called interactively.
9567 2011-08-26  Leo Liu  <sdl.web@gmail.com>
9569         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
9571 2011-08-25  Juri Linkov  <juri@jurta.org>
9573         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9574         `search-whitespace-regexp' (bug#9364).
9576 2011-08-25  Juri Linkov  <juri@jurta.org>
9578         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9579         `regexp-search-ring' to their global values to protect from
9580         updating by `read-from-minibuffer' (bug#9185).
9582 2011-08-25  Juri Linkov  <juri@jurta.org>
9584         * textmodes/ispell.el (ispell-command-loop): Add newline
9585         at the end of the "Use option `i'..." line.
9587 2011-08-25  Juri Linkov  <juri@jurta.org>
9589         * battery.el (display-battery-mode): If `battery-status-function'
9590         or `battery-mode-line-format' is nil, display the message and set
9591         `display-battery-mode' to nil (bug#9363).
9593 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
9595         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9596         bidi-string-mark-left-to-right; they are unnecessary now.
9598 2011-08-25  Deniz Dogan  <deniz@dogan.se>
9600         * net/quickurl.el: Documentation typo fixes.
9602 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
9604         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9606 2011-08-25  Glenn Morris  <rgm@gnu.org>
9608         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9610         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9611         (smtpmail-via-smtp): Handle nil response from smtp.
9613 2011-08-24  Juri Linkov  <juri@jurta.org>
9615         * proced.el (proced-marked): Inherit from `error' instead of
9616         `font-lock-warning-face'.
9618         * ibuffer.el (ibuffer-marked-face): Change default face from
9619         `font-lock-warning-face' to `warning'.
9620         (ibuffer-deletion-face): Change default face from
9621         `font-lock-type-face' to `error'.
9623         * battery.el (battery-update): Use the face `error' instead of
9624         `font-lock-warning-face' (bug#6117).
9626 2011-08-24  Juri Linkov  <juri@jurta.org>
9628         * faces.el (success): Change face color from "Green3" to
9629         "ForestGreen" on light background (bug#9353).
9631 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
9633         * window.el (quit-window): Rename from quit-restore-window.
9634         Use same arglist as old quit-window.
9635         (frame-auto-delete): Doc fix.
9637         * view.el (view-mode-exit): Use quit-window.
9639 2011-08-24  Juri Linkov  <juri@jurta.org>
9641         * isearch.el (isearch-ring-adjust1): Start visiting previous
9642         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9643         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9644         for empty search string (when the last search string is reused
9645         automatically) to adjust the isearch ring to the last element and
9646         prepare the correct index for further M-p commands (bug#9185).
9648 2011-08-24  Kenichi Handa  <handa@m17n.org>
9650         * international/ucs-normalize.el: If decomposition property of
9651         CHAR is the default one (i.e. a list of CHAR itself), treat it as
9652         nil.
9653         (nfd, nfkd): Likewise.
9655 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9657         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9658         from process filters aren't reliably transmitted to the surrounding
9659         accept-process-output.
9660         (mpc-proc-check): New function.
9661         (mpc-proc-sync): Use it (bug#8293)
9663 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9665         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9666         Add compatibility functions (bug#9313).
9668 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
9670         * cus-start.el (all): Add entry for bidi-paragraph-direction.
9672         * international/uni-bidi.el: Regenerate.
9674 2011-08-23  Kenichi Handa  <handa@m17n.org>
9676         * international/charprop.el:
9677         * international/uni-bidi.el:
9678         * international/uni-category.el:
9679         * international/uni-combining.el:
9680         * international/uni-comment.el:
9681         * international/uni-decimal.el:
9682         * international/uni-decomposition.el:
9683         * international/uni-digit.el:
9684         * international/uni-lowercase.el:
9685         * international/uni-mirrored.el:
9686         * international/uni-name.el:
9687         * international/uni-numeric.el:
9688         * international/uni-old-name.el:
9689         * international/uni-titlecase.el:
9690         * international/uni-uppercase.el: Regenerate.
9692 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
9694         * help.el (help-window-setup): Fix message displayed when other
9695         window is reused.  (Bug#9341)
9697 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9699         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9700         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9702         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9703         Mark obsolete.
9704         * shell.el (shell-parse-pcomplete-arguments): New function.
9705         (shell-completion-vars): Use it instead (bug#9160).
9707 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9709         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9710         strings and comments (bug#9333).
9712         * emacs-lisp/debug.el (debug-arglist): New function.
9713         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
9714         (debug-on-entry-1): Handle interpreted closures (bug#9120).
9716 2011-08-22  Juri Linkov  <juri@jurta.org>
9718         * progmodes/compile.el (compilation-mode-font-lock-keywords):
9719         Revert regexp that highlights output switches to its old
9720         pre-2010-10-28 value and remove one `?' from it (bug#9319).
9722         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9723         to check for empty output (bug#9226).
9725 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
9727         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9728         symbol-constituent as the default, as that stops font-lock from
9729         working properly (Bug#8843).
9731 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9733         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9734         `coding-system-for-*' around the process open call to avoid
9735         auth-source side effects.
9736         (smtpmail-try-auth-methods): Expand the secret password.
9737         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9738         probe hangs.
9740 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
9742         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9744         * emacs-lisp/find-func.el (find-function-noselect): New arg
9745         lisp-only.
9747         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9748         signal an error for built-in functions (Bug#6664).
9750 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9752         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9753         (smtpmail-try-auth-methods): Use it.
9755 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
9757         * font-lock.el (font-lock-fontify-region)
9758         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9759         (font-lock-default-unfontify-buffer)
9760         (font-lock-default-fontify-region)
9761         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9763         * progmodes/compile.el (compilation-error-properties):
9764         Fix confusion between file struct and message struct (Bug#9319).
9765         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9766         `ant' regexp.
9768         * net/browse-url.el (browse-url-firefox): Don't call
9769         browse-url-firefox-sentinel unless using -remote (Bug#9328).
9771 2011-08-20  Glenn Morris  <rgm@gnu.org>
9773         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9775         * tutorial.el (tutorial--default-keys): Update some default bindings.
9777         * files.el (hack-local-variables): Fully ignore case for "mode:".
9779 2011-08-20  Alan Mackenzie  <acm@muc.de>
9781         Resolve invalid use of a regexp in regexp-opt.
9783         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9784         detection for a java annotation.
9786         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9787         detection for a java annotation.
9789         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9790         handling for java.
9791         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9793 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
9795         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9796         (Bug#9274).
9798 2011-08-20  Alan Mackenzie  <acm@muc.de>
9800         Fontify CPP expressions correctly when starting in the middle of
9801         such a construct.  Mainly for when jit-lock etc. starts a chunk
9802         here.
9804         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9805         variable.
9806         (c-make-font-lock-search-form): New function, extracted from
9807         c-make-font-lock-search-function.
9808         (c-make-font-lock-search-function): Use the above function.
9809         (c-make-font-lock-context-search-function): New function.
9810         (c-cpp-matchers): Enhance the preprocessor expression case with
9811         the above function
9812         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9813         which takes an expression.
9815         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9817 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
9819         * window.el (display-buffer-reuse-window)
9820         (display-buffer-pop-up-window): Don't reuse or split a side
9821         window.
9823 2011-08-19  Glenn Morris  <rgm@gnu.org>
9825         * files.el (hack-local-variables-prop-line, hack-local-variables):
9826         Downcase "Mode:".  (Bug#9331)
9828 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
9830         * international/characters.el: Add L and R categories.
9832         * subr.el (bidi-string-mark-left-to-right): Rename from
9833         string-mark-left-to-right.  Use category search.
9835         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9837 2011-08-18  Juri Linkov  <juri@jurta.org>
9839         * faces.el (error, warning, success): New faces with definitions
9840         copied from old default values of `font-lock-warning-face',
9841         `compilation-warning', `compilation-info' (bug#6117).
9843         * font-lock.el (font-lock-warning-face): Inherit from `error'.
9845         * progmodes/compile.el (compilation-error): Inherit from `error'.
9846         (compilation-warning): Inherit from `warning'.
9847         (compilation-info): Inherit from `success'.
9849         * dired.el (dired-marked): Inherit from `warning'.
9850         (dired-flagged): Inherit from `error'.
9852 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9854         * mail/smtpmail.el (auth-source): Require to avoid problems with
9855         binding variables (bug#9298).  Also clean up some unused
9856         autoloads.
9858         * net/network-stream.el (network-stream-open-starttls):
9859         Support using starttls.el without using gnutls-cli.
9861 2011-08-17  Juri Linkov  <juri@jurta.org>
9863         * progmodes/grep.el (rgrep): Handle the case when
9864         `grep-find-command' is a cons cell (bug#9278).
9866 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
9868         * window.el (display-buffer-pop-up-frame): Run frame creation
9869         function with BUFFER current (as special-display-popup-frame
9870         does).  Reported by Drew Adams.
9872 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
9874         * epa-mail.el: Simplify GnuPG group expansion using
9875         epg-expand-group.
9876         (epa-mail-group-alist, epa-mail-group-modtime)
9877         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9878         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9879         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9880         Remove.
9882 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
9884         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9886 2011-08-16  Alan Mackenzie  <acm@muc.de>
9888         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9889         Correct, to avoid the inside of macros.
9891 2011-08-16  Richard Stallman  <rms@gnu.org>
9893         * epa-mail.el: Handle GnuPG group definitions.
9894         (epa-mail-group-alist, epa-mail-group-modtime)
9895         (epa-mail-gnupg-conf-file): New variables.
9896         (epa-mail-parse-groups, epa-mail-sync-groups)
9897         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9898         (epa-mail-expand-recipients): New functions.
9899         (epa-mail-encrypt): Call epa-mail-expand-recipients.
9901         * mail/rmail.el (rmail-epa-decrypt): New command.
9903         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9904         Don't bind buffer-read-only, just inhibit-read-only.
9905         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9906         (epa-decrypt-armor-in-region): Make error message clearer.
9908 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9910         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9911         and "a2b" to "ab" for `prefix'.
9913 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
9915         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9916         filter groups.
9917         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
9918         Fourquet (Bug#8804).
9920 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
9922         * startup.el (argi): Declare as global variable (bug#9275).
9924 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
9926         * subr.el (string-mark-left-to-right): Search the entire string
9927         for RTL script, not just the terminating character.  Doc fix.
9929 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9931         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9932         New function.
9933         (js--regexp-literal, js-syntax-propertize-function): Remove.
9934         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9935         (js-mode-map): Don't rebind electric keys.
9936         (js-insert-and-indent): Remove.
9937         (js-mode): Setup electric-layout and electric-indent instead.
9939         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9941 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
9943         * epa.el (epa-progress-callback-function): Fix the logic of
9944         displaying progress.
9945         * epa-file.el (epa-file-insert-file-contents): Make progress
9946         display more user-friendly.
9947         (epa-file-write-region): Ditto.
9949 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
9951         * subr.el (string-mark-left-to-right): New function.
9953         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9954         Use string-mark-left-to-right.
9955         (list-buffers-noselect): Caller changed.
9957         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9958         Use string-mark-left-to-right.
9959         (tabulated-list-print): Recenter after moving point.
9961 2011-08-10  Juri Linkov  <juri@jurta.org>
9963         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9964         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9965         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9967 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
9969         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9970         (Bug#7554).
9972 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9974         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9975         character.  (Bug#6594)
9977 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
9979         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9980         (image-dired--with-db-file): New macro.
9981         (image-dired-write-tags, image-dired-remove-tag)
9982         (image-dired-create-gallery-lists, image-dired-write-comments)
9983         (image-dired-get-comment, image-dired-mark-tagged-files)
9984         (image-dired-list-tags, image-dired-gallery-generate): Use it.
9985         (image-dired-gallery-generate): Use insert-file-contents.
9987         * time.el (display-time-world-list, display-time-world-display):
9988         * time-stamp.el (time-stamp-string):
9989         * vc/add-log.el (add-change-log-entry): Use setenv instead of
9990         set-time-zone-rule (Bug#7337).
9992 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
9994         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9995         (epg-error-to-string, epg-errors-to-string): New function.
9996         (epg-wait-for-completion): Reverse errors list.
9997         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9998         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9999         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10000         (epg-sign-keys, epg-generate-key-from-file)
10001         (epg-generate-key-from-string): Format errors by using
10002         epg-errors-to-string (bug#9255).
10003         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10005 2011-08-07  Juri Linkov  <juri@jurta.org>
10007         * faces.el (list-faces-display): Remove extra angle bracket
10008         from `help-mode-map'.
10010         * info.el (Info-history-toc-nodes): Doc fix.
10012         * longlines.el (longlines-mode): Doc fix.
10014 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10016         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10017         of statements and in a few more cases (bug#9183).
10019         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10020         New functions.
10021         (cl-transform-lambda): Use them (bug#9239).
10023 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
10025         * window.el (display-buffer-same-window)
10026         (display-buffer-same-frame, display-buffer-other-window)
10027         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10028         (pop-to-buffer-other-window)
10029         (pop-to-buffer-same-frame-other-window)
10030         (pop-to-buffer-other-frame): Make them defuns.
10031         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10033 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10035         * subr.el (make-composed-keymap): Move from C.  Change calling
10036         convention, and improve docstring to bring attention to a subtle point.
10037         * minibuffer.el (completing-read-default): Adjust accordingly.
10039 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
10041         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10042         (tramp-open-shell): Use `tramp-shell-quote-argument'.
10044         * net/trampver.el: Update release number.
10046 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10048         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10049         "in" (bug#9190).
10051 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10053         * mail/sendmail.el (sendmail-query-once): Restore the current
10054         buffer after querying (bug#9074).
10056         * dired.el (dired-flagged): Use different faces for marked and
10057         flagged files (bug#6117).
10059         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10060         (bug#4433).
10062         * ido.el (ido-mode): Switch off the message if called
10063         non-interactively.
10065         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10066         before 587, since it appears that that's more likely to work for
10067         more people.
10069         * cus-edit.el (custom-file): When running under emacs -q, always
10070         refuse to save the customizations, even if the .emacs file doesn't
10071         exist.
10073         * info.el: Remove the `Info-beginning-of-buffer' function
10074         (bug#8325).
10076         * net/network-stream.el (network-stream-open-starttls):
10077         Use `starttls-available-p' to see whether starttls.el can be used.
10079 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
10081         * window.el (display-buffer-in-window): Don't set dedicated status
10082         of window here (Bug#9215).
10083         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10084         (display-buffer-pop-up-side-window)
10085         (display-buffer-in-side-window): Set dedicated status of window here.
10087 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10089         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10090         before binding generated-autoload-file.
10092 2011-08-01  Deniz Dogan  <deniz@dogan.se>
10094         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10096 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
10098         Sync with Tramp 2.2.2.
10100         * net/trampver.el: Update release number.
10102 2011-07-30  Juri Linkov  <juri@jurta.org>
10104         * dired-aux.el (dired-touch-initial): Remove function.
10105         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10106         current time, and `default' to the last modification time of the
10107         current marked file (bug#6887).
10109 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
10111         * simple.el (goto-line): Use string-to-number to provide a
10112         numeric argument to read-number (bug#9163).
10114 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
10116         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10117         connection process, it could be nil.
10119 2011-07-27  Leo Liu  <sdl.web@gmail.com>
10121         Simplify url handling in rcirc-mode.
10123         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10124         (rcirc-browse-url-at-mouse): Remove.
10125         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10127 2011-07-26  Alan Mackenzie  <acm@muc.de>
10129         Fontify bitfield declarations properly.
10131         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10132         (c-symbol-chars): Now exported as a lang variable.
10133         (c-not-primitive-type-keywords): New lang variable.
10135         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10136         QT keyword "more" to prevent "more slots: ...." being spuriously
10137         parsed as a bitfield declaration.
10139         * progmodes/cc-engine.el (c-beginning-of-statement-1):
10140         Refactor and enhance to handle bitfield declarations.
10141         (c-punctuation-in): New function.
10142         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10143         declarations properly.
10145 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
10147         * calendar/icalendar.el (icalendar--all-events): Take care of
10148         multiple vcalendars in a single file.
10149         (icalendar--convert-float-to-ical): Checkdoc fixes.
10151 2011-07-25  Deniz Dogan  <deniz@dogan.se>
10153         * image.el (insert-image): Clarifying docstring.
10155 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
10157         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10158         `tramp-send-command-and-check' if there is no error.
10159         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10161 2011-07-22  Alan Mackenzie  <acm@muc.de>
10163         Prevent cc-langs.elc being loaded at run time.
10165         * progmodes/cc-mode.el: Remove two autoload forms which loaded
10166         cc-langs.
10168         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10169         "(require 'cc-langs)".  Quote a form so it will evaluate at
10170         (cc-mode's) compilation time.
10172 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
10174         * net/tramp.el (tramp-file-name-handler): Avoid recursive
10175         loading.  (Bug#9114)
10177 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
10179         * window.el (display-buffer-pop-up-window)
10180         (display-buffer-pop-up-side-window)
10181         (display-buffer-in-side-window): Call display-buffer-set-height
10182         and display-buffer-set-width after setting the new window's
10183         buffer so `fit-window-to-buffer' and friends work on the right buffer.
10185 2011-07-20  Sam Steingold  <sds@gnu.org>
10187         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10188         (etags-tags-included-tables): Call `convert-standard-filename' on
10189         the file names contained in TAGS so that windows Emacs can handle
10190         TAGS files created by cygwin ctags.
10192 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10194         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10195         which apparently didn't work.
10197 2011-07-19  Roland Winkler  <winkler@gnu.org>
10199         * proced.el (proced-send-signal): For *Marked Processes* buffer
10200         put point at beginning of buffer.
10202 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
10204         * proced.el (proced-format): Make header lines align with the text
10205         (bug#1779).
10207 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10209         * view.el (view-buffer): Allow running in `special' modes if we're
10210         visiting a file (bug#8615).
10212 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
10214         * window.el (display-buffer-alist-of-strings-p)
10215         (display-buffer-alist-set-1, display-buffer-alist-set-2):
10216         New functions.
10217         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10218         more accurately.
10220 2011-07-18  Alan Mackenzie  <acm@muc.de>
10222         Fontify declarators properly when, e.g., a jit-lock chunk begins
10223         inside a declaration.
10225         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10227         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10228         New function.
10229         (c-complex-decl-matchers): Insert reference to
10230         c-font-lock-enclosing-decls.
10232         * progmodes/cc-engine.el (c-backward-single-comment):
10233         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10234         to nil around calls to (forward-comment -1).
10236 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10238         * image.el (put-image): Doc typo fix.
10240         * progmodes/etags.el (tags-search): Doc typo fix.
10242         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10243         password if we get errors 550 to 554.
10245 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10247         * net/gnutls.el (gnutls-log-level): Remove.
10249         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10250         indentation character (bug#6380).
10252         * files.el (buffer-offer-save): Made permanently local (bug#6241).
10254         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10255         to clarify what the problem is (bug#4291).
10257         * simple.el (current-kill): Clarify what
10258         `interprogram-paste-function' does (bug#7500).
10259         (auto-fill-mode): Document `auto-fill-function' in relation to
10260         `auto-fill-mode' (bug#2470).
10262 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
10264         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10265         method if slot is read-only (bug#9035).
10267 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
10269         * frame.el (select-frame-set-input-focus): New argument NORECORD.
10270         * window.el (pop-to-buffer): Select window used even if it was
10271         selected before, see discussion of (Bug#8615), (Bug#6954).
10272         Pass argument NORECORD on to select-frame-set-input-focus.
10274 2011-07-15  Glenn Morris  <rgm@gnu.org>
10276         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
10277         Respect help-form.
10279 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
10281         * net/gnutls.el (gnutls-min-prime-bits): New variable.
10282         (gnutls-negotiate): Use it.
10284 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10286         * net/gnutls.el (gnutls-negotiate):
10287         Upcase `gnutls-algorithm-priority'.
10289 2011-07-15  Glenn Morris  <rgm@gnu.org>
10291         * jka-compr.el (jka-compr-verbose): Move from here...
10292         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
10293         Add missing :version tag.
10294         * info.el: No need to require jka-compr when compiling.
10296 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10298         * net/gnutls.el (gnutls-algorithm-priority): New variable.
10299         (gnutls-negotiate): Use it.
10301         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10303         * info.el (Info-beginning-of-buffer): New command.
10304         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10305         announcing `b' as the key (bug#8325).
10306         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10308         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10310         * international/mule-cmds.el
10311         (describe-specified-language-support): Make the error message
10312         clearer (bug#8905).
10314         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10316         * isearch.el (isearch-barrier): Add a doc string, since it's
10317         mentioned in a function doc string (bug#8678).
10319 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
10321         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10322         buffer argument (Bug#9083) and self-identifying label argument.
10324 2011-07-15  Glenn Morris  <rgm@gnu.org>
10326         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
10328 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10330         * man.el (Man-fontify-manpage): Fix message when formatting the
10331         man page (bug#7929).
10333 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
10335         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10336         argument LRM; if non-nil, append an invisible LRM character to the
10337         buffer name.
10338         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10339         last argument non-nil, when formatting buffer names.
10340         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10341         paragraph direction.
10343 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10345         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10346         the man page name (bug#7929).
10348         * image.el (put-image): Mention the `put-image' overlay property
10349         (bug#7834).
10351         * scroll-bar.el (set-scroll-bar-mode): Mention that
10352         `scroll-bar-mode' lists the values (bug#7772).
10354         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10355         command (bug#7729).
10357         * rect.el (apply-on-rectangle): Return the point after the last
10358         operation.
10359         (string-rectangle): Go to the point after the last operation
10360         (bug#7522).
10362         * printing.el (pr-toggle-region): Clarify the documentation
10363         slightly (bug#7493).
10365         * time.el (display-time-update):
10366         Allow `display-time-mail-function' to return nil (bug#7158).
10367         Fix suggested by Detlev Zundel.
10369         * vc/diff.el (diff): Clarify the order the file names are read
10370         (bug#7111).
10372         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10373         the doc string (bug#7015).
10375         * font-lock.el (font-lock-maximum-decoration): Mention what
10376         numeric levels mean (bug#6935).
10378         * startup.el (initial-buffer-choice): Don't mention the `none'
10379         selection, which is against policy.
10381 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
10383         * window.el (display-buffer-normalize-special):
10384         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10386 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
10388         * subr.el (version<, version<=, version=): Mention "-CVS" and
10389         "-12345" alpha version numbers.
10391 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
10393         * bindings.el: Add advertised binding for set-mark-command
10394         (Bug#5772).
10396 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
10398         * bindings.el (mode-line-other-buffer):
10399         * bookmark.el (bookmark-bmenu-2-window):
10400         * bs.el (bs-cycle-next, bs-cycle-previous):
10401         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10402         switch-to-buffer.
10404         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10405         Delete.
10407 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
10409         * follow.el (follow-debug-message, follow-redisplay):
10410         * jka-cmpr-hook.el (with-auto-compression-mode):
10411         Fix typos in docstrings.
10413 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10415         * subr.el (with-silent-modifications): Clarify somewhat what the
10416         macro inhibits (bug#6525).
10418         * simple.el (eval-expression): Note what it does if called
10419         interactively (bug#6495).
10421 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10423         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10424         Use pop-to-buffer buffer-or-name if it is nil.
10426         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10427         Remove switch-to-buffer.
10429 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10431         * files.el (make-directory): Clarify that an error will be raised
10432         if there's an error (bug#6397).
10434         * startup.el (initial-buffer-choice): Add `none' as a choice
10435         (bug#6234).
10437         * subr.el (add-hook): Clarify section about buffer-local hooks
10438         (bug#6218).
10440         * dired.el (dired-flagged): Clarify doc string (bug#6117).
10442 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
10444         * tabify.el (untabify): Preserve the current column so that point
10445         doesn't move (bug#6032).
10447 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10449         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10450         Rewrite to avoid awkward possessive "s" (bug#5986).
10452 2011-07-13  Glenn Morris  <rgm@gnu.org>
10454         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
10455         (dired-insert-directory): Give a message the first time
10456         if ls is found not to support --dired.
10458 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10460         * simple.el (toggle-truncate-lines): Clarify what is toggled
10461         (bug#5580).  Text by Drew Adams.
10463 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10465         * simple.el (blink-matching-open): Make the error message from the
10466         last change less verbose.
10468 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
10470         * font-lock.el (font-lock-comment-face): Use the high contrast
10471         "yellow" color for font-lock-comment-face on low color terminals
10472         using a dark background color (bug#4221).
10474 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10476         * dired.el (dired-insert-set-properties): Make the doc string
10477         reflect what it does now (bug#5325).
10479         * simple.el (blink-matching-open): Say that we were unable to find
10480         the match within the limit, if we're limited (bug#5122).
10482         * international/mule-cmds.el (prefer-coding-system): Add an
10483         example (bug#4869).
10485         * progmodes/etags.el (tags-search): Document `file-list-form'
10486         (bug#4731).
10488 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
10490         * net/browse-url.el (browse-url-default-browser)
10491         (browse-url-browser-function): Make the default browser choice a
10492         bit more logical (bug#4300).  Also clean up the doc string.
10494 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
10496         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10497         binary endings (bug#4440).
10499 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10501         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10502         which can be pretty annoying (bug#8971).
10504         * jka-compr.el (jka-compr-verbose): New variable, and use
10505         throughout (bug#8971).
10507         * info.el (Info-find-file): Fall back on the installation
10508         directory if we can't find the info node anywhere else.
10510 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
10512         * vc/vc.el (vc-revert-file):
10513         Don't set file time-stamp in the past.  (Bug#5181)
10515 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10517         * files.el (after-find-file): Give a better error message when
10518         trying to find a symlink that points to a file that doesn't exist
10519         (bug#4398).
10521         * progmodes/cc-vars.el: Remove (probably) misleading comment
10522         (bug#4396).
10524 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
10526         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10528 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
10530         * mouse-sel.el: Hack restoring functionality, while keeping
10531         compatibility with 2010-07-03 changes to mouse selection.
10532         (mouse-sel-primary-overlay): New var.
10533         (mouse-sel-selection-alist): Use it.
10534         (mouse-sel-mode): Doc fix; remove points that are default features
10535         of mouse.el.
10537 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
10539         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10540         Fix previous fix (bug#2490).
10542 2011-07-12  Roland Winkler  <winkler@gnu.org>
10544         * textmodes/bibtex.el (bibtex-initialize):
10545         Use pop-to-buffer-same-window.
10546         (bibtex-search-entries): Fix interactive call.
10548 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10550         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10551         Fontise bytecomp Error lines more correctly (bug#2490).
10552         Fix suggested by Johan BockgÃ¥rd.
10554         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10556         * dired-x.el (dired-guess-default): Use `delete-dups'.
10558 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
10560         * dired.el (dired-mark-prompt):
10561         * dired-aux.el (dired-read-shell-command): Doc fix.
10563 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10565         * mail/sendmail.el (sendmail-query-once):
10566         Use `customize-save-variable' unconditionally, now that it works under
10567         emacs -Q.
10569         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10571         * cus-edit.el (custom-file): Take an optional no-error variable.
10572         (customize-save-variable): Set the variable, and give a warning if
10573         running under "emacs -q".
10575 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
10577         * loadhist.el (unload-feature-special-hooks):
10578         Add `auto-coding-functions', `fill-nobreak-predicate' and
10579         `find-directory-functions' (bug#5327).
10581 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10583         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10585         * cus-edit.el (custom-guess-name-alist): -alist variables should
10586         use the `alist' type (bug#3120).  Suggested by Drew Adams.
10588         * printing.el: Add documentation to all the `pr-toggle-' commands.
10590 2011-07-11  Leo Liu  <sdl.web@gmail.com>
10592         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10593         backends where it makes sense (bug#2623).
10595 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10597         * dired-x.el (dired-guess-default): Remove duplicate shell command
10598         entries (bug#2028).
10599         (dired-guess-default): Fix grammar in doc string (bug#2028).
10600         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10602         * subr.el (remove-duplicates): New conveniency function.
10604 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10606         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10607         (bug#1526).
10609 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
10611         * window.el (display-buffer-normalize-default): Don't invert
10612         meaning of even-window-heights.  Reported by Eli Zaretskii
10613         <eliz@gnu.org>.
10615 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
10617         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10619 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
10621         * window.el (display-buffer): Fix arguments to
10622         display-buffer-reuse-window in last change.
10624         * faces.el (link): Use a less saturated blue on light backgrounds.
10626         * startup.el (fancy-startup-text, fancy-about-text)
10627         (fancy-startup-tail): Use font-lock faces, for background safety.
10629 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
10631         * emulation/viper-cmd.el (viper-change-state-to-vi):
10632         Limit triggering of abbrev expansion (Bug#9038).
10634 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
10636         * window.el (display-buffer-default-specifiers): Remove.
10637         (display-buffer-macro-specifiers): Remove default specifiers.
10638         (display-buffer-alist): Default to nil.
10639         (display-buffer-reuse-window): New optional argument other-window.
10640         (display-buffer-pop-up-window): Allow splitting internal
10641         windows.  Check whether a live window was created.
10642         (display-buffer-other-window-means-other-frame)
10643         (display-buffer-normalize-arguments): Rename to
10644         display-buffer-normalize-argument and rewrite.  Set the
10645         other-window specifier.
10646         (display-buffer-normalize-special): New function.
10647         (display-buffer-normalize-options): Rename to
10648         display-buffer-normalize-default and rewrite.
10649         (display-buffer-normalize-options-inhibit): Remove.
10650         (display-buffer-normalize-specifiers): Rewrite.
10651         (display-buffer): Process other-window specifier and call
10652         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
10653         more faithfully.
10654         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10655         (display-buffer-alist-set): Don't handle 'unset default values.
10656         (display-buffer-in-window, display-buffer-alist-set):
10657         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
10658         <tassilo@member.fsf.org>.
10660 2011-07-09  Leo Liu  <sdl.web@gmail.com>
10662         * register.el (insert-register): Restore accidental change on
10663         2011-06-26.  (Bug#9028)
10665 2011-07-09  Glenn Morris  <rgm@gnu.org>
10667         * subr.el (remq): Handle the empty list.  (Bug#9024)
10669 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
10671         * mail/sendmail.el (send-mail-function): No longer delay custom
10672         initialization.
10673         * custom.el (custom-initialize-delay): Doc fix.
10675 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10677         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10679 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
10681         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10682         human-friendly prompt.
10684 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10686         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10687         provided by a particular plugin.
10689 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10691         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10692         save customizations (with "emacs -Q"), just set the variable
10693         instead of erroring out.
10695         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10697 2011-07-08  Juri Linkov  <juri@jurta.org>
10699         * arc-mode.el (archive-zip-expunge, archive-zip-update)
10700         (archive-zip-update-case): Use 7z if found by `executable-find'.
10701         The order of searching the available programs is the same as in
10702         `archive-zip-extract' (bug#8968).
10704 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10706         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10707         (menu-bar-options-menu): Tweak descriptions.
10709 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10711         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10712         menu items into verb phrases (bug#1421).  Also refill to fit under
10713         80 columns.
10715 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10717         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10718         (Info-read-node-name): Doc fix (Bug#1084).
10720         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10721         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10722         (end-of-sexp, beginning-of-sexp)
10723         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10724         (forward-symbol, forward-same-syntax, word-at-point)
10725         (sentence-at-point): Doc fix (Bug#1144).
10727 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10729         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10730         should cover it (bug#1281).
10732         * cus-edit.el (custom-show): Mark as obsolete.
10734         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10735         negotiation fails, then possibly try again with a non-encrypted
10736         connection (bug#9017).
10738         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10739         be used.
10741 2011-07-07  Richard Stallman  <rms@gnu.org>
10743         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10744         property, and handle its changed format.
10745         Look for the correct line number.
10746         Use file's line contents (but not past first =) to find
10747         correct line in message.
10749 2011-07-07  Kenichi Handa  <handa@m17n.org>
10751         * international/characters.el (build-unicode-category-table):
10752         Delete it.
10753         (unicode-category-table): Set it by unicode-property-table-internal.
10755         * international/mule-cmds.el (char-code-property-alist): Move to
10756         to src/chartab.c.
10757         (get-char-code-property): Call unicode-property-table-internal to
10758         load a file.  Call get-unicode-property-internal where necessary.
10759         (put-char-code-property): Call unicode-property-table-internal to
10760         load a file.  Call put-unicode-property-internal where necessary.
10761         put-unicode-property-internal where necessary.
10762         (char-code-property-description):
10763         Call unicode-property-table-internal to load a file.
10765         * international/charprop.el:
10766         * international/uni-bidi.el:
10767         * international/uni-category.el:
10768         * international/uni-combining.el:
10769         * international/uni-comment.el:
10770         * international/uni-decimal.el:
10771         * international/uni-decomposition.el:
10772         * international/uni-digit.el:
10773         * international/uni-lowercase.el:
10774         * international/uni-mirrored.el:
10775         * international/uni-name.el:
10776         * international/uni-numeric.el:
10777         * international/uni-old-name.el:
10778         * international/uni-titlecase.el:
10779         * international/uni-uppercase.el: Regenerate.
10781         * loadup.el: Load international/charprop.el before
10782         international/characters.
10784 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10786         * window.el (next-buffer, previous-buffer): Signal an error if
10787         called from a minibuffer window.
10789         * bindings.el: Revert 2011-07-04 change.
10791 2011-07-06  Richard Stallman  <rms@gnu.org>
10793         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10794         (rmail-mime-insert-bulk, rmail-mime-insert-text):
10795         Treat markers like ints.
10796         (rmail-mime-entity): Doc fix.
10798 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10800         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10801         defcustom again for backwards compatibility.
10803         * simple.el (shell-command-on-region): Fill.
10805         * dired-aux.el (dired-kill-line): Add a doc string.
10807         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10808         to "\\sw\\|\\s_" (bug#358).
10810         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10811         (dired-unmark-backward): Ditto.
10812         (dired-flag-backup-files): Ditto.
10814         * dired-x.el (dired-mark-sexp): Ditto.
10816 2011-07-06  Richard Stallman  <rms@gnu.org>
10818         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10819         (rmail-mime-entity): New arg TRUNCATED.
10820         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10821         New functions.
10822         (rmail-mime-save): Warn if entity is truncated.
10823         (rmail-mime-toggle-hidden): Likewise, for showing.
10824         (rmail-mime-process-multipart): Record when an entity is truncated.
10826         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10827         if ENTITY is a string.
10829 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10831         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10832         of faces when `M-C-x'-ing their definitions (bug#8378).
10833         Also clean up the code slightly.
10835         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10836         because that makes the colors go away.
10838         * mail/sendmail.el (send-mail-function): Change the default to
10839         `sendmail-query-once'.
10840         (sendmail-query-once): Add an autoload cookie.
10842         * net/network-stream.el (network-stream-open-starttls): Try using
10843         a plain connection even if the server offered STARTTLS, and we
10844         kinda wanted to use it, if Emacs doesn't have any STARTTLS
10845         capability.  This should make smtpmail.el work in slightly more
10846         configurations.
10848 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
10850         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10851         New defun.
10852         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10854 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
10856         * progmodes/sql.el: Version 3.0
10857         (sql-product-alist): Add product :completion-object,
10858         :completion-column, and :statement attributes.
10859         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10860         (sql-mode-syntax-table): Mark all punctuation.
10861         (sql-font-lock-keywords-builder): Temporarily remove fallback on
10862         ansi keywords.
10863         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10864         (sql-mode-oracle-font-lock-keywords): Improve.
10865         (sql-oracle-show-reserved-words): New function for development.
10866         (sql-product-font-lock): Simplify for source code buffers.
10867         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10868         New functions.
10869         (sql-highlight-product): Set product specific syntax table.
10870         (sql-mode-map): Add statement movement functions.
10871         (sql-ansi-statement-starters, sql-oracle-statement-starters):
10872         New variable.
10873         (sql-statement-regexp, sql-beginning-of-statement)
10874         (sql-end-of-statement, sql-signum): New functions.
10875         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10876         (sql-show-sqli-buffer): Bug fix.
10877         (sql-interactive-mode): Store connection data as buffer local.
10878         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
10879         with sql-interactive-mode.
10880         (sql-save-connection): Save buffer local settings.
10881         (sql-connection-menu-filter): Change menu entry name.
10882         (sql-product-interactive): Bug fix.
10883         (sql-preoutput-hold): New variable.
10884         (sql-interactive-remove-continuation-prompt): Bug fixes.
10885         (sql-debug-redirect): New variable.
10886         (sql-str-literal): New function.
10887         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10888         Redesign.
10889         (sql-oracle-save-settings, sql-oracle-restore-settings)
10890         (sql-oracle-list-all, sql-oracle-list-table): New functions.
10891         (sql-completion-object, sql-completion-column)
10892         (sql-completion-sqlbuf): New variables.
10893         (sql-build-completions-1, sql-build-completions)
10894         (sql-try-completion): New functions.
10895         (sql-read-table-name): Use them.
10896         (sql-contains-names): New buffer local variable.
10897         (sql-list-all, sql-list-table): Use it.
10898         (sql-oracle-completion-types): New variable.
10899         (sql-oracle-completion-object, sql-sqlite-completion-object)
10900         (sql-postgres-completion-object): New functions.
10902 2011-07-06  Glenn Morris  <rgm@gnu.org>
10904         * window.el (pop-to-buffer): Doc fix.
10906 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
10908         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10910 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
10912         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10914         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10916 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
10918         * button.el (button): Inherit from link face.  Suggested by Dan
10919         Nicolaescu.
10921 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10923         * progmodes/gdb-mi.el: Fit in 80 columns.
10924         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10925         switch-to-buffer.
10927         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10928         if imenu is simply not configured (bug#8941).
10930 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
10932         * allout.el (allout-post-undo-hook): New allout outline-change
10933         event hook to signal undo activity.
10934         (allout-post-command-business): Run allout-post-undo-hook if an
10935         undo just occurred.
10936         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10937         * allout-widgets.el (allout-widgets-after-undo-function):
10938         Ensure the integrity of the current item's decoration after it has been
10939         in the vicinity of an undo.
10940         (allout-widgets-mode): Include allout-widgets-after-undo-function
10941         on the new allout-post-undo-hook.
10943 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10945         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10946         Let define-derived-mode define it.
10947         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10948         cycles of abbrev-table inheritance (bug#8998).
10950 2011-07-05  Roland Winkler  <winkler@gnu.org>
10952         * textmodes/bibtex.el: Add support for biblatex.
10953         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10954         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10955         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10956         (bibtex-entry-alist, bibtex-field-alist): New variables.
10957         (bibtex-entry-field-alist): Obsolete alias for
10958         bibtex-BibTeX-entry-alist.
10959         (bibtex-entry-alist, bibtex-field-alist): New widgets.
10960         (bibtex-set-dialect): New command.
10961         (bibtex-entry-type, bibtex-entry-head)
10962         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10963         Bind via bibtex-set-dialect.
10964         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10965         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10966         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10967         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10968         Define via bibtex-set-dialect.
10969         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10970         Obey bibtex-no-opt-remove-re.
10971         (bibtex-vec-push, bibtex-vec-incr): New functions.
10972         (bibtex-format-entry, bibtex-field-list)
10973         (bibtex-print-help-message, bibtex-validate)
10974         (bibtex-search-entries): Use new format of bibtex-entry-alist.
10976 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10978         * progmodes/compile.el (compilation-goto-locus):
10979         * net/tramp-cmds.el (tramp-append-tramp-buffers):
10980         * bs.el (bs-cycle-next, bs-cycle-previous):
10981         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10982         * bindings.el (mode-line-other-buffer):
10983         * autoinsert.el (auto-insert):
10984         * arc-mode.el (archive-extract):
10985         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10987 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10989         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10990         Fix check of `emacs-lock-unlockable-modes'.
10991         Coerce true values of `emacs-lock--try-unlocking' to t.
10993 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10995         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10996         * emacs-lock.el: New file.
10998 2011-07-05  Julien Danjou  <julien@danjou.info>
11000         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11001         than `boundp' to check if face is set.
11003 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
11005         * register.el (registerv-make):
11006         * window.el (window-min-height): Fix typos in docstrings.
11008 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
11010         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11011         Update doc string.
11013 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
11015         * server.el (server-execute): Catch quit and call
11016         `server-return-error' to pass the error back to emacsclient and
11017         close the connection (bug#8942).
11019 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
11021         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11022         insecure exception for current topic.  Also note that auto-saves
11023         are handled differently.
11025         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11026         State variables for tracking auto-save inhibition situation.
11028         (allout-write-contents-hook-handler): Rename from
11029         'allout-write-file-hook-handler', and describe how it depends on
11030         write-contents-functions sensitivity to non-nil value to prevent
11031         file write.
11033         (allout-auto-save-hook-handler): Remove.  auto-save does not check
11034         this in individual buffers, only in the starting buffer, so this
11035         is not the right way for us to inhibit auto-save in a buffer
11036         according to its condition.
11038         (allout-mode): Use new allout-write-contents-hook-handler, and
11039         only with write-contents-functions.  Remove auto-save provisions -
11040         they're implemented elsewhere.
11042         (allout-before-change-handler): If undo is in progress, note that
11043         for attention of allout-post-command-business.
11045         (allout-post-command-business): If the command we're following was
11046         an undo, check for change in the status of encrypted items and
11047         adjust auto-save inhibitions accordingly.
11049         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11050         according to whether there are or aren't any plain-text topics
11051         pending encryption.
11053         (allout-inhibit-auto-save-info-for-decryption):
11054         Adjust buffer-saved-size and some allout state to inhibit auto-saves
11055         if there are plain-text topics pending encryption.
11057         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11058         buffer-saved-size and some allout state to not inhibit auto-saves
11059         if there are no longer any plain-text topics pending encryption.
11061         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11062         No longer provide for exemption of the current topic.
11064 2011-07-04  Juri Linkov  <juri@jurta.org>
11066         Add 7z operations to delete and save changed members (bug#8968).
11067         * arc-mode.el (archive-7z-expunge, archive-7z-update):
11068         New defcustoms.
11069         (archive-7z-write-file-member): New function.
11070         (archive-7z-summarize): Fix the number of dashes in the
11071         listing output.
11073 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11075         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11076         (bug#8958).
11078 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
11080         * bindings.el: Ignore next-buffer and previous-buffer in
11081         minibuffer-local-map.
11083         * font-lock.el (font-lock-builtin-face): Change light background
11084         color to dark slate blue (Bug#6693).
11086 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
11088         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11090 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11092         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11093         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11094         Add switch-to-buffer.
11096 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11098         * isearch.el (isearch-search-fun-function): Clarify further the
11099         meaning of the function returned.
11101 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
11103         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11105         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11106         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11107         Use it.
11108         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
11109         `tramp-default-remote-path' does not exist.
11110         (tramp-send-command-and-read): New optional argument NOERROR.
11111         (tramp-open-connection-setup-interactive-shell)
11112         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11113         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11114         (tramp-process-sentinel): Flush also process' connection property.
11115         (tramp-sh-handle-start-file-process): Do not set process
11116         sentinel.  It is done now ...
11117         (tramp-maybe-open-connection): ... here.  (Bug#8929)
11119 2011-07-04  MON KEY  <monkey@sandpframing.com>
11121         * play/animate.el (animate-string): Doc fixes and allow changing
11122         the buffer name (bug#5417).
11124 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11126         * play/animate.el (animation-buffer-name): Rename from *animate*.
11128 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
11130         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11131         This is simpler and helps future-proof the code.
11132         (timer-until): Use time-subtract and float-time.
11133         (timer--time-less-p): Use time-less-p.
11135 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
11137         * type-break.el (timep): Use the value of `float-time' to avoid a
11138         byte-compiler warning.
11140         * server.el (server-eval-and-print): Return any result, even nil.
11142 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
11144         * type-break.el: Accept time formats that the builtins accept.
11145         (timep, type-break-time-difference): Accept any format that
11146         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11147         This is simpler and helps future-proof the code.
11148         (type-break-time-difference): Round rather than ignoring
11149         subseconds components.
11151 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11153         * info.el (Info-apropos-matches): Make non-interactive, since it
11154         doesn't seem to do anything useful as a command (bug#8829).
11156 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
11158         * frame.el (frame-background-mode, frame-set-background-mode):
11159         Move from faces.el.
11160         (frame-default-terminal-background): New function.
11162         * custom.el (custom-push-theme): Don't record faces in `changed'
11163         theme; this doesn't work correctly for per-frame face settings.
11164         (disable-theme): Use face-set-after-frame-default to reset faces.
11165         (custom--frame-color-default): New function.
11167 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11169         * dired.el (dired-flagging-regexp): Remove unused variable
11170         (bug#8769).
11172 2011-03-29  Kevin Ryde  <user42@zip.com.au>
11174         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11175         `perl-Test2' extend to match possible "fail #N" rep count
11176         (bug#8377).
11178 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11180         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11181         `smtpmail-via-smtp' now returns the error instead of nil.
11183         * isearch.el (isearch-search-fun-function): Clarify the doc string
11184         (bug#8101).
11186 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
11188         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11189         unnecessary spaces (bug#8987).
11191 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11193         * net/network-stream.el (open-network-stream): Use the
11194         :end-of-capability command thoughout.
11196 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
11198         * net/network-stream.el (open-network-stream): Add the
11199         :end-of-capability command parameter, used by pop3.el.
11201 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11203         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11205         * fringe.el (fringe-query-style): Remove redundant text " (type ?
11206         for list)" (bug#6475).
11208         * files.el (file-expand-wildcards): Ignore non-readable
11209         sub-directories while trying to find matches instead of signaling
11210         an error (bug#6297).
11212         * man.el (Man-reference-regexp): Allow matching possible
11213         word-wrapped references (bug#6289).
11215         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11216         for consistency with the other vc buffers (bug#6197).
11217         (vc-checkin): Ditto.
11219         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11221         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11223 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11225         * custom.el (defcustom): Clarify that :set is only used in the
11226         Customize user interface (bug#6089).
11228         * progmodes/flymake.el (flymake-mode): If the buffer isn't
11229         associated with a file, refuse to run instead of erroring out
11230         (bug#6084).
11232         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11233         the doc string, since it appears that using `fill-column' always
11234         controls the width (bug#7845).
11236         * simple.el (shell-command-on-region): Say where the error output
11237         went if `shell-command-default-error-buffer' is set (bug#6857).
11239 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
11241         * allout.el (allout-yank-processing): Adjust cursor position for
11242         backwards-deleted space.
11244         (allout-rebullet-heading): Register changes with
11245         allout-exposure-changed-hook, so the modified topic is properly
11246         decorated.
11248 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11250         * minibuffer.el (completion-in-region): Document PREDICATE
11251         (bug#7136).
11253         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11254         of keyword/argument pairs (bug#6904).
11256         * replace.el (multi-occur):
11257         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11259 2011-07-02  Drew Adams  <drew.adams@oracle.com>
11261         * dired.el (dired-mark-if): Make the message about whether it's
11262         marking or unmarking clearer (bug#8523).
11264 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11266         * disp-table.el (display-table-print-array): New function.
11267         (describe-display-table): Use it to print the vectors more pretty
11268         (Bug#8859).
11270 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
11272         * window.el (window-state-get-1): Don't assign clone numbers.
11273         Add clone-of item to list of window parameters.
11274         (window-state-put-2): Don't process clone numbers.
11275         (display-buffer-alist): Fix doc-string.
11277 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11279         * subr.el (remq): Don't allocate if it's not needed.
11280         (keymap--menu-item-binding, keymap--menu-item-with-binding)
11281         (keymap--merge-bindings): New functions.
11282         (keymap-canonicalize): Use them to refine the canonicalization.
11283         * minibuffer.el (minibuffer-local-completion-map)
11284         (minibuffer-local-must-match-map): Move initialization from C.
11285         (minibuffer-local-filename-completion-map): Move initialization from C;
11286         don't inherit from anything here.
11287         (minibuffer-local-filename-must-match-map): Make obsolete.
11288         (completing-read-default): Use make-composed-keymap to combine
11289         minibuffer-local-filename-completion-map with either
11290         minibuffer-local-must-match-map or
11291         minibuffer-local-filename-completion-map.
11293 2011-07-01  Glenn Morris  <rgm@gnu.org>
11295         * type-break.el (type-break-time-sum): Use dolist.
11297         * textmodes/flyspell.el (flyspell-word-search-backward):
11298         Replace CL function.
11300 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11302         * mouse.el (mouse--strip-first-event): New function.
11303         (function-key-map): Use it to map fringe clicks to normal clicks
11304         by default.
11306         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11307         (vc-bzr-revision-completion-table): Add support for annotate and date.
11309         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11310         inherit from parent.
11312 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11314         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11315         (dired-show-file-type): Doc fixup (bug#8818).
11317         * dired.el (dired-mode): Fix up the doc string as suggested by
11318         Drew Adams (bug#8817).
11320         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11321         cookie, since the manual says that it should be possible to add
11322         this function to `find-file-hook' (bug#8709).
11324 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
11326         * progmodes/cfengine.el: Moved all cfengine3.el functionality
11327         here.  Noted Ted Zlatanov as the maintainer.
11328         (cfengine-common-settings, cfengine-common-syntax): New functions
11329         to set up common things between `cfengine-mode' and
11330         `cfengine3-mode'.
11331         (cfengine3-mode): New mode.
11332         (cfengine3-defuns cfengine3-defuns-regex
11333         (cfengine3-class-selector-regex cfengine3-category-regex)
11334         (cfengine3-vartypes cfengine3-font-lock-keywords)
11335         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11336         (cfengine3-indent-line): Add from cfengine3.el.
11338 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
11340         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11342         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11344 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
11346         * window.el (same-window-buffer-names, same-window-regexps)
11347         (same-window-p, special-display-frame-alist)
11348         (special-display-popup-frame, special-display-function)
11349         (special-display-buffer-names, special-display-regexps)
11350         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11351         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11352         (split-window-preferred-function, split-height-threshold)
11353         (split-width-threshold, even-window-heights)
11354         (display-buffer-mark-dedicated, window-splittable-p)
11355         (split-window-sensibly, window-safely-shrinkable-p):
11356         Un-obsolete.
11357         (display-buffer): Don't spread args with function specifier
11358         because special-display-popup-frame won't like it.
11360 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
11362         Time-stamp simplifications and fixes.
11363         These improve accuracy slightly, and future-proof the code
11364         against some potential changes to current-time format.
11366         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11367         by using time-since and float-time.
11369         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11370         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
11371         + NNN microseconds".
11373         * type-break.el (type-break-time-sum): Rewrite using time-add.
11375         * play/hanoi.el (hanoi-current-time-float): Remove.
11376         All uses replaced by float-time.
11378         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11379         This yields a more-accurate answer.
11380         (rng-time-to-float): Remove; no longer needed.
11382         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11384         * calendar/timeclock.el (timeclock-seconds-to-time):
11385         Defalias to seconds-to-time, since they're the same thing.
11387         * emacs-lisp/elp.el (elp-elapsed-time):
11388         * emacs-lisp/benchmark.el (benchmark-elapse):
11389         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11391 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11393         * window.el (bury-buffer): Don't iconify the only frame.
11394         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11395         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
11397 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
11399         * eshell/em-smart.el (eshell-smart-display-navigate-list):
11400         Add mouse-yank-primary.
11402 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
11404         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11406 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11408         * emacs-lisp/find-func.el (find-library--load-name): New fun.
11409         (find-library-name): Use it to find relative load names when provided
11410         absolute file name (bug#8803).
11412 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11414         * textmodes/flyspell.el (flyspell-word): Consider words that
11415         differ only in case as potential doublons (bug#5687).
11417         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11418         Remove two rather uninteresting debugging-like messages to make
11419         debbugs.el more silent.
11421         * comint.el (comint-password-prompt-regexp): Accept "Response" as
11422         a password-like phrase.
11424 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
11426         * progmodes/cc-guess.el: New file.
11428         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11430         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11431         derived from `c-basic-common-init'.
11433         * progmodes/cc-mode.el (top-level): Require cc-guess.
11434         (c-basic-common-init): Use `cc-choose-style-for-mode'.
11436 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
11438         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11440 2011-06-30  Alan Mackenzie  <acm@muc.de>
11442         * progmodes/cc-engine.el (c-guess-continued-construct):
11443         Correct the handling of template-args-cont, particularly for when font
11444         lock is disabled.  Name this case as "CASE G".
11446 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
11448         * allout.el (allout-yank-processing): Fix injection of extra space
11449         between bullet and non-whitespace character in first topic when
11450         pasting, ensuring that the actual spacing in the pasted topic
11451         following the bullet char is preserved.  This extra space was
11452         causing pasted encrypted topics to get a decrypted status even
11453         when the content was actually still encrypted.  Now the decryption
11454         status from before the paste is preserved.
11456         (allout-flag-region): Set all allout overlays so they evaporate
11457         when reduced to zero length (evanescent), to prevent overlay
11458         leakage.
11460 2011-06-30  Glenn Morris  <rgm@gnu.org>
11462         * w32-fns.el (w32-charset-info-alist): Declare.
11464         * find-dired.el (find-grep-options): Simplify.
11466         * term/ns-win.el (ns-set-resource): Declare.
11468         * ses.el (row, col): Declare dynamic variables honestly.
11470         * textmodes/reftex-parse.el (index-tags): Declare.
11472 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
11474         * cus-edit.el (customize-push-and-save): New function.
11476         * files.el (hack-local-variables-confirm): Use it.
11478         * custom.el (load-theme): New arg NO-CONFIRM.
11479         Use customize-push-and-save (Bug#8720).
11480         (custom-enabled-themes): Doc fix.
11482         * cus-theme.el (customize-create-theme)
11483         (custom-theme-merge-theme): Callers to load-theme changed.
11485 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11487         * thingatpt.el (thing-at-point-short-url-regexp): Require that
11488         short URLs have at least one dot in them (bug #7614).
11490         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11491         nil, because using a pty is apparently too slow (bug #895).
11493 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11495         * mail/sendmail.el (sendmail-query-once): New function.
11496         (sendmail-query-once-function): New variable.
11498 2011-06-29  Glenn Morris  <rgm@gnu.org>
11500         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11502         * ses.el (top-level): Require cl when compiling.
11503         (ses-set-localvars): Fix error statement.
11504         Call it at compile time to silence a storm of warnings.
11506 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
11508         * window.el (normalize-live-buffer): Rename to
11509         window-normalize-buffer.
11510         (normalize-live-frame): Rename to window-normalize-frame.
11511         (normalize-any-window): Rename to window-normalize-any-window.
11512         (normalize-live-window): Rename to window-normalize-live-window.
11513         (make-window-atom): Rename to window-make-atom.
11514         (window-resize-reset): Rename to window--resize-reset.
11515         (window-resize-reset-1): Rename to window--resize-reset-1.
11516         (resize-mini-window): Rename to window--resize-mini-window.
11517         (resize-subwindows-skip-p): Rename to
11518         window--resize-subwindows-skip-p.
11519         (resize-subwindows-normal): Rename to
11520         window--resize-subwindows-normal.
11521         (resize-subwindows): Rename to window--resize-subwindows.
11522         (resize-other-windows): Rename to window--resize-siblings.
11523         (resize-this-window): Rename to window--resize-this-window.
11524         (resize-root-window): Rename to window--resize-root-window.
11525         (resize-root-window-vertically): Rename to
11526         window--resize-root-window-vertically.
11527         (normalize-buffer-to-display): Rename to
11528         window-normalize-buffer-to-display.
11529         (normalize-buffer-to-switch-to): Rename to
11530         window-normalize-buffer-to-switch-to.
11531         Correspondingly update all callers of the functions listed
11532         above.
11533         (display-buffer-alist, display-buffer-normalize-arguments)
11534         (display-buffer-normalize-options, display-buffer)
11535         (display-buffer-alist-set): Use "function" instead of
11536         "fun-with-args".
11538 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
11540         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11541         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
11542         debbugs.gnu.org.  Mention acknowledgment email.
11544 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11546         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11547         buffer multibyteness, since it shouldn't matter.
11549 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
11551         * window.el (display-buffer-in-side-window): Handle dedicated
11552         windows as in display-buffer-reuse-window.
11553         (display-buffer-normalize-alist): Use value of override
11554         specifier.
11555         (display-buffer-normalize-specifiers): Use value of
11556         other-window-means-other-frame specifier.
11557         (display-buffer-alist): Rewrite some texts in widgets.
11558         (display-buffer): Spread arguments when calling function
11559         specified by fun-with-args.
11561 2011-06-28  Deniz Dogan  <deniz@dogan.se>
11563         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11564         Unnest `let'.
11566         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11567         selectors (Bug#5732).
11568         (css-proprietary-nmstart-re): Use `regexp-opt'.
11570 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
11572         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11573         (eshell-ls-date-format): New defcustom.
11574         (eshell-ls-file): Use it.
11576 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11578         * help-fns.el (describe-variable): Fix message for terminal-local vars.
11580 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
11582         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11583         (ange-ftp-make-tmp-name): New arg.
11584         (ange-ftp-file-local-copy): Use it.
11586 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
11588         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11589         no-conversion (Bug#8870).
11591 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
11593         * window.el (window-right, window-left, window-child)
11594         (window-child-count, window-last-child)
11595         (window-iso-combination-p, walk-window-tree-1)
11596         (window-atom-check-1, window-tree-1, delete-window)
11597         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11598         new naming conventions - window-vchild, window-hchild,
11599         window-next and window-prev are now called window-top-child,
11600         window-left-child, window-next-sibling and window-prev-sibling
11601         respectively.
11602         (resize-window-reset): Rename to window-resize-reset.
11603         (resize-window-reset-1): Rename to window-resize-reset-1.
11604         (resize-window): Rename to window-resize.
11605         (window-min-height, window-min-width)
11606         (resize-mini-window, resize-this-window, resize-root-window)
11607         (resize-root-window-vertically, adjust-window-trailing-edge)
11608         (enlarge-window, shrink-window, maximize-window)
11609         (minimize-window, delete-window, quit-restore-window)
11610         (split-window, balance-windows, balance-windows-area-adjust)
11611         (balance-windows-area, window-state-put-2)
11612         (display-buffer-even-window-sizes, display-buffer-set-height)
11613         (display-buffer-set-width, set-window-text-height)
11614         (fit-window-to-buffer): Rename all "resize-window" prefixed
11615         calls to use the "window-resize" prefix convention.
11616         (display-buffer-alist): Fix symbol for label specifier.
11617         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11618         corresponding specifier.
11619         Reported by Juanma Barranquero <lekktu@gmail.com>.
11621 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11623         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11624         convention.
11625         (ses-call-printer): Does not pass an empty string to formatter when the
11626         cell is empty to keep from barking printer Calc math-format-value.
11628 2011-06-27  Richard Stallman  <rms@gnu.org>
11630         * battery.el (battery-mode-line-limit): New variable.
11631         (battery-update): Handle it.
11633         * mail/rmailmm.el (rmail-mime-process-multipart):
11634         Handle truncated messages.
11636 2011-06-27  Glenn Morris  <rgm@gnu.org>
11638         * progmodes/flymake.el (flymake-err-line-patterns):
11639         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
11641 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11643         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11644         (ses--clean-!, ses--clean-_): New functions.
11645         (ses-range): Add configurability of readout order, and conversion
11646         to Calc vector.
11648         * ses.el (ses-repair-cell-reference-all): New function.
11649         (ses-cell-symbol): Set macro as safe, so that it can be used in
11650         formulas.
11652         * ses.el: Update cycle detection algorithm.
11653         (ses-localvars): Add ses--Dijkstra-attempt-nb and
11654         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11655         (ses-set-localvars): New function.
11656         (ses-make-cell): Add property-list as a cell element.
11657         (ses-cell-property-get-fun, ses-cell-property-get)
11658         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11659         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11660         New functions.
11661         (ses-cell-property-set, ses-cell-property-pop)
11662         (ses-cell-property-get-handle): New macro.
11663         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11664         New aliases, used for code readability.
11665         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11666         cycle detection.
11667         (ses-self-reference-early-detection): New defcustom.
11668         (ses-formula-references): Robustify against self-referring cells.
11669         (ses-mode): Use ses-set-localvars.
11670         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11671         before lauching the update processing.
11672         (ses-initialize-Dijkstra-attempt): New function.
11673         (ses-recalculate-cell): Update for cycle detection based on
11674         Dijkstra algorithm.
11676         * ses.el: Fix commenting and indenting convention.
11678 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11680         * bs.el (bs-cycle-next): Complete last change.
11682 2011-06-27  Drew Adams  <drew.adams@oracle.com>
11684         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11686 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11688         * net/network-stream.el (network-stream-open-starttls):
11689         Don't re-get capabilities unless we've reestablished connection.
11690         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11692         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11693         to binary to possibly avoid line encoding issues on Windows (among
11694         other things).
11696 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11698         * net/network-stream.el (open-network-stream): Return an :error
11699         saying what the problem was, if possible.
11701         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11702         server.
11704         * net/network-stream.el (network-stream-open-starttls): If we
11705         wanted to use STARTTLS, and the server offered it, but we weren't
11706         able to because we had no STARTTLS support, then close the connection.
11707         (open-network-stream): Return an :error element, if present.
11709 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
11711         * hl-line.el (hl-line-sticky-flag): Doc fix.
11712         (global-hl-line-sticky-flag): New option (Bug#8323).
11713         (global-hl-line-highlight): Obey it.
11715         * vc/vc.el (vc-revert-show-diff): Default to t.
11717 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
11719         * allout-widgets.el (allout-widgets-post-command-business):
11720         Stop decorating intermediate isearch matches.  They're not being
11721         undecorated when an isearch is continued past, and isearch
11722         automatically collapses them.  This leads to "widget leaks", where
11723         decorated items accumulate in collapsed areas.  Lines with lots of
11724         hidden widgets can slow down cursor travel, substantially.
11725         Too much complicated machinery would be needed to ensure undecoration,
11726         so we're doing without this nicety.
11728         (allout-widgets-tally-string): Don't try to do a hash-table-count
11729         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
11730         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11731         *Messages* when allout-widgets-maintain-tally is t.
11733 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
11735         * window.el (display-buffer-normalize-argument): Rename to
11736         display-buffer-normalize-arguments.  Handle special meaning of
11737         LABEL argument.  Respect special-display-function when popping up
11738         a new frame.  Fix code searching for a window showing the buffer
11739         on another frame.
11740         (display-buffer-normalize-specifiers):
11741         Call display-buffer-normalize-arguments.
11742         (display-buffer-in-window): Don't undedicate the window if its
11743         buffer remains the same.
11744         Reported by Drew Adams <drew.adams@oracle.com>.
11745         (display-buffer-alist): Add choice for same-window macro
11746         specfier.
11747         (display-buffer): Mention special meaning of LABEL argument in
11748         doc-string.  Fix quoting.  Don't pop up a new frame even as
11749         fallback.
11751 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
11753         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11754         avoid deleting the current window in some cases (bug#8911).
11756 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
11758         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11759         (Bug#8934)
11761 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11763         * net/network-stream.el (network-stream-open-starttls):
11764         Use built-in TLS support if `gnutls-available-p' is true.
11765         (network-stream-open-tls): Ditto.
11767 2011-06-26  Leo Liu  <sdl.web@gmail.com>
11769         * register.el (registerv): New struct.
11770         (registerv-make): New function.
11771         (jump-to-register, describe-register-1, insert-register):
11772         Support the jump-func, print-func and insert-func slot of a registerv
11773         struct.  (Bug#8415)
11775 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
11777         * vc/vc.el (vc-revert-show-diff): New defcustom.
11778         (vc-diff-internal): New arg specifying diff buffer.
11779         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
11780         reuse an existing *vc-diff* buffer (Bug#8927).
11782         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11784 2011-06-26  Glenn Morris  <rgm@gnu.org>
11786         * progmodes/f90.el (f90-critical-indent): New option.
11787         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11788         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11789         (f90-mode): Doc fix.
11790         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11791         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11792         (f90-beginning-of-block, f90-next-block, f90-indent-region)
11793         (f90-match-end): Handle block, critical.
11795 2011-06-25  Glenn Morris  <rgm@gnu.org>
11797         * calendar/diary-lib.el (diary-included-files): Doc fix.
11798         (diary-include-files): New function, extracted from
11799         diary-include-other-diary-files and diary-mark-included-diary-files.
11800         (diary-include-other-diary-files, diary-mark-included-diary-files):
11801         Just call diary-include-files.
11802         (diary-mark-entries): Reset diary-included-files on first call.
11804         * calendar/diary-lib.el (diary-mark-entries)
11805         (diary-mark-included-diary-files):
11806         Visit included diary-files in temp buffers.
11808         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11809         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11810         (f90-start-block-re, f90-imenu-generic-expression)
11811         (f90-looking-at-program-block-start, f90-no-block-limit):
11812         Add support for submodules.
11814         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11815         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11817 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
11819         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11820         buffer-file-type before setting its value, to avoid disastrous
11821         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
11823 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
11825         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11827         * ses.el (ses-unload-function):
11828         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11830         * proced.el (proced-unload-function):
11831         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11833 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
11835         * server.el (server-create-window-system-frame): Add parameters arg.
11836         (server-process-filter): Doc fix.  Handle frame-parameters.
11838 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
11840         Fix bug#8730, bug#8781.
11842         * loadhist.el (unload--set-major-mode): New function.
11843         (unload-feature): Use it.
11845         * progmodes/python.el (python-after-info-look): Add autoload cookie.
11846         (python-unload-function): New function.
11848 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11850         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11852 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
11854         * net/browse-url.el (browse-url-firefox-program): Add icecat to
11855         the candidates list.
11857 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
11859         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11861 2011-06-23  Richard Stallman  <rms@gnu.org>
11863         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11864         (rmail-variables): Set next-error-move-function.
11865         (rmail-what-message): Take argument POS.
11866         (rmail-next-error-move): New function.
11868 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11870         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11871         messages for adjacent non-terminals.
11873 2011-06-23  Richard Stallman  <rms@gnu.org>
11875         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11876         (rmail-show-message-1): Preserve buffer modified flag.
11877         (rmail-start-mail): Don't specify use of rmail-mail-return;
11878         that's done by mail-bury now.
11879         (rmail-mail-return): Handle arg NEWBUF.
11881 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
11883         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11884         SIZE is a number.
11886 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
11888         * window.el (get-lru-window, get-mru-window)
11889         (get-largest-window): Never return a minibuffer window.
11890         (display-buffer-pop-up-window): Fix a bug that could lead to
11891         reusing the minibuffer window.
11892         (display-buffer): Pass original specifier argument to
11893         display-buffer-function instead of the normalized one.
11894         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11896 2011-06-22  Leo Liu  <sdl.web@gmail.com>
11898         * minibuffer.el (completing-read-function)
11899         (completing-read-default): Move from minibuf.c
11901 2011-06-22  Richard Stallman  <rms@gnu.org>
11903         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11904         to Rmail even if not started by a special Rmail command.
11906         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11907         Copy the buffer currently showing just one message.
11909 2011-06-22  Roland Winkler  <winkler@gnu.org>
11911         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11912         (bibtex-clean-entry): First delete the old key so that a
11913         customized algorithm for generating the new key does not get
11914         confused by the old key.
11915         (bibtex-url): Obey regexp of first step.
11916         (bibtex-search-entries): Do not use add-to-list with local
11917         list-var.
11919 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11921         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11922         stored a user name, then query for the password first, instead of
11923         waiting for SMTP to give an error message and the trying again.
11925 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
11927         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11928         BUFFER in call-process.
11930 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11932         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11933         QUIT twice.
11934         (smtpmail-try-auth-methods): Require user name and password from
11935         auth-source.
11937 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
11939         * window.el (display-buffer-default-specifiers)
11940         (display-buffer-alist): Remove entries for pop-up-frame-alist.
11941         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11942         (split-window): Normalize SIDE argument (Bug#8916).
11944         * frame.el (pop-up-frame-alist, pop-up-frame-function)
11945         (special-display-frame-alist, special-display-popup-frame):
11946         Remove duplicate declarations.  These are now in window.el.
11948 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11950         * mail/smtpmail.el (smtpmail-via-smtp):
11951         Set :use-starttls-if-possible so that we always use STARTTLS if the
11952         server supports it.  SMTP servers that support STARTTLS commonly
11953         require it.
11955         * net/network-stream.el (network-stream-open-starttls): Support
11956         upgrading to STARTTLS always, even if we don't have built-in support.
11957         (open-network-stream): Add the :always-query-capabilities keyword.
11959         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11960         upgrades with `open-network-stream', and rely solely on
11961         auth-source for all credentials.  Big changes throughout the file,
11962         but in particular:
11963         (smtpmail-auth-credentials): Remove.
11964         (smtpmail-starttls-credentials): Remove.
11965         (smtpmail-via-smtp): Check for servers saying they want AUTH after
11966         MAIL FROM, too.
11968         * net/network-stream.el (network-stream-open-starttls):
11969         Provide support for client certificates both for external and built-in
11970         STARTTLS.
11971         (auth-source): Require.
11972         (open-network-stream): Document the :client-certificate keyword.
11973         (network-stream-certificate): Change cert-cert to cert and
11974         cert-key to key.
11976 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
11978         * net/tramp-cache.el (top): Don't load the persistency file when
11979         "emacs -Q" has been called.
11981 2011-06-21  Tim Harper  <timcharper@gmail.com>
11983         * term/ns-win.el (ns-initialize-window-system):
11984         Set application-specific `ApplePressAndHoldEnabled' system
11985         resource to NO as it is not yet supported by the NS port.
11987 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
11989         * misc.el (list-dynamic-libraries--refresh): Compute header here...
11990         (list-dynamic-libraries): ...not here.
11992 2011-06-21  Leo Liu  <sdl.web@gmail.com>
11994         * subr.el (sha1): Implement sha1 using secure-hash.
11996 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
11998         * window.el (display-buffer-alist): In default value do not
11999         enforce searching a window on any but the selected frame.
12000         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12001         (display-buffer-select-window): Remove function.
12002         (display-buffer-in-window): When a window on another frame gets
12003         reused, do not select it any more but just raise its frame if
12004         necessary (Bug#8851) and (Bug#8856).
12005         (display-buffer-normalize-options): Handle pop-up-frames related
12006         options more faithfully.
12007         (pop-to-buffer): Don't rely on `display-buffer' selecting the
12008         window if it is on another frame.
12009         (display-buffer-alist, display-buffer-default-specifiers):
12010         Don't make new frame unsplittable by default.
12011         (display-buffer-normalize-argument): Fix doc-string typo and use
12012         'same-frame-other-window instead of 'other-window when associating
12013         with display-buffer-macro-specifiers.
12015 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
12017         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12018         New functions.
12019         (5x5-mode-map, 5x5-mode-menu): Bind them.
12020         (5x5-draw-grid): Tweak the solver's rendering.
12022 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12024         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12025         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12027 2011-06-21  Drew Adams  <drew.adams@oracle.com>
12029         * menu-bar.el: Use function variable instead of switch-to-buffer.
12030         (menu-bar-select-buffer-function): New variable.
12031         (menu-bar-update-buffers): Use it (bug#8876).
12033 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12035         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12036         variable's status.
12038 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
12040         * x-dnd.el (x-dnd-version-from-flags)
12041         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12042         and long as number (Bug#8899).
12043         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12045 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12047         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12048         (completion-try-completion, completion-all-completions): Compute the
12049         metadata argument if it's missing; make it optional (bug#8795).
12051         * wid-edit.el: Use lex-bind and move towards completion-at-point.
12052         (widget-complete): Use new :completion-function property.
12053         (widget-completions-at-point): New function.
12054         (default): Use :completion-function instead of :complete.
12055         (widget-default-completions): Rename from widget-default-complete;
12056         Rewrite.
12057         (widget-string-complete, widget-file-complete, widget-color-complete):
12058         Remove functions.
12059         (file, symbol, function, variable, coding-system, color):
12060         * international/mule-cmds.el (default-input-method, charset)
12061         (language-info-custom-alist):
12062         * cus-edit.el (face): Use new property :completions.
12064         * progmodes/pascal.el (pascal-completions-at-point): New function.
12065         (pascal-mode): Use it.
12066         (pascal-mode-map): Use completion-at-point.
12067         (pascal-toggle-completions): Make obsolete.
12068         (pascal-complete-word, pascal-show-completions):
12069         * progmodes/octave-mod.el (octave-complete-symbol):
12070         Redefine as obsolete alias.
12071         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12072         Signal absence of completion info for old Octave,
12073         (inferior-octave-complete): Redefine as obsolete alias.
12074         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12075         (meta-completions-at-point): Rename from meta-complete-symbol and
12076         adapt it for use on completion-at-point-functions.
12077         (meta-common-mode): Use it.
12078         (meta-looking-at-backward, meta-match-buffer): Remove.
12079         (meta-complete-symbol): Redefine as obsolete alias.
12080         (meta-common-mode-map): Use completion-at-point.
12081         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12082         (makefile-mode-map): Use completion-at-point.
12083         (makefile-completions-at-point): Rename from makefile-complete and
12084         adapt it for use on completion-at-point-functions.
12085         (makefile-mode): Use it.
12086         (makefile-complete): Redefine as obsolete alias.
12088 2011-06-20  Deniz Dogan  <deniz@dogan.se>
12090         * net/rcirc.el: Delete trailing whitespaces once and for all.
12092 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
12094         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12096 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
12098         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12100         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12102 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
12104         * window.el (display-buffer-other-window-means-other-frame):
12105         Call display-buffer-normalize-alist.
12106         (display-buffer-normalize-specifiers-1): Rename to
12107         display-buffer-normalize-argument.  New argument other-frame.
12108         Rewrite.
12109         (display-buffer-normalize-specifiers-2): Rename to
12110         display-buffer-normalize-options.
12111         (display-buffer-normalize-alist-1): New function.
12112         (display-buffer-normalize-specifiers-3): Rename to
12113         display-buffer-normalize-alist.
12114         Call display-buffer-normalize-alist-1.
12115         (display-buffer-normalize-options-inhibit): New variable.
12116         (display-buffer-normalize-specifiers): Rewrite calling
12117         display-buffer-normalize-alist,
12118         display-buffer-normalize-argument, and
12119         display-buffer-normalize-options.  Don't call the latter if
12120         display-buffer-normalize-options-inhibit is non-nil.
12121         (frame-auto-delete): New option.
12122         (window-deletable-p): Use frame-auto-delete.
12123         (window-list-no-nils, window-state-ignored-parameters)
12124         (window-state-get-1, window-state-get, window-state-put-list)
12125         (window-state-put-1, window-state-put-2, window-state-put):
12126         New functions.
12127         (display-buffer-normalize-options): Move special-display-p group
12128         after pop-up-frame group (Bug#8851) and (Bug#8856).
12130 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
12132         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12133         groups (Bug#8776).
12134         (rx-submatch-n): New function.
12135         (rx): Document it.
12137         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12138         (Bug#8768).
12140         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12142         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12144         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12145         anytime existing face settings are present (Bug#8889).
12147         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12148         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12149         Remove unused argument.
12151 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
12153         * window.el (display-buffer-default-specifiers):
12154         Remove pop-up-frame.  Add pop-up-window-min-height,
12155         pop-up-window-min-width, and another reuse-window specifier
12156         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
12157         (display-buffer-normalize-specifiers-2):
12158         Handle split-height-threshold and split-width-threshold also when
12159         pop-up-windows is unset.  Add a reuse-window specifier for the
12160         case popping up a new window fails.
12161         (special-display-popup-frame): Remove double quoting.
12162         (display-buffer-normalize-specifiers-1): Fix thinko.
12164 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12166         * shell.el (shell-completion-vars): Set pcomplete-termination-string
12167         according to comint-completion-addsuffix.
12169         * pcomplete.el: Convert to lexical binding and fix bug#8819.
12170         (pcomplete-suffix-list): Mark as obsolete.
12171         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12172         pcomplete-seen in the closure.
12173         (pcomplete-comint-setup): Setup completion-at-point as well.
12174         (pcomplete--entries): New function.
12175         (pcomplete--env-regexp): New var.
12176         (pcomplete-entries): Rewrite to work with partial-completion and
12177         without relying on pcomplete-suffix-list.
12178         (pcomplete-pare-list): Remove, unused.
12180 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
12182         * window.el (display-buffer-alist): Set pop-up-window-min-height
12183         and pop-up-window-min-width in default value.  Reported by
12184         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
12185         other-window-means-other-frame.
12186         (display-buffer-macro-specifiers): Comment out entry for
12187         other-window specifier.
12188         (display-buffer-other-window-means-other-frame): New function.
12189         (display-buffer-normalize-specifiers-1): New arguments
12190         buffer-name and label.  Treat other-window case specially.
12191         (display-buffer-normalize-specifiers-2): Treat other-window case
12192         specially.
12193         (display-buffer-normalize-specifiers-3): New function.
12194         (display-buffer-normalize-specifiers):
12195         Call display-buffer-normalize-specifiers-3.
12197 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
12199         * window.el (same-window-p): Fix two typos introduced when
12200         adding with-no-warnings.
12201         (display-buffer-normalize-specifiers-1): Don't check
12202         pop-up-frames for 'unset initialization.
12203         (display-buffer-normalize-specifiers-2): Major rewrite using
12204         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12205         (pop-up-frames, display-buffer-reuse-frames)
12206         (display-buffer-mark-dedicated): Don't initialize to 'unset.
12207         Suggested by David Engster <deng@randomsample.de>.
12208         (even-window-heights): Initialize to 'unset.
12209         (display-buffer-alist-set): Handle new 'unset initializations.
12210         (display-buffer-macro-specifiers): Don't pop up a new frame in the
12211         other window case.
12213 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
12215         * window.el (display-buffer-normalize-specifiers-1):
12216         Respect current value of pop-up-frames for most reasonable values of
12217         second argument of display-buffer (Bug#8865).
12218         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12219         (switch-to-buffer-other-window-same-frame)
12220         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
12221         Adams (Bug#8875).
12222         (display-buffer): Don't check noninteractive when calling
12223         display-buffer-pop-up-frame.
12224         (display-buffer-pop-up-frame): Never pop up a frame in
12225         noninteractive mode (Bug#8857).
12226         (enlarge-window, shrink-window): Don't report an error when the
12227         window can't be resized as requested (Bug#8862).
12229 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12231         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12233         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12235         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12237 2011-06-15  Alan Mackenzie  <acm@muc.de>
12239         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12240         for declarators, disable knr checking to speed up for normal files.
12241         2: Refactor, replacing a sequence of nested if forms by a cond form.
12243 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12245         * net/network-stream.el (open-network-stream): Add the keyword
12246         :always-query-capabilities for the case where you want to force a
12247         `plain' network connection, but the protocol still requires the
12248         capabilitiy command (i.e., SMTP and EHLO).
12250         * subr.el (process-live-p): Rename from `process-alive-p' for
12251         consistency with other `-live-p' functions.
12253 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12255         * window.el (same-window-buffer-names, same-window-regexps)
12256         (special-display-frame-alist, special-display-popup-frame)
12257         (special-display-function, special-display-buffer-names)
12258         (special-display-regexps, pop-up-frame-alist)
12259         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12260         (pop-up-windows, split-window-preferred-function)
12261         (split-height-threshold, split-width-threshold, even-window-heights)
12262         (display-buffer-mark-dedicated): Don't encourage the use of
12263         display-buffer-alist from Elisp code.
12265 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
12267         * progmodes/python.el (python-mode): Derive from prog-mode.
12268         * progmodes/ps-mode.el (ps-mode):
12269         * progmodes/mixal-mode.el (mixal-mode):
12270         * progmodes/cfengine.el (cfengine-mode):
12271         * progmodes/ld-script.el (ld-script-mode): Likewise.
12273 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
12275         * window.el (display-buffer-alist): Trim default value to avoid
12276         popping up a new frame (Bug#8857) or reusing an arbitrary window
12277         on another frame.
12278         (display-buffer): Do not fall back on popping up a new frame in
12279         batch mode (Bug#8857).
12281 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
12283         * cus-theme.el (describe-theme-1): Use custom-theme-p.
12284         (custom-theme-summary): New function.
12285         (customize-themes): Use it.
12287 2011-06-13  Glenn Morris  <rgm@gnu.org>
12289         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12291 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
12293         * help.el (help-window): Remove variable.
12294         (help-window-point-marker, temp-buffer-max-height)
12295         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12296         (help-print-return-message): Don't set help-window.
12297         (resize-temp-buffer-window): Rewrite cod eand doc-string.
12298         (help-window-setup-finish): Remove.
12299         (help-window-display-message, help-window-setup)
12300         (with-help-window): Major rewrite based on new
12301         display-buffer-window variable.
12303         * help-mode.el (help-mode-finish): Remove help-window related
12304         code.
12306         * view.el (view-exits-all-viewing-windows): Remove reference to
12307         view-return-to-alist in doc-string.
12308         (view-return-to-alist): Make obsolete.
12309         (view-buffer): Call pop-to-buffer-same-window and remove
12310         undo-window code.
12311         (view-buffer-other-window): Call pop-to-buffer-other-window and
12312         simplify code.  Ignore second argument.
12313         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12314         simplify code.  Ignore second argument.
12315         (view-return-to-alist-update): Make obsolete.
12316         (view-mode-enter): Rename second argument to QUIT-RESTORE.
12317         Rewrite using quit-restore window parameters.
12318         (view-mode-exit): Rename second argument to EXIT-ONLY.
12319         Rewrite using quit-restore-window.
12320         (View-exit, View-exit-and-edit, View-leave, View-quit)
12321         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12322         appropriate arguments.
12323         (view-end-message): Use quit-restore window parameter.
12325         * window.el (display-buffer-function): Rewrite doc-string.
12326         (display-buffer-window, display-buffer-alist): New variables.
12327         (display-buffer-split-specifiers)
12328         (display-buffer-side-specifiers)
12329         (display-buffer-macro-specifiers): New constants.
12330         (display-buffer-even-window-sizes, display-buffer-set-height)
12331         (display-buffer-set-width, display-buffer-select-window)
12332         (display-buffer-in-window, display-buffer-reuse-window)
12333         (display-buffer-split-window-1, display-buffer-split-window)
12334         (display-buffer-split-atom-window, display-buffer-pop-up-window)
12335         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12336         (display-buffer-in-side-window, normalize-buffer-to-display)
12337         (display-buffer-normalize-specifiers-1)
12338         (display-buffer-normalize-specifiers-2)
12339         (display-buffer-normalize-specifiers, display-buffer-frame):
12340         New functions.
12341         (display-buffer): Major rewrite.
12342         (display-buffer-other-window, display-buffer-other-frame)
12343         (pop-to-buffer, switch-to-buffer-other-window)
12344         (switch-to-buffer-other-frame): Rewrite.
12345         (display-buffer-same-window, display-buffer-same-frame)
12346         (display-buffer-same-frame-other-window)
12347         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12348         (pop-to-buffer-other-window)
12349         (pop-to-buffer-same-frame-other-window)
12350         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12351         (switch-to-buffer-other-window-same-frame): New functions.
12352         (same-window-p, special-display-p): Rewrite disabling warnings.
12353         Make obsolete.
12354         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12355         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12356         Make obsolete
12357         (same-window-buffer-names, same-window-regexps)
12358         (special-display-frame-alist, special-display-popup-frame)
12359         (special-display-function, special-display-buffer-names)
12360         (special-display-regexps, pop-up-frame-alist)
12361         (pop-up-frame-function, split-window-preferred-function)
12362         (split-height-threshold, split-width-threshold)
12363         (even-window-heights): Make obsolete.
12365 2011-06-12  Glenn Morris  <rgm@gnu.org>
12367         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
12368         Misc simplifications.
12370 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
12372         * window.el (window-safely-shrinkable-p): Restore function which
12373         was inadvertently removed in change from 2011-06-11.  Declare as
12374         obsolete.
12376         * calendar/calendar.el (calendar-generate-window):
12377         Use window-iso-combined-p instead of combination of one-window-p and
12378         window-safely-shrinkable-p.
12380 2011-06-12  Glenn Morris  <rgm@gnu.org>
12382         * progmodes/fortran.el (fortran-mode-syntax-table):
12383         * progmodes/f90.el (f90-mode-syntax-table):
12384         Set % to punctuation.  (Bug#8820)
12385         (f90-find-tag-default): Remove, no longer needed.
12387 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
12389         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12391 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
12393         * image.el (image-animated-p): Return animation delay in seconds.
12394         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12395         (image-animate-timeout): Remove DELAY argument.  Don't assume
12396         every subimage has the same delay; get it from image-animated-p.
12397         (image-animate): Caller changed.
12399 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
12401         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12402         to ignored backtrace functions.
12404 2011-06-11  Glenn Morris  <rgm@gnu.org>
12406         * calendar/appt.el (appt-disp-window-function): Doc fix.
12407         (appt-check): Handle overlapping appointments.  (Bug#8337)
12409 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
12411         * window.el (window-tree-1, window-tree): New functions, moving
12412         the latter to window.el.
12413         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12414         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12415         (bw-refresh-edges): Remove.
12416         (balance-windows-1, balance-windows-2): New functions.
12417         (balance-windows): Rewrite in terms of window tree functions,
12418         balance-windows-1 and balance-windows-2.
12419         (bw-adjust-window): Remove.
12420         (balance-windows-area-adjust): New function with functionality of
12421         bw-adjust-window but using resize-window.
12422         (set-window-text-height): Rewrite doc-string.
12423         Use normalize-live-window and resize-window.
12424         (enlarge-window-horizontally, shrink-window-horizontally):
12425         Rename argument to DELTA.
12426         (window-buffer-height): New function.
12427         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12428         Rewrite using new window resize routines.
12429         (kill-buffer-and-window, mouse-autoselect-window-select):
12430         Use ignore-errors instead of condition-case.
12431         (quit-window): Call delete-frame instead of delete-windows-on
12432         for the only buffer on frame.
12434 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
12436         * loadup.el (top-level): Load window before files for the sake
12437         of replace-buffer-in-windows.
12439         * files.el (read-buffer-to-switch)
12440         (switch-to-buffer-other-window)
12441         (switch-to-buffer-other-frame, display-buffer-other-frame):
12442         Move to window.el.
12444         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12445         (previous-buffer): Move to window.el.
12447         * bindings.el (unbury-buffer): Move to window.el.
12449         * window.el (delete-other-windows-vertically): Move after
12450         definition of delete-other-windows.
12451         (other-window, delete-windows-on, replace-buffer-in-windows):
12452         Move here from window.c.
12453         (record-window-buffer, unrecord-window-buffer)
12454         (set-window-buffer-start-and-point, switch-to-prev-buffer)
12455         (switch-to-next-buffer): New functions.
12456         (get-next-valid-buffer, last-buffer, next-buffer): Move here
12457         from simple.el.  Call switch-to-next-buffer.
12458         (previous-buffer): Move here from simple.el.
12459         Call switch-to-prev-buffer.
12460         (bury-buffer): Move here from buffer.c.  Switch to previous
12461         buffer when window cannot be deleted.
12462         (unbury-buffer): Move here from bindings.el.
12463         (ctl-x-map): Move binding for other-window from window.c to
12464         here.
12465         (read-buffer-to-switch, switch-to-buffer-other-window)
12466         (switch-to-buffer-other-frame): Move here from files.el.
12467         (normalize-buffer-to-switch-to): New functions.
12468         (switch-to-buffer): Move here from buffer.c.
12469         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12471 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
12473         * window.el (window-min-height, window-min-width): Move here
12474         from window.c.  Add defcustoms and rewrite doc-strings.
12475         (resize-mini-window, resize-window): New functions.
12476         (adjust-window-trailing-edge, enlarge-window, shrink-window):
12477         Move here from window.c.
12478         (maximize-window, minimize-window): New functions.
12479         (delete-window, delete-other-windows, split-window): Move here
12480         from window.c.
12481         (window-split-min-size): New function.
12482         (split-window-keep-point): Mention split-window-above-each-other
12483         instead of split-window-vertically.
12484         (split-window-above-each-other, split-window-vertically):
12485         Rename split-window-vertically to split-window-above-each-other
12486         and provide defalias for old definition.
12487         (split-window-side-by-side, split-window-horizontally):
12488         Rename split-window-horizontally to split-window-side-by-side
12489         and provide defalias for the old definition.
12490         (ctl-x-map): Move bindings for delete-window,
12491         delete-other-windows and enlarge-window here from window.c.
12492         Replace bindings for split-window-vertically and
12493         split-window-horizontally by bindings for
12494         split-window-above-each-other and split-window-side-by-side.
12496         * cus-start.el (all): Remove entries for window-min-height and
12497         window-min-width.  Add entries for window-splits and
12498         window-nest.
12500 2011-06-09  Glenn Morris  <rgm@gnu.org>
12502         * calendar/appt.el (appt-mode-line): New function.
12503         (appt-check, appt-disp-window): Use it.
12505         * files.el (hack-one-local-variable-eval-safep):
12506         Allow minor-modes with explicit +/-1 arguments.
12508 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
12510         * term/xterm.el (xterm): Add defgroup.
12511         (xterm-extra-capabilities): Add defcustom to supply known xterm
12512         capabilities, skip querying them, or query them (default).
12513         (terminal-init-xterm): Use it.
12514         (terminal-init-xterm-modify-other-keys): New function to set up
12515         modifyOtherKeys support to simplify `terminal-init-xterm'.
12517 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
12519         * window.el (resize-window-reset, resize-window-reset-1)
12520         (resize-subwindows-skip-p, resize-subwindows-normal)
12521         (resize-subwindows, resize-other-windows, resize-this-window)
12522         (resize-root-window, resize-root-window-vertically)
12523         (window-deletable-p, window-or-subwindow-p)
12524         (frame-root-window-p): New functions.
12526 2011-06-09  Glenn Morris  <rgm@gnu.org>
12528         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12529         (ange-ftp-get-files): Use it.
12531 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
12533         * mail/sendmail.el (mail-recover-1, mail-recover):
12534         * files.el (recover-file, recover-session):
12535         Handle dired-listing-switches not being just a single short option.
12537 2011-06-09  Glenn Morris  <rgm@gnu.org>
12539         * calendar/appt.el (appt-display-message, appt-disp-window):
12540         Handle lists of appointments.
12542 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
12544         * window.el (one-window-p): Move down in code.
12545         Rewrite doc-string.
12546         (window-current-scroll-bars): Rewrite doc-string.
12547         Normalize live window argument.
12548         (walk-windows, get-window-with-predicate, count-windows):
12549         Rewrite doc-string.  Use window-list-1.
12550         (window-in-direction-2, window-in-direction, get-mru-window):
12551         New functions.
12553 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
12555         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12556         Doc fix (Bug#8713).
12558 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
12560         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12562 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
12564         * loadhist.el (unload-feature-special-hooks):
12565         Add `comint-output-filter-functions'.
12567 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
12569         * calendar/appt.el (appt-check): Move some initializations into the let.
12571 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
12573         * window.el (window-height): Defalias to window-total-height.
12574         (window-width): Defalias to window-body-width.
12576 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
12578         * image-mode.el (image-toggle-animation): New command.
12579         (image-mode-map): Bind it to RET.
12580         (image-mode): Update message.
12581         (image-toggle-display-image): Avoid a spurious cache flush.
12582         (image-transform-rotation): Doc fix.
12583         (image-transform-properties): Return quickly in the normal case.
12584         (image-animate-loop): Rename from image-animate-max-time.
12586         * image.el (image-animate-max-time): Move to image-mode.el.
12587         (create-animated-image): Remove unnecessary function.
12588         (image-animate): Rename from image-animate-start.  New arg.
12589         (image-animate-stop): Remove; just use image-animate-timer.
12590         (image-animate-timer): Use car-safe.
12591         (image-animate-timeout): Rename argument.
12593 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
12595         * window.el (get-lru-window, get-largest-window): Move here from
12596         window.c.  Rename first argument to ALL-FRAMES.
12597         Rephrase doc-strings.
12598         (get-buffer-window-list): Rewrite using window-list-1.
12599         Rephrase doc-string.
12600         (window-safe-min-height, window-safe-min-width): New constants.
12601         (window-size-ignore, window-min-size, window-min-size-1)
12602         (window-sizable, window-sizable-p, window-size-fixed-1)
12603         (window-size-fixed-p, window-min-delta-1, window-min-delta)
12604         (window-max-delta-1, window-max-delta, window-resizable)
12605         (window-resizable-p, window-total-height, window-total-width)
12606         (window-body-width): New functions.
12607         (window-full-height-p, window-full-width-p): Rewrite using
12608         window-total-size.
12609         (window-body-height): Rewrite using window-body-size.
12611 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
12613         * window.el (window-right, window-left, window-child)
12614         (window-child-count, window-last-child, window-any-p)
12615         (normalize-live-buffer, normalize-live-frame)
12616         (normalize-any-window, normalize-live-window)
12617         (window-iso-combination-p, window-iso-combined-p)
12618         (window-iso-combinations)
12619         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12620         (windows-with-parameter, window-with-parameter)
12621         (window-atom-root, make-window-atom, window-atom-check-1)
12622         (window-atom-check, window-side-check, window-check):
12623         New functions.
12624         (ignore-window-parameters, window-sides, window-sides-vertical)
12625         (window-sides-slots): New variables.
12626         (window-size-fixed): Move down in code.  Minor doc-string fix.
12628 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
12630         * comint.el (comint-dynamic-complete-as-filename)
12631         (comint-dynamic-complete-filename): Correctly call
12632         completion-in-region.
12634 2011-06-05  Deniz Dogan  <deniz@dogan.se>
12636         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12637         in last change.
12639 2011-06-05  Deniz Dogan  <deniz@dogan.se>
12641         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12642         (rcirc): Use it to prompt for encryption.
12644 2011-06-05  Roland Winkler  <winkler@gnu.org>
12646         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12647         (bibtex-search-entries): New command bound to C-c C-a.
12648         (bibtex-display-entries): New function.
12650 2011-06-05  Roland Winkler  <winkler@gnu.org>
12652         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12653         (bibtex-insert-kill): After yanking insert newline if necessary.
12654         (bibtex-initialize): Call bibtex-string-files-init only once.
12655         (bibtex-mode): Do not call easy-menu-add.
12656         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12657         (bibtex-yank): Set arg properly if nil.
12659 2011-06-05  Roland Winkler  <winkler@gnu.org>
12661         * textmodes/bibtex.el (bibtex-search-entry-globally):
12662         New variable.
12663         (bibtex-search-entry): Use it.
12665 2011-06-05  Roland Winkler  <winkler@gnu.org>
12667         * textmodes/bibtex.el (bibtex-entry-format): New option
12668         sort-fields.
12669         (bibtex-format-entry, bibtex-reformat): Honor this option.
12670         (bibtex-parse-entry): Return fields in proper order.
12672 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
12674         * doc-view.el (doc-view-remove-if): Move computation of result out
12675         of `dolist' to silence misleading lexical-binding warning.
12677 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
12679         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12680         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12682 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
12684         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12685         "SunOS 5.10".
12687 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
12689         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12690         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12691         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12692         (tramp-parse-putty):
12693         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12694         (tramp-completion-function-alist-ssh)
12695         (tramp-completion-function-alist-telnet)
12696         (tramp-completion-function-alist-su)
12697         (tramp-completion-function-alist-putty): Set `tramp-autoload'
12698         cookie.
12700         * net/tramp-ftp.el:
12701         * net/tramp-sh.el:
12702         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12703         load "tramp.el" `tramp-set-completion-function'.
12705 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12707         * shell.el: Require and use pcomplete.
12708         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12709         (shell-completion-vars): Set pcomplete-default-completion-function.
12711 2011-06-04  Deniz Dogan  <deniz@dogan.se>
12713         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12714         `memq' (Bug#8799).
12716 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12718         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12720 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
12722         * bs.el (bs--mark-unmark, bs--nth-wrapper):
12723         * mpc.el (mpc-select-extend, mpc-songpointer-context):
12724         * vc/log-view.el (log-view-beginning-of-defun):
12725         * vc/smerge-mode.el (smerge-apply-resolution-patch)
12726         (smerge-refine-forward, smerge-refine-chopup-region):
12727         Silence warning for unused `dotimes' counter variables.
12729 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12731         * net/tramp.el (tramp-with-progress-reporter): Rename from
12732         with-progress-reporter.  Use `declare'.
12733         * net/tramp-smb.el:
12734         * net/tramp-sh.el:
12735         * net/tramp-gvfs.el: Update all uses.
12737 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
12739         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12740         buffer isn't killed before making it current.
12742 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12744         Silence various byte-compiler warnings.
12745         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12746         `access-type' and new obsolescence format.
12747         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12748         new format.
12749         (byte-compile-check-variable): New `access-type' argument.
12750         Only warn if the access-type is obsolete.
12751         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12752         (byte-compile-variable-set): Adjust callers.
12753         * help-fns.el (describe-variable): Adjust to new obsolescence format.
12754         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12755         setting it as obsolete.
12756         * simple.el (minibuffer-completing-symbol):
12757         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12758         access as obsolete.
12759         * minibuffer.el (minibuffer-completing-file-name): Don't make it
12760         obsolete yet.
12761         * international/quail.el (quail-mouse-choose-completion): Remove unused
12762         code referring to obsolete var.
12763         (quail-choose-completion-string): Remove.
12764         * server.el (server-clients-with, server-kill-buffer-query-function)
12765         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12766         * proced.el (proced-send-signal):
12767         * emacs-lisp/lisp.el (lisp-complete-symbol):
12768         Replace completion-annotate-function with completion-extra-properties.
12770 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12772         * simple.el (goto-line): Use read-number.
12773         (overriding-map-is-bound): Remove.
12774         (saved-overriding-map): Change default.
12775         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12776         Take the map as argument.
12777         (universal-argument, negative-argument, digit-argument): Use it.
12778         (restore-overriding-map): Adjust.
12779         (do-auto-fill): Use fill-forward-paragraph.
12780         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12782         * minibuffer.el (minibuffer-inactive-mode-map): New var.
12783         (minibuffer-inactive-mode): New major mode.
12784         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12785         the *Messages* buffer" hack.
12786         (mouse-popup-menubar): Don't burp if the event is a normal key.
12788         Miscellaneous tweaks.
12789         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12790         lexical scoping as in subr.el's dolist and dotimes.
12791         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12792         Silence compiler warning.
12793         * thingatpt.el (forward-whitespace): Trivial coding style fix.
12794         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12795         * international/ccl.el (ccl-compile): Trivial simplification.
12796         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12797         * emacs-lisp/testcover.el (testcover-end): Remove spurious
12798         `printflag' argument.
12799         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12800         Purecopy the whole obsolescence data.
12802 2011-06-01  Leo Liu  <sdl.web@gmail.com>
12804         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12805         improve doc-string as suggested by Marco Pessotto
12806         <melmothx@gmail.com>.
12807         (rcirc-print): Fix last change.
12809 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12811         * minibuffer.el (complete-with-action): Return nil for the metadata and
12812         boundaries of non-functional tables.
12813         (completion-table-dynamic): Return nil for the metadata.
12814         (completion-table-with-terminator): Add default case, using
12815         complete-with-action.
12816         (completion--metadata): New function.
12817         (completion-all-sorted-completions, minibuffer-completion-help): Use it
12818         to try and avoid pathological performance problems.
12819         (completion--embedded-envvar-table): Return `category' metadata.
12821 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12823         * subr.el (process-alive-p): New tiny convenience function.
12825 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12827         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12828         content but also its previous major mode.
12830 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
12832         * emacs-lisp/debug.el (debug): Restore the previous content of the
12833         *Backtrace* buffer when we exit with C-M-c.
12835 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12837         * minibuffer.el: Add metadata method to completion tables.
12838         (completion-category-overrides): New defcustom.
12839         (completion-metadata, completion--field-metadata)
12840         (completion-metadata-get, completion--styles)
12841         (completion--cycle-threshold): New functions.
12842         (completion-try-completion, completion-all-completions):
12843         Add `metadata' argument to choose completion-styles.
12844         (completion--do-completion): Use metadata to choose cycling.
12845         (completion-all-sorted-completions): Use metadata for sorting.
12846         Remove :completion-cycle-penalty which is not needed any more.
12847         (completion--try-word-completion): Add `metadata' argument.
12848         (minibuffer-completion-help): Check metadata for annotation function
12849         and sorting.
12850         (completion-file-name-table): Return `category' metadata.
12851         (minibuffer-completing-file-name): Make obsolete.
12852         * simple.el (minibuffer-completing-symbol): Make obsolete.
12853         * icomplete.el (icomplete-completions): Pass new `metadata' param to
12854         completion-try-completion.
12856 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12858         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12860 2011-05-30  Leo Liu  <sdl.web@gmail.com>
12862         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12863         (rcirc-print): Decode all incoming messages (bug#8744).
12864         (rcirc-decode-coding-system): Allow value nil for automatic coding
12865         system detection.
12867 2011-06-01  Glenn Morris  <rgm@gnu.org>
12869         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12871 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12873         * image.el (image-animate-max-time): Allow nil and t values.
12874         Default to nil.
12875         (create-animated-image): Doc fix.
12876         (image-animate-start): Remove second arg; just use
12877         image-animate-max-time.
12878         (image-animate-timeout): Doc fix.  Args changed.
12880         * image-mode.el (image-toggle-display-image): Ensure that the
12881         image spec passed to the animate timer is the same object as in
12882         the buffer's display property (Bug#6981).
12883         (image-transform-properties): Doc fix.
12885         * image.el (image-animate-max-time): Default to nil.
12887 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
12889         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12890         entire buffer list (Bug#8184).
12892 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12894         * image.el (imagemagick-types-inhibit)
12895         (imagemagick-register-types): Doc fix.
12897 2011-05-29  Deniz Dogan  <deniz@dogan.se>
12899         * net/rcirc.el (rcirc): Use the user's stored encryption method by
12900         default.
12902 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12904         * select.el: Don't perform clipboard-manager saving in hooks;
12905         leave the hooks empty.
12907 2011-05-28  Leo Liu  <sdl.web@gmail.com>
12909         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12910         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
12911         (occur-edit-mode): New major mode (Bug#8463).
12912         (occur-after-change-function): New function.
12913         (occur-engine): Give Occur tags a read-only property.
12915 2011-05-28  Kevin Ryde  <user42@zip.com.au>
12917         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12919 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12921         * bindings.el (help-echo): Make the initial non-indicator dash
12922         empty on graphical terminals (Bug#7295).
12924         * files.el (auto-mode-alist): Move config rule after the
12925         in-stripping one (Bug#8547).
12927         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12929         * startup.el (normal-splash-screen): Remove gratuitous mode-line
12930         setting (Bug#8740).
12932 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
12934         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12935         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12936         (Bug#8539).
12938 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12940         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12942 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
12944         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12945         (hs-hide-block-at-point, hs-find-block-beginning)
12946         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12947         (Bug#8279).
12949 2011-05-28  Glenn Morris  <rgm@gnu.org>
12951         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
12953 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12955         * help-fns.el (describe-function-1): If the function is a derived
12956         major mode, print the parent mode.
12958         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12959         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12961 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12963         * minibuffer.el (completion--capf-wrapper): Check applicability before
12964         returning non-nil for non-exclusive completion data.
12965         * progmodes/etags.el (tags-completion-at-point-function):
12966         * info-look.el (info-lookup-completions-at-point): Mark as
12967         non-exclusive.
12968         (info-complete): Adjust accordingly.
12970         * info-look.el: Convert to lexical-binding and completion-at-point.
12971         (info-lookup-completions-at-point): New function.
12972         (info-complete): Use it and completion-in-region.
12974 2011-05-28  Drew Adams  <drew.adams@oracle.com>
12976         * isearch.el: Let M-e start with point at the first mismatched char.
12977         (isearch-fail-pos): New function.
12978         (isearch-edit-string): Use it.
12980 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
12982         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12984 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
12986         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
12987         traversal functions for avl-trees.
12988         (avl-tree--stack): New struct.
12989         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12990         (avl-tree-enter): Add optional `updatefun' arg.
12991         (avl-tree--do-enter): Add optional `updatefun' arg.
12992         Change return value.
12993         (avl-tree-delete): Add optional `test' and `nilflag' args.
12994         (avl-tree--do-delete): Add `test' and `nilflag' args.
12995         Change return value.
12996         (avl-tree-member): Add optional `nilflag'
12997         (avl-tree-member-p): New function.
12998         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12999         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13000         (avl-tree-stack-empty-p): New functions.
13002         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13003         avl-tree--del-balance1 and make it work both ways.
13004         (avl-tree--del-balance2): Remove.
13005         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13006         make it work both ways.
13007         (avl-tree--enter-balance2): Remove.
13008         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13009         New macros.
13010         (avl-tree--mapc, avl-tree-map): Add direction argument.
13012 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
13014         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13016 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
13018         * select.el: Support clipboard managers with built-in function
13019         x-clipboard-manager-save, via delete-frame-functions and
13020         kill-emacs-hook.
13021         (xselect-convert-to-targets): Add MULTIPLE target to list.
13022         (xselect-convert-to-save-targets): New function.
13024 2011-05-27  Kenichi Handa  <handa@m17n.org>
13026         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13027         let-binding rfc2047-encode-encoded-words to nil.
13029 2011-05-27  Glenn Morris  <rgm@gnu.org>
13031         * mail/emacsbug.el: Don't require url-util.
13033         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
13035         * files.el (set-auto-mode):
13036         Also respect mode: entries at the end of the file.  (Bug#8586)
13038 2011-05-26  Glenn Morris  <rgm@gnu.org>
13040         * files.el (hack-local-variables-prop-line, hack-local-variables):
13041         Downcase mode names, as seems to be traditional.
13042         (hack-local-variables, hack-local-variables-apply): Doc fixes.
13044         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13045         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
13047 2011-05-25  Julien Danjou  <julien@danjou.info>
13049         * textmodes/rst.el (rst-define-level-faces): Do not define face
13050         symbol if it is already defined.
13052 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13054         * play/5x5.el (5x5-new-game, 5x5-randomize):
13055         Reset 5x5-solver-output to nil when a new grid is cast.
13056         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13057         these debugging traces, as defmacro breaks the compiled code.
13059 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
13061         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13063 2011-05-24  Leo Liu  <sdl.web@gmail.com>
13065         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13066         (vc-bzr-sha1): Adapt.
13068         * sha1.el: Remove.  Function `sha1' is now builtin.
13070         * bindings.el: Provide sha1 feature.
13072 2011-05-24  Kenichi Handa  <handa@m17n.org>
13074         * mail/sendmail.el: Require `rfc2047'.
13075         (mail-insert-from-field): Do not perform RFC2047 encoding.
13076         (mail-encode-header): New function.
13077         (sendmail-send-it): Set buffer-file-coding-system of the work
13078         buffer to the return value of select-message-coding-system.
13079         Call mail-encode-header.
13081         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13083 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
13085         * mail/supercite.el (sc-default-cite-frame):
13086         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13088 2011-05-24  Glenn Morris  <rgm@gnu.org>
13090         * progmodes/python.el (brm-menu): Declare.
13092         * emulation/viper.el (viper-set-hooks): Declare.
13094         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13095         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13096         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13097         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13098         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13099         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13101 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13103         Add an :exit-function for completion-at-point.
13105         * minibuffer.el (completion--done): New fun.
13106         (completion--do-completion): Use it.  New arg `expect-exact'.
13107         (minibuffer-complete, minibuffer-complete-word): Don't output message,
13108         since completion--do-completion does it for us now.
13109         (minibuffer-force-complete): Use completion--done and
13110         completion--replace.  Handle sole-completion case with more care.
13111         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13112         (completion-extra-properties): New var.
13113         (completion-annotate-function): Make obsolete.
13114         (minibuffer-completion-help): Adjust accordingly.
13115         Use completion-list-insert-choice-function.
13116         (completion-at-point, completion-help-at-point):
13117         Bind completion-extra-properties.
13118         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13119         * simple.el (completion-list-insert-choice-function): New var.
13120         (completion-setup-function): Preserve it.
13121         (choose-completion): Pay attention to it, shuffle the code a bit.
13122         (choose-completion-string): New arg `insert-function'.
13124         * textmodes/bibtex.el: Convert to lexical binding.
13125         (bibtex-mode-map): Use completion-at-point.
13126         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13127         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13128         (bibtex-complete): Define as obsolete alias.
13129         (bibtex-complete-internal): Remove.
13130         (bibtex-format-entry): Remove unused sub-group in regexp.
13131         * shell.el (shell--command-completion-data)
13132         (shell-environment-variable-completion):
13133         * pcomplete.el (pcomplete-completions-at-point):
13134         * comint.el (comint--complete-file-name-data): Use :exit-function
13135         instead of completion-table-with-terminator so it also works for
13136         choose-completion.
13138 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13140         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13142         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13143         (bug#8710).
13145         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13147 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
13149         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13150         customization variable and implement: If non-nil, auto-fill will
13151         be inhibited while on topic's header line.
13153 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13155         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13156         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
13157         always have a solution in grid size = 5 cases.
13158         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13159         (5x5-solver-output, 5x5-log-buffer): New vars.
13160         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13161         Make these variables buffer local to achieve 5x5 multi-session-ness.
13162         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13163         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13164         (5x5-solve-suggest): New funs.
13165         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13166         randomize a grid so that we ensure that there is always a solution.
13167         (5x5-make-random-grid): Allow other movement than flipping.
13169 2011-05-23  Kevin Ryde  <user42@zip.com.au>
13171         * emacs-lisp/advice.el (ad-read-advised-function):
13172         Use `function-called-at-point' as the default, if it has
13173         advice and passes PREDICATE.
13175 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13177         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13178         byte-compile-lambda if it's actually a lambda.
13180         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13181         Fix function quoting.  Use backquote better.
13183 2011-05-22  Yuanle Song  <sylecn@gmail.com>
13185         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13186         matching (Bug#8516).
13188 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
13190         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13191         different face (Bug#8178).
13193 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
13195         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13196         defface (Bug#8144).
13198 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13200         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13201         funcall as well (bug#8712).  Warn when performing those conversions.
13202         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13204         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13206 2011-05-22  Glenn Morris  <rgm@gnu.org>
13208         * files.el (hack-local-variables-prop-line): Small simplifications.
13209         (hack-local-variables, hack-local-variables-prop-line):
13210         If MODE-ONLY, return the mode, rather than just `t'.
13212 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13214         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13216 2011-05-21  Glenn Morris  <rgm@gnu.org>
13218         * files.el (hack-local-variables-prop-line, hack-local-variables):
13219         If only interested in the mode, don't bother doing the other stuff.
13221         * image-mode.el (image-after-revert-hook):
13222         Redraw all frames on which the image is visible.  (Bug#8567)
13224         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
13226         * wid-edit.el (widget-checklist-match-inline):
13227         Fix 2011-04-19 change.  (Bug#8649)
13229 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13231         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13232         Also allow singlespace after single-letter capitals followed by a dot.
13234         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13235         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13237 2011-05-20  Nix  <nix@esperi.org.uk>
13239         * files.el (basic-save-buffer-2):
13240         Fix handling of break-hardlink-on-save with non-existent files.
13242 2011-05-19  Deniz Dogan  <deniz@dogan.se>
13244         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13245         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13247 2011-05-19  Glenn Morris  <rgm@gnu.org>
13249         * progmodes/f90.el (f90-type-def-re):
13250         Handle "type, bind(c)".  (Bug#8691)
13252         * emacs-lisp/autoload.el (batch-update-autoloads):
13253         Set autoload-excludes by parsing loadup.el rather than Makefiles.
13255 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
13257         * net/tramp.el (tramp-process-actions): Set "first-password-request"
13258         property for the correct connection in case of multihops.
13260 2011-05-18  Glenn Morris  <rgm@gnu.org>
13262         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13263         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13265         Rationalize calendar handling of day and month abbrev-arrays.
13266         * calendar/calendar.el (calendar-customized-p): New function.
13267         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13268         (calendar-day-name-array, calendar-month-name-array): Doc fix.
13269         Add :set function.
13270         (calendar-abbrev-length, calendar-day-abbrev-array)
13271         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13272         (calendar-day-abbrev-array, calendar-month-abbrev-array):
13273         Elements may no longer be nil.
13274         (calendar-day-name, calendar-month-name):
13275         Update for changed nature of abbrev arrays.
13276         * calendar/diary-lib.el (diary-name-pattern):
13277         Update for changed nature of abbrev arrays.
13278         (diary-mark-entries-1): Update calendar-make-alist calls.
13279         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13280         * calendar/cal-html.el (cal-html-day-abbrev-array):
13281         Simply inherit from calendar-day-abbrev-array.
13283 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13285         * progmodes/grep.el (grep-mode): Disable default
13286         compilation-directory-matcher setting (bug#8684).
13288 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
13290         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13291         instead of "head" and "tail".  There were problems with SunOS 5.9,
13292         and it performs better.
13294 2011-05-17  Glenn Morris  <rgm@gnu.org>
13296         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13298         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13299         Replace obsolete function.
13301         * shell.el (pcomplete-parse-arguments-function): Declare.
13303         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13304         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13305         (appt-check): Doc fixes.
13306         (appt-disp-window-function, appt-delete-window-function):
13307         Remove needless special case in custom :type.
13308         (appt-display-count): Default to 0, not nil.
13309         (appt-check): Reset appt-display-count to 0, not nil.
13311 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
13313         * progmodes/python.el (python-font-lock-keywords):
13314         Add the Python 3.X keyword "nonlocal" (bug#8639).
13316 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13318         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13320 2011-05-16  Kevin Ryde  <user42@zip.com.au>
13322         * info-look.el (makefile-automake-mode): New setups, looking in
13323         automake manual, then makefile-mode.
13324         (makefile-mode): Remove automake manual, have it just in
13325         makefile-automake-mode since there's various things different or
13326         not relevant to plain make.
13327         (makefile-mode): Remove "other-modes" non-existent automake-mode,
13328         believe a hypothetical automake-mode would go to makefile-mode,
13329         not the other way around.
13331 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
13333         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13334         hunk-end tags (Bug#8672).
13336         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13337         vc-annotate-show-diff-revision-at-line (Bug#8671).
13339 2011-05-14  Glenn Morris  <rgm@gnu.org>
13341         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13342         in the middle of an existing one with multiple authors.  (Bug#8645)
13343         (change-log-font-lock-keywords): Also handle multiple author lines
13344         with leading tabs.  (Bug#8644)
13346         * calendar/appt.el (appt-check): Rename some local variables.
13347         Some simplification/reordering.
13349         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13350         (feedmail-sendmail-f-doesnt-sell-me-out)
13351         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13352         (feedmail-debug-sit-for, feedmail-queue-express-hook)
13353         (feedmail-queue-runner-message-sender): Set :version.
13354         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13355         (bbdb-dwim-net-address, vm-mail): Declare.
13356         (feedmail-binmail-gnulinuxish-template):
13357         Rename from feedmail-binmail-linuxish-template.
13358         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13359         Use insert-buffer-substring.
13361 2011-05-14  Bill Carpenter  <bill@carpenter.org>
13363         * mail/feedmail.el (feedmail-patch-level): Increase.
13364         (feedmail-debug): New custom group.
13365         (feedmail-confirm-outgoing-timeout)
13366         (feedmail-sendmail-f-doesnt-sell-me-out)
13367         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13368         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13369         (feedmail-sender-line, feedmail-from-line)
13370         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13371         (feedmail-spray-this-address)
13372         (feedmail-spray-address-fiddle-plex-list)
13373         (feedmail-queue-use-send-time-for-date)
13374         (feedmail-queue-use-send-time-for-message-id)
13375         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13376         (feedmail-buffer-eating-function):
13377         Doc fixes.
13378         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13379         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13380         (feedmail-message-action-scroll-down): New functions.
13381         (feedmail-queue-directory, feedmail-queue-draft-directory):
13382         Use expand-file-name.
13383         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13384         Remove C-v help entry.
13385         (feedmail-queue-buffer-file-name): New variable.
13386         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13387         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13388         (feedmail-message-action-send-strong, feedmail-message-action-edit)
13389         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13390         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13391         (feedmail-message-action-toggle-spray)
13392         (feedmail-run-the-queue-no-prompts)
13393         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13394         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13395         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13396         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13397         (feedmail-envelope-deducer, feedmail-fiddle-from)
13398         (feedmail-fiddle-sender, feedmail-default-date-generator)
13399         (feedmail-fiddle-date, feedmail-fiddle-message-id)
13400         (feedmail-fiddle-spray-address)
13401         (feedmail-fiddle-list-of-spray-fiddle-plexes)
13402         (feedmail-fiddle-list-of-fiddle-plexes)
13403         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13404         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13405         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13406         Change default.  Doc fix.
13407         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13408         (feedmail-binmail-linuxish-template): New constant.
13409         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
13410         Respect feedmail-sendmail-f-doesnt-sell-me-out.
13411         (feedmail-send-it): Add debug call.
13412         Use feedmail-queue-buffer-file-name, and
13413         feedmail-send-it-immediately-wrapper.
13414         (feedmail-message-action-send): Add debug call.
13415         Use feedmail-send-it-immediately-wrapper.
13416         (feedmail-queue-express-to-queue): Add debug call.
13417         Run feedmail-queue-express-hook.
13418         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
13419         (feedmail-message-action-help-blat):
13420         Rename from feedmail-queue-send-edit-prompt-help-first.
13421         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
13422         Check line-endings.  Handle errors better.
13423         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13424         Doc fix.  Add debug call.
13425         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
13426         Use feedmail-queue-send-edit-prompt-inner.
13427         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13428         (feedmail-queue-send-edit-prompt-inner): New function, extracted
13429         from feedmail-queue-send-edit-prompt.
13430         (feedmail-queue-send-edit-prompt-help)
13431         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13432         (feedmail-tidy-up-slug): Add debug call.
13433         Respect feedmail-queue-slug-suspect-regexp.
13434         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13435         (feedmail-dump-message-to-queue): Add debug call.
13436         Expand queue-directory.
13437         (feedmail-dump-message-to-queue): Change message slightly.
13438         Use feedmail-say-chatter.
13439         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
13440         (feedmail-send-it-immediately-wrapper): New function.
13441         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
13442         Insert empty string rather than newline.  Handle full-frame case.
13443         Use catch/throw.  Use feedmail-say-chatter.
13444         (feedmail-fiddle-from): Try mail-host-address.
13445         (feedmail-default-message-id-generator): Doc fix.
13446         Bind system-time-locale.  Handle missing end.
13447         (feedmail-fiddle-x-mailer): Add debug call.
13448         Handle feedmail-x-mailer-line being nil.
13449         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13450         Add debug call.  Use buffer-substring-no-properties.
13451         (feedmail-say-debug, feedmail-say-chatter): New functions.
13452         (feedmail-find-eoh): Give an explicit error.
13454 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
13456         * net/newst-treeview.el (newsticker-treeview-face): Change default
13457         family from helvetica to sans.
13458         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13459         etc/images/newsticker.
13461         * net/newst-reader.el (newsticker-feed-face): Change default
13462         family from helvetica to sans.
13464         * net/newst-plainview.el (newsticker-new-item-face)
13465         (newsticker-old-item-face, newsticker-immortal-item-face)
13466         (newsticker-obsolete-item-face, newsticker-date-face)
13467         (newsticker-statistics-face): Change default family from
13468         helvetica to sans.
13469         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13470         etc/images/newsticker.
13472         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13473         (newsticker--process-auto-mark-filter-match): Tell user about
13474         auto-marking.
13476 2011-05-13  Didier Verna  <didier@xemacs.org>
13478         Common Lisp indentation improvements on defmethod and lambda-lists.
13479         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13480         TODO entries.
13481         (lisp-lambda-list-keyword-parameter-indentation)
13482         (lisp-lambda-list-keyword-parameter-alignment)
13483         (lisp-lambda-list-keyword-alignment): New customizable user options.
13484         (lisp-indent-defun-method): Improve docstring.
13485         (extended-loop-p): Fix comment.
13486         (lisp-indent-lambda-list-keywords-regexp): New variable.
13487         (lisp-indent-lambda-list): New function.
13488         (lisp-indent-259): Use it.
13489         (lisp-indent-defmethod): Support for more than one
13490         method qualifier and properly indent methods lambda-lists.
13491         (defgeneric): Provide a missing common-lisp-indent-function property.
13493 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13495         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13496         bounds for the empty string (bug#8667).
13498 2011-05-13  Glenn Morris  <rgm@gnu.org>
13500         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13502         * mail/sendmail.el (sendmail-program): Try executable-find first.
13503         (sendmail-send-it): `sendmail-program' cannot be unbound.
13505         * calendar/appt.el (appt-make-list): Simplify.
13506         (appt-time-msg-list): Doc fix.
13507         (appt-check): Change mode-line message at the time of the appointment.
13509 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13511         * progmodes/ld-script.el (ld-script-keywords)
13512         (ld-script-builtins): Update keywords list.
13514 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13516         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13518         * shell.el (shell-completion-vars): New function.
13519         (shell-mode):
13520         * simple.el (read-shell-command): Use it.
13521         (blink-matching-open): No need for " [...]" in minibuffer-message.
13523 2011-05-12  Glenn Morris  <rgm@gnu.org>
13525         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13526         (appt-check): Simplify.
13528 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
13530         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13531         literal "/dev/null".
13533 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13535         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13536         Fix typo.
13538 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
13540         * progmodes/which-func.el (which-function):
13541         Use add-log-current-defun instead of add-log-current-defun-function,
13542         which might not be defined (Bug#8260).
13544 2011-05-12  Glenn Morris  <rgm@gnu.org>
13546         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13547         Let byte-compile-initial-macro-environment always take precedence.
13549 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13551         * net/rcirc.el: Add support for SSL/TLS connections.
13552         (rcirc-server-alist): New field `encryption'.
13553         (rcirc): Check `encryption' settings.
13554         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
13555         Merge make-local-variable into `set'.
13556         (rcirc--connection-open-p): New function.
13557         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13558         the process is not a network process (e.g. running gnutls-cli).
13559         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13560         Make rcirc-(en|de)code-coding-system local here.
13561         (rcirc-mode): Merge make-local-variable into `set'.
13562         (rcirc-parent-buffer): Make permanent buffer-local.
13563         (rcirc-multiline-minor-mode): Don't do it here.
13564         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13565         there's no server buffer.
13567 2011-05-11  Glenn Morris  <rgm@gnu.org>
13569         * newcomment.el (comment-kill): Prefix "unused" local.
13571         * term/w32console.el (get-screen-color): Declare.
13573         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13574         Handle symbol elements of byte-compile-initial-macro-environment.
13576 2011-05-10  Leo Liu  <sdl.web@gmail.com>
13578         * bookmark.el (bookmark-bmenu-mode-map):
13579         Bind bookmark-bmenu-search to `/'.
13581         * mail/footnote.el: Convert to utf-8 encoding.
13582         (footnote-unicode-string, footnote-unicode-regexp): New variable.
13583         (Footnote-unicode): New function.
13584         (footnote-style-alist): Add unicode style to the list.
13585         (footnote-style): Doc fix.
13587 2011-05-10  Jim Meyering  <meyering@redhat.com>
13589         Fix doubled-word typos.
13590         * international/quail.el (quail-insert-kbd-layout): and and -> and
13591         * kermit.el: and and -> and
13592         * net/ldap.el (ldap-search-internal): to to -> to
13593         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13594         * progmodes/js.el (js-mode): and and -> and
13595         * textmodes/artist.el (artist-move-to-xy): at at -> at
13596         (artist-draw-region-trim-line-endings): if if -> if
13597         And Safetyc -> Safety.
13598         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13600 2011-05-10  Glenn Morris  <rgm@gnu.org>
13601             Stefan Monnier  <monnier@iro.umontreal.ca>
13603         * files.el (hack-one-local-variable-eval-safep):
13604         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
13606 2011-05-10  Glenn Morris  <rgm@gnu.org>
13608         * calendar/diary-lib.el (diary-list-entries-hook)
13609         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13610         (diary-nongregorian-marking-hook, diary-list-entries)
13611         (diary-include-other-diary-files, diary-mark-entries)
13612         (diary-mark-included-diary-files): Doc fixes.
13614 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
13616         * misc.el: Require tabulated-list.el during compilation.
13618 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
13620         * progmodes/compile.el (compilation-start):
13621         Run compilation-filter-hook for the async case too.
13622         (compilation-filter-hook): Doc fix.
13624 2011-05-09  Deniz Dogan  <deniz@dogan.se>
13626         * wdired.el: Remove outdated installation comment.  Fix usage
13627         comment.
13629 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
13631         * misc.el: Implement new command `list-dynamic-libraries'.
13632         (list-dynamic-libraries--loaded-only-p): New variable.
13633         (list-dynamic-libraries--refresh): New function.
13634         (list-dynamic-libraries): New command.
13636 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
13638         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13639         Fix the ant regexp to handle end-line and end-column info from jikes.
13640         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
13641         higher priority to avoid clobbering by gnu.
13643 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
13645         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13646         if the face has existing theme settings (Bug#8454).
13648 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
13650         * progmodes/perl-mode.el (perl-imenu-generic-expression):
13651         Only match variables declared via `my' or `our' (Bug#8261).
13653         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13654         special file names `.' and `..' (Bug#8259).
13656 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
13658         * progmodes/grep.el (grep-mode-font-lock-keywords):
13659         Remove buffer-changing entries.
13660         (grep-filter): New function.
13661         (grep-mode): Add it to compilation-filter-hook.
13663         * progmodes/compile.el (compilation-filter-hook)
13664         (compilation-filter-start): New defvars.
13665         (compilation-filter): Call compilation-filter-hook prior to
13666         updating the process mark.
13668 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13670         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13672 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
13674         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13675         mailclient-send-it even if window-system is nil.  (Bug#8595)
13677         * term/w32console.el (terminal-init-w32console):
13678         Call get-screen-color and use its output to set the frame
13679         background-mode.  (Bug#8597)
13681 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13683         Make bytecomp.el understand that defmethod defines funs (bug#8631).
13684         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13685         New functions.
13686         (defgeneric, eieio--defmethod): Use them.
13687         (eieio-defgeneric): Remove.
13688         (defmethod): Call defgeneric in a way visible to the byte-compiler.
13690 2011-05-07  Glenn Morris  <rgm@gnu.org>
13692         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13693         Use let rather than let*.
13694         (timeclock-find-discrep): Remove unused local.
13696         * calendar/diary-lib.el (diary-comment-start): Doc fix.
13698         * calendar/appt.el (appt-time-msg-list): Doc fix.
13700 2011-05-06  Noah Friedman  <friedman@splode.com>
13702         * apropos.el (apropos-print-doc): Only use
13703         emacs-lisp-docstring-fill-column when it is bound to an integer,
13704         per that variable's documentation.
13706 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13708         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13709         and warnings are not silently discarded (e.g. use -d instead of -P).
13711 2011-05-06  Glenn Morris  <rgm@gnu.org>
13713         * calendar/appt.el (appt-message-warning-time): Doc fix.
13714         (appt-warning-time-regexp): New option.
13715         (appt-make-list): Respect appt-message-warning-time.
13717         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13718         New options.
13719         (diary-add-to-list): Strip comments from the displayed string.
13720         (diary-mode): Set comment-start and comment-end.
13722         * vc/diff-mode.el (smerge-refine-subst): Declare.
13723         (diff-refine-hunk): Don't require smerge-mode when compiling.
13725 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
13727         * simple.el (list-processes): Return nil as the docstring says.
13729 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
13731         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13732         to "".
13733         (ange-ftp-write-region, ange-ftp-insert-file-contents)
13734         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13735         determining of binary transfer.  (Bug#7383)
13737 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
13739         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13740         Fix port computation bug.  (Bug#8618)
13742 2011-05-05  Glenn Morris  <rgm@gnu.org>
13744         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13746         * simple.el (shell-dynamic-complete-functions)
13747         (comint-dynamic-complete-functions): Declare.
13749         * net/network-stream.el (gnutls-negotiate):
13750         * simple.el (tabulated-list-print): Fix declarations.
13752         * progmodes/gud.el (syntax-symbol, syntax-point):
13753         Remove unnecessary and incorrect declarations.
13755         * emacs-lisp/check-declare.el (check-declare-scan):
13756         Handle byte-compile-initial-macro-environment in bytecomp.el
13758 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13760         Fix earlier half-done eieio-defmethod change (bug#8338).
13761         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13762         Streamline and change calling convention.
13763         (defmethod): Adjust accordingly and simplify.
13764         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13765         new eieio--defmethod.
13766         (slot-boundp): Minor CSE simplification.
13768 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
13770         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13771         (glasses-make-readable): Use glasses-separate-capital-groups.
13773 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
13775         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13776         (warning-series): Doc fix.
13777         (display-warning): Don't try to create the buffer if we just found it.
13779 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
13781         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13782         (autoload-find-generated-file): New function.
13783         (generate-file-autoloads): Bind generated-autoload-file to
13784         buffer-file-name.
13785         (update-file-autoloads, update-directory-autoloads):
13786         Use autoload-find-generated-file.  If called interactively, prompt for
13787         output file (Bug#7989).
13788         (batch-update-autoloads): Doc fix.
13790 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
13792         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13794 2011-05-04  Glenn Morris  <rgm@gnu.org>
13796         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13797         function, so it follows changes in calendar-date-style.
13798         (diary-fancy-date-matcher): New function.
13799         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13800         (diary-fancy-font-lock-fontify-region-function):
13801         Use diary-fancy-date-pattern as a function.
13803         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13804         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
13806 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
13808         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13809         instead of positional arguments.  Allow :keylist and :crlfiles
13810         arguments.
13811         (open-gnutls-stream): Call it.
13813         * net/network-stream.el (network-stream-open-starttls): Adjust to
13814         call `gnutls-negotiate' with :process and :hostname arguments.
13816 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13818         * minibuffer.el (completion--message): New function.
13819         (completion--do-completion, minibuffer-complete)
13820         (minibuffer-force-complete, minibuffer-complete-word): Use it.
13821         (completion--do-completion): Don't ignore completion-auto-help when in
13822         icomplete-mode.
13824         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13825         internal encoding (e.g. tibetan zero is not whitespace).
13826         (global-whitespace-mode): Prefer save-current-buffer.
13827         (whitespace-trailing-regexp): Remove useless save-match-data.
13828         (whitespace-empty-at-bob-regexp): Minor simplification.
13830 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
13832         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13834 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13836         * textmodes/ispell.el (ispell-add-per-file-word-list):
13837         Use `concat' to create string for insertion.
13839 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13841         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13842         Avoid open-line which runs post-self-insert-hook.
13843         (bibtex-fill-entry): Remove unused `end' var.
13845 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
13847         * textmodes/ispell.el (ispell-add-per-file-word-list):
13848         Protect against `nil' value of `comment-start' (Bug#8579).
13850 2011-05-03  Leo Liu  <sdl.web@gmail.com>
13852         * isearch.el (isearch-yank-pop): New command.
13853         (isearch-mode-map): Bind it to `M-y'.
13854         (isearch-forward): Mention it.
13856 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13858         * simple.el (minibuffer-complete-shell-command): Remove.
13859         (minibuffer-local-shell-command-map): Use completion-at-point.
13860         (read-shell-command): Setup completion vars here instead.
13861         (read-expression-map): Bind TAB to symbol completion.
13863         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13864         error directly rather via storing it into `results'.
13866 2011-05-02  Leo Liu  <sdl.web@gmail.com>
13868         * vc/diff.el: Fix description.
13870 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13872         * server.el (server-eval-at): New function.
13874 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13876         * net/network-stream.el (open-network-stream): Take a :nowait
13877         parameter and pass it on to `make-network-process'.
13878         (network-stream-open-plain): Ditto.
13880 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13882         * faces.el (face-spec-set-match-display): Don't match toolkit
13883         options on terminal frames.
13885 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13887         * progmodes/pascal.el: Use lexical binding.
13888         (pascal-mode-map): Remove author preferences.
13890         * pcomplete.el (pcomplete-std-complete): Don't abuse
13891         completion-at-point.
13893 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
13895         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13896         removing code that has been dead since 1991 or so.
13898         * startup.el (command-line): When warning about "_emacs", use a
13899         delayed warning to allow the user to filter it out.
13901 2011-04-28  Deniz Dogan  <deniz@dogan.se>
13903         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13904         user has not joined.
13906 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13908         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13909         aren't any completions at point.
13911 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
13913         * subr.el (display-delayed-warnings): New function.
13914         (delayed-warnings-hook): New variable.
13916 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13918         * minibuffer.el (completion-at-point, completion-help-at-point):
13919         Don't presume that a given completion-at-point-function will always
13920         use the same calling convention.
13922         * pcomplete.el (pcomplete-completions-at-point):
13923         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
13924         pcomplete-seen is non-nil.
13925         (pcomplete-comint-setup): Also recognize the new comint/shell
13926         completion functions.
13927         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13928         pcomplete-seen is non-nil.
13930 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
13932         * calendar/icalendar.el (diary-lib): Add require statement.
13933         (icalendar--create-uid): Read out a uid from a text-property on
13934         the first character in the entry.  This allows for code to add its
13935         own uid to the entry.
13936         (icalendar--convert-float-to-ical): Add export of
13937         `diary-float'-entries save for those with the optional DAY
13938         argument.
13940 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
13942         * subr.el (shell-quote-argument): Use alternate escaping strategy
13943         when we spot a variable reference in a string.
13945 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
13947         * cus-start.el (all): Define customization for debug-on-event.
13949 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
13951         * subr.el (shell-quote-argument): Escape correctly under Windows.
13953 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13955         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13957 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
13959         * net/tramp.el (tramp-process-actions): Add POS argument.
13960         Delete region between POS and (pos).
13962         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13963         Use `nil' position in `tramp-process-actions' call.
13964         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13966         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13967         position in `tramp-process-actions' call.
13969         * net/trampver.el: Update release number.
13971 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13973         * custom.el (defcustom): Obey lexical-binding.
13975         Fix octave-inf completion problems reported by Alexander Klimov.
13976         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13977         Inherit from octave-mode-syntax-table.
13978         (inferior-octave-mode): Set info-lookup-mode.
13979         (inferior-octave-completion-at-point): New function.
13980         (inferior-octave-complete): Use it and completion-in-region.
13981         (inferior-octave-dynamic-complete-functions): Use it as well, and use
13982         comint-filename-completion.
13983         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13984         symbol elements which shouldn't be word elements.
13985         (octave-font-lock-keywords, octave-beginning-of-defun)
13986         (octave-function-header-regexp): Adjust regexps accordingly.
13987         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13989 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
13991         * net/gnutls.el (gnutls-errorp): Declare before first use.
13993 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
13995         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13996         verify-error, and verify-hostname-error parameters.  Check whether
13997         default trustfile exists before going to use it.  Add missing
13998         argument to gnutls-message-maybe call.  Return value.
13999         Reported by Claudio Bley <claudio.bley@gmail.com>.
14000         (open-gnutls-stream): Add usage example.
14002         * net/network-stream.el (network-stream-open-starttls): Give host
14003         parameter to `gnutls-negotiate'.
14004         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14005         * subr.el (shell-quote-argument): Escape correctly under Windows.
14007 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
14009         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14010         Use correct match group (bug#8438).
14012 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
14014         * emacs-lisp/package.el (package-built-in-p): Fix typo.
14015         (package-menu--generate): New arg specifying packages to show.
14016         (package-menu-refresh, package-menu-execute, list-packages):
14017         Callers changed.
14018         (package-show-package-list): New function, replacing deleted
14019         package--list-packages (renamed because it is non-internal).
14021         * finder.el (finder-list-matches): Use package-show-package-list
14022         instead of deleted package--list-packages.
14024         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14025         Based on a previous implementation by Juanma Barranquero (Bug#8366).
14026         (vc-annotate-mode-map): Bind it to RET.
14028 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
14030         * progmodes/etags.el (next-file): Don't use set-buffer to change
14031         buffers (Bug#8478).
14033 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
14035         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14037         * apropos.el (apropos-label-face): Avoid variable-pitch face.
14038         (apropos-accumulator): Doc fix.
14039         (apropos-function, apropos-macro, apropos-command)
14040         (apropos-variable, apropos-face, apropos-group, apropos-widget)
14041         (apropos-plist): Add face property.
14042         (apropos-symbols-internal): Fix indentation.
14043         (apropos-print): Simplify help, and recognize apropos-multi-type.
14044         (apropos-print-doc): Use button-type-get to extract the button's
14045         face property.  Fill docstring (Bug#8352).
14047 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
14049         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14051         * play/mpuz.el (mpuz-silent): Doc fix.
14052         (mpuz-mode-map): Use mapc.
14053         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14054         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14055         Fix typos in docstrings.
14057         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14058         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14060         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14062 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
14064         * minibuffer.el (completion--do-completion): Avoid the "Next char
14065         not unique" prompt if icomplete-mode is enabled (Bug#5849).
14067         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14068         mouse-2 into unread-command-events, it is interpreted correctly.
14070         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14071         (image-toggle-display): Doc fix.
14073 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
14075         * textmodes/page.el (what-page): Use line-number-at-pos to
14076         calculate line number (Bug#6825).
14078 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
14080         * eshell/esh-mode.el (find-tag-interactive): Declare function.
14081         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14082         Pass argument NO-DEFAULT to `find-tag-interactive'.
14084 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
14086         Lexical-binding cleanup.
14088         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14089         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14090         * progmodes/ada-prj.el (ada-prj-initialize-values)
14091         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14092         (ada-prj-show-value):
14093         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14094         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14095         (antlr-invalidate-context-cache, antlr-options-menu-filter)
14096         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14097         * progmodes/bug-reference.el (bug-reference-push-button):
14098         * progmodes/fortran.el (fortran-line-length):
14099         * progmodes/glasses.el (glasses-change):
14100         * progmodes/octave-mod.el (octave-fill-paragraph):
14101         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14102         (python-pdbtrack-grub-for-buffer, python-sentinel):
14103         * progmodes/sql.el (sql-save-connection):
14104         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14105         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14106         Mark unused parameters.
14108         * progmodes/compile.el (compilation--flush-directory-cache)
14109         (compilation--flush-parse, compile-internal): Mark unused parameters.
14110         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14111         (compilation-next-error-function): Remove unused variable `timestamp'.
14113         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14114         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14116         * progmodes/dcl-mode.el (dcl-end-of-command):
14117         Remove unused variable `start'.
14118         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14119         (dcl-option-value-basic, dcl-option-value-offset)
14120         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14121         Mark unused parameters.
14122         (dcl-save-local-variable): Remove unused variable `val'.
14123         (mode): Declare.
14125         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14126         Mark unused parameters.
14127         (delphi-ignore-changes): Move before first use.
14128         (delphi-charset-token-at): Remove unused variable `start'.
14129         (delphi-else-start): Remove unused variable `if-count'.
14130         (delphi-comment-block-start, delphi-comment-block-end):
14131         Remove unused variable `kind'.
14132         (delphi-indent-line): Remove unused variable `new-point'.
14134         * progmodes/ebrowse.el (ebrowse-files-list)
14135         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14136         Mark unused parameters.  Don't quote `lambda'.
14137         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14138         Don't quote `lambda'.
14139         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14140         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14141         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14142         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14143         Use `ignore-errors'.
14144         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14145         (ebrowse-view/find-file-and-search-pattern)
14146         (ebrowse-view/find-member-declaration/definition):
14147         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14148         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14149         Rename parameter PREFIX-ARG to PREFIX.
14150         (ebrowse-tags-read-name): Remove unused variables `start' and
14151         `member-info'.
14152         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14153         to `tags-file'.
14155         * progmodes/etags.el (local-find-tag-hook): Declare.
14156         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14157         Mark unused parameters.
14159         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14160         (executable-interpret): Mark unused parameter.
14162         * progmodes/flymake.el (flymake-process-sentinel)
14163         (flymake-after-change-function)
14164         (flymake-create-temp-with-folder-structure)
14165         (flymake-get-include-dirs-dot): Mark unused parameters.
14166         (flymake-safe-delete-directory): Remove unused variable `err'.
14168         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14169         (speedbar-timer-fn, speedbar-line-text)
14170         (speedbar-change-expand-button-char, speedbar-delete-subblock)
14171         (speedbar-center-buffer-smartly): Declare functions.
14172         (gdb-find-watch-expression): Remove unused variable `array'.
14173         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14174         (gdb-starting): Mark unused parameters.
14175         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14176         (gdb-table-string): Remove unused variable `res'.
14177         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14178         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14179         (gdb-display-buffer): Remove unused variable `cur-size'.
14181         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14182         allow lexical-binding compilation.
14183         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14184         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14185         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14186         Mark unused parameters.
14187         (gud-gdb-marker-filter): Remove unused variable `match'.
14188         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14189         lambda expressions and funcall them, instead of using `fset'.
14191         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14192         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14194         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14195         variable `header-beg'; use `let'.
14197         * progmodes/icon.el (indent-icon-exp): Remove unused variables
14198         `restart', `last-sexp' and `at-do'.
14200         * progmodes/js.el (js--debug): Mark unused parameter.
14201         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14202         (js--splice-into-items): Remove unused variable `item'.
14203         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14205         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14206         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14207         (makefile-complete): Remove unused variable `try'.
14208         (makefile-fill-paragraph, makefile-match-function-end):
14209         Mark unused parameters.
14211         * progmodes/octave-inf.el (inferior-octave-complete):
14212         Remove unused variable `proc'.
14213         (inferior-octave-output-digest): Mark unused parameter.
14215         * progmodes/perl-mode.el (perl-calculate-indent):
14216         Remove unused variable `err'.
14218         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14219         (prolog-indent-line): Mark unused parameters.
14220         (prolog-indent-line): Remove unused variable `beg'.
14222         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14223         (reporter-dont-compact-list): Declare.
14225         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14226         Remove unused variable `char'.
14227         (sh-debug): Mark unused parameter.
14228         (sh-get-indent-info): Remove unused variable `start'.
14229         (sh-calculate-indent): Remove unused variable `var'.
14231         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14232         (simula-electric-keyword): Remove unused variable `null'.
14233         (simula-search-backward, simula-search-forward): Remove unused
14234         variables `begin' and `end'.
14236         * progmodes/vera-mode.el (vera-guess-basic-syntax):
14237         Remove unused variable `pos'.
14238         (vera-electric-tab, vera-comment-uncomment-region):
14239         Mark unused parameters.
14240         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14242 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
14244         * emacs-lisp/package.el (package--builtins, package-alist)
14245         (package-load-descriptor, package-built-in-p, package-activate)
14246         (define-package, package-installed-p)
14247         (package-compute-transaction, package-buffer-info)
14248         (package--push): Doc fix.  Distinguish more clearly between
14249         version strings and version lists.
14251 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
14253         Lexical-binding cleanup.
14255         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14256         (5x5-make-mutate-best):
14257         * play/fortune.el (fortune-in-buffer):
14258         * play/gomoku.el (gomoku-init-display):
14259         * play/solitaire.el (solitaire, solitaire-do-check):
14260         * play/tetris.el (tetris-default-update-speed-function):
14261         Mark unused parameters.
14263         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14264         (bubbles--shift): Remove unused variable `char-org'.
14265         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
14266         (bubbles--show-images): Remove unused variable `char'.
14268         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14269         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14270         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14271         (decipher-analyze-buffer): Use ?\s.
14272         (decipher-make-checkpoint): Remove unused variable `mapping'.
14274         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14276         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14277         Remove unused variable `result'; use `let'.
14279         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14280         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14281         (gametree-children-shown-p, gametree-compute-reduced-score):
14282         Use `ignore-errors'.
14284         * play/handwrite.el (ps-lpr-switches): Declare.
14285         (handwrite): Remove unused variables `pmin' and `lastp'.
14287         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14289         * play/landmark.el (landmark-init-display)
14290         (landmark-update-naught-weights): Mark unused parameters.
14291         (landmark-y): Remove unused variable `noise'.  Simplify.
14292         (landmark-human-plays): Remove unused variable `score'.
14294         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14295         (mpuz-try-proposal): Remove unused variable `game'.
14297         * play/zone.el (life-patterns): Declare.
14299 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
14301         * vc/vc.el (ediff-vc-internal): Declare function.
14303 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14305         * shell.el: Use lexical-binding and std completion UI.
14306         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14307         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14308         comint-preoutput-filter-functions rather than on
14309         comint-output-filter-functions.
14310         (shell-command-completion, shell--command-completion-data)
14311         (shell-filename-completion, shell-environment-variable-completion)
14312         (shell-c-a-p-replace-by-expanded-directory): New functions.
14313         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14314         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14315         (shell-dynamic-complete-environment-variable): Use them.
14316         (shell-dynamic-complete-as-environment-variable)
14317         (shell-dynamic-complete-as-command): Remove.
14318         (shell-match-partial-variable): Match past point.
14319         * comint.el: Clean up use of completion-at-point-functions.
14320         (comint-completion-at-point): New function.
14321         (comint-mode): Use it completion-at-point-functions.
14322         (comint-dynamic-complete): Make it obsolete.
14323         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14324         (comint-c-a-p-replace-by-expanded-history): New function.
14325         (comint-dynamic-complete-functions)
14326         (comint-replace-by-expanded-history): Use it.
14327         * minibuffer.el (completion-table-with-terminator): Allow dynamic
14328         termination strings.  Try harder to avoid second try-completion.
14329         (completion-in-region-mode-map): Disable bindings that don't work yet.
14331         * comint.el: Use lexical-binding.  Require CL.
14332         (comint-dynamic-complete-functions): Use comint-filename-completion.
14333         (comint-completion-addsuffix): Tweak custom type.
14334         (comint-filename-completion, comint--common-suffix)
14335         (comint--common-quoted-suffix, comint--table-subvert)
14336         (comint--complete-file-name-data): New functions.
14337         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14338         (comint-dynamic-list-filename-completions): Use them.
14339         (comint-dynamic-simple-complete): Make obsolete.
14341         * minibuffer.el (completion-in-region-mode):
14342         Keep completion-in-region-mode--predicate global.
14343         (completion-in-region--postch):
14344         Assume completion-in-region-mode--predicate is not null.
14346         * progmodes/flymake.el (flymake-start-syntax-check-process):
14347         Obey `dir'.  Simplify.
14349         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14350         we're in VC after all.
14352 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
14354         * vc/vc.el (vc-diff-build-argument-list-internal)
14355         (vc-version-ediff, vc-ediff): New commands.
14356         (vc-version-diff): Use vc-diff-build-argument-list-internal.
14358 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14360         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14361         add sanity check.
14363         * obsolete/erc-hecomplete.el: Make obsolete.
14364         * obsolete/: Standardize obsolescence info in the header.
14366 2011-04-20  Glenn Morris  <rgm@gnu.org>
14368         * calendar/solar.el (solar-horizontal-coordinates):
14369         Use the longitude argument rather than `calendar-longitude'.
14370         (solar-date-next-longitude): Remove unused locals.
14372 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14374         * whitespace.el: New version 13.2.1.
14376 2011-04-20  felix  <EmacsWiki>  (tiny change)
14378         * whitespace.el (global-whitespace-mode): Keep highlight when
14379         switching between major modes on a file.
14381 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14383         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14384         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14385         multi-line comments as well.
14387 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
14389         Lexical-binding cleanup.
14391         * arc-mode.el (archive-mode-revert):
14392         * cmuscheme.el (scheme-interactively-start-process):
14393         * custom.el (custom-initialize-delay):
14394         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14395         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14396         * emacs-lock.el (emacs-lock-clear-sentinel):
14397         * ezimage.el (defezimage):
14398         * follow.el (follow-avoid-tail-recenter):
14399         * fringe.el (set-fringe-mode-1):
14400         * generic-x.el (bat-generic-mode-compile):
14401         * help-mode.el (help-info-variable, help-do-xref)
14402         (help-mode-revert-buffer):
14403         * help.el (view-emacs-todo):
14404         * iswitchb.el (iswitchb-completion-help):
14405         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14406         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14407         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14408         * locate.el (locate-update):
14409         * longlines.el (longlines-encode-region)
14410         (longlines-after-change-function):
14411         * outline.el (outline-isearch-open-invisible):
14412         * ps-def.el (declare-function, charset-dimension, char-width)
14413         (encode-char):
14414         * ps-mule.el (ps-mule-plot-string):
14415         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14416         (recentf-edit-list-select, recentf-edit-list-validate)
14417         (recentf-open-files-action):
14418         * rect.el (delete-whitespace-rectangle-line)
14419         (rectangle-number-line-callback):
14420         * register.el (window-configuration-to-register)
14421         (frame-configuration-to-register):
14422         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14423         * select.el (xselect-convert-to-string, xselect-convert-to-length)
14424         (xselect-convert-to-targets, xselect-convert-to-delete)
14425         (xselect-convert-to-filename, xselect-convert-to-charpos)
14426         (xselect-convert-to-lineno, xselect-convert-to-colno)
14427         (xselect-convert-to-os, xselect-convert-to-host)
14428         (xselect-convert-to-user, xselect-convert-to-class)
14429         (xselect-convert-to-name, xselect-convert-to-integer)
14430         (xselect-convert-to-atom, xselect-convert-to-identity):
14431         * subr.el (declare, ignore, process-kill-without-query)
14432         (text-clone-maintain):
14433         * terminal.el (te-get-char, te-tic-sentinel):
14434         * tool-bar.el (tool-bar-make-keymap):
14435         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14436         * type-break.el (type-break-mode, type-break-noninteractive-query):
14437         * view.el (View-back-to-mark):
14438         * wid-browse.el (widget-browse-action, widget-browse-widget)
14439         (widget-browse-widgets, widget-browse-sexp):
14440         * widget.el (define-widget-keywords):
14441         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14442         Mark unused parameters.
14444         * align.el (align-adjust-col-for-rule): Mark unused parameter.
14445         (align-areas): Remove unused variable `look'.
14446         (align-region): Remove unused variables `real-end' and `pos-list'.
14448         * apropos.el (apropos-score-doc): Remove unused variable `i'.
14450         * bindings.el (mode-line-modified, mode-line-remote):
14451         Mark unused parameters.
14452         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14454         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14455         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14457         * comint.el (comint-history-isearch-pop-state)
14458         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14459         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14460         (comint-substitute-in-file-name): Doc fix.
14462         * completion.el (cmpl-statistics-block): Mark unused parameter.
14463         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14464         (save-completions-to-file, load-completions-from-file):
14465         Remove unused local variable `e'.
14467         * composite.el (compose-chars): Remove unused variable `len'.
14468         (lgstring-insert-glyph): Remove unused variable `g'.
14469         (compose-glyph-string): Remove unused variables `ascent',
14470         `descent', `lbearing' and `rbearing'.
14471         (compose-glyph-string-relative): Remove unused variables
14472         `lbearing', `rbearing' and `wadjust'.
14473         (compose-gstring-for-graphic): Remove unused variables `header',
14474         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
14475         (compose-gstring-for-terminal): Remove unused variables `header'
14476         and `nchars'.  Use `let', not `let*'.
14478         * cus-edit.el (Custom-set, Custom-save, custom-reset)
14479         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14480         (Custom-buffer-done, custom-buffer-create-internal)
14481         (custom-browse-visibility-action, custom-browse-group-tag-action)
14482         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14483         (widget-magic-mouse-down-action, custom-toggle-parent)
14484         (custom-add-parent-links, custom-toggle-hide-variable)
14485         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14486         (custom-toggle-hide-face, face, hook, custom-group-link-action)
14487         (custom-face-menu-create, custom-variable-menu-create, get)
14488         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14489         (custom-reset-standard-save-and-update): Remove unused variable `value'.
14490         (customize-apropos): Remove unused variable `tests'.
14491         (custom-group-value-create): Remove unused variable `hidden-p'.
14492         (sort-fold-case): Declare.
14494         * cus-theme.el (custom-reset-standard-faces-list)
14495         (custom-reset-standard-variables-list): Declare.
14496         (customize-create-theme, custom-theme-revert, custom-theme-write)
14497         (custom-theme-choose-mode, customize-themes, custom-theme-save):
14498         Mark unused parameters.
14500         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14502         * delim-col.el (delimit-columns-max): Move defvar before first use.
14504         * descr-text.el (describe-char-categories): Don't quote `lambda'.
14505         (describe-char): Don't quote `lambda'.  Mark unused parameter.
14507         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14508         (auto-insert): Declare.
14509         (desktop-restore-file-buffer): Rename desktop-* parameters;
14510         mark unused ones.
14511         (desktop-create-buffer): Rename desktop-* parameters and bind them.
14512         (desktop-buffer): Rename desktop-* parameters.
14514         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14515         (dframe-reposition-frame-xemacs, dframe-help-echo)
14516         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14517         Mark unused parameters.
14519         * dired-aux.el (backup-extract-version-start, overwrite-query)
14520         (overwrite-backup-query, rename-regexp-query)
14521         (rename-non-directory-query): Declare.
14522         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14523         (dired-add-entry): Remove unused variable `orig-file-name'.
14524         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14525         Use parameter PRESERVE-TIME instead of accessing dynamic variable
14526         `dired-copy-preserve-time' directly.
14527         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14528         (dired-insert-subdir-newpos): Rename unused variable `pos'.
14530         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14531         (dired-virtual-revert, dired-make-relative-symlink):
14532         Mark unused parameters.
14533         (manual-program): Declare.
14534         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14535         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14536         wrapped in `with-no-warnings' to avoid replacing one warning by another.
14538         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14540         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14542         * echistory.el (electric-history-in-progress, Helper-return-blurb):
14543         Declare.
14545         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14547         * electric.el (Electric-command-loop): Rename parameter
14548         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14550         * expand.el (expand-in-literal): Remove unused variable `here'.
14552         * facemenu.el (facemenu-add-new-color):
14553         Remove unused variable `docstring'.
14555         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14556         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14557         (face-attr-construct): Mark unused parameter.  Doc fix.
14558         (read-color): Remove unused variable `hex-string'.
14560         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14561         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14562         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14563         (display-buffer-other-frame): Remove unused variable `old-window'.
14564         (kill-buffer-hook): Declare.
14565         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14566         Mark unused parameters.
14567         (after-find-file): Pass 1 to `auto-save-mode', not t.
14569         * files-x.el (auto-insert): Declare.
14570         (modify-file-local-variable-prop-line): Remove unused variable `val'.
14572         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14573         variable `buf'.  Mark unused parameter.
14574         (find-lisp-insert-directory): Mark unused parameter.
14576         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14577         (format-encode-region): Remove unused variables `cur-buf' and `result'.
14578         (format-common-tail): Remove, unused.
14579         (format-deannotate-region): Remove unused variable `loc'.
14580         (format-annotate-region): Remove unused variable `p'.
14581         (format-annotate-single-property-change): Remove unused variables
14582         `default' and `tail'.
14584         * forms.el (read-file-filter): Declare.
14585         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14587         * frame.el (frame-creation-function-alist): Mark unused parameter.
14588         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14590         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14591         Remove unused parameters.
14592         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14593         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14595         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14596         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14597         (hfy-prepare-tag-map): Mark unused parameters.
14598         (htmlfontify-buffer): Use `called-interactively-p'.
14600         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14601         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14602         (ibuffer-do-occur): Mark unused parameters.
14603         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14604         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14606         * ibuffer.el: Don't quote `lambda'.
14607         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14608         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14609         Mark unused parameters.
14611         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14612         (ido-completing-read): Mark unused parameters.
14613         (ido-copy-current-word): Mark unused parameters;
14614         remove unused variable `name'.
14615         (ido-sort-merged-list): Remove unused parameter `dirs'.
14617         * ielm.el (ielm-input-sender): Mark unused parameter.
14618         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14619         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14620         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14621         `ielm-string' as a dynamic variable accessible from the IELM prompt.
14622         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
14624         * image-dired.el (image-dired-display-thumbs): Remove unused
14625         variables `curr-file' and `count'.
14626         (image-dired-remove-tag): Remove unused variable `start'.
14627         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14628         variable `curr-file'
14629         (image-dired-rotate-original): Remove unused variable `temp-file'.
14630         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14631         Remove unused variable `file'.
14632         (image-dired-gallery-generate): Remove unused variable `curr'.
14633         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14635         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14637         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14639         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14641         * isearch.el (minibuffer-history-symbol): Declare.
14642         (isearch-edit-string): Remove unused variable `err'.
14643         (isearch-message-prefix, isearch-message-suffix):
14644         Mark unused parameters.
14646         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14648         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14650         * makesum.el (double-column): Remove unused variable `cnt'.
14652         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14653         (ido-ignore-item-temp-list): Declare.
14655         * mouse-drag.el (mouse-drag-throw): Remove unused variables
14656         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14657         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14658         (mouse-drag-drag): Remove unused variables `mouse-delta' and
14659         `mouse-col-delta'.
14661         * mouse-sel.el (mouse-extend-internal):
14662         Remove unused variable `orig-window-frame'.
14664         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14665         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14666         Move declarations before first use.
14667         (pcomplete-opt): Mark unused parameters; doc fix.
14669         * proced.el (proced-revert): Mark unused parameter.
14670         (proced-send-signal): Remove unused variable `err'.
14672         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14673         Rename parameter PREFIX-ARG to ARG.
14674         (ps-basic-plot-string, ps-basic-plot-whitespace):
14675         Mark unused parameters.
14677         * replace.el (replace-count): Define.
14678         (occur-revert-function): Mark unused parameters.
14679         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14680         (isearch-case-fold-search, isearch-string): Declare.
14681         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14682         bind `case-fold-search'.  Remove unused variables `beg' and `end',
14683         and simplify.
14684         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14685         COUNT and bind `replace-count'.
14686         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14687         to COUNT.
14689         * savehist.el (print-readably, print-string-length): Declare.
14691         * shadowfile.el (shadow-expand-cluster-in-file-name):
14692         Remove unused variable `cluster'.
14693         (shadow-copy-file): Remove unused variable `i'.
14694         (shadow-noquery, shadow-clusters, shadow-site-cluster)
14695         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14696         (shadow-define-literal-group, shadow-define-regexp-group)
14697         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14699         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14700         (shell): Use `called-interactively-p'.
14701         (shell-directory-tracker): Remove unused variable `chdir-failure'.
14703         * simple.el (compilation-context-lines, comint-file-name-quote-list)
14704         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14705         (delete-backward-char): Remove unused variable `ocol'.
14706         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14707         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14708         (event-apply-hyper-modifier, event-apply-shift-modifier)
14709         (event-apply-control-modifier, event-apply-meta-modifier):
14710         Mark unused parameters.
14711         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14712         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14714         * speedbar.el (speedbar-ignored-directory-expressions)
14715         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14716         (speedbar-find-file, speedbar-dir-follow)
14717         (speedbar-directory-buttons-follow, speedbar-tag-find)
14718         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14719         (speedbar-buffers-line-directory, speedbar-buffer-click):
14720         Mark unused parameters.
14721         (speedbar-tag-file): Remove unused variable `mode'.
14722         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14724         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14726         * talk.el (talk): Remove unused variable `display'.
14728         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14729         (tar-write-region-annotate): Mark unused parameter.
14731         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14732         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14733         Declare them, wrapped in `with-no-warnings' to avoid replacing one
14734         warning by another.
14736         * time-stamp.el (time-stamp-string-preprocess):
14737         Remove unused variable `require-padding'.
14739         * tree-widget.el (widget-glyph-enable): Declare.
14740         (tree-widget-action): Mark unused parameter.
14742         * w32-fns.el (x-get-selection): Mark unused parameter.
14743         (autoload-make-program, generated-autoload-file): Declare.
14745         * wdired.el (wdired-revert): Mark unused parameters.
14746         (wdired-xcase-word): Remove unused variable `err'.
14748         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14749         (whitespace-help-scroll): Remove unused variable `data-help'.
14751         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14752         (widget-image-insert, widget-after-change, default)
14753         (widget-default-format-handler, widget-default-notify)
14754         (widget-default-prompt-value, widget-info-link-action)
14755         (widget-url-link-action, widget-function-link-action)
14756         (widget-variable-link-action, widget-file-link-action)
14757         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14758         (widget-field-prompt-internal, widget-field-action, widget-field-match)
14759         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14760         (widget-insert-button-action, widget-delete-button-action, visibility)
14761         (widget-documentation-link-action, widget-documentation-string-action)
14762         (widget-const-prompt-value, widget-regexp-match, symbol)
14763         (widget-coding-system-prompt-value)
14764         (widget-key-sequence-value-to-external, sexp)
14765         (widget-sexp-value-to-internal, character, vector, cons)
14766         (widget-choice-prompt-value, widget-boolean-prompt-value)
14767         (widget-color--choose-action): Mark unused parameters.
14768         (widget-item-match-inline, widget-choice-match-inline)
14769         (widget-checklist-match, widget-checklist-match-inline)
14770         (widget-group-match): Rename parameter VALUES to VALS.
14771         (widget-field-value-set): Remove unused variable `size'.
14772         (widget-color-action): Remove unused variables `value' and `start'.
14774         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14775         variable `dir'.  Doc fix.
14776         (windmove-find-other-window): Don't pass it.
14778         * window.el (count-windows): Mark unused parameter.
14779         (bw-adjust-window): Remove unused variable `err'.
14781         * woman.el (woman-file-name): Remove unused variable `default'.
14782         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14783         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14784         (global-font-lock-mode): Declare.
14785         (woman-decode-region): Mark unused parameter.
14786         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14788         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14789         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14790         (x-dnd-handle-moz-url): Remove unused variable `title'.
14791         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14793         * xml.el (xml-parse-tag, xml-parse-attlist):
14794         Remove unused variable `pos'.
14796 2011-04-19  Glenn Morris  <rgm@gnu.org>
14798         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14799         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14800         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14801         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14802         * calendar/cal-html.el (cal-html-insert-minical):
14803         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14804         (calendar-mark-date-pattern):
14805         Prefix "unused" locals.
14807         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14808         optional argument `style'.
14810         * calendar/appt.el (appt-make-list):
14811         * calendar/cal-china.el (calendar-chinese-date-string):
14812         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14813         (diary-hebrew-yahrzeit):
14814         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14815         * calendar/calendar.el (calendar-generate-window):
14816         * calendar/time-date.el (time-to-days):
14817         Remove unused local variables.
14819 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
14821         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14822         glyphless-char-display table.
14823         (tabulated-list-glyphless-char-display): New var.
14825 2011-04-18  Sam Steingold  <sds@gnu.org>
14827         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14828         to acknowledgments.
14830 2011-04-17  Glenn Morris  <rgm@gnu.org>
14832         * calendar/diary-lib.el (diary-sexp-entry):
14833         * calendar/holidays.el (holiday-sexp):
14834         Set debug-on-error rather than the removed stack-trace-on-error.
14836 2011-04-16  Glenn Morris  <rgm@gnu.org>
14838         * progmodes/f90.el: Use lexical-binding.
14839         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14841 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14843         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14844         (mail-mode): Setup mailalias completion here instead.
14845         * mail/mailalias.el: Use lexical-binding.
14846         (pattern, mailalias-done): Declare dynamic.
14847         (mail-completion-at-point-function): New function, from mail-complete.
14848         (mail-complete): Use it.
14849         (mail-completion-expand): New function.
14850         (mail-get-names): Use it.
14851         (mail-directory, mail-directory-process, mail-directory-stream):
14852         Don't use `pattern' for lexically bound arg.
14854         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14856         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14857         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14858         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14860         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14861         (byte-save-window-excursion, byte-temp-output-buffer-setup)
14862         (byte-interactive-p): Define them again, for use when inlining
14863         old code.
14865 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
14867         * loadup.el: Use `string-to-number', not `string-to-int'.
14869 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14871         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14872         gud-gdb-complete-command.
14873         (gud-gdb-completions): New function, from gud-gdb-complete-command.
14874         (gud-gdb-completion-at-point): New function.
14875         (gud-gdb-completions): Remove.
14877 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
14879         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14880         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
14881         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14882         whether `executable-find' is bound.
14884         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14886 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14888         * minibuffer.el (completion-in-region-mode-predicate)
14889         (completion-in-region-mode--predicate): New vars.
14890         (completion-in-region, completion-in-region--postch)
14891         (completion-in-region-mode): Use them.
14892         (completion--capf-wrapper): Also return the hook function.
14893         (completion-at-point, completion-help-at-point):
14894         Adjust and provide a predicate.
14896         Preserve arg names for advice of subr and lexical functions (bug#8457).
14897         * help-fns.el (help-function-arglist): Consolidate the subr and
14898         new-byte-code cases.  Add argument `preserve-names' to extract names
14899         from the docstring when needed.
14900         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14901         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14902         (ad-arglist): Use help-function-arglist's new arg.
14903         (ad-definition-type): Use cond.
14905 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
14907         * autorevert.el (auto-revert-handler):
14908         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14909         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14910         Don't quote lambda.
14912         * image-mode.el (image-transform-set-scale):
14913         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14915 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14917         * net/network-stream.el (network-stream-open-starttls): Only do
14918         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14919         Upgrades via gnutls-cli are too slow to be done opportunistically.
14921 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
14923         * dframe.el (dframe-current-frame): Remove spurious quote.
14925 2011-04-12  Glenn Morris  <rgm@gnu.org>
14927         * calendar/cal-tex.el (cal-tex-end-document):
14928         Try to automatically use latin1 input if needed.
14930         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14931         Don't try to cons a mark onto an empty element.
14933 2011-04-11  Leo Liu  <sdl.web@gmail.com>
14935         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14936         buffers.
14937         (ido-kill-buffer-at-head): Support killing virtual buffers.
14939 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
14941         * minibuffer.el (completion-show-inline-help): New var.
14942         (completion--do-completion, minibuffer-complete)
14943         (minibuffer-force-complete, minibuffer-complete-word):
14944         Inhibit minibuffer messages if completion-show-inline-help is nil.
14946         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14947         to avoid interference from inline help (Bug#5849).
14949 2011-04-10  Leo Liu  <sdl.web@gmail.com>
14951         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14952         Fix typo.
14954 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
14956         * image-mode.el (image-toggle-display-image): Signal an error if
14957         not in Image mode.
14958         (image-transform-mode, image-transform-resize)
14959         (image-transform-set-rotation): Doc fix.
14960         (image-transform-set-resize): Delete.
14961         (image-transform-set-scale, image-transform-fit-to-height)
14962         (image-transform-fit-to-width): Handle image-toggle-display-image
14963         and image-transform-resize directly.
14965 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
14967         * doc-view.el (doc-view-fit-width-to-window)
14968         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14969         New functions for fitting the shown image to the Emacs window size.
14970         (doc-view-mode-map): Add bindings for the new functions.
14972 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
14974         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14975         Fix typo in docstring.
14977 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
14979         * files.el (file-size-human-readable): Produce one digit after
14980         decimal, like "ls -lh" does.
14982         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14983         the file size representation.
14985         * simple.el (list-processes): If async subprocesses are not
14986         available, error out with a clear error message.
14988 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
14990         * help.el (help-form-show): New function, to be called from C.
14991         Put help-form output in a buffer named differently than *Help*.
14993 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
14995         * files.el (file-size-human-readable): New function.
14997         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14998         computing the representation inline.  Don't require `cl'.
15000 2011-04-08  Glenn Morris  <rgm@gnu.org>
15002         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15004         * net/browse-url.el (browse-url-firefox):
15005         Test system-type, not system-configuration.
15007         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15008         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15009         Use log-edit-empty-buffer-p.  (Bug#7598)
15011         * net/rlogin.el (rlogin-process-connection-type): Simplify.
15012         (rlogin-mode-map): Initialize in the defvar.
15013         (rlogin): Use ignore-errors.
15015         * replace.el (occur-mode-map): Some fixes for menu items.
15017 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
15019         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
15021 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
15023         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15024         issuing unused warnings.
15026         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15027         macro directly.
15029         * simple.el: Lisp reimplement of list-processes.  Based on an
15030         earlier reimplementation by Leo Liu, but using tabulated-list.el.
15031         (process-menu-mode): New major mode.
15032         (list-processes--refresh, list-processes):
15033         (process-menu-visit-buffer): New functions.
15035         * files.el (save-buffers-kill-emacs): Don't assume any return
15036         value of list-processes, which is undocumented anyway.
15038 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
15040         * emacs-lisp/tabulated-list.el: New file.
15042         * emacs-lisp/package.el: Use Tabulated List mode.
15043         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15044         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
15045         table format using Tabulated List mode variables.
15046         (package--push): New macro, replacing package-list-maybe-add.
15047         (package-menu--generate): Use package--push.  Renamed from
15048         package--generate-package-list.
15049         (package-menu-refresh, list-packages): Use it.
15050         (package-menu--print-info): Rename from package-print-package.
15051         Return insertion data instead of inserting it directly.
15052         (package-menu-describe-package, package-menu-execute):
15053         Use tabulated-list-get-id.
15054         (package-menu-mark-delete, package-menu-mark-install)
15055         (package-menu-mark-unmark, package-menu-backup-unmark)
15056         (package-menu-mark-obsolete-for-deletion):
15057         Use tabulated-list-put-tag.
15058         (package--list-packages, package-menu-revert)
15059         (package-menu-get-package, package-menu-get-version)
15060         (package-menu-sort-by-column): Functions deleted.
15061         (package-menu-package-list, package-menu-sort-key): Vars deleted.
15062         (package-menu--status-predicate, package-menu--version-predicate)
15063         (package-menu--name-predicate)
15064         (package-menu--description-predicate): Handle arguments in the
15065         Tabulated List format.
15066         (package-list-packages-no-fetch): Call list-packages.
15068 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
15070         * files.el (after-find-file-from-revert-buffer): Remove variable.
15071         (after-find-file): Don't bind it.
15072         (revert-buffer-in-progress-p): New variable.
15073         (revert-buffer): Bind it.
15074         Pass nil for `after-find-file-from-revert-buffer'.
15076         * saveplace.el (save-place-find-file-hook): Use new variable
15077         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15079 2011-04-06  Glenn Morris  <rgm@gnu.org>
15081         * Makefile.in (AUTOGEN_VCS): New variable.
15082         (autoloads): Use $AUTOGEN_VCS.
15084         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15085         * calendar/calendar.el (calendar-mode-map):
15086         Check for toolkit scroll bars.  (Bug#8305)
15088 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
15090         * minibuffer.el (completion-in-region--postch)
15091         (completion-in-region-mode): Remove unnecessary messages.
15093 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
15095         * font-lock.el (font-lock-refresh-defaults):
15096         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15097         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15099         * info.el (Info-directory-list, Info-read-node-name-2)
15100         (Info-split-parameter-string): Doc fixes.
15101         (Info-virtual-nodes): Reflow docstring.
15102         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15103         (Info-apropos-toc-nodes, info-finder, Info-get-token)
15104         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15105         Fix typos in docstrings.
15106         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15107         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15108         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15109         (Info-restore-desktop-buffer): Mark unused parameters.
15110         (Info-directory-find-file, Info-directory-find-node)
15111         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15112         (Info-virtual-index-find-node, Info-apropos-find-file)
15113         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15114         Mark unused parameters; fix typos in docstrings.
15115         (Info-virtual-index): Remove unused local variable `nodename'.
15117 2011-04-05  Deniz Dogan  <deniz@dogan.se>
15119         * net/rcirc.el: Update my e-mail address.
15120         (rcirc-mode-map): Remove M-o binding.
15122 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
15124         * startup.el (command-line): Save the cursor's theme-face
15125         directly, instead of using face-override-spec.
15127         * custom.el (load-theme): Minor optimization in assigning faces.
15129 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
15131         * help-fns.el (describe-variable): Complete all variables having
15132         documentation, including keywords.
15133         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15135 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
15137         Convert to lexical-binding.
15139         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15140         (bs--get-marked-string, bs--get-modified-string)
15141         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15142         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15143         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15145         * ehelp.el (electric-help-execute-extended)
15146         (electric-help-ctrl-x-prefix):
15147         * hexl.el (hexl-revert-buffer-function):
15148         * linum.el (linum-after-change, linum-after-scroll):
15149         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15151         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15153 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
15155         * epa-dired.el:
15156         * epa-mail.el:
15157         * epa-hook.el:
15158         * epa-file.el:
15159         * epa.el:
15160         * epg.el: Use lexical binding.
15162 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
15164         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15166         * textmodes/flyspell.el (flyspell-word): Recognize default
15167         dictionary case for flyspell-mark-duplications-exceptions.
15168         Use regexp matching for languages.
15169         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15170         default dictionary (Bug#7926).
15172 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
15174         * emacs-lisp/package.el (package--with-work-buffer):
15175         Recognize https URLs.
15177         * net/network-stream.el: Move from gnus/proto-stream.el.
15178         Change prefix to network-stream throughout.
15179         (open-protocol-stream): Merge into open-network-stream, leaving
15180         open-protocol-stream as an alias.  Handle nil BUFFER args.
15182         * subr.el (open-network-stream): Move to net/network-stream.el.
15184 2011-04-02  Glenn Morris  <rgm@gnu.org>
15186         * find-dired.el (find-exec-terminator): New option.
15187         (find-ls-option): Test for -ls support.
15188         (find-ls-subdir-switches): Test for -b in find-ls-option.
15189         (find-dired, find-grep-dired): Doc fixes.
15190         (find-dired): Use find-exec-terminator.
15192         * find-dired.el (find-ls-option, find-ls-subdir-switches)
15193         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15194         (find-name-arg): Remove purecopy.
15196         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15197         (grep-compute-defaults): Check for `-exec COMMAND +' support.
15198         Set grep-find-use-xargs, grep-find-command, and grep-find-template
15199         accordingly.  Don't add the null-device if not needed.
15201         * files.el (save-some-buffers): Doc fix.
15203 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
15205         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15207 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
15209         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15210         Use `dolist' rather than `mapcar'.
15212 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15214         Add lexical binding.
15216         * subr.el (apply-partially): Use new closures rather than CL.
15217         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15218         (dolist, dotimes): Use slightly different expansion for lexical code.
15219         (functionp): Move to C.
15220         (letrec): New macro.
15221         (with-wrapper-hook): Use it and apply-partially instead of CL.
15222         (eval-after-load): Preserve lexical-binding.
15223         (save-window-excursion, with-output-to-temp-buffer): Turn them
15224         into macros.
15226         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15228         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15229         than the arglist.
15230         (help-add-fundoc-usage): Don't add `Not documented'.
15231         (help-function-arglist): Handle closures, subroutines, and new
15232         byte-code-functions.
15233         (help-make-usage): Remove leading underscores.
15234         (describe-function-1): Handle closures.
15235         (describe-variable): Use special-variable-p for completion.
15237         * files.el (lexical-binding): Declare safe.
15239         * emacs-lisp/pcase.el: Don't use destructuring-bind.
15240         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
15241         (pcase): Add `let' pattern.
15242         Change memoization so it actually works.
15243         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15244         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15245         <let>: New case.
15247         * emacs-lisp/macroexp.el: Use lexical binding.
15248         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
15249         Don't convert ' to #' without checking that it's indeed quoting
15250         a lambda.
15252         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15253         Use eval-sexp-add-defvars.
15254         (eval-sexp-add-defvars): New fun.
15256         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15258         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15259         Don't autoload.
15260         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15261         than the internal `byte-compile-lambda'.
15262         (defmethod): Don't hide code under quotes.
15263         (eieio-defmethod): New `code' argument.
15265         * emacs-lisp/eieio-comp.el: Remove.
15267         * emacs-lisp/edebug.el (edebug-eval-defun)
15268         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15269         (edebug-toggle): Avoid `eval'.
15271         * emacs-lisp/disass.el (disassemble-internal): Handle new
15272         `closure' objects.
15273         (disassemble-1): Handle new byte codes.
15275         * emacs-lisp/cl.el (pushnew): Silence warning.
15277         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15278         (cl-byte-compile-throw): Remove.
15279         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15281         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15282         closures.
15284         * emacs-lisp/cconv.el: New file.
15286         * emacs-lisp/bytecomp.el: Use lexical binding instead of
15287         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
15288         (byte-compile-initial-macro-environment):
15289         Handle declare-function here.
15290         (byte-compile--lexical-environment): New var.
15291         (byte-stack-ref, byte-stack-set, byte-discardN)
15292         (byte-discardN-preserve-tos): New lap codes.
15293         (byte-interactive-p): Don't use any more.
15294         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15295         New macros.
15296         (byte-compile-lapcode): Use them and handle new lap codes.
15297         (byte-compile-obsolete): Remove.
15298         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15299         (byte-compile-arglist-warn): Check late def of inlinable funs.
15300         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15301         since they should have been expanded by now.
15302         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15303         (byte-compile-from-buffer): Remove unused second arg.
15304         (byte-compile-preprocess): New function.
15305         (byte-compile-toplevel-file-form): New function to distinguish
15306         file-form calls from outside from file-form calls from hunk-handlers.
15307         (byte-compile-file-form): Simplify.
15308         (byte-compile-file-form-defsubst): Remove.
15309         (byte-compile-file-form-defmumble): Simplify now that
15310         byte-compile-lambda always returns a byte-code-function.
15311         (byte-compile): Preprocess.
15312         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15313         Remove, not used any more.
15314         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15315         (byte-compile-make-args-desc): New funs.
15316         (byte-compile-lambda): Handle lexical functions.  Always return
15317         a byte-code-function.
15318         (byte-compile-reserved-constants): New var, to make up room for
15319         closed-over variables.
15320         (byte-compile-constants-vector): Obey it.
15321         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15322         (byte-compile-macroexpand-declare-function): New function.
15323         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15324         byte-code-functions.
15325         (byte-compile-form): Check obsolescence here.
15326         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15327         (byte-compile-variable-ref): Remove.
15328         (byte-compile-dynamic-variable-op): New fun.
15329         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15330         (byte-compile-variable-set): New funs.
15331         (byte-compile-discard): Add 2 args.
15332         (byte-compile-stack-ref, byte-compile-stack-set)
15333         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15334         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15335         macroexpand-all instead.
15336         (byte-compile-quote-form): Remove.
15337         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15338         (byte-compile-bind, byte-compile-unbind): New funs.
15339         (byte-compile-let): Handle let* and lexical binding.
15340         (byte-compile-let*): Remove.
15341         (byte-compile-catch, byte-compile-unwind-protect)
15342         (byte-compile-track-mouse, byte-compile-condition-case):
15343         Handle a new :fun-body form, used for lexical scoping.
15344         (byte-compile-save-window-excursion)
15345         (byte-compile-with-output-to-temp-buffer): Remove.
15346         (byte-compile-defun): Simplify.
15347         (byte-compile-stack-adjustment): New fun.
15348         (byte-compile-out): Use it.
15349         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15351         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15352         handler any more.
15354         * emacs-lisp/byte-opt.el: Use lexical binding.
15355         (byte-inline-lapcode): Remove (to bytecomp).
15356         (byte-compile-inline-expand): Pay attention to inlining to/from
15357         lexically bound code.
15358         (byte-compile-unfold-lambda): Don't handle byte-code-functions
15359         any more.
15360         (byte-optimize-form-code-walker): Don't handle save-window-excursion
15361         any more and don't call compiler-macros.
15362         (byte-compile-splice-in-already-compiled-code): Remove.
15363         (byte-code): Don't inline any more.
15364         (disassemble-offset): Receive `bytes' as argument rather than via
15365         dynamic scoping.
15366         (byte-compile-tag-number): Declare before first use.
15367         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15368         `return' even if make-spliceable.
15369         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15370         obsolete interactive-p.
15371         (byte-optimize-lapcode): Optimize new lap-codes.
15372         Don't trip up on new form of `byte-constant' lap code.
15374         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15376         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15378         * custom.el (custom-initialize-default, custom-declare-variable):
15379         Use `defvar'.
15381         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15382         New variables.
15383         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15384         (COMPILE_FIRST): Add macroexp and cconv.
15385         * makefile.w32-in: Mirror changes in Makefile.in.
15387         * vc/cvs-status.el:
15388         * vc/diff-mode.el:
15389         * vc/log-edit.el:
15390         * vc/log-view.el:
15391         * vc/smerge-mode.el:
15392         * textmodes/bibtex-style.el:
15393         * textmodes/css.el:
15394         * startup.el:
15395         * uniquify.el:
15396         * minibuffer.el:
15397         * newcomment.el:
15398         * reveal.el:
15399         * server.el:
15400         * mpc.el:
15401         * emacs-lisp/smie.el:
15402         * doc-view.el:
15403         * dired.el:
15404         * abbrev.el: Use lexical binding.
15406 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
15408         * info.el (info-display-manual): New function.
15410 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15412         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15414 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
15416         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15417         an entry for that server in rcirc-authinfo.  (Bug#8385)
15419 2011-03-31  Glenn Morris  <rgm@gnu.org>
15421         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15423         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15425 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
15427         * progmodes/python.el (python-default-interpreter)
15428         (python-python-command-args, python-jython-command-args)
15429         (python-which-shell, python-which-args, python-which-bufname)
15430         (python-file-queue, python-comint-output-filter-function)
15431         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15432         variables and functions.
15434 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15436         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15437         (completion-in-region-mode): New minor mode.
15438         (completion-in-region): Use it.
15439         (completion-in-region--data, completion-in-region-mode-map): New vars.
15440         (completion-in-region--postch): New function.
15441         (completion--capf-misbehave-funs, completion--capf-safe-funs):
15442         New vars.
15443         (completion--capf-wrapper): New function.
15444         (completion-at-point): Use it to track well-behavedness of
15445         hook functions.
15446         (completion-help-at-point): New command.
15448 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
15450         * vc/add-log.el (add-change-log-entry): Don't use whitespace
15451         syntax class to search for whitespace on a single line
15452         (Message-ID: <4D938140.4030905@redhat.com>).
15454 2011-03-30  Leo Liu  <sdl.web@gmail.com>
15456         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15457         New commands.
15458         (edit-abbrevs-map): Bind them here.
15459         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
15461 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
15463         * allout.el (allout-hide-by-annotation, allout-flag-region):
15464         Reduce possibility of overlay leakage by making them volatile.
15466         * allout-widgets.el (allout-widgets-tally): Define as nil so the
15467         hash is not shared between buffers.  Mode initialization is
15468         responsible for giving it a useful starting value.
15469         (allout-item-span): Reduce possibility of overlay leakage by
15470         making them volatile.
15471         (allout-widgets-count-buttons-in-region): Add diagnostic function
15472         for tracking down button overlay leaks.
15474 2011-03-29  Leo Liu  <sdl.web@gmail.com>
15476         * ido.el (ido-read-internal): Use the default history var
15477         minibuffer-history if no HISTORY is specified.
15479 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
15481         * net/imap.el (imap-shell-open, imap-process-connection-type):
15482         Use imap-process-connection-type for 'shell' streams as well as
15483         Kerberos, SSL, other subprocesses.
15485 2011-03-28  Leo Liu  <sdl.web@gmail.com>
15487         * abbrev.el (abbrev-table-empty-p): New function.
15488         (prepare-abbrev-list-buffer): Place empty abbrev tables after
15489         nonempty ones.  (Bug#5937)
15491 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
15493         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15495 2011-03-27  Leo Liu  <sdl.web@gmail.com>
15497         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15498         for foreground and background colors.
15499         (ansi-color-make-color-map): Adapt.
15501 2011-03-25  Leo Liu  <sdl.web@gmail.com>
15503         * midnight.el (midnight-time-float): Remove.  Note it calculates
15504         the microsecond component incorrectly and seconds-to-time does the
15505         same job.
15506         Remove redundant (require 'timer).
15508         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15509         (ido-completions): Remove unused arguments.  (Bug#8329)
15511 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15513         * minibuffer.el (completion--flush-all-sorted-completions):
15514         Remove itself from hook.
15515         (completion-at-point): Let the functions perform the completion
15516         immediately and return nil or t.
15517         * comint.el (comint-dynamic-complete-functions): Now identical to
15518         completion-at-point-functions.
15519         (comint-dynamic-list-input-ring): Remove unused var `index'.
15520         (comint--match-partial-filename, comint--unquote&expand-filename):
15521         New funs, split from comint-match-partial-filename.
15522         (comint-dynamic-complete): Use completion-at-point.
15523         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15525 2011-03-24  Drew Adams  <drew.adams@oracle.com>
15527         * thingatpt.el: Support `defun'.
15529 2011-03-23  Leo Liu  <sdl.web@gmail.com>
15531         * abbrevlist.el: Move to obsolete/abbrevlist.el.
15533         * help-mode.el (help-mode-finish): Tweak regexp.
15535 2011-03-23  Glenn Morris  <rgm@gnu.org>
15537         * eshell/esh-opt.el (eshell-eval-using-options):
15538         Do not bind unused local variable `eshell-option-stub'.
15540         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15542 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
15544         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15545         keymap variable in `with-no-warnings' to avoid a warning when the
15546         keymap has been already `defconst'ed.
15548 2011-03-22  Leo Liu  <sdl.web@gmail.com>
15550         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15551         encode all chars in abbrevs; otherwise use emacs-mule or
15552         utf-8-emacs.  (Bug#8308)
15554 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
15556         * simple.el (backward-delete-char-untabify):
15557         Avoid warning about using `delete-backward-char'.
15559         * image.el (image-type-file-name-regexps): Make it variable.
15560         `imagemagick-register-types' modifies it, and the user may want
15561         to add new extensions for known image types.
15562         (imagemagick-register-types): Throw error if not using ImageMagick.
15564 2011-03-22  Leo Liu  <sdl.web@gmail.com>
15566         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15567         located before rcirc-prompt-end-marker.
15568         (rcirc-complete): Error if point is not after rcirc prompt.
15569         Handle the case when table is nil.
15570         (rcirc-user-authenticated): Define to fix compiler warning.
15572 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
15574         * custom.el (custom--inhibit-theme-enable): Make it affect only
15575         custom-theme-set-variables and custom-theme-set-faces.
15576         (provide-theme): Ignore custom--inhibit-theme-enable.
15577         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15578         (custom-enabling-themes): Delete variable.
15579         (enable-theme): Accept only loaded themes as arguments.
15580         Ignore the special custom-enabled-themes variable.
15581         (custom-enabled-themes): Forbid themes from setting this.
15582         Eliminate use of custom-enabling-themes.
15583         (custom-push-theme): Quote "changed" custom var entry.
15585 2011-03-21  Leo Liu  <sdl.web@gmail.com>
15587         * ido.el (ido-read-internal): Add ido-selected to history instead
15588         of user input.
15590 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15592         * subr.el (deferred-action-list, deferred-action-function):
15593         Mark obsolete.
15595 2011-03-21  Leo Liu  <sdl.web@gmail.com>
15597         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15598         change on 2011-02-13 (bug#8309).
15600         * minibuffer.el (read-file-name-function): Change default value.
15601         (read-file-name--defaults): Rename from read-file-name-defaults.
15602         (read-file-name-default): Rename from read-file-name.
15603         (read-file-name): Call read-file-name-function.
15605 2011-03-21  Glenn Morris  <rgm@gnu.org>
15607         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15608         Doc fixes.
15610 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
15612         * cus-theme.el: Add missing provide statement.
15613         (customize-create-theme): Extract theme value correctly.
15614         (custom-theme-visit-theme): Autoload.
15615         (customize-create-theme): Prompt before inserting default faces.
15617 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
15619         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15620         units and musical notes.
15622 2011-03-20  Leo Liu  <sdl.web@gmail.com>
15624         * ido.el (ido-read-internal): Use completing-read-default.
15625         (ido-completing-read): Fix compatibility with completing-read.
15627 2011-03-20  Christian Ohler  <ohler@gnu.org>
15629         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15630         (ert-delete-all-tests): Use `called-interactively-p' rather than
15631         `interactive-p'.
15632         (ert--make-xrefs-region): Respect END.
15634 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
15636         * dired-aux.el (dired-create-directory): Signal an error if the
15637         directory already exists (Bug#8246).
15639         * facemenu.el (list-colors-display): Call list-faces-display
15640         inside with-help-window.
15641         (list-colors-print): Use display property to align the final
15642         column, instead of checking window-width.
15644 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
15646         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15647         windows-nt systems.
15648         (emerge-protect-metachars): Quote correctly for ms-dos and
15649         windows-nt systems.
15651 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
15653         * info.el (info-initialize): Replace all uses of `:' with
15654         path-separator for compatibility with non-Unix systems.
15655         Cache quoting of path-separator.  (Bug#8258)
15657 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
15659         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15660         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15661         (mouse-avoidance-mode): Fix typos in docstrings.
15663 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
15665         * startup.el (package-subdirectory-regexp): Move from package.el.
15666         Omit \\` and \\', and let callers add them.
15668         * emacs-lisp/package.el (package-strip-version)
15669         (package-load-all-descriptors): Add \\` and \\' to
15670         package-subdirectory-regexp before using it.
15671         (package-untar-buffer): New arg DIR; ensure that file untars only
15672         into this expected directory.  Remove superfluous delete-region.
15673         (package-unpack): Caller changed.
15674         (package-tar-file-info): Use package-subdirectory-regexp.
15676 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15678         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15679         diff-mode-shared-map (bug#8284).
15680         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15682 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15684         * calendar/time-date.el (format-seconds): Use assoc instead of
15685         assoc-string, since assoc-string doesn't exist in XEmacs.
15687 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
15689         * custom.el (custom-known-themes): Reflow docstring.
15690         (custom-theme-load-path): Fix typo in docstring.
15691         (load-theme): Fix typo in error message.
15692         (custom-available-themes, custom-variable-theme-value):
15693         Use `let', not `let*'.
15695 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
15697         * calc/README: Mention inclusion of musical notes.
15699         * calc/calc-units.el (calc-lu-quant): Rename from
15700         `calc-logunits-quantity'.
15701         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15702         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15703         (calc-db): Rename from `calc-dblevel'.
15704         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15705         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15706         (calc-np): Rename from `calc-nplevel'.
15707         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15708         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15709         (calc-lu-plus): Rename from `calc-logunits-add'.
15710         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15711         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15712         (calc-lu-minus): Rename from `calc-logunits-sub'.
15713         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15714         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15715         (calc-lu-times): Rename from `calc-logunits-mul'.
15716         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15717         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15718         (calc-lu-divide): Rename from `calc-logunits-div'.
15719         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15720         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15722         * calc/calc-ext.el (calc-init-extensions): Update the names of the
15723         functions being autoloaded.
15725         * calc/calc.el (calc-lu-power-reference): Rename from
15726         `calc-logunits-power-reference'.
15727         (calc-lu-field-reference): Rename from
15728         `calc-logunits-field-reference'.
15730         * calc/calc-help.el (calc-l-prefix-help):
15731         Mention musical note functions.
15733 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15735         * minibuffer.el (completion-all-sorted-completions):
15736         Use :completion-cycle-penalty text property if present.
15738 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
15740         * allout.el (allout-yank-processing): Adjust for new rebulleting
15741         regime so bullet being yanked is used without prompting the user
15742         for a choice.
15744 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
15746         * startup.el (command-line): Warn the user that _emacs is deprecated.
15748 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
15750         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15751         (delphi-verbose, delphi-comment-face, delphi-string-face)
15752         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15753         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15754         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15755         (delphi-new-comment-line, delphi-font-lock-defaults)
15756         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15757         Fix typos in docstrings.
15759 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
15761         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15762         Invert the roles of character and string values for INSTEAD, so a
15763         string is used for the more common case of a defaulting prompt.
15765 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15767         * progmodes/ruby-mode.el (ruby-backward-sexp):
15768         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15769         * play/gamegrid.el (gamegrid-make-face):
15770         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15771         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15772         * notifications.el (notifications-notify):
15773         * net/xesam.el (xesam-search-engines):
15774         * net/quickurl.el (quickurl-list-insert):
15775         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15777 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
15779         * startup.el (command-line): Update package subdirectory regexp.
15781 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15783         * allout.el (allout-abbreviate-flattened-numbering)
15784         (allout-mode-deactivate-hook): Fix up obsolescence "date".
15786         * subr.el (read-char-choice): Only show the cursor after the prompt,
15787         not after the answer.
15789 2011-03-15  Kevin Ryde  <user42@zip.com.au>
15791         * help-fns.el (variable-at-point): Skip leading quotes, if any
15792         (bug#8253).
15794 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15796         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15797         warning message.
15799 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
15801         * shell.el (shell): When called interactively, offer to change the
15802         shell file name on remote hosts.
15804 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
15806         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15807         integration for LDAP parameters.  The host, base, user or binddn,
15808         and secret tokens can be specified in a netrc file, for instance.
15809         This is optional because an `auth-source' parameter must be
15810         specified in the search attributes.
15812 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
15814         * help.el (describe-mode): Link to the mode's definition (bug#8185).
15816 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15818         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15819         into declaration.  Remove redundant and harmful binding.
15821 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
15823         * files.el (file-ownership-preserved-p): Pass `integer' as an
15824         explicit 2nd argument to `file-attributes'.  If the file's owner
15825         is the Administrators group on Windows, and the current user is
15826         Administrator, consider that a match.
15828         * server.el (server-ensure-safe-dir): Consider server directory
15829         safe on MS-Windows if its owner is the Administrators group while
15830         the current Emacs user is Administrator.  Use `=' to compare
15831         numerical UIDs, since they could be integers or floats.
15833 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
15835         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15837 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
15839         Sync with Tramp 2.2.1.
15841         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15843         * net/trampver.el: Update release number.
15845 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15847         * progmodes/compile.el (compilation--previous-directory): Fix up
15848         various nil/dead-marker mismatches (bug#8014).
15849         (compilation-directory-properties, compilation-error-properties):
15850         Don't call it at a position past the one we're about to change.
15852         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15853         Disable obsolescence warnings in the file that declares it.
15855 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
15857         * allout-widgets.el (allout-widgets-tally):
15858         Initialize allout-widgets-tally as a hash table rather than nil to
15859         prevent mode-line redisplay warnings.  Also, clarify the module
15860         description and fix a comment typo.
15862 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
15864         * help-fns.el (describe-variable): Don't complete keywords.
15865         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15867 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
15869         * emacs-lisp/package.el (package-version-join): Impose a standard
15870         string representation for pre/alpha/beta version lists.
15871         (package-unpack-single): Standardize the directory name by passing
15872         it through package-version-join.
15873         (package-strip-rcs-id): Accept any version string that does not
15874         signal an error in version-to-list.
15876 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
15878         * simple.el (delete-trailing-whitespace): Return nil for the
15879         benefit of `write-file-functions'.
15881 2011-03-10  Glenn Morris  <rgm@gnu.org>
15883         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15885         * vc/vc-git.el (vc-git-program): New option.
15886         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15887         (vc-git--call): Use it.
15889         * eshell/esh-util.el (eshell-condition-case): Doc fix.
15891         * cus-edit.el (Custom-newline): If no button at point, look
15892         for a subgroup button at start-of-line.  (Bug#2298)
15894         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15896 2011-03-10  Julien Danjou  <julien@danjou.info>
15898         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15899         `cursor-type' is nil.
15901 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
15903         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15905 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
15907         * allout.el: Change so yank of distinctive-bullet items
15908         preserves the existing header prefix, rebulleting it if necessary,
15909         rather than replacing it.  This is necessary for proper operation
15910         of cooperative addons like allout-widgets.
15911         (allout-make-topic-prefix, allout-rebullet-heading):
15912         Change SOLICIT arg to INSTEAD, and interpret additionally a string
15913         value as alternate bullet to be used, instead of prompting the user
15914         for a bullet character.
15916 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
15918         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15919         Do not use `tramp-file-name-port', because this returns also
15920         `tramp-default-port'.
15922 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
15924         * net/rcirc.el (rcirc-handler-001): Remove useless
15925         with-rcirc-process-buffer.
15926         (rcirc-check-auth-status): Swap arguments to string-match.
15928 2011-03-09  Glenn Morris  <rgm@gnu.org>
15930         * shell.el (shell-mode):
15931         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
15933         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15934         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
15936 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
15938         * emacs-lisp/package.el (package-refresh-contents)
15939         (package-menu-execute): Use condition-case-no-debug.
15941 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
15943         * simple.el (shell-command-to-string): Use `process-file'.
15945         * emacs-lisp/package.el (package-tar-file-info): Handle also
15946         remote files.
15948         * emacs-lisp/package-x.el (package-upload-buffer-internal):
15949         Use `equal' for upload base check.
15951 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
15953         * textmodes/texinfo.el (texinfo-environments):
15954         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
15956 2011-03-08  Glenn Morris  <rgm@gnu.org>
15958         * cus-start.el (cursor-in-non-selected-windows):
15959         Fix :set quoting oddness.  (Bug#8192)
15961         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15962         in some setf expressions.  (Bug#2159)
15964 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
15966         * custom.el (custom-available-themes): Return themes in
15967         alphabetical order.
15969 See ChangeLog.15 for earlier changes.
15971 ;; Local Variables:
15972 ;; coding: utf-8
15973 ;; End:
15975   Copyright (C) 2011-2012  Free Software Foundation, Inc.
15977   This file is part of GNU Emacs.
15979   GNU Emacs is free software: you can redistribute it and/or modify
15980   it under the terms of the GNU General Public License as published by
15981   the Free Software Foundation, either version 3 of the License, or
15982   (at your option) any later version.
15984   GNU Emacs is distributed in the hope that it will be useful,
15985   but WITHOUT ANY WARRANTY; without even the implied warranty of
15986   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15987   GNU General Public License for more details.
15989   You should have received a copy of the GNU General Public License
15990   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.