Consistently check windows for validity/liveness (Bug#11984, Bug#12025, Bug#12026).
[emacs.git] / lisp / ChangeLog
blob7c67bb1b5b242041b9ed9f1d46f5a18ac6a52ab3
1 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
3         * window.el (window-valid-p): Move to window.c.
5 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
7         * progmodes/subword.el (subword-forward-function)
8         (subword-backward-function, subword-forward-regexp)
9         (subword-backward-regexp): New variables.
10         (subword-forward, subword-forward-internal, subword-backward-internal):
11         Use new variables, eg so that different "word" definitions
12         can be easily used.  (Bug#11411)
14 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
17         for composite selectors.
18         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
19         operation just because we can't find a previous revision.
21 2012-08-15  Chong Yidong  <cyd@gnu.org>
23         * frame.el (set-frame-font): Accept font objects.
25 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
27         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
29 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
31         * man.el (Man-overstrike-face, Man-underline-face)
32         (Man-reverse-face): Remove variables.
33         (Man-overstrike, Man-underline, Man-reverse): New faces.
34         (Man-fontify-manpage): Use them instead of the variables.
35         (Man-cleanup-manpage): Comment change.
36         (Man-ansi-color-map): New variable.
37         (Man-fontify-manpage): Use it.
38         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
40         Implement ANSI SGR parameters 22-27 (bug#12146).
41         * ansi-color.el (ansi-colors): Doc fix.
42         (ansi-color-context, ansi-color-context-region): Doc fix.
43         (ansi-color--find-face): New function.
44         (ansi-color-apply, ansi-color-apply-on-region): Use it.
45         Rename the local variable `face' to `codes' since it is now a list of
46         ansi codes.  Doc fix.
47         (ansi-color-get-face): Remove.
48         (ansi-color-parse-sequence): New function, derived from
49         ansi-color-get-face.
50         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
51         codes 22-27.
53 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
55         * subr.el (read-passwd): Allow use from a minibuffer.
57 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
59         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
60         inside comments and strings as identifiers.
62         * progmodes/gud.el (gud-tooltip-print-command): Quote the
63         expression to evaluate.  This allows to evaluate expressions with
64         embedded whitespace.
65         (gud-tooltip-tips): Add a blank before the newline in the
66         message-box text, for the benefit of message-box emulation on
67         MS-Windows.
69         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
70         messages from GDB, pop them up in a tooltip to give feedback to
71         user.
72         (gdb-tooltip-print-1): Quote the expression to evaluate.
73         This allows to evaluate expressions with embedded whitespace.
74         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
75         if the TTY name is nil or empty (which happens when communicating
76         with the inferior via pipes, e.g. on MS-Windows).
77         (gdb-internals): If GDB sends a "&\n" empty debugging message,
78         don't send that to the GUD buffer.
80 2012-08-14  Glenn Morris  <rgm@gnu.org>
82         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
83         Optimize away setq-default with no args, as for setq.  (Bug#12195)
85 2012-08-14  Chong Yidong  <cyd@gnu.org>
87         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
89         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
90         (Bug#12085).
92 2012-08-14  Glenn Morris  <rgm@gnu.org>
94         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
96 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
98         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
99         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
100         Use cached shell name.
102 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
104         * progmodes/python.el (python-shell-send-string):
105         (python-shell-send-setup-code): Do not use `format' with `message'.
107 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
109         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
110         (ruby-percent-literal-beg-re): New constant.
111         (ruby-syntax-general-delimiters-goto-beg): Rename to
112         `ruby-syntax-enclosing-percent-literal', improve literal type check.
113         (ruby-syntax-propertize-general-delimiters): Rename to
114         `ruby-syntax-propertize-percent-literal', it's a shorter and more
115         popular term.  Adjust comments everywhere.
116         (ruby-syntax-propertize-percent-literal): Only propertize when not
117         inside a simple string or comment.  When the literal is unclosed,
118         leave the text after it unpropertized.
119         (ruby-syntax-methods-before-regexp): New constant.
120         (ruby-syntax-propertize-function): Use it to recognize regexps.
121         Don't look at the text after regexp, just use the whitelist.
123 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
125         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
126         non-nil always load the compiled file if it exists.  (Bug#12197)
128 2012-08-14  Chong Yidong  <cyd@gnu.org>
130         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
131         (hi-lock-set-pattern): When deciding whether to use font lock or
132         overlays, look at font-lock-mode instead of font-lock-fontified
133         (Bug#12168).
134         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
135         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
137 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
139         * subr.el (internal--after-with-selected-window): Fix typo
140         (Bug#12193).
142 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
144         Use `completion-table-dynamic' for completion functions.
145         * progmodes/python.el
146         (python-shell-completion--do-completion-at-point)
147         (python-shell-completion--get-completions):
148         Remove functions.
149         (python-shell-completion-complete-at-point): New function.
150         (python-completion-complete-at-point): Use it.
152 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
154         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
155         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
157 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
159         * subr.el (function-get): Refine `autoload' arg so it can also
160         autoload functions for gv.el (bug#12191).
161         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
162         autoloads macros.
164         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
165         Prefer pcase-let over destructuring-bind.
166         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
167         Also, remove whitespace as we go, rather than after accumulating the
168         various places.
170         * subr.el (internal--before-with-selected-window)
171         (internal--after-with-selected-window): Fix typo seleted->selected.
172         (with-selected-window): Adjust callers.
173         Reported by Dmitry Gutov <dgutov@yandex.ru>.
175 2012-08-13  Bastien Guerry  <bzg@gnu.org>
177         * window.el (special-display-popup-frame): Small docstring
178         enhancement.  (Bug#12172)
180 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
182         * tar-mode.el (tar-header-data-end): Only ignore size for files of
183         type 1-6.
184         (tar-header-block-summarize, tar-get-descriptor): Handle pax
185         extended headers.
187         * files.el (hack-local-variables-filter): Remove useless eval.
189 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
191         * subr.el (with-selected-window): Fix last change.
193 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
195         * subr.el (internal--before-with-seleted-window)
196         (internal--after-with-seleted-window): New functions.
197         (with-selected-window): Use them, to replace dependency on
198         tty-top-frame.
200 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
202         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
203         binding for `newline'.
204         (ruby-move-to-block): When moving backward, stop at block opening,
205         not indentation.
206         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
207         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
208         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
209         `ruby-toggle-block'.
211 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
213         * ibuffer.el (ibuffer-do-toggle-read-only):
214         * dired.el (dired-toggle-read-only):
215         * buff-menu.el (Buffer-menu-toggle-read-only):
216         * bindings.el (mode-line-toggle-read-only):
217         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
219 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
221         * descr-text.el (describe-char): Put the overlays over the
222         "displayed as" character.
224 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
226         * calc/calc-units.el (math-default-units-table): Give an
227         initial value.
228         (math-put-default-units): Add options to put composite units and
229         unit systems in the default units table.
230         (calc-convert-units): Send composite units to
231         `math-put-default-units' when appropriate.
233 2012-08-11  Glenn Morris  <rgm@gnu.org>
235         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
237         * tutorial.el (help-with-tutorial):
238         * emacs-lisp/copyright.el (copyright-update-directory):
239         * emacs-lisp/autoload.el (autoload-find-generated-file)
240         (autoload-find-file): Disable local eval: (for insurance).
242         * files.el (hack-local-variables-filter): If an eval: form is not
243         known to be safe, and enable-local-variables is :safe, then ignore
244         the form totally, as is done for non-eval forms.  (Bug#12155)
246 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
248         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
249         (rx-form): Simplify.
251 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
253         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
254         ?, _, and : are symbol constituents, ! is not (but kinda should be).
255         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
256         (ruby-syntax-propertize-function): Adjust for changes in
257         `ruby-syntax-propertize-heredoc'.
259 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
261         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
262         binding (use `M-;' instead).
263         (ruby-singleton-class-p): New function.
264         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
266 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
268         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
270 2012-08-10  Chong Yidong  <cyd@gnu.org>
272         * progmodes/python.el (python-shell-get-process-name): Don't mess
273         with same-window-buffer-names.
275         * eshell/eshell.el (eshell-add-to-window-buffer-names)
276         (eshell-remove-from-window-buffer-names): Make obsolete.
277         (eshell-buffer-name, eshell-unload-hook): Don't use them.
278         (eshell): Just use pop-to-buffer-same-window instead.
280 2012-08-10  Chong Yidong  <cyd@gnu.org>
282         * bindings.el: Bind M-= back to count-words-region.
284         * simple.el (count-words-region): Accept a prefix arg for acting
285         on the entire buffer.
286         (count-words--buffer-message): New helper function.
288 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
290         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
291         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
292         (event-start, event-end): Use posn-at-point to return a more
293         informative posn.
294         (posnp): New function.
295         * mouse.el (popup-menu-normalize-position): Use it.
297 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
299         * mouse.el (popup-menu-normalize-position): New function.
300         (popup-menu): Use `popup-menu-normalize-position' to normalize
301         the form for POSITION argument.
303         * term/x-win.el (x-menu-bar-open):
304         Use the value returend from (posn-at-point) as position
305         passed to `popup-menu'.
307 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
309         * calc/calccomp.el (math-compose-expr): Add extra argument
310         indicating that parentheses should be put around products in
311         denominators.  Give multiplication precedence over division during
312         composition.
314 2012-08-09  Chong Yidong  <cyd@gnu.org>
316         * man.el (Man-switches, Man-sed-command, Man-awk-command)
317         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
318         (Man-untabify-command, manual-program): Convert to defcustom
319         (Bug#10429).
321         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
323         * descr-text.el (describe-char): Don't insert extra newlines
324         (Bug#10127).
326         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
327         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
329         * align.el (align-region): Delete temporary markers (Bug#10047).
330         Plus some code cleanups.
332 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
334         * progmodes/python.el (python-pdbtrack-tracked-buffer)
335         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
336         (python-shell-internal-last-output): Use make-local-variable
337         instead of make-variable-buffer-local.
339 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
341         * progmodes/python.el: Enhancements to forward-sexp.
342         (python-nav-forward-sexp): Rename from
343         python-nav-forward-sexp-function.
344         (python-nav--forward-sexp, python-nav--backward-sexp):
345         New functions.
347 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
349         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
350         modes and simplification modes.
352 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
354         * delsel.el (delete-selection-pre-hook): Don't propagate the
355         file-supersession signals (bug#12161).
357 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
359         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
360         (cl-map-extents): Add compatibility aliases (bug#12135).
362 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
364         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
365         tests by `ignore-error'.
366         (tramp-find-shell): Open also a new shell, when cache is already
367         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
369 2012-08-08  Juri Linkov  <juri@jurta.org>
371         * bookmark.el: Add `defaults' property to the bookmark record.
372         (bookmark-current-buffer): Doc fix.
373         (bookmark-make-record): Add `defaults' property with default values
374         to the bookmark record.
375         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
376         with `bookmark-insert-current-bookmark'.
377         (bookmark-set): Get `defaults' property from the bookmark record
378         and use it in `read-from-minibuffer'.
379         (bookmark-insert-current-bookmark): Remove function.
381         * info.el (Info-bookmark-make-record): Add `defaults' property
382         with values of canonical Info node name, the current Info file
383         name and the current Info node name.  (Bug#12107)
385 2012-08-08  Juri Linkov  <juri@jurta.org>
387         * files.el (basic-save-buffer): Use `buffer-name' as the default
388         of `read-file-name' when buffer is not visiting a file (bug#12128).
390 2012-08-08  Juri Linkov  <juri@jurta.org>
392         * info.el (Info-isearch-search): Doc fix.
393         (Info-search): Change search-failed message from "initial node" to
394         "end of node" (bug#12078).
395         (Info-isearch-search): Change `isearch-string-state' to
396         `isearch--state-string'.
398 2012-08-08  Glenn Morris  <rgm@gnu.org>
400         * language/persian.el: Remove file.
401         * language/misc-lang.el: Move unique part of persian.el here.
402         * loadup.el: Remove language/persian.
404 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
406         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
408 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
410         * progmodes/python.el Fixed defsubst warning.
411         (python-syntax-context) Rename from python-info-ppss-context.
412         (python-syntax-context-type): Rename from
413         python-info-ppss-context-type.
414         (python-syntax-comment-or-string-p): Rename from
415         python-info-ppss-comment-or-string-p.
417 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
419         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
421 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
423         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
424         a defcustom that is quoted with backquote.
426         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
427         Fix handling of interactive spec when the body uses return.
428         (math-do-arg-check, math-define-function-body): Use backquote forms.
429         * calc/calc-ext.el (math-defcache): Likewise.
430         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
431         * allout.el (allout-new-exposure): Likewise.
432         * calc/calcalg2.el (math-tracing-integral): Likewise.
433         * info.el (Info-last-menu-item): Likewise.
434         * emulation/vip.el (vip-loop): Likewise.
435         * textmodes/artist.el (artist-funcall): Likewise.
436         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
437         Construct menu-item directly.
439         * progmodes/autoconf.el (font-lock-syntactic-keywords):
440         Don't declare.
442 2012-08-07  Chong Yidong  <cyd@gnu.org>
444         * simple.el (deactivate-mark): Preserve text properties when
445         saving the primary selection (Bug#8384).
447 2012-08-07  Kevin Ryde  <user42@zip.com.au>
449         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
450         (woman-parse-numeric-value): On a bad .IP line, issue a warning
451         and continue processing (Bug#12110).
453 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
455         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
456         syntax-propertize-function (bug#10095).
458 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
460         * help-fns.el (help-fns--key-bindings, help-fns--signature)
461         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
462         describe-function-1.
463         (describe-function-1): Use them.  Move compiler macro after sig.
464         (help-fns--compiler-macro): Use function-get.  Assume we're already in
465         standard-output.  Adjust layout to new call order.
467         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
468         re-binding a symbol that has a symbol-macro (bug#12119).
470 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
472         * language/persian.el: New file.  (Bug#11812)
473         * loadup.el: Add language/persian.el.
475 2012-08-06  Chong Yidong  <cyd@gnu.org>
477         * window.el (window--maybe-raise-frame): New function.
478         (window--display-buffer): Split off from here.
479         (display-buffer-reuse-window, display-buffer-pop-up-frame)
480         (display-buffer-pop-up-window, display-buffer-use-some-window):
481         Obey an inhibit-switch-frame action alist entry.
482         (display-buffer): Update doc.
484         * replace.el (occur-after-change-function): Avoid losing focus by
485         using the inhibit-switch-frame display parameter (Bug#12139).
487 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
489         Make internal shell process buffer names start with space.
490         * progmodes/python.el (python-shell-make-comint): Add optional
491         argument INTERNAL.
492         (run-python-internal): Use it.
493         (python-shell-internal-get-or-create-process): Check for new
494         internal buffer names.
496 2012-08-06  Glenn Morris  <rgm@gnu.org>
498         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
499         Do less getting and setting of environment variables.
501 2012-08-05  Chong Yidong  <cyd@gnu.org>
503         * proced.el (proced): Add substitution string to docstring to
504         trigger autoloading of the proced library on C-h f (Bug#1768).
506         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
507         Don't show defvars which have no second argument (Bug#8638).
509         * imenu.el (imenu-generic-expression): Move documentation here
510         from imenu--generic-function.
511         (imenu--generic-function): Refer to imenu-generic-expression.
513 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
515         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
516         indentation declaration.
517         (viper-loop): Add indentation declaration (Bug#7025).
519 2012-08-05  Chong Yidong  <cyd@gnu.org>
521         * help-fns.el (describe-variable): Add hyperlink for
522         directory-local variables files.  Improve buffer-local and
523         permanent-local reporting; suggested by MON KEY (Bug#6644).
525         * help-mode.el (help-dir-local-var-def): New button type.
527         * files.el (kill-buffer-hook): Provide a defvar.
529 2012-08-05  Glenn Morris  <rgm@gnu.org>
531         * eshell/esh-ext.el (eshell/addpath):
532         Also update eshell-path-env.  (Bug#12013)
534 2012-08-05  Chong Yidong  <cyd@gnu.org>
536         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
538         * fringe.el (fringe-styles): Add docstring.
539         (fringe--check-mode): New function.
540         (set-fringe-mode, set-fringe-style): Use it.
541         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
543         * files.el (set-auto-mode): Fix invalid setq call.
545 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
547         * isearch.el: Misc simplification; use defstruct.
548         (isearch-mode-map): Dense maps now work like sparse ones.
549         (isearch--state): New defstruct.
550         (isearch-string-state, isearch-message-state, isearch-point-state)
551         (isearch-success-state, isearch-forward-state)
552         (isearch-other-end-state, isearch-word-state, isearch-error-state)
553         (isearch-wrapped-state, isearch-barrier-state)
554         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
555         replaced by defstruct's accessors.
556         (isearch--set-state): Rename from isearch-top-state and change
557         calling convention.
558         (isearch-push-state): Use new isearch--get-state.
559         (isearch-toggle-word): Disable regexp when enabling word.
560         (isearch-message-prefix): Remove unused arg _c-q-hack.
561         (isearch-message-suffix): Remove unused arg _ellipsis.
563 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
565         * simple.el (list-processes--refresh): For a server use :host or
566         :local as the address.
567         (list-processes): Doc fix.
569 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>  (tiny change)
571         * lisp/mpc.el: Support password in host argument.
572         (mpc--proc-connect): Parse and use new password element.
573         Set mpc-proc variable instead of returning process.
574         (mpc-proc): Adjust accordingly.
576 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
578         * whitespace.el (whitespace-display-mappings): Use Unicode
579         codepoints, instead of emacs-mule codepoints.  See
580         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
581         for the details.
583         * files.el (file-truename): Don't skip symlink-chasing part on
584         windows-nt.  Incorporate the resolution of 8+3 short aliases on
585         Windows into the loop that recursively chases symlinks.
586         Compare directory and its parent case-insensitively on MS-Windows and
587         MS-DOS.
589 2012-08-03  Chong Yidong  <cyd@gnu.org>
591         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
593         * sort.el (sort-regexp-fields): Doc fix.
595 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
597         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
598         labels regex position point at the expected place.
600 2012-08-03  MON KEY  <monkey@sandpframing.com>
602         * net/imap.el (imap-interactive-login, imap-authenticate)
603         (imap-mailbox-lsub, imap-mailbox-list)
604         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
605         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
606         (imap-parse-response): Doc fix.
608 2012-08-03  João Távora  <joaotavora@gmail.com>
610         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
611         if sexp scanning does not move point (Bug#5734).
613 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
615         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
616         Add listings, minted, and ctable packages.
617         (reftex-label-alist-builtin): Move listings, minted, and ctable
618         entries before LaTeX.
619         (reftex-label-alist): Docfix.
621 2012-08-02  Bastien Guerry  <bzg@gnu.org>
623         * replace.el (occur): Fix docstring (bug#12122).
625 2012-08-02  Glenn Morris  <rgm@gnu.org>
627         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
629 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
631         Obsolete alias inactivate-current-input-method-function (Bug#10150).
632         * international/mule-cmds.el: Create
633         inactivate-current-input-method-function as an obsolete alias for
634         deactivate-current-input-method-function.  See Katsumi Yamaoka in
635         <http://bugs.gnu.org/10150#46>.
637 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
639         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
640         of nested `if's.
642 2012-08-01  Glenn Morris  <rgm@gnu.org>
644         * progmodes/autoconf.el (autoconf-definition-regexp):
645         Add AH_TEMPLATE, adjust submatch numbering.
646         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
647         (autoconf-current-defun-function): Update for above change.
648         (autoconf-current-defun-function): First skip to end of current word.
650 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
652         * calendar/cal-html.el (cal-html-insert-agenda-days):
653         Fix typo.  (Bug#12018)
655 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
657         Shell processes: enhancements to startup and CEDET compatibility.
658         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
659         (python-shell-make-comint): accept-process-output at startup.
660         (run-python-internal): Set inferior-python-mode-hook to nil.
661         (python-shell-internal-get-or-create-process): call sit-for.
662         (python-preoutput-result): Add obsolete alias.
663         (python-shell-internal-send-string): Use it.
664         (python-shell-send-setup-code): Remove call to
665         accept-process-output.
667 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
669         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
670         (Bug#12108)
672 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
674         * calc-mode.el (calc-basic-simplification-mode): Rename from
675         `calc-limited-simplification-mode'.
676         (calc-alg-simplification-mode): New function.
677         (calc-set-simplify-mode):  Adjust message.
679         * calc.el (calc-set-mode-line): Adjust mode line display for
680         basic simplification mode.
682         * calc-help.el (calc-m-prefix-help): Update help message.
684         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
685         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
687 2012-07-31  Bastien Guerry  <bzg@gnu.org>
689         * man.el (man): Fix comment.  (bug#12101)
691 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
693         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
694         Don't return a non-nil value when no suitable buffer was found.
696 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
698         * progmodes/python.el (run-python-internal): Disable font lock for
699         internal shells.
701 2012-07-30  Stefan Merten  <smerten@oekonux.de>
703         * rst.el: Silence `checkdoc-ispell'.
704         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
705         (rst-official-version, rst-official-cvs-rev)
706         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
707         (rst-mode-map): New key binding.
709 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
711         Update .PHONY listings in makefiles.
712         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
713         autoloads, update-subdirs, updates, bzr-update, update-authors,
714         compile-onefile, compile-calc, backup-compiled-files,
715         compile-after-backup, compile-one-process, mh-autoloads,
716         bootstrap-clean, distclean, maintainer-clean.
718 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
720         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
721         (calc-set-mode-line): Don't display "AlgSimp ".
723         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
724         (calc-lim-simplify-mode): New function.
725         (calc-set-simplify-mode): Default to 'alg.
726         (calc-default-simplify-mode): Make algebraic simplifications
727         the default.
729         * calc/calc-ext.el (calc-init-extensions): Remove binding for
730         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
732         * calc/calc-help.el (calc-m-prefix-help): Change messages to
733         indicate new simplification modes.
735         * calc/README: Mention new default simplification mode.
737         * calc/calc.el (math-normalize-error): New variable.
738         (math-normalize): Set `math-normalize-error' to t
739         when there's an error.
741         * calc/calc-alg.el (math-simplify): Don't simplify when
742         `math-normalize' returns an error.
744 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
746         * international/mule-cmds.el (set-locale-environment): Revert last
747         change, since display-graphic-p returns nil when this function is
748         called during startup.  Instead...
750         * term/w32console.el (terminal-init-w32console): ...setup the
751         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
753 2012-07-29  Juri Linkov  <juri@jurta.org>
755         * simple.el (goto-line): Don't display default line number in the
756         prompt because it should be displayed by `read-number' (bug#9952).
757         Add the current line number to the defaults of `goto-line' to
758         allow its easier modification by users with `M-n' (bug#9201).
760         * subr.el (read-number): Support multiple default values like in
761         other minibuffer reading functions.  Replace `read' with
762         `string-to-number' for consistency with `number-to-string'.
764 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
766         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
767         * emulation/viper-init.el (viper-deactivate-input-method-action):
768         Rename from viper-inactivate-input-method-action.
769         (viper-deactivate-input-method):
770         Rename from viper-inactivate-input-method.
771         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
772         * international/mule-cmds.el (deactivate-input-method):
773         Rename from inactivate-input-method.
774         Also run input-method-deactivate-hook.
775         (deactivate-current-input-method-function):
776         Rename from inactivate-current-input-method-function.
777         (input-method-deactivate-hook): New hook.
778         (input-method-inactivate-hook): Mark obsolete.
779         (inactivate-input-method): Mark obsolete.
781         * international/quail.el (quail-activate):
782         Also run quail-deactivate-hook.
783         (quail-deactivate): Rename from quail-inactivate.
784         * international/robin.el (robin-activate):
785         Also run robin-deactivate-hook.
786         (robin-deactivate): Rename from robin-inactivate.
788 2012-07-29  Chong Yidong  <cyd@gnu.org>
790         * simple.el (indicate-copied-region): New function.
791         (kill-ring-save): Split off from here.
793         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
794         (kill-rectangle): Set deactivate-mark to t on read-only error.
796         * register.el (copy-to-register, copy-rectangle-to-register):
797         Deactivate the mark, and use indicate-copied-region (Bug#10056).
798         (append-to-register, prepend-to-register):
799         Call 2012-07-29  Juri Linkov  <juri@jurta.org>
801         * simple.el (async-shell-command-buffer): New defcustom.
802         (shell-command): Use it.  (Bug#4719)
804 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
806         * international/mule-cmds.el (set-locale-environment): In a
807         console session on MS-Windows, set up keyboard and terminal
808         encoding from the OEM codepage, not the ANSI codepage.
809         (Bug#12055)
811 2012-07-28  Chong Yidong  <cyd@gnu.org>
813         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
814         gdb-get-location.
816 2012-07-28  Leo Liu  <sdl.web@gmail.com>
818         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
819         the alist (bug#12029).
821 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
823         * makefile.w32-in (custom-deps, finder-data, updates, compile)
824         (compile-always, compile-first)
825         ($(lisp)/calendar/cal-loaddefs.el)
826         ($(lisp)/calendar/diary-loaddefs.el)
827         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
828         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
829         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
830         instead of on update-subdirs.
831         (bootstrap-clean): Delete $(lisp)/subdirs.el.
833 2012-07-28  Chong Yidong  <cyd@gnu.org>
835         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
836         directory if vc-deduce-backend returns nil (Bug#7350).
838         * simple.el (delete-trailing-lines): New option.
839         (delete-trailing-whitespace): Obey it (Bug#11879).
841 2012-07-28  David Engster  <deng@randomsample.de>
843         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
844         Explanation of new 'symbol-qnames feature in doc-strings.
845         (xml-maybe-do-ns): Return expanded names as plain symbols if
846         'symbol-qnames was provided in XML-NS argument (Bug#11916).
847         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
849 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
851         Consistent completion in inferior python with emacs -nw.
852         * progmodes/python.el (inferior-python-mode): replace "<tab>"
853         binding in inferior-python-mode-map with "\t".
854         (python-shell-completion-complete-at-point)
855         (python-completion-complete-at-point): Remove interactive spec.
857 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
859         * calc/calccomp.el (math-compose-expr): Undo previous change.
861 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
863         * progmodes/python.el (python-mode-map): Add keybinding for
864         run-python.
865         (python-shell-make-comint): Fix pop-to-buffer call.
866         (run-python): Autoload.  New arg SHOW.
867         (python-shell-get-or-create-process): Do not pop python process
868         buffer.
870 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
872         * notifications.el (notifications-on-action-signal)
873         (notifications-on-closed-signal): Use also the bus address for the map.
874         (notifications-notify, notifications-close-notification)
875         (notifications-get-capabilities):  Add optional argument BUS.
877 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
879         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
880         Add support for the lstlisting and minted environments, and for the
881         ctable macro.
882         * textmodes/reftex.el (reftex-compile-variables): Also recognize
883         labels written in keyvals syntax.
885 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
887         * calc/calccomp.el (math-compose-expr): Use parentheses when
888         there is a product in the denominator of a fraction.
890 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
892         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
893         ($(lisp)/calendar/diary-loaddefs.el)
894         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
895         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
896         Fixes failures in parallel bootstrap because subdirs.el is being
897         rewritten while the autoload files are built at the same time,
898         which needs to load subdirs.el.
900 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
902         * mouse.el (popup-menu): Fix doc-string and re-indent code.
903         (mouse-drag-line): Don't exit tracking when a switch-frame or
904         switch-window event occurs (Bug#12006).
906 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
908         * mouse.el (popup-menu): Fix last change.
910 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
912         Autoload from Lisp with more care.  Follow aliases when looking for
913         function properties.
914         * subr.el (autoloadp): New function.
915         (symbol-file): Use it.
916         (function-get): New function.
917         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
918         autoload-do-load.
919         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
920         (lisp-indent-function):
921         * emacs-lisp/gv.el (gv-get):
922         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
923         * emacs-lisp/byte-opt.el (byte-optimize-form):
924         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
925         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
926         Use function-get.
927         * emacs-lisp/cl.el: Don't propagate function properties any more.
929         * speedbar.el (speedbar-add-localized-speedbar-support):
930         * emacs-lisp/disass.el (disassemble-internal):
931         * desktop.el (desktop-load-file):
932         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
933         (describe-function-1):
934         * emacs-lisp/find-func.el (find-function-noselect):
935         * emacs-lisp/elp.el (elp-instrument-function):
936         * emacs-lisp/advice.el (ad-has-proper-definition):
937         * apropos.el (apropos-safe-documentation, apropos-macrop):
938         * emacs-lisp/debug.el (debug-on-entry):
939         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
940         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
941         * calc/calc.el (name): Use autoloadp & autoload-do-load.
943 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
945         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
946         function, not an obsolete variable (Bug#12046).
948 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
950         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
952 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
954         * emacs-lisp/pp.el (pp-display-expression): Select old selected
955         window only if it is still live (Bug#12034).
957 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
959         * subr.el (redirect-frame-focus): Add advertised calling
960         convention (Bug#12030).
962 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
964         Prefer typical American spelling for "acknowledgment".
965         * vc/add-log.el (change-log-acknowledgment): Rename from
966         change-log-acknowledgement, with an alias for the old name.
968 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
970         * calc-alg.el (math-simplify-divide): Don't cross multiply
971         in an equation when the lhs is a variable.
973 2012-07-24  Julien Danjou  <julien@danjou.info>
975         * net/netrc.el (netrc-find-service-number, netrc-store-data):
976         Remove, unused.
978 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
980         * startup.el (command-line): Don't display an empty user name in
981         the error message about non-existent home directory, when
982         init-file-user was set to an empty string.  See
983         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
984         for the details and context.
986 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
988         * ses.el (ses-cell-formula-aset): New macro.
989         (ses-cell-references-aset): New macro.
990         (ses-cell-p): New function.
991         (ses-rename-cell): Do no longer rely on complex operations like
992         ses-cell-set-formula or ses-set-cell to change the cell and handle
993         the undo at the same time, but rather use lower level new macros
994         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
995         the undo directly. Refresh the mode line.
997 2012-07-21  Leo Liu  <sdl.web@gmail.com>
999         * progmodes/cc-cmds.el (c-defun-name):
1000         Use match-string-no-properties instead for consistency.
1002 2012-07-20  Leo Liu  <sdl.web@gmail.com>
1004         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1005         (Bug#7879)
1007         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1009 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1011         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1012         * progmodes/bug-reference.el, misearch.el: Provide themselves
1013         (bug#11915).
1015         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1016         of narrowed buffer (bug#11966).
1018 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1020         * ses.el (ses-rename-cell): Set new name also in reference list of
1021         cells of which the renamed cell depends.
1023 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
1025         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1026         to check whether menu-bar is shown or not.  If not shown,
1027         show the menu-bar as a popup menu instead of using tmm.
1028         * mouse.el (popup-menu): Accept `point' as `position' argument.
1030 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
1032         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1033         up inside string symbol literal (bug#11923).
1035 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
1037         * startup.el (fancy-startup-text): Read the whole tutorial, not
1038         just its first 256 bytes.  Prevents gibberish in display of the
1039         tutorial title.
1041 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
1043         Drop idle buffer compaction due to an absence of the
1044         proved efficiency.
1045         * compact.el: Remove.
1047 2012-07-19  Sam Steingold  <sds@gnu.org>
1049         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1050         vc-bzr-pull & vc-bzr-merge-branch.
1051         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1052         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1053         for consistency with compilation-error-regexp-alist.
1054         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1055         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1056         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1057         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1059 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1061         * emacs-lisp/chart.el: Use lexical-binding.
1062         (chart-emacs-storage): Don't hardcode the list of entries.
1064 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
1066         Next round of tweaks caused by Fgarbage_collect changes.
1067         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1069 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
1071         Compact buffers when idle.
1072         * compact.el: New file.
1074 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1076         * subr.el (eventp): Presume that if it looks vaguely like an event,
1077         it's an event (bug#10190).
1079 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
1081         Enhancements to ppss related code (thanks Stefan).
1082         * progmodes/python.el (python-indent-context)
1083         (python-indent-calculate-indentation, python-indent-dedent-line)
1084         (python-indent-electric-colon, python-nav-forward-block)
1085         (python-mode-abbrev-table)
1086         (python-info-assignment-continuation-line-p): Simplify checks
1087         for ppss context.
1088         (python-info-continuation-line-p): Cleanup.
1089         (python-info-ppss-context): Do not catch 'quote.
1090         (python-info-ppss-context-type)
1091         (python-info-ppss-comment-or-string-p): Simplify.
1093 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
1095         * progmodes/python.el: Enhancements to eldoc support.
1096         (python-info-current-symbol): New function.
1097         (python-eldoc-at-point): Use python-info-current-symbol.
1098         (python-info-current-defun): Fix cornercase on first defun scan.
1099         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1100         and signal error when no inferior python process is available.
1102 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
1104         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1105         assume it's always t.
1106         (vc-git-registered): Remove caching, the function is only called
1107         once.
1108         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1110 2012-07-18  Chong Yidong  <cyd@gnu.org>
1112         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1114         * simple.el (count-words): Report on narrowing (Bug#9959).
1116         * bindings.el: Bind M-= to count-words.
1118         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1120 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
1122         * progmodes/sh-script.el (sh-imenu-generic-expression):
1123         Capture a function with `function' keyword and without parentheses
1124         like "function FOO" (bug#11856).
1126 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
1128         * window.el (split-window-sensibly): Make WINDOW argument
1129         optional.
1131 2012-07-18  Chong Yidong  <cyd@gnu.org>
1133         * subr.el (keyboard-translate): Doc fix (Bug#7261).
1135         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1136         and make C-x 8 RET exit isearch (Bug#11439).
1138         * international/iso-transl.el: Move isearch-mode-map key
1139         definitions to isearch.el.
1141 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1143         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1144         (eieio-defclass): Use gv-define-setter when possible.
1146 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
1148         Reflect recent changes in Fgarbage_collect.
1149         * emacs-lisp/chart.el (chart-emacs-storage): Change to
1150         reflect new format of data returned by Fgarbage_collect.
1152 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
1154         New utility functions + python-info-ppss-context fix (Bug#11910).
1155         * progmodes/python.el (python-info-beginning-of-block-statement-p)
1156         (python-info-ppss-comment-or-string-p): New functions.
1157         (python-info-ppss-context): Small fix for string check.
1159 2012-07-17  Juri Linkov  <juri@jurta.org>
1161         * dired-aux.el (dired-do-async-shell-command): Doc fix.
1162         (dired-do-async-shell-command): Don't add `*' at the end of the
1163         command (Bug#11815).
1164         (dired-do-shell-command): Doc fix.
1165         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1166         Join the individual commands using either "&" or ";" as the
1167         separator depending on the values of these trailing characters.
1168         At the end re-add the trailing "&".  (Bug#10598)
1170         * simple.el (async-shell-command): Sync the interactive spec with
1171         `shell-command'.  Doc fix.
1172         (shell-command): Doc fix.
1174 2012-07-17  Juri Linkov  <juri@jurta.org>
1176         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
1178 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
1180         Final renames and doc fixes for movement commands (bug#11899).
1181         * progmodes/python.el (python-nav-beginning-of-statement):
1182         Rename from python-nav-statement-start.
1183         (python-nav-end-of-statement): Rename from
1184         python-nav-statement-end.
1185         (python-nav-beginning-of-block): Rename from
1186         python-nav-block-start.
1187         (python-nav-end-of-block): Rename from python-nav-block-end.
1189 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
1191         * progmodes/python.el (python-shell-send-string-no-output):
1192         Allow accept-process-output to quit, keeping shell process ready for
1193         future interactions (Bug#11868).
1195 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1197         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1199         * emacs-lisp/elint.el (elint-find-args-in-code):
1200         Use help-function-arglist, so as to handle lexical byte-code.
1202         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1203         change (bug#11826).
1205 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1207         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1208         Avoid spuriously marking the buffer as modified because of c-is-sws.
1210         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1211         as not-a-comment (bug#11946).
1213         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1214         for uninterned vars.
1216         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1217         Use read-event since we don't really want to read chars but bytes.
1219         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1220         $$..$$ but also $..$ using regexps (bug#11953).
1221         Use tex-verbatim for \url and \path.
1222         (tex-font-lock-keywords): Define as defconst like the others.
1223         (tex-common-initialization): Don't use font-lock-syntax-table any more.
1225 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
1227         * international/mule-cmds.el (ucs-insert): Make it an obsolete
1228         alias for insert-char.
1230 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
1232         * progmodes/python.el: Simplified imenu implementation.
1233         (python-nav-jump-to-defun): Remove command.
1234         (python-mode-map): Use `imenu' instead.
1235         (python-nav-list-defun-positions-cache)
1236         (python-imenu-include-defun-type, python-imenu-make-tree)
1237         (python-imenu-subtree-root-label, python-imenu-index-alist):
1238         Remove vars.
1239         (python-nav-list-defun-positions, python-nav-read-defun)
1240         (python-imenu-tree-assoc, python-imenu-make-element-tree)
1241         (python-imenu-make-tree, python-imenu-create-index):
1242         Remove functions.
1243         (python-mode): Update to interact with imenu by setting
1244         `imenu-extract-index-name-function' only.
1246 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
1248         * progmodes/python.el: Enhancements to navigation commands.
1249         (python-nav-backward-sentence)
1250         (python-nav-forward-sentence): Remove.
1251         (python-nav-backward-statement, python-nav-forward-statement)
1252         (python-nav-statement-start, python-nav-statement-end)
1253         (python-nav-backward-block, python-nav-forward-block)
1254         (python-nav-block-start, python-nav-block-end)
1255         (python-nav-forward-sexp-function)
1256         (python-info-current-line-comment-p)
1257         (python-info-current-line-empty-p): New functions.
1258         (python-indent-context): Use `python-nav-statement-start'.
1260 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
1262         * eshell/em-ls.el (eshell/ls): Use `apply'.
1264         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1265         multi-hops, instead of Tramp internals.
1267         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1269         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1270         when F1 and F2 are located on different hosts.
1272 2012-07-14  Chong Yidong  <cyd@gnu.org>
1274         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1275         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1276         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1277         (xterm-mouse--read-event-sequence-1000)
1278         (xterm-mouse--read-event-sequence-1006): New functions.  For old
1279         mouse protocol, handle M-mouse-X events correctly.
1280         (xterm-mouse-event): New arg specifying mouse protocol.
1281         (turn-on-xterm-mouse-tracking-on-terminal)
1282         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
1283         sequence to toggle extended coordinates on newer XTerms.
1284         This appears to be harmless on terminals which do not support this.
1286 2012-07-14  Leo Liu  <sdl.web@gmail.com>
1288         Add fringe bitmap indicators for flymake.  (Bug#11253)
1289         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1290         (flymake-make-overlay): New arg BITMAP.
1291         (flymake-error-bitmap, flymake-warning-bitmap)
1292         (flymake-fringe-indicator-position): New user variables.
1294         * fringe.el: New bitmap exclamation-mark.
1296 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
1298         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1299         also (Bug#7879).
1301 2012-07-14  Chong Yidong  <cyd@gnu.org>
1303         * electric.el (electric-pair-post-self-insert-function): Fix pair
1304         insertion in empty-region case (Bug#11520).
1306 2012-07-14  Chong Yidong  <cyd@gnu.org>
1308         * bindings.el: Consolidate ctl-x-r-map bindings.
1309         Bind copy-rectangle-as-kill to C-x r w.
1311         * rect.el, register.el: Move bindings to bindings.el.
1313 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
1315         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1317 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1319         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
1321 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
1323         * bindings.el (top): Use `mapc' instead of `mapcar'.
1325         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1327 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
1329         * progmodes/sql.el (sql-comint): Suppress the check for program on
1330         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
1331         (Bug#11908)
1333 2012-07-13  Chong Yidong  <cyd@gnu.org>
1335         * bindings.el: Assign a non-nil permanent-local property to
1336         per-buffer variables which lack a default value (Bug#11930).
1338         * help-fns.el (describe-variable): In the "automatically becomes
1339         local" notice, take note of permanent-local variables.
1341 2012-07-13  Chong Yidong  <cyd@gnu.org>
1343         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
1344         to allow printing the message when called from Lisp.
1346         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1347         Remove toggle-read-only.
1349         * bs.el (bs-toggle-readonly):
1350         * buff-menu.el (Buffer-menu-toggle-read-only):
1351         Remove with-no-warnings around toggle-read-only.
1353         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1354         Remove with-no-warnings around toggle-read-only.
1355         (ffap-read-only, ffap-read-only-other-window)
1356         (ffap-read-only-other-frame): Callers changed.
1358         * help-mode.el: Don't require view package.
1359         (help-mode-finish): Set buffer-read-only instead of calling
1360         toggle-read-only.
1362         * bindings.el (mode-line-toggle-read-only):
1363         * dired.el (dired-toggle-read-only):
1364         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1365         with non-nil second arg.
1367         * emacs-lisp/eieio-custom.el (eieio-customize-object):
1368         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1369         directly.
1371 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
1373         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1374         not incf.
1376 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1378         More CL cleanups and reduction of use of cl.el.
1379         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1380         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1381         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1382         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1383         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1384         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1385         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1386         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1387         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1388         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1389         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1390         * eshell/em-cmpl.el, eshell/em-banner.el:
1391         * calendar/parse-time.el: Use cl-lib.
1392         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1393         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1394         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1395         * term/ns-win.el, term.el, shell.el, ps-samp.el:
1396         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1397         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1398         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1399         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1400         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1401         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1402         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1403         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1404         `lambda' rather than with `quote'.
1405         (eshell-do-opt): Adjust accordingly.
1406         (eshell-process-option): Simplify.
1407         * eshell/esh-var.el:
1408         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1409         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1410         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1411         to `pcase--dontcare'.
1412         * emacs-lisp/cl.el (labels): Mark obsolete.
1413         (cl--letf, letf): Move to cl-lib.
1414         (cl--letf*, letf*): Remove.
1415         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1416         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1417         (cl-progv): Rewrite.
1418         (cl--letf, cl-letf): Move from cl.el.
1419         (cl-letf*): New macro.
1420         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1422 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
1424         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1426 2012-07-11  Chong Yidong  <cyd@gnu.org>
1428         * vc/log-edit.el (log-edit-vc-backend): New variable.
1429         (log-edit): Doc fix.
1431         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
1432         argument of log-edit to set up all local variables.
1433         (vc-start-logentry): New optional arg specifying VC backend.
1435         * vc/vc.el (vc-checkin): Use it.
1436         (vc-deduce-fileset): Handle Log Edit buffers.
1437         (vc-diff): Make first argument optional too.
1439         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1441 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
1443         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1444         command, just in case.  The function is not needed anymore.
1445         (eshell-external-command): Do not call `eshell-remote-command'.
1447 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1449         Reduce use of (require 'cl).
1450         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1451         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1452         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1453         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1454         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1455         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1456         * battery.el, avoid.el, abbrev.el: Use cl-lib.
1457         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1458         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1459         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1460         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1461         * calculator.el, autorevert.el, apropos.el: Don't require CL.
1462         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1463         (byte-compile-unfold-bcf, byte-compile-check-variable):
1464         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1465         (byte-compile-nilconstp):
1466         * emacs-lisp/autoload.el (make-autoload): Use pcase.
1467         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1469         * emacs-lisp/gv.el (cond): Make it a valid place.
1470         (if): Simplify slightly.
1472         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1473         (pcase--self-quoting-p): New function.
1474         (pcase--u1): Use it.
1476 2012-07-10  Glenn Morris  <rgm@gnu.org>
1478         * emacs-lisp/authors.el (authors-fixed-entries):
1479         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1481 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
1483         Rename configure.in to configure.ac (Bug#11603).
1484         * emacs-lisp/authors.el (authors-canonical-file-name):
1485         * progmodes/autoconf.el (autoconf-mode):
1486         Prefer configure.ac to configure.in.
1488 2012-07-08  Chong Yidong  <cyd@gnu.org>
1490         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1491         Implement the mouse-1-click-follows-link handling properly.
1493         * info.el (Info-link-keymap): Use follow-link mechanism for
1494         header-line links (Bug#374).
1496         * simple.el (deactivate-mark): Do not set the primary selection
1497         if another program has acquired it (Bug#11772).
1499 2012-07-07  Kevin Ryde  <user42@zip.com.au>
1501         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1502         (woman-decode-region): Replace escaped-escapes without destroying
1503         bold or underline (Bug#11552).
1504         (woman2-process-escapes): Handle nofill regions (Bug#11591).
1506 2012-07-07  Chong Yidong  <cyd@gnu.org>
1508         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1509         (interprogram-cut-function, interprogram-paste-function):
1510         Mention that we typically mean the clipboard.
1512 2012-07-06  Glenn Morris  <rgm@gnu.org>
1514         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
1516         * files.el (toggle-read-only): Restrict message to interactive use.
1518 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
1520         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1522         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1524 2012-07-06  Glenn Morris  <rgm@gnu.org>
1526         * Makefile.in (compile-one-process): Rename from "recompile".
1528         * Makefile.in (bzr-update): "compile" is the same as "recompile
1529         autoloads", but parallelizable, so use that instead.
1531 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
1533         * window.el (quit-window): Always restore window height when
1534         it's saved in quit-restore parameter (Bug#11810).
1536 2012-07-06  Glenn Morris  <rgm@gnu.org>
1538         * simple.el (kill-whole-line): Doc tweak.
1540 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
1542         * files.el (file-relative-name): Compare file names
1543         case-insensitively if on MS-Windows or MS-DOS, or if
1544         read-file-name-completion-ignore-case is non-nil.  Don't use
1545         case-fold-search for this purpose.  (Bug#11827)
1547 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
1549         * calendar/cal-dst.el (calendar-current-time-zone):
1550         Return calendar-current-time-zone-cache if non-nil.
1552 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
1553 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
1555         * calendar/cal-dst.el (calendar-current-time-zone):
1556         Return calendar-current-time-zone-cache if non-nil.
1558 2012-07-06  Glenn Morris  <rgm@gnu.org>
1560         * Makefile.in (cvs-update): Remove old alias.
1562 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
1564         Sync with Tramp 2.2.6-pre.
1566         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1567         compatible declaration.
1569         * net/tramp-cmds.el (tramp-append-tramp-buffers):
1570         Protect `list-load-path-shadows' call.
1572         * net/tramp-compat.el (top): Require packages, which aren't
1573         autoloaded anymore for XEmacs.  Protect call of
1574         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1575         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
1576         it hurts at least for SXEmacs.
1577         (tramp-compat-temporary-file-directory): In XEmacs, there is no
1578         standard-value for `temporary-file-directory'.
1580         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1581         Redirect stderr to /dev/null.
1582         (tramp-sh-handle-write-region): uid and gid can be floats.
1583         Reported by Russell Sim <russell.sim@gmail.com>.
1584         (tramp-sh-handle-vc-registered): Hide errors.
1585         (tramp-vc-file-name-handler): Use dummy results for `process-file'
1586         and `start-file-process'.
1587         (tramp-maybe-open-connection): Check also whether `non-essential'
1588         is bound.
1590 2012-07-04  Chong Yidong  <cyd@gnu.org>
1592         * xml.el (xml--parse-buffer): Use xml-syntax-table.
1593         (xml-parse-tag): Likewise, and avoid changing entity tables.
1594         (xml-syntax-table): Define from scratch, making sure not to give
1595         x2000 and other Unicode spaces whitespace syntax, since those are
1596         not spaces in XML.
1597         (xml-parse-fragment): Delete unused function.
1598         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1599         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1600         (xml-entity-ref, xml-pe-reference-re)
1601         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1602         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1603         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1604         (xml-entity-value-re): Use syntax references in regexps where
1605         possible; no need to define inside a let-binding.
1606         (xml-parse-dtd): Use xml-pe-reference-re.
1607         (xml-entity-or-char-ref-re): New defconst.
1608         (xml-parse-string, xml-substitute-special): Use it.
1610 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1612         * files.el (locate-dominating-file): Allow `name' to be a predicate.
1613         (find-file--read-only): New function.
1614         (find-file-read-only, find-file-read-only-other-window)
1615         (find-file-read-only-other-frame): Use it.
1616         (insert-file-contents-literally): Don't `fset'.
1617         (get-free-disk-space): Use locate-dominating-file.
1619         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1620         function is already compiled.
1622         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
1624 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
1626         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1627         files on the same host.
1629 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
1631         * help-fns.el (describe-function-1): Only call
1632         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
1634 2012-07-03  Chong Yidong  <cyd@gnu.org>
1636         * xml.el: Protect parser against XML bombs.
1637         (xml-entity-expansion-limit): New variable.
1638         (xml-parse-string, xml-substitute-special): Use it.
1639         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1641 2012-07-03  Glenn Morris  <rgm@gnu.org>
1643         * progmodes/bug-reference.el (bug-reference-bug-regexp):
1644         Allow linking to specific messages in debbugs reports (eg 123#5).
1646 2012-07-02  Chong Yidong  <cyd@gnu.org>
1648         * xml.el: Fix entity and character reference expansion, allowing
1649         them to expand into markup as per XML spec.
1650         (xml-default-ns): New variable.
1651         (xml-entity-alist): Use XML spec definitions for lt and amp.
1652         (xml-parse-region): Make first two arguments optional.
1653         Discard text properties.
1654         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1655         All callers changed.
1656         (xml-parse-tag): Call xml-parse-tag-1.  For backward
1657         compatibility, this function should not modify buffer contents.
1658         (xml-parse-tag-1): Fix opening-tag regexp.
1659         (xml-parse-string): Rewrite, handling entity and character
1660         references properly.
1661         (xml--entity-replacement-text): Signal an error if a parameter
1662         entity is undefined.
1664 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1666         * comint.el (comint-output-filter): Filter out repeated prompts.
1668         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1669         and file-name-absolute-p.
1670         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1671         internal calls.
1673 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
1675         Spelling fixes.
1676         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1677         Rename from byte-compile--refiy-function.  All uses changed.
1679 2012-07-01  Chong Yidong  <cyd@gnu.org>
1681         * xml.el (xml--parse-buffer): New function.  Move most of
1682         xml-parse-region here.
1683         (xml-parse-region): Copy region into a temporary buffer, since
1684         parameter entity substitution requires changing buffer contents.
1685         Use xml--parse-buffer.
1686         (xml-parse-file): Use xml--parse-buffer.
1687         (xml-parse-dtd): Make parameter entity substitution work right.
1688         Use proper regexps for ELEMENT declarations (Bug#7172).
1690 2012-06-30  Glenn Morris  <rgm@gnu.org>
1692         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1694         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1695         Remove outdated and unnecessary dbus declarations.
1697 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
1699         * emacs-lisp/timer.el (timer-until): Subtract results of
1700         float-time, instead of taking float-time of the result of
1701         time-subtract, since float-time signals an error for negative time
1702         arguments.
1704 2012-06-30  Chong Yidong  <cyd@gnu.org>
1706         * xml.el (xml-*-re): Convert defvars into defconsts, and
1707         eval-and-compile them so eval-and-compile works on derivatives.
1708         (xml--entity-replacement-text): Use eval-and-comple.
1710 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
1712         * vc/vc-git.el (vc-git-registered): Use cache property
1713         `git-registered'.
1714         (vc-git-mode-line-string): Call `vc-working-revision' instead of
1715         `vc-git-working-revision' in order to benefit from the cache.
1716         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
1718 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
1720         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1721         removed (likely outside Emacs).  (Bug#11757)
1723 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1725         * emacs-lisp/cl-lib.el: Require macroexp.
1727 2012-06-30  Chong Yidong  <cyd@gnu.org>
1729         * xml.el: Implement XML parameter entities.
1730         (xml-parameter-entity-alist): New variable.
1731         (xml-parse-region, xml-parse-fragment): Preserve previous values
1732         of xml-entity-alist and xml-parameter-entity-alist, so that
1733         repeated calls on different documents do not change them.
1734         (xml-parse-tag): Fix doctype regexp.
1735         (xml--entity-replacement-text): New function.
1736         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
1737         properly requires url retrieval which is unimplemented.
1738         (xml-escape-string): Doc fix.
1740 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1742         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1744 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
1746         * fringe.el (fringe-mode): Doc fix.
1748 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
1750         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1751         is non-nil.
1752         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1753         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
1755 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
1757         * calendar/cal-dst.el (calendar-current-time-zone):
1758         Return calendar-current-time-zone-cache if non-nil.
1760 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
1762         * progmodes/which-func.el (which-func-format):
1763         Add mouse-face.  (Bug#11698)
1765 2012-06-29  Leo Liu  <sdl.web@gmail.com>
1767         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1769 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1771         * minibuffer.el (minibuffer-confirm-exit-commands):
1772         Add completion-at-point (bug#11725).
1774 2012-06-29  Glenn Morris  <rgm@gnu.org>
1776         * progmodes/f90.el (f90-font-lock-keywords-2):
1777         Add some preprocessor elements.  (Bug#10499)
1779 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1781         * progmodes/cperl-mode.el (cperl-update-syntaxification):
1782         Use syntax-propertize (bug#11739).
1784 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
1786         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1788 2012-06-28  Julien Danjou  <julien@danjou.info>
1790         * term.el (term-handle-colors-array): Use a set of new faces to
1791         color the terminal.  Also uses :inverse-video property.
1792         (term-default-fg-color): Set to nil by default, deprecate in favor
1793         of `term-face'.
1794         (term-default-bg-color): Set to nil by default, deprecate in favor
1795         of `term-face'.
1796         (term-current-face): Use `term-face' by default.
1797         (term-bold-attribute): Variable deleted.
1799 2012-06-28  Glenn Morris  <rgm@gnu.org>
1801         * simple.el (completion-list-mode-finish):
1802         Don't use toggle-read-only.  (Since completion-list-mode has
1803         a special mode-class, it wasn't doing anything extra anyway.)
1805 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1807         Make inlining of other-mode interpreted functions work (bug#11799).
1808         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1809         (byte-compile): Use it to fix compilation of lexical-binding closures.
1810         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1811         function, if needed.
1813 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1815         * help-mode.el (help-make-xrefs): Don't just withstand
1816         cyclic-variable-indirection but any error in documentation-property.
1818         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1819         memory use.
1820         * bindings.el (bindings--define-key): New function.
1821         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1822         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1823         * bindings.el: Use it to purecopy define-key bindings.
1825         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1827         * emacs-lisp/cl.el (flet): Mark obsolete.
1828         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1829         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1830         * progmodes/js.el (js-c-fill-paragraph):
1831         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1832         (ebrowse-switch-member-buffer-to-derived-class):
1833         * play/5x5.el (5x5-solver): Use cl-flet.
1835         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
1836         (cl--symbol-function): New macro.
1837         (cl--letf, cl--letf*): Use it.
1839         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1840         Strip "toggle-" if any.
1842 2012-06-27  Glenn Morris  <rgm@gnu.org>
1844         * info.el (Info-default-directory-list): Move here from paths.el.
1845         * paths.el: Remove file, which is now empty.
1846         * loadup.el: No longer load "paths".
1848         * custom.el (custom-initialize-delay): Doc fix.
1850         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1851         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1852         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1853         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1854         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1855         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1856         * eshell/eshell.el (eshell-defgroup): Remove alias.
1858 2012-06-27  Chong Yidong  <cyd@gnu.org>
1860         * help.el (help-enable-auto-load): New variable.
1862         * help-fns.el (help-fns--autoloaded-p): New function.
1863         (describe-function-1): Refer to a function as "autoloaded" if it
1864         was autoloaded at any time in the past.  Perform autoloading if
1865         help-enable-auto-load is non-nil.
1867 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
1869         * makefile.w32-in (compile, compile-always): Depend on
1870         update-subdirs, not on subdirs.el.  Otherwise, several different
1871         sub-targets of 'bootstrap' running in parallel could
1872         simultaneously write to subdirs.el, producing a garbled file.
1874 2012-06-26  Sam Steingold  <sds@gnu.org>
1876         * files.el (file-name-base): New convenience function.
1877         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1878         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1879         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1880         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1881         * textmodes/ispell.el, textmodes/reftex-ref.el:
1882         * textmodes/tex-mode.el: Use it.
1883         Did not touch cedet and org because they are maintained elsewhere.
1885 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
1887         * calendar/calendar.el (calendar-exit): Don't try to delete or
1888         iconify last frame.  See:
1889         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1891 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
1893         * server.el (server-process-filter): Remember dir in the
1894         process's `server-client-directory' properties.
1896 2012-06-24  Chong Yidong  <cyd@gnu.org>
1898         * xml.el (xml-parse-tag): Correctly handle comment embedded in
1899         non-tag text.
1901 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
1903         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1905 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1907         * help-fns.el (describe-variable): Don't croak when doc is not found.
1908         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1909         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1910         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1911         * emacs-lisp/smie.el (smie-next-sexp): CSE.
1912         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1913         ((lambda ..) ..).
1914         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1916 2012-06-23  Chong Yidong  <cyd@gnu.org>
1918         * info.el (Info-mouse-follow-link): Accept symbol values of
1919         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
1920         (Info-fontify-node): Use Info-link-keymap for all navigation
1921         buttons, with link-args property to perform the desired action.
1922         (Info-link-keymap): Doc fix.
1923         (Info-next-link-keymap, Info-prev-link-keymap)
1924         (Info-up-link-keymap): Delete now-unused keymaps.
1926 2012-06-23  Chong Yidong  <cyd@gnu.org>
1928         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1930         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1931         system abbrevs.
1933         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1935 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1937         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1938         (bug#11719).
1940         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1941         the requote function doesn't work properly (bug#11714).
1943 2012-06-23  Glenn Morris  <rgm@gnu.org>
1945         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1947 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1949         Further GV/CL cleanups.
1950         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1951         gv-expander.
1952         (gv--defun-declaration): New function.
1953         (defun-declarations-alist): Use it.
1954         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1955         (gv-place): Autoload.
1956         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1957         original definition of dotimes and dolist.
1958         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1959         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1960         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1961         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1962         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1963         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1964         to the function's definition.
1965         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1966         * window.el:
1967         * files.el:
1968         * faces.el:
1969         * env.el: Don't use CL.
1971 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
1973         Support higher-resolution time stamps (Bug#9000).
1975         * calendar/time-date.el (with-decoded-time-value): New arg
1976         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
1977         (encode-time-value): New optional arg PICO.  New type 3.
1978         (time-to-seconds) [!float-time]: Support the new picoseconds
1979         component if it's used.
1980         (seconds-to-time, time-subtract, time-add):
1981         Support ps-resolution time stamps as well.
1983         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
1984         (timerp): Timer vectors now have length 9, not 8.
1985         (timer--time): Support new-style (4-part) time stamps.
1986         (timer-next-integral-multiple-of-time): Time stamps now have
1987         picosecond resolution, so take a bit more care about rounding.
1988         (timer-relative-time, timer-inc-time): New optional arg psecs.
1989         (timer-set-time-with-usecs): Set psecs to 0.
1990         (timer--activate): Check psecs component, too.
1992         * proced.el (proced-time-lessp): Support ps-resolution stamps.
1994 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1996         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1997         Move the non-essential binding to the post/pre-command-hook where it is
1998         more obviously correct.
2000         * subr.el (read-passwd): Don't use a history at all.
2001         * savehist.el (savehist-save): Remove password saved accidentally
2002         because of the above bug.
2004 2012-06-22  Bastien Guerry  <bzg@gnu.org>
2006         * files.el (toggle-read-only): Display a message telling whether
2007         the buffer is read-only or not (bug#11726).
2009 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2011         * emacs-lisp/gv.el: New file.
2012         * subr.el (push, pop): Extend to generalized variables.
2013         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2014         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2015         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
2016         gv-define-simple-setter, and gv-define-expander.
2017         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
2018         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2019         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2020         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2021         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2022         gv-letplace.
2023         (cl-defstruct): Don't define setf-method any more.
2024         * emacs-lisp/cl.el (flet): Don't autoload.
2025         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2026         (define-setf-expander, defsetf, define-modify-macro)
2027         (cl-struct-setf-expander): Move from cl-lib.el.
2028         * emacs-lisp/syntax.el:
2029         * emacs-lisp/ewoc.el:
2030         * emacs-lisp/smie.el:
2031         * emacs-lisp/cconv.el:
2032         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2033         (timer--time): Use gv-define-simple-setter.
2034         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2035         to avoid coding-system problems in subr.el.  Adjust all users.
2036         (macroexp--maxsize, macroexp-small-p): New functions.
2037         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2038         * scroll-bar.el (scroll-bar-mode):
2039         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2040         (normal-erase-is-backspace-mode): Don't use the `eq' place.
2041         * winner.el (winner-configuration, winner-make-point-alist)
2042         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2043         * files.el (locate-file-completion-table): Avoid list*.
2045 2012-06-22  Chong Yidong  <cyd@gnu.org>
2047         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2048         (dired-create-files): Doc fix (Bug#11329).
2049         (dired-do-copy): Doc fix (Bug#11334).
2050         (dired-mark-read-string): Doc fix (Bug#11553).
2052         * dired.el (dired-recursive-copies, dired-recursive-deletes):
2053         Doc fix (Bug#11326).
2054         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
2055         (dired-dwim-target): Doc fix.
2057         * wdired.el (wdired-mode): Doc fix.
2059 2012-06-22  Glenn Morris  <rgm@gnu.org>
2061         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2062         (pcmpl-rpm-cache-stamp-file): New constant.
2063         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2064         (pcmpl-rpm-packages): Optionally cache list of packages.
2066         * pcmpl-rpm.el (pcmpl-rpm): New group.
2067         (pcmpl-rpm-query-options): New option.
2068         (pcmpl-rpm-packages): No need to inline it.
2069         Use pcmpl-rpm-query-options.
2071         * calendar/calendar.el (calendar-in-read-only-buffer):
2072         Avoid some needless mode changes.
2074 2012-06-21  Chong Yidong  <cyd@gnu.org>
2076         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2077         (desktop-path): Remove . from the default value (Bug#10977).
2078         (desktop-read): Use user-emacs-directory if desktop-path is nil.
2080 2012-06-20  Chong Yidong  <cyd@gnu.org>
2082         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2084 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
2086         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2087         (bug#11201).
2089 2012-06-20  Chong Yidong  <cyd@gnu.org>
2091         * term.el (term-window-width): Handle the case of a missing right
2092         fringe (Bug#8837).
2093         (term-check-size): Use window-text-height (Bug#5445).
2094         (term-mode): Use define-derived-mode.  Minor cleanups.
2095         Set font-lock-defaults (Bug#7692).
2096         (term-move-columns, term-insert-char, term-emulate-terminal)
2097         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
2099 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
2101         * net/ange-ftp.el (ange-ftp-get-passwd):
2102         Bind `enable-recursive-minibuffers'.
2103         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2105 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
2107         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2109 2012-06-19  Glenn Morris  <rgm@gnu.org>
2111         * progmodes/python.el (python-mode): Derive from prog-mode.
2113 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2115         * emulation/edt.el (edt-default-menu-bar-update-buffers)
2116         (edt-user-menu-bar-update-buffers): New functions.
2117         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2119 2012-06-19  Chong Yidong  <cyd@gnu.org>
2121         * subr.el (with-selected-window): Preserve the selected window's
2122         terminal's top-frame (Bug#4702).
2124         * window.el (save-selected-window): Likewise.
2126 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2128         * progmodes/python.el (python-rx-constituents): Move backquote.
2129         (python-skeleton-define, python-define-auxiliary-skeleton):
2130         Use `declare'.
2132 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
2134         * minibuffer.el (read-file-name-default): Revert the patch from
2135         2012-06-17.
2137 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2139         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2140         (pcase--u1, pcase--q1): Don't use apply-partially.
2142 2012-06-18  Glenn Morris  <rgm@gnu.org>
2144         * progmodes/python.el (python-proc, python-buffer)
2145         (python-send-receive, python-send-string): Fix obsolete versions.
2147 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
2149         * window.el (special-display-p): Completely remove stringp
2150         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2152 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
2154         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2156         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2158         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2159         * net/tramp-sh.el (tramp-maybe-open-connection):
2160         Throw if `non-essential' is non-nil.
2162 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
2164         * window.el (special-display-p): Signal an error if BUFFER-NAME
2165         is not a string (Bug#11713).
2167 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
2169         * progmodes/python.el (python-info-beginning-of-backslash):
2170         Rename from python-info-beginning-of-backlash, as a spelling fix.
2172 2012-06-17  Chong Yidong  <cyd@gnu.org>
2174         * term.el (term-emulate-terminal): If term-check-size is called,
2175         move point to the process mark without resetting point (Bug#4635).
2177 2012-06-17  Glenn Morris  <rgm@gnu.org>
2179         * international/mule-cmds.el (mule-menu-keymap)
2180         (set-language-environment, set-locale-environment): Doc tweaks.
2182 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
2184         * cus-face.el (custom-face-attributes): Add wave-style underline
2185         attribute.
2186         * faces.el (set-face-attribute): Update docstring to describe
2187         wave-style underline attribute.
2189 2012-06-16  Chong Yidong  <cyd@gnu.org>
2191         * term/xterm.el (terminal-init-xterm): Discard input before
2192         querying background mode (Bug#10959).
2194 2012-06-16  Stefan Merten  <smerten@oekonux.de>
2196         * textmodes/rst.el: Added and corrected some comments.
2197         (rst-re-alist-def): Improve symbol syntax.
2198         (rst-mode-syntax-table): Correct syntax entries.
2199         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2200         (rst-official-version, rst-official-cvs-rev): Update version
2201         information.
2203 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
2205         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2206         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2208 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
2210         * progmodes/python.el: New python.el merge.
2211         (python-guess-indent): Obsolete var.
2212         (python-indent-guess-indent-offset): New defcustom.
2213         (python-indent): Obsolete var.
2214         (python-indent-offset): New defcustom.
2215         (python-python-command, python-jython-command): Delete var.
2216         (python-shell-interpreter): New defcustom.
2217         (python-pdbtrack-do-tracking-p): Delete var.
2218         (python-pdbtrack-activate): New defcustom.
2219         (python-use-skeletons): Obsolete var.
2220         (python-skeleton-autoinsert): New defcustom.
2221         (inferior-python-filter-regexp, python-continuation-offset)
2222         (python-honour-comment-indentation, python-indent-string-contents)
2223         (python-jython-packages, python-mode-hook)
2224         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2225         (python-shell-prompt-alist)
2226         (python-source-modes): Delete defcustoms.
2227         (python-check-buffer-name, python-eldoc-setup-code)
2228         (python-eldoc-string-code, python-ffap-setup-code)
2229         (python-ffap-string-code, python-fill-comment-function)
2230         (python-fill-decorator-function, python-fill-paren-function)
2231         (python-fill-string-function, python-imenu-include-defun-type)
2232         (python-imenu-make-tree, python-imenu-subtree-root-label)
2233         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2234         (python-shell-compilation-regexp-alist)
2235         (python-shell-completion-module-string-code)
2236         (python-shell-completion-pdb-string-code)
2237         (python-shell-completion-setup-code)
2238         (python-shell-completion-string-code)
2239         (python-shell-enable-font-lock, python-shell-exec-path)
2240         (python-shell-extra-pythonpaths)
2241         (python-shell-internal-buffer-name, python-shell-interpreter-args)
2242         (python-shell-process-environment)
2243         (python-shell-prompt-block-regexp)
2244         (python-shell-prompt-output-regexp)
2245         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2246         (python-shell-send-setup-max-wait, python-shell-setup-codes)
2247         (python-shell-virtualenv-path): New defcustoms.
2248         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2249         (inferior-python-mode-syntax-table, python--prompt-regexp)
2250         (python-buffer, python-command python-python-command)
2251         (python-default-template, python-imports, python-indent-index)
2252         (python-indent-list, python-indent-list-length)
2253         (python-mode-running, python-pdbtrack-is-tracking-p)
2254         (python-preoutput-continuation, python-preoutput-leftover)
2255         (python-preoutput-result, python-preoutput-skip-next-prompt)
2256         (python-prev-dir/file, python-recursing)
2257         (python-saved-check-command, python-version-checked)
2258         (python-which-func-length-limit)
2259         (view-return-to-alist): Delete vars.
2260         (python-check-custom-command, python-dotty-syntax-table)
2261         (python-imenu-index-alist, python-indent-current-level)
2262         (python-indent-dedenters, python-indent-levels)
2263         (python-nav-beginning-of-defun-regexp)
2264         (python-nav-list-defun-positions-cache)
2265         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2266         (python-shell-internal-buffer)
2267         (python-skeleton-available): New vars.
2268         (def-python-skeleton): Delete macro.
2269         (python-skeleton-define): New macro.
2270         (python-define-auxiliary-skeleton, python-rx): New macros.
2271         (python-insert-class): Delete command.
2272         (python-skeleton-class): New command.
2273         (python-insert-def): Delete command.
2274         (python-skeleton-def): New command.
2275         (python-insert-for): Delete command.
2276         (python-skeleton-for): New command.
2277         (python-insert-if): Delete command.
2278         (python-skeleton-if): New command.
2279         (python-insert-try/except, python-insert-try/finally): Delete commands.
2280         (python-skeleton-try): New command.
2281         (python-insert-while): Delete command.
2282         (python-skeleton-while): New command.
2283         (python-backspace): Delete command.
2284         (python-indent-dedent-line-backspace): New command.
2285         (python-electric-colon): Delete command.
2286         (python-indent-electric-colon): New command.
2287         (python-guess-indent): Delete command.
2288         (python-indent-guess-indent-offset): New command.
2289         (python-shift-left): Delete command.
2290         (python-indent-shift-left): New command.
2291         (python-shift-right): Delete command.
2292         (python-indent-shift-right): New command.
2293         (python-find-function): Delete command.
2294         (python-nav-jump-to-defun): New command.
2295         (python-next-statement): Delete command.
2296         (python-nav-forward-sentence): New command.
2297         (python-previous-statement): Delete command.
2298         (python-nav-backward-sentence): New command.
2299         (python-fill-paragraph): Delete command.
2300         (python-fill-paragraph-function): New command.
2301         (python-send-buffer): Delete command.
2302         (python-shell-send-buffer): New command.
2303         (python-send-defun): Delete command.
2304         (python-shell-send-defun): New command.
2305         (python-send-region, python-send-region-and-go): Delete commands.
2306         (python-shell-send-region)
2307         (python-shell-switch-to-shell): New commands.
2308         (python-send-string): Delete command.
2309         (python-shell-send-string): New command.
2310         (python-switch-to-python): Delete command.
2311         (python-shell-switch-to-shell): New command.
2312         (python-describe-symbol): Delete command.
2313         (python-eldoc-at-point): New command.
2314         (python--set-prompt-regexp, python-args-to-list)
2315         (python-after-info-look, python-check-version)
2316         (python-check-comint-prompt, python-find-imports)
2317         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2318         (python-unload-function, python-expand-template)
2319         (python-maybe-jython, python-preoutput-filter)
2320         (python-pdbtrack-get-source-buffer)
2321         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2322         (python-pdbtrack-toggle-stack-tracking)
2323         (python-pdbtrack-track-stack-file, python-initial-text)
2324         (python-first-word, python-comment-line-p, python-send-command)
2325         (python-setup-brm, python-sentinel, python-set-proc)
2326         (python-skip-out, python-input-filter, python-outdent-p)
2327         (python-outline-level, python-backslash-continuation-line-p)
2328         (python-end-of-block, python-end-of-statement, python-mark-block)
2329         (python-beginning-of-block, python-beginning-of-statement)
2330         (python-blank-line-p, python-beginning-of-string)
2331         (python-open-block-statement-p): Delete functions.
2332         (python-indent-line, python-indent-line-1): Delete functions.
2333         (python-indent-line): New function.
2334         (python-indentation-levels): Delete function.
2335         (python-indent-calculate-levels): New function.
2336         (python-proc): Delete function.
2337         (python-shell-get-process): New function.
2338         (python-send-receive): Delete function.
2339         (python-shell-send-string-no-output): New function.
2340         (python-module-path): Delete function.
2341         (python-ffap-module-path): New function.
2342         (python-completion-at-point)
2343         (python-symbol-completions): Delete functions.
2344         (python-completion-complete-at-point): New function.
2345         (python-load-file): Delete function.
2346         (python-shell-send-file): New function.
2347         (python-calculate-indentation): Delete function.
2348         (python-indent-calculate-indentation): New function.
2349         (python-skip-comments/blanks): Delete function.
2350         (python-util-forward-comment): New function.
2351         (python-continuation-line-p): Delete function.
2352         (python-info-continuation-line-p): New function.
2353         (python-which-func, python-current-defun): Delete function.
2354         (python-info-current-defun): New function.
2355         (python-beginning-of-defun): Delete function.
2356         (python-nav-beginning-of-defun): New function.
2357         (python-close-block-statement-p)
2358         (python-block-end-p): Delete function.
2359         (python-info-closing-block): New function.
2360         (python-comint-output-filter-function)
2361         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2362         (python-fill-comment, python-fill-decorator, python-fill-paren)
2363         (python-fill-string, python-imenu-make-element-tree)
2364         (python-imenu-make-tree, python-imenu-tree-assoc)
2365         (python-indent-context, python-indent-dedent-line)
2366         (python-indent-line-function)
2367         (python-indent-post-self-insert-function)
2368         (python-indent-toggle-levels)
2369         (python-info-assignment-continuation-line-p)
2370         (python-info-beginning-of-backlash)
2371         (python-info-block-continuation-line-p)
2372         (python-info-closing-block-message)
2373         (python-info-line-ends-backslash-p)
2374         (python-info-looking-at-beginning-of-defun)
2375         (python-info-ppss-context, python-info-ppss-context-type)
2376         (python-nav-list-defun-positions, python-nav-read-defun)
2377         (python-nav-sentence-end, python-nav-sentence-start)
2378         (python-pdbtrack-comint-output-filter-function)
2379         (python-pdbtrack-set-tracked-buffer)
2380         (python-shell-calculate-exec-path)
2381         (python-shell-calculate-process-environment)
2382         (python-shell-completion--do-completion-at-point)
2383         (python-shell-completion--get-completions)
2384         (python-shell-completion-complete-at-point)
2385         (python-shell-completion-complete-or-indent)
2386         (python-shell-get-or-create-process)
2387         (python-shell-get-process-name)
2388         (python-shell-internal-get-or-create-process)
2389         (python-shell-internal-get-process-name)
2390         (python-shell-internal-send-string, python-shell-make-comint)
2391         (python-shell-parse-command, python-shell-send-setup-code)
2392         (python-skeleton-add-menu-items)
2393         (python-util-clone-local-variables, python-util-position)
2394         (run-python-internal, python-indentation-levels)
2395         (python-nav-beginning-of-defun)
2396         (python-completion-complete-at-point): New functions.
2397         (run-python): Change arguments.  New API requirements.
2399 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2401         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2402         (bug#11649).
2404         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2405         (macroexp--expand-all): Use it.
2407         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2408         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2409         Use `cl-function' instead.
2411 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
2413         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2414         Suggested by Stefan Monnier while discussing bug#11657.
2416 2012-06-14  Sam Steingold  <sds@gnu.org>
2418         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2420 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2422         * play/doctor.el (doctor-doc): Remove parameter and use
2423         doctor-sent instead of sent.
2424         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
2426 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2428         * files.el: Require cl-lib.
2429         (file-name-non-special): Replace case -> cl-case.
2431         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2433         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2434         mapping from #' to function*.
2436 2012-06-13  Chong Yidong  <cyd@gnu.org>
2438         * mouse.el (mouse-drag-track): Do not set the mark if the user
2439         releases the mouse without selecting anything (Bug#11588).
2441 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2443         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2444         as well (bug#11646).
2446         * loadup.el: Count byte-code functions as well.
2448         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2449         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2451         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2452         (bug#11649).  Add cl-defun and cl-defmacro.
2454 2012-06-13  Drew Adams  <drew.adams@oracle.com>
2456         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2457         Fix last change.
2459 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
2461         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2462         Otherwise, it blocks in batch mode.
2464 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
2466         * help-mode.el (bookmark-make-record-default): Declare.
2468 2012-06-13  Chong Yidong  <cyd@gnu.org>
2470         * emacs-lisp/package.el (list-packages): Compute a list of
2471         packages that are newly-available since the last list-packages
2472         invocation.
2473         (package-menu--new-package-list): New var.
2474         (package-menu--generate, package-menu--print-info)
2475         (package-menu--status-predicate, package-menu-mark-install):
2476         Handle new status label "new".
2478 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2480         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2481         conversion to backquotes.
2483 2012-06-12  Chong Yidong  <cyd@gnu.org>
2485         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2486         Rename from gud-inhibit-global-bindings.
2488         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2490         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2491         hook from nxml-glyph-set-hook.
2493         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2494         declaration.
2496         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2498         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2499         Convert to defcustom.
2501 2012-06-12  Drew Adams  <drew.adams@oracle.com>
2503         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2504         New functions.
2505         (help-mode): Use them.
2507 2012-06-11  Glenn Morris  <rgm@gnu.org>
2509         * progmodes/fortran.el (fortran-font-lock-keywords-3):
2510         Use preprocessor face for directives.
2511         (fortran-directive-re): Doc fix.
2513 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2515         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2516         conversion to backquotes (bug#11652).
2518         Fix compiler-expansion of CL's cXXr functions (bug#11673).
2519         * emacs-lisp/cl-lib.el (cl--defalias): New function.
2520         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2521         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2522         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2523         (cl-ninth, cl-tenth): Mark them as inlinable.
2524         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2525         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2526         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2527         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2528         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2529         (cl-list*, cl-adjoin): Don't put an autoload manually.
2530         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2531         (cl--compiler-macro-list*): Add autoload cookie.
2532         (cl--compiler-macro-cXXr): New function.
2534         * help-fns.el (help-fns--compiler-macro): New function extracted from
2535         describe-function-1; follow aliases and use `compiler-macro' property.
2536         (describe-function-1): Use it.
2538 2012-06-11  Chong Yidong  <cyd@gnu.org>
2540         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2541         is uninstalled, if imagemagick is installed.
2543 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2545         * emacs-lisp/cl-lib.el: Use lexical-binding.
2546         (cl-map-extents, cl-maclisp-member): Remove.
2547         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2548         (cl--set-substring, cl--block-wrapper, cl--block-throw)
2549         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2550         * emacs-lisp/cl-extra.el: Use lexical-binding.
2551         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2552         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2553         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2554         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2555         * emacs-lisp/cl-seq.el: Use lexical-binding.
2556         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2557         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2558         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2559         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2560         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2561         CL's internals.
2563 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
2565         Sync with Tramp 2.2.6-pre.
2567         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2568         `print-length' and `print-level' to nil, in order to avoid
2569         truncation.  Reported by Christopher Schmidt
2570         <christopher@ristopher.com>.
2572         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2574         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2575         New defmacro.
2576         (tramp-compat-copy-directory): Add optional argument
2577         COPY-CONTENTS.  It is not handled yet.
2579         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2580         (tramp-ftp-file-name-p): Simplify.
2582         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2583         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2584         connection vector.
2586         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2587         (tramp-methods): Do not use `tramp-password-end-of-line'.
2588         (tramp-completion-function-alist-putty): Handle UNIX case.
2589         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2590         (tramp-do-file-attributes-with-stat)
2591         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2592         gid as real numbers.  They could run out of integer range on cygwin.
2593         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2594         (tramp-sh-handle-expand-file-name): Handle hops.
2595         (tramp-open-connection-setup-interactive-shell):
2596         Use `tramp-cleanup'.  Move check for busyboxes ...
2597         (tramp-find-shell): ... here.  Simplify implementation.
2598         Set "remote-shell" property also for alternative shells.
2599         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2600         If failing, a regular file would be written otherwise.
2601         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2602         (tramp-find-inline-encoding): Cache the coding commands in the
2603         process cache.  Apply test command on the remote side, if defined.
2604         (tramp-find-inline-compress): Cache the compress commands in the
2605         process cache.
2606         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2607         when requested.  Handle hops.
2608         (tramp-current-connection): New defvar.
2609         (tramp-maybe-open-connection): Use `tramp-cleanup'.
2610         Throw `suppress', if there was a failed connection shortly before.
2611         Handle user interrupt.  (Bug#10187)
2612         (tramp-get-inline-compress, tramp-get-inline-coding):
2613         Read connection properties from the process cache.
2615         * net/tramp-smb.el (tramp-smb-server-version)
2616         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2617         New defconsts.
2618         (tramp-smb-prompt): Extend for powershell prompt.
2619         (tramp-smb-file-name-handler-alist): Add handlers for
2620         `process-file', `shell-command' and `start-file-process'.
2621         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2622         (tramp-smb-winexe-shell-command-switch): New defcustoms.
2623         (tramp-smb-file-name-p): Simplify.
2624         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2625         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2626         (tramp-smb-shell-quote-argument): New defuns.
2627         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2628         Implement using "tar".  By this, time-stamps are preserved.
2629         (tramp-smb-handle-copy-file): Handle also the case of directories.
2630         (tramp-smb-do-file-attributes-with-stat)
2631         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2632         Use `tramp-get-connection-buffer').
2633         (tramp-smb-handle-rename-file): Use "rename", when source and
2634         target are on the same share.
2635         (tramp-smb-maybe-open-connection): Handle wrong passwords.
2636         Use `tramp-smb-server-version'.
2637         (tramp-smb-wait-for-output): Remove prompt.
2639         * net/tramp.el (top): Require 'cl.
2640         (tramp-methods, tramp-rsh-end-of-line):
2641         Remove `tramp-password-end-of-line' from docstring.
2642         (tramp-save-ad-hoc-proxies): New defcustom.
2643         (tramp-completion-function-alist): Adapt docstring.
2644         (tramp-default-password-end-of-line): Remove defcustom.
2645         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
2646         (tramp-user-regexp, tramp-file-name-regexp-unified)
2647         (tramp-file-name-regexp-url): Extend regexp by hop separator.
2648         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2649         (tramp-remote-file-name-spec-regexp): New defconst.
2650         (tramp-file-name-structure): Extend structure for hops.
2651         (tramp-get-method-parameter): Move up.
2652         (tramp-file-name-p, tramp-dissect-file-name)
2653         (with-parsed-tramp-file-name): Handle hops.
2654         (tramp-file-name-hop): New defun.
2655         (tramp-make-tramp-file-name): New optional arg HOP.
2656         (tramp-message-show-progress-reporter-message): New defvar.
2657         (tramp-with-progress-reporter): Use it.  We cannot use
2658         `tramp-message-show-message' here, because this suppresses also
2659         error buffers.
2660         (tramp-error-with-buffer): Suppress buffer view, if
2661         `tramp-message-show-message' is nil.
2662         Use `tramp-get-connection-buffer'.
2663         (tramp-cleanup): New defun.
2664         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2665         (tramp-file-name-handler): If `debug-on-error' is set, propagate
2666         an error unchanged.
2667         (tramp-completion-handle-file-name-all-completions): Handle hops.
2668         Fix an error when called from ido.
2669         (tramp-completion-dissect-file-name): Use better local variable
2670         name.  Add hop to the vector.
2671         (tramp-handle-insert-file-contents): Use progress-reporter for the
2672         whole scenario.
2673         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2674         to `t'.
2675         (tramp-check-for-regexp): Simplify search.
2676         (tramp-enter-password): Remove it.  Move implementation ...
2677         (tramp-action-password): ... here.
2678         (tramp-mode-string-to-int, tramp-local-host-p)
2679         (tramp-make-tramp-temp-file, tramp-read-passwd)
2680         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2681         Set tramp-autoload cookie.
2683         * net/trampver.el: Update release number.
2685 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2686             Michael Albinus  <michael.albinus@gmx.de>
2688         * net/tramp.el (tramp-set-completion-function): Fix docstring.
2689         (tramp-parse-group, tramp-parse-file)
2690         (tramp-parse-shostkeys-sknownhosts): New defuns.
2691         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2692         (tramp-parse-shosts-group, tramp-parse-sconfig)
2693         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2694         (tramp-parse-sknownhosts, tramp-parse-hosts)
2695         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2696         Use them.
2697         (tramp-parse-passwd-group, tramp-parse-netrc-group)
2698         (tramp-parse-putty-group): Don't narrow.
2699         (tramp-parse-putty): Make a loop.
2700         (tramp-file-name-handler): Catch the `suppress' signal.
2702 2012-06-11  Chong Yidong  <cyd@gnu.org>
2704         * image.el (imagemagick-register-types): Put the ImageMagick entry
2705         at the end of image-type-file-name-regexps.
2707 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
2709         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2710         (pcase, pcase-let*, pcase-dolist): Use them.
2712 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2714         * emacs-lisp/pcase.el (pcase--let*): New function.
2715         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
2716         (pcase--expand): Use macroexp-let².
2718 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2720         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2721         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2722         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2723         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2724         * emacs-lisp/derived.el: Use pcase instead of `cl'.
2725         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2727 2012-06-10  Glenn Morris  <rgm@gnu.org>
2729         * mail/rmail.el (rmail-yank-current-message): Leave point at
2730         correct position.  (Bug#11660)
2732 2012-06-10  Chong Yidong  <cyd@gnu.org>
2734         * allout-widgets.el: Fix code header.
2736 2012-06-10  Chong Yidong  <cyd@gnu.org>
2738         * cus-edit.el (customize-changed-options-previous-release):
2739         Bump to 24.1.
2741 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
2743         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2745 2012-06-09  Chong Yidong  <cyd@gnu.org>
2747         * ebuff-menu.el (electric-buffer-list): Preserve header line.
2749 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
2751         * window.el (special-display-popup-frame): Don't use
2752         window--display-buffer (Bug#11651).
2754 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
2756         Fix parallel builds: make sure loaddefs.el is not being written
2757         while Lisp files are compiled.
2758         (compile): Don't depend on 'mh-autoloads'.
2759         (compile-CMD, compile-SH): Depend on 'autoloads'.
2760         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2762         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
2764 2012-06-09  Chong Yidong  <cyd@gnu.org>
2766         * face-remap.el (face-remap-add-relative, face-remap-set-base)
2767         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2768         Doc fixes (Bug#11225).
2770 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2772         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2773         a function if there's a clear indication that it has a compiler-macro.
2774         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2775         (macro-declarations-alist): Add arglist to declaration functions.
2776         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2777         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2778         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2779         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2780         Also add autoload to find the compiler macro.
2781         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2782         (cl--compiler-macro-member, cl--compiler-macro-assoc)
2783         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2784         (cl--compiler-macro-get): New functions, replacing calls to
2785         cl-define-compiler-macro.
2786         (cl-typep) [compiler-macro]: Use macroexp-let².
2788 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
2790         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2791         string properly, fixes Bug#11473.
2793 2012-06-08  Chong Yidong  <cyd@gnu.org>
2795         * faces.el (set-face-attribute): Doc fix.
2796         (modify-face): Don't use :bold and :italic.
2797         (error, warning, success): Tweak definitions.
2799         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2800         (custom-modified, custom-set, custom-changed, custom-themed)
2801         (custom-saved, custom-button, custom-button-mouse)
2802         (custom-button-pressed, custom-state, custom-comment-tag)
2803         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2804         (custom-group-subtitle): Use new-style face specs.
2805         (custom-invalid-face, custom-rogue-face, custom-modified-face)
2806         (custom-set-face, custom-changed-face, custom-saved-face)
2807         (custom-button-face, custom-button-pressed-face)
2808         (custom-documentation-face, custom-state-face)
2809         (custom-comment-face, custom-comment-tag-face)
2810         (custom-variable-tag-face, custom-variable-button-face)
2811         (custom-face-tag-face, custom-group-tag-face-1)
2812         (custom-group-tag-face): Remove obsolete face alias.
2814         * epa.el (epa-validity-high, epa-validity-medium)
2815         (epa-validity-low, epa-mark, epa-field-name, epa-string)
2816         (epa-field-name, epa-field-body):
2817         * font-lock.el (font-lock-comment-face, font-lock-string-face)
2818         (font-lock-keyword-face, font-lock-builtin-face)
2819         (font-lock-function-name-face, font-lock-variable-name-face)
2820         (font-lock-type-face, font-lock-constant-face):
2821         * ido.el (ido-first-match, ido-only-match, ido-subdir)
2822         (ido-virtual, ido-indicator, ido-incomplete-regexp):
2823         * speedbar.el (speedbar-button-face, speedbar-file-face)
2824         (speedbar-directory-face, speedbar-tag-face)
2825         (speedbar-selected-face, speedbar-highlight-face)
2826         (speedbar-separator-face):
2827         * whitespace.el (whitespace-newline, whitespace-space)
2828         (whitespace-hspace, whitespace-tab, whitespace-trailing)
2829         (whitespace-line, whitespace-space-before-tab)
2830         (whitespace-space-after-tab, whitespace-indentation)
2831         (whitespace-empty):
2832         * emulation/cua-base.el (cua-global-mark):
2833         * eshell/em-prompt.el (eshell-prompt):
2834         * net/newst-plainview.el (newsticker-new-item-face)
2835         (newsticker-old-item-face, newsticker-immortal-item-face)
2836         (newsticker-obsolete-item-face, newsticker-date-face)
2837         (newsticker-statistics-face, newsticker-default-face):
2838         * net/newst-reader.el (newsticker-feed-face)
2839         (newsticker-extra-face, newsticker-enclosure-face):
2840         * net/newst-treeview.el (newsticker-treeview-face)
2841         (newsticker-treeview-new-face, newsticker-treeview-old-face)
2842         (newsticker-treeview-immortal-face)
2843         (newsticker-treeview-obsolete-face)
2844         (newsticker-treeview-selection-face):
2845         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2846         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2847         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2848         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2849         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2850         (nxml-outline-active-indicator, nxml-outline-ellipsis):
2851         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2852         (mpuz-text):
2853         * progmodes/vera-mode.el (vera-font-lock-number)
2854         (vera-font-lock-function, vera-font-lock-interface):
2855         * textmodes/table.el (table-cell): Use new-style face specs, and
2856         don't use the old :bold and :italic attributes.
2858         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2859         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2860         (ebrowse-member-class, ebrowse-progress): Likewise.
2861         (ebrowse-tree-mark-face, ebrowse-root-class-face)
2862         (ebrowse-file-name-face, ebrowse-default-face)
2863         (ebrowse-member-attribute-face, ebrowse-member-class-face)
2864         (ebrowse-progress-face): Remove obsolete faces.
2866         * progmodes/flymake.el (flymake-errline, flymake-warnline):
2867         Inherit from error and warning faces respectively.
2869         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2870         Likewise.
2871         (flyspell-incorrect-face, flyspell-duplicate-face):
2872         Remove obsolete aliases.
2874 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
2876         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2877         Avoid infloop.
2879 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2881         * startup.el (argv, argi): Make lexically scoped.
2882         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2883         * emacs-lisp/cl-macs.el: Use lexical-binding.
2884         Rename cl-bind-* to cl--bind-*.
2885         * files.el: Don't require `cl' since it doesn't use it.
2886         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2888 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
2890         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2891         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2892         instead of calling external sort utility.
2893         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2895 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
2897         * descr-text.el (describe-char): Mention how to insert the
2898         character, if the current input method doesn't support it.
2899         See the discussion in this thread for the details:
2900         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2902 2012-06-08  Sam Steingold  <sds@gnu.org>
2904         * bindings.el (global-map): Bind XF86Forward to next-buffer and
2905         XF86Back to previous-buffer.
2906         (minibuffer-local-map): Bind them to next-history-element and
2907         previous-history-element respectively.
2908         * help-mode.el (help-mode-map): Bind them to help-go-forward and
2909         help-go-back respectively.
2910         * info.el (Info-mode-map): Bind them to Info-history-forward and
2911         Info-history-back respectively.
2912         These are the keys next to Up on the ThinkPad keyboard.
2914 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2916         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2917         * emacs-lisp/cl-macs.el: Provide itself.
2918         (cl--labels-convert-cache): New var.
2919         (cl--labels-convert): New function.
2920         (cl-flet, cl-labels): New implementation with new semantics, relying on
2921         lexical-binding.
2922         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2923         (cl-closure-vars, cl--function-convert-cache)
2924         (cl--function-convert): Move from cl-macs.el.
2925         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2926         rename by removing the "cl-" prefix.
2927         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2929 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2931         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2932         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2933         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2934         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2935         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2936         (cl-hash-table-count): Add old compatibility aliases.
2938         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2939         Use macroexpand-all-environment instead.
2940         (cl--old-macroexpand): New var.
2941         (cl--sm-macroexpand): New function.
2942         (cl-symbol-macrolet): Use it during macro expansion.
2943         (cl--function-convert-cache): New var.
2944         (cl--function-convert): New function, extracted from
2945         cl-macroexpand-all.
2946         (cl-lexical-let): Use it.
2948         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2949         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2950         (cl-member): Remove old alias.
2952         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2953         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2954         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2955         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2956         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2957         (cl-macroexpand-cmacs): Remove var.
2958         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2959         Use macroexpand-all instead.
2961 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2963         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2964         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2965         (macroexp-copyable-p): New functions and macros.
2966         * emacs-lisp/edebug.el (edebug-unwrap):
2967         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2968         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2969         (pcase--let*): Remove.
2970         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2971         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
2972         macroexp-const-p instead.
2973         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2975         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2976         instead of "cl-" for internal definitions.  Use macroexp-const-p.
2977         (cl-old-bc-file-form): Remove var.
2978         (cl-const-exprs-p): Remove fun.
2979         (cl-labels, cl-macrolet): Use backquote.
2980         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
2981         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2982         (cl-define-setf-expander): Rename from cl-define-setf-method.
2983         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2985         * international/mule-cmds.el: Don't require CL.
2986         (view-hello-file): Don't use `letf'.
2988 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2990         * tmm.el (tmm-prompt): Use string-prefix-p.
2991         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2992         (tmm-add-prompt): Use minibuffer-completion-help.
2993         (tmm-delete-map): Remove.
2995         * subr.el (kbd): Make it its own function.
2997 2012-06-07  Stefan Merten  <smerten@oekonux.de>
2999         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3000         Silence compiler warnings.  Fix versions.
3001         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
3002         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
3003         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
3004         (rst-package-emacs-version-alist): Correct Emacs version to
3005         represent major merge with upstream.
3006         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
3008 2012-06-06  Glenn Morris  <rgm@gnu.org>
3010         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3011         Only print environment variables if set.
3013 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3015         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3016         (macroexp--cons): Rename from maybe-cons.
3017         (macroexp--accumulate): Rename from macroexp-accumulate.
3018         (macroexp--all-forms): Rename from macroexpand-all-forms.
3019         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3020         (macroexp--expand-all): Rename from macroexpand-all-1.
3022 2012-06-06  Sam Steingold  <sds@gnu.org>
3024         * calendar/calendar.el (calendar-in-read-only-buffer):
3025         Call `special-mode' to enable the standard read-only keybindings.
3027 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3029         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3030         with "loading" messages (bug#11635).
3032 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
3034         * files.el (enable-remote-dir-locals): New option.
3035         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
3037         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3038         Ensure, that the temp directory is local.
3040         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3041         `temporary-file-directory'.
3043         * progmodes/python.el (python-send-region): Ensure, that the
3044         temporary file is created also in the remote case.
3046 2012-06-06  Glenn Morris  <rgm@gnu.org>
3048         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3049         (vc-rcs-update-changelog): Use it.
3051         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
3053         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3054         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3055         (vc-sccs-diff): Replace use of the external vcdiff script.
3057 2012-06-05  Glenn Morris  <rgm@gnu.org>
3059         * ledit.el: Move to obsolete/.
3061 2012-06-05  Sam Steingold  <sds@gnu.org>
3063         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
3064         patch (Bug#11140).
3066 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3068         * emacs-lisp/cust-print.el: Move to obsolete.
3070         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3071         compiler-macro expansion.
3073         Add native compiler-macro support.
3074         * emacs-lisp/macroexp.el (macroexpand-all-1):
3075         Support compiler-macros directly.  Properly follow aliases and apply
3076         the compiler macros more thoroughly.
3077         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3078         macroexpand now properly follows aliases.
3079         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3080         (cl-compiler-macroexpand): Use new prop.
3081         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3083         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3085 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
3087         * window.el (get-lru-window, get-mru-window, get-largest-window):
3088         New argument NOT-SELECTED to avoid picking the selected window.
3089         (window--display-buffer-1, window--display-buffer-2): Replace by
3090         new function window--display-buffer
3091         (display-buffer-same-window, display-buffer-reuse-window)
3092         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3093         Use window--display-buffer.
3094         (display-buffer-use-some-window): Remove temporary dedication
3095         hack by calling get-lru-window and get-largest-window with
3096         NOT-SELECTED argument non-nil.  Call window--display-buffer.
3098 2012-06-05  Glenn Morris  <rgm@gnu.org>
3100         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3101         Replace external vcdiff script.
3103 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3105         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3107 2012-06-04  Chong Yidong  <cyd@gnu.org>
3109         * image.el (imagemagick-types-inhibit): Revert last change.
3110         Add INFO and M.
3111         (imagemagick-enabled-types): Remove CIN and EPS*.
3113 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3115         * emacs-lisp/cl-lib.el: Rename from cl.el.
3116         * emacs-lisp/cl.el: New compatibility file.
3117         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3118         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3119         to obey the "cl-" prefix.
3120         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3122 2012-06-03  Glenn Morris  <rgm@gnu.org>
3124         * emacs-lisp/authors.el (authors-aliases): Addition.
3126         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3127         Fix :version.
3129 2012-06-03  Stefan Merten  <smerten@oekonux.de>
3131         * textmodes/rst.el: Add comments.
3132         (rst-transition, rst-adornment): New faces.
3133         (rst-adornment-faces-alist): Make default safe to reevaluate.
3134         Fixes
3135         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3136         Improve customization tags.
3137         (rst-define-level-faces): Clarify meaning.
3139 2012-06-03  Chong Yidong  <cyd@gnu.org>
3141         * progmodes/compile.el (compilation-mode-line-fail)
3142         (compilation-mode-line-run, compilation-mode-line-exit):
3143         New faces.
3144         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3146 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
3148         * progmodes/which-func.el (which-func-update-ediff-windows):
3149         New function.  Use it in ediff-select-hook (Bug#11478).
3151 2012-06-03  Chong Yidong  <cyd@gnu.org>
3153         * bindings.el: Remove explicit help text from format-mode-line.
3154         It is now supplied by mode-line-default-help-echo.
3155         (mode-line-front-space, mode-line-end-spaces)
3156         (mode-line-misc-info): New variables.
3157         (mode-line-modes, mode-line-position): Move the default value to
3158         the variable definition.
3159         (mode-line-default-help-echo): New defcustom.
3160         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3161         (mode-line-modified-help-echo): New functions.
3162         (mode-line-mule-info, mode-line-modified): Use them.
3163         (mode-line-eol-desc, propertized-buffer-identification):
3164         Consistency fixes for help text.
3165         (mode-line-coding-system-map): Allow using mouse-3 to invoke
3166         set-buffer-file-coding-system (Bug#289).
3167         (mode-line-mule-info-help-echo): Update help text.
3169 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3171         * simple.el (execute-extended-command): Set real-this-command
3172         (bug#11506).
3174 2012-06-02  Chong Yidong  <cyd@gnu.org>
3176         Remove incorrect uses of "modeline" in comments, docstrings, and
3177         function/variable names (Bug#10329).
3179         * cus-edit.el (mode-line):
3180         * dframe.el (dframe-mouse-hscroll):
3181         * emacs-lisp/re-builder.el:
3182         * emacs-lisp/easy-mmode.el (define-minor-mode):
3183         * frame.el (set-frame-name):
3184         * help.el (lookup-minor-mode-from-indicator):
3185         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3186         * progmodes/cc-cmds.el (c-toggle-auto-newline)
3187         (c-toggle-hungry-state):
3188         * progmodes/antlr-mode.el (antlr-language-alist):
3189         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3190         * progmodes/vhdl-mode.el (vhdl-mode):
3191         * progmodes/which-func.el (which-func, which-func-cleanup-function):
3192         * term/ns-win.el (ns-face-at-pos):
3193         * term/sup-mouse.el (sup-mouse-report):
3194         * textmodes/flyspell.el (flyspell-mode-line-string):
3195         * textmodes/ispell.el (ispell-highlight-face):
3196         * textmodes/reftex-global.el:
3197         * vc/vc-arch.el (vc-arch-mode-line-string):
3198         * vc/vc-cvs.el (vc-cvs-mode-line-string):
3199         * vc/vc-git.el (vc-git-mode-line-string):
3200         * vc/vc-hooks.el (vc-display-status)
3201         (vc-default-mode-line-string):
3202         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3204         * ansi-color.el (ansi-color-faces-vector): Change default faces.
3206         * dired.el (dired-sort-set-mode-line): Rename from
3207         dired-sort-set-modeline.  All callers changed.
3209         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3210         eshell-status-in-modeline.
3212         * foldout.el (foldout-mode-line-string): Rename from
3213         foldout-modeline-string.  All callers changed.
3214         (foldout-update-mode-line): Rename from foldout-update-modeline.
3216         * subr.el (redraw-modeline): Make into obsolete alias.
3218         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3219         timeclock-modeline-display.  Make old name an alias.
3220         (timeclock-update-mode-line): Likewise.  All callers changed.
3221         (timeclock-mode-line-display): No need to check before using
3222         add-hook.
3223         (timeclock-relative, timeclock-day-over-hook)
3224         (timeclock-use-elapsed, timeclock-mode-string)
3225         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3227         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3228         crisp-mode-modeline-string.
3230         * play/solitaire.el (solitaire-build-mode-line): Rename from
3231         solitaire-build-modeline.  All callers changed.
3233         * play/zone.el (zone-hiding-mode-line): Rename from
3234         zone-hiding-modeline.  All callers changed.
3235         (zone): Remove unusued `modeline-hidden-level' property.
3237         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3238         xscheme-modeline-initialize.  All callers changed.
3240         * strokes.el (strokes-lighter): Rename from
3241         strokes-modeline-string.
3243         * textmodes/sgml-mode.el (html-face-tag-alist)
3244         (html-tag-face-alist): Use mode-line face instead of obsolete
3245         alias modeline.
3247 2012-06-02  Stefan Merten  <smerten@oekonux.de>
3249         * textmodes/rst.el: Always require `cl'.
3250         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
3252 2012-06-02  Chong Yidong  <cyd@gnu.org>
3254         * image.el (imagemagick-enabled-types): Rename from
3255         imagemagick-types-enable.  Add many more types.
3256         (imagemagick-types-inhibit): Change default to nil.
3257         (imagemagick-filter-types): Caller changed.
3259 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3261         * emacs-lisp/cl-macs.el: Use backquotes.
3262         (cl-transform-function-property): Use eval-and-compile rather than
3263         abusing `require'.
3264         (defstruct): Use declare-function instead of with-no-warnings.
3266         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3267         (byte-compile-output-docform): Re-add the print-circle bindings.
3268         (byte-compile-fix-header): Use #$ just because it's shorter.
3269         (byte-compile-output-file-form): Remove defun/defmacro.
3271 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
3273         * simple.el (choose-completion): Remove now obsolete binding for
3274         owindow.
3276 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
3278         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3279         in order to avoid "Stack overflow in regexp matcher".
3281 2012-05-31  Glenn Morris  <rgm@gnu.org>
3283         * image.el: For clarity, call imagemagick-register-types at
3284         top-level, rather than relying on a custom :initialize.
3285         (imagemagick-types-enable): New option.  (Bug#11557)
3286         (imagemagick-filter-types): New function.  (Bug#7406)
3287         (imagemagick-register-types): Use imagemagick-filter-types.
3288         If disabling support, remove elements altogether rather
3289         than using an impossible regexp.
3290         (imagemagick-types-inhibit): Give it the default init function.
3292 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3294         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3295         Handle arbitrary file name lengths (Bug#11585).
3297 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
3299         * desktop.el (desktop-read): Clear previous and next buffers for
3300         all windows and bury *Messages* buffer (bug#11556).
3302 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3304         Add `declare' for `defun'.  Align `defmacro's with it.
3305         * emacs-lisp/easy-mmode.el (define-minor-mode)
3306         (define-globalized-minor-mode): Don't autoload the var definitions.
3307         * emacs-lisp/byte-run.el: Use lexical-binding.
3308         (defun-declarations-alist, macro-declarations-alist): New vars.
3309         (defmacro, defun): Use them.
3310         (make-obsolete, define-obsolete-function-alias)
3311         (make-obsolete-variable, define-obsolete-variable-alias):
3312         Use `declare'.
3313         (macro-declaration-function): Mark obsolete.
3314         * emacs-lisp/autoload.el: Use lexical-binding.
3315         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
3317 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3319         * textmodes/ispell.el (ispell-with-no-warnings):
3320         Define as a macro.
3321         (ispell-kill-ispell, ispell-change-dictionary):
3322         Use `called-interactively-p' for Emacs instead of obsolete
3323         `interactive-p'.
3325 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3327         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3328         (macro-declaration-function): Move var from C code.
3329         (macro-declaration-function): Define function with defalias.
3330         * emacs-lisp/macroexp.el (macroexpand-all-1):
3331         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3332         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3333         defun/defmacro any more.
3334         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3335         Provide fallback for unknown arglist.
3336         (byte-compile-arglist-warn): Change calling convention.
3337         (byte-compile-output-file-form): Move print-vars binding.
3338         (byte-compile-output-docform): Simplify accordingly.
3339         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3340         (byte-compile-defmacro-declaration): Remove.
3341         (byte-compile-file-form-defmumble): Generalize to defalias.
3342         (byte-compile-output-as-comment): Return byte-positions.
3343         Simplify callers accordingly.
3344         (byte-compile-lambda): Use `assert'.
3345         (byte-compile-defun, byte-compile-defmacro): Remove.
3346         (byte-compile-file-form-defalias):
3347         Use byte-compile-file-form-defmumble.
3348         (byte-compile-defalias-warn): Remove.
3350 2012-05-29  Stefan Merten  <smerten@oekonux.de>
3352         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
3353         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
3355         (rst-mode-abbrev-table): Merge definition.
3356         (rst-mode): Make sure `font-lock-defaults' is buffer local.
3357         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3359 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
3361         * calendar/icalendar.el
3362         (icalendar-export-region): Export UID properly.
3364 2012-05-29  Leo Liu  <sdl.web@gmail.com>
3365         * calendar/icalendar.el (icalendar-import-format):
3366         Add `icalendar-import-format-uid' (Bug#11525).
3367         (icalendar-import-format-uid): New.
3368         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3369         Export UID.
3371 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3373         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3374         different alternative patterns.
3375         (pcase-codegen): Be more careful to preserve identity.
3376         (pcase--u1): Don't forget to mark vars as used.
3378         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3379         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3380         (byte-compile-from-buffer): ...rather than here.
3382         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3383         functions from byte-compile-function-environment.
3385 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
3387         * window.el (window-deletable-p): Avoid deleting the root window
3388         of a frame with an active minibuffer.
3390 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
3392         * simple.el (choose-completion): Use quit-window (Bug#11567).
3394 2012-05-29  Chong Yidong  <cyd@gnu.org>
3396         * whitespace.el (whitespace-cleanup): Fix usage of
3397         whitespace-empty-at-bob-regexp (Bug#11492).
3399 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3401         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3402         revert (Bug#11488).
3404 2012-05-29  Juri Linkov  <juri@jurta.org>
3406         * isearch.el (isearch-mode-map): Bind `M-s _' to
3407         `isearch-toggle-symbol'.  Bind `M-s c' to
3408         `isearch-toggle-case-fold'.
3409         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3410         (isearch-forward): Add `M-s _' to the docstring.
3411         (isearch-forward-symbol, isearch-toggle-case-fold)
3412         (isearch-symbol-regexp): New functions.  (Bug#11381)
3414 2012-05-29  Juri Linkov  <juri@jurta.org>
3416         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
3417         (isearch-occur, isearch-search-and-update): If `isearch-word' is
3418         a function, call it to get the regexp.
3419         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3420         property `isearch-message-prefix' instead of the string "word ".
3421         (isearch-search-fun-default): For the case of `isearch-word',
3422         return a lambda that calls re-search-forward/re-search-backward
3423         with a regexp returned by `word-search-regexp' or by the function
3424         in `isearch-word'.
3426 2012-05-29  Juri Linkov  <juri@jurta.org>
3428         * isearch.el (isearch-search-fun-default): New function.
3429         (isearch-search-fun): Move default part to the new function
3430         `isearch-search-fun-default'.
3431         (isearch-search-fun-function): Set the default value to
3432         `isearch-search-fun-default'.  (Bug#11381)
3434         * comint.el (comint-history-isearch-end):
3435         Use `isearch-search-fun-default'.
3436         (comint-history-isearch-search): Use `isearch-search-fun-default'
3437         and remove spacial case for `isearch-word'.
3438         (comint-history-isearch-wrap): Remove spacial case for
3439         `isearch-word'.
3441         * hexl.el (hexl-isearch-search-function):
3442         Use `isearch-search-fun-default'.
3444         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3445         Use `word-search-regexp' for `isearch-word'.
3447         * misearch.el (multi-isearch-search-fun):
3448         Use `isearch-search-fun-default'.
3450         * simple.el (minibuffer-history-isearch-search):
3451         Use `isearch-search-fun-default' and remove spacial case for
3452         `isearch-word'.
3453         (minibuffer-history-isearch-wrap): Remove spacial case for
3454         `isearch-word'.
3456         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3457         Remove spacial case for `isearch-word'.
3458         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3460 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3462         Decrease XEmacs incompatibilities.
3463         * textmodes/flyspell.el (flyspell-check-pre-word-p):
3464         Use `string-match'.
3465         (flyspell-delete-region-overlays): Use alternative definition for
3466         XEmacs.
3467         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3468         (flyspell-word): Use `process-kill-without-query' if XEmacs.
3469         (flyspell-mode-on): Use `interactive-p' if XEmacs.
3470         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3471         `define-obsolete-face-alias' under XEmacs, but old method.
3473         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3474         `with-no-warnings' definition or Emacs alias.
3475         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3476         (ispell-word): Do not use `region-p' if XEmacs.
3478 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3480         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3481         Check for `ispell-dictionary-base-alist' instead of full
3482         `ispell-dictionary-alist'.
3483         (ispell-init-process): Show spellchecker when starting new Ispell
3484         process.
3486 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3488         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3489         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3491 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
3493         * version.el (motif-version-string, gtk-version-string)
3494         (ns-version-string): Declare.
3496 2012-05-27  Juri Linkov  <juri@jurta.org>
3498         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3499         after the `eval-defun-1' specialcaseing
3500         like in `edebug-eval-defun' (bug#10181).
3502         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3503         like in `eval-defun-1'.
3505 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
3507         * mail/sendmail.el (mail-yank-region):
3508         Recognize rmail-yank-current-message in addition to insert-buffer.
3509         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3510         a *mail* buffer created through rmail-start-mail with sendmail as
3511         mail-user-agent.
3513 2012-05-27  Chong Yidong  <cyd@gnu.org>
3515         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3516         Default to 256 (Bug#11267).
3518         * help.el (describe-mode): Doc fix.
3520 2012-05-26  Glenn Morris  <rgm@gnu.org>
3522         * w32-fns.el (w32-init-info): Remove.
3523         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3525         * info.el (info-initialize): For self-contained NS builds, put the
3526         included info/ directory at the front.  (Bug#2791)
3528         * paths.el (Info-default-directory-list): Make it a defcustom,
3529         mainly so that we can use custom-initialize-delay.
3531 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3533         * subr.el (buffer-has-markers-at): Mark obsolete.
3535         * subr.el (lambda): Use declare.
3537         * emacs-lisp/lisp-mode.el (lambda):
3538         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3540 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3542         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
3544 2012-05-26  Glenn Morris  <rgm@gnu.org>
3546         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3548 2012-05-25  Glenn Morris  <rgm@gnu.org>
3550         * paths.el: Remove no-byte-compile.
3551         * loadup.el: No need to load paths.el uncompiled.
3553         * image.el (imagemagick-types-inhibit): Doc fix.
3555         * version.el: Remove no-byte-compile and associated formatting.
3556         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
3557         is ancient code from when there was an "inc-vers.el".
3559 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3561         * progmodes/gdb-mi.el: Minor style changes.
3562         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3563         Turn into minor modes.
3564         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3565         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3566         (gdb-shell): Remove unneeded let-binding.
3567         (gdb-get-many-fields): Eliminate O(n²) behavior.
3569 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
3571         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3572         platforms that don't link in fontset.c.
3574 2012-05-25  Juri Linkov  <juri@jurta.org>
3576         Use the same diff color scheme as in modern VCSes (bug#10181).
3578         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3579         to avoid confusion with `diff-added' that now uses green colors.
3580         (diff-removed): Use shades of red.
3581         (diff-added): Use shades of green.
3582         (diff-changed): Leave just the yellow color.
3583         (diff-use-changed-face): New variable.
3584         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3585         how to highlight context diff changes.
3586         (diff-refine-change): Use shades of yellow.
3587         (diff-refine-removed): New face that uses shades of red.
3588         (diff-refine-added): New face that uses shades of green.
3589         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3590         `diff-refine-removed' in the call to `smerge-refine-subst'
3591         depending on the value of `diff-use-changed-face'.
3593         * vc/smerge-mode.el (smerge-mine): Use shades of red.
3594         (smerge-other): Use shades of green.
3595         (smerge-base): Use shades of yellow.
3596         (smerge-refined-change): Empty face.
3597         (smerge-refined-removed): New face that uses shades of red.
3598         (smerge-refined-added): New face that uses shades of green.
3599         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
3600         args `props-r' and `props-a', and use them.  Doc fix.
3601         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3602         on its value use different faces `smerge-refined-change',
3603         `smerge-refined-removed', `smerge-refined-added' in the call to
3604         `smerge-refine-subst'.
3606         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3607         Add face condition `min-colors 88' with shades of red.
3608         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3609         `min-colors 88' with shades of green.
3610         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3611         `min-colors 88' with shades of yellow.
3613 2012-05-24  Glenn Morris  <rgm@gnu.org>
3615         * paths.el (prune-directory-list, remote-shell-program): Move to...
3616         * files.el (prune-directory-list, remote-shell-program): ...here.
3617         For the latter, delay initialization, prefer ssh, just search PATH.
3619         * paths.el (term-file-prefix): Move to faces.el (the only user).
3620         * faces.el (term-file-prefix): Move here, make it a defcustom.
3622         * paths.el (news-directory, news-path, news-inews-program):
3623         Move to gnus/nnspool.el.
3625         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3627         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3628         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3629         Make the latter a defcustom, with a delayed initialization.
3631         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3632         These were deleted from Gnus itself late 2010.
3634 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
3636         * progmodes/which-func.el (which-func-ff-hook):
3637         Check against user-error, not error.
3639         * emacs-lisp/edebug.el (top): Do not load or set up loading of
3640         cl-specs.el, which no longer exists.
3642 2012-05-22  Glenn Morris  <rgm@gnu.org>
3644         * info.el (info-emacs-bug): New command.
3645         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3646         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3648 2012-05-21  Glenn Morris  <rgm@gnu.org>
3650         * makefile.w32-in (update-subdirs-SH):
3651         * Makefile.in (update-subdirs): Update for moved update-subdirs.
3653 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3655         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3657         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3658         Simplify Maven regexp, and make sure the file can't start with a space
3659         (bug#11517).
3661 2012-05-21  Glenn Morris  <rgm@gnu.org>
3663         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3664         Scrap superfluous subshells.
3666 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3668         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3669         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3671 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
3673         * calc/calc.el (calc-ensure-consistent-units): New variable.
3675         * calc/calc-units.el (math-consistent-units-p)
3676         (math-check-unit-consistency): New functions.
3677         (calc-quick-units, calc-convert-units):
3678         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3679         is non-nil.
3680         (calc-extract-units): Fix typo.
3682 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3684         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3686         * textmodes/flyspell.el: Commenting style, plus code simplifications.
3687         (flyspell-default-deplacement-commands): Don't spell check after
3688         repeated window/frame switches (e.g. triggered by mouse-movement).
3689         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3690         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3691         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3692         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3693         Remove unused vars.
3694         (flyspell-get-casechars, flyspell-get-not-casechars):
3695         Simplify; Don't bother removing a ] just to add it back.
3696         * textmodes/ispell.el (ispell-program-name): Use executable-find.
3698 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3700         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3701         New functions.
3702         (math-function-table): Add support for more C functions.
3704 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3706         * textmodes/flyspell.el (flyspell-check-pre-word-p)
3707         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3708         Protect delay handling for otherchars against empty otherchars.
3710 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3712         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3713         their respective macro declarations.
3714         * skeleton.el (define-skeleton):
3715         * progmodes/compile.el (define-compilation-mode):
3716         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3717         (define-ibuffer-filter):
3718         * emacs-lisp/generic.el (define-generic-mode):
3719         * emacs-lisp/easy-mmode.el (define-minor-mode)
3720         (define-globalized-minor-mode):
3721         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3722         * emacs-lisp/byte-run.el (defsubst):
3723         * custom.el (deftheme): Add doc-string metadata.
3725 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3727         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3729 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3731         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3733         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3734         * emacs-lisp/cl-macs.el: Idem.
3735         * emacs-lisp/cl-specs.el: Remove.
3737 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3739         Minor renaming of internal CL functions and variables.
3740         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3741         (cl--position): Rename from cl-position.
3742         (cl--delete-duplicates): Rename from cl-delete-duplicates.
3743         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3744         (cl--random-state): Rename from *random-state*.
3746 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3748         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3749         parens around the arg list (bug#11499).
3751 2012-05-17  Juri Linkov  <juri@jurta.org>
3753         * isearch.el (word-search-regexp, word-search-backward)
3754         (word-search-forward, word-search-backward-lax)
3755         (word-search-forward-lax): Move functions from search.c
3756         (bug#10145, bug#11381).
3758 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3760         * textmodes/flyspell.el (flyspell-check-pre-word-p)
3761         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3762         Delay for otherchars as for normal word components.
3764 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3766         * minibuffer.el (completion--sifn-requote): Fix last change.
3767         (minibuffer-local-must-match-filename-map):
3768         Move define-obsolete-variable-alias before its var.
3770 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3772         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3774         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3775         behavior.
3776         (completion--string-equal-p): New function.
3777         (completion--twq-all): Use it to get better assertion failure data.
3779         Only handle ".." and '..' quoting in shell-mode (bug#11466).
3780         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3781         (shell--requote-argument): New functions.
3782         (shell-completion-vars): Use them.
3783         (shell--parse-pcomplete-arguments): Rename from
3784         shell-parse-pcomplete-arguments.
3785         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
3786         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3787         Obey comint-file-name-quote-list.
3789         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3790         (smie-indent-keyword): Use it.
3792 2012-05-14  Stefan Merten  <smerten@oekonux.de>
3794         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3796 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3798         * net/rlogin.el (rlogin-mode-map): Fix last change.
3800 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
3802         * mail/smtpmail.el (smtpmail-send-command): Send the command and
3803         the following \r\n using a single `process-send-string', since the
3804         Lotus SMTP server refuses to accept any commands if they are sent
3805         with two `process-send-string's (Bug#11444).
3807 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3809         * shell.el (shell-parse-pcomplete-arguments):
3810         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3812 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
3814         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3815         (image-transform-scale, image-transform-right-angle-fudge): New vars.
3816         (image-transform-width, image-transform-fit-width): New functions.
3817         (image-transform-properties): Use them.
3818         (image-transform-check-size): New function.
3819         (image-toggle-display-image): Use it (for testing).
3820         (image-transform-set-rotation): Reduce angle mod 360.
3821         Delete obsolete comment.
3823 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
3825         * image-mode.el: Fix scaling (bug#11399).
3826         (image-transform-resize): Doc fix.
3827         (image-transform-properties): Default scale is 1 and height should
3828         be an integer.
3830 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
3832         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3833         than hard-coding `car', to fix misbehavior when moving forward.
3835 2012-05-13  Chong Yidong  <cyd@gnu.org>
3837         * emacs-lisp/tabulated-list.el (tabulated-list-format)
3838         (tabulated-list-entries, tabulated-list-padding)
3839         (tabulated-list-sort-key): Make permanent-local.
3841         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3842         (electric-buffer-list): Put electric buffer menu
3843         command descriptions in this docstring, instead of the docstring
3844         of electric-buffer-menu-mode.  Code cleanups.
3845         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
3846         Electric-buffer-menu-mode.
3847         (electric-buffer-update-highlight): Minor code cleanup.
3849 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
3851         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3852         (Bug#11447)
3854 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3856         Move define-obsolete-variable-alias before the var's definition.
3857         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3858         * tooltip.el (tooltip-hook):
3859         * textmodes/reftex-toc.el (reftex-toc-map):
3860         * textmodes/reftex-sel.el (reftex-select-label-map)
3861         (reftex-select-bib-map):
3862         * textmodes/reftex-index.el (reftex-index-map)
3863         (reftex-index-phrases-map):
3864         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3865         * progmodes/meta-mode.el (meta-mode-map):
3866         * novice.el (disabled-command-hook):
3867         * loadhist.el (unload-hook-features-list):
3868         * frame.el (blink-cursor):
3869         * files.el (find-file-not-found-hooks, write-file-hooks)
3870         (write-contents-hooks):
3871         * emulation/tpu-edt.el (GOLD-map):
3872         * emacs-lock.el (emacs-lock-from-exiting):
3873         * emacs-lisp/generic.el (generic-font-lock-defaults):
3874         * emacs-lisp/chart.el (chart-map):
3875         * dos-fns.el (register-name-alist):
3876         * dired-x.el (dired-omit-files-p):
3877         * desktop.el (desktop-enable):
3878         * cus-edit.el (custom-mode-hook):
3879         * buff-menu.el (buffer-menu-mode-hook):
3880         * bookmark.el (bookmark-read-annotation-text-func)
3881         (bookmark-exit-hooks):
3882         * allout.el (allout-mode-deactivate-hook)
3883         (allout-exposure-change-hook, allout-structure-added-hook)
3884         (allout-structure-deleted-hook, allout-structure-shifted-hook):
3885         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3886         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3887         comes before the corresponding variable's definition.
3889 2012-05-12  Chong Yidong  <cyd@gnu.org>
3891         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3892         (Buffer-menu-mouse-select): Restore function (Bug#11459).
3893         (Buffer-menu-mode-map): Bind it.
3894         (Buffer-menu--pretty-name): Add a mouse-face property.
3896 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3898         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
3899         (prolog-upper-case-string, prolog-lower-case-string)
3900         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3901         (prolog-use-smie, prolog-smie-grammar): New vars.
3902         (prolog-smie-forward-token, prolog-smie-backward-token)
3903         (prolog-smie-rules): New funs.
3904         (prolog-comment-indent): Remove.
3905         (prolog-mode-variables): Use default comment indentation instead.
3906         Setup SMIE.
3907         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3908         (prolog-mode): Don't call them any more.
3909         (prolog-electric-colon, prolog-electric-dash)
3910         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3912         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3914         * minibuffer.el (completion--twq-all): Again, allow case differences.
3916         * term.el: Move keymap initialization code to be more idiomatic.
3917         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3918         (term-terminal-menu): Move initialization into declaration.
3919         (term-escape-char): Let the user set it in her .emacs.
3921         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3922         Provide SMIE-based indentation (not enabled by default yet).
3923         (sh-mode-map): Don't bind electric keys.
3924         Use electric-pair-mode instead of skeleton-pair.
3925         (sh-assignment-regexp): Fit within 80 columns.
3926         (sh-indent-supported): Specify actual shell name instead of boolean.
3927         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3928         (sh-maybe-here-document): Use it.  Make obsolete.
3929         (sh-electric-here-document-mode) New minor mode.
3930         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
3931         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3932         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3933         (sh-smie-rc-grammar, sh-use-smie): New vars.
3934         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3935         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3936         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3937         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3938         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3939         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3940         (sh-set-shell): Use smie-setup if requested.
3942         * term.el (term-set-escape-char): Properly set term-escape-char.
3943         See http://stackoverflow.com/questions/10524656.
3945 2012-05-10  Chong Yidong  <cyd@gnu.org>
3947         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3948         Use url-generic-parse-url, and handle host names and Windows
3949         filenames properly.
3950         (ffap-url-unwrap-remote): Use url-generic-parse-url.
3951         (ffap-url-unwrap-remote): Accept list values, specifying a list of
3952         URL schemes to work on.
3953         (ffap--toggle-read-only): New function.
3954         (ffap-read-only, ffap-read-only-other-window)
3955         (ffap-read-only-other-frame): Use it.
3956         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3957         necessary for ffap-url-unwrap-remote.
3959 2012-05-10  Dave Abrahams  <dave@boostpro.com>
3961         * cus-start.el (create-lockfiles): Add it.
3963 2012-05-09  Chong Yidong  <cyd@gnu.org>
3965         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3966         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3968 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3970         * shell.el (shell-completion-vars): Fix last change (bug#11348).
3972 2012-05-09  Chong Yidong  <cyd@gnu.org>
3974         * ansi-color.el (ansi-color-process-output): Check for validity of
3975         comint-last-output-start before using it.  This avoids a bad
3976         interaction with gdb-mi's input/output buffer.
3978 2012-05-09  Glenn Morris  <rgm@gnu.org>
3980         * files.el (dir-locals-read-from-file):
3981         Mention dir-locals in any error message.
3983 2012-05-09  Chong Yidong  <cyd@gnu.org>
3985         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3986         package (Bug#11410).
3988         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3989         variables into description.
3991 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3993         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3994         shell-delimiter-argument-list (bug#11348).
3995         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3997 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
3999         * textmodes/rst.el: Silence byte-compiler warnings.
4000         (rst-re-alist, rst-reset-section-caches): Move around.
4001         (rst-re): Use `characterp', not `char-valid-p'.
4002         (font-lock-beg, font-lock-end): Declare.
4004         * progmodes/idlw-shell.el (specs): Remove reference to deleted
4005         variable `idlwave-shell-activate-alt-keybindings' and simplify.
4007         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4009 2012-05-08  Glenn Morris  <rgm@gnu.org>
4011         * files.el (auto-mode-alist): Treat ".make" like ".mk".
4013 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4015         * vc/log-edit.el: Add GNU coding standards highlighting.
4016         (log-edit-font-lock-gnu-style)
4017         (log-edit-font-lock-gnu-keywords): New vars.
4018         (log-edit-font-lock-keywords): New fun.
4019         (log-edit-mode): Don't fold case in font-lock.
4020         (log-edit-font-lock-keywords): Do not assume case-folding.
4022         * imenu.el: Misc cleanup.  Make docstrings out of comments.
4023         Use lexical-binding.
4024         (imenu--index-alist, imenu--last-menubar-index-alist)
4025         (imenu-menubar-modified-tick): Use defvar-local.
4026         (imenu--split-menu): Remove unused var.
4027         (imenu--cleanup-seen): Declare as global.
4028         (imenu--cleanup): Use dolist.
4030         * subr.el (defvar-local): Add debug spec and doc-string position.
4032 2012-05-08  Glenn Morris  <rgm@gnu.org>
4034         * language/burmese.el, language/cham.el, language/czech.el:
4035         * language/english.el, language/georgian.el, language/greek.el:
4036         * language/japanese.el, language/khmer.el, language/korean.el:
4037         * language/lao.el, language/misc-lang.el, language/romanian.el:
4038         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4039         * language/thai.el, language/utf-8-lang.el:
4040         Remove no-byte-compile setting.
4042         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
4044 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4046         * progmodes/make-mode.el (makefile-browse):
4047         Remove unnecessary interactive.  (Bug#11324)
4049 2012-05-07  Glenn Morris  <rgm@gnu.org>
4051         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4053         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4055 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4057         * loadup.el: Preload newcomment.el.
4058         * newcomment.el: Move autoload-only code to toplevel.
4060         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4061         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4062         Handle new :right-align column property.
4063         (tabulated-list-print-col): Idem, plus use `display' text-property to
4064         try and preserve alignment for variable pitch fonts.
4066 2012-05-07  Chong Yidong  <cyd@gnu.org>
4068         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4069         (tabulated-list-use-header-line): New var.
4070         (tabulated-list-init-header): Use it.
4071         (tabulated-list-print-fake-header): New function.
4072         (tabulated-list-print): Use it.
4073         (tabulated-list-sort-button-map): Add non-header-line commands.
4074         (tabulated-list-init-header): Add column name property to basic
4075         labels as well.
4076         (tabulated-list-col-sort): Handle non-header-line button case.
4077         (tabulated-list--sort-by-column-name): Fix a corner case.
4079         * buff-menu.el (list-buffers--refresh):
4080         Handle Buffer-menu-use-header-line.
4082 2012-05-06  Chong Yidong  <cyd@gnu.org>
4084         * buff-menu.el: Convert to Tabulated List mode.
4085         (Buffer-menu-buffer+size-width): Make obsolete.
4086         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4087         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4088         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
4089         documentation into docstring of buffer-menu.
4090         (Buffer-menu-toggle-files-only): Add an informative message.
4091         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4092         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4093         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4094         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4095         (Buffer-menu-execute, Buffer-menu-select)
4096         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4097         (Buffer-menu-bury): Use Tabulated List machinery.
4098         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4099         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
4100         Delete.
4101         (list-buffers--refresh): New function.
4102         (list-buffers-noselect): Use it.
4103         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4104         (Buffer-menu--pretty-file-name): New helper functions.
4106         * loadup.el: Preload tabulated-list.
4108         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4109         tabulated-list-sort-column.
4110         (tabulated-list-init-header): Add the initial aligning space even
4111         if tabulated-list-padding is zero.
4113 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
4115         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4116         whose cdr is not a cons cell correctly (bug#11038).
4118 2012-05-06  Chong Yidong  <cyd@gnu.org>
4120         * emacs-lisp/tabulated-list.el (tabulated-list-format):
4121         Accept additional plist in column descriptors.
4122         (tabulated-list-init-header): Obey it.
4123         (tabulated-list-get-entry): New function.
4124         (tabulated-list-put-tag): Use it.  Use string-width instead of
4125         length.
4126         (tabulated-list--column-number): New function.
4127         (tabulated-list-print): Use it.
4128         (tabulated-list-print-col): New function.
4129         Set `tabulated-list-column-name' property on each column's text.
4130         (tabulated-list-print-entry): Use it.
4131         (tabulated-list-delete-entry, tabulated-list-set-col):
4132         New functions.
4133         (tabulated-list-sort-column): New command (Bug#11337).
4135         * buff-menu.el (list-buffers): Move C-x C-b binding from
4136         buff-menu.el to bindings.el.
4138         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4139         :advertised-binding feature.
4141 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
4143         * progmodes/compile.el (compilation-internal-error-properties):
4144         Calculate start position correctly when end-col is set but
4145         end-line is not (Bug#11382).
4147 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
4149         * man.el (Man-unindent): Use text-property-default-nonsticky to
4150         prevent untabify from inheriting face properties (Bug#11408).
4152 2012-05-05  Stefan Merten  <smerten@oekonux.de>
4154         * textmodes/rst.el: Major merge with upstream development up to
4155         Docutils SVN r7399 / rst.el V1.2.1.
4157         Clarify maintainership and authors.
4159         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4160         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4161         (rst-official-version, rst-official-cvs-rev, rst-version)
4162         (rst-package-emacs-version-alist): New functions and variables
4163         for version information.
4165         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4166         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4167         (rst-mode-syntax-table, rst-mode): New and corrected functions
4168         and variables representing reStructuredText features.
4170         (rst-re): New function for reStructuredText regexes.  Use in
4171         many places.
4173         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4174         (rst-mode-map): Rebind keys.
4176         (rst-mode-lazy, rst-font-lock-keywords)
4177         (rst-font-lock-extend-region)
4178         (rst-font-lock-extend-region-internal)
4179         (rst-font-lock-extend-region-extend)
4180         (rst-font-lock-find-unindented-line-limit)
4181         (rst-font-lock-find-unindented-line-match)
4182         (rst-adornment-level, rst-font-lock-adornment-level)
4183         (rst-font-lock-adornment-match)
4184         (rst-font-lock-handle-adornment-pre-match-form)
4185         (rst-font-lock-handle-adornment-matcher): Major revision of
4186         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
4188         (rst-preferred-adornments, rst-adjust-hook)
4189         (rst-new-adornment-down, rst-preferred-bullets)
4190         (rst-preferred-bullets, rst-indent, rst-indent-width)
4191         (rst-indent-field, rst-indent-literal-normal)
4192         (rst-indent-literal-minimized, rst-indent-comment): Change,
4193         extend and improve customization.
4195         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4196         (rst-normalize-cursor-position, rst-get-decoration)
4197         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4198         (rst-rstrip, rst-toc-insert-find-delete-contents)
4199         (rst-shift-fill-region, rst-compute-bullet-tabs)
4200         (rst-debug-print-tabs, rst-debug-mark-found)
4201         (rst-shift-region-guts, rst-shift-region-right)
4202         (rst-shift-region-left, rst-use-char-classes)
4203         (rst-font-lock-keywords-function)
4204         (rst-font-lock-indentation-point)
4205         (rst-font-lock-find-unindented-line-begin)
4206         (rst-font-lock-find-unindented-line-end)
4207         (rst-font-lock-find-unindented-line)
4208         (rst-font-lock-adornment-point, rst-font-lock-level)
4209         (rst-adornment-level-alist): Remove functions and variables.
4211         (rst-compare-adornments, rst-get-adornment-match)
4212         (rst-suggest-new-adornment, rst-get-adornments-around)
4213         (rst-adornment-complete-p, rst-get-next-adornment)
4214         (rst-adjust-adornment, rst-display-adornments-hierarchy)
4215         (rst-straighten-adornments): Standardize function names to
4216         use "adornment" instead of "decoration".  Correct callers.
4217         Similar standardizing in many places.
4219         (rst-update-section, rst-adjust, rst-promote-region)
4220         (rst-enumerate-region, rst-bullet-list-region)
4221         (rst-repeat-last-character): Correct use of `interactive'.
4223         (rst-classify-adornment, rst-find-all-adornments)
4224         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4225         (rst-find-leftmost-column, rst-repeat-last-character):
4226         Refactor functions.
4228         (rst-find-title-line, rst-reset-section-caches)
4229         (rst-get-adornments-around, rst-adjust-adornment-work)
4230         (rst-arabic-to-roman, rst-roman-to-arabic)
4231         (rst-insert-list-pos, rst-insert-list-new-item)
4232         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4233         New functions.
4235         (rst-all-sections, rst-section-hierarchy)
4236         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4237         New variables.
4239         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4240         configuration instead of only buffer.  Change where necessary.
4242         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4243         (rst-shift-region, rst-adaptive-fill): New functions for
4244         indentation and filling.
4246         (rst-comment-line-break, rst-comment-indent)
4247         (rst-comment-insert-comment, rst-comment-region)
4248         (rst-uncomment-region): New functions for handling comments.
4250         (rst-compile): Quote shell arguments.
4252         (rst-compile-pdf-preview, rst-compile-slides-preview):
4253         Delete temporary files after use.
4255 2012-05-05  Glenn Morris  <rgm@gnu.org>
4257         * calendar/cal-html.el: Optionally include holidays in the output.
4258         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4259         (cal-html-holidays): New option.
4260         (cal-html-css-default): Add holiday entry.
4261         (holiday-in-range): Autoload it.
4262         (cal-html-htmlify-entry): Add optional class argument.
4263         (cal-html-htmlify-list): Add optional holidays argument.
4264         (cal-html-insert-agenda-days): Include holidays in the output.
4265         (cal-html-one-month): Maybe include holidays.
4267         * calendar/holidays.el (holiday-in-range):
4268         Move here from cal-tex-list-holidays.
4269         * calendar/cal-tex.el (cal-tex-list-holidays):
4270         Make it an obsolete alias for holiday-in-range.  Update all callers.
4272 2012-05-05  Chong Yidong  <cyd@gnu.org>
4274         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4275         Nextstep.
4277 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
4279         * files.el (file-auto-mode-skip): New var.
4280         (set-auto-mode-1): Use it.
4282 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4284         * repeat.el: Use lexical-binding.
4285         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4286         (repeat-undo-count): Remove.
4287         (repeat):
4288         * progmodes/octave-mod.el (octave-abbrev-start):
4289         * progmodes/f90.el (f90-abbrev-start):
4290         * face-remap.el (text-scale-adjust):
4291         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4293         * emacs-lisp/pcase.el (pcase--let*): New function.
4294         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4295         a bit more.
4296         (pcase--split-pred): Be more clever about ruling out overlap between
4297         a predicate and some constant pattern.
4298         (pcase--q1): Use `null' instead of (eq foo nil).
4300         * subr.el (setq-local, defvar-local): New macros.
4301         (kbd): Redefine as an alias.
4302         (with-selected-window): Leave unrelated frames alone.
4303         (set-temporary-overlay-map): New function.
4305 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4307         * subr.el (user-error): New function.
4308         * window.el (switch-to-buffer):
4309         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4310         (smerge-match-conflict):
4311         * simple.el (previous-matching-history-element)
4312         (next-matching-history-element, goto-history-element, undo-more)
4313         (undo-start):
4314         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4315         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4316         (next-file, tags-loop-scan, list-tags, complete-tag):
4317         * progmodes/compile.el (compilation-loop):
4318         * mouse.el (mouse-minibuffer-check):
4319         * man.el (Man-bgproc-sentinel, Man-goto-page):
4320         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4321         (Info-history-forward, Info-follow-reference, Info-menu)
4322         (Info-extract-menu-item, Info-extract-menu-counting)
4323         (Info-forward-node, Info-backward-node, Info-next-menu-item)
4324         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4325         (Info-next-reference, Info-prev-reference, Info-index)
4326         (Info-index-next, Info-follow-nearest-node)
4327         (Info-copy-current-node-name):
4328         * imenu.el (imenu--make-index-alist)
4329         (imenu-default-create-index-function, imenu-add-to-menubar):
4330         * files.el (basic-save-buffer, recover-file):
4331         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4332         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4333         (checkdoc-message-text, checkdoc-defun):
4334         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4335         * cus-edit.el (customize-changed-options, customize-rogue)
4336         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4337         (custom-variable-mark-to-reset-standard)
4338         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4339         (custom-file):
4340         * completion.el (check-completion-length):
4341         * comint.el (comint-search-arg)
4342         (comint-previous-matching-input-string-position)
4343         (comint-previous-matching-input)
4344         (comint-replace-by-expanded-history-before-point, comint-send-input)
4345         (comint-copy-old-input, comint-backward-matching-input)
4346         (comint-goto-process-mark, comint-set-process-mark):
4347         * calendar/calendar.el (calendar-cursor-to-date): Use it.
4348         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4350 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4352         * dabbrev.el (dabbrev--ignore-case-p): New function.
4353         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4354         Use it.
4356         * files.el (automount-dir-prefix): Mark as obsolete.
4358 2012-05-04  Glenn Morris  <rgm@gnu.org>
4360         * patcomp.el, play/bruce.el: Move to obsolete/.
4362 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
4364         Fix minor Y10k bugs.
4365         * arc-mode.el (archive-unixdate):
4366         * autoinsert.el (auto-insert-alist):
4367         * calc/calc-forms.el (math-this-year):
4368         * emacs-lisp/copyright.el (copyright-current-year)
4369         (copyright-update-year, copyright):
4370         * tar-mode.el (tar-clip-time-string):
4371         * time.el (display-time-update):
4372         Don't assume years have 4 digits.
4374 2012-05-04  Chong Yidong  <cyd@gnu.org>
4376         * dos-w32.el (file-name-buffer-file-type-alist)
4377         (direct-print-region-use-command-dot-com):
4378         * ffap.el (ffap-menu-regexp):
4379         * find-file.el (ff-special-constructs):
4380         * follow.el (follow-debug):
4381         * forms.el (forms--debug):
4382         * iswitchb.el (iswitchb-all-frames):
4383         * ido.el (ido-all-frames):
4384         * emacs-lisp/timer.el (timer-max-repeats):
4385         * mail/feedmail.el (feedmail-mail-send-hook)
4386         (feedmail-mail-send-hook-queued):
4387         * mail/footnote.el (footnote-signature-separator):
4388         * mail/mailabbrev.el (mail-alias-separator-string)
4389         (mail-abbrev-mode-regexp):
4390         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4391         * progmodes/idlwave.el (idlwave-libinfo-file)
4392         (idlwave-default-completion-case-is-down)
4393         (idlwave-library-routines): Convert defvars to defcustoms.
4395         * mail/rmail.el (rmail-decode-mime-charset):
4396         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4397         (idlwave-shell-fix-inserted-breaks)
4398         (idlwave-shell-activate-alt-keybindings)
4399         (idlwave-shell-use-breakpoint-glyph):
4400         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4402 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4404         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4406 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
4408         * progmodes/verilog-mode.el (font-lock-keywords):
4409         Fix mis-highligting auto.  Reported by Craig Barner.
4410         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4411         defines from global name space. Reported by Dan Dever.
4412         (verilog-auto-reset, verilog-auto-reset-widths)
4413         (verilog-auto-tieoff): Support using unbased numbers for
4414         AUTORESET and AUTOTIEOFF.
4415         (verilog-submit-bug-report): Update variable list.
4416         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4417         parenthesis from not matching. Reported by Michael Rytting.
4418         (verilog-auto-template-lint): Fix hash error when linting modules
4419         with no used templates.
4420         (verilog-warn, verilog-warn-error)
4421         (verilog-warn-fatal): When non-interactive report multiple
4422         warnings before exiting.  Suggested by Brad Dobbie.
4423         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4424         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4425         to report unused template errors.  Reported by Brad Dobbie.
4426         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4427         nets, bug438. Reported by Vns Blore.
4428         (verilog-auto-inout-module, verilog-auto-reg)
4429         (verilog-read-decls, verilog-read-sub-decls-sig)
4430         (verilog-signals-edit-wire-reg, verilog-signals-with):
4431         Fix passing of Verilog data types in ANSI input/output ports
4432         such as "output logic" into the AUTOs. Special case "wire" and
4433         "reg" for backwards compatibility presuming Verilog 2001.
4434         (verilog-auto-ascii-enum): Add "auto enum" as alias.
4435         (verilog-preprocess): Fix replication of preprocess output.
4436         Reported by Brad Dobbie.
4437         (verilog-auto-inst-interfaced-ports):
4438         Create verilog-auto-inst-interfaced-ports, bug429.
4439         Reported by Julian Gorfajn.
4440         (verilog-after-save-font-hook)
4441         (verilog-before-save-font-hook): New variable.
4442         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4443         (verilog-save-font-mods): Wrap disabling fontification, reported
4444         by David Rogoff.
4445         (verilog-do-indent, verilog-pretty-declarations-auto)
4446         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4447         Reported by Pierre-David Pfister.
4448         (verilog-set-auto-endcomments): Fix endtask auto comments outside
4449         of class declarations, bug292.  Reported by Kevin Heilman.
4450         (verilog-read-decls): Fix 'parameter type' not appearing in
4451         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
4452         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4453         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4454         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4455         Reported by David Kravitz.
4457 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
4459         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4460         assignment with tests in ifs and for loops.
4461         (verilog-extended-complete-re, verilog-complete-reg): Change so
4462         that DPI inport functions don't look like fuction declarations.
4463         (verilog-pretty-expr): Don't line up assignment
4464         operations to the test and increment in if and for loops
4465         (verilog-extended-complete-re, verilog-complete-reg): Change so
4466         that DPI inport functions don't look like fuction declarations.
4468 2012-05-03  Kenichi Handa  <handa@m17n.org>
4470         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
4471         decoding, and show a warning message without signaling an error
4472         (Bug#11282).
4474 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4476         * emacs-lisp/bytecomp.el
4477         (byte-compile-file-form-custom-declare-variable): Compile all elements,
4478         since cconv.el might have introduced :fun-body, internal-make-closure,
4479         and friends for bytecomp to handle (bug#11391).
4480         * custom.el (defcustom): Avoid ((λ ..) ..).
4482 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4484         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4486 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
4488         * notifications.el (dbus-debug):
4489         * term/linux.el (gpm-mouse-enable):
4490         * term/screen.el (xterm-register-default-colors): Declare.
4492 2012-05-02  Chong Yidong  <cyd@gnu.org>
4494         * cus-start.el (gc-cons-percentage, exec-suffixes)
4495         (dos-display-scancodes, dos-hyper-key, dos-super-key)
4496         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4497         (make-cursor-line-fully-visible, void-text-area-pointer)
4498         (font-list-limit): Add customization data.
4500         * allout.el (allout-exposure-change-functions)
4501         (allout-structure-added-functions)
4502         (allout-structure-deleted-functions)
4503         (allout-structure-shifted-functions): Rename abnormal hooks from
4504         *-hook, and convert to defcustoms.
4505         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4506         Convert to defcustoms.
4507         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4509         * allout-widgets.el: Hook callers changed.
4511 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
4513         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4514         the yanked message in preference to the default value of
4515         buffer-file-coding-system.
4517 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
4519         * window.el (display-buffer--action-function-custom-type):
4520         Fix entry.
4522 2012-05-02  Alan Mackenzie  <acm@muc.de>
4524         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4526 2012-05-01  Glenn Morris  <rgm@gnu.org>
4528         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4530         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
4532         * cus-edit.el (custom-variable-documentation): Simplify with format.
4534 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4535             Stefan Monnier  <monnier@iro.umontreal.ca>
4537         * simple.el (suggest-key-bindings, execute-extended-command):
4538         Move from keyboard.c.
4540 2012-05-01  Chong Yidong  <cyd@gnu.org>
4542         * follow.el: Eliminate advice.
4543         (set-process-filter, process-filter, sit-for): Advice deleted.
4544         (follow-mode-off-hook): Obsolete hook removed.
4545         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4546         Vars deleted.
4547         (follow-auto): Use a :set function.
4548         (follow-mode): Rewritten.  Don't advise process filters.
4549         (follow-switch-to-current-buffer-all, follow-scroll-up)
4550         (follow-scroll-down): Assume follow-mode is bound.
4551         (follow-comint-scroll-to-bottom)
4552         (follow-align-compilation-windows): New functions.
4553         (follow--window-sorter): New function.
4554         (follow-all-followers): Use it to explicitly sort windows by their
4555         positions; don't make assumptions about next-window order.
4556         (follow-windows-start-end, follow-delete-other-windows-and-split)
4557         (follow-calc-win-start): Doc fix.
4558         (follow-windows-aligned-p, follow-select-if-visible): Don't call
4559         vertical-motion unnecessarily.
4560         (follow-adjust-window): New function.
4561         (follow-post-command-hook): Use it.
4562         (follow-call-set-process-filter, follow-call-process-filter)
4563         (follow-intercept-process-output, follow-tidy-process-filter-alist)
4564         (follow-stop-intercept-process-output, follow-generic-filter):
4565         Functions deleted.
4566         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4567         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4568         New functions, replacing advice on scroll-bar-* commands.
4569         (follow-mwheel-scroll): New function (Bug#4112).
4571         * comint.el (comint-adjust-point): New function.
4572         (comint-postoutput-scroll-to-bottom): Use it.
4573         Call follow-comint-scroll-to-bottom for Follow mode buffers.
4575 2012-05-01  Glenn Morris  <rgm@gnu.org>
4577         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4578         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4579         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4580         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4581         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4582         Remove no-byte-compile setting.
4584 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4586         * minibuffer.el (completion-table-with-quoting): Fix compatibility
4587         all-completions code to not return a number in the last cdr.
4589 2012-04-30  Leo Liu  <sdl.web@gmail.com>
4591         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4592         read-only error.
4594 2012-04-29  Chong Yidong  <cyd@gnu.org>
4596         * follow.el (follow-calc-win-end): Rewrite to handle partial
4597         screen lines correctly (Bug#8390).
4598         (follow-avoid-tail-recenter): Minor cleanup.
4600 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4602         Avoid the obsolete `assoc' package.
4603         * speedbar.el (speedbar-refresh): Avoid adelete.
4604         (speedbar-file-lists): Simplify and avoid aput.
4605         * man.el (Man--sections, Man--refpages): New vars, replacing
4606         Man-sections-alist and Man-refpages-alist.
4607         (Man-build-section-alist, Man-build-references-alist):
4608         Use them; avoid aput.
4609         (Man--last-section, Man--last-refpage): New vars.
4610         (Man-follow-manual-reference): Use them.
4611         Use the `default' arg of completing-read.
4612         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
4614 2012-04-27  Chong Yidong  <cyd@gnu.org>
4616         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4618         * startup.el (x-apply-session-resources): New function.
4620         * term/ns-win.el (ns-initialize-window-system):
4621         * term/w32-win.el (w32-initialize-window-system):
4622         * term/x-win.el (x-initialize-window-system): Use it to properly
4623         set menu-bar-mode and other vars from X resources, even if the
4624         initial frame is not a window-system frame (Bug#2299).
4626         * subr.el (read-key): Avoid running filter function when setting
4627         up temporary tool bar entries (Bug#9922).
4629 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
4631         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4632         (Bug#11344)
4634 2012-04-27  Chong Yidong  <cyd@gnu.org>
4636         * select.el (xselect--encode-string): New function, split from
4637         xselect-convert-to-string.
4638         (xselect-convert-to-string): Use it.
4639         (xselect-convert-to-filename, xselect-convert-to-os)
4640         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4641         returned strings are properly encoded (Bug#11315).
4643 2012-04-27  Chong Yidong  <cyd@gnu.org>
4645         * simple.el (delete-active-region): Move to killing custom group.
4647 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
4649         * progmodes/which-func.el (which-func-current): Quote %
4650         characters for mode-line processing.
4652 2012-04-27  Chong Yidong  <cyd@gnu.org>
4654         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4655         reaching eob (Bug#11286).
4657 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
4659         * progmodes/gdb-mi.el (gdb-control-level): New variable.
4660         (gdb): Make it buffer-local and init to zero.
4661         (gdb-control-commands-regexp): New variable.
4662         (gdb-send): Don't wrap in "-interpreter-exec console" if
4663         gdb-control-level is positive.  Increment gdb-control-level
4664         whenever the command matches gdb-control-commands-regexp, and
4665         decrement it each time the command is "end".  (Bug#11279)
4667 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
4669         * window.el (adjust-window-trailing-edge, enlarge-window)
4670         (shrink-window, window-resize):
4671         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4672         windows (Bug#11276).
4674 2012-04-27  Chong Yidong  <cyd@gnu.org>
4676         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4677         fix "missing prefix" warning.  All callers changed.
4679 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4681         * emacs-lisp/assoc.el: Move to obsolete/.
4683 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4685         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4687         * term/ns-win.el (ns-define-service):
4688         * progmodes/pascal.el (pascal-goto-defun):
4689         * progmodes/js.el (js--read-tab):
4690         * progmodes/etags.el (tags-lazy-completion-table):
4691         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4692         * emacs-lisp/ewoc.el (ewoc--wrap):
4693         * emacs-lisp/assoc.el (aput, adelete, amake):
4694         * doc-view.el (doc-view-convert-current-doc):
4695         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4697 2012-04-26  Chong Yidong  <cyd@gnu.org>
4699         * image.el (image-type-from-buffer): Only return supported image
4700         type (Bug#9045).
4702         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4703         value, for symmetry with diff-end-of-hunk.
4704         (diff-split-hunk, diff-find-source-location)
4705         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4706         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4707         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4708         compute the relevant hunk or file properly (Bug#6005).
4709         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4711 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4713         * vc/vc-mtn.el:
4714         * vc/vc-hg.el:
4715         * vc/vc-git.el:
4716         * vc/vc-dir.el:
4717         * vc/vc-cvs.el:
4718         * vc/vc-bzr.el:
4719         * vc/vc-arch.el:
4720         * vc/vc.el: Replace lexical-let by lexical-binding.
4721         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4722         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4723         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4725 2012-04-26  Chong Yidong  <cyd@gnu.org>
4727         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4728         (diff-mode-shared-map): Bind it to / and [remap undo].
4730         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4731         (ediff-window-setup-function): Use it as the default, to set up
4732         windows based on whether the current frame is graphical (Bug#2138).
4733         (ediff-choose-window-setup-function-automatically): Make obsolete.
4735         * vc/ediff-init.el: Always define ediff-pixel-width/height.
4737 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4739         * ffap.el: Remove old code for obsolete package.
4740         (ffap-complete-as-file-p): Remove.
4742         Use completion-table-with-quoting for comint and pcomplete.
4743         * comint.el (comint--unquote&requote-argument)
4744         (comint--unquote-argument, comint--requote-argument): New functions.
4745         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4746         (comint-quote-filename): Use regexp-opt-charset.
4747         (comint--common-suffix, comint--common-quoted-suffix)
4748         (comint--table-subvert): Remove.
4749         (comint-unquote-function, comint-requote-function): New vars.
4750         (comint--complete-file-name-data): Use them with
4751         completion-table-with-quoting.
4752         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4753         * pcomplete.el (pcomplete-arg-quote-list)
4754         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4755         (pcomplete-unquote-argument-function): Default to non-nil.
4756         (pcomplete-unquote-argument): Simplify.
4757         (pcomplete--common-quoted-suffix): Remove.
4758         (pcomplete-requote-argument-function): New var.
4759         (pcomplete--common-suffix): New function.
4760         (pcomplete-completions-at-point): Use completion-table-with-quoting
4761         and completion-table-subvert.
4763         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4764         (minibuffer--double-dollars): Preserve properties.
4765         (completion--sifn-requote): New function.
4766         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4768         * minibuffer.el: Add support for completion of quoted/escaped data.
4769         (completion-table-with-quoting, completion-table-subvert): New funs.
4770         (completion--twq-try, completion--twq-all): New functions.
4771         (completion--nth-completion): New function.
4772         (completion-try-completion, completion-all-completions): Use it.
4774 2012-04-25  Leo Liu  <sdl.web@gmail.com>
4776         * progmodes/python.el (python-pdbtrack-get-source-buffer):
4777         Use compilation-message if available to find real filename.
4779 2012-04-25  Chong Yidong  <cyd@gnu.org>
4781         * vc/diff-mode.el (diff-setup-whitespace): New function.
4782         (diff-mode): Use it.
4784         * vc/diff.el (diff-sentinel):
4785         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4786         Whitespace mode variables based on diff style (Bug#8612).
4788 2012-04-25  Leo Liu  <sdl.web@gmail.com>
4790         * progmodes/python.el (python-send-region): Add suffix .py to the
4791         temp file.
4793         * files.el (auto-mode-alist): Use javascript-mode instead.
4795 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
4797         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
4799         * net/soap-client.el (soap-resolve-references-for-sequence-type)
4800         (soap-resolve-references-for-array-type): Hack to prevent self
4801         references, see Bug#9.
4802         (soap-parse-envelope): Report the contents of the 'detail' node
4803         when receiving a fault reply.
4804         (soap-parse-envelope): Report the contents of the entire 'detail' node.
4806         * net/soap-inspect.el (soap-sample-value-for-simple-type)
4807         (soap-inspect-simple-type): New function.
4809         * net/soap-client.el (soap-simple-type): New struct.
4810         (soap-default-xsd-types, soap-default-soapenc-types)
4811         (soap-decode-basic-type, soap-encode-basic-type):
4812         support unsignedInt and double basic types.
4813         (soap-resolve-references-for-simple-type)
4814         (soap-parse-simple-type, soap-encode-simple-type): New function.
4815         (soap-parse-schema): Parse xsd:simpleType declarations.
4817         * net/soap-client.el (soap-default-xsd-types)
4818         (soap-default-soapenc-types): Add integer, byte and anyURI types.
4819         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4820         the local name of "soapenc:Array".
4821         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4822         decoding integer, byte and anyURI xsd types.
4824 2012-04-25  Chong Yidong  <cyd@gnu.org>
4826         * cus-edit.el (custom-buffer-create-internal): Update header text.
4828 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
4830         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4831         settings on 'system-type', not on 'window-system'.  On MS-Windows,
4832         set interactive-mode on in GDB.
4834 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4836         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4837         (ruby-syntax-propertize-regexp): Remove.
4838         (ruby-syntax-propertize-function): Split regexp into chunks.
4839         Match following code directly.
4841 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
4843         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4844         (ruby-syntax-propertize-regexp): New function.
4845         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4846         by a special keyword.
4848         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4849         (ruby-syntax-general-delimiters-goto-beg)
4850         (ruby-syntax-propertize-general-delimiters): New functions.
4851         (ruby-syntax-propertize-function): Use them to handle GDL.
4852         (ruby-font-lock-keywords): Move old handling of GDL...
4853         (ruby-font-lock-syntactic-keywords): .. to here.
4854         (ruby-calculate-indent): Adjust indentation for GDL.
4856 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
4858         * notifications.el (top): Remove unneeded declarations.
4859         (notifications-specification-version): Change to "1.2".
4860         (notifications-interface, notifications-notify-method)
4861         (notifications-close-notification-method): Fix docstring.
4862         (notifications-get-capabilities-method): New defconst.
4863         (notifications-notify): Add :action-items, :resident and
4864         :transient hints.  Change "image_data" to "image-data" and
4865         "image_path" to "image-path".
4866         (notifications-get-capabilities): New defun.
4868 2012-04-24  Leo Liu  <sdl.web@gmail.com>
4870         * progmodes/python.el: Move hideshow setup to the end.
4872 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
4874         * window.el (handle-select-window): Clear echo area since this is
4875         no more done by read_char (Bug#11304).
4877 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4879         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4880         and `/ M' to filter-derived-mode.
4881         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4882         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4883         (ibuffer-mark-by-mode): Use default rather than initial-input.
4884         (ibuffer-filter-by-derived-mode): Autoload and require-match.
4886 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
4888         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4889         (ibuffer-filter-by-derived-mode): New filter.
4890         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4892 2012-04-23  Andreas Politz  <politza@fh-trier.de>
4894         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4896 2012-04-23  Chong Yidong  <cyd@gnu.org>
4898         * cus-edit.el (customize-apropos, customize-apropos-options):
4899         Disable matching of non-option variables (Bug#11176).
4900         (customize-option, customize-option-other-window)
4901         (customize-changed-options): Doc fix.
4902         (customize-apropos-options, customize-apropos-faces)
4903         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4905         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4906         Fix word list splitting (Bug#11132).
4907         (apropos-symbol, apropos-keybinding, apropos-label)
4908         (apropos-property, apropos-function-button)
4909         (apropos-variable-button, apropos-misc-button): New faces.
4910         (apropos-symbol-face, apropos-keybinding-face)
4911         (apropos-label-face, apropos-property-face, apropos-match-face):
4912         Variables removed (Bug#8396).
4913         (apropos-library-button, apropos-format-plist, apropos-print)
4914         (apropos-print-doc, apropos-describe-plist): Callers changed.
4916 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
4918         * net/xesam.el (xesam-mode-map): Use let-bound map in
4919         initialization.  (Bug#11292)
4921 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4923         Preserve ispell session localwords when switching back to
4924         original buffer.
4926         * textmodes/ispell.el (ispell-buffer-session-localwords):
4927         New buffer-local variable to hold buffer session localwords.
4928         (ispell-kill-ispell): Add option 'clear to delete session
4929         localwords.
4930         (ispell-command-loop, ispell-change-dictionary)
4931         (ispell-buffer-local-words): Preserve session localwords when
4932         needed.
4934         * textmodes/flyspell.el (flyspell-process-localwords)
4935         (flyspell-do-correct): Preserve session localwords when needed.
4937 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4939         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4940         using obsolete `translation-table-for-input'.
4941         (ispell-word, ispell-process-line, ispell-complete-word):
4942         Use plain `insert' instead of removed `ispell-insert-word'.
4944 2012-04-22  Chong Yidong  <cyd@gnu.org>
4946         * cus-edit.el (custom-variable-menu)
4947         (custom-variable-reset-saved, custom-face-menu)
4948         (custom-face-reset-saved): If there is no saved value, make the
4949         "reset-saved" operation bring back the default (Bug#9509).
4950         (custom-face-state): Properly detect themed faces.
4952         * faces.el (face-spec-set): Stop supporting deprecated form of
4953         third arg.
4955 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
4957         Move functions from C to Lisp.  Make non-blocking method calls
4958         the default.  Implement further D-Bus standard interfaces.
4960         * net/dbus.el (dbus-message-internal): Declare function.
4961         Remove unneeded function declarations.
4962         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4963         (dbus-message-type-method-return, dbus-message-type-error)
4964         (dbus-message-type-signal): Declare variables.  Remove local
4965         definitions.
4966         (dbus-interface-dbus, dbus-interface-peer)
4967         (dbus-interface-introspectable, dbus-interface-properties)
4968         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4969         Adapt docstring.
4970         (dbus-interface-objectmanager): New defconst.
4971         (dbus-call-method, dbus-call-method-asynchronously)
4972         (dbus-send-signal, dbus-method-return-internal)
4973         (dbus-method-error-internal, dbus-register-service)
4974         (dbus-register-signal, dbus-register-method): New defuns, moved
4975         from dbusbind.c
4976         (dbus-call-method-handler, dbus-setenv)
4977         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4978         New defuns.
4979         (dbus-call-method-non-blocking): Make it an obsolete function.
4980         (dbus-unregister-object, dbus-unregister-service)
4981         (dbus-handle-event, dbus-register-property)
4982         (dbus-property-handler): Obey the new structure of
4983         `bus-registered-objects'.
4984         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
4985         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4986         Use `dbus-call-method'.
4988 2012-04-22  Chong Yidong  <cyd@gnu.org>
4990         * cus-edit.el (custom-commands, custom-reset-menu)
4991         (Custom-reset-standard): Tweak labels.
4992         (custom-reset-button-menu): Change default to t.
4993         (custom-buffer-create-internal): For the custom-reset-button-menu
4994         case, put the revert button first.
4995         (custom-group-subtitle): New face.
4996         (custom-group-value-create): Align docstring to a specific column.
4998         * wid-edit.el (widget-documentation-link-add): Don't handle
4999         indentation in this function.
5000         (widget-documentation-string-indent-to): New function.
5001         (widget-documentation-string-value-create): Use it.
5003         * autorevert.el (auto-revert):
5004         * epg-config.el (epg):
5005         * ibuffer.el (ibuffer):
5006         * mpc.el (mpc):
5007         * ses.el (ses):
5008         * eshell/eshell.el (eshell):
5009         * net/ange-ftp.el (ange-ftp):
5010         * progmodes/ebnf2ps.el (postscript):
5011         * progmodes/flymake.el (flymake):
5012         * progmodes/prolog.el (prolog):
5013         * progmodes/verilog-mode.el (verilog-mode):
5014         * progmodes/which-func.el (which-func):
5015         * term/xterm.el (xterm):
5016         * textmodes/picture.el (picture):
5017         * textmodes/tildify.el (tildify):
5018         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5019         customization buffers.
5021 2012-04-22  Alan Mackenzie  <acm@muc.de>
5023         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5024         Adding a ) can hide the resulting (..) from searches.  Fix it.
5025         Bound the backward search to the position of the existing (.
5027 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
5029         * progmodes/verilog-mode.el (verilog-mode): Check whether
5030         which-func-modes is t before adding verilog-mode.
5031         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5033 2012-04-21  Leo Liu  <sdl.web@gmail.com>
5035         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
5037 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
5039         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5040         filling of the last column of a table (Bug#5635).
5041         (woman-find-next-control-line): New arg, specifying an additional
5042         regexp component for the control line.
5043         (woman2-roff-buffer): Use it.
5044         (woman-break-table): New function.
5045         (woman2-TS): Use it.
5047 2012-04-21  Chong Yidong  <cyd@gnu.org>
5049         * woman.el (woman-set-buffer-display-table, woman-decode-region)
5050         (woman-horizontal-escapes, woman-negative-vertical-space)
5051         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5052         (WoMan-warn-ignored): Use ?\s instead of ?\ .
5054 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5056         * minibuffer.el (completion-file-name-table): Complete user names.
5058 2012-04-20  Leo Liu  <sdl.web@gmail.com>
5060         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5061         and pcase-let*.
5063 2012-04-20  Chong Yidong  <cyd@gnu.org>
5065         * server.el (server-execute): Respect initial-buffer-choice if it
5066         is a string and there are no files to open (Bug#2825).
5067         (server-create-window-system-frame, server-create-tty-frame):
5068         Don't switch buffers here.
5069         (server-process-filter): Only try to open a window system frame if
5070         compiled with graphical support (Bug#8314).
5072 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
5074         * battery.el (battery-echo-area-format): Display remaining time
5075         for sysfs backend too (Bug#11269).
5076         (battery-linux-sysfs): Fix conditional for the charge.
5078 2012-04-20  Chong Yidong  <cyd@gnu.org>
5080         * progmodes/gdb-mi.el (gdb): Revert previous change.
5081         (gdb-inferior-io--init-proc): New function.
5082         (gdb-init-1): Use it.
5083         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5084         responsible for allocating a new pty and hooking it to gdb when
5085         the old pty gets an EIO due to process exit.
5086         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
5087         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5088         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5090 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
5092         * window.el (window-min-size, window-sizable, window-min-delta)
5093         (window-max-delta, window--resizable, window-resizable)
5094         (window-total-size, window-full-height-p, window-full-width-p)
5095         (window-in-direction, window--resize-mini-window, window-resize)
5096         (window--resize-child-windows-normal)
5097         (window--resize-child-windows, window--resize-siblings)
5098         (window--resize-this-window, adjust-window-trailing-edge)
5099         (enlarge-window, shrink-window): Doc fixes.
5101 2012-04-20  Chong Yidong  <cyd@gnu.org>
5103         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5104         New function to call delete-process on the gdb-inferior buffer's pty.
5105         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5106         pty process (Bug#11273).
5107         (gdb-update): New arg to suppress talking to the gdb process.
5108         (gdb-done-or-error): Use it.
5109         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5110         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5111         sentinel not being called.
5113         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5115         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5117 2012-04-20  Glenn Morris  <rgm@gnu.org>
5119         * net/network-stream.el (open-network-stream): Doc fix.
5121 2012-04-20  Chong Yidong  <cyd@gnu.org>
5123         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5125 2012-04-20  Alan Mackenzie  <acm@muc.de>
5127         Ensure searching for keywords is case sensitive.
5129         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5130         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5131         (c-defun-name, c-mark-function, c-cpp-define-name)
5132         (c-comment-indent, c-scan-conditionals, c-indent-defun)
5133         (c-context-line-break): Bind case-fold-search to nil.
5135         * progmodes/cc-mode.el (c-font-lock-fontify-region):
5136         Bind case-fold-search to nil.
5138 2012-04-20  Chong Yidong  <cyd@gnu.org>
5140         * mail/sendmail.el (mail-bury): Call return action with the right
5141         Rmail buffer (Bug#11242).
5143         * server.el (server-process-filter): Handle corner case where both
5144         tty and nowait options are present (Bug#11102).
5146 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
5148         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
5149         (top level): Put into the executable the ident-style '$Id:' tag on
5150         windows-nt as well.
5152 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5154         * electric.el (electric-indent-post-self-insert-function): Check that
5155         electric-indent-mode is enabled in current buffer.
5157 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
5159         * imenu.el (imenu-progress-message): Restore; it is "used" in
5160         erc/erc-imenu.el and net/snmp-mode.el.
5162 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
5164         * avoid.el (mouse-avoidance-mode): Mark unused arg.
5165         (mouse-avoidance-nudge-mouse): Remove unused binding.
5167         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5169         * descr-text.el (describe-char):
5170         * progmodes/python.el (python-describe-symbol):
5171         Don't call `toggle-read-only', set `buffer-read-only'.
5173         * imenu.el (imenu-default-goto-function): Mark unused args.
5174         (imenu-progress-message): Remove obsolete macro; all callers changed.
5176         * subr.el (keymap-canonicalize): Remove unused binding.
5177         (read-passwd): Mark unused arg.
5179         * tutorial.el (tutorial--display-changes): Remove unused binding.
5180         (tutorial--save-tutorial-to): Remove unused variable.
5182         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5183         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5184         (package-generate-autoloads, package-menu--generate)
5185         (package-menu--find-upgrades): Remove unused bindings.
5187         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5188         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
5189         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5190         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5191         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5192         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5193         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5194         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5195         (cua-delete-char-rectangle): Mark unused args.
5196         (cua-align-rectangle): Remove unused binding.
5198         * mail/rmail.el (compilation--message->loc)
5199         (epa--find-coding-system-for-mime-charset): Declare.
5201         * net/dbus.el (dbus-register-service): Declare.
5202         (dbus-name-owner-changed-handler): Remove unused binding.
5204         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5205         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5206         (nxml-scan-backward-within): Mark unused arg.
5207         (nxml-dynamic-markup-word): Remove unused binding.
5209         * mouse.el (mouse-menu-major-mode-map):
5210         * emacs-lisp/authors.el (authors-scan-change-log)
5211         (authors-add-to-author-list):
5212         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5213         * emacs-lisp/smie.el (smie-auto-fill):
5214         * mail/sendmail.el (mail-bury):
5215         * mail/unrmail.el (unrmail):
5216         * net/tls.el (open-tls-stream):
5217         * textmodes/picture.el (picture-mouse-set-point):
5218         Remove unused bindings.
5220 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
5222         * net/tramp.el (tramp-action-password): Let-bind
5223         `enable-recursive-minibuffers' to t.
5225 2012-04-18  Sam Steingold  <sds@gnu.org>
5227         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5228         instead of 'string to accommodate values like [f11].
5229         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5230         * progmodes/gdb-mi.el: Likewise.
5232 2012-04-18  Leo Liu  <sdl.web@gmail.com>
5234         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5235         current buffer.
5236         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5237         LOCAL is nil.
5239 2012-04-18  Chong Yidong  <cyd@gnu.org>
5241         * simple.el (line-move): Use forward-line if in batch mode
5242         (Bug#11053).
5244 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
5246         * files.el (after-find-file): Do not try to add a final newline if
5247         the buffer is read-only (Bug#11156).
5249 2012-04-17  Richard Stallman  <rms@gnu.org>
5251         * mail/rmail.el (rmail-start-mail):
5252         Pass (rmail-mail-return...) for the return-action.
5253         Pass (rmail-yank-current-message...) for the yank-action.
5254         (rmail-yank-current-message): New function.
5255         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5256         (rmail-reply): Likewise.
5257         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5259         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
5260         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
5261         buffer, not newbuf.
5263 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
5265         * server.el (server-ensure-safe-dir): Simplify.
5267 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5269         * emacs-lisp/smie.el: Provide smarter auto-filling.
5270         (smie-auto-fill): New function.
5271         (smie-setup): Use it.
5273         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5275 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
5277         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5278         (comment-indent): Use it.
5280 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5282         * ses.el: The overall change is to add cell renaming, that is
5283         setting fancy names for cell symbols other than name matching
5284         "\\`[A-Z]+[0-9]+\\'" regexp .
5285         (ses-localvars): Add ses--renamed-cell-symb-list.
5286         (ses-create-cell-variable): New defun.
5287         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
5288         (ses-relocate-formula): Relocate formulas only for cells the
5289         symbols of which are not renamed, i.e. symbols whose names do not
5290         match regexp "\\`[A-Z]+[0-9]+\\'".
5291         (ses-relocate-all): Relocate values only for cells the symbols of
5292         which are not renamed.
5293         (ses-load): Create cells variables as the (ses-cell ...) are read,
5294         in order to check row col consistency with cell symbol name only
5295         for cells that are not renamed.
5296         (ses-replace-name-in-formula): New defun.
5297         (ses-rename-cell): New defun.
5299 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
5301         * progmodes/perl-mode.el (perl-indent-parens-as-block):
5302         New option (bug#11118).
5303         (perl-calculate-indent): Respect it.
5305 2012-04-17  Glenn Morris  <rgm@gnu.org>
5307         * dired-aux.el (dired-mark-read-string): Doc fix.
5309 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
5311         * dired-aux.el (dired-mark-read-string): Offer optional completion.
5312         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
5314 2012-04-17  Glenn Morris  <rgm@gnu.org>
5316         * mouse.el (mouse-drag-track):
5317         * speedbar.el (speedbar-frame-mode):
5318         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5320 2012-04-16  Leo Liu  <sdl.web@gmail.com>
5322         * progmodes/python.el: Trivial cleanup.
5324 2012-04-16  Glenn Morris  <rgm@gnu.org>
5326         * vc/vc.el (vc-string-prefix-p):
5327         * vc/pcvs-util.el (cvs-string-prefix-p):
5328         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5329         * mpc.el (mpc-string-prefix-p):
5330         Make all of these into obsolete aliases for string-prefix-p.
5331         Update callers.
5332         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5334         * textmodes/two-column.el: Move custom options to the start.
5335         (frame-width): Remove compat definition.
5336         (2C-associate-buffer, 2C-dissociate):
5337         Use with-current-buffer rather than save-excursion.
5338         (2C-dissociate): Force a mode-line update.
5339         (2C-autoscroll): Use ignore-errors.
5341         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5342         Autoload trivia.
5344         * emacs-lisp/cl-extra.el (*random-state*):
5345         Remove unnecessary declaration.
5347         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5349         * play/cookie1.el (cookie-snarf):
5350         Give an explicit error if input file cannot be read.
5352         * play/yow.el (yow-file): Use expand-file-name rather than concat.
5354         * progmodes/perl-mode.el (c-macro-expand):
5355         Remove unnecessary autoload (it is in loaddefs.el).
5357         * textmodes/picture.el (picture-desired-column)
5358         (picture-update-desired-column): Convert comments to doc-strings.
5359         (picture-substitute): Remove function.
5360         (picture-mode-map): Initialize in the defvar.
5362         * woman.el: Remove eval-after-load for tar-mode.
5363         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5364         (woman-tar-extract-file): Autoload it.
5366         * frame.el (automatic-hscrolling): Make this alias obsolete.
5368 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5370         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
5371         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
5372         (ispell-dictionary-base-alist): Revert to original XEmacs
5373         friendly version for default.  [:alpha:] will be added in
5374         `ispell-set-spellchecker-params' if needed.
5376 2012-04-16  Chong Yidong  <cyd@gnu.org>
5378         * image.el (imagemagick--file-regexp): New variable.
5379         (imagemagick-register-types): Use it.
5380         (imagemagick-types-inhibit): Add :set function.  Allow new value
5381         of t to inhibit all types.
5383         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5384         so we can preload it.
5386         * loadup.el (fboundp): Preload regexp-opt, needed by
5387         imagemagick-register-types.
5389 2012-04-15  Chong Yidong  <cyd@gnu.org>
5391         * frame.el (scrolling): Remove nearly unused customization group.
5393         * scroll-all.el (scroll-all-mode): Move to windows group.
5395 2012-04-15  Chong Yidong  <cyd@gnu.org>
5397         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5399 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5401         Avoid the use of ((lambda ...) ...) in lexical-binding code.
5402         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
5404 2012-04-15  Glenn Morris  <rgm@gnu.org>
5406         * simple.el (process-file-side-effects): Doc fix.
5408 2012-04-15  Glenn Morris  <rgm@gnu.org>
5410         * international/mule-cmds.el (set-language-environment): Doc fix.
5412 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
5414         * server.el (server-auth-key, server-generate-key): Doc fixes.
5415         (server-get-auth-key): Doc fix.  Use `string-match-p'.
5416         (server-start): Reflow docstring.
5418 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
5420         * server.el (server-generate-key): `called-interactively-p'
5421         requires a parameter.
5423 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
5425         * server.el (server-auth-key): New variable.
5426         (server-generate-key, server-get-auth-key): New function.
5427         (server-start): Use the new variable and functions to allow
5428         setting a permanent server key (bug#9423).
5430 2012-04-14  Leo Liu  <sdl.web@gmail.com>
5432         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5434 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
5436         Spelling fixes.
5437         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5438         Emacs uses American spelling.
5440 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
5442         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5443         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
5444         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5445         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
5447 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5449         * progmodes/which-func.el (which-func-modes): Change default.
5451 2012-04-14  Kim F. Storm  <storm@cua.dk>
5453         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5454         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5456 2012-04-14  Chong Yidong  <cyd@gnu.org>
5458         * custom.el (custom-theme-set-variables): Doc fix.
5460 2012-04-14  Glenn Morris  <rgm@gnu.org>
5462         * international/mule.el (set-auto-coding-for-load): Doc fix.
5464 2012-04-14  Alan Mackenzie  <acm@muc.de>
5466         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5467         imenu work again for Objective C Mode.  Correct the *-index values,
5468         these having been disturbed by a previous change in 2011-08.
5470         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5471         Correct two search limits.
5473 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5475         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5477 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
5479         * international/characters.el: Fix sorting.
5481 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
5483         * international/characters.el: Add more missing Latin case pairs.
5485 2012-04-14  Glenn Morris  <rgm@gnu.org>
5487         * files.el (dir-locals-set-class-variables): Doc fix.
5489 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
5491         * international/characters.el: Add set-case-syntax-pair call for
5492         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5493         counterpart.  (Bug#11209)
5495         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
5497 2012-04-14  Glenn Morris  <rgm@gnu.org>
5499         * calendar/holidays.el (calendar-check-holidays): Doc fix.
5501 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
5503         * textmodes/ispell.el (ispell-dictionary-base-alist):
5504         Add data for Hebrew.
5506 2012-04-14  Chong Yidong  <cyd@gnu.org>
5508         * net/rcirc.el (rcirc-cmd-quit):
5509         Revert 2012-03-18 change (Bug#11192).
5511 2012-04-14  Glenn Morris  <rgm@gnu.org>
5513         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5515 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
5517         * minibuffer.el (completion-in-region-mode-map):
5518         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
5520 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
5522         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5524 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
5526         * minibuffer.el (minibuffer-local-filename-syntax): New variable
5527         to allow `C-M-f' and `C-M-b' to move to the nearest path
5528         separator (bug#9511).
5530 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
5532         * avoid.el: Require cl when compiling.  And also move the
5533         `provide' to the end.
5535 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5537         * avoid.el (mouse-avoidance-banish-position): New variable.
5538         (mouse-avoidance-banish-destination): Use it (bug#10165).
5540 2012-04-13  Leo Liu  <sdl.web@gmail.com>
5542         * progmodes/which-func.el (which-func-modes): Add objc-mode.
5544 2012-04-13  Ken Brown  <kbrown@cornell.edu>
5546         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5547         this is no longer needed now that cygstart understands file:// URLs.
5548         (browse-url-filename-alist): For the same reason, don't modify
5549         file:// URLs on Cygwin.
5551 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5553         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5554         the region on shift if the binding is already shifted (bug#11221).
5556 2012-04-12  Glenn Morris  <rgm@gnu.org>
5558         * mail/mailpost.el: Move to obsolete/.
5560 2012-04-12  Drew Adams  <drew.adams@oracle.com>
5562         * imenu.el (imenu--generic-function): Ignore invisible definitions
5563         (bug#10123).
5565 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
5567         * hexl.el (hexl-bits): New variable.
5568         (hexl-options): Mention the variable in the doc string.
5569         (hexl-rulerise, hexl-line-displen): New functions.
5570         (hexl-mode): Mention the new variable.
5571         (hexl-mode, hexl-current-address, hexl-current-address):
5572         Use the displen.
5573         (hexl-ascii-start-column): New function.
5574         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5575         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5577 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5579         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5580         '("-i" ENCODING), in 2 separate command-line arguments, to specify
5581         the encoding, as expected by hunspell.
5583 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5585         * battery.el (battery--linux-sysfs-regexp): New const.
5586         (battery-status-function): Use it.  Remove yeeloong special case.
5587         (battery-yeeloong-sysfs): Remove.
5588         (battery-echo-area-format): Remove yeeloong special case.
5590 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5592         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5593         Reported by Noah Friedman.
5595         * subr.el (read-passwd): Use read-string.
5597 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5599         * vcursor.el (vcursor-move): Increase the priority of the overlay
5600         (bug#9663).
5602 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5604         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5605         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5607 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
5609         * textmodes/artist.el (artist-mode): Convert artist-mode to use
5610         define-minor-mode (bug#10760).
5612 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
5614         * progmodes/grep.el (rgrep): Tweak the find command line so
5615         that directories matching `grep-find-ignored-files' won't be
5616         pruned (bug#10351).
5618 2012-04-11  Chong Yidong  <cyd@gnu.org>
5620         * startup.el (command-line): Remove support for long-obsolete
5621         variable font-lock-face-attributes.
5623 2012-04-11  Glenn Morris  <rgm@gnu.org>
5625         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5627 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5629         * window.el (window--state-get-1): Obey window-point-insertion-type.
5631 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
5633         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5634         to previous function when point is on the first character of a
5635         function.  Take care of that in `narrow-to-defun' (bug#6157).
5637 2012-04-11  Glenn Morris  <rgm@gnu.org>
5639         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5640         not just file-errors.
5642         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5643         (vc-bzr-sha1): Use internal sha1.
5645 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5647         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5649 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
5651         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5652         that start in the middle of the line (bug#10496).
5654 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
5656         * battery.el (battery-linux-proc-acpi): Only one battery is
5657         discharged at a time, but that seems to confuse battery.el when
5658         computing `rate-type' for the battery not being discharged
5659         (bug#10332).
5661 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5663         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5665         * international/quail.el: Use dolist and simplify.
5666         (quail-define-package, quail-update-keyboard-layout)
5667         (quail-define-rules): Use dolist.
5668         (quail-insert-kbd-layout, quail-get-translation): CSE.
5670         * tmm.el: Use dolist, remove left over hook.
5671         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5672         Use dolist.
5673         (calendar-load-hook): Don't mess with it.
5675         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5676         Use derived-mode-p.  Run the diff asynchronously.
5678 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5680         * obsolete/mouse-sel.el: Add an Obsolete-since header.
5682 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
5684         * misc.el: Display absolute path of loaded DLLs (bug#10424).
5685         (list-dynamic-libraries--loaded): New function.
5686         (list-dynamic-libraries--refresh): Use it.
5688 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
5690         * progmodes/python.el (python-fill-paragraph):
5691         Make python-fill-region in a multiline string work when font-lock is
5692         disabled (bug#7018).
5694 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
5696         * language/european.el (cp775): Add oem/legacy (en)coding on
5697         DOS/MS Windows for the Baltic languages.  There are still plenty
5698         of texts written in this encoding/codepage (bug#6519).
5700 2012-04-10  Glenn Morris  <rgm@gnu.org>
5702         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5703         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5705 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
5707         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5708         next-line "n" and previous-line "p" in order to make recentf more
5709         consistent with ibuffer, dired or org-mode (bug#9387).
5711 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5713         * image.el (put-image): Return the overlay created instead of the
5714         optional input string (bug#7834).  Note that this may break code
5715         that is (for some reason or other) depending on `put-image'
5716         returning the string.
5718         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5720         * simple.el (zap-to-char): Allow zapping using input methods
5721         (bug#1580).
5723         * textmodes/fill.el (fill-region): Leave point and mark where they
5724         were before filling (bug#5399).
5726 2012-04-09  Glenn Morris  <rgm@gnu.org>
5728         * version.el (emacs-bzr-get-version):
5729         Handle lightweight checkouts of local branches.
5731 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
5733         * international/characters.el: Recover lost case pairs.  (Bug#11209)
5735 2012-04-09  Chong Yidong  <cyd@gnu.org>
5737         * custom.el (custom-variable-p): Return nil for non-symbol
5738         arguments instead of signaling an error.
5739         (user-variable-p): Obsolete alias for custom-variable-p.
5741         * apropos.el (apropos-variable):
5742         * files-x.el (read-file-local-variable):
5743         * simple.el (set-variable):
5744         * woman.el (woman-mini-help):
5745         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5747 2012-04-09  Glenn Morris  <rgm@gnu.org>
5749         * startup.el (normal-top-level): Don't look for leim-list.el
5750         in places where it will not be found.  (Bug#910)
5752         * international/mule-cmds.el (set-default-coding-systems):
5753         * files.el (normal-mode):
5754         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
5755         This function was removed with ucs-tables.el in 2008.
5757 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
5759         * textmodes/ispell.el (ispell-check-version): For hunspell, set
5760         ispell-encoding8-command to "-i", without a trailing space.
5761         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5762         separate command-line arguments, to specify the encoding, since
5763         that's how hunspell expects it.
5765 2012-04-08  Glenn Morris  <rgm@gnu.org>
5767         * loadup.el: Load bindings before cus-start.
5768         This reduces somewhat the number of "rogue" settings in emacs -Q.
5770 2012-04-07  Glenn Morris  <rgm@gnu.org>
5772         * version.el (emacs-bzr-get-version): New function.
5773         (emacs-bzr-version): New variable.
5774         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
5775         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5777 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
5779         * international/uni-bidi.el, international/uni-category.el:
5780         * international/uni-combining.el, international/uni-decimal.el:
5781         * international/uni-decomposition.el, international/uni-digit.el:
5782         * international/uni-lowercase.el, international/uni-mirrored.el:
5783         * international/uni-name.el, international/uni-numeric.el:
5784         * international/uni-titlecase.el, international/uni-uppercase.el:
5785         Update for Unicode 6.1.
5787 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
5789         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5791 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5793         * window.el (shrink-window): Mention the `window-min-height'
5794         variable in the doc string.
5796 2012-04-05  Bastien Guerry  <bzg@altern.org>
5798         * color.el (color-lighten-name): Fix typo.
5800 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5802         * server.el (server--on-display-p): New function.
5803         (server--on-display-p): Use it.
5805 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
5807         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5808         (bug#11145).
5810 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5812         * comint.el (comint--common-quoted-suffix): Check string boundary
5813         before comparing (bug#11158).
5814         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5816 2012-04-04  Chong Yidong  <cyd@gnu.org>
5818         * minibuffer.el (completion-extra-properties): Doc fix.
5820         * subr.el (delayed-warnings-hook): Doc fix.
5822 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
5824         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5825         selection (Bug#11159).
5826         (epa-insert-keys): Inform that the default public key will be
5827         exported if no key is selected.
5829 2012-04-04  Richard Stallman  <rms@gnu.org>
5831         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5833 2012-04-03  Chong Yidong  <cyd@gnu.org>
5835         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5836         mail-insert-file, not its obsolete alias mail-attach-file.
5838 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
5840         * notifications.el (notifications-notify): Fix docstring.
5842 2012-04-02  Glenn Morris  <rgm@gnu.org>
5844         * emacs-lisp/authors.el (authors-aliases): Another addition.
5846 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
5848         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5849         `tramp-compat-call-process' instead of `tramp-local-call-process'.
5850         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5852 2012-04-01  Chong Yidong  <cyd@gnu.org>
5854         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5855         Handle root directory properly.
5856         (copy-directory): Caller changed.
5858         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5859         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5861 2012-03-31  Glenn Morris  <rgm@gnu.org>
5863         * term/xterm.el (xterm-extra-capabilities): Doc fix.
5865         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
5867         * calendar/calendar.el (calendar-window-list)
5868         (calendar-hide-window): Restore.  (Bug#11140)
5869         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5871         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5873 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5875         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5876         Check if file is a symlink (Bug#10489).
5878         * files.el (copy-directory): Likewise.
5880 2012-03-30  Chong Yidong  <cyd@gnu.org>
5882         * image.el (imagemagick-types-inhibit)
5883         (imagemagick-register-types): Doc fix.
5885 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5887         * textmodes/ispell.el (ispell-get-extended-character-mode):
5888         Disable extended-char-mode for hunspell.  hunspell does not support it
5889         and treats ~word as ordinary words in pipe mode.
5891 2012-03-30  Glenn Morris  <rgm@gnu.org>
5893         * tutorial.el (help-with-tutorial): Ensure local variables don't
5894         happen to make the buffer read-only.  (Bug#11127)
5896 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5898         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5899         (perl-calculate-indent): Return `noindent' in strings.
5901 2012-03-28  Sam Steingold  <sds@gnu.org>
5903         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5904         instead of the broken adhockery which does not prevent calendar
5905         buffers from being displayed at random after exit.
5906         (calendar-window-list, calendar-hide-window): Remove the broken
5907         adhockery.
5909 2012-03-28  Glenn Morris  <rgm@gnu.org>
5911         * replace.el (query-replace-map): Doc fix.
5913 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
5915         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5916         contents.  (Bug#11109)
5918 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5920         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5921         (bug#11077).
5922         (avl-tree--check, avl-tree--check-node): New funs.
5924 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
5926         * window.el (switch-to-visible-buffer): New option.
5927         (switch-to-prev-buffer, switch-to-next-buffer):
5928         Observe switch-to-visible-buffer.  Make sure that checking for a window
5929         showing a buffer already is done on the same frame.
5931 2012-03-27  Glenn Morris  <rgm@gnu.org>
5933         * startup.el (mail-host-address): Doc fix.
5935 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5937         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5938         than 197 variables.
5940 2012-03-26  Ami Fischman  <ami@fischman.org>
5942         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5944 2012-03-26  Glenn Morris  <rgm@gnu.org>
5946         * files.el (save-buffers-kill-emacs): Doc fix.
5948         * startup.el (normal-top-level, command-line, command-line-1):
5949         Give them doc strings.
5951 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
5953         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5954         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5956 2012-03-25  Chong Yidong  <cyd@gnu.org>
5958         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5959         theme if it was previously enabled before (Bug#11031).
5961         * cus-theme.el (custom-theme-write-faces): Retrieve current face
5962         spec with custom-face-get-current-spec if its :shown-value is not
5963         determined yet (Bug#9337).
5964         (customize-create-theme, custom-theme-revert): Doc fixes.
5966         * button.el (button-at): Minor addition to docstring.
5968 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
5970         * vc/vc.el (vc-merge): Fix a prompt.
5972 2012-03-24  Chong Yidong  <cyd@gnu.org>
5974         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5975         point (Bug#9623).
5977         * button.el (button-at): Minor addition to docstring.
5979 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5981         * newcomment.el (comment-choose-indent): No space after BOL.
5983 2012-03-22  Sam Steingold  <sds@gnu.org>
5985         * window.el (switch-to-prev-buffer): Revert last patch because the
5986         bug turned out to be an advertised feature (Elisp manual 28.14).
5988 2012-03-22  Glenn Morris  <rgm@gnu.org>
5990         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
5991         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5993 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5995         * net/network-stream.el (network-stream-open-starttls): Make error
5996         message under Windows be less misleading.
5998 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
6000         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6001         understands (bug#9942).
6003 2012-03-22  Chong Yidong  <cyd@gnu.org>
6005         * simple.el (end-of-visible-line): Handle return value of
6006         next-single-property-change properly (Bug#9371).
6008 2012-03-22  Kenichi Handa  <handa@m17n.org>
6010         * international/quail.el (quail-insert-kbd-layout): Fix previous
6011         change.  To avoid unwanted bidi reordering, use
6012         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6014 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
6016         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6017         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6018         (ruby-beginning-of-indent): Be more careful with the difference
6019         between word-boundary and symbol boundary.
6020         (ruby-mode-syntax-table): Make : a symbol constituent.
6022 2012-03-21  Andreas Politz  <politza@fh-trier.de>
6024         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6026 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6028         * progmodes/etags.el (tags-completion-at-point-function):
6029         Improve last fix.
6031         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6033 2012-03-21  Sam Steingold  <sds@gnu.org>
6035         * progmodes/etags.el (tags-completion-at-point-function):
6036         Avoid the error when point is inside the pattern.
6038 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
6040         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6041         line (Bug#10855).
6043 2012-03-21  Drew Adams  <drew.adams@oracle.com>
6045         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6047 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
6049         * ido.el (ido-set-current-directory, ido-read-internal)
6050         (ido-choose-completion-string, ido-completion-help): Handle nil
6051         value of ido-completion-buffer (Bug#11008).
6053 2012-03-21  Sam Steingold  <sds@gnu.org>
6055         * window.el (switch-to-prev-buffer): Do not switch to a visible
6056         window previous buffer, just like with the frame previous buffers.
6058 2012-03-21  Chong Yidong  <cyd@gnu.org>
6060         * faces.el (make-face, make-empty-face, copy-face):
6061         * face-remap.el (face-remap-add-relative, face-remap-set-base):
6062         Doc fixes.
6064 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6066         * wid-edit.el (widget-complete-field): Remove (bug#11051).
6067         (widget-complete): Remove broken use of it.
6069 2012-03-20  Chong Yidong  <cyd@gnu.org>
6071         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6072         Use string-width and truncate-string-width to handle arbitrary
6073         characters.
6075 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
6077         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6078         to draw rectangles, not squares.  (Regression introduced by revno
6079         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6081 2012-03-18  Chong Yidong  <cyd@gnu.org>
6083         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6084         it is not yet defined (for temacs).
6086 2012-03-18  Leo Liu  <sdl.web@gmail.com>
6088         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
6090 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
6092         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6093         (ispell-choices-win-default-height, ispell-silently-savep)
6094         (ispell-dictionary-alist, ispell-encoding8-command)
6095         (ispell-check-version, ispell-aspell-find-dictionary)
6096         (ispell-valid-dictionary-list, ispell-words-keyword)
6097         (ispell-get-word, ispell-internal-change-dictionary)
6098         (ispell-region, ispell-skip-region-list)
6099         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6100         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6101         (ispell-message-text-end, ispell-message)
6102         (ispell-buffer-local-parsing): Doc fix.
6104 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
6106         * htmlfontify.el: Add support for code block fontification for ODT
6107         export (Bug #9914).
6108         (hfy-optimisations): Define new option
6109         `body-text-only'
6110         (hfy-fontify-buffer): Honor above setting.
6111         (hfy-begin-span, hfy-end-span): New routines factored out form
6112         `hfy-fontify-buffer'.
6113         (hfy-begin-span-handler, hfy-end-span-handler): New variables
6114         that permit insertion of custom tags.
6115         (hfy-fontify-buffer): Use above handlers.
6116         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6117         (hfy-face-to-css): Re-defined to be a variable.
6118         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
6119         over multiple runs.  This is made possible by having the caller let
6120         bind a special variable `hfy-user-sheet-assoc'.
6121         (htmlfontify-string): New defun.
6122         (hfy-compile-face-map): Make sure that the last char in the
6123         buffer is correctly fontified.
6124         (hfy-face-resolve-face): Whitespace only change.
6126 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
6128         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6129         message more clear.
6131 2012-03-16  Leo Liu  <sdl.web@gmail.com>
6133         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6135 2012-03-16  Alan Mackenzie  <acm@muc.de>
6137         Further optimise the handling of large macros.
6139         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6140         limit to a call of `c-literal-limits'.
6141         (c-determine-+ve-limit): New function.
6142         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6143         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
6144         In CASE 5B, restrict a search limit to 500.
6145         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6147         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6148         Restrict macro bounds to +-500 from after-change's BEG END.
6150 2012-03-16  Leo Liu  <sdl.web@gmail.com>
6152         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6154 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
6156         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
6157         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
6159 2012-03-16  Glenn Morris  <rgm@gnu.org>
6161         * view.el (view-buffer, view-buffer-other-window)
6162         (view-buffer-other-frame): Doc fixes re special mode-class.
6164         * subr.el (eval-after-load): If named feature is provided not from
6165         a file, run after-load forms.  (Bug#10946)
6167         * calendar/calendar.el (calendar-insert-at-column):
6168         Handle non-unit-width characters a bit better.  (Bug#10978)
6170 2012-03-15  Chong Yidong  <cyd@gnu.org>
6172         * emacs-lisp/ring.el (ring-extend): New function.
6173         (ring-insert+extend): Extend the ring correctly (Bug#11019).
6175         * comint.el (comint-read-input-ring)
6176         (comint-add-to-input-history): Grow comint-input-ring lazily.
6178 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6180         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6181         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6183         * imenu.el: Fix multiple inheritance breakage (bug#9199).
6184         (imenu-add-to-menubar): Don't add a redundant index.
6185         (imenu-update-menubar): Handle a dynamically composed keymap.
6187 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
6189         * mail/sendmail.el (mail-encode-header):
6190         Bind rfc2047-encode-encoded-words to nil.
6192 2012-03-13  Glenn Morris  <rgm@gnu.org>
6194         * calendar/calendar.el (calendar-string-spread):
6195         Handle non-unit-width characters a bit better.  (Bug#10978)
6197 2012-03-13  Leo Liu  <sdl.web@gmail.com>
6199         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6200         directory and file as argument (Bug#10822).
6202 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
6204         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6205         For dynamically generated code, follow $PC.
6206         (gdb-disassembly-handler-custom): Handle no function name case.
6208 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
6210         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6211         * emulation/ws-mode.el (ws-query-replace):
6212         * sort.el (sort-regexp-fields):
6213         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
6215 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6217         * dabbrev.el: Fix cycle completion order (bug#10963).
6218         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6219         (dabbrev-completion): Don't use an obarray; provide
6220         a cycle-sort-function.
6222 2012-03-12  Leo Liu  <sdl.web@gmail.com>
6224         * simple.el (kill-new): Use equal-including-properties for comparison.
6225         (kill-do-not-save-duplicates): Doc fix.
6227 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6229         * dabbrev.el: Fix cycle completion (bug#10963).
6230         Use lexical binding and wrap to 80 columns.
6231         (dabbrev-completion): Delay computing the list of completions.
6233 2012-03-12  Kenichi Handa  <handa@m17n.org>
6235         * international/quail.el (quail-insert-kbd-layout): Surround each
6236         row by LRO and PDF instead of inserting many LRMs.  Pad the left
6237         and right of each non-spacing marks.  Insert invisible space
6238         between lower and upper characters to prevent composition.
6240 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6242         * minibuffer.el (minibuffer-complete): Don't get confused when the
6243         function is run twice via different commands (bug#10958).
6244         (complete-with-action): Fix docstring.
6246 2012-03-12  Chong Yidong  <cyd@gnu.org>
6248         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6249         (nxml-completion-at-point-function): New function.
6250         (nxml-mode): Use it.
6251         (nxml-bind-meta-tab-to-complete-flag): Default to t.
6253         * emacs-lisp/package.el (package-unpack, package-unpack-single):
6254         Load generated autoloads file before byte compiling (Bug#10970).
6255         (package--make-autoloads-and-compile): New helper fun.
6257 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
6259         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6261 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
6263         * autorevert.el (auto-revert-handler): Ensure, that
6264         file-readable-p is applied only for local files or in
6265         auto-revert-tail-mode.
6267 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
6269         * server.el (server-eval-at): Handle non-tcp connections.
6270         Decode result string.
6272         * server.el (server-msg-size): New constant.
6273         (server-reply-print): New function.
6274         (server-eval-and-print): Use it.
6275         (server-eval-at): Use server-quote-arg and server-unquote-arg.
6276         Handle -print-nonl.
6278 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
6280         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6281         (Bug#10987).
6283 2012-03-11  Chong Yidong  <cyd@gnu.org>
6285         * simple.el (goto-line): Doc fix (Bug#9938).
6287         * subr.el (save-window-excursion): Doc fix (Bug#9979).
6289         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6290         when finished (Bug#10963).
6292 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
6294         * window.el (split-window-below): Fix bug in case where
6295         split-window-keep-point is nil (Bug#10971).
6297 2012-03-11  Juri Linkov  <juri@jurta.org>
6299         * replace.el (replace-highlight): Set isearch-word to nil
6300         unconditionally.  (Bug#10887)
6302 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
6304         * net/mairix.el (mairix-replace-invalid-chars): Rename from
6305         mairix-replace-illegal-chars; all callers changed.  Don't remove
6306         ^, ~, and = characters: they are meaningful in mairix search specs.
6307         (mairix-widget-create-query): Add usage information about mairix
6308         search forms: negating words, searching for substrings, etc.
6310 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
6312         * international/fontset.el (font-encoding-alist): Add an entry for
6313         ksx1001 (Bug#5667).
6315 2012-03-10  Richard Stallman  <rms@gnu.org>
6317         * mail/sendmail.el (mail-encode-header):
6318         Set rfc2047-encode-encoded-words.
6320         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6322         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6323         view buffer means not swapped.
6324         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6325         (rmail-write-region-annotate): Error if real text has disappeared.
6327         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6329 2012-03-10  Chong Yidong  <cyd@gnu.org>
6331         * emulation/cua-rect.el (cua--init-rectangles):
6332         * emulation/cua-base.el (cua--init-keymaps):
6333         Add delete-forward-char to remappings (Bug#9666).
6335 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
6337         * speedbar.el (speedbar-unhighlight-one-tag-line):
6338         Avoid unhighlighting due to frame switching (Bug#10275).
6340 2012-03-10  Chong Yidong  <cyd@gnu.org>
6342         * minibuffer.el (completion-in-region, completion-help-at-point):
6343         Give the completion field overlay a high priority (Bug#6830).
6345         * dired.el (dired-goto-file): Recognize absolute file name
6346         listings (Bug#7126).
6347         (dired-goto-file-1): New helper function.
6348         (dired-toggle-read-only): Inhibit warnings.
6350 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
6352         * net/dbus.el (dbus-property-handler): Return empty array if
6353         there are no properties.
6355 2012-03-09  Leo Liu  <sdl.web@gmail.com>
6357         * savehist.el (savehist-printable): Stricter check for string
6358         value (Bug#10937).
6360 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
6362         * mail/smtpmail.el (smtpmail-send-it):
6363         Bind coding-system-for-write to *-unix, so that FCC files are kept in
6364         valid mbox format.
6366 2012-03-09  Glenn Morris  <rgm@gnu.org>
6368         * files.el (dir-locals-find-file):
6369         Don't check result is regular, readable.
6370         (dir-locals-read-from-file): Demote errors.
6372 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
6374         * international/quail.el (quail-insert-kbd-layout):
6375         Insert invisible LRM characters before each character in a keyboard
6376         layout cell, to prevent their reordering by bidi display engine.
6377         For details, see the discussion in
6378         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6380 2012-03-08  Alan Mackenzie  <acm@muc.de>
6382         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6383         the starting position; make it extend the marked region when
6384         invoked repeatedly - all under appropriate circumstances.
6385         Fixes bugs #5525, #10906.
6387 2012-03-08  Glenn Morris  <rgm@gnu.org>
6389         * files.el (locate-dominating-file, dir-locals-find-file):
6390         Undo 2012-03-06 change.
6392 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
6394         * international/quail.el (quail-help):
6395         Force bidi-paragraph-direction be left-to-right.  See discussion in
6396         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6397         for the reason.
6399 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
6401         Avoid superfluous registering of signals.  (Bug#10807)
6403         * notifications.el (notifications-on-action-object)
6404         (notifications-on-close-object): New defvars.
6405         (notifications-on-action-signal, notifications-on-closed-signal):
6406         Unregister the signal if not needed any longer.
6407         (notifications-notify): Register `notifications-action-signal' or
6408         `notifications-closed-signal', if :on-action or :on-close has been
6409         passed as argument.
6411 2012-03-07  Chong Yidong  <cyd@gnu.org>
6413         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6414         non-X platforms.
6416 2012-03-06  Glenn Morris  <rgm@gnu.org>
6418         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6419         (x-disown-selection-internal, x-get-selection-internal):
6420         Doc fix (add arglist signatures).  (Bug#10783)
6422 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
6424         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6425         Handle breakpoints with no "type".
6427 2012-03-06  Glenn Morris  <rgm@gnu.org>
6429         * files.el (locate-dominating-file): Add optional predicate argument.
6430         (dir-locals-find-file): Make use of above change.
6432 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
6434         * info.el (Info-insert-dir): Also try "dir.gz".
6436 2012-03-06  Glenn Morris  <rgm@gnu.org>
6438         * files.el (dir-locals-find-file):
6439         Ignore non-readable or non-regular files.  (Bug#10928)
6441         * files.el (locate-dominating-file): Doc fix.
6443 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
6445         * calendar/calendar.el (calendar-set-mode-line):
6446         `getenv' returns a string.  (Bug#10951)
6448 2012-03-05  Leo Liu  <sdl.web@gmail.com>
6450         * simple.el (backward-delete-char-untabify): Constrain point to
6451         field (Bug#10939).
6453         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6455 2012-03-05  Chong Yidong  <cyd@gnu.org>
6457         * simple.el (count-words): If called from Lisp, return the word
6458         count, for symmetry with `count-lines'.  Arglist changed.
6459         (count-words--message): Args changed.  Consolidate counting code
6460         from count-words and count-words-region.
6461         (count-words-region): Caller changed.
6462         (count-lines-region): Make it an obsolete alias.
6464 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
6466         * saveplace.el (save-place-to-alist)
6467         (save-place-ignore-files-regexp): Allow value nil to disable this
6468         feature.
6470 2012-03-04  Chong Yidong  <cyd@gnu.org>
6472         * faces.el (face-spec-reset-face): For the default face, reset the
6473         attributes to default values (Bug#10748).
6475 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6477         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6478         previous patch: Check `message-send-mail-function', and not the
6479         default function (bug#10897).
6481 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
6483         * notifications.el (notifications-on-action-signal)
6484         (notifications-on-closed-signal): Check for unique service name of
6485         incoming event.  Fix error in removing entry.
6486         (top): Register for signals with wildcard service name.
6487         (notifications-notify): Use daemon unique service name for map entries.
6489 2012-03-04  Chong Yidong  <cyd@gnu.org>
6491         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
6493 2012-03-04  Glenn Morris  <rgm@gnu.org>
6495         * abbrev.el (copy-abbrev-table, abbrev-table-p)
6496         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6497         (expand-abbrev, define-abbrev-table): Doc fixes.
6499 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6501         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6502         `message-default-send-mail-function' and not `send-mail-function'
6503         when doing the prompting for `sendmail-query-once' before sending
6504         in Message buffers (bug#10897).
6506         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6507         This is inconsistent with all the other stream functions, which leave
6508         the setting up to the higher levels (if so wanted) (bug#10931).
6510 2012-03-02  Alan Mackenzie  <acm@muc.de>
6512         Depessimize the handling of very large macros.
6514         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6515         (c-macro-cache-syntactic): New variables to implement a one
6516         element macro cache.
6517         (c-invalidate-macro-cache): New function.
6518         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6519         Adapt to use the new cache.
6520         (c-state-safe-place): Use better the cache of safe positions.
6521         (c-state-semi-nonlit-pos-cache)
6522         (c-state-semi-nonlit-pos-cache-limit):
6523         New variables for...
6524         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
6525         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6526         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6527         Use c-state-semi-safe-place.
6529         * progmodes/cc-langs.el (c-get-state-before-change-functions):
6530         Add c-invalidate-macro-cache to the C, C++, Obj entries.
6532 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
6534         * jka-compr.el (jka-compr-call-process):
6535         Apply `file-accessible-directory-p' only when the default directory is
6536         not remote.
6538 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
6540         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
6541         access of FILE2, if FILE1 does not exist.
6543         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6544         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6546         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6547         Add "PAGER=" to `process-environment'.
6549 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
6551         * progmodes/sql.el: Bug fix
6552         (sql-get-login-ext): Save login values in globals.
6553         (sql-get-login): Use new version of `sql-get-login-ext'.
6554         (sql-interactive-mode): Set global `sql-connection' to nil.
6555         (sql-connect): Set global values for connection.
6556         (sql-product-interactive): Save global values as buffer local.
6558 2012-02-29  Leo Liu  <sdl.web@gmail.com>
6560         * abbrev.el (define-abbrevs): Reset sys to nil.
6562 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6564         * files.el (file-equal-p): Rename from `files-equal-p'.
6565         Return nil when one or both files don't exist.
6566         (file-subdir-of-p): Now only top directory must exists,
6567         return nil if it doesn't.
6568         (copy-directory): No need to test with `file-subdir-of-p' after
6569         creating dir.
6570         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6571         to `file-equal-p'.
6573 2012-02-28  Glenn Morris  <rgm@gnu.org>
6575         * shell.el (shell-mode):
6576         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6577         * play/landmark.el (landmark-font-lock-face-O):
6578         * play/handwrite.el (handwrite):
6579         * play/gomoku.el (gomoku-O):
6580         * net/browse-url.el (browse-url-browser-display):
6581         * international/mule.el (define-charset):
6582         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6583         * filesets.el (filesets-find-file-delay):
6584         * eshell/em-xtra.el (eshell-xtra):
6585         * eshell/em-unix.el (eshell-grep):
6586         * emulation/viper.el (viper-mode):
6587         * emacs-lisp/regexp-opt.el (regexp-opt-group):
6588         * emacs-lisp/easymenu.el (easy-menu-define):
6589         * calendar/timeclock.el (timeclock-use-display-time):
6590         * bs.el (bs-mode):
6591         * bookmark.el (bookmark-save-flag):
6592         Doc fix (standardize possessive apostrophe usage).
6594 2012-02-27  Chong Yidong  <cyd@gnu.org>
6596         * emulation/viper-cmd.el (viper-intercept-ESC-key):
6597         Fix key-binding lookup for ESC key (Bug#9146).
6599         * font-lock.el (font-lock-specified-p): Rename from
6600         font-lock-spec-present.  Callers changed.
6602 2012-02-27  Daniel Hackney  <dan@haxney.org>
6604         * emacs-lisp/package.el (package-compute-transaction):
6605         Handle holding a package version to t in package-load-list.
6607 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
6609         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6610         (tramp-get-inode, tramp-get-device): Use cached values.
6612 2012-02-26  Alan Mackenzie  <acm@muc.de>
6614         Check there is a font-lock specification before doing initial
6615         fontification.
6617         * font-core.el (font-lock-mode): Move the conditional from
6618         :after-hook to font-lock-initial-fontify.
6619         (font-lock-default-function): Move the check for a specification
6620         to font-lock-spec-present.
6622         * font-lock.el (font-lock-initial-fontify): Call ...
6623         (font-lock-spec-present): New function.
6625 2012-02-26  Jim Blandy  <jimb@red-bean.com>
6627         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6628         (gdb-send): Apply it to the operand of the '-interpreter-exec
6629         console' command, so that we can pass arguments with (say) quotes
6630         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
6632 2012-02-26  Chong Yidong  <cyd@gnu.org>
6634         * help-fns.el (describe-function-1): Clarify description of
6635         remapping (Bug#10844).
6637         * files.el (files-equal-p): Doc fix.
6638         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
6639         and quit the loop once a mismatch is found.
6641 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
6643         * bs.el (bs--show-with-configuration): Don't throw an error
6644         if the window cannot be split; otherwise, subsequent calls to
6645         bs-show fail, restoring a stale window config.  (Bug#10882)
6647 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
6649         * term/ns-win.el (global-map): Bind ns-drag-file to
6650         ns-find-file (Bug#5855, Bug#10050).
6652 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
6654         * calendar/parse-time.el (parse-time-string): Allow extractor to
6655         return nil.
6657 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
6659         * net/tramp.el (tramp-file-name-for-operation):
6660         Add `files-equal-p' and `file-subdir-of-p'.
6662         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6663         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6664         Add COPY-CONTENTS argument.
6666 2012-02-25  Chong Yidong  <cyd@gnu.org>
6668         Add custom groups for VC backends, for consistency with vc-bzr.
6670         * vc/vc-arch.el (vc-arch):
6671         * vc/vc-cvs.el (vc-cvs):
6672         * vc/vc-git.el (vc-git):
6673         * vc/vc-hg.el (vc-hg):
6674         * vc/vc-mtn.el (vc-mtn):
6675         * vc/vc-rcs.el (vc-rcs):
6676         * vc/vc-sccs.el (vc-sccs):
6677         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6678         All relevant defcustoms reassigned.
6680 2012-02-25  Chong Yidong  <cyd@gnu.org>
6682         * newcomment.el (comment-styles): Add autoload (Bug#10868).
6684         * term/x-win.el (x-initialize-window-system): Reduce default for
6685         x-selection-timeout to 5 seconds (Bug#8869).
6687 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6689         * files.el (files-equal-p, file-subdir-of-p): New functions.
6690         (copy-directory): Error when trying to copy a directory on itself.
6691         Add missing copy-contents arg to tramp handler.
6692         * dired-aux.el (dired-copy-file-recursive): Same.
6693         (dired-create-files): Modify destination when source is equal to
6694         dest when copying files.
6695         Return also when dest is a subdir of source.  (Bug#10489)
6697 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
6699         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6700         (Bug#10874)
6702 2012-02-23  Alan Mackenzie  <acm@muc.de>
6704         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6705         parameter "after-hook:" to allow the expansion to run code after
6706         the execution of the mode hooks.
6708         * font-lock.el (font-lock-initial-fontify): New function extracted
6709         from font-lock-mode-internal.
6711         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6712         :after-hook.
6714 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6716         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6717         (completion--cache-all-sorted-completions): New function.
6718         (completion-all-sorted-completions): Use it.
6719         (completion--do-completion, minibuffer-force-complete):
6720         Use it to re-instate the flush hook.
6722         * icomplete.el (icomplete-completions): Replace last fix with a better
6723         one (bug#10850).
6725 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
6727         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6728         when it might call us back infinitely (bug#10797).
6730 2012-02-23  Glenn Morris  <rgm@gnu.org>
6732         * minibuffer.el (completion-category-overrides): Doc fix.
6734 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6736         * minibuffer.el (completion-table-with-context): Fix inf-loop.
6737         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6739 2012-02-23  Glenn Morris  <rgm@gnu.org>
6741         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6742         (authors-obsolete-files-regexps, authors-ignored-files)
6743         (authors-ambiguous-files, authors-renamed-files-alist):
6744         Add more entries.
6746 2012-02-23  Juri Linkov  <juri@jurta.org>
6748         * isearch.el (isearch-occur): Sync interactive spec with occur's
6749         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
6751         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6753 2012-02-22  Juri Linkov  <juri@jurta.org>
6755         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6756         (ucs-insert): Doc fix.  Check for hex digits in the string.
6757         Don't display `nil' in the error message.  (Bug#10857)
6759 2012-02-22  Alan Mackenzie  <acm@muc.de>
6761         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6763 2012-02-22  Glenn Morris  <rgm@gnu.org>
6765         * ffap.el (ffap-c-path):
6766         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
6768 2012-02-22  Chong Yidong  <cyd@gnu.org>
6770         * custom.el (load-theme): Doc fix.
6772 2012-02-22  Glenn Morris  <rgm@gnu.org>
6774         * dired-x.el (dired-guess-shell-alist-default):
6775         Remove escape sequences from nroff output.  (Bug#172)
6777 2012-02-21  Glenn Morris  <rgm@gnu.org>
6779         * vc/emerge.el (emerge-defvar-local):
6780         Set `permanent-local' property rather than unused `preserved'.
6782         * textmodes/picture.el (picture-delete-char): New alias.
6783         (picture-mode-map): Use it.  (Bug#10860)
6784         (picture-mode): Doc fix.
6786 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
6788         * newcomment.el (uncomment-region-default): Remove unused binding.
6790 2012-02-21  Glenn Morris  <rgm@gnu.org>
6792         * textmodes/picture.el (picture-motion, picture-motion-reverse)
6793         (picture-self-insert, picture-tab-chars): Doc fix.
6794         (picture-mode-map): Fix C-a, C-e.
6796 2012-02-20  Glenn Morris  <rgm@gnu.org>
6798         * emacs-lisp/authors.el (authors-aliases): Add another entry.
6800 2012-02-20  Leo Liu  <sdl.web@gmail.com>
6802         * icomplete.el (icomplete-completions): Check FROM arg before
6803         passing to substring (Bug#10850).
6805 2012-02-19  Chong Yidong  <cyd@gnu.org>
6807         * comint.el: Require ansi-color.
6808         (comint-output-filter-functions): Add ansi-color-process-output.
6810         * ansi-color.el: Don't set comint-output-filter-functions; it is
6811         now in the initial value defined in comint.el.
6812         (ansi-color-apply-face-function): New variable.
6813         (ansi-color-apply-on-region): Use it.
6814         (ansi-color-apply-overlay-face): New function.
6816         * shell.el (shell): No need to require ansi-color.
6817         (shell-mode): Use ansi-color-apply-face-function to highlight
6818         color escapes using font-lock-face property (Bug#10835).
6820 2012-02-19  Chong Yidong  <cyd@gnu.org>
6822         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6823         mode-line formats (Bug#10839).
6825 2012-02-18  Glenn Morris  <rgm@gnu.org>
6827         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6829         * mail/undigest.el (unforward-rmail-message): Doc fix.
6831         * saveplace.el (save-place-ignore-files-regexp): Add :version.
6833 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
6835         * international/characters.el (script-list): Sync with the latest
6836         Unicode Character Database.
6838 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
6840         * international/titdic-cnv.el: Remove duplicate coding tag.
6841         * language/cham.el: Likewise.
6842         * language/tai-viet.el: Likewise.
6844 2012-02-18  Glenn Morris  <rgm@gnu.org>
6846         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6847         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6848         (calendar-bahai-all-holidays-flag, calendar-other-dates):
6849         * calendar/diary-lib.el (diary-abbreviated-year-flag):
6850         * calendar/holidays.el (holiday-bahai-holidays)
6851         (calendar-holidays, list-holidays):
6852         Use utf-8 Bahá'í in doc-strings, menus, etc.
6854 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
6856         * saveplace.el (save-place-ignore-files-regexp): New variable
6857         allowing for excluding files from saving their location of point.
6858         The default value matches the temporary commit message editing
6859         files from Git, SVN, Bazaar, and Mercurial.
6860         (save-place-to-alist): Use it.
6862 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
6863             Stefan Monnier  <monnier@iro.umontreal.ca>
6865         * newcomment.el (uncomment-region-default): Don't leave extra space
6866         when an arg is provided (bug#8150).
6868 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
6870         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6872 2012-02-17  Glenn Morris  <rgm@gnu.org>
6874         * net/socks.el: Require network-stream.  (Bug#10599)
6876 2012-02-17  Kenichi Handa  <handa@m17n.org>
6878         * international/charprop.el:
6879         * international/uni-name.el:
6880         * international/uni-old-name.el:
6881         * international/uni-comment.el: Regenerate.
6883 2012-02-16  Glenn Morris  <rgm@gnu.org>
6885         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6886         Interactively in calendar buffer, give an error if not on a date.
6888 2012-02-15  Glenn Morris  <rgm@gnu.org>
6890         * shell.el (shell-delimiter-argument-list):
6891         Revert 2011-02-17 change.  (Bug#8027)
6893 2012-02-15  Chong Yidong  <cyd@gnu.org>
6895         * minibuffer.el (completion-at-point-functions): Doc fix.
6897         * custom.el (defcustom): Doc fix; note use of defvar.
6899 2012-02-15  Glenn Morris  <rgm@gnu.org>
6901         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6902         Doc fixes.
6904 2012-02-14  Glenn Morris  <rgm@gnu.org>
6906         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6908 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
6910         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6911         way the ports list is computed.
6912         (smtpmail-query-smtp-server): Prompt the user for a port number if
6913         we can't connect to any of the standard ports (bug#10810).
6915 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
6917         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6919 2012-02-13  Glenn Morris  <rgm@gnu.org>
6921         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
6923 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
6925         * net/gnutls.el (gnutls-trustfiles): New variable.
6926         (gnutls-negotiate): Use it.
6928 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6930         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6931         does its stuff if Gnus is running.
6933 2012-02-13  Alan Mackenzie  <acm@muc.de>
6935         Fix a loop in c-set-fl-decl-start.
6937         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6938         c-backward-syntactic-ws actually moves backwards.
6940 2012-02-13  Leo Liu  <sdl.web@gmail.com>
6942         * net/rcirc.el (rcirc-markup-attributes): Move point to the
6943         beginning so that all \C-o chars are removed.
6945 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
6947         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6949 2012-02-12  Alan Mackenzie  <acm@muc.de>
6951         Fix infinite loop with long macros.
6952         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6954 2012-02-12  Chong Yidong  <cyd@gnu.org>
6956         * window.el (display-buffer): Doc fix (Bug#10785).
6958 2012-02-12  Glenn Morris  <rgm@gnu.org>
6960         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6961         (x-disown-selection-internal, x-get-selection-internal):
6962         Sync docs with the xselect.c versions.
6964         * allout-widgets.el: Add missing license notice.
6966 2012-02-11  Glenn Morris  <rgm@gnu.org>
6968         * select.el (x-get-selection-internal, x-own-selection-internal)
6969         (x-disown-selection-internal):
6970         * x-dnd.el (x-get-selection-internal): Update declarations.
6972         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6974         * window.el (window-sides-slots):
6975         * tool-bar.el (tool-bar-position):
6976         * term/xterm.el (xterm-extra-capabilities):
6977         * ses.el (ses-self-reference-early-detection):
6978         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6979         (verilog-auto-wire-type)
6980         (verilog-auto-delete-trailing-whitespace)
6981         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6982         (verilog-auto-tieoff-declaration):
6983         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6984         (sql-oracle-statement-starters, sql-oracle-scan-on):
6985         * progmodes/prolog.el (prolog-align-comments-flag)
6986         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6987         (prolog-left-indent-regexp, prolog-paren-indent-p)
6988         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6989         (prolog-types, prolog-mode-specificators)
6990         (prolog-determinism-specificators, prolog-directives)
6991         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6992         (prolog-electric-dot-flag)
6993         (prolog-electric-dot-full-predicate-template)
6994         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6995         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6996         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6997         (prolog-program-switches, prolog-prompt-regexp)
6998         (prolog-debug-on-string, prolog-debug-off-string)
6999         (prolog-trace-on-string, prolog-trace-off-string)
7000         (prolog-zip-on-string, prolog-zip-off-string)
7001         (prolog-use-standard-consult-compile-method-flag)
7002         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7003         (prolog-imenu-max-lines, prolog-info-predicate-index)
7004         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7005         (prolog-char-quote-workaround):
7006         * progmodes/cc-vars.el (c-defun-tactic):
7007         * net/tramp.el (tramp-encoding-command-interactive)
7008         (tramp-local-end-of-line):
7009         * net/soap-client.el (soap-client):
7010         * net/netrc.el (netrc-file):
7011         * net/gnutls.el (gnutls):
7012         * minibuffer.el (completion-category-overrides)
7013         (completion-cycle-threshold)
7014         (completion-pcm-complete-word-inserts-delimiters):
7015         * man.el (Man-name-local-regexp):
7016         * mail/feedmail.el (feedmail-display-full-frame):
7017         * international/characters.el (glyphless-char-display-control):
7018         * eshell/em-ls.el (eshell-ls-date-format):
7019         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7020         (lisp-lambda-list-keyword-parameter-indentation)
7021         (lisp-lambda-list-keyword-parameter-alignment):
7022         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7023         * dired-x.el (dired-omit-verbose):
7024         * cus-theme.el (custom-theme-allow-multiple-selections):
7025         * calc/calc.el (calc-highlight-selections-with-faces)
7026         (calc-lu-field-reference, calc-lu-power-reference)
7027         (calc-note-threshold):
7028         * battery.el (battery-mode-line-limit):
7029         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7030         (archive-7z-update):
7031         * allout.el (allout-prefixed-keybindings)
7032         (allout-unprefixed-keybindings)
7033         (allout-inhibit-auto-fill-on-headline)
7034         (allout-flattened-numbering-abbreviation):
7035         * allout-widgets.el (allout-widgets-auto-activation)
7036         (allout-widgets-icons-dark-subdir)
7037         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7038         (allout-widgets-theme-dark-background)
7039         (allout-widgets-theme-light-background)
7040         (allout-widgets-item-image-properties-emacs)
7041         (allout-widgets-item-image-properties-xemacs)
7042         (allout-widgets-run-unit-tests-on-load)
7043         (allout-widgets-time-decoration-activity)
7044         (allout-widgets-hook-error-post-time)
7045         (allout-widgets-track-decoration):
7046         Add missing :version tags to new defcustoms and defgroups.
7048         * progmodes/sql.el (sql-ansi-statement-starters)
7049         (sql-oracle-statement-starters): Add custom type.
7051         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7052         (prolog-system-version): Give it a type.
7054 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
7056         * term/pc-win.el (x-select-text, x-selection-owner-p)
7057         (x-own-selection-internal, x-disown-selection-internal)
7058         (x-get-selection-internal): Sync doc strings and argument lists
7059         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
7061 2012-02-11  Leo Liu  <sdl.web@gmail.com>
7063         * progmodes/python.el (python-end-of-statement): Fix infinite
7064         loop.  (Bug#10788)
7066 2012-02-10  Glenn Morris  <rgm@gnu.org>
7068         * international/mule-cmds.el (unify-8859-on-encoding-mode)
7069         (unify-8859-on-decoding-mode): Properly mark as obsolete.
7071 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
7073         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7074         about SMTP before checking the From header.
7076         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
7077         into own function for reuse by emacsbug.el.
7079 2012-02-10  Leo Liu  <sdl.web@gmail.com>
7081         * subr.el (condition-case-unless-debug): Rename from
7082         condition-case-no-debug.  All callers changed.
7083         (with-demoted-errors): Fix caller.
7085         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7086         * nxml/rng-valid.el (rng-do-some-validation):
7087         * emacs-lisp/package.el (package-refresh-contents)
7088         (package-menu-execute):
7089         * desktop.el (desktop-create-buffer):
7090         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
7092 2012-02-10  Glenn Morris  <rgm@gnu.org>
7094         * textmodes/bibtex.el:
7095         Add missing :version tags for new/changed defcustoms.
7097         * files.el (remote-file-name-inhibit-cache): Doc fixes.
7099 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
7101         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7102         (smtpmail-via-smtp): Use it, or fall back on the From address.
7103         (smtpmail-send-it): Ditto.
7105 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7107         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7108         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
7109         (byte-compile-tmp-var): New const.
7110         (byte-compile-defvar): Use it to minimize .elc size.
7111         Just use `defvar' rather than simulate it (bug#10761).
7113 2012-02-09  Glenn Morris  <rgm@gnu.org>
7115         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
7117         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7118         Add :version tags.
7120         * progmodes/compile.el (compilation-error-screen-columns)
7121         (compilation-first-column, compilation-filter-start): Doc fixes.
7123         * vc/log-view.el (log-view-toggle-entry-display):
7124         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7126         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7127         (report-emacs-bug-can-use-xdg-email):
7128         (report-emacs-bug-insert-to-mailer): Doc fixes.
7129         (report-emacs-bug): Message fix.
7131         * net/browse-url.el (browse-url-can-use-xdg-open)
7132         (browse-url-xdg-open): Doc fixes.
7134         * electric.el (electric-indent-mode, electric-pair-mode)
7135         (electric-layout-rules, electric-layout-mode): Doc fixes.
7136         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7138 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
7140         * server.el (server-unselect-display): Don't inadvertently kill
7141         the current buffer.  (Bug#10729)
7143 2012-02-08  Glenn Morris  <rgm@gnu.org>
7145         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7146         (sql-list-table): Doc fixes.
7148         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7149         Comment out (does nothing).
7151         * completion.el (dynamic-completion-mode):
7152         * dirtrack.el (dirtrack-debug-mode):
7153         * electric.el (electric-layout-mode):
7154         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7155         * face-remap.el (text-scale-mode, buffer-face-mode):
7156         * iimage.el (iimage-mode):
7157         * image-mode.el (image-transform-mode):
7158         * minibuffer.el (completion-in-region-mode):
7159         * scroll-lock.el (scroll-lock-mode):
7160         * simple.el (next-error-follow-minor-mode):
7161         * tar-mode.el (tar-subfile-mode):
7162         * tooltip.el (tooltip-mode):
7163         * vcursor.el (vcursor-use-vcursor-map):
7164         * wid-browse.el (widget-minor-mode):
7165         * emulation/tpu-edt.el (tpu-edt-mode):
7166         * emulation/tpu-extras.el (tpu-cursor-free-mode):
7167         * international/iso-ascii.el (iso-ascii-mode):
7168         * language/thai-util.el (thai-word-mode):
7169         * mail/supercite.el (sc-minor-mode):
7170         * net/goto-addr.el (goto-address-mode):
7171         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7172         * progmodes/cwarn.el (cwarn-mode):
7173         * progmodes/flymake.el (flymake-mode):
7174         * progmodes/glasses.el (glasses-mode):
7175         * progmodes/hideshow.el (hs-minor-mode):
7176         * progmodes/pascal.el (pascal-outline-mode):
7177         * textmodes/enriched.el (enriched-mode):
7178         * vc/smerge-mode.el (smerge-mode):
7179         Doc fixes (minor mode argument).
7181 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
7183         * ls-lisp.el (ls-lisp-sanitize): New function.
7184         (ls-lisp-insert-directory): Use it to fix or remove any elements
7185         in file-alist with missing attributes.  (Bug#4673)
7187 2012-02-07  Alan Mackenzie  <acm@muc.de>
7189         Fix spurious recognition of c-in-knr-argdecl.
7191         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7192         putative K&R region.
7194 2012-02-07  Alan Mackenzie  <acm@muc.de>
7196         * progmodes/cc-engine.el (c-forward-objc-directive):
7197         Prevent looping in "#pragma mark @implementation".
7199 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
7201         * notifications.el (notifications-on-closed-signal): Make `reason'
7202         optional.  (Bug#10744)
7204 2012-02-07  Glenn Morris  <rgm@gnu.org>
7206         * emacs-lisp/easy-mmode.el (define-minor-mode):
7207         Doc fixes for the macro and the mode it defines.
7209         * image.el (imagemagick-types-inhibit): Doc fix.
7211         * cus-start.el (imagemagick-render-type): Add it.
7213 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
7215         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7216         Set the default at load time, too, so that `font-lock-fontify-buffer'
7217         can be called without setting up the entire mode first.  This fixes
7218         a bug in `mm-inline-text' with C MIME parts.
7220 2012-02-06  Chong Yidong  <cyd@gnu.org>
7222         * simple.el (list-processes--refresh): Delete exited processes
7223         (Bug#8094).
7225         * comint.el (comint-next-prompt): next-single-char-property-change
7226         and prev-single-char-property-change never return nil (Bug#8657).
7228         * custom.el (defcustom): Doc fix (Bug#9711).
7230 2012-02-05  Chong Yidong  <cyd@gnu.org>
7232         * cus-edit.el (custom-variable-reset-backup): Quote the value
7233         before storing it in the customized-value property (Bug#6712).
7234         (custom-display): Add a customization type tag.
7235         (custom-buffer-create-internal): Improve tooltip message.
7237         * wid-edit.el (widget-field-value-get): New optional arg to
7238         suppress trailing whitespace truncation.
7239         (character): Use it (Bug#2689).
7241 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
7243         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7244         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7246 2012-02-05  Chong Yidong  <cyd@gnu.org>
7248         * cus-edit.el (custom-variable-value-create): For mismatched
7249         types, show the current value (Bug#7600).
7251         * custom.el (defcustom): Doc fix.
7253 2012-02-05  Glenn Morris  <rgm@gnu.org>
7255         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7257 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
7259         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7260         (pp-buffer): Use `ignore-errors', `looking-at-p'.
7261         (pp-last-sexp): Use `looking-at-p'.
7263 2012-02-04  Glenn Morris  <rgm@gnu.org>
7265         * files.el (revert-buffer):
7266         Doc fix (mention revert-buffer-in-progress-p).
7268         * emacs-lisp/ert-x.el (ert-simulate-command):
7269         Check deferred-action-list (which is obsolete) is bound.
7271         * subr.el (with-wrapper-hook): Doc fixes.
7273         * simple.el (filter-buffer-substring-functions)
7274         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7276 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
7278         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7279         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
7281 2012-02-04  Leo Liu  <sdl.web@gmail.com>
7283         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7285 2012-02-04  Glenn Morris  <rgm@gnu.org>
7287         * image.el (image-extension-data): Add obsolete alias.
7289         * isearch.el (isearch-update): Doc fix.
7291         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7293         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7295 2012-02-03  Glenn Morris  <rgm@gnu.org>
7297         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
7298         (image-animate-timeout): Doc fix.
7300         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7302 2012-02-02  Glenn Morris  <rgm@gnu.org>
7304         * server.el (server-auth-dir): Doc fix.
7305         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
7307         * subr.el (run-mode-hooks): Doc fix.
7309 2012-02-02  Juri Linkov  <juri@jurta.org>
7311         * image-mode.el (image-toggle-display-image): Remove tautological
7312         `major-mode' from the `derived-mode-p' test.
7314 2012-02-02  Kenichi Handa  <handa@m17n.org>
7316         * composite.el (compose-region): Cancel previous change.
7318 2012-02-02  Kenichi Handa  <handa@m17n.org>
7320         * composite.el (compose-region, compose-string): Signal error for
7321         a null string component (Bug#6988).
7323 2012-02-01  Chong Yidong  <cyd@gnu.org>
7325         * view.el (view-buffer-other-window, view-buffer-other-frame):
7326         Handle special modes like view-buffer (Bug#10650).
7327         (view-buffer): Simplify.
7329         * frame.el (set-frame-font): Tweak meaning of third argument.
7331         * dynamic-setting.el (font-setting-change-default-font):
7332         Use set-frame-font (Bug#9982).
7334 2012-02-01  Glenn Morris  <rgm@gnu.org>
7336         * progmodes/compile.el (compilation-internal-error-properties):
7337         Respect compilation-first-column in the "*compilation*" buffer.
7339         * emacs-lisp/easy-mmode.el (define-minor-mode):
7340         Relax :variable's test for a named function.
7342 2012-01-31  Alan Mackenzie  <acm@muc.de>
7344         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7345         off by one error.
7347 2012-01-31  Chong Yidong  <cyd@gnu.org>
7349         * frame.el (set-frame-font): New arg ALL-FRAMES.
7351         * menu-bar.el (menu-set-font): Use set-frame-font.
7353         * faces.el (face-spec-reset-face): Don't apply unspecified
7354         attribute values to the default face.
7356 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
7358         * progmodes/cwarn.el (cwarn): Remove dead link.
7359         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7360         Remove * from defcustom docstrings.
7361         (turn-on-cwarn-mode): Make obsolete.
7362         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7363         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7365 2012-01-31  Glenn Morris  <rgm@gnu.org>
7367         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
7368         Fix :variable handling of mode a symbol not equal to modefun.
7369         Allow named functions to be used as the cdr of :variable.
7371 2012-01-30  Glenn Morris  <rgm@gnu.org>
7373         * emacs-lisp/authors.el (authors-fixed-entries):
7374         Remove reference to deleted file rnewspost.el.
7376 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
7378         * window.el (window-with-parameter): Remove unused variable `windows'.
7379         (window--side-check): Remove unused variable `code'.
7380         (window--resize-siblings): Remove unused variable `first'.
7381         (adjust-window-trailing-edge): Remove unused variable `failed'.
7382         (window-deletable-p, window--delete): Remove unused variable `buffer'.
7383         Use `let', not `let*'.
7384         (balance-windows-2): Remove unused variable `found'.
7385         (window--state-put-2): Remove unused variable `splits'.
7386         (window-state-put): Remove unused variable `selected'.
7387         (same-window-p): Use `string-match-p'.
7388         (display-buffer-assq-regexp): Remove unused variable `value'.
7389         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7390         Mark argument ALIST as ignored.
7391         (pop-to-buffer): Remove unused variable `old-window'.
7393 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
7395         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7396         and .lzma compressed files.
7398 2012-01-29  Chong Yidong  <cyd@gnu.org>
7400         * frame.el (window-system-default-frame-alist): Doc fix.
7402         * dynamic-setting.el (font-setting-change-default-font): Don't
7403         change the default face if SET-FONT argument is non-nil (Bug#9982).
7405 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
7407         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7409 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
7411         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7412         breakpoints in files outside current directory (Bug#6098).
7414 2012-01-29  Chong Yidong  <cyd@gnu.org>
7416         * progmodes/python.el: Require ansi-color at top-level.
7418         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7419         Define and use in Emacs Lisp mode (Bug#9360).
7420         (lisp-mode-abbrev-table): Add doc.
7421         (lisp-mode-variables): Don't set local-abbrev-table.
7422         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7424 2012-01-28  Roland Winkler  <winkler@gnu.org>
7426         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7428 2012-01-28  Roland Winkler  <winkler@gnu.org>
7430         * textmodes/bibtex.el (bibtex-entry-alist): New function.
7431         (bibtex-set-dialect): Use it.  Either set global values of
7432         dialect-dependent variables or bind these variables buffer-locally
7433         (Bug#10254).
7434         (bibtex-mode): Call bibtex-set-dialect via
7435         hack-local-variables-hook.
7436         (bibtex-dialect): Update docstring.
7437         Add safe-local-variable predicate.
7438         (bibtex-entry-alist, bibtex-field-alist): Initialize via
7439         bibtex-set-dialect.
7440         (bibtex-mode-map): Define menu for each dialect.
7441         (bibtex-entry): Fix docstring.
7443 2012-01-28  Chong Yidong  <cyd@gnu.org>
7445         * eshell/esh-arg.el (eshell-quote-argument): New function.
7447         * eshell/esh-ext.el (eshell-invoke-batch-file):
7448         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7449         first arg to eshell-parse-command (Bug#10523).
7451 2012-01-28  Drew Adams  <drew.adams@oracle.com>
7453         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7454         `default-directory' is non-nil.
7456 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
7458         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7459         line that displays system-configuration-options.  (Bug#9924)
7461 2012-01-28  Drew Adams  <drew.adams@oracle.com>
7463         * descr-text.el (describe-char): Show information about POS, in
7464         addition to information about the character at POS.  Improve and
7465         update the doc string.  Change "code point" to "code point in
7466         charset", to avoid confusion with the character's Unicode code
7467         point shown above that.  (Bug#10129)
7469 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
7471         * descr-text.el (describe-char): Show the raw character, not only
7472         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
7473         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7474         for the reasons.
7476 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
7478         * emacs-lisp/package.el (package-install):
7479         Run package-refresh-contents if there is no archive yet (Bug#9798).
7481 2012-01-28  Chong Yidong  <cyd@gnu.org>
7483         * emacs-lisp/package.el (package-maybe-load-descriptor):
7484         New function, split from package-maybe-load-descriptor.
7485         (package-maybe-load-descriptor): Use it.
7486         (package-download-transaction): Fully load required packages
7487         inside the loop, so that `require' calls work (Bug#10593).
7488         (package-install): No need to call package-initialize now.
7490 2012-01-28  Chong Yidong  <cyd@gnu.org>
7492         * simple.el (deactivate-mark): Doc fix (Bug#8614).
7494         * tooltip.el (tooltip-mode): Doc fix.
7495         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7497         * frame.el (set-cursor-color): Doc fix (Bug#352).
7499         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7500         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7502         * cus-edit.el (custom-buffer-create-internal): Fix search button
7503         action (Bug#10542).
7504         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7506 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
7508         * dired.el (dired-mark-files-regexp):
7509         Include any subdirectory components.  (Bug#10445)
7511 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
7513         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7514         Handle [host]:port syntax.  (Bug#10533)
7516 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
7518         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7520 2012-01-26  Glenn Morris  <rgm@gnu.org>
7522         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7523         * term.el (term-raw-escape-map): Use Control-X-prefix.
7524         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
7526 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
7528         * window.el (window-state-get, window--state-get-1): Don't deal
7529         with fixed-sizeness of windows.  Simplify code.
7531 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
7533         * window.el (window--state-get-1, window--state-put-2):
7534         Don't save and restore the mark.
7536 2012-01-25  Chong Yidong  <cyd@gnu.org>
7538         * custom.el (custom-variable-p): Doc fix.
7540 2012-01-25  Glenn Morris  <rgm@gnu.org>
7542         * dired.el (dired-goto-file): Handle some of the more common
7543         characters that `ls -b' escapes.  (Bug#10596)
7545         * progmodes/compile.el (compilation-next-error-function):
7546         Respect compilation-first-column in the "*compilation*" buffer.
7547         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
7549         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
7551 2012-01-24  Glenn Morris  <rgm@gnu.org>
7553         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
7555 2012-01-24  Julien Danjou  <julien@danjou.info>
7557         * color.el (color-rgb-to-hsl): Fix value computing.
7558         (color-hue-to-rgb): New function.
7559         (color-hsl-to-rgb): New function.
7560         (color-clamp, color-saturate-hsl, color-saturate-name)
7561         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7562         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7564 2012-01-24  Glenn Morris  <rgm@gnu.org>
7566         * vc/vc-rcs.el (vc-rcs-create-tag):
7567         * vc/vc-sccs.el (vc-sccs-create-tag):
7568         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
7570 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
7572         * eshell/esh-util.el (eshell-read-hosts-file):
7573         Skip comment lines.  (Bug#10549)
7575         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
7577 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
7579         * subr.el (display-delayed-warnings): Doc fix.
7580         (collapse-delayed-warnings): New function to collapse identical
7581         adjacent warnings.
7582         (delayed-warnings-hook): Add it.
7584 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
7586         * net/tramp.el (tramp-action-login): Set connection property "login-as".
7588         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7589         (tramp-default-user-alist): Don't add "pscp".
7590         (tramp-do-copy-or-rename-file-out-of-band): Use connection
7591         property "login-as", if set.  (Bug#10530)
7593 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
7595         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7596         "plink1" and "psftp".  (Bug#10530)
7598 2012-01-21  Kenichi Handa  <handa@m17n.org>
7600         * international/mule-cmds.el (prefer-coding-system): Show a
7601         warning message if the default value of file-name-coding-system
7602         was not changed.
7604 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
7606         * windmove.el (windmove-reference-loc):
7607         Fix windmove-reference-loc miscalculation.
7609 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
7611         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7612         default unit.
7614 2012-01-21  Glenn Morris  <rgm@gnu.org>
7616         * international/mule.el (auto-coding-alist): Add .tbz.
7618         * files.el (local-enable-local-variables): Doc fix.
7619         (inhibit-local-variables-regexps): Rename from
7620         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
7621         Doc fix.  Add some extensions from auto-coding-alist.
7622         (inhibit-local-variables-suffixes):
7623         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
7624         (inhibit-local-variables-p):
7625         New function, extracted from set-auto-mode-1.
7626         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
7627         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
7628         (hack-local-variables): Doc fix.  Make the mode-only case
7629         respect enable-local-variables and friends.
7630         Respect inhibit-local-variables-regexps for file-locals, but
7631         not for directory-locals.
7632         (set-visited-file-name):
7633         Take account of inhibit-local-variables-regexps.
7634         Whether it applies may change as the file name is changed.
7635         * jka-cmpr-hook.el (jka-compr-install):
7636         * jka-compr.el (jka-compr-uninstall):
7637         Update for inhibit-first-line-modes-suffixes name change.
7639 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
7641         * help-macro.el (make-help-screen): Temporarily restore original
7642         binding for minor-mode-map-alist (Bug#10454).
7644 2012-01-19  Julien Danjou  <julien@danjou.info>
7646         * color.el (color-name-to-rgb): Use the white color to find the max
7647         color component value and return correctly computed values.
7648         (color-name-to-rgb): Add missing float conversion for max value.
7650 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
7652         * window.el (window--state-get-1, window-state-get): Do not use
7653         special state value for window-persistent-parameters.
7654         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
7655         (window--state-put-2): Reset all window parameters to nil before
7656         assigning values of persistent parameters.
7658 2012-01-18  Alan Mackenzie  <acm@muc.de>
7660         Eliminate sluggishness and hangs in fontification of "semicolon
7661         deserts".
7663         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7664         Change value 10000 -> 3000.
7665         (c-state-safe-place): Reformulate so it doesn't stack up an
7666         infinite number of wrong entries in c-state-nonlit-pos-cache.
7667         (c-determine-limit-get-base, c-determine-limit): New functions to
7668         determine backward search limits disregarding literals.
7669         (c-find-decl-spots): Amend commenting.
7670         (c-cheap-inside-bracelist-p): New function which detects "={".
7672         * progmodes/cc-fonts.el
7673         (c-make-font-lock-BO-decl-search-function): Give a limit to a
7674         backward search.
7675         (c-font-lock-declarations): Fix an occurrence of point being
7676         undefined.  Check additionally for point being in a bracelist or
7677         near a macro invocation without a semicolon so as to avoid a
7678         fruitless time consuming search for a declarator.  Give a more
7679         precise search limit for declarators using the new
7680         c-determine-limit.
7682 2012-01-18  Glenn Morris  <rgm@gnu.org>
7684         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7685         (set-auto-mode): Doc fixes.
7687 2012-01-17  Glenn Morris  <rgm@gnu.org>
7689         * isearch.el (search-nonincremental-instead): Fix doc typo.
7691         * dired.el (dired-insert-directory): Handle newlines in directory name.
7692         (dired-build-subdir-alist): Unescape newlines in directory name.
7694 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
7696         * net/tramp.el (tramp-local-end-of-line): New defcustom.
7697         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7698         (tramp-action-terminal): Use it.  (Bug#10530)
7700 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7702         * minibuffer.el (completion--replace): Strip properties (bug#10062).
7704 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
7706         * window.el (window-state-ignored-parameters): Remove variable.
7707         (window--state-get-1): Rename argument MARKERS to IGNORE.
7708         Handle persistent window parameters.  Make copy of clone-of
7709         parameter only if requested.  (Bug#10348)
7710         (window--state-put-2): Install a window parameter only if it has
7711         a non-nil value or an existing parameter shall be overwritten.
7713 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
7715         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7717 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
7719         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7720         don't pass the (nil) value of `upnode' to string-match.
7722 2012-01-14  Chong Yidong  <cyd@gnu.org>
7724         * startup.el (command-line): Fix X resource class for cursorColor.
7725         Fix values recognized by the cursorBlink resource.
7727 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
7729         * epg.el (epg--make-temp-file): Avoid permission race condition
7730         when running on old Emacs versions (bug#10403).
7732 2012-01-14  Glenn Morris  <rgm@gnu.org>
7734         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7736 2012-01-13  Alan Mackenzie  <acm@muc.de>
7738         Fix filling for when filladapt mode is enabled.
7740         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7741         c-mask-paragraph, pass in `fill-paragraph' rather than
7742         `fill-region-as-paragraph'.  (This is a reversion of a previous
7743         change.)
7744         * progmodes/cc-mode.el (c-basic-common-init):
7745         Make fill-paragraph-handle-comment buffer local and set it to nil.
7747 2012-01-13  Glenn Morris  <rgm@gnu.org>
7749         * dired.el (dired-switches-escape-p): New function.
7750         (dired-insert-directory): Use dired-switches-escape-p.
7751         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
7753         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
7755 2012-01-12  Glenn Morris  <rgm@gnu.org>
7757         * mail/sendmail.el (mail-mode): Update paragraph-separate for
7758         changes in adaptive-fill-regexp.  (Bug#10276)
7760 2012-01-11  Alan Mackenzie  <acm@muc.de>
7762         Fix Emacs bug #10463 - put `widen's around the critical spots.
7764         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7765         widen around each invocation of c-state-pp-to-literal.  Remove an
7766         unused let variable.
7768 2012-01-11  Glenn Morris  <rgm@gnu.org>
7770         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
7771         Doc fix.
7773 2012-01-10  Chong Yidong  <cyd@gnu.org>
7775         * net/network-stream.el (network-stream-open-starttls):
7776         Avoid emitting a confusing error message when the server gives a bad
7777         response to the capability command.
7779 2012-01-10  Glenn Morris  <rgm@gnu.org>
7781         * mail/unrmail.el (unrmail): Tweak previous change.
7783 2012-01-09  Chong Yidong  <cyd@gnu.org>
7785         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7787 2012-01-08  Alan Mackenzie  <acm@muc.de>
7789         Optimise font locking in long enum definitions.
7791         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7792         arm to a cond form to handle enums.
7793         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7794         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7796 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7798         * files.el (move-file-to-trash): Preserve default file modes on error.
7799         (Bug#10401)
7801 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7803         * faces.el (set-face-attribute): Clarify the meaning of the nil
7804         frame (bug#10294).
7806         * subr.el (with-selected-frame): Mention that the selected frame
7807         is restored (bug#9980).
7809         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7810         (bug#9759).
7812         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7813         (password-read): Don't autoload unused function.
7815 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
7817         * progmodes/which-func.el (which-func-mode): Turn into a
7818         non-interactive function and mark as obsolete (bug#10428).
7820 2012-01-06  Chong Yidong  <cyd@gnu.org>
7822         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7823         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7824         functions, along with 1 and -1.
7826 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
7828         * time.el (display-time-load-average)
7829         (display-time-default-load-average): Doc fixes.  See the thread
7830         starting at
7831         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7832         for the details.
7834 2012-01-06  Glenn Morris  <rgm@gnu.org>
7836         * mail/unrmail.el (unrmail): Give an explicit error if the input file
7837         has no messages.  (Bug#10377)
7839         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7840         than Info-edit.  (Bug#10385)
7842         * time.el (display-time-load-average, display-time-next-load-average):
7843         Doc fixes.
7845         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7846         local setting of buffer-read-only to the input buffer.  (Bug#10419)
7848         * calendar/calendar.el (calendar-mode):
7849         Locally set scroll-margin to 0.  (Bug#10379)
7851 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
7853         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
7855 2012-01-05  Glenn Morris  <rgm@gnu.org>
7857         * eshell/em-unix.el (diff-no-select): Autoload it.
7858         (eshell/diff): Use diff-no-select.  (Bug#10420)
7860 2012-01-05  Chong Yidong  <cyd@gnu.org>
7862         * shell.el (shell-dynamic-complete-functions): Revert last change.
7863         (shell-command-completion-function): New function.
7864         (shell-completion-vars): Use it to implement
7865         shell-completion-execonly (Bug#10417).
7867         * custom.el (enable-theme): Don't set custom-safe-themes.
7869         * cus-theme.el (custom-theme-merge-theme):
7870         Ignore custom-enabled-themes and custom-safe-themes.
7872 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
7874         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7875         first prompt in `sql-interacive-mode'.
7876         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7877         keywords.
7878         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7879         (sql-product-interactive): Bug fix: Set `sql-buffer' in
7880         context of original buffer.  Invoke `sql-login-hook'.
7882 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
7884         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7885         letters in cite-prefix.
7887 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7889         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7891 2012-01-03  Chong Yidong  <cyd@gnu.org>
7893         * shell.el (shell-dynamic-complete-functions):
7894         Put pcomplete-completions-at-point, so as to try
7895         comint-filename-completion first (Bug#10417).
7897 2012-01-02  Richard Stallman  <rms@gnu.org>
7899         * battery.el (battery-status-function):
7900         Detect when to use battery-yeeloong-sysfs.
7901         (battery-echo-area-format): Add string for Yeeloong.
7902         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7903         (battery-yeeloong-sysfs): New function.
7905 2012-01-02  Chong Yidong  <cyd@gnu.org>
7907         * dirtrack.el (dirtrack-list): Eliminate unused third element.
7908         (dirtrack): Merge code for handling relative filenames in prompt
7909         from shell-dir-cookie-watcher.
7910         (dirtrack-debug-message): New arg to avoid excess format calls.
7912         * shell.el (shell-dir-cookie-re): Variable deleted.
7913         (shell-dir-cookie-watcher): Function deleted.
7914         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7915         with dirtrack-mode.
7917 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
7919         * term/w32-win.el (dynamic-library-alist) <gnutls>:
7920         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7921         libgnutls-26.dll.
7923 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
7925         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7927 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
7929         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7930         headers of non-MIME messages, when rmail-enable-mime is non-nil.
7932 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
7934         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7935         also for alternative shells.
7936         (tramp-open-connection-setup-interactive-shell): Check, whether
7937         the shell is a busybox.
7938         (tramp-send-command): Don't suppress multiple prompts for
7939         busyboxes, it hurts.
7941 2011-12-28  Chong Yidong  <cyd@gnu.org>
7943         * progmodes/gdb-mi.el (gdb-get-source-file-list)
7944         (gdb-get-source-file): Move mode line update to
7945         gdb-get-source-file (Bug#10087).
7947 2011-12-25  Chong Yidong  <cyd@gnu.org>
7949         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7950         gud-gdb-marker-filter without taking it as an argument.
7951         (gud-gdb-run-command-fetch-lines): Caller changed.
7952         (gud-gdb-completion-function): New variable.
7953         (gud-gdb-completion-at-point): Use it.
7954         (gud-gdb-completions-1): Split from gud-gdb-completions.
7956         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7957         function as separate arguments.
7958         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7959         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7960         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7961         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7962         (gdb-stopped, def-gdb-auto-update-trigger)
7963         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7964         (gdb-get-changed-registers, gdb-get-main-selected-frame):
7965         Callers changed.
7966         (gud-gdbmi-completions): New function.
7967         (gdb): Use it for generating the completion table.
7969 2011-12-24  Alan Mackenzie  <acm@muc.de>
7971         Introduce a mechanism to widen the region used in context font
7972         locking.  Use this to protect declarations from losing their contexts.
7974         * progmodes/cc-langs.el (c-before-font-lock-functions):
7975         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7976         (c-before-context-fontification-functions): New defvar, a list of
7977         functions to be run just before context (etc.) font locking.
7979         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7980         New, functionality extracted from
7981         c-neutralize-syntax-in-and-mark-CPP.
7982         (c-in-after-change-fontification): New variable.
7983         (c-after-change): Set c-in-after-change-fontification.
7984         (c-set-fl-decl-start): Rejig its interface, so it can be called
7985         from both after-change and context fontifying.
7986         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7987         New functions.
7988         (c-standard-font-lock-fontify-region-function): New variable.
7989         (c-font-lock-fontify-region): New function.
7991 2011-12-24  Juri Linkov  <juri@jurta.org>
7993         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7994         (Bug#10348)
7996 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
7998         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7999         existence of source file.  (Bug#10325)
8001 2011-12-23  Alan Mackenzie  <acm@muc.de>
8003         Fix unstable fontification inside templates.
8005         * progmodes/cc-langs.el (c-before-font-lock-functions):
8006         Newly created from the singular version.  The (c c++ objc) entry now
8007         additionally has c-set-fl-decl-start.  The other languages (apart
8008         from AWK) have that as a single entry.
8010         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8011         The functionality for "local" declarations has been extracted to
8012         c-set-fl-decl-start.
8014         * progmodes/cc-mode.el (c-common-init, c-after-change):
8015         Changes due to pluralisation of c-before-font-lock-functions.
8016         (c-set-fl-decl-start): New function, extracted from
8017         c-font-lock-enclosing-decls and enhanced.
8019 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
8021         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8023 2011-12-22  Juri Linkov  <juri@jurta.org>
8025         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
8027 2011-12-22  Chong Yidong  <cyd@gnu.org>
8029         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8031 2011-12-21  Drew Adams  <drew.adams@oracle.com>
8033         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
8035 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
8037         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8039 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
8041         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
8042         highlighting and support.  Fix up comments for capitalization.
8043         (cfengine-mode-debug): New var.
8044         (cfengine3-mode): Change the modeline indicator to "CFE3".
8045         (cfengine3-font-lock-keywords): Improve defun highlighting.
8046         (cfengine2-actions): Rename from `cfengine-actions'.
8047         (cfengine2-font-lock-keywords): Rename from
8048         `cfengine-font-lock-keywords'.
8049         (cfengine2-imenu-expression): Rename from
8050         `cfengine-imenu-expression'.
8051         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8052         (cfengine2-beginning-of-defun): Rename from
8053         `cfengine-beginning-of-defun'.
8054         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8055         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8056         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
8057         modeline indicator to "CFE2".
8058         (cfengine-mode): Defalias to `cfengine-auto-mode'.
8059         (cfengine-mode-abbrevs): Mark obsolete.
8061 2011-12-21  Chong Yidong  <cyd@gnu.org>
8063         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8064         filename argument.
8066 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
8068         * window.el (window-normalize-buffer-to-display): Remove.
8069         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8071 2011-12-19  Chong Yidong  <cyd@gnu.org>
8073         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8074         Don't signal an error in a predicate function; return non-nil.
8075         (vc-dir-mark-file): Move the error here.
8076         (vc-dir-mark-unmark): If acting on the region, keep going if one
8077         of the entries cannot be marked/unmarked.
8078         (vc-dir-mark-all-files): If current entry is a directory, mark
8079         only child files, as documented.
8081 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8083         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8084         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8085         addition.
8087 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
8089         * term/ns-win.el (ns-get-selection-internal)
8090         (ns-store-selection-internal): Declare.
8091         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8092         Declare as obsolete.
8093         (ns-get-pasteboard, ns-paste-secondary):
8094         Use ns-get-selection-internal.
8095         (ns-set-pasteboard,  ns-copy-including-secondary):
8096         Use ns-store-selection-internal.
8098 2011-12-17  Chong Yidong  <cyd@gnu.org>
8100         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
8101         (vc-deduce-fileset): Doc fix.
8103 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
8105         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8107 2011-12-13  Sam Steingold  <sds@gnu.org>
8109         * man.el (Man-getpage-in-background): When running under a
8110         window-system, ignore $MANWIDTH and $COLUMNS.
8112 2011-12-15  Kenichi Handa  <handa@m17n.org>
8114         * language/ethio-util.el: Change coding tag to utf-8-emacs.
8115         (setup-ethiopic-environment-internal): Comment out key-binding for
8116         ethio-toggle-punctuation.
8118 2011-12-13  Alan Mackenzie  <acm@muc.de>
8120         Add the switch statement to AWK Mode.
8122         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
8123         "default" to the keywords regexp.
8125         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
8126         expression as the rest.
8127         (c-nonlabel-token-key): Allow string literals for AWK.
8128         Refactor for the other modes.
8130         Large brace-block initialisation makes CC Mode slow: Fix.
8131         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
8132         routines.  Limit backward searching in c-font-lock-enclosing.decl.
8134         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8135         pp-state and literal type in addition to the limits.
8136         (c-state-safe-place): New defun, extracted from c-state-literal-at.
8137         (c-state-literal-at): Use the above new defun.
8138         (c-slow-in-literal, c-fast-in-literal): Remove.
8139         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
8141         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8142         being in a literal.  Add a limit for backward searching.
8144         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8145         c-slow-in-literal.
8147 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8149         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8151 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
8153         * window.el (delete-other-windows): Use correct frame in call to
8154         window-with-parameter.
8156 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
8158         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8159         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8160         (makefile-gmake-statements, makefile-makepp-statements):
8161         Use it and add new makepp keywords.
8162         (makefile-makepp-font-lock-keywords): Add new patterns.
8163         (makefile-match-function-end): Match new [...] and [[...]].
8165 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
8167         * ses.el (ses-call-printer-return, ses-cell-property-get)
8168         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8169         (ses-create-cell-variable, ses-reset-header-string)
8170         (ses-cell-set-formula, ses-repair-cell-reference-all)
8171         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8172         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8173         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8174         (ses-aset-with-undo, ses-load, ses-truncate-cell)
8175         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8176         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8177         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8178         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8179         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8180         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8181         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8182         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8184 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8186         * ses.el: The overall change is to add cell renaming, that is
8187         setting fancy names for cell symbols other than name matching
8188         "\\`[A-Z]+[0-9]+\\'" regexp .
8189         (ses-create-cell-variable): New defun.
8190         (ses-relocate-formula): Relocate formulas only for cells the
8191         symbols of which are not renamed, i.e. symbols whose names do not
8192         match regexp "\\`[A-Z]+[0-9]+\\'".
8193         (ses-relocate-all): Relocate values only for cells the symbols of
8194         which are not renamed.
8195         (ses-load): Create cells variables as the (ses-cell ...) are read,
8196         in order to check row col consistency with cell symbol name only
8197         for cells that are not renamed.
8198         (ses-replace-name-in-formula): New defun.
8199         (ses-rename-cell): New defun.
8201 2011-12-11  Chong Yidong  <cyd@gnu.org>
8203         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8204         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8206 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
8208         * window.el (other-window): Fix docstring.
8210 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
8212         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
8213         `from' or `to' address before taking its substring.
8214         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
8215         encoded name is chopped in the middle of the encoded string, and
8216         thus displayed encoded.
8218 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
8220         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8222 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
8224         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
8225         to use texinfo-update-node and commands that call it if the
8226         Texinfo file uses @node lines without next/prev/up pointers.
8227         Correct outdated description about texinfo-master-menu.
8228         (texinfo-all-menus-update, texinfo-master-menu)
8229         (texinfo-update-node, texinfo-every-node-update)
8230         (texinfo-multiple-files-update): Doc fix.  Warn against updating
8231         all the @node lines.
8232         (texinfo-master-menu): Only call texinfo-update-node if the prefix
8233         argument is numeric.  Explain better in the doc string what the
8234         function really does.
8235         (texinfo-insert-master-menu-list): Improve the error message
8236         displayed if there's no menu in the Top node.
8237         (Bug#2975)  See also this thread:
8238         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8240 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
8242         * speedbar.el (speedbar-supported-extension-expressions):
8243         Add .adb and .ads, commonly used for Ada source code (bug#10256).
8245 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
8247         * printing.el (pr-mode-alist):
8248         * simple.el (filter-buffer-substring-functions)
8249         (completion-list-insert-choice-function):
8250         * window.el (window-with-parameter, window-atom-root)
8251         (window-sides-slots, window-size-fixed, window-min-delta)
8252         (window-max-delta, window--resize-mini-window)
8253         (window--resize-child-windows-normal, window-tree)
8254         (delete-other-windows, quit-window, split-window)
8255         (display-buffer-record-window, special-display-buffer-names)
8256         (special-display-regexps, special-display-popup-frame)
8257         (same-window-p, split-window-sensibly)
8258         (display-buffer-overriding-action, display-buffer-alist)
8259         (display-buffer-base-action, display-buffer, switch-to-buffer)
8260         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8261         (fit-window-to-buffer, recenter-positions)
8262         (mouse-autoselect-window-state, mouse-autoselect-window-select):
8263         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8264         and remove unneeded backslashes in docstrings.
8266 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8268         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8270         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8271         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8272         end in ".mk".
8273         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8274         when reading the makefile (bug#10116).
8276 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8278         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8279         (bug#10116).
8281 2011-12-06  Glenn Morris  <rgm@gnu.org>
8283         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8285 2011-12-06  Chong Yidong  <cyd@gnu.org>
8287         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8289 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
8291         * textmodes/table.el (table-shorten-cell): Fix typo.
8293 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
8295         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8297 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
8299         * descr-text.el (describe-char): Fix display of strong
8300         right-to-left characters and directional embeddings and overrides.
8302         * simple.el (what-cursor-position): Fix display of codepoints of
8303         strong right-to-left characters.
8305 2011-12-05  Chong Yidong  <cyd@gnu.org>
8307         * faces.el (read-color): Doc fix.
8309 2011-12-05  Glenn Morris  <rgm@gnu.org>
8311         * align.el (align--set-marker): Add doc-string.
8312         Don't try to move something that is not a marker.  (Bug#10216)
8314 2011-12-04  Glenn Morris  <rgm@gnu.org>
8316         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8317         overly zealous deletion of trailing whitespace.
8319 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
8321         * server.el (server-delete-client): On Windows, do not try to delete
8322         the only terminal.
8323         (server-process-filter): On Windows, treat requests for a tty frame as
8324         if they were for a GUI frame if the running server is in GUI mode.
8326 2011-12-03  Glenn Morris  <rgm@gnu.org>
8328         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
8330 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8332         * electric.el: Streamline electric-indent's hook.
8333         (electric-indent-chars): Revert to simple list.
8334         (electric-indent-functions): New var.
8335         (electric-indent-post-self-insert-function): Use it.
8337         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8338         there's no inferior buffer (bug#10196).
8339         (prolog-consult-compile): Don't use toggle-read-only.
8341 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
8343         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8344         interrupt.  (Bug#10187)
8346 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8348         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8349         (bug#9160).
8351         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8352         (bug#10191).
8354 2011-12-02  Juri Linkov  <juri@jurta.org>
8356         * info.el (Info-search): Display "end of manual" when Isearch
8357         reaches the end of single-file Info manual.  (Bug#9918)
8359 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
8361         * isearch.el (isearch-message-prefix): Run the input method part
8362         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
8364 2011-12-02  Juri Linkov  <juri@jurta.org>
8366         * isearch.el (isearch-occur): Use `word-search-regexp' for
8367         `isearch-word'.
8368         (isearch-search-and-update): Add condition for `isearch-word' and
8369         call `word-search-regexp'.  (Bug#10145)
8371 2011-12-01  Glenn Morris  <rgm@gnu.org>
8373         * eshell/em-hist.el (eshell-hist-initialize):
8374         Handle eshell-history-size nil and HISTSIZE set or unset.
8375         (eshell-history-file-name, eshell-history-size): Fix custom type.
8377 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8379         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8381 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
8383         * progmodes/verilog-mode.el (verilog-pretty-expr):
8384         Rework verilog-pretty-expr to handle new assignment operators in system
8385         verilog, such as += *= and the like.
8386         (verilog-assignment-operator-re): Regular expression to find the
8387         assigment operator in a verilog assignment.
8388         (verilog-assignment-operation-re): Regular expression to find an
8389         assignment statement for pretty-expr.
8390         (verilog-in-attribute-p): Query returns true if point is in an
8391         attribute context; used to skip these for expression line up from
8392         pretty-expr.
8393         (verilog-in-parameter-p): Query returns true if point is in an
8394         parameter definition context; used to skip these for expression
8395         line up from pretty-expr.
8396         (verilog-in-parenthesis-p): Query returns true if point is in a
8397         parenthetical expression, specifically ( ) but not [ ] or { };
8398         used by pretty-expr.
8399         (verilog-just-one-space): If there is no space, don't add one.
8400         (verilog-get-lineup-indent-2): Specifically skip just attribute
8401         contexts for expression lineup, rather than skipping all
8402         parenthetical expressions.
8403         (verilog-calculate-indent): Fix comment, and fix indent.
8404         (verilog-do-indent): Indent declarations in lists (suggested by
8405         Joachim Lechner).
8406         (verilog-mode-abbrev-table): Populate abbrev mode with the various
8407         skeleton items.
8408         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8409         by Alain Mellan).
8411 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
8413         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8414         parameters with embedded comments.  Reported by Ray Stevens.
8415         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8416         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8417         Reported by Tim Holt.
8418         (verilog-auto): Fix AUTOing a upper module then AUTOing module
8419         instantiated by upper module causing wrong expansion until AUTOed a
8420         second time.  Reported by K C Buckenmaier.
8421         (verilog-diff-auto): Fix showing .* as a difference when
8422         `verilog-auto-star-save' off.  Reported by Dan Dever.
8423         (verilog-auto-reset, verilog-read-always-signals)
8424         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8425         temporary signals in reset list if
8426         verilog-auto-reset-blocking-in-non is nil, and match assignment
8427         style to each signal's assignment type, bug381.
8428         Reported by Thomas Esposito.
8429         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8430         (verilog-uvm-statement-re): Support UVM indentation and
8431         highlighting, with old OVM keywords only.
8432         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
8433         Support AUTOTIEOFF creating non-wire data types.
8434         Suggested by Jonathan Greenlaw.
8435         (verilog-auto-insert-lisp, verilog-delete-to-paren)
8436         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8437         (verilog-inject-sense, verilog-read-inst-pins)
8438         (verilog-read-sub-decls, verilog-read-sub-decls-line):
8439         Fix mismatching parenthesis inside commented out code when deleting
8440         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
8441         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8442         non-numeric vector width.  Reported by Alex Reed.
8443         (verilog-auto-ascii-enum): Add "onehot" option to work around not
8444         detecting signals with parameter widths.  Reported by Alex Reed.
8445         (verilog-auto-delete-trailing-whitespace):
8446         With `verilog-auto-delete-trailing-whitespace' remove trailing
8447         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
8448         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8449         Fix verilog-scan-cache corruption when running user AUTO expansion
8450         hooks that call indentation routines.
8451         (verilog-simplify-range-expression): Fix typo ignoring lower case
8452         identifiers.
8453         (verilog-delete-auto): Fix delete-autos to also remove user created
8454         automatics, as long as they start with AUTO.
8455         (verilog-batch-diff-auto, verilog-diff-auto)
8456         (verilog-diff-function): Add `verilog-diff-auto' and bind to
8457         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
8458         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8459         (verilog-in-paren-quick, verilog-re-search-backward-quick)
8460         (verilog-re-search-forward-quick, verilog-syntax-ppss):
8461         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
8462         is disabled and its cache will get corrupt, causing AUTOS not to
8463         expand.  Instead use only -quick functions.
8464         (verilog-scan-region): Fix scanning over escaped quotes.
8465         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8466         (verilog-re-search-backward-quick)
8467         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8468         related functions now ignore strings, to fix misparsing of strings
8469         with magic comments embedded in them.
8470         (verilog-read-auto-template):
8471         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8472         Reported by Brad Dobbie.
8473         (verilog-read-auto-template):
8474         Fix 'verilog-auto-inst-template-numbers' with comments.
8475         Reported by Brad Dobbie.
8476         (verilog-auto-inst, verilog-auto-inst-param)
8477         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8478         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
8479         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
8480         debugging templates without merge conflicts, bug357.
8481         Reported by Brad Dobbie.
8482         (verilog-read-auto-template):
8483         Fix verilog-auto-inst-template-numbers with multiple templates.
8484         Reported by Brad Dobbie.
8485         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8486         abbrevs so user won't be asked to save.
8487         (verilog-read-auto-lisp-present): Fix to start at beginning of
8488         buffer in case called outside of verilog-auto.
8489         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8490         to "X-2".  Reported by Matthew Myers.
8491         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8492         all inputs from module templates.  Reported by Leith Johnson.
8493         (verilog-module-inside-filename-p): Fix locating programs as with
8494         modules.
8495         (verilog-auto-inst-port): Fix vl-width expressions when using
8496         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
8497         (verilog-decls-get-regs, verilog-decls-get-signals,
8498         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8499         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8500         verilog-read-decls): Combine reg and wire structures into one var
8501         structure to represent SystemVerilog concepts.
8502         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8503         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8504         (verilog-auto-wire-type, verilog-insert-definition):
8505         Add verilog-auto-wire-type and AUTOLOGIC to support using
8506         SystemVerilog "logic" keyword instead of "wire"/"reg".
8507         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8508         to declares outputs that also have assignments (presumably in an
8509         ifdef or generate if so there's not a driver conflict).
8510         Reported by Matthew Myers.
8511         (verilog-auto-declare-nettype, verilog-insert-definition):
8512         Add verilog-auto-declare-nettype to fix declarations using
8513         `default_nettype none.  Reported by Julian Gorfajn.
8514         (verilog-read-always-signals-recurse, verilog-read-decls)
8515         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8516         malformed end statement, bug325.  Reported by Joshua Wise and
8517         Andrew Drake.
8518         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8519         (verilog-inst-comment-re): Fix not deleting Interfaced comment
8520         when expanding .* in interfaces, bug320.
8521         Reported by Pierre-David Pfister.
8522         (verilog-read-module-name): Fix import statements between module
8523         name and open parenthesis, bug317.
8524         Reported by Pierre-David Pfister.
8525         (verilog-simplify-range-expression): Fix simplification of
8526         multiplications inside AUTOWIRE connections, bug303.
8527         (verilog-auto-inst-port): Support parameter expansion in
8528         multidimensional arrays.
8529         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8530         after "assert property".  Reported by Julian Gorfajn.
8531         (verilog-simplify-range-expression): Fix "couldn't merge" errors
8532         with multiplication, bug303.
8533         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8534         Reported by Jan Frode Lonnum.
8536 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
8538         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8539         (hfy-shell-file-name, hfy-shell):
8540         * international/fontset.el (x-decompose-font-name): Fix typos.
8542 2011-11-29  Ken Brown  <kbrown@cornell.edu>
8544         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8545         (gdb-version): Remove defvar.
8546         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8547         (gdb-gud-context-command, gdb-non-stop-handler)
8548         (gdb-current-context-command, gdb-stopped): Use it.
8549         (gdb-init-1): Enable pretty printing here.
8550         (gdb-non-stop-handler): Don't enable pretty-printing here.
8551         Check to see if the target supports non-stop mode; if not, turn off
8552         non-stop mode.  Use the following.
8553         (gdb-check-target-async): New defun.
8554         (gud-watch, gdb-stopped): Fix whitespace.
8555         (gdb-get-source-file): Don't try to display the source file if
8556         `gdb-main-file' is nil.
8558 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8560         * align.el: Try to generate fewer markers (bug#10047).
8561         (align--set-marker): New macro.
8562         (align-region): Use it.
8564 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8566         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8568 2011-11-29  Chong Yidong  <cyd@gnu.org>
8570         * indent.el (indent-for-tab-command, indent-according-to-mode):
8571         Doc fix.
8572         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
8574 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
8576         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8577         aware of remote file names.  (Bug#10124)
8579 2011-11-29  Chong Yidong  <cyd@gnu.org>
8581         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8583 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8585         * files.el (find-file): Don't use force-same-window (bug#10144).
8586         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8587         use pop-to-buffer if the selected window can't be used.
8588         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8590 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
8592         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8593         special-mode-map.
8595 2011-11-28  Chong Yidong  <cyd@gnu.org>
8597         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8599 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
8601         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8602           gdb-get-source-file-list on gdb-create-source-file-list.
8604 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
8606         * whitespace.el (whitespace-newline): Use a different foreground
8607         color for 16-color light-background displays.
8609 2011-11-24  Chong Yidong  <cyd@gnu.org>
8611         * window.el (display-buffer--special-action): Doc fix.
8613 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
8615         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8616         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8617         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8618         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8619         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8620         (avl-tree-stack-first):
8621         * emacs-lisp/cconv.el (cconv--analyse-use):
8622         * net/gnutls.el (gnutls-negotiate): Fix typos.
8624 2011-11-24  Glenn Morris  <rgm@gnu.org>
8626         * lpr.el (lpr-windows-system, lpr-lp-system):
8627         * mail/binhex.el (binhex-begin-line):
8628         * progmodes/grep.el (grep-history, grep-find-history):
8629         * textmodes/flyspell.el:
8630         * vc/pcvs-defs.el (cvs-global-menu):
8631         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8632         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8633         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8635         * net/tls.el: Fix case of "GnuTLS".
8637         * paths.el (rmail-file-name): Format doc-string for make-docfile.
8639         * version.el (emacs-build-system): Give it a doc-string.
8641 2011-11-24  Juri Linkov  <juri@jurta.org>
8643         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8645 2011-11-24  Glenn Morris  <rgm@gnu.org>
8647         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8648         if called on a non-mime message just toggle the headers.  (Bug#8006)
8650 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
8652         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8653         (allout-lead-with-comment-string, allout-structure-deleted-hook)
8654         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8655         (allout-rebullet-heading, allout-open-sibtopic)
8656         (allout-toggle-current-subtree-encryption)
8657         (allout-toggle-subtree-encryption, allout-encrypt-string)
8658         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8659         (allout-distinctive-bullets-string, allout-auto-activation):
8660         * window.el (window-normalize-buffer-to-display):
8661         * progmodes/verilog-mode.el (verilog-batch-indent):
8662         * textmodes/bibtex.el (bibtex-field-braces-opt)
8663         (bibtex-field-strings-opt):
8664         * vc/cvs-status.el (cvs-tree-merge):
8665         Fix typos.
8667 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
8669         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8670         `non-essential' to t, in order to avoid remote connections.
8672 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
8674         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8675         On MS-DOS and MS-Windows, compare with loaddefs.el
8676         case-insensitively.
8678 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
8680         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
8682 2011-11-23  Glenn Morris  <rgm@gnu.org>
8684         * paths.el (rmail-file-name): Reformat the doc-string so that it
8685         is picked up.
8687         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8688         (rmail-auto-file): Ignore case in the "special" field names,
8689         as mail-fetch-field does for all others.
8691         * mail/rmail.el (rmail-forward):
8692         * mail/rmailkwd.el (rmail-set-label):
8693         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8694         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
8696         * mail/rmail.el (rmail-current-message): Doc fix.
8698         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
8700 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8702         * server.el (server-eval-and-print): Allow C-g (bug#6585).
8704 2011-11-22  Glenn Morris  <rgm@gnu.org>
8706         * mail/rmailmm.el (test-rmail-mime-handler)
8707         (test-rmail-mime-bulk-handler)
8708         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8710 2011-11-21  Juri Linkov  <juri@jurta.org>
8712         * calc/calc.el (calc-read-key-sequence):
8713         Let-bind `input-method-function' to nil.  (Bug#10018)
8715 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8717         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8718         Tell the caller that the next line needs recomputation, even
8719         though it doesn't start a sexp (bug#10094).
8721 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8723         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8725 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8727         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8728         Use force-same-window.
8730 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
8732         * descr-text.el (describe-char-unicode-data):
8733         * json.el (json-string-escape):
8734         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8735         (Footnote-unicode, Footnote-style-p):
8736         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8738 2011-11-20  Chong Yidong  <cyd@gnu.org>
8740         * window.el (replace-buffer-in-windows): Restore interactive spec.
8742 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8744         * electric.el (electric-indent-mode): Fix last change (too optimistic).
8746         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8747         (byte-compile-global-not-obsolete-vars): New var.
8748         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8749         Use it.
8750         (byte-compile-warn-obsolete): Align text with the one in *Help*.
8752 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
8754         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8755         * progmodes/pascal.el (electric-pascal-equal):
8756         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8757         * xml.el (xml-substitute-special): Fix typos.
8759 2011-11-20  Glenn Morris  <rgm@gnu.org>
8761         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8762         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8763         Doc fixes.
8764         (rmail-decode-mime-charset): Mark as obsolete.
8766         * mail/rmailsum.el (rmail-message-regexp-p-1):
8767         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8768         Before using mime functions, check they are set.  (Bug#10077)
8770 2011-11-19  Juri Linkov  <juri@jurta.org>
8772         * info.el (Info-finder-find-node): Use `package--builtins' instead
8773         of `package-alist'.  Use node names formed by the pattern "Keyword "
8774         and the keyword name.
8776 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
8778         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8780 2011-11-19  Juri Linkov  <juri@jurta.org>
8782         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8783         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
8784         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8785         `old-history', `old-history-forward'.  Add let-binding
8786         `window-selected'.  Remove calls to `kill-buffer',
8787         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
8788         before calling `Info-find-node', so `Info-find-node-2' will reread
8789         the Info file.  Restore window positions only when `window-selected'
8790         is non-nil.
8792 2011-11-19  Juri Linkov  <juri@jurta.org>
8794         * isearch.el (isearch-lazy-highlight-new-loop):
8795         Remove condition `(not isearch-error)'.  (Bug#9918)
8797         * misearch.el (multi-isearch-search-fun): Add condition
8798         `(not bound)' to ignore lazy-highlighting search.
8799         Add the search-failed message "end of multi" when the end of
8800         multi-sequence is reached.  Uncapitalize the search-failed
8801         message "Repeat for next buffer".
8803         * info.el (Info-search): Add the search-failed message
8804         "end of the manual" when the end of the manual is reached
8805         in Isearch mode.
8807 2011-11-19  Juri Linkov  <juri@jurta.org>
8809         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8810         Use non-destructive `remove' instead of `delete' because
8811         `Info-history-list' stored to `Info-isearch-initial-history-list' in
8812         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8814 2011-11-19  Juri Linkov  <juri@jurta.org>
8816         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8817         to nil instead of binding `search-ring' and `regexp-search-ring'.
8818         (Bug#9185)
8820 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
8822         * simple.el (line-move): Force movement by logical lines for any
8823         hscrolled window, not only when auto-hscroll-mode is on.
8824         (line-move-visual): Update doc string to that effect.  (Bug#10076)
8826 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
8828         * language/european.el (macintosh): Define as alias for mac-roman.
8830 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
8832         * mail/rmailmm.el (rmail-mime-display-header)
8833         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8834         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8835         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8836         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8837         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8838         of a raw aref.
8839         (rmail-mime-entity-segment): To get past the tagline, move forward
8840         2 more lines, to account for the 2 empty lines that precede and
8841         follow the line with the buttons.
8842         (rmail-mime-update-tagline): Move one more line, to get past the
8843         empty line that follows the buttons in the tagline.  (Bug#9520)
8845 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
8847         * window.el (window-max-delta-1, window-min-delta-1)
8848         (window-min-size-1, window-state-get-1, window-state-put-1)
8849         (window-state-put-2): Use "window--" prefix.
8851 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8853         * emacs-lisp/smie.el: Improve warnings and conflict detection.
8854         (smie-warning-count): New var.
8855         (smie-set-prec2tab): Use it.
8856         (smie-bnf->prec2): Improve warnings.  Add docstring.
8857         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8858         (smie-bnf--set-class): New function.
8859         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
8860         corner case.
8862         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8863         (compilation-error-properties, compilation-move-to-column):
8864         Handle compilation-first-column while in the target buffer.
8866         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8867         Don't hardcode point-min==1.
8869         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8870         (eshell-rewrite-for-command): Remove workaround.
8871         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8872         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8873         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8875         * files-x.el (modify-file-local-variable): Obey commenting conventions.
8877 2011-11-17  Glenn Morris  <rgm@gnu.org>
8879         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8880         Ignore buffer-local generated-autoload-file if it is the same
8881         as the global value.  (Bug#10049)
8883 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
8885         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8886         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8887         (reftex-toc-previous-heading, reftex-toc-max-level)
8888         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8889         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8890         (reftex-toc-do-promote, reftex-toc-promote-prepare)
8891         (reftex-toc-promote-action, reftex-toc-extract-section-number)
8892         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8893         (reftex-toc-rename-label, reftex-toc-visit-location)
8894         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8895         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8896         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8897         leaving "*toc*" only for references to the buffer.
8899 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
8901         * window.el (window-resize, delete-window, split-window):
8902         Replace window-splits by window-combination-resize.
8903         * cus-start.el (window-splits): Replace by window-combination-resize.
8905 2011-11-17  Glenn Morris  <rgm@gnu.org>
8907         * progmodes/sh-script.el (sh-font-lock-keywords-var):
8908         Make bash entry derive from sh entry, not shell entry.
8910 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
8912         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8913         local file name.
8915 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
8917         * menu-bar.el (menu-bar-file-menu):
8918         * printing.el (pr-ps-utility):
8919         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8920         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8921         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8922         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8923         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8924         (icalendar--convert-cyclic-to-ical)
8925         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8926         (icalendar--convert-ical-to-diary)
8927         (icalendar--convert-recurring-to-diary)
8928         (icalendar--convert-non-recurring-all-day-to-diary)
8929         (icalendar-import-format-sample):
8930         * progmodes/idlw-shell.el (idlwave-shell-mode):
8931         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8932         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8933         (vhdl-ps-print-init): Fix typos.
8935 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
8937         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8938         FSF and collapse date sequence, obscure author/maintainer email address
8939         better, remove extra version line, track relocation of author's webpage.
8941         * progmodes/python.el (python-pdbtrack-input-prompt)
8942         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8943         regular python pdb prompts.  Adjustments shamelessly taken exactly as
8944         suggested in EmacsWiki page (tiny change):
8945         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8947 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
8949         * expand.el (expand-pos, expand-index, expand-point):
8950         Remove redundant info from docstring.
8951         (expand-add-abbrevs): Doc fix.
8952         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8953         (expand-sample-perl-mode-expand-list): Fix typos.
8955         * net/dbus.el (dbus-event-member-name):
8956         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8957         * term/pc-win.el (msdos-create-frame-with-faces):
8958         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8960 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
8962         * window.el (split-window, window-state-get-1)
8963         (window-state-put-1, window-state-put-2): Rename occurrences of
8964         window-nest to window-combination-limit.
8965         * cus-start.el (window-nest): Rename to window-combination-limit.
8967 2011-11-16  Chong Yidong  <cyd@gnu.org>
8969         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8970         regexp (Bug#10033).
8972 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8974         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8975         `completing-read' will remove *Completions* and will preserve
8976         current-buffer for us.
8977         (tmm-add-prompt): Users of *Completions* will always (re)set its
8978         major mode.
8979         (tmm-old-comp-map): Remove.
8981 2011-11-16  Glenn Morris  <rgm@gnu.org>
8983         * mail/rmailedit.el: Require rmailmm when compiling.
8984         (rmail-old-mime-state): New declaration.
8985         (rmail-edit-current-message): If editing a mime message,
8986         edit the "raw" message from the mbox buffer.
8987         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
8989 2011-11-15  Glenn Morris  <rgm@gnu.org>
8991         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8992         which wasn't being used.  Add optional arg to force given state.
8993         (rmail-mime): Add optional arg to force given state.
8995 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
8997         * allout.el (allout-encryption-plaintext-sanitization-regexps):
8998         * frame.el (display-mm-dimensions-alist):
8999         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9000         (outline-move-subtree-down):
9001         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9002         (newsticker--treeview-do-get-node):
9003         * net/quickurl.el (quickurl-list-buffer-name):
9004         * progmodes/dcl-mode.el (dcl-mode):
9005         * progmodes/gdb-mi.el (gdb-mapcar*):
9006         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9008 2011-11-15  Glenn Morris  <rgm@gnu.org>
9010         * mail/rmail.el (rmail-file-coding-system): It's only ever used
9011         in a boolean sense, so just make it a boolean, and fix the doc.
9012         (rmail-show-mime-function, rmail-mime-feature)
9013         (rmail-require-mime-maybe): Doc fixes.
9014         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9016         * mail/rmailmm.el (rmail-show-mime): Doc fix.
9018 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
9020         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9021         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9022         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9023         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9025 2011-11-15  Glenn Morris  <rgm@gnu.org>
9027         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9028         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9029         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9030         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9031         (rmail-mime, rmail-show-mime): Doc fixes.
9033         * term/ns-win.el (mode-line-frame-identification):
9034         Leave it alone.  (Bug#10051)
9036         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
9038         * mail/rmailout.el (rmail-output-to-rmail-buffer):
9039         Handle empty buffers.  (Bug#9978)
9041 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
9043         * international/mule.el (define-charset):
9044         * mail/rmailmm.el (rmail-mime-find-header-encoding):
9045         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9046         * progmodes/verilog-mode.el (verilog-backward-token):
9047         * textmodes/ispell.el (lookup-words):
9048         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9050 2011-11-14  Glenn Morris  <rgm@gnu.org>
9052         * progmodes/executable.el
9053         (executable-make-buffer-file-executable-if-script-p):
9054         Handle file-modes returning nil.
9056         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9057         message - not necessary, and causes problems.  (Bug#9831)
9059         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9061         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9063         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9064         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
9065         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9067 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
9069         * window.el (window-resize, delete-window): Use window-splits
9070         variable instead of function.
9071         (window-state-get-1, window-state-put-2, window-state-put):
9072         Don't deal with windows' splits status.
9074 2011-11-12  Glenn Morris  <rgm@gnu.org>
9076         * apropos.el (apropos-do-all, apropos-library, apropos-value)
9077         (apropos-documentation): Doc fixes.
9079 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
9081         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9082         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9084 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9086         * electric.el (electric-indent-post-self-insert-function): Make it
9087         possible for a char to only indent in some circumstances.
9088         (electric-indent-mode): Simplify.
9090 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
9092         * window.el (windows-with-parameter): Remove unused function.
9093         (windows-at-side): Rename to window-at-side-list.
9094         (window-check, window-atom-check, window-atom-check-1)
9095         (window-side-check, window-size-ignore, window-size-fixed-1)
9096         (window-in-direction-2): Prefix with "window--".
9097         (window-tree-1): Rename to window--subtree, fix doc-string.
9099 2011-11-11  Glenn Morris  <rgm@gnu.org>
9101         * subr.el (eval-after-load): If FILE is already loaded,
9102         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
9104 2011-11-10  Glenn Morris  <rgm@gnu.org>
9106         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9107         Call svn via vc-svn-command rather than vc-do-command.
9108         (vc-svn-command): Add --non-interactive.  (Bug#9993)
9109         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9111         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9112         Add toggle-read-only.  (Bug#7292)
9113         * files.el (toggle-read-only): Mention that it should only
9114         be used interactively.  (Bug#10006)
9116 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9118         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9119         Adjust regexp for OCaml warnings.
9121         * electric.el (electric-pair-post-self-insert-function): Let user
9122         turn it off buffer-locally (bug#9932).
9124         * progmodes/python.el (python-beginning-of-statement):
9125         Rewrite (bug#2703).
9127         * progmodes/compile.el: Better handle TABs (bug#9749).
9128         (compilation-internal-error-properties)
9129         (compilation-next-error-function): Obey the target buffer's
9130         compilation-error-screen-columns.
9132 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
9134         * progmodes/meta-mode.el: Remove obsolete comments.
9135         (meta-right-comment-regexp, meta-ignore-comment-regexp):
9136         Fix typos in docstrings.
9138 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
9140         * window.el (window-size-fixed-p): Rewrite doc-string.
9141         (window-resizable-p): Rename to window--resizable-p.  Update callers.
9142         (window--resizable): New function.  Make all callers of
9143         window-resizable call window--resizable instead.
9144         (window-resizable): Rewrite in terms of window--resizable.
9146 2011-11-08  Glenn Morris  <rgm@gnu.org>
9148         * progmodes/delphi.el (delphi-mode-syntax-table):
9149         Let define-derived-mode define a proper syntax table.  (Bug#9994)
9151 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9153         * window.el: Stay away from defsubst.
9154         (window-list-no-nils): Remove.
9155         (window-state-get-1, window-state-get): Use backquote instead.
9157 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9159         * emacs-lisp/find-func.el (find-function-read):
9160         Fix incorrect use of default argument in `completing-read'.
9162 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
9164         * window.el (display-buffer-function, special-display-function):
9165         Mention display-buffer-record-window but do not mention
9166         help-setup parameter in doc-strings.
9167         (window-min-delta): Fix doc-string typo.
9169 2011-11-08  Chong Yidong  <cyd@gnu.org>
9171         * window.el (window-total-height, window-total-width): Doc fix.
9172         (window-body-size): Move from C.
9173         (window-body-height, window-body-width): Move to C.
9175 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9177         * window.el: Make special-display like display-buffer-alist (bug#9532).
9178         (display-buffer--special-action): New function, morphed
9179         from display-buffer--special.
9180         (display-buffer): Use it to handle special-display-buffers at higher
9181         priority (just after display-buffer-alist).
9182         (display-buffer-fallback-action, display-buffer--other-frame-action)
9183         (pop-to-buffer-same-window): Remove display-buffer--special.
9185 2011-11-07  Glenn Morris  <rgm@gnu.org>
9187         * calendar/cal-menu.el (cal-menu-set-date-title):
9188         Do nothing if not in a calendar.  (Bug#9976)
9190 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9192         * files.el (find-file): Always use selected-window.
9194 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
9196         * window.el (window-combinations): Make WINDOW argument
9197         mandatory.  Rewrite doc-string.
9198         (walk-window-subtree, window-atom-check, window-min-delta)
9199         (window-max-delta, window--resize-this-window)
9200         (window--resize-root-window-vertically, window-tree)
9201         (balance-windows, window-state-put): Rewrite doc-strings as to
9202         not mention the term "subwindow".
9203         (window--resize-subwindows-skip-p): Rename to
9204         window--resize-child-windows-skip-p.
9205         (window--resize-subwindows-normal): Rename to
9206         window--resize-child-windows-normal.
9207         (window--resize-subwindows): Rename to
9208         window--resize-child-windows.
9209         (window-or-subwindow-p): Rename to window--in-subtree-p.
9211 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
9213         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9214         Ensure that mbox format messages end in two newlines (Bug#9974).
9216 2011-11-06  Chong Yidong  <cyd@gnu.org>
9218         * window.el (window-combination-p): Function deleted; its
9219         side-effect is not used in any existing code.
9220         (window-combinations, window-combined-p): Call window-*-child
9221         directly.
9223 2011-11-05  Chong Yidong  <cyd@gnu.org>
9225         * window.el (window-valid-p): Rename from window-any-p.
9226         (window-size-ignore, window-state-get): Callers changed.
9227         (window-normalize-window): Rename from window-normalize-any-window.
9228         New arg LIVE-ONLY, replacing window-normalize-live-window.
9229         (window-normalize-live-window): Delete.
9230         (window-combination-p, window-combined-p, window-combinations)
9231         (walk-window-subtree, window-atom-root, window-min-size)
9232         (window-sizable, window-sizable-p, window-size-fixed-p)
9233         (window-min-delta, window-max-delta, window-resizable)
9234         (window-resizable-p, window-full-height-p, window-full-width-p)
9235         (window-current-scroll-bars, window-point-1, set-window-point-1)
9236         (window-at-side-p, window-in-direction, window-resize)
9237         (adjust-window-trailing-edge, maximize-window, minimize-window)
9238         (window-deletable-p, delete-window, delete-other-windows)
9239         (record-window-buffer, unrecord-window-buffer)
9240         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9241         (quit-window, split-window, window-state-put)
9242         (set-window-text-height, fit-window-to-buffer)
9243         (shrink-window-if-larger-than-buffer): Callers changed.
9245 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
9247         * mail/rmail.el (rmail-simplified-subject): Decode subject with
9248         rfc2047-decode-string.
9249         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9250         warnings.
9252         * window.el (window-body-height, window-body-width): Mention in
9253         the doc string that the return values are in frame's canonical
9254         units.  (Bug#9949)
9256 2011-11-03  Alan Mackenzie  <acm@muc.de>
9258         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9259         change in cc-engine.el.
9261 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9263         * window.el (switch-to-buffer): Use `force-same-window' interactively.
9265 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
9267         * window.el (quit-window): Call unrecord-window-buffer after
9268         showing another buffer in the window.  (Bug#9937)
9269         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
9271 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
9273         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9274         Accept status with more than 9 shelves.  (Bug#9935)
9275         Reported by Colin D Bennett <colin@gibibit.com>.
9277 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
9279         * help.el (with-help-window): Don't reference
9280         temp-buffer-show-specifiers in doc-string.
9282 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
9284         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9285         menu-item.
9287 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9289         * whitespace.el: New version 13.2.2.
9290         (whitespace-newline-mode): Disable properly.  Reported by Sarah
9291         <EmacsWiki>.
9293 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
9295         * net/newst-treeview.el: Remove "Time-stamp".
9296         (newsticker--group-manage-orphan-feeds): Do not call
9297         newsticker--treeview-tree-update.
9298         (newsticker-treeview-update, newsticker-treeview):
9299         Call newsticker--treeview-tree-update if necessary.
9301 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
9303         * window.el (window-iso-combination-p, window-iso-combined-p)
9304         (window-iso-combinations): Remove "iso-" infix.
9305         Suggested by Chong Yidong.
9306         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9307         (window-max-delta-1, window-resize, window--resize-siblings)
9308         (window--resize-this-window, adjust-window-trailing-edge)
9309         (split-window, balance-windows-1)
9310         (shrink-window-if-larger-than-buffer):
9311         * calendar/calendar.el (calendar-generate-window):
9312         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
9314 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9316         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9317         in place (bug#9907).
9318         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9319         (eshell-rewrite-if-command, eshell-rewrite-for-command)
9320         (eshell-structure-basic-command, eshell-rewrite-while-command)
9321         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9322         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9323         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9324         (eshell-do-pipelines-synchronously, eshell-eval-command):
9325         Use backquotes and prefer setq to set.
9326         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9327         (eshell-macrop): Use functionp.
9328         (eshell-do-eval): Handle multiple expressions in `while' body.
9330 2011-10-30  Chong Yidong  <cyd@gnu.org>
9332         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9333         instead of set-mark (Bug#9810).
9335 2011-10-30  Chong Yidong  <cyd@gnu.org>
9337         * window.el (split-window-below, split-window-right): Rename from
9338         split-window-above-each-other and split-window-side-by-side
9339         respectively.  All callers changed.
9340         (split-window-sensibly, split-window-sensibly): Use them.
9341         (split-window-keep-point): Doc fix.
9343         * isearch.el: Add isearch-scroll property to split-window-below
9344         and split-window-right.
9346         * follow.el (follow-mode):
9347         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9348         * progmodes/ada-xref.el (ada-gdb-application):
9349         * emulation/vip.el (vip-buffer-in-two-windows):
9350         * image-dired.el (image-dired-dired-with-window-configuration):
9351         * dired-x.el (dired-do-find-marked-files):
9352         * dired.el (dired-pop-to-buffer):
9353         * bs.el (bs--show-with-configuration):
9354         * vc/emerge.el (emerge-setup-windows):
9355         * textmodes/two-column.el (2C-two-columns):
9356         * textmodes/reftex-toc.el (reftex-toc):
9357         * progmodes/gdb-mi.el (gdb-setup-windows):
9358         * progmodes/fortran.el (fortran-window-create):
9359         * net/newst-treeview.el (newsticker--treeview-window-init):
9360         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9361         * emulation/tpu-edt.el (tpu-gold-map):
9362         * emulation/crisp.el (crisp-mode-map):
9363         * calendar/calendar.el (calendar-basic-setup): Callers changed.
9365 2011-10-29  Chong Yidong  <cyd@gnu.org>
9367         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9369         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9371         * textmodes/flyspell.el (flyspell-word): Fix char offset for
9372         forged Ispell output (Bug#7904).
9374         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9376 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9378         * doc-view.el: Avoid ugly errors about not finding nil.
9379         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9380         (doc-view-dvipdf-program, doc-view-unoconv-program)
9381         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9382         Avoid nil or absolute file name as default value.
9383         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9385 2011-10-28  Alan Mackenzie  <acm@muc.de>
9387         * progmodes/cc-defs.el (c-version): -> 5.32.2.
9389 2011-10-28  Alan Mackenzie  <acm@muc.de>
9391         Amend the handling of c-beginning/end-of-defun in nested declaration
9392         scopes.
9394         * progmodes/cc-vars.el (c-defun-tactic): Move here from
9395         cc-langs.el.  Change it to a defcustom.
9397         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9398         cc-vars.el.
9400         * progmodes/cc-engine.el (c-beginning-of-statement-1):
9401         Prevent "class foo : bar" being spuriously recognized as a label.
9403         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
9404         Add parameter `inclusive' (to include enclosing braces in the region).
9405         (c-widen-to-enclosing-decl-scope): New function.
9406         (c-while-widening-to-decl-block): New macro.
9407         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9408         outward for defun boundaries, and correspondingly change symbol
9409         `respect-enclosure' to `go-outward'.
9410         (c-declaration-limits): Change algorithm to report only the "innermost"
9411         defun's boundaries.
9413 2011-10-28  Deniz Dogan  <deniz@dogan.se>
9415         * net/rcirc.el (rcirc-mode): Use hard newlines.
9417 2011-10-28  Alan Mackenzie  <acm@muc.de>
9419         Amend to indent and fontify macros "which include their own semicolon"
9420         correctly, using the "virtual semicolon" mechanism.
9422         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
9424         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9425         Recode to scan one line at a time rather than having \n and \r
9426         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
9427         (c-forward-label): Amend for virtual semicolons.
9428         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
9430         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9431         of the new C macros.
9433         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
9434         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9435         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
9436         (c-opt-cpp-macro-define): Make into a full language variable.
9437         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9438         AWK Mode (including \n, \r) removed, no longer needed.
9440         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9441         Invoke c-make-macro-with-semi-re.
9443         * progmodes/cc-vars.el (c-macro-with-semi-re):
9444         (c-macro-names-with-semicolon): New variables.
9445         (c-make-macro-with-semi-re): New function.
9447 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9449         * vc/log-edit.el: Fill empty field rather than adding new one.
9450         (log-edit-add-field): New function.
9451         (log-edit-insert-changelog): Use it.
9453 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
9455         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9457 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9459         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9460         (gdb--check-interpreter): New function.
9461         (gdb): Use it.
9463 2011-10-27  Glenn Morris  <rgm@gnu.org>
9465         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9466         (least-positive-float, least-negative-float)
9467         (least-positive-normalized-float, least-negative-normalized-float)
9468         (float-epsilon, float-negative-epsilon):
9469         Remove unnecessary declarations.
9471         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9472         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9473         (least-positive-float, least-negative-float)
9474         (least-positive-normalized-float, least-negative-normalized-float)
9475         (float-epsilon, float-negative-epsilon): Add doc-strings,
9476         based on those in cl.texi.
9478         * files.el (set-visited-file-name): If the major-mode changed,
9479         reload the local variables.  (Bug#9796)
9481 2011-10-27  Chong Yidong  <cyd@gnu.org>
9483         * subr.el (change-major-mode-after-body-hook): New hook.
9484         (run-mode-hooks): Run it.
9486         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9487         Use change-major-mode-before-body-hook.
9489         * simple.el (fundamental-mode):
9490         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9491         change introducing fundamental-mode-hook.
9493 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
9495         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
9497 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
9499         * ido.el (ido-file-name-all-completions-1): Do not require
9500         tramp.el explicitly.  (Bug#7583)
9502 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9504         * progmodes/octave-mod.el:
9505         * progmodes/octave-inf.el: Update maintainer.
9507 2011-10-26  Chong Yidong  <cyd@gnu.org>
9509         * subr.el (with-wrapper-hook): Rewrite doc.
9511 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
9513         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9514         filenames "/method:foo:".  (Bug#9793)
9516 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9518         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9519         (bug#9865).
9521 2011-10-24  Glenn Morris  <rgm@gnu.org>
9523         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
9525 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
9527         * notifications.el: Add the requirement of a running D-Bus session
9528         bus to the Commentary.
9530 2011-10-24  Juri Linkov  <juri@jurta.org>
9532         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9533         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9534         (Bug#9364)
9536 2011-10-24  Juri Linkov  <juri@jurta.org>
9538         * info.el (Info-following-node-name-re): Add newline to the list
9539         of allowed characters for leading space.  (Bug#9824)
9541 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9543         * progmodes/octave-inf.el (inferior-octave-mode-map):
9544         Fix C-c C-h binding.
9545         * progmodes/octave-mod.el (octave-help): Remove.
9547 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
9549         Sync with Tramp 2.2.3.
9551         * net/tramp-cache.el (top): Pacify byte-compiler using
9552         `init-file-user' and `site-run-file'.
9554         * net/trampver.el: Update release number.
9556 2011-10-23  Chong Yidong  <cyd@gnu.org>
9558         * files.el (toggle-read-only): Remove obsolete comment about
9559         version control.
9561         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9562         for toggle-read-only.  Note that this hasn't called vc-next-action
9563         since 2008-05-02, though it wasn't documented at the time.
9565         * vc/ediff-init.el (ediff-toggle-read-only-function):
9566         Use toggle-read-only.
9568 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
9570         Fix bug #9560, sporadic wrong indentation; improve instrumentation
9571         of c-parse-state.
9573         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9574         correct faulty logical expression.
9575         (c-parse-state-state, c-record-parse-state-state):
9576         (c-replay-parse-state-state): New defvar/defuns.
9577         (c-debug-parse-state): Use new functions.
9579 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
9581         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9582         last fix.  Use window-in-direction correctly.
9584 2011-10-21  Chong Yidong  <cyd@gnu.org>
9586         * progmodes/idlwave.el (idlwave-mode):
9587         * progmodes/vera-mode.el (vera-mode): No need to set
9588         require-final-newline; that's done in prog-mode.
9589         Suggested by Stefan Monnier.
9591 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
9593         * mouse.el (mouse-drag-window-above)
9594         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9595         (mouse-drag-mode-line-1, mouse-drag-header-line)
9596         (mouse-drag-vertical-line-rightward-window): Remove.
9597         (mouse-drag-line): New function.
9598         (mouse-drag-mode-line, mouse-drag-header-line)
9599         (mouse-drag-vertical-line): Call mouse-drag-line.
9600         * window.el (window-at-side-p, windows-at-side): New functions.
9602 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
9604         * tar-mode.el (tar-grind-file-mode):
9605         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
9607 2011-10-21  Chong Yidong  <cyd@gnu.org>
9609         * progmodes/idlwave.el (idlwave-mode):
9610         * progmodes/vera-mode.el (vera-mode):
9611         Use mode-require-final-newline.
9613 2011-10-20  Glenn Morris  <rgm@gnu.org>
9615         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
9617 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
9619         * emulation/cua-base.el (cua-set-mark): Fix case of string.
9621 2011-10-20  Chong Yidong  <cyd@gnu.org>
9623         * emulation/cua-base.el (cua-mode):
9624         * mail/footnote.el (footnote-mode):
9625         * mail/mailabbrev.el (mail-abbrevs-mode):
9626         * net/xesam.el (xesam-minor-mode):
9627         * progmodes/bug-reference.el (bug-reference-mode):
9628         * progmodes/cap-words.el (capitalized-words-mode):
9629         * progmodes/compile.el (compilation-minor-mode)
9630         (compilation-shell-minor-mode):
9631         * progmodes/gud.el (gud-tooltip-mode):
9632         * progmodes/hideif.el (hide-ifdef-mode):
9633         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9634         * progmodes/subword.el (subword-mode):
9635         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9636         * progmodes/which-func.el (which-function-mode):
9637         * term/tvi970.el (tvi970-set-keypad-mode):
9638         * term/vt100.el (vt100-wide-mode):
9639         * textmodes/flyspell.el (flyspell-mode):
9640         * textmodes/ispell.el (ispell-minor-mode):
9641         * textmodes/nroff-mode.el (nroff-electric-mode):
9642         * textmodes/paragraphs.el (use-hard-newlines):
9643         * textmodes/refill.el (refill-mode):
9644         * textmodes/reftex.el (reftex-mode):
9645         * textmodes/rst.el (rst-minor-mode):
9646         * textmodes/sgml-mode.el (html-autoview-mode)
9647         (sgml-electric-tag-pair-mode):
9648         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9649         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9650         * emulation/crisp.el (crisp-mode):
9651         * emacs-lisp/eldoc.el (eldoc-mode):
9652         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9653         minor mode behavior.
9655 2011-10-19  Juri Linkov  <juri@jurta.org>
9657         * descr-text.el (describe-char): Add #x2010 and #x2011 to
9658         the list of hard-coded chars with escape-glyph face.
9660 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9662         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9664 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
9666         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9667         running process.
9669 2011-10-19  Glenn Morris  <rgm@gnu.org>
9671         * vc/vc-bzr.el (vc-bzr-after-dir-status):
9672         Ignore ignored files.  (Bug#9726)
9674 2011-10-19  Chong Yidong  <cyd@gnu.org>
9676         Doc fix for minor modes, stating that an omitted argument enables
9677         the mode unconditionally when called from Lisp.
9679         * abbrev.el (abbrev-mode):
9680         * allout.el (allout-mode):
9681         * autoinsert.el (auto-insert-mode):
9682         * autoarg.el (autoarg-mode, autoarg-kp-mode):
9683         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9684         (global-auto-revert-mode):
9685         * battery.el (display-battery-mode):
9686         * composite.el (global-auto-composition-mode)
9687         (auto-composition-mode):
9688         * delsel.el (delete-selection-mode):
9689         * desktop.el (desktop-save-mode):
9690         * dired-x.el (dired-omit-mode):
9691         * dirtrack.el (dirtrack-mode):
9692         * doc-view.el (doc-view-minor-mode):
9693         * double.el (double-mode):
9694         * electric.el (electric-indent-mode, electric-pair-mode):
9695         * emacs-lock.el (emacs-lock-mode):
9696         * epa-hook.el (auto-encryption-mode):
9697         * follow.el (follow-mode):
9698         * font-core.el (font-lock-mode):
9699         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9700         * help.el (temp-buffer-resize-mode):
9701         * hilit-chg.el (highlight-changes-mode)
9702         (highlight-changes-visible-mode):
9703         * hi-lock.el (hi-lock-mode):
9704         * hl-line.el (hl-line-mode, global-hl-line-mode):
9705         * icomplete.el (icomplete-mode):
9706         * ido.el (ido-everywhere):
9707         * image-file.el (auto-image-file-mode):
9708         * image-mode.el (image-minor-mode):
9709         * iswitchb.el (iswitchb-mode):
9710         * jka-cmpr-hook.el (auto-compression-mode):
9711         * linum.el (linum-mode):
9712         * longlines.el (longlines-mode):
9713         * master.el (master-mode):
9714         * mb-depth.el (minibuffer-depth-indicate-mode):
9715         * menu-bar.el (menu-bar-mode):
9716         * minibuf-eldef.el (minibuffer-electric-default-mode):
9717         * mouse-sel.el (mouse-sel-mode):
9718         * msb.el (msb-mode):
9719         * mwheel.el (mouse-wheel-mode):
9720         * outline.el (outline-minor-mode):
9721         * paren.el (show-paren-mode):
9722         * recentf.el (recentf-mode):
9723         * reveal.el (reveal-mode, global-reveal-mode):
9724         * rfn-eshadow.el (file-name-shadow-mode):
9725         * ruler-mode.el (ruler-mode):
9726         * savehist.el (savehist-mode):
9727         * scroll-all.el (scroll-all-mode):
9728         * scroll-bar.el (scroll-bar-mode):
9729         * server.el (server-mode):
9730         * shell.el (shell-dirtrack-mode):
9731         * simple.el (auto-fill-mode, transient-mark-mode)
9732         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9733         (line-number-mode, column-number-mode, size-indication-mode)
9734         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9735         * strokes.el (strokes-mode):
9736         * time.el (display-time-mode):
9737         * t-mouse.el (gpm-mouse-mode):
9738         * tool-bar.el (tool-bar-mode):
9739         * tooltip.el (tooltip-mode):
9740         * type-break.el (type-break-mode-line-message-mode)
9741         (type-break-query-mode):
9742         * view.el (view-mode):
9743         * whitespace.el (whitespace-mode, whitespace-newline-mode)
9744         (global-whitespace-mode, global-whitespace-newline-mode):
9745         * xt-mouse.el (xterm-mouse-mode): Doc fix.
9747         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9748         Fix autogenerated docstring.
9750 2011-10-19  Juri Linkov  <juri@jurta.org>
9752         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9753         by checking environment variables "DESKTOP_SESSION" and
9754         "XDG_CURRENT_DESKTOP".  (Bug#9779)
9756 2011-10-19  Juri Linkov  <juri@jurta.org>
9758         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9759         (browse-url-chromium-program, browse-url-chromium-arguments):
9760         New defcustoms.
9761         (browse-url-default-browser): Check for `browse-url-chromium' and
9762         call `browse-url-chromium-program'.
9763         (browse-url-chromium): New command.  (Bug#9779)
9765 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
9767         * facemenu.el (list-colors-duplicates): On Windows, detect more
9768         duplicates by assuming that only colors matching "^System" are
9769         special "system colors".  (Bug#9722)
9771 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9773         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9774         to distinguish the author from the committer.
9776 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
9778         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9780 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
9782         * international/mule.el (sgml-html-meta-auto-coding-function):
9783         Add support for detecting encoding in HTML5 specified only as
9784         <meta charset="UTF-8">.  Implementation just makes http-equiv and
9785         content-type parts from HTML4 encoding string optional.  (Bug#9716)
9787 2011-10-18  Glenn Morris  <rgm@gnu.org>
9789         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
9791 2011-10-18  Chong Yidong  <cyd@gnu.org>
9793         * faces.el (cursor): Doc fix.
9795 2011-10-17  Chong Yidong  <cyd@gnu.org>
9797         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9799 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
9801         * dirtrack.el (dirtrack): Support shell buffers with path
9802         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
9804 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
9806         * json.el: Bump version to 1.3 and note change in History.
9807         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9809 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9811         * comint.el (comint-insert-input, comint-send-input)
9812         (comint-get-old-input-default, comint-backward-matching-input)
9813         (comint-next-prompt): Use nil instead of `input' for field property of
9814         past user input (bug#114).
9816         * minibuffer.el (completion--replace): Inherit surrounding properties
9817         (bug#114).
9818         (minibuffer-complete-and-exit): Use it.
9820         * comint.el (comint--table-subvert): Quote the all-completions output
9821         (bug#9160).
9823 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
9825         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9827         * menu-bar.el (menu-bar-file-menu): Add entry for making new
9828         window on right of selected.  (Bug#9350) Reword other window
9829         entries and separate them from frame entries.
9831 2011-10-15  Glenn Morris  <rgm@gnu.org>
9833         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9834         Doc fixes.
9836 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
9838         * net/network-stream.el (network-stream-open-starttls):
9839         Improve detection of failure due to lack of TLS support.
9841         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9842         putting the input text in front and in bold.
9844 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9846         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9848         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9849         empty buffer.
9851         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9852         unread-command-events rather than pushing yet-another event.
9854 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
9856         * mail/sendmail.el (sendmail-query-once): Improve the wording of
9857         the explanation of the possible choices.  Make the options passed
9858         to completing-read shorter.
9860 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9862         * textmodes/flyspell.el (flyspell-large-region): Make sure
9863         extended character mode is used if defined (Bug#1339).
9865 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
9867         * simple.el (what-cursor-position): Fix the display of the
9868         character info for LRE, LRO, RLE, and RLO characters by appending
9869         an invisible PDF.
9871 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9873         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9874         even in case of error; add debug spec; simplify data flow.
9875         (with-timeout-handler): Remove.
9877 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
9879         Fix Bug#6019, Bug#9315.
9881         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9882         complete `buffer-file-name', the local file name part could look
9883         remotely (for example on VMS).
9885         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9886         `tramp-run-real-handler'.
9887         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9888         already quoted by '"'.
9890         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9891         Let `file-name-handler-alist' be nil, the local file name part
9892         could look remotely (for example on VMS).
9894 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9896         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9897         from here...
9898         (flyspell-post-command-hook): ...to here.
9900 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9902         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9903         if not needed.
9904         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
9905         using completion.  Protect against "slow" callers.
9906         Remove the "message hack".
9908 2011-10-11  Juri Linkov  <juri@jurta.org>
9910         * isearch.el (isearch-lazy-highlight-word): New variable.
9911         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9912         Use it.  (Bug#9727)
9914 2011-10-11  Glenn Morris  <rgm@gnu.org>
9916         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9917         like f90-previous-statement does.
9919 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9921         * eshell/eshell.el (eshell-command): History should be saved
9922         only in interactive use, to avoid error.
9924 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9926         * minibuffer.el (completion-file-name-table): Fix last change,
9927         i.e. ignore normal errors but not the other ones.
9929 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
9931         * window.el (special-display-buffer-names)
9932         (special-display-regexps): Remove some remnants of earlier
9933         changes from doc-strings.
9934         (quit-windows-on): New function.
9936         * vc/vc.el (vc-revert, vc-rollback):
9937         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9938         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
9939         (Bug#6183) (Bug#7074) (Bug#7447)
9941 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
9943         * window.el (frame-auto-hide-function): Add version tag.
9944         (Bug#9699)
9946 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
9948         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9949         condition.
9951 2011-10-09  Leo Liu  <sdl.web@gmail.com>
9953         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9954         (Bug#9701)
9956 2011-10-08  Glenn Morris  <rgm@gnu.org>
9958         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9959         before the first code statement zero indent.  (Bug#9690)
9961 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
9963         * simple.el (count-words-region): Always count in the region.
9964         Report the number of lines and characters too.
9965         (count-words): New command, which counts in the buffer if the
9966         region is inactive, as count-words-region used to.
9967         (count-words--message): New function.  Handle plurals.
9968         (count-lines-region): Make it an alias for count-words-region.
9970         * bindings.el (esc-map): Replace count-lines-region with
9971         count-words-region.
9973 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
9975         * window.el (window--delete): Delete dedicated frame
9976         unconditionally when argument KILL is non-nil.  (Bug#9699)
9977         (switch-to-buffer): Fix doc-string typo.
9979 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9981         * eshell/eshell.el (eshell-command): Avoid using hooks.
9983 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
9985         * bindings.el ([M-left],[M-right]): Bind to left-word and
9986         right-word respectively.
9988 2011-10-07  Glenn Morris  <rgm@gnu.org>
9990         * cus-start.el (debug-on-quit): Fix custom type.
9992 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9994         * subr.el (define-key-after): Clarify that the function is not
9995         useful for non-menu keymaps.
9997         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9999 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10001         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
10002         in current minibuffer (Fix bug with recursive minibuffers).
10004 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
10006         * progmodes/gdb-mi.el (gdb): Doc fix.
10008 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
10010         * window.el (frame-auto-hide-function): New option replacing
10011         frame-auto-delete.  Suggested by Stefan Monnier.
10012         (window--delete): Call frame-auto-hide-function instead of
10013         investigating frame-auto-delete.
10014         (window-point-1, set-window-point-1): New functions.
10015         (window-in-direction, record-window-buffer, window-state-get-1)
10016         (display-buffer-record-window): Use window-point-1 instead of
10017         window-point.
10018         (set-window-buffer-start-and-point): Use set-window-point-1.
10020 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10022         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10024 2011-10-05  Glenn Morris  <rgm@gnu.org>
10026         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10027         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
10029 2011-10-05  Leo Liu  <sdl.web@gmail.com>
10031         * subr.el (read-char-choice): Fix argument to buffer-live-p which
10032         works with buffer object.
10034 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10036         * mpc.el (mpc-tool-bar-map): Add labels.
10038 2011-10-04  Glenn Morris  <rgm@gnu.org>
10040         * calendar/holidays.el (calendar-check-holidays): Doc fix.
10042 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
10044         * window.el (window--delete): New function.
10045         (frame-auto-delete): Resuscitate option.
10046         (bury-buffer, replace-buffer-in-windows)
10047         (quit-window): Rewrite using window--delete.
10048         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10049         Pass display-buffer-mark-dedicated to window--display-buffer-2
10050         (Bug#9639).
10052 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10054         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10055         returns a list (bug#9554).  Add remote file name completion.
10056         * comint.el (comint--table-subvert): Curry and get quote&unquote
10057         functions as arguments.
10058         (comint--complete-file-name-data): Adjust call accordingly.
10059         * pcomplete.el (pcomplete--table-subvert): Remove.
10060         (pcomplete-completions-at-point): Use comint--table-subvert instead.
10062         * minibuffer.el (completion-table-case-fold): Use currying.
10063         (completion--styles-type, completion--cycling-threshold-type):
10064         New constants.
10065         (completion-styles, completion-category-overrides)
10066         (completion-cycle-threshold): Use them.
10067         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10068         completion-table-case-fold.
10070 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
10072         * minibuffer.el (completion-category-overrides): Fix type of styles
10073         and add more user friendly tags (bug#9660).
10075 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10077         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10078         (mule-input-method-string): New widget.
10079         (default-input-method, language-info-custom-alist): Use it.
10081 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10083         * pcomplete.el: Require comint.
10084         (pcomplete--common-suffix): Remove.
10085         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10086         (pcomplete--table-subvert): Sync with comint--table-subvert.
10087         (pcomplete--entries): Use comint-completion-file-name-table.
10088         * comint.el (comint-unquote-filename): Simplify.
10089         (comint-completion-file-name-table): New function (bug#9616).
10090         (comint--complete-file-name-data): Use it.
10092         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10093         (pcmpl-gnu-tar-buffer): Remove.
10094         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
10095         around.  Make sure pcomplete-suffix-list is only changed temporarily.
10096         Don't look inside the tar's file if it's too large.
10098 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
10100         * cus-edit.el (custom-mode-map):
10101         * epa.el (epa-key-list-mode-map):
10102         * man.el (Man-mode-map):
10103         * startup.el (splash-screen-keymap):
10104         * simple.el (special-mode-map): Use scroll-up-command and
10105         scroll-down-command.
10107         * progmodes/idlw-help.el (idlwave-help-mode-map):
10108         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10109         * net/newst-plainview.el (newsticker-mode-map):
10110         * emulation/ws-mode.el (wordstar-mode-map):
10111         * emulation/vi.el (vi-com-map):
10112         * calc/calc-graph.el (calc-graph-show-dumb):
10113         * term/sun.el (terminal-init-sun):
10114         * term/ns-win.el (global-map):
10115         * progmodes/grep.el (grep-mode-map):
10116         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10117         * mail/rmail.el (rmail-mode-map):
10118         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10120         * custom.el (custom-safe-themes, load-theme): Treat value of t for
10121         custom-safe-themes as special.
10123 2011-10-01  Julien Danjou  <julien@danjou.info>
10125         * notifications.el (notifications-notify): Fix docstring.
10127 2011-10-01  Per Starbäck  <per@starback.se>
10129         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
10131 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
10133         * startup.el (command-line-1): Fix last fix by inserting
10134         initial-scratch-message into *scratch* before displaying it.
10135         (Bug#9605) and (Bug#9636)
10137 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
10139         * simple.el (line-move): If auto-hscroll-mode is disabled and the
10140         window is hscrolled, move by logical lines.  (Bug#9607)
10141         (line-move-visual): Update the doc string to the above effect.
10143 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
10145         * window.el (display-buffer-record-window): When WINDOW is the
10146         selected window use `point' instead of `window-point'.  (Bug#9626)
10148         * startup.el (command-line-1): Use insert-before-markers when
10149         inserting initial-scratch-message.  (Bug#9605)
10151         * help.el (help-window): Remove variable.
10153 2011-09-29  Glenn Morris  <rgm@gnu.org>
10155         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10157 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
10159         * descr-text.el (describe-char-categories): Accept category
10160         descriptions more than one line long.
10162 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10164         * simple.el (delete-trailing-whitespace): Fix last change.
10166         * progmodes/perl-mode.el (perl-syntax-propertize-function):
10167         Don't confuse "y => 3" as the beginning of a `y' operation.
10169         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10170         object has more than 4 slots (bug#9613).
10172 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
10174         * subr.el (with-output-to-temp-buffer):
10175         * net/quickurl.el (quickurl, quickurl-browse-url):
10176         Fix typos in docstrings.
10178 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
10180         * minibuffer.el (completion-styles)
10181         (completion-category-overrides): Cross reference each other in doc
10182         strings.
10184 2011-09-27  Glenn Morris  <rgm@gnu.org>
10186         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10187         to split-string.  (Bug#9606)
10189 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10191         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10192         (bug#9615).
10194 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
10196         * emacs-lisp/package.el (list-packages): Fix echo area message.
10198 2011-09-27  Leo Liu  <sdl.web@gmail.com>
10200         * ido.el (ido-read-internal): Accept cons cell HIST arg.
10202 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
10204         * net/dbus.el (dbus-unregister-object): Don't release services for
10205         registered signals.  (Bug#9581)
10207 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
10209         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10210         function that picks between cfengine 2 and 3 support
10211         automatically.  Update docs accordingly.
10213 2011-09-22  Kenichi Handa  <handa@m17n.org>
10215         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10216         ZERO.
10217         (indian-itrans-v5-table-for-tamil): New variable.
10218         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10220 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
10222         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10223         that's true if the current command involved collapsing of text.
10224         It's reset to false at the beginning of the next command.
10225         (allout-post-command-business): Move the cursor to the beginning
10226         of entry if the cursor is hidden and collapsing activity just
10227         happened.
10229 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
10231         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10232         tracking (Bug#9541).
10234 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
10236         * net/newst-reader.el (newsticker-html-renderer)
10237         (newsticker-show-news): Automatically load html rendering package
10238         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
10239         because w3m-fill-column is let-bound" and the error "Symbol's value
10240         as variable is void: w3m-fill-column".
10242 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
10244         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10245         Release services only if they are defined.  (Bug#9581)
10247 2011-09-23  Richard Stallman  <rms@gnu.org>
10249         * textmodes/paragraphs.el (forward-sentence): For backwards case,
10250         distinguish start of paragraph from start of its text.
10252         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10254         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10255         (rmail-generate-viewer-buffer): Put that hook on view buffer.
10256         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10258 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
10260         * international/mule-diag.el (mule-diag): Insert a newline after
10261         each fontset description.
10263 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10265         * simple.el (delete-trailing-whitespace):
10266         Document last change; simplify.
10268 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
10270         * simple.el (delete-trailing-whitespace): Also delete
10271         extra newlines at the end of the buffer.
10273         * textmodes/picture.el: Make motion commands obey shift-select-mode.
10274         (picture-newline): Use forward-line so as to ignore fields.
10276 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10278         * subr.el (with-wrapper-hook): Fix edebug spec.
10280 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10282         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10283         (bug#4538).
10285 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
10287         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10288         Fix nasty bug using wrong cached values.
10290 2011-09-23  Alan Mackenzie  <acm@muc.de>
10292         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10294 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
10296         * window.el (pop-to-buffer): Ensure right window is selected if we
10297         chose another frame.
10299 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
10301         * simple.el (what-cursor-position): Use get-char-property-change
10302         and next-single-char-property-change, to be able to show display
10303         properties that come from overlays as well as text properties.
10305 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
10307         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10309         * cmuscheme.el (run-scheme, switch-to-scheme):
10310         * cus-edit.el (customize-group, custom-buffer-create)
10311         (customize-browse):
10312         * info.el (info):
10313         * shell.el (shell):
10314         * mail/sendmail.el (mail):
10315         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10317 2011-09-22  Richard Stallman  <rms@gnu.org>
10319         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10320         move back only to line beg, don't move back over blank lines.
10322 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
10324         * files.el (copy-directory): Set directory attributes only in case
10325         they could be retrieved from the source directory.  (Bug#9565)
10327 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
10329         * progmodes/hideshow.el (hs-looking-at-block-start-p)
10330         (hs-find-block-beginning, hs-hide-level-recursive):
10331         Ignore strings as well as comments.  (Bug#9502)
10333 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
10335         * progmodes/sql.el (sql-comint-postgres):
10336         Convert port number to a string.  (Bug#9566)
10338 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
10340         * window.el (quit-window): Undedicate window when switching to
10341         previous buffer.  Reported by Thierry Volpiatto
10342         <thierry.volpiatto@gmail.com>.
10343         (special-display-popup-frame): When popping up a new frame reset
10344         its previous buffers to nil.  Simplify code.
10346 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
10348         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10349         and process filter, as done also in `shell-command'.
10351 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
10353         * window.el (set-window-buffer-start-and-point):
10354         Call set-window-start with NOFORCE argument t.
10355         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10356         (quit-window): Reword doc-string.  Handle new format of
10357         quit-restore parameter.  Don't delete window if it has a
10358         previous buffer we can show instead of the present one.
10359         (display-buffer-record-window): Rewrite using a new format for
10360         the quit-restore window parameter
10361         (special-display-popup-frame, display-buffer-same-window)
10362         (display-buffer-reuse-window, display-buffer-pop-up-frame)
10363         (display-buffer-pop-up-window, display-buffer-use-some-window):
10364         Adapt symbol passed to display-buffer-record-window.
10365         * help.el (help-window-setup): Handle new format of quit-restore
10366         parameter.
10368 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10370         * faces.el (face-list): Fix docstring (bug#9564).
10372         * window.el (display-buffer--action-function-custom-type):
10373         Don't include internal functions in the Custom interface.
10375 2011-09-20  Juri Linkov  <juri@jurta.org>
10377         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10378         (Info-forward-node, Info-backward-node, Info-next-preorder)
10379         (Info-last-preorder): Use it.  (Bug#9528)
10381 2011-09-20  Juri Linkov  <juri@jurta.org>
10383         * info.el (Info-last-preorder): Visit last menu item only when
10384         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10386 2011-09-20  Julien Danjou  <julien@danjou.info>
10388         * password-cache.el (password-cache-remove): Remove entries even if the
10389         value is nil, so that password with a nil value (negative caching) is
10390         possible to invalidate.
10392 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
10394         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10395         all whitespace around breakpoint.  (Bug#9553)
10396         (f90-find-breakpoint): Only break at whitespace inside a comment.
10398 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10400         * minibuffer.el (completion-file-name-table): Keep track of errors.
10401         (completion-table-with-predicate): Handle the case where pred1 is nil.
10402         * pcomplete.el (pcomplete-completions-at-point): Simplify.
10404 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10406         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10407         (debugger-return-value): Signal an error if the debugging context does
10408         not await any return value.
10410         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10411         * image-mode.el (image-toggle-display-text)
10412         (image-toggle-display-image): Stay away from evil `intangible'.
10414 2011-09-19  Leo Liu  <sdl.web@gmail.com>
10416         * replace.el (occur-revert-arguments): Make it permanent-local.
10417         (occur-mode): Don't call font-lock-defontify.
10419 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
10421         * net/ldap.el (ldap-search-internal): Don't push empty search
10422         result (Bug#9508).
10424 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10426         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10428 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
10430         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10431         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10433 2011-09-18  Juri Linkov  <juri@jurta.org>
10435         * buff-menu.el (Buffer-menu-mode-map):
10436         * dired.el (dired-mode-map):
10437         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10438         (lisp-interaction-mode-map):
10439         * emacs-lisp/package.el (package-menu-mode-map):
10440         * epa.el (epa-key-list-mode-map):
10441         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10442         (menu-bar-options-menu):
10443         * outline.el (outline-mode-menu-bar-map):
10444         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10445         * vc/vc-dir.el (vc-dir-menu-map):
10446         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10447         Capitalize non-function content words in menu item strings.
10449         * dired.el (dired-mode-map): Add menu item for
10450         `image-dired-dired-toggle-marked-thumbs'.
10452 2011-09-18  Juri Linkov  <juri@jurta.org>
10454         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10455         to `isearch-case-fold-search' and restore its original value
10456         after the `isearch-mode' call.
10458 2011-09-18  Juri Linkov  <juri@jurta.org>
10460         * progmodes/grep.el (grep-process-setup): Don't check code for 1
10461         because `zgrep' returns 1 for successful matches (bug#9226).
10463 2011-09-18  Juri Linkov  <juri@jurta.org>
10465         * info.el (Info-extract-menu-node-name): Check the second match
10466         for empty string (second test-case of bug#9528).
10467         (Info-last-preorder): Let-bind `Info-history' to nil to not add
10468         intermediate nodes to the history (first test-case of bug#9528).
10470 2011-09-18  Juri Linkov  <juri@jurta.org>
10472         * info.el (Info-mode-syntax-table): New variable.
10473         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
10475 2011-09-18  Juri Linkov  <juri@jurta.org>
10477         * info.el (Info-file-supports-index-cookies):
10478         Increment line-beginning-position's arg from 3 to 4 because makeinfo
10479         outputs one more line for long file names (bug#4142).
10481 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
10483         * newcomment.el (comment-normalize-vars): If prompting for
10484         comment-start, set comment-start-skip too (Bug#8424).
10486 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
10488         * icomplete.el: Fix previous fix of Bug#5849.
10489         (icomplete-mode): Don't set completion-show-inline-help.
10490         (icomplete-minibuffer-setup): Set completion-show-inline-help
10491         locally during icompletion.
10493 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
10495         * woman.el (woman2-process-escapes): Don't delete unrecognized
10496         escapes (Bug#7843).
10498         * files.el (inhibit-first-line-modes-regexps): Add image files.
10499         (hack-local-variables-prop-line): Return nil for malformed
10500         prop-lines (Bug#9044).
10502 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
10504         * net/tramp.el (top): Don't require 'shell.
10505         (tramp-methods): Fix docstring.
10506         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10507         Return complete remote file name.  Handle "smb" case.
10508         Use `tramp-tmpdir', if defined for the respective method.
10509         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10511         * net/tramp-compat.el (top): Require 'shell.
10513         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10514         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10515         `tramp-current-host'.
10516         (tramp-get-remote-tmpdir): Remove.
10518         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10519         `tramp-tmpdir' entries.
10520         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10521         (tramp-smb-handle-file-attributes): Ignore errors.
10522         (tramp-smb-wait-for-output): Check also for process end.
10524 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10526         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10527         when sending QUIT (bug#9312).
10529 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
10531         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10532         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10533         occur-mode-display-occurrence.
10534         (occur-edit-mode): Add usage message.
10535         (occur-cease-edit): New command.
10536         (occur-after-change-function): Use text properties to find the
10537         position of the prefix text.
10538         (occur-engine): Set stickiness of prefix text properties.
10540 2011-09-17  Glenn Morris  <rgm@gnu.org>
10542         * progmodes/etags.el (complete-tag):
10543         Fix call to completion-in-region.  (Bug#9526)
10545 2011-09-17  Juri Linkov  <juri@jurta.org>
10547         * textmodes/ispell.el (ispell-word): Add to the error message
10548         the word, ispell program name and current dictionary (bug#9121).
10549         (ispell-tex-arg-end): Capitalize "error" in the error message.
10551 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
10553         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10554         check.  (Bug#4251)
10556 2011-09-17  Juri Linkov  <juri@jurta.org>
10558         * window.el (window-safe-min-height, window-safe-min-width):
10559         Fix typos (followup to bug#9522).
10561 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
10563         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10565 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
10567         * simple.el (line-move): If goal-column is set, move by logical
10568         lines, not by display lines.  (Bug#971)
10569         (next-line, previous-line, goal-column, line-move-visual): Doc fix
10570         to reflect the above change.
10572 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10574         * image.el (imagemagick-register-types): Use regexp-opt.
10576 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
10578         * window.el (display-buffer-base-action): Rename from
10579         display-buffer-default-action.  Make default value empty.
10580         (display-buffer-overriding-action): Convert to defvar.
10581         (display-buffer-fallback-action): New var.
10583 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
10585         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10586         declaration.
10587         (package--add-to-archive-contents): If there is a duplicate entry
10588         with an older version, remove it.
10589         (package-menu-mark-delete, package-menu-mark-install)
10590         (package-menu-mark-unmark): Make unused args optional.
10591         (package-menu-mark-obsolete-for-deletion):
10592         Use package-menu-get-status instead of a regexp search.
10593         (package-menu-get-status): Use tabulated-list-entry.
10594         (package-menu-mark-upgrades): New command.
10595         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
10596         (package-menu-execute): Do installation before deletion.
10597         (package-menu-refresh, package-menu-execute): Use derived-mode-p
10598         instead of checking major-mode.
10599         (package-menu--find-upgrades): New function.
10601 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10603         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10604         passwords in the log buffer.
10605         (smtpmail-process-filter): Update the process marker so that the
10606         "broken by peer" status message is inserted in the right place.
10608 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10610         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10611         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10612         bibtex-completion-at-point-function.
10613         (bibtex-completion-at-point-function): Use them.
10615         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10617         * mpc.el (mpc-constraints-tag-lookup): New function.
10618         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10619         also to browser "album|playlist".
10621 2011-09-14  Juri Linkov  <juri@jurta.org>
10623         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
10624         (isearch-edit-string): Use length of `isearch-string' when
10625         `isearch-fail-pos' returns nil.
10626         (isearch-message): Remove duplicate code and call
10627         `isearch-fail-pos' with arg `t'.
10629 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
10631         * replace.el (occur-mode-goto-occurrence): Don't force using other
10632         window (Bug#9499).
10634         * dired-aux.el (dired-do-chmod): Don't provide initial input.
10636 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
10638         * window.el (display-buffer-window): Remove.
10639         (display-buffer-record-window): Use help-setup window parameter
10640         instead of variable display-buffer-window.
10641         (display-buffer-function, special-display-buffer-names)
10642         (special-display-function): Mention help-setup parameter instead
10643         of display-buffer-window in doc-string.
10644         * help.el (help-window-setup): New argument help-window.
10645         Use help-window-setup parameter instead of display-buffer-window.
10646         Reword some messages.
10647         (with-help-window): Pass window used for displaying the buffer
10648         to help-window-setup.  Don't set display-buffer-window.
10650 2011-09-13  Glenn Morris  <rgm@gnu.org>
10652         * emacs-lisp/debug.el (debugger-make-xrefs):
10653         Preserve point.  (Bug#9462)
10655 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
10657         * window.el (window-deletable-p): Use next-frame.
10659 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
10661         * window.el (window-auto-delete): Remove.
10662         (window-deletable-p): Remove argument FORCE.  Don't deal with
10663         dedication and previous buffers.
10664         (switch-to-prev-buffer): Don't delete window.
10665         (delete-windows-on): Delete a window's frame if and only if the
10666         window is dedicated.
10667         (replace-buffer-in-windows): Delete buffer's window or frame if
10668         and only if window is dedicated.
10669         (quit-window): Handle quit-restore as before last change.
10670         (bury-buffer): Delete window only if window-deletable-p returns t.
10672 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
10674         * window.el (window-deletable-p): Never delete the last frame on a
10675         given terminal.
10677 2011-09-13  Glenn Morris  <rgm@gnu.org>
10679         * help.el (describe-key-briefly): Copy previous standard-output change.
10681 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
10683         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
10685 2011-09-13  Glenn Morris  <rgm@gnu.org>
10687         * emacs-lisp/lisp-mode.el (lisp-indent-function):
10688         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10690 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
10692         * dired-aux.el (dired-mark-read-string): Don't return default
10693         value on empty input (Bug#9361).
10694         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10695         Omit initial minibuffer contents.
10696         (dired-do-chmod): Signal an error on empty input.
10697         (dired-mark-read-string): Don't return default on empty input.
10699         * files.el (file-modes-symbolic-to-number): Doc fix.
10701 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10703         * international/mule-cmds.el (ucs-completions): Remove.
10704         (read-char-by-name): Use complete-with-action instead; add metadata.
10706 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
10708         * window.el (display-buffer--action-function-custom-type)
10709         (display-buffer--action-custom-type): New vars.
10710         (display-buffer-alist, display-buffer-default-action)
10711         (display-buffer-overriding-action): Add defcustom types.
10713         * frame.el (delete-other-frames): Doc fix (Bug#276).
10715 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10717         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10719 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
10721         Change modes that used same-window-* vars to use switch-to-buffer.
10723         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10724         Use switch-to-buffer.
10726         * cus-edit.el (customize-group, custom-buffer-create)
10727         (customize-browse, custom-buffer-create-other-window):
10728         Use switch-to-buffer or switch-to-buffer-other-window.
10730         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10731         (Info-prev, Info-up, Info-speedbar-goto-node)
10732         (info-display-manual): Use switch-to-buffer.
10733         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10735         * mail/sendmail.el (mail): Use switch-to-buffer.
10736         (mail-recover): Use switch-to-buffer-other-window.
10738         * cmuscheme.el (run-scheme, switch-to-scheme):
10739         * ielm.el (ielm):
10740         * shell.el (shell):
10741         * net/rlogin.el (rlogin):
10742         * net/telnet.el (telnet, rsh):
10743         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10745 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
10747         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10749 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10751         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10752         so don't mention it (bug#9301).
10753         (dired-sort-toggle-or-edit): Clarify string further.
10755         * faces.el (face-spec-set-match-display): Make `(type graphic)'
10756         match `x', `w32' and `ns', like the manual says (bug#9029).
10758         * subr.el (eval-after-load): Doc string clarification (bug#9125).
10759         (process-kill-buffer-query-function): Mention the buffer name in
10760         the query.
10762         * image-mode.el (image-next-line): The line parameter is mandatory
10763         (bug#9258).
10765         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10766         which can be useful (bug#9301).
10768         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10770         * subr.el (match-string): Mention that the current buffer should
10771         be the same as the search was done in (bug#9282).
10773         * facemenu.el: Disable the remove-* commands if the mark isn't
10774         active (bug#9162).
10776 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
10778         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10779         of display-buffer.
10780         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10782         * replace.el (occur-mode-goto-occurrence)
10783         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10784         and display-buffer.
10786         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10787         display-buffer.
10789         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10790         special-display and same-window variables.
10791         (mail-other-window): Use switch-to-buffer-other-window.
10792         (mail-other-frame): USe switch-to-buffer-other-frame.
10794         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10795         Use display-buffer-other-frame.
10796         (gdb-display-gdb-buffer): Use pop-to-buffer.
10798         * progmodes/gud.el (gud-goto-info): Use info-other-window.
10800         * progmodes/python.el: Don't set same-window-buffer-names.
10802         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10804         * window.el (display-buffer-alist): Add *Python*.
10806 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
10808         * window.el (display-buffer-alist): Add entry for buffers
10809         previously handled same-window-*.
10810         (display-buffer-alist, display-buffer-default-action)
10811         (display-buffer-overriding-action): Mark as risky.
10812         (display-buffer-alist): Document action function changes.
10813         (display-buffer--same-window-action)
10814         (display-buffer--other-frame-action): New variables.
10815         (switch-to-buffer, display-buffer-other-frame): Use them.
10816         (display-buffer): Rename reuse-frame entry to reusable-frames.
10817         (display-buffer-reuse-selected-window): Function deleted.
10818         (display-buffer-reuse-window): Handle reusable-frames alist entry.
10819         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10820         (display-buffer-special): New function.
10821         (display-buffer--maybe-pop-up-frame-or-window): Rename from
10822         display-buffer-reuse-or-pop-window.  Split off special-display
10823         part into display-buffer-special.
10824         (display-buffer-use-some-window): Don't perform any special
10825         pop-up-frames handling.
10826         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10827         (display-buffer--maybe-same-window): Rename from
10828         display-buffer-maybe-same-window.
10830         * info.el: Don't set same-window-regexps.
10831         (info-setup): New function.
10832         (info-other-window, info): Call it.
10834         * cus-edit.el: Don't set same-window-regexps.
10835         (customize-group): New argument.
10836         (customize-group-other-window): Use it.
10837         (customize-face, customize-face-other-window): Likewise.
10838         (custom-buffer-create-other-window): Use pop-to-buffer directly.
10840         * net/rlogin.el:
10841         * net/telnet.el:
10842         * progmodes/gud.el: Don't set same-window-regexps.
10844         * cmuscheme.el:
10845         * ielm.el:
10846         * shell.el:
10847         * mail/sendmail.el:
10848         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10850 2011-09-10  Juri Linkov  <juri@jurta.org>
10852         * isearch.el (isearch-edit-string): Remove obsolete mention of
10853         `C-w' (`isearch-yank-word-or-char') from docstring.
10854         (isearch-query-replace): Fix typo in docstring (bug#9466).
10856 2011-09-10  Juri Linkov  <juri@jurta.org>
10858         * paren.el (show-paren-function): Don't show escaped parens.
10859         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
10861 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
10863         * mail/sendmail.el (mml-to-mime, mml-attach-file)
10864         (mm-default-file-encoding): Remove autoload forms, they are
10865         replaced with autoload cookies in mml.el and mm-encode.el.
10866         (mail-add-attachment): New command.
10867         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10868         (mail-mode): Mention mail-insert-file and mail-add-attachment in
10869         the doc string.
10870         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10872 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
10874         * simple.el (count-words-region): Use buffer if there's no region
10875         (bug#9429).
10877 2011-09-09  Juri Linkov  <juri@jurta.org>
10879         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10880         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10881         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
10883 2011-09-09  Alan Mackenzie  <acm@muc.de>
10885         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10886         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
10888 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
10890         Fix for Savannah bug#9392.
10891         * simple.el (mail-encode-mml): New defvar.
10893         * mail/rmail.el (mail-encode-mml): Add a defvar.
10894         (rmail-enable-mime-composing): Default to t.
10895         (rmail-forward): Use MIME method of forwarding only if both
10896         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10897         Set mail-encode-mml non-nil if the MIME method was used.
10899         * mail/sendmail.el (mml-to-mime): Add autoload form.
10900         (mail-encode-mml): Add a defvar.
10901         (mail-mode): Make mail-encode-mml buffer-local and initialize it
10902         to nil.
10903         (mail-send): If mail-encode-mml is non-nil, run the outgoing
10904         message through mml-to-mime, and reset mail-encode-mml to nil.
10906 2011-09-09  Glenn Morris  <rgm@gnu.org>
10908         * woman.el (woman-if-body): When processing an .el block,
10909         do not delete the next .el block as well.  (Bug#9447)
10910         (woman-special-characters): Add oq, cq, and hy characters.
10912 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
10914         * window.el (window-deletable-p): Make sure window is live before
10915         invoking window-prev-buffers.
10917 2011-09-08  Leo Liu  <sdl.web@gmail.com>
10919         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
10921 2011-09-08  Juri Linkov  <juri@jurta.org>
10923         * progmodes/compile.el (compilation-environment): Make it
10924         a defcustom (bug#8340).
10926 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
10928         * window.el (frame-auto-delete): Rename to window-auto-delete.
10929         Make it control auto-deletion of windows and/or frames.
10930         (window-deletable-p): New argument FORCE.  Rewrite conditions
10931         for deleting window/frame.  (Bug#9419)
10932         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10933         Rewrite handling of case when window/frame can be deleted.
10934         (delete-windows-on): Call window-deletable-p with new FORCE
10935         argument t.  (Bug#9456)
10937 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
10939         * help-mode.el (help-mode): Restore autoload.
10941 2011-09-07  Juri Linkov  <juri@jurta.org>
10943         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10944         `compilation-environment'.  Set buffer-local
10945         `compilation-environment' to `thisenv' later after (funcall mode).
10946         (Bug#8340)
10948         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
10949         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10950         instead of replacing its value.  (Bug#8340)
10952 2011-09-07  Juri Linkov  <juri@jurta.org>
10954         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10955         based on text properties put by `grep-filter' instead of matching
10956         escape sequences.
10957         (grep-mode): Set buffer-local `compilation-error-screen-columns'
10958         to the value of `grep-error-screen-columns' (bug#9438).
10960 2011-09-07  Juri Linkov  <juri@jurta.org>
10962         * simple.el (next-error-highlight, next-error-highlight-no-select):
10963         Doc fix (bug#9432).
10965 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
10967         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10968         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
10970 2011-09-07  Leo Liu  <sdl.web@gmail.com>
10972         * net/rcirc.el (rcirc-mode): Conditionally initialize
10973         rcirc-input-ring.
10975 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10977         * emacs-lisp/find-func.el (find-function-C-source): Only set
10978         find-function-C-source-directory after checking that we found a source
10979         file there (bug#9440).
10981 2011-09-06  Alan Mackenzie  <acm@muc.de>
10983         * isearch.el (isearch-other-meta-char): Wherever a key list is
10984         unread, "unread" the prefix arg, too.  This fixes bug #8901.
10986 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
10988         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10990 2011-09-05  Juri Linkov  <juri@jurta.org>
10992         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10994 2011-09-05  Juri Linkov  <juri@jurta.org>
10996         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10997         keeping point where processing of grep matches begins, and
10998         continue to delete remaining escape sequences from the same point.
10999         (grep-filter): Make leading zero optional in "0?1;31m" because
11000         git-grep emits "\033[1;31m" escape sequences unlike expected
11001         "\033[01;31m" as GNU Grep does (bug#9408).
11002         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11004 2011-09-05  Juri Linkov  <juri@jurta.org>
11006         * subr.el (y-or-n-p): Capitalize "yes".
11008 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
11010         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
11011         `tramp-cache-unload-hook' where appropriate.
11012         (tramp-methods): Rename `tramp-remote-sh' to
11013         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
11014         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11016         * net/tramp-sh.el (top): Don't require 'shell.
11017         (tramp-methods): Add `tramp-remote-shell' and
11018         `tramp-remote-shell-args' entries.
11019         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11020         (tramp-sh-handle-shell-command): Remove.
11021         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11022         Use `tramp-remote-shell'.
11024 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
11026         * mail/sendmail.el (sendmail-query-once-function): Delete.
11027         (sendmail-query-once): Save directly to send-mail-function.
11028         Update message-send-mail-function too.
11030         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11032 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
11034         * progmodes/python.el (python-mode-map): Use correct function to
11035         start python interpreter from menu-bar (as reported by Geert
11036         Kloosterman).
11037         (inferior-python-mode-map): Fix typo.
11038         (python-shell-map): Remove.
11040 2011-09-03  Deniz Dogan  <deniz@dogan.se>
11042         * net/rcirc.el (rcirc-print): Simplify code for
11043         rcirc-scroll-show-maximum-output.  There is no need to walk
11044         through all windows to find the right one.
11046 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
11048         * help.el (help-return-method): Doc fix.
11050 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
11052         * window.el (window-deletable-p): Don't return a non-nil value
11053         when there's a buffer that was shown in the window before.
11054         (Bug#9419)
11055         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11056         Set window's previous buffers to nil.
11058 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
11060         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11061         newline before and after the tag line, so it doesn't interfere
11062         with determining the paragraph direction of bidirectional text.
11064 2011-09-03  Leo Liu  <sdl.web@gmail.com>
11066         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
11068 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
11070         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
11071         (pop-to-buffer): Change interactive spec.  Pass second argument
11072         directly to display-buffer.
11073         (display-buffer): Fix interactive spec.  Use functionp to
11074         distinguish between a function and a list of functions.
11076         * abbrev.el (edit-abbrevs):
11077         * arc-mode.el (archive-extract):
11078         * autoinsert.el (auto-insert):
11079         * bookmark.el (bookmark-bmenu-list):
11080         * files.el (find-file):
11081         * view.el (view-buffer):
11082         * progmodes/compile.el (compilation-goto-locus):
11083         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11085 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
11087         * window.el (display-buffer-alist): Doc fix.
11088         (display-buffer): Add docstring.  Don't treat
11089         display-buffer-default specially.
11090         (display-buffer-reuse-selected-window)
11091         (display-buffer-same-window, display-buffer-maybe-same-window)
11092         (display-buffer-reuse-window, display-buffer-pop-up-frame)
11093         (display-buffer-pop-up-window)
11094         (display-buffer-reuse-or-pop-window)
11095         (display-buffer-use-some-window): New functions.
11096         (display-buffer-default-action): Use them.
11097         (display-buffer-default): Delete.
11098         (pop-to-buffer-1): Fix choice of actions.
11100 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11102         * minibuffer.el (completion--insert-strings): Don't get confused by
11103         completion entries that end with an LF char.
11105 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
11107         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11109 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
11111         * window.el (display-buffer): Restore interactive spec.
11112         (display-buffer-same-window, display-buffer-other-window):
11113         New functions.
11114         (pop-to-buffer-1): New function.  Use the above.
11115         (pop-to-buffer, pop-to-buffer-same-window): Use it.
11116         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
11118         * view.el (view-buffer-other-window, view-buffer-other-frame):
11119         Just use pop-to-buffer.
11121 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11123         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
11125 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
11127         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
11129 2011-08-31  Richard Stallman  <rms@gnu.org>
11131         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11132         of the separation of rmail-view-buffer from rmail-buffer.
11133         If you say no to "replace original", the decrypt is in the
11134         view buffer.  If you say yes, the decrypt goes into the
11135         rmail buffer also.
11137 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
11139         * window.el (display-buffer-window): Rewrite doc-string.
11140         (display-buffer-record-window): New function.
11141         (display-buffer-macro-specifiers)
11142         (display-buffer-even-window-sizes, display-buffer-set-height)
11143         (display-buffer-set-width, display-buffer-in-window)
11144         (display-buffer-reuse-window, display-buffer-split-specifiers)
11145         (display-buffer-side-specifiers, display-buffer-split-window-1)
11146         (display-buffer-split-window, display-buffer-split-atom-window)
11147         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11148         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11149         (display-buffer-other-window-means-other-frame)
11150         (display-buffer-normalize-special)
11151         (display-buffer-normalize-default)
11152         (display-buffer-normalize-argument)
11153         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11154         (display-buffer-normalize-specifiers, display-buffer-frame)
11155         (display-buffer-same-window, display-buffer-same-frame)
11156         (display-buffer-other-window)
11157         (display-buffer-same-frame-other-window)
11158         (display-buffer-other-frame, pop-to-buffer-same-window)
11159         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11160         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11161         (switch-to-buffer-same-frame)
11162         (switch-to-buffer-other-window-same-frame)
11163         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11164         (display-buffer-alist-set-1, display-buffer-alist-set-2)
11165         (display-buffer-alist-set): Remove.
11166         (display-buffer-function, special-display-buffer-names)
11167         (special-display-regexps, special-display-function):
11168         In doc-string refer to display-buffer-window and quit-restore
11169         parameter.
11170         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11171         (special-display-frame-alist, special-display-popup-frame)
11172         (same-window-buffer-names, same-window-regexps, same-window-p)
11173         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11174         (split-window-preferred-function, split-height-threshold)
11175         (split-width-threshold, window-splittable-p)
11176         (split-window-sensibly, window--try-to-split-window)
11177         (window--frame-usable-p, even-window-heights)
11178         (window--even-window-heights, window--display-buffer-1)
11179         (window--display-buffer-2, display-buffer-other-frame):
11180         Restore old Emacs 23 code, order and doc-strings where applicable.
11181         (display-buffer-default, display-buffer-assq-regexp): New functions.
11182         (display-buffer-alist): Rewrite doc-string.
11183         (display-buffer-default-action)
11184         (display-buffer-overriding-action): New variables.
11185         (display-buffer, switch-to-buffer): Rewrite.
11186         (pop-to-buffer): Restore Emacs 23 behavior but use
11187         window-normalize-buffer-to-display.
11188         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11189         Restore Emacs 23 behavior but use
11190         window-normalize-buffer-to-switch-to.
11191         (pop-to-buffer-same-window): Rewrite.
11192         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11193         Rewrite using Emacs 23 options.
11195 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
11197         * net/tramp.el (tramp-root-regexp): Remove.
11198         (tramp-completion-file-name-regexp-unified)
11199         (tramp-completion-file-name-regexp-separate)
11200         (tramp-completion-file-name-regexp-url): Don't use leading volume
11201         letter on w32 systems.  (Bug#5303, Bug#9311)
11202         (tramp-drop-volume-letter): Simplify definition.
11203         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11205 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11207         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11208         (bug#9356).
11210 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
11212         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
11214 2011-08-29  Juri Linkov  <juri@jurta.org>
11216         * isearch.el (isearch-done): Don't display message "Mark saved"
11217         when arg `edit' is non-nil to prevent its flicker in the echo area.
11219 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
11221         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11222         obsolete packages for deletion.
11224 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
11226         * help-mode.el (help-mode-map): Add special-mode-map to parent.
11227         (help-mode): Derive help-mode from special-mode.  Don't invoke
11228         view-mode from help-mode.
11229         (help-xref-override-view-map): Remove.
11230         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11231         view-mode is not used anymore.
11233 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
11235         * server.el (server-port): Doc fix.
11237         * cus-theme.el (custom-theme-choose-mode): Inherit from
11238         special-mode (Bug#9124).
11239         (custom-theme-choose-mode-map): Add special-mode to parent.
11241 2011-08-28  Alan Mackenzie  <acm@muc.de>
11243         * progmodes/cc-fonts.el
11244         (c-make-font-lock-BO-decl-search-function): New function.
11245         (c-basic-matchers-after - "Fontify the clauses after various
11246         keywords"): Extract the three keyword lists for the 3 erroneous
11247         constructs from the list of four, and use the new function above
11248         in place of an old one.
11250 2011-08-28  Deniz Dogan  <deniz@dogan.se>
11252         * net/rcirc.el (rcirc-insert-prev-input)
11253         (rcirc-insert-next-input): Remove unused argument.
11255 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11257         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11259 2011-08-27  Alan Mackenzie  <acm@muc.de>
11261         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11262         handle function pointer parameters properly.
11264 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
11266         * window.el (display-buffer-reuse-window): Fix case where
11267         selected window was reused with non-nil OTHER-WINDOW argument.
11268         (Bug#9381)
11270 2011-08-27  Deniz Dogan  <deniz@dogan.se>
11272         * net/rcirc.el (rcirc-check-auth-status): Adding support for
11273         oftc's NickServ messages.
11275 2011-08-27  Glenn Morris  <rgm@gnu.org>
11277         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
11279 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
11281         * emacs-lisp/package.el (package-install): Call package-initialize
11282         if called interactively.
11284 2011-08-26  Leo Liu  <sdl.web@gmail.com>
11286         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
11288 2011-08-25  Juri Linkov  <juri@jurta.org>
11290         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11291         `search-whitespace-regexp' (bug#9364).
11293 2011-08-25  Juri Linkov  <juri@jurta.org>
11295         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11296         `regexp-search-ring' to their global values to protect from
11297         updating by `read-from-minibuffer' (bug#9185).
11299 2011-08-25  Juri Linkov  <juri@jurta.org>
11301         * textmodes/ispell.el (ispell-command-loop): Add newline
11302         at the end of the "Use option `i'..." line.
11304 2011-08-25  Juri Linkov  <juri@jurta.org>
11306         * battery.el (display-battery-mode): If `battery-status-function'
11307         or `battery-mode-line-format' is nil, display the message and set
11308         `display-battery-mode' to nil (bug#9363).
11310 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
11312         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11313         bidi-string-mark-left-to-right; they are unnecessary now.
11315 2011-08-25  Deniz Dogan  <deniz@dogan.se>
11317         * net/quickurl.el: Documentation typo fixes.
11319 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
11321         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11323 2011-08-25  Glenn Morris  <rgm@gnu.org>
11325         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11327         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11328         (smtpmail-via-smtp): Handle nil response from smtp.
11330 2011-08-24  Juri Linkov  <juri@jurta.org>
11332         * proced.el (proced-marked): Inherit from `error' instead of
11333         `font-lock-warning-face'.
11335         * ibuffer.el (ibuffer-marked-face): Change default face from
11336         `font-lock-warning-face' to `warning'.
11337         (ibuffer-deletion-face): Change default face from
11338         `font-lock-type-face' to `error'.
11340         * battery.el (battery-update): Use the face `error' instead of
11341         `font-lock-warning-face' (bug#6117).
11343 2011-08-24  Juri Linkov  <juri@jurta.org>
11345         * faces.el (success): Change face color from "Green3" to
11346         "ForestGreen" on light background (bug#9353).
11348 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
11350         * window.el (quit-window): Rename from quit-restore-window.
11351         Use same arglist as old quit-window.
11352         (frame-auto-delete): Doc fix.
11354         * view.el (view-mode-exit): Use quit-window.
11356 2011-08-24  Juri Linkov  <juri@jurta.org>
11358         * isearch.el (isearch-ring-adjust1): Start visiting previous
11359         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11360         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11361         for empty search string (when the last search string is reused
11362         automatically) to adjust the isearch ring to the last element and
11363         prepare the correct index for further M-p commands (bug#9185).
11365 2011-08-24  Kenichi Handa  <handa@m17n.org>
11367         * international/ucs-normalize.el: If decomposition property of
11368         CHAR is the default one (i.e. a list of CHAR itself), treat it as
11369         nil.
11370         (nfd, nfkd): Likewise.
11372 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11374         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11375         from process filters aren't reliably transmitted to the surrounding
11376         accept-process-output.
11377         (mpc-proc-check): New function.
11378         (mpc-proc-sync): Use it (bug#8293)
11380 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11382         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11383         Add compatibility functions (bug#9313).
11385 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
11387         * cus-start.el (all): Add entry for bidi-paragraph-direction.
11389         * international/uni-bidi.el: Regenerate.
11391 2011-08-23  Kenichi Handa  <handa@m17n.org>
11393         * international/charprop.el:
11394         * international/uni-bidi.el:
11395         * international/uni-category.el:
11396         * international/uni-combining.el:
11397         * international/uni-comment.el:
11398         * international/uni-decimal.el:
11399         * international/uni-decomposition.el:
11400         * international/uni-digit.el:
11401         * international/uni-lowercase.el:
11402         * international/uni-mirrored.el:
11403         * international/uni-name.el:
11404         * international/uni-numeric.el:
11405         * international/uni-old-name.el:
11406         * international/uni-titlecase.el:
11407         * international/uni-uppercase.el: Regenerate.
11409 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
11411         * help.el (help-window-setup): Fix message displayed when other
11412         window is reused.  (Bug#9341)
11414 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11416         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11417         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11419         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11420         Mark obsolete.
11421         * shell.el (shell-parse-pcomplete-arguments): New function.
11422         (shell-completion-vars): Use it instead (bug#9160).
11424 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11426         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11427         strings and comments (bug#9333).
11429         * emacs-lisp/debug.el (debug-arglist): New function.
11430         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
11431         (debug-on-entry-1): Handle interpreted closures (bug#9120).
11433 2011-08-22  Juri Linkov  <juri@jurta.org>
11435         * progmodes/compile.el (compilation-mode-font-lock-keywords):
11436         Revert regexp that highlights output switches to its old
11437         pre-2010-10-28 value and remove one `?' from it (bug#9319).
11439         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11440         to check for empty output (bug#9226).
11442 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
11444         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11445         symbol-constituent as the default, as that stops font-lock from
11446         working properly (Bug#8843).
11448 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11450         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11451         `coding-system-for-*' around the process open call to avoid
11452         auth-source side effects.
11453         (smtpmail-try-auth-methods): Expand the secret password.
11454         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11455         probe hangs.
11457 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
11459         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11461         * emacs-lisp/find-func.el (find-function-noselect): New arg
11462         lisp-only.
11464         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11465         signal an error for built-in functions (Bug#6664).
11467 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11469         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11470         (smtpmail-try-auth-methods): Use it.
11472 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
11474         * font-lock.el (font-lock-fontify-region)
11475         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11476         (font-lock-default-unfontify-buffer)
11477         (font-lock-default-fontify-region)
11478         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11480         * progmodes/compile.el (compilation-error-properties):
11481         Fix confusion between file struct and message struct (Bug#9319).
11482         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11483         `ant' regexp.
11485         * net/browse-url.el (browse-url-firefox): Don't call
11486         browse-url-firefox-sentinel unless using -remote (Bug#9328).
11488 2011-08-20  Glenn Morris  <rgm@gnu.org>
11490         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11492         * tutorial.el (tutorial--default-keys): Update some default bindings.
11494         * files.el (hack-local-variables): Fully ignore case for "mode:".
11496 2011-08-20  Alan Mackenzie  <acm@muc.de>
11498         Resolve invalid use of a regexp in regexp-opt.
11500         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11501         detection for a java annotation.
11503         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11504         detection for a java annotation.
11506         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11507         handling for java.
11508         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11510 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
11512         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11513         (Bug#9274).
11515 2011-08-20  Alan Mackenzie  <acm@muc.de>
11517         Fontify CPP expressions correctly when starting in the middle of
11518         such a construct.  Mainly for when jit-lock etc. starts a chunk
11519         here.
11521         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11522         variable.
11523         (c-make-font-lock-search-form): New function, extracted from
11524         c-make-font-lock-search-function.
11525         (c-make-font-lock-search-function): Use the above function.
11526         (c-make-font-lock-context-search-function): New function.
11527         (c-cpp-matchers): Enhance the preprocessor expression case with
11528         the above function
11529         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11530         which takes an expression.
11532         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11534 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
11536         * window.el (display-buffer-reuse-window)
11537         (display-buffer-pop-up-window): Don't reuse or split a side
11538         window.
11540 2011-08-19  Glenn Morris  <rgm@gnu.org>
11542         * files.el (hack-local-variables-prop-line, hack-local-variables):
11543         Downcase "Mode:".  (Bug#9331)
11545 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
11547         * international/characters.el: Add L and R categories.
11549         * subr.el (bidi-string-mark-left-to-right): Rename from
11550         string-mark-left-to-right.  Use category search.
11552         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11554 2011-08-18  Juri Linkov  <juri@jurta.org>
11556         * faces.el (error, warning, success): New faces with definitions
11557         copied from old default values of `font-lock-warning-face',
11558         `compilation-warning', `compilation-info' (bug#6117).
11560         * font-lock.el (font-lock-warning-face): Inherit from `error'.
11562         * progmodes/compile.el (compilation-error): Inherit from `error'.
11563         (compilation-warning): Inherit from `warning'.
11564         (compilation-info): Inherit from `success'.
11566         * dired.el (dired-marked): Inherit from `warning'.
11567         (dired-flagged): Inherit from `error'.
11569 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11571         * mail/smtpmail.el (auth-source): Require to avoid problems with
11572         binding variables (bug#9298).  Also clean up some unused
11573         autoloads.
11575         * net/network-stream.el (network-stream-open-starttls):
11576         Support using starttls.el without using gnutls-cli.
11578 2011-08-17  Juri Linkov  <juri@jurta.org>
11580         * progmodes/grep.el (rgrep): Handle the case when
11581         `grep-find-command' is a cons cell (bug#9278).
11583 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
11585         * window.el (display-buffer-pop-up-frame): Run frame creation
11586         function with BUFFER current (as special-display-popup-frame
11587         does).  Reported by Drew Adams.
11589 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
11591         * epa-mail.el: Simplify GnuPG group expansion using
11592         epg-expand-group.
11593         (epa-mail-group-alist, epa-mail-group-modtime)
11594         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11595         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11596         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11597         Remove.
11599 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
11601         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11603 2011-08-16  Alan Mackenzie  <acm@muc.de>
11605         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11606         Correct, to avoid the inside of macros.
11608 2011-08-16  Richard Stallman  <rms@gnu.org>
11610         * epa-mail.el: Handle GnuPG group definitions.
11611         (epa-mail-group-alist, epa-mail-group-modtime)
11612         (epa-mail-gnupg-conf-file): New variables.
11613         (epa-mail-parse-groups, epa-mail-sync-groups)
11614         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11615         (epa-mail-expand-recipients): New functions.
11616         (epa-mail-encrypt): Call epa-mail-expand-recipients.
11618         * mail/rmail.el (rmail-epa-decrypt): New command.
11620         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11621         Don't bind buffer-read-only, just inhibit-read-only.
11622         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11623         (epa-decrypt-armor-in-region): Make error message clearer.
11625 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11627         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11628         and "a2b" to "ab" for `prefix'.
11630 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
11632         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11633         filter groups.
11634         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
11635         Fourquet (Bug#8804).
11637 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
11639         * startup.el (argi): Declare as global variable (bug#9275).
11641 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
11643         * subr.el (string-mark-left-to-right): Search the entire string
11644         for RTL script, not just the terminating character.  Doc fix.
11646 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11648         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11649         New function.
11650         (js--regexp-literal, js-syntax-propertize-function): Remove.
11651         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11652         (js-mode-map): Don't rebind electric keys.
11653         (js-insert-and-indent): Remove.
11654         (js-mode): Setup electric-layout and electric-indent instead.
11656         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11658 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
11660         * epa.el (epa-progress-callback-function): Fix the logic of
11661         displaying progress.
11662         * epa-file.el (epa-file-insert-file-contents): Make progress
11663         display more user-friendly.
11664         (epa-file-write-region): Ditto.
11666 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
11668         * subr.el (string-mark-left-to-right): New function.
11670         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11671         Use string-mark-left-to-right.
11672         (list-buffers-noselect): Caller changed.
11674         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11675         Use string-mark-left-to-right.
11676         (tabulated-list-print): Recenter after moving point.
11678 2011-08-10  Juri Linkov  <juri@jurta.org>
11680         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11681         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11682         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11684 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
11686         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11687         (Bug#7554).
11689 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11691         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11692         character.  (Bug#6594)
11694 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
11696         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11697         (image-dired--with-db-file): New macro.
11698         (image-dired-write-tags, image-dired-remove-tag)
11699         (image-dired-create-gallery-lists, image-dired-write-comments)
11700         (image-dired-get-comment, image-dired-mark-tagged-files)
11701         (image-dired-list-tags, image-dired-gallery-generate): Use it.
11702         (image-dired-gallery-generate): Use insert-file-contents.
11704         * time.el (display-time-world-list, display-time-world-display):
11705         * time-stamp.el (time-stamp-string):
11706         * vc/add-log.el (add-change-log-entry): Use setenv instead of
11707         set-time-zone-rule (Bug#7337).
11709 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
11711         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11712         (epg-error-to-string, epg-errors-to-string): New function.
11713         (epg-wait-for-completion): Reverse errors list.
11714         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11715         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11716         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11717         (epg-sign-keys, epg-generate-key-from-file)
11718         (epg-generate-key-from-string): Format errors by using
11719         epg-errors-to-string (bug#9255).
11720         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11722 2011-08-07  Juri Linkov  <juri@jurta.org>
11724         * faces.el (list-faces-display): Remove extra angle bracket
11725         from `help-mode-map'.
11727         * info.el (Info-history-toc-nodes): Doc fix.
11729         * longlines.el (longlines-mode): Doc fix.
11731 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11733         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11734         of statements and in a few more cases (bug#9183).
11736         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11737         New functions.
11738         (cl-transform-lambda): Use them (bug#9239).
11740 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
11742         * window.el (display-buffer-same-window)
11743         (display-buffer-same-frame, display-buffer-other-window)
11744         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11745         (pop-to-buffer-other-window)
11746         (pop-to-buffer-same-frame-other-window)
11747         (pop-to-buffer-other-frame): Make them defuns.
11748         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11750 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11752         * subr.el (make-composed-keymap): Move from C.  Change calling
11753         convention, and improve docstring to bring attention to a subtle point.
11754         * minibuffer.el (completing-read-default): Adjust accordingly.
11756 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
11758         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11759         (tramp-open-shell): Use `tramp-shell-quote-argument'.
11761         * net/trampver.el: Update release number.
11763 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11765         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11766         "in" (bug#9190).
11768 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11770         * mail/sendmail.el (sendmail-query-once): Restore the current
11771         buffer after querying (bug#9074).
11773         * dired.el (dired-flagged): Use different faces for marked and
11774         flagged files (bug#6117).
11776         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11777         (bug#4433).
11779         * ido.el (ido-mode): Switch off the message if called
11780         non-interactively.
11782         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11783         before 587, since it appears that that's more likely to work for
11784         more people.
11786         * cus-edit.el (custom-file): When running under emacs -q, always
11787         refuse to save the customizations, even if the .emacs file doesn't
11788         exist.
11790         * info.el: Remove the `Info-beginning-of-buffer' function
11791         (bug#8325).
11793         * net/network-stream.el (network-stream-open-starttls):
11794         Use `starttls-available-p' to see whether starttls.el can be used.
11796 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
11798         * window.el (display-buffer-in-window): Don't set dedicated status
11799         of window here (Bug#9215).
11800         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11801         (display-buffer-pop-up-side-window)
11802         (display-buffer-in-side-window): Set dedicated status of window here.
11804 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11806         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11807         before binding generated-autoload-file.
11809 2011-08-01  Deniz Dogan  <deniz@dogan.se>
11811         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11813 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
11815         Sync with Tramp 2.2.2.
11817         * net/trampver.el: Update release number.
11819 2011-07-30  Juri Linkov  <juri@jurta.org>
11821         * dired-aux.el (dired-touch-initial): Remove function.
11822         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11823         current time, and `default' to the last modification time of the
11824         current marked file (bug#6887).
11826 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
11828         * simple.el (goto-line): Use string-to-number to provide a
11829         numeric argument to read-number (bug#9163).
11831 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
11833         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11834         connection process, it could be nil.
11836 2011-07-27  Leo Liu  <sdl.web@gmail.com>
11838         Simplify url handling in rcirc-mode.
11840         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11841         (rcirc-browse-url-at-mouse): Remove.
11842         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11844 2011-07-26  Alan Mackenzie  <acm@muc.de>
11846         Fontify bitfield declarations properly.
11848         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11849         (c-symbol-chars): Now exported as a lang variable.
11850         (c-not-primitive-type-keywords): New lang variable.
11852         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11853         QT keyword "more" to prevent "more slots: ...." being spuriously
11854         parsed as a bitfield declaration.
11856         * progmodes/cc-engine.el (c-beginning-of-statement-1):
11857         Refactor and enhance to handle bitfield declarations.
11858         (c-punctuation-in): New function.
11859         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11860         declarations properly.
11862 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
11864         * calendar/icalendar.el (icalendar--all-events): Take care of
11865         multiple vcalendars in a single file.
11866         (icalendar--convert-float-to-ical): Checkdoc fixes.
11868 2011-07-25  Deniz Dogan  <deniz@dogan.se>
11870         * image.el (insert-image): Clarifying docstring.
11872 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
11874         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11875         `tramp-send-command-and-check' if there is no error.
11876         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11878 2011-07-22  Alan Mackenzie  <acm@muc.de>
11880         Prevent cc-langs.elc being loaded at run time.
11882         * progmodes/cc-mode.el: Remove two autoload forms which loaded
11883         cc-langs.
11885         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11886         "(require 'cc-langs)".  Quote a form so it will evaluate at
11887         (cc-mode's) compilation time.
11889 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
11891         * net/tramp.el (tramp-file-name-handler): Avoid recursive
11892         loading.  (Bug#9114)
11894 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
11896         * window.el (display-buffer-pop-up-window)
11897         (display-buffer-pop-up-side-window)
11898         (display-buffer-in-side-window): Call display-buffer-set-height
11899         and display-buffer-set-width after setting the new window's
11900         buffer so `fit-window-to-buffer' and friends work on the right buffer.
11902 2011-07-20  Sam Steingold  <sds@gnu.org>
11904         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11905         (etags-tags-included-tables): Call `convert-standard-filename' on
11906         the file names contained in TAGS so that windows Emacs can handle
11907         TAGS files created by cygwin ctags.
11909 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11911         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11912         which apparently didn't work.
11914 2011-07-19  Roland Winkler  <winkler@gnu.org>
11916         * proced.el (proced-send-signal): For *Marked Processes* buffer
11917         put point at beginning of buffer.
11919 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
11921         * proced.el (proced-format): Make header lines align with the text
11922         (bug#1779).
11924 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11926         * view.el (view-buffer): Allow running in `special' modes if we're
11927         visiting a file (bug#8615).
11929 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
11931         * window.el (display-buffer-alist-of-strings-p)
11932         (display-buffer-alist-set-1, display-buffer-alist-set-2):
11933         New functions.
11934         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11935         more accurately.
11937 2011-07-18  Alan Mackenzie  <acm@muc.de>
11939         Fontify declarators properly when, e.g., a jit-lock chunk begins
11940         inside a declaration.
11942         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11944         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11945         New function.
11946         (c-complex-decl-matchers): Insert reference to
11947         c-font-lock-enclosing-decls.
11949         * progmodes/cc-engine.el (c-backward-single-comment):
11950         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11951         to nil around calls to (forward-comment -1).
11953 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11955         * image.el (put-image): Doc typo fix.
11957         * progmodes/etags.el (tags-search): Doc typo fix.
11959         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11960         password if we get errors 550 to 554.
11962 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11964         * net/gnutls.el (gnutls-log-level): Remove.
11966         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11967         indentation character (bug#6380).
11969         * files.el (buffer-offer-save): Made permanently local (bug#6241).
11971         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11972         to clarify what the problem is (bug#4291).
11974         * simple.el (current-kill): Clarify what
11975         `interprogram-paste-function' does (bug#7500).
11976         (auto-fill-mode): Document `auto-fill-function' in relation to
11977         `auto-fill-mode' (bug#2470).
11979 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
11981         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11982         method if slot is read-only (bug#9035).
11984 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
11986         * frame.el (select-frame-set-input-focus): New argument NORECORD.
11987         * window.el (pop-to-buffer): Select window used even if it was
11988         selected before, see discussion of (Bug#8615), (Bug#6954).
11989         Pass argument NORECORD on to select-frame-set-input-focus.
11991 2011-07-15  Glenn Morris  <rgm@gnu.org>
11993         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
11994         Respect help-form.
11996 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
11998         * net/gnutls.el (gnutls-min-prime-bits): New variable.
11999         (gnutls-negotiate): Use it.
12001 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12003         * net/gnutls.el (gnutls-negotiate):
12004         Upcase `gnutls-algorithm-priority'.
12006 2011-07-15  Glenn Morris  <rgm@gnu.org>
12008         * jka-compr.el (jka-compr-verbose): Move from here...
12009         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
12010         Add missing :version tag.
12011         * info.el: No need to require jka-compr when compiling.
12013 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12015         * net/gnutls.el (gnutls-algorithm-priority): New variable.
12016         (gnutls-negotiate): Use it.
12018         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12020         * info.el (Info-beginning-of-buffer): New command.
12021         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12022         announcing `b' as the key (bug#8325).
12023         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
12025         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12027         * international/mule-cmds.el
12028         (describe-specified-language-support): Make the error message
12029         clearer (bug#8905).
12031         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12033         * isearch.el (isearch-barrier): Add a doc string, since it's
12034         mentioned in a function doc string (bug#8678).
12036 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
12038         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12039         buffer argument (Bug#9083) and self-identifying label argument.
12041 2011-07-15  Glenn Morris  <rgm@gnu.org>
12043         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
12045 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12047         * man.el (Man-fontify-manpage): Fix message when formatting the
12048         man page (bug#7929).
12050 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
12052         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12053         argument LRM; if non-nil, append an invisible LRM character to the
12054         buffer name.
12055         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12056         last argument non-nil, when formatting buffer names.
12057         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12058         paragraph direction.
12060 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12062         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12063         the man page name (bug#7929).
12065         * image.el (put-image): Mention the `put-image' overlay property
12066         (bug#7834).
12068         * scroll-bar.el (set-scroll-bar-mode): Mention that
12069         `scroll-bar-mode' lists the values (bug#7772).
12071         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12072         command (bug#7729).
12074         * rect.el (apply-on-rectangle): Return the point after the last
12075         operation.
12076         (string-rectangle): Go to the point after the last operation
12077         (bug#7522).
12079         * printing.el (pr-toggle-region): Clarify the documentation
12080         slightly (bug#7493).
12082         * time.el (display-time-update):
12083         Allow `display-time-mail-function' to return nil (bug#7158).
12084         Fix suggested by Detlev Zundel.
12086         * vc/diff.el (diff): Clarify the order the file names are read
12087         (bug#7111).
12089         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12090         the doc string (bug#7015).
12092         * font-lock.el (font-lock-maximum-decoration): Mention what
12093         numeric levels mean (bug#6935).
12095         * startup.el (initial-buffer-choice): Don't mention the `none'
12096         selection, which is against policy.
12098 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
12100         * window.el (display-buffer-normalize-special):
12101         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
12103 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
12105         * subr.el (version<, version<=, version=): Mention "-CVS" and
12106         "-12345" alpha version numbers.
12108 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
12110         * bindings.el: Add advertised binding for set-mark-command
12111         (Bug#5772).
12113 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
12115         * bindings.el (mode-line-other-buffer):
12116         * bookmark.el (bookmark-bmenu-2-window):
12117         * bs.el (bs-cycle-next, bs-cycle-previous):
12118         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12119         switch-to-buffer.
12121         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12122         Delete.
12124 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
12126         * follow.el (follow-debug-message, follow-redisplay):
12127         * jka-cmpr-hook.el (with-auto-compression-mode):
12128         Fix typos in docstrings.
12130 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12132         * subr.el (with-silent-modifications): Clarify somewhat what the
12133         macro inhibits (bug#6525).
12135         * simple.el (eval-expression): Note what it does if called
12136         interactively (bug#6495).
12138 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
12140         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12141         Use pop-to-buffer buffer-or-name if it is nil.
12143         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12144         Remove switch-to-buffer.
12146 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12148         * files.el (make-directory): Clarify that an error will be raised
12149         if there's an error (bug#6397).
12151         * startup.el (initial-buffer-choice): Add `none' as a choice
12152         (bug#6234).
12154         * subr.el (add-hook): Clarify section about buffer-local hooks
12155         (bug#6218).
12157         * dired.el (dired-flagged): Clarify doc string (bug#6117).
12159 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
12161         * tabify.el (untabify): Preserve the current column so that point
12162         doesn't move (bug#6032).
12164 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12166         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12167         Rewrite to avoid awkward possessive "s" (bug#5986).
12169 2011-07-13  Glenn Morris  <rgm@gnu.org>
12171         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
12172         (dired-insert-directory): Give a message the first time
12173         if ls is found not to support --dired.
12175 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12177         * simple.el (toggle-truncate-lines): Clarify what is toggled
12178         (bug#5580).  Text by Drew Adams.
12180 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
12182         * simple.el (blink-matching-open): Make the error message from the
12183         last change less verbose.
12185 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
12187         * font-lock.el (font-lock-comment-face): Use the high contrast
12188         "yellow" color for font-lock-comment-face on low color terminals
12189         using a dark background color (bug#4221).
12191 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12193         * dired.el (dired-insert-set-properties): Make the doc string
12194         reflect what it does now (bug#5325).
12196         * simple.el (blink-matching-open): Say that we were unable to find
12197         the match within the limit, if we're limited (bug#5122).
12199         * international/mule-cmds.el (prefer-coding-system): Add an
12200         example (bug#4869).
12202         * progmodes/etags.el (tags-search): Document `file-list-form'
12203         (bug#4731).
12205 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
12207         * net/browse-url.el (browse-url-default-browser)
12208         (browse-url-browser-function): Make the default browser choice a
12209         bit more logical (bug#4300).  Also clean up the doc string.
12211 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
12213         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12214         binary endings (bug#4440).
12216 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12218         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12219         which can be pretty annoying (bug#8971).
12221         * jka-compr.el (jka-compr-verbose): New variable, and use
12222         throughout (bug#8971).
12224         * info.el (Info-find-file): Fall back on the installation
12225         directory if we can't find the info node anywhere else.
12227 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
12229         * vc/vc.el (vc-revert-file):
12230         Don't set file time-stamp in the past.  (Bug#5181)
12232 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12234         * files.el (after-find-file): Give a better error message when
12235         trying to find a symlink that points to a file that doesn't exist
12236         (bug#4398).
12238         * progmodes/cc-vars.el: Remove (probably) misleading comment
12239         (bug#4396).
12241 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
12243         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12245 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
12247         * mouse-sel.el: Hack restoring functionality, while keeping
12248         compatibility with 2010-07-03 changes to mouse selection.
12249         (mouse-sel-primary-overlay): New var.
12250         (mouse-sel-selection-alist): Use it.
12251         (mouse-sel-mode): Doc fix; remove points that are default features
12252         of mouse.el.
12254 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
12256         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12257         Fix previous fix (bug#2490).
12259 2011-07-12  Roland Winkler  <winkler@gnu.org>
12261         * textmodes/bibtex.el (bibtex-initialize):
12262         Use pop-to-buffer-same-window.
12263         (bibtex-search-entries): Fix interactive call.
12265 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12267         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12268         Fontise bytecomp Error lines more correctly (bug#2490).
12269         Fix suggested by Johan Bockgård.
12271         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12273         * dired-x.el (dired-guess-default): Use `delete-dups'.
12275 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
12277         * dired.el (dired-mark-prompt):
12278         * dired-aux.el (dired-read-shell-command): Doc fix.
12280 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12282         * mail/sendmail.el (sendmail-query-once):
12283         Use `customize-save-variable' unconditionally, now that it works under
12284         emacs -Q.
12286         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12288         * cus-edit.el (custom-file): Take an optional no-error variable.
12289         (customize-save-variable): Set the variable, and give a warning if
12290         running under "emacs -q".
12292 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
12294         * loadhist.el (unload-feature-special-hooks):
12295         Add `auto-coding-functions', `fill-nobreak-predicate' and
12296         `find-directory-functions' (bug#5327).
12298 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12300         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12302         * cus-edit.el (custom-guess-name-alist): -alist variables should
12303         use the `alist' type (bug#3120).  Suggested by Drew Adams.
12305         * printing.el: Add documentation to all the `pr-toggle-' commands.
12307 2011-07-11  Leo Liu  <sdl.web@gmail.com>
12309         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12310         backends where it makes sense (bug#2623).
12312 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12314         * dired-x.el (dired-guess-default): Remove duplicate shell command
12315         entries (bug#2028).
12316         (dired-guess-default): Fix grammar in doc string (bug#2028).
12317         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
12319         * subr.el (remove-duplicates): New conveniency function.
12321 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12323         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12324         (bug#1526).
12326 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
12328         * window.el (display-buffer-normalize-default): Don't invert
12329         meaning of even-window-heights.  Reported by Eli Zaretskii
12330         <eliz@gnu.org>.
12332 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
12334         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12336 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
12338         * window.el (display-buffer): Fix arguments to
12339         display-buffer-reuse-window in last change.
12341         * faces.el (link): Use a less saturated blue on light backgrounds.
12343         * startup.el (fancy-startup-text, fancy-about-text)
12344         (fancy-startup-tail): Use font-lock faces, for background safety.
12346 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
12348         * emulation/viper-cmd.el (viper-change-state-to-vi):
12349         Limit triggering of abbrev expansion (Bug#9038).
12351 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
12353         * window.el (display-buffer-default-specifiers): Remove.
12354         (display-buffer-macro-specifiers): Remove default specifiers.
12355         (display-buffer-alist): Default to nil.
12356         (display-buffer-reuse-window): New optional argument other-window.
12357         (display-buffer-pop-up-window): Allow splitting internal
12358         windows.  Check whether a live window was created.
12359         (display-buffer-other-window-means-other-frame)
12360         (display-buffer-normalize-arguments): Rename to
12361         display-buffer-normalize-argument and rewrite.  Set the
12362         other-window specifier.
12363         (display-buffer-normalize-special): New function.
12364         (display-buffer-normalize-options): Rename to
12365         display-buffer-normalize-default and rewrite.
12366         (display-buffer-normalize-options-inhibit): Remove.
12367         (display-buffer-normalize-specifiers): Rewrite.
12368         (display-buffer): Process other-window specifier and call
12369         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
12370         more faithfully.
12371         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
12372         (display-buffer-alist-set): Don't handle 'unset default values.
12373         (display-buffer-in-window, display-buffer-alist-set):
12374         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
12375         <tassilo@member.fsf.org>.
12377 2011-07-09  Leo Liu  <sdl.web@gmail.com>
12379         * register.el (insert-register): Restore accidental change on
12380         2011-06-26.  (Bug#9028)
12382 2011-07-09  Glenn Morris  <rgm@gnu.org>
12384         * subr.el (remq): Handle the empty list.  (Bug#9024)
12386 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
12388         * mail/sendmail.el (send-mail-function): No longer delay custom
12389         initialization.
12390         * custom.el (custom-initialize-delay): Doc fix.
12392 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12394         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12396 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
12398         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12399         human-friendly prompt.
12401 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12403         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12404         provided by a particular plugin.
12406 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12408         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12409         save customizations (with "emacs -Q"), just set the variable
12410         instead of erroring out.
12412         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12414 2011-07-08  Juri Linkov  <juri@jurta.org>
12416         * arc-mode.el (archive-zip-expunge, archive-zip-update)
12417         (archive-zip-update-case): Use 7z if found by `executable-find'.
12418         The order of searching the available programs is the same as in
12419         `archive-zip-extract' (bug#8968).
12421 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
12423         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12424         (menu-bar-options-menu): Tweak descriptions.
12426 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12428         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12429         menu items into verb phrases (bug#1421).  Also refill to fit under
12430         80 columns.
12432 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
12434         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12435         (Info-read-node-name): Doc fix (Bug#1084).
12437         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12438         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12439         (end-of-sexp, beginning-of-sexp)
12440         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12441         (forward-symbol, forward-same-syntax, word-at-point)
12442         (sentence-at-point): Doc fix (Bug#1144).
12444 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12446         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12447         should cover it (bug#1281).
12449         * cus-edit.el (custom-show): Mark as obsolete.
12451         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12452         negotiation fails, then possibly try again with a non-encrypted
12453         connection (bug#9017).
12455         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12456         be used.
12458 2011-07-07  Richard Stallman  <rms@gnu.org>
12460         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12461         property, and handle its changed format.
12462         Look for the correct line number.
12463         Use file's line contents (but not past first =) to find
12464         correct line in message.
12466 2011-07-07  Kenichi Handa  <handa@m17n.org>
12468         * international/characters.el (build-unicode-category-table):
12469         Delete it.
12470         (unicode-category-table): Set it by unicode-property-table-internal.
12472         * international/mule-cmds.el (char-code-property-alist): Move to
12473         to src/chartab.c.
12474         (get-char-code-property): Call unicode-property-table-internal to
12475         load a file.  Call get-unicode-property-internal where necessary.
12476         (put-char-code-property): Call unicode-property-table-internal to
12477         load a file.  Call put-unicode-property-internal where necessary.
12478         put-unicode-property-internal where necessary.
12479         (char-code-property-description):
12480         Call unicode-property-table-internal to load a file.
12482         * international/charprop.el:
12483         * international/uni-bidi.el:
12484         * international/uni-category.el:
12485         * international/uni-combining.el:
12486         * international/uni-comment.el:
12487         * international/uni-decimal.el:
12488         * international/uni-decomposition.el:
12489         * international/uni-digit.el:
12490         * international/uni-lowercase.el:
12491         * international/uni-mirrored.el:
12492         * international/uni-name.el:
12493         * international/uni-numeric.el:
12494         * international/uni-old-name.el:
12495         * international/uni-titlecase.el:
12496         * international/uni-uppercase.el: Regenerate.
12498         * loadup.el: Load international/charprop.el before
12499         international/characters.
12501 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
12503         * window.el (next-buffer, previous-buffer): Signal an error if
12504         called from a minibuffer window.
12506         * bindings.el: Revert 2011-07-04 change.
12508 2011-07-06  Richard Stallman  <rms@gnu.org>
12510         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12511         (rmail-mime-insert-bulk, rmail-mime-insert-text):
12512         Treat markers like ints.
12513         (rmail-mime-entity): Doc fix.
12515 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12517         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12518         defcustom again for backwards compatibility.
12520         * simple.el (shell-command-on-region): Fill.
12522         * dired-aux.el (dired-kill-line): Add a doc string.
12524         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12525         to "\\sw\\|\\s_" (bug#358).
12527         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12528         (dired-unmark-backward): Ditto.
12529         (dired-flag-backup-files): Ditto.
12531         * dired-x.el (dired-mark-sexp): Ditto.
12533 2011-07-06  Richard Stallman  <rms@gnu.org>
12535         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12536         (rmail-mime-entity): New arg TRUNCATED.
12537         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12538         New functions.
12539         (rmail-mime-save): Warn if entity is truncated.
12540         (rmail-mime-toggle-hidden): Likewise, for showing.
12541         (rmail-mime-process-multipart): Record when an entity is truncated.
12543         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12544         if ENTITY is a string.
12546 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12548         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12549         of faces when `M-C-x'-ing their definitions (bug#8378).
12550         Also clean up the code slightly.
12552         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12553         because that makes the colors go away.
12555         * mail/sendmail.el (send-mail-function): Change the default to
12556         `sendmail-query-once'.
12557         (sendmail-query-once): Add an autoload cookie.
12559         * net/network-stream.el (network-stream-open-starttls): Try using
12560         a plain connection even if the server offered STARTTLS, and we
12561         kinda wanted to use it, if Emacs doesn't have any STARTTLS
12562         capability.  This should make smtpmail.el work in slightly more
12563         configurations.
12565 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
12567         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12568         New defun.
12569         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12571 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
12573         * progmodes/sql.el: Version 3.0
12574         (sql-product-alist): Add product :completion-object,
12575         :completion-column, and :statement attributes.
12576         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12577         (sql-mode-syntax-table): Mark all punctuation.
12578         (sql-font-lock-keywords-builder): Temporarily remove fallback on
12579         ansi keywords.
12580         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12581         (sql-mode-oracle-font-lock-keywords): Improve.
12582         (sql-oracle-show-reserved-words): New function for development.
12583         (sql-product-font-lock): Simplify for source code buffers.
12584         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12585         New functions.
12586         (sql-highlight-product): Set product specific syntax table.
12587         (sql-mode-map): Add statement movement functions.
12588         (sql-ansi-statement-starters, sql-oracle-statement-starters):
12589         New variable.
12590         (sql-statement-regexp, sql-beginning-of-statement)
12591         (sql-end-of-statement, sql-signum): New functions.
12592         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12593         (sql-show-sqli-buffer): Bug fix.
12594         (sql-interactive-mode): Store connection data as buffer local.
12595         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
12596         with sql-interactive-mode.
12597         (sql-save-connection): Save buffer local settings.
12598         (sql-connection-menu-filter): Change menu entry name.
12599         (sql-product-interactive): Bug fix.
12600         (sql-preoutput-hold): New variable.
12601         (sql-interactive-remove-continuation-prompt): Bug fixes.
12602         (sql-debug-redirect): New variable.
12603         (sql-str-literal): New function.
12604         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12605         Redesign.
12606         (sql-oracle-save-settings, sql-oracle-restore-settings)
12607         (sql-oracle-list-all, sql-oracle-list-table): New functions.
12608         (sql-completion-object, sql-completion-column)
12609         (sql-completion-sqlbuf): New variables.
12610         (sql-build-completions-1, sql-build-completions)
12611         (sql-try-completion): New functions.
12612         (sql-read-table-name): Use them.
12613         (sql-contains-names): New buffer local variable.
12614         (sql-list-all, sql-list-table): Use it.
12615         (sql-oracle-completion-types): New variable.
12616         (sql-oracle-completion-object, sql-sqlite-completion-object)
12617         (sql-postgres-completion-object): New functions.
12619 2011-07-06  Glenn Morris  <rgm@gnu.org>
12621         * window.el (pop-to-buffer): Doc fix.
12623 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
12625         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12627 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
12629         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12631         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12633 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
12635         * button.el (button): Inherit from link face.  Suggested by Dan
12636         Nicolaescu.
12638 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12640         * progmodes/gdb-mi.el: Fit in 80 columns.
12641         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12642         switch-to-buffer.
12644         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12645         if imenu is simply not configured (bug#8941).
12647 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
12649         * allout.el (allout-post-undo-hook): New allout outline-change
12650         event hook to signal undo activity.
12651         (allout-post-command-business): Run allout-post-undo-hook if an
12652         undo just occurred.
12653         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12654         * allout-widgets.el (allout-widgets-after-undo-function):
12655         Ensure the integrity of the current item's decoration after it has been
12656         in the vicinity of an undo.
12657         (allout-widgets-mode): Include allout-widgets-after-undo-function
12658         on the new allout-post-undo-hook.
12660 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12662         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12663         Let define-derived-mode define it.
12664         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12665         cycles of abbrev-table inheritance (bug#8998).
12667 2011-07-05  Roland Winkler  <winkler@gnu.org>
12669         * textmodes/bibtex.el: Add support for biblatex.
12670         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12671         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12672         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12673         (bibtex-entry-alist, bibtex-field-alist): New variables.
12674         (bibtex-entry-field-alist): Obsolete alias for
12675         bibtex-BibTeX-entry-alist.
12676         (bibtex-entry-alist, bibtex-field-alist): New widgets.
12677         (bibtex-set-dialect): New command.
12678         (bibtex-entry-type, bibtex-entry-head)
12679         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12680         Bind via bibtex-set-dialect.
12681         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12682         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12683         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12684         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12685         Define via bibtex-set-dialect.
12686         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12687         Obey bibtex-no-opt-remove-re.
12688         (bibtex-vec-push, bibtex-vec-incr): New functions.
12689         (bibtex-format-entry, bibtex-field-list)
12690         (bibtex-print-help-message, bibtex-validate)
12691         (bibtex-search-entries): Use new format of bibtex-entry-alist.
12693 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12695         * progmodes/compile.el (compilation-goto-locus):
12696         * net/tramp-cmds.el (tramp-append-tramp-buffers):
12697         * bs.el (bs-cycle-next, bs-cycle-previous):
12698         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12699         * bindings.el (mode-line-other-buffer):
12700         * autoinsert.el (auto-insert):
12701         * arc-mode.el (archive-extract):
12702         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12704 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
12706         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12707         Fix check of `emacs-lock-unlockable-modes'.
12708         Coerce true values of `emacs-lock--try-unlocking' to t.
12710 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
12712         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12713         * emacs-lock.el: New file.
12715 2011-07-05  Julien Danjou  <julien@danjou.info>
12717         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12718         than `boundp' to check if face is set.
12720 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
12722         * register.el (registerv-make):
12723         * window.el (window-min-height): Fix typos in docstrings.
12725 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
12727         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12728         Update doc string.
12730 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
12732         * server.el (server-execute): Catch quit and call
12733         `server-return-error' to pass the error back to emacsclient and
12734         close the connection (bug#8942).
12736 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
12738         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12739         insecure exception for current topic.  Also note that auto-saves
12740         are handled differently.
12742         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12743         State variables for tracking auto-save inhibition situation.
12745         (allout-write-contents-hook-handler): Rename from
12746         'allout-write-file-hook-handler', and describe how it depends on
12747         write-contents-functions sensitivity to non-nil value to prevent
12748         file write.
12750         (allout-auto-save-hook-handler): Remove.  auto-save does not check
12751         this in individual buffers, only in the starting buffer, so this
12752         is not the right way for us to inhibit auto-save in a buffer
12753         according to its condition.
12755         (allout-mode): Use new allout-write-contents-hook-handler, and
12756         only with write-contents-functions.  Remove auto-save provisions -
12757         they're implemented elsewhere.
12759         (allout-before-change-handler): If undo is in progress, note that
12760         for attention of allout-post-command-business.
12762         (allout-post-command-business): If the command we're following was
12763         an undo, check for change in the status of encrypted items and
12764         adjust auto-save inhibitions accordingly.
12766         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12767         according to whether there are or aren't any plain-text topics
12768         pending encryption.
12770         (allout-inhibit-auto-save-info-for-decryption):
12771         Adjust buffer-saved-size and some allout state to inhibit auto-saves
12772         if there are plain-text topics pending encryption.
12774         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12775         buffer-saved-size and some allout state to not inhibit auto-saves
12776         if there are no longer any plain-text topics pending encryption.
12778         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12779         No longer provide for exemption of the current topic.
12781 2011-07-04  Juri Linkov  <juri@jurta.org>
12783         Add 7z operations to delete and save changed members (bug#8968).
12784         * arc-mode.el (archive-7z-expunge, archive-7z-update):
12785         New defcustoms.
12786         (archive-7z-write-file-member): New function.
12787         (archive-7z-summarize): Fix the number of dashes in the
12788         listing output.
12790 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12792         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12793         (bug#8958).
12795 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
12797         * bindings.el: Ignore next-buffer and previous-buffer in
12798         minibuffer-local-map.
12800         * font-lock.el (font-lock-builtin-face): Change light background
12801         color to dark slate blue (Bug#6693).
12803 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
12805         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12807 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12809         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12810         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12811         Add switch-to-buffer.
12813 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12815         * isearch.el (isearch-search-fun-function): Clarify further the
12816         meaning of the function returned.
12818 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
12820         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12822         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12823         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12824         Use it.
12825         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
12826         `tramp-default-remote-path' does not exist.
12827         (tramp-send-command-and-read): New optional argument NOERROR.
12828         (tramp-open-connection-setup-interactive-shell)
12829         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12830         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12831         (tramp-process-sentinel): Flush also process' connection property.
12832         (tramp-sh-handle-start-file-process): Do not set process
12833         sentinel.  It is done now ...
12834         (tramp-maybe-open-connection): ... here.  (Bug#8929)
12836 2011-07-04  MON KEY  <monkey@sandpframing.com>
12838         * play/animate.el (animate-string): Doc fixes and allow changing
12839         the buffer name (bug#5417).
12841 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12843         * play/animate.el (animation-buffer-name): Rename from *animate*.
12845 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
12847         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12848         This is simpler and helps future-proof the code.
12849         (timer-until): Use time-subtract and float-time.
12850         (timer--time-less-p): Use time-less-p.
12852 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
12854         * type-break.el (timep): Use the value of `float-time' to avoid a
12855         byte-compiler warning.
12857         * server.el (server-eval-and-print): Return any result, even nil.
12859 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
12861         * type-break.el: Accept time formats that the builtins accept.
12862         (timep, type-break-time-difference): Accept any format that
12863         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12864         This is simpler and helps future-proof the code.
12865         (type-break-time-difference): Round rather than ignoring
12866         subseconds components.
12868 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12870         * info.el (Info-apropos-matches): Make non-interactive, since it
12871         doesn't seem to do anything useful as a command (bug#8829).
12873 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
12875         * frame.el (frame-background-mode, frame-set-background-mode):
12876         Move from faces.el.
12877         (frame-default-terminal-background): New function.
12879         * custom.el (custom-push-theme): Don't record faces in `changed'
12880         theme; this doesn't work correctly for per-frame face settings.
12881         (disable-theme): Use face-set-after-frame-default to reset faces.
12882         (custom--frame-color-default): New function.
12884 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12886         * dired.el (dired-flagging-regexp): Remove unused variable
12887         (bug#8769).
12889 2011-03-29  Kevin Ryde  <user42@zip.com.au>
12891         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12892         `perl-Test2' extend to match possible "fail #N" rep count
12893         (bug#8377).
12895 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12897         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12898         `smtpmail-via-smtp' now returns the error instead of nil.
12900         * isearch.el (isearch-search-fun-function): Clarify the doc string
12901         (bug#8101).
12903 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
12905         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12906         unnecessary spaces (bug#8987).
12908 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12910         * net/network-stream.el (open-network-stream): Use the
12911         :end-of-capability command thoughout.
12913 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
12915         * net/network-stream.el (open-network-stream): Add the
12916         :end-of-capability command parameter, used by pop3.el.
12918 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12920         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12922         * fringe.el (fringe-query-style): Remove redundant text " (type ?
12923         for list)" (bug#6475).
12925         * files.el (file-expand-wildcards): Ignore non-readable
12926         sub-directories while trying to find matches instead of signaling
12927         an error (bug#6297).
12929         * man.el (Man-reference-regexp): Allow matching possible
12930         word-wrapped references (bug#6289).
12932         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12933         for consistency with the other vc buffers (bug#6197).
12934         (vc-checkin): Ditto.
12936         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12938         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12940 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12942         * custom.el (defcustom): Clarify that :set is only used in the
12943         Customize user interface (bug#6089).
12945         * progmodes/flymake.el (flymake-mode): If the buffer isn't
12946         associated with a file, refuse to run instead of erroring out
12947         (bug#6084).
12949         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12950         the doc string, since it appears that using `fill-column' always
12951         controls the width (bug#7845).
12953         * simple.el (shell-command-on-region): Say where the error output
12954         went if `shell-command-default-error-buffer' is set (bug#6857).
12956 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
12958         * allout.el (allout-yank-processing): Adjust cursor position for
12959         backwards-deleted space.
12961         (allout-rebullet-heading): Register changes with
12962         allout-exposure-changed-hook, so the modified topic is properly
12963         decorated.
12965 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12967         * minibuffer.el (completion-in-region): Document PREDICATE
12968         (bug#7136).
12970         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12971         of keyword/argument pairs (bug#6904).
12973         * replace.el (multi-occur):
12974         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12976 2011-07-02  Drew Adams  <drew.adams@oracle.com>
12978         * dired.el (dired-mark-if): Make the message about whether it's
12979         marking or unmarking clearer (bug#8523).
12981 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12983         * disp-table.el (display-table-print-array): New function.
12984         (describe-display-table): Use it to print the vectors more pretty
12985         (Bug#8859).
12987 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
12989         * window.el (window-state-get-1): Don't assign clone numbers.
12990         Add clone-of item to list of window parameters.
12991         (window-state-put-2): Don't process clone numbers.
12992         (display-buffer-alist): Fix doc-string.
12994 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12996         * subr.el (remq): Don't allocate if it's not needed.
12997         (keymap--menu-item-binding, keymap--menu-item-with-binding)
12998         (keymap--merge-bindings): New functions.
12999         (keymap-canonicalize): Use them to refine the canonicalization.
13000         * minibuffer.el (minibuffer-local-completion-map)
13001         (minibuffer-local-must-match-map): Move initialization from C.
13002         (minibuffer-local-filename-completion-map): Move initialization from C;
13003         don't inherit from anything here.
13004         (minibuffer-local-filename-must-match-map): Make obsolete.
13005         (completing-read-default): Use make-composed-keymap to combine
13006         minibuffer-local-filename-completion-map with either
13007         minibuffer-local-must-match-map or
13008         minibuffer-local-filename-completion-map.
13010 2011-07-01  Glenn Morris  <rgm@gnu.org>
13012         * type-break.el (type-break-time-sum): Use dolist.
13014         * textmodes/flyspell.el (flyspell-word-search-backward):
13015         Replace CL function.
13017 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13019         * mouse.el (mouse--strip-first-event): New function.
13020         (function-key-map): Use it to map fringe clicks to normal clicks
13021         by default.
13023         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13024         (vc-bzr-revision-completion-table): Add support for annotate and date.
13026         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13027         inherit from parent.
13029 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13031         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
13032         (dired-show-file-type): Doc fixup (bug#8818).
13034         * dired.el (dired-mode): Fix up the doc string as suggested by
13035         Drew Adams (bug#8817).
13037         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13038         cookie, since the manual says that it should be possible to add
13039         this function to `find-file-hook' (bug#8709).
13041 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
13043         * progmodes/cfengine.el: Moved all cfengine3.el functionality
13044         here.  Noted Ted Zlatanov as the maintainer.
13045         (cfengine-common-settings, cfengine-common-syntax): New functions
13046         to set up common things between `cfengine-mode' and
13047         `cfengine3-mode'.
13048         (cfengine3-mode): New mode.
13049         (cfengine3-defuns cfengine3-defuns-regex
13050         (cfengine3-class-selector-regex cfengine3-category-regex)
13051         (cfengine3-vartypes cfengine3-font-lock-keywords)
13052         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
13053         (cfengine3-indent-line): Add from cfengine3.el.
13055 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
13057         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13059         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13061 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
13063         * window.el (same-window-buffer-names, same-window-regexps)
13064         (same-window-p, special-display-frame-alist)
13065         (special-display-popup-frame, special-display-function)
13066         (special-display-buffer-names, special-display-regexps)
13067         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13068         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13069         (split-window-preferred-function, split-height-threshold)
13070         (split-width-threshold, even-window-heights)
13071         (display-buffer-mark-dedicated, window-splittable-p)
13072         (split-window-sensibly, window-safely-shrinkable-p):
13073         Un-obsolete.
13074         (display-buffer): Don't spread args with function specifier
13075         because special-display-popup-frame won't like it.
13077 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
13079         Time-stamp simplifications and fixes.
13080         These improve accuracy slightly, and future-proof the code
13081         against some potential changes to current-time format.
13083         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13084         by using time-since and float-time.
13086         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13087         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
13088         + NNN microseconds".
13090         * type-break.el (type-break-time-sum): Rewrite using time-add.
13092         * play/hanoi.el (hanoi-current-time-float): Remove.
13093         All uses replaced by float-time.
13095         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13096         This yields a more-accurate answer.
13097         (rng-time-to-float): Remove; no longer needed.
13099         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13101         * calendar/timeclock.el (timeclock-seconds-to-time):
13102         Defalias to seconds-to-time, since they're the same thing.
13104         * emacs-lisp/elp.el (elp-elapsed-time):
13105         * emacs-lisp/benchmark.el (benchmark-elapse):
13106         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13108 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13110         * window.el (bury-buffer): Don't iconify the only frame.
13111         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13112         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
13114 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
13116         * eshell/em-smart.el (eshell-smart-display-navigate-list):
13117         Add mouse-yank-primary.
13119 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
13121         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13123 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13125         * emacs-lisp/find-func.el (find-library--load-name): New fun.
13126         (find-library-name): Use it to find relative load names when provided
13127         absolute file name (bug#8803).
13129 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13131         * textmodes/flyspell.el (flyspell-word): Consider words that
13132         differ only in case as potential doublons (bug#5687).
13134         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13135         Remove two rather uninteresting debugging-like messages to make
13136         debbugs.el more silent.
13138         * comint.el (comint-password-prompt-regexp): Accept "Response" as
13139         a password-like phrase.
13141 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
13143         * progmodes/cc-guess.el: New file.
13145         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
13147         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13148         derived from `c-basic-common-init'.
13150         * progmodes/cc-mode.el (top-level): Require cc-guess.
13151         (c-basic-common-init): Use `cc-choose-style-for-mode'.
13153 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
13155         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13157 2011-06-30  Alan Mackenzie  <acm@muc.de>
13159         * progmodes/cc-engine.el (c-guess-continued-construct):
13160         Correct the handling of template-args-cont, particularly for when font
13161         lock is disabled.  Name this case as "CASE G".
13163 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
13165         * allout.el (allout-yank-processing): Fix injection of extra space
13166         between bullet and non-whitespace character in first topic when
13167         pasting, ensuring that the actual spacing in the pasted topic
13168         following the bullet char is preserved.  This extra space was
13169         causing pasted encrypted topics to get a decrypted status even
13170         when the content was actually still encrypted.  Now the decryption
13171         status from before the paste is preserved.
13173         (allout-flag-region): Set all allout overlays so they evaporate
13174         when reduced to zero length (evanescent), to prevent overlay
13175         leakage.
13177 2011-06-30  Glenn Morris  <rgm@gnu.org>
13179         * w32-fns.el (w32-charset-info-alist): Declare.
13181         * find-dired.el (find-grep-options): Simplify.
13183         * term/ns-win.el (ns-set-resource): Declare.
13185         * ses.el (row, col): Declare dynamic variables honestly.
13187         * textmodes/reftex-parse.el (index-tags): Declare.
13189 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
13191         * cus-edit.el (customize-push-and-save): New function.
13193         * files.el (hack-local-variables-confirm): Use it.
13195         * custom.el (load-theme): New arg NO-CONFIRM.
13196         Use customize-push-and-save (Bug#8720).
13197         (custom-enabled-themes): Doc fix.
13199         * cus-theme.el (customize-create-theme)
13200         (custom-theme-merge-theme): Callers to load-theme changed.
13202 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13204         * thingatpt.el (thing-at-point-short-url-regexp): Require that
13205         short URLs have at least one dot in them (bug #7614).
13207         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13208         nil, because using a pty is apparently too slow (bug #895).
13210 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13212         * mail/sendmail.el (sendmail-query-once): New function.
13213         (sendmail-query-once-function): New variable.
13215 2011-06-29  Glenn Morris  <rgm@gnu.org>
13217         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13219         * ses.el (top-level): Require cl when compiling.
13220         (ses-set-localvars): Fix error statement.
13221         Call it at compile time to silence a storm of warnings.
13223 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
13225         * window.el (normalize-live-buffer): Rename to
13226         window-normalize-buffer.
13227         (normalize-live-frame): Rename to window-normalize-frame.
13228         (normalize-any-window): Rename to window-normalize-any-window.
13229         (normalize-live-window): Rename to window-normalize-live-window.
13230         (make-window-atom): Rename to window-make-atom.
13231         (window-resize-reset): Rename to window--resize-reset.
13232         (window-resize-reset-1): Rename to window--resize-reset-1.
13233         (resize-mini-window): Rename to window--resize-mini-window.
13234         (resize-subwindows-skip-p): Rename to
13235         window--resize-subwindows-skip-p.
13236         (resize-subwindows-normal): Rename to
13237         window--resize-subwindows-normal.
13238         (resize-subwindows): Rename to window--resize-subwindows.
13239         (resize-other-windows): Rename to window--resize-siblings.
13240         (resize-this-window): Rename to window--resize-this-window.
13241         (resize-root-window): Rename to window--resize-root-window.
13242         (resize-root-window-vertically): Rename to
13243         window--resize-root-window-vertically.
13244         (normalize-buffer-to-display): Rename to
13245         window-normalize-buffer-to-display.
13246         (normalize-buffer-to-switch-to): Rename to
13247         window-normalize-buffer-to-switch-to.
13248         Correspondingly update all callers of the functions listed
13249         above.
13250         (display-buffer-alist, display-buffer-normalize-arguments)
13251         (display-buffer-normalize-options, display-buffer)
13252         (display-buffer-alist-set): Use "function" instead of
13253         "fun-with-args".
13255 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
13257         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13258         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
13259         debbugs.gnu.org.  Mention acknowledgment email.
13261 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13263         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13264         buffer multibyteness, since it shouldn't matter.
13266 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
13268         * window.el (display-buffer-in-side-window): Handle dedicated
13269         windows as in display-buffer-reuse-window.
13270         (display-buffer-normalize-alist): Use value of override
13271         specifier.
13272         (display-buffer-normalize-specifiers): Use value of
13273         other-window-means-other-frame specifier.
13274         (display-buffer-alist): Rewrite some texts in widgets.
13275         (display-buffer): Spread arguments when calling function
13276         specified by fun-with-args.
13278 2011-06-28  Deniz Dogan  <deniz@dogan.se>
13280         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13281         Unnest `let'.
13283         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13284         selectors (Bug#5732).
13285         (css-proprietary-nmstart-re): Use `regexp-opt'.
13287 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
13289         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13290         (eshell-ls-date-format): New defcustom.
13291         (eshell-ls-file): Use it.
13293 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13295         * help-fns.el (describe-variable): Fix message for terminal-local vars.
13297 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
13299         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13300         (ange-ftp-make-tmp-name): New arg.
13301         (ange-ftp-file-local-copy): Use it.
13303 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
13305         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13306         no-conversion (Bug#8870).
13308 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
13310         * window.el (window-right, window-left, window-child)
13311         (window-child-count, window-last-child)
13312         (window-iso-combination-p, walk-window-tree-1)
13313         (window-atom-check-1, window-tree-1, delete-window)
13314         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13315         new naming conventions - window-vchild, window-hchild,
13316         window-next and window-prev are now called window-top-child,
13317         window-left-child, window-next-sibling and window-prev-sibling
13318         respectively.
13319         (resize-window-reset): Rename to window-resize-reset.
13320         (resize-window-reset-1): Rename to window-resize-reset-1.
13321         (resize-window): Rename to window-resize.
13322         (window-min-height, window-min-width)
13323         (resize-mini-window, resize-this-window, resize-root-window)
13324         (resize-root-window-vertically, adjust-window-trailing-edge)
13325         (enlarge-window, shrink-window, maximize-window)
13326         (minimize-window, delete-window, quit-restore-window)
13327         (split-window, balance-windows, balance-windows-area-adjust)
13328         (balance-windows-area, window-state-put-2)
13329         (display-buffer-even-window-sizes, display-buffer-set-height)
13330         (display-buffer-set-width, set-window-text-height)
13331         (fit-window-to-buffer): Rename all "resize-window" prefixed
13332         calls to use the "window-resize" prefix convention.
13333         (display-buffer-alist): Fix symbol for label specifier.
13334         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13335         corresponding specifier.
13336         Reported by Juanma Barranquero <lekktu@gmail.com>.
13338 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13340         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13341         convention.
13342         (ses-call-printer): Does not pass an empty string to formatter when the
13343         cell is empty to keep from barking printer Calc math-format-value.
13345 2011-06-27  Richard Stallman  <rms@gnu.org>
13347         * battery.el (battery-mode-line-limit): New variable.
13348         (battery-update): Handle it.
13350         * mail/rmailmm.el (rmail-mime-process-multipart):
13351         Handle truncated messages.
13353 2011-06-27  Glenn Morris  <rgm@gnu.org>
13355         * progmodes/flymake.el (flymake-err-line-patterns):
13356         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
13358 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13360         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
13361         (ses--clean-!, ses--clean-_): New functions.
13362         (ses-range): Add configurability of readout order, and conversion
13363         to Calc vector.
13365         * ses.el (ses-repair-cell-reference-all): New function.
13366         (ses-cell-symbol): Set macro as safe, so that it can be used in
13367         formulas.
13369         * ses.el: Update cycle detection algorithm.
13370         (ses-localvars): Add ses--Dijkstra-attempt-nb and
13371         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
13372         (ses-set-localvars): New function.
13373         (ses-make-cell): Add property-list as a cell element.
13374         (ses-cell-property-get-fun, ses-cell-property-get)
13375         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
13376         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13377         New functions.
13378         (ses-cell-property-set, ses-cell-property-pop)
13379         (ses-cell-property-get-handle): New macro.
13380         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13381         New aliases, used for code readability.
13382         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13383         cycle detection.
13384         (ses-self-reference-early-detection): New defcustom.
13385         (ses-formula-references): Robustify against self-referring cells.
13386         (ses-mode): Use ses-set-localvars.
13387         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13388         before lauching the update processing.
13389         (ses-initialize-Dijkstra-attempt): New function.
13390         (ses-recalculate-cell): Update for cycle detection based on
13391         Dijkstra algorithm.
13393         * ses.el: Fix commenting and indenting convention.
13395 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13397         * bs.el (bs-cycle-next): Complete last change.
13399 2011-06-27  Drew Adams  <drew.adams@oracle.com>
13401         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13403 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13405         * net/network-stream.el (network-stream-open-starttls):
13406         Don't re-get capabilities unless we've reestablished connection.
13407         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13409         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13410         to binary to possibly avoid line encoding issues on Windows (among
13411         other things).
13413 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13415         * net/network-stream.el (open-network-stream): Return an :error
13416         saying what the problem was, if possible.
13418         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13419         server.
13421         * net/network-stream.el (network-stream-open-starttls): If we
13422         wanted to use STARTTLS, and the server offered it, but we weren't
13423         able to because we had no STARTTLS support, then close the connection.
13424         (open-network-stream): Return an :error element, if present.
13426 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
13428         * hl-line.el (hl-line-sticky-flag): Doc fix.
13429         (global-hl-line-sticky-flag): New option (Bug#8323).
13430         (global-hl-line-highlight): Obey it.
13432         * vc/vc.el (vc-revert-show-diff): Default to t.
13434 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
13436         * allout-widgets.el (allout-widgets-post-command-business):
13437         Stop decorating intermediate isearch matches.  They're not being
13438         undecorated when an isearch is continued past, and isearch
13439         automatically collapses them.  This leads to "widget leaks", where
13440         decorated items accumulate in collapsed areas.  Lines with lots of
13441         hidden widgets can slow down cursor travel, substantially.
13442         Too much complicated machinery would be needed to ensure undecoration,
13443         so we're doing without this nicety.
13445         (allout-widgets-tally-string): Don't try to do a hash-table-count
13446         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
13447         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13448         *Messages* when allout-widgets-maintain-tally is t.
13450 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
13452         * window.el (display-buffer-normalize-argument): Rename to
13453         display-buffer-normalize-arguments.  Handle special meaning of
13454         LABEL argument.  Respect special-display-function when popping up
13455         a new frame.  Fix code searching for a window showing the buffer
13456         on another frame.
13457         (display-buffer-normalize-specifiers):
13458         Call display-buffer-normalize-arguments.
13459         (display-buffer-in-window): Don't undedicate the window if its
13460         buffer remains the same.
13461         Reported by Drew Adams <drew.adams@oracle.com>.
13462         (display-buffer-alist): Add choice for same-window macro
13463         specfier.
13464         (display-buffer): Mention special meaning of LABEL argument in
13465         doc-string.  Fix quoting.  Don't pop up a new frame even as
13466         fallback.
13468 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
13470         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13471         avoid deleting the current window in some cases (bug#8911).
13473 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
13475         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13476         (Bug#8934)
13478 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13480         * net/network-stream.el (network-stream-open-starttls):
13481         Use built-in TLS support if `gnutls-available-p' is true.
13482         (network-stream-open-tls): Ditto.
13484 2011-06-26  Leo Liu  <sdl.web@gmail.com>
13486         * register.el (registerv): New struct.
13487         (registerv-make): New function.
13488         (jump-to-register, describe-register-1, insert-register):
13489         Support the jump-func, print-func and insert-func slot of a registerv
13490         struct.  (Bug#8415)
13492 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
13494         * vc/vc.el (vc-revert-show-diff): New defcustom.
13495         (vc-diff-internal): New arg specifying diff buffer.
13496         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
13497         reuse an existing *vc-diff* buffer (Bug#8927).
13499         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13501 2011-06-26  Glenn Morris  <rgm@gnu.org>
13503         * progmodes/f90.el (f90-critical-indent): New option.
13504         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13505         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13506         (f90-mode): Doc fix.
13507         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13508         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13509         (f90-beginning-of-block, f90-next-block, f90-indent-region)
13510         (f90-match-end): Handle block, critical.
13512 2011-06-25  Glenn Morris  <rgm@gnu.org>
13514         * calendar/diary-lib.el (diary-included-files): Doc fix.
13515         (diary-include-files): New function, extracted from
13516         diary-include-other-diary-files and diary-mark-included-diary-files.
13517         (diary-include-other-diary-files, diary-mark-included-diary-files):
13518         Just call diary-include-files.
13519         (diary-mark-entries): Reset diary-included-files on first call.
13521         * calendar/diary-lib.el (diary-mark-entries)
13522         (diary-mark-included-diary-files):
13523         Visit included diary-files in temp buffers.
13525         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13526         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13527         (f90-start-block-re, f90-imenu-generic-expression)
13528         (f90-looking-at-program-block-start, f90-no-block-limit):
13529         Add support for submodules.
13531         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13532         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13534 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
13536         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13537         buffer-file-type before setting its value, to avoid disastrous
13538         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
13540 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
13542         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13544         * ses.el (ses-unload-function):
13545         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13547         * proced.el (proced-unload-function):
13548         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13550 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
13552         * server.el (server-create-window-system-frame): Add parameters arg.
13553         (server-process-filter): Doc fix.  Handle frame-parameters.
13555 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
13557         Fix bug#8730, bug#8781.
13559         * loadhist.el (unload--set-major-mode): New function.
13560         (unload-feature): Use it.
13562         * progmodes/python.el (python-after-info-look): Add autoload cookie.
13563         (python-unload-function): New function.
13565 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13567         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13569 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
13571         * net/browse-url.el (browse-url-firefox-program): Add icecat to
13572         the candidates list.
13574 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
13576         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13578 2011-06-23  Richard Stallman  <rms@gnu.org>
13580         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13581         (rmail-variables): Set next-error-move-function.
13582         (rmail-what-message): Take argument POS.
13583         (rmail-next-error-move): New function.
13585 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13587         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13588         messages for adjacent non-terminals.
13590 2011-06-23  Richard Stallman  <rms@gnu.org>
13592         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13593         (rmail-show-message-1): Preserve buffer modified flag.
13594         (rmail-start-mail): Don't specify use of rmail-mail-return;
13595         that's done by mail-bury now.
13596         (rmail-mail-return): Handle arg NEWBUF.
13598 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
13600         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13601         SIZE is a number.
13603 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
13605         * window.el (get-lru-window, get-mru-window)
13606         (get-largest-window): Never return a minibuffer window.
13607         (display-buffer-pop-up-window): Fix a bug that could lead to
13608         reusing the minibuffer window.
13609         (display-buffer): Pass original specifier argument to
13610         display-buffer-function instead of the normalized one.
13611         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13613 2011-06-22  Leo Liu  <sdl.web@gmail.com>
13615         * minibuffer.el (completing-read-function)
13616         (completing-read-default): Move from minibuf.c
13618 2011-06-22  Richard Stallman  <rms@gnu.org>
13620         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13621         to Rmail even if not started by a special Rmail command.
13623         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13624         Copy the buffer currently showing just one message.
13626 2011-06-22  Roland Winkler  <winkler@gnu.org>
13628         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13629         (bibtex-clean-entry): First delete the old key so that a
13630         customized algorithm for generating the new key does not get
13631         confused by the old key.
13632         (bibtex-url): Obey regexp of first step.
13633         (bibtex-search-entries): Do not use add-to-list with local
13634         list-var.
13636 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13638         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13639         stored a user name, then query for the password first, instead of
13640         waiting for SMTP to give an error message and the trying again.
13642 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
13644         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13645         BUFFER in call-process.
13647 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13649         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13650         QUIT twice.
13651         (smtpmail-try-auth-methods): Require user name and password from
13652         auth-source.
13654 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
13656         * window.el (display-buffer-default-specifiers)
13657         (display-buffer-alist): Remove entries for pop-up-frame-alist.
13658         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13659         (split-window): Normalize SIDE argument (Bug#8916).
13661         * frame.el (pop-up-frame-alist, pop-up-frame-function)
13662         (special-display-frame-alist, special-display-popup-frame):
13663         Remove duplicate declarations.  These are now in window.el.
13665 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13667         * mail/smtpmail.el (smtpmail-via-smtp):
13668         Set :use-starttls-if-possible so that we always use STARTTLS if the
13669         server supports it.  SMTP servers that support STARTTLS commonly
13670         require it.
13672         * net/network-stream.el (network-stream-open-starttls): Support
13673         upgrading to STARTTLS always, even if we don't have built-in support.
13674         (open-network-stream): Add the :always-query-capabilities keyword.
13676         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13677         upgrades with `open-network-stream', and rely solely on
13678         auth-source for all credentials.  Big changes throughout the file,
13679         but in particular:
13680         (smtpmail-auth-credentials): Remove.
13681         (smtpmail-starttls-credentials): Remove.
13682         (smtpmail-via-smtp): Check for servers saying they want AUTH after
13683         MAIL FROM, too.
13685         * net/network-stream.el (network-stream-open-starttls):
13686         Provide support for client certificates both for external and built-in
13687         STARTTLS.
13688         (auth-source): Require.
13689         (open-network-stream): Document the :client-certificate keyword.
13690         (network-stream-certificate): Change cert-cert to cert and
13691         cert-key to key.
13693 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
13695         * net/tramp-cache.el (top): Don't load the persistency file when
13696         "emacs -Q" has been called.
13698 2011-06-21  Tim Harper  <timcharper@gmail.com>
13700         * term/ns-win.el (ns-initialize-window-system):
13701         Set application-specific `ApplePressAndHoldEnabled' system
13702         resource to NO as it is not yet supported by the NS port.
13704 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
13706         * misc.el (list-dynamic-libraries--refresh): Compute header here...
13707         (list-dynamic-libraries): ...not here.
13709 2011-06-21  Leo Liu  <sdl.web@gmail.com>
13711         * subr.el (sha1): Implement sha1 using secure-hash.
13713 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
13715         * window.el (display-buffer-alist): In default value do not
13716         enforce searching a window on any but the selected frame.
13717         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13718         (display-buffer-select-window): Remove function.
13719         (display-buffer-in-window): When a window on another frame gets
13720         reused, do not select it any more but just raise its frame if
13721         necessary (Bug#8851) and (Bug#8856).
13722         (display-buffer-normalize-options): Handle pop-up-frames related
13723         options more faithfully.
13724         (pop-to-buffer): Don't rely on `display-buffer' selecting the
13725         window if it is on another frame.
13726         (display-buffer-alist, display-buffer-default-specifiers):
13727         Don't make new frame unsplittable by default.
13728         (display-buffer-normalize-argument): Fix doc-string typo and use
13729         'same-frame-other-window instead of 'other-window when associating
13730         with display-buffer-macro-specifiers.
13732 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
13734         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13735         New functions.
13736         (5x5-mode-map, 5x5-mode-menu): Bind them.
13737         (5x5-draw-grid): Tweak the solver's rendering.
13739 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13741         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13742         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13744 2011-06-21  Drew Adams  <drew.adams@oracle.com>
13746         * menu-bar.el: Use function variable instead of switch-to-buffer.
13747         (menu-bar-select-buffer-function): New variable.
13748         (menu-bar-update-buffers): Use it (bug#8876).
13750 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13752         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13753         variable's status.
13755 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
13757         * x-dnd.el (x-dnd-version-from-flags)
13758         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13759         and long as number (Bug#8899).
13760         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13762 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13764         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13765         (completion-try-completion, completion-all-completions): Compute the
13766         metadata argument if it's missing; make it optional (bug#8795).
13768         * wid-edit.el: Use lex-bind and move towards completion-at-point.
13769         (widget-complete): Use new :completion-function property.
13770         (widget-completions-at-point): New function.
13771         (default): Use :completion-function instead of :complete.
13772         (widget-default-completions): Rename from widget-default-complete;
13773         Rewrite.
13774         (widget-string-complete, widget-file-complete, widget-color-complete):
13775         Remove functions.
13776         (file, symbol, function, variable, coding-system, color):
13777         * international/mule-cmds.el (default-input-method, charset)
13778         (language-info-custom-alist):
13779         * cus-edit.el (face): Use new property :completions.
13781         * progmodes/pascal.el (pascal-completions-at-point): New function.
13782         (pascal-mode): Use it.
13783         (pascal-mode-map): Use completion-at-point.
13784         (pascal-toggle-completions): Make obsolete.
13785         (pascal-complete-word, pascal-show-completions):
13786         * progmodes/octave-mod.el (octave-complete-symbol):
13787         Redefine as obsolete alias.
13788         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13789         Signal absence of completion info for old Octave,
13790         (inferior-octave-complete): Redefine as obsolete alias.
13791         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13792         (meta-completions-at-point): Rename from meta-complete-symbol and
13793         adapt it for use on completion-at-point-functions.
13794         (meta-common-mode): Use it.
13795         (meta-looking-at-backward, meta-match-buffer): Remove.
13796         (meta-complete-symbol): Redefine as obsolete alias.
13797         (meta-common-mode-map): Use completion-at-point.
13798         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13799         (makefile-mode-map): Use completion-at-point.
13800         (makefile-completions-at-point): Rename from makefile-complete and
13801         adapt it for use on completion-at-point-functions.
13802         (makefile-mode): Use it.
13803         (makefile-complete): Redefine as obsolete alias.
13805 2011-06-20  Deniz Dogan  <deniz@dogan.se>
13807         * net/rcirc.el: Delete trailing whitespaces once and for all.
13809 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
13811         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13813 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
13815         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13817         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13819 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
13821         * window.el (display-buffer-other-window-means-other-frame):
13822         Call display-buffer-normalize-alist.
13823         (display-buffer-normalize-specifiers-1): Rename to
13824         display-buffer-normalize-argument.  New argument other-frame.
13825         Rewrite.
13826         (display-buffer-normalize-specifiers-2): Rename to
13827         display-buffer-normalize-options.
13828         (display-buffer-normalize-alist-1): New function.
13829         (display-buffer-normalize-specifiers-3): Rename to
13830         display-buffer-normalize-alist.
13831         Call display-buffer-normalize-alist-1.
13832         (display-buffer-normalize-options-inhibit): New variable.
13833         (display-buffer-normalize-specifiers): Rewrite calling
13834         display-buffer-normalize-alist,
13835         display-buffer-normalize-argument, and
13836         display-buffer-normalize-options.  Don't call the latter if
13837         display-buffer-normalize-options-inhibit is non-nil.
13838         (frame-auto-delete): New option.
13839         (window-deletable-p): Use frame-auto-delete.
13840         (window-list-no-nils, window-state-ignored-parameters)
13841         (window-state-get-1, window-state-get, window-state-put-list)
13842         (window-state-put-1, window-state-put-2, window-state-put):
13843         New functions.
13844         (display-buffer-normalize-options): Move special-display-p group
13845         after pop-up-frame group (Bug#8851) and (Bug#8856).
13847 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
13849         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13850         groups (Bug#8776).
13851         (rx-submatch-n): New function.
13852         (rx): Document it.
13854         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13855         (Bug#8768).
13857         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13859         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13861         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13862         anytime existing face settings are present (Bug#8889).
13864         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13865         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13866         Remove unused argument.
13868 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
13870         * window.el (display-buffer-default-specifiers):
13871         Remove pop-up-frame.  Add pop-up-window-min-height,
13872         pop-up-window-min-width, and another reuse-window specifier
13873         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
13874         (display-buffer-normalize-specifiers-2):
13875         Handle split-height-threshold and split-width-threshold also when
13876         pop-up-windows is unset.  Add a reuse-window specifier for the
13877         case popping up a new window fails.
13878         (special-display-popup-frame): Remove double quoting.
13879         (display-buffer-normalize-specifiers-1): Fix thinko.
13881 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13883         * shell.el (shell-completion-vars): Set pcomplete-termination-string
13884         according to comint-completion-addsuffix.
13886         * pcomplete.el: Convert to lexical binding and fix bug#8819.
13887         (pcomplete-suffix-list): Mark as obsolete.
13888         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13889         pcomplete-seen in the closure.
13890         (pcomplete-comint-setup): Setup completion-at-point as well.
13891         (pcomplete--entries): New function.
13892         (pcomplete--env-regexp): New var.
13893         (pcomplete-entries): Rewrite to work with partial-completion and
13894         without relying on pcomplete-suffix-list.
13895         (pcomplete-pare-list): Remove, unused.
13897 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
13899         * window.el (display-buffer-alist): Set pop-up-window-min-height
13900         and pop-up-window-min-width in default value.  Reported by
13901         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
13902         other-window-means-other-frame.
13903         (display-buffer-macro-specifiers): Comment out entry for
13904         other-window specifier.
13905         (display-buffer-other-window-means-other-frame): New function.
13906         (display-buffer-normalize-specifiers-1): New arguments
13907         buffer-name and label.  Treat other-window case specially.
13908         (display-buffer-normalize-specifiers-2): Treat other-window case
13909         specially.
13910         (display-buffer-normalize-specifiers-3): New function.
13911         (display-buffer-normalize-specifiers):
13912         Call display-buffer-normalize-specifiers-3.
13914 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
13916         * window.el (same-window-p): Fix two typos introduced when
13917         adding with-no-warnings.
13918         (display-buffer-normalize-specifiers-1): Don't check
13919         pop-up-frames for 'unset initialization.
13920         (display-buffer-normalize-specifiers-2): Major rewrite using
13921         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13922         (pop-up-frames, display-buffer-reuse-frames)
13923         (display-buffer-mark-dedicated): Don't initialize to 'unset.
13924         Suggested by David Engster <deng@randomsample.de>.
13925         (even-window-heights): Initialize to 'unset.
13926         (display-buffer-alist-set): Handle new 'unset initializations.
13927         (display-buffer-macro-specifiers): Don't pop up a new frame in the
13928         other window case.
13930 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
13932         * window.el (display-buffer-normalize-specifiers-1):
13933         Respect current value of pop-up-frames for most reasonable values of
13934         second argument of display-buffer (Bug#8865).
13935         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13936         (switch-to-buffer-other-window-same-frame)
13937         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
13938         Adams (Bug#8875).
13939         (display-buffer): Don't check noninteractive when calling
13940         display-buffer-pop-up-frame.
13941         (display-buffer-pop-up-frame): Never pop up a frame in
13942         noninteractive mode (Bug#8857).
13943         (enlarge-window, shrink-window): Don't report an error when the
13944         window can't be resized as requested (Bug#8862).
13946 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13948         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13950         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13952         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13954 2011-06-15  Alan Mackenzie  <acm@muc.de>
13956         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13957         for declarators, disable knr checking to speed up for normal files.
13958         2: Refactor, replacing a sequence of nested if forms by a cond form.
13960 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13962         * net/network-stream.el (open-network-stream): Add the keyword
13963         :always-query-capabilities for the case where you want to force a
13964         `plain' network connection, but the protocol still requires the
13965         capabilitiy command (i.e., SMTP and EHLO).
13967         * subr.el (process-live-p): Rename from `process-alive-p' for
13968         consistency with other `-live-p' functions.
13970 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13972         * window.el (same-window-buffer-names, same-window-regexps)
13973         (special-display-frame-alist, special-display-popup-frame)
13974         (special-display-function, special-display-buffer-names)
13975         (special-display-regexps, pop-up-frame-alist)
13976         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13977         (pop-up-windows, split-window-preferred-function)
13978         (split-height-threshold, split-width-threshold, even-window-heights)
13979         (display-buffer-mark-dedicated): Don't encourage the use of
13980         display-buffer-alist from Elisp code.
13982 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
13984         * progmodes/python.el (python-mode): Derive from prog-mode.
13985         * progmodes/ps-mode.el (ps-mode):
13986         * progmodes/mixal-mode.el (mixal-mode):
13987         * progmodes/cfengine.el (cfengine-mode):
13988         * progmodes/ld-script.el (ld-script-mode): Likewise.
13990 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
13992         * window.el (display-buffer-alist): Trim default value to avoid
13993         popping up a new frame (Bug#8857) or reusing an arbitrary window
13994         on another frame.
13995         (display-buffer): Do not fall back on popping up a new frame in
13996         batch mode (Bug#8857).
13998 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
14000         * cus-theme.el (describe-theme-1): Use custom-theme-p.
14001         (custom-theme-summary): New function.
14002         (customize-themes): Use it.
14004 2011-06-13  Glenn Morris  <rgm@gnu.org>
14006         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14008 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
14010         * help.el (help-window): Remove variable.
14011         (help-window-point-marker, temp-buffer-max-height)
14012         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14013         (help-print-return-message): Don't set help-window.
14014         (resize-temp-buffer-window): Rewrite cod eand doc-string.
14015         (help-window-setup-finish): Remove.
14016         (help-window-display-message, help-window-setup)
14017         (with-help-window): Major rewrite based on new
14018         display-buffer-window variable.
14020         * help-mode.el (help-mode-finish): Remove help-window related
14021         code.
14023         * view.el (view-exits-all-viewing-windows): Remove reference to
14024         view-return-to-alist in doc-string.
14025         (view-return-to-alist): Make obsolete.
14026         (view-buffer): Call pop-to-buffer-same-window and remove
14027         undo-window code.
14028         (view-buffer-other-window): Call pop-to-buffer-other-window and
14029         simplify code.  Ignore second argument.
14030         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14031         simplify code.  Ignore second argument.
14032         (view-return-to-alist-update): Make obsolete.
14033         (view-mode-enter): Rename second argument to QUIT-RESTORE.
14034         Rewrite using quit-restore window parameters.
14035         (view-mode-exit): Rename second argument to EXIT-ONLY.
14036         Rewrite using quit-restore-window.
14037         (View-exit, View-exit-and-edit, View-leave, View-quit)
14038         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14039         appropriate arguments.
14040         (view-end-message): Use quit-restore window parameter.
14042         * window.el (display-buffer-function): Rewrite doc-string.
14043         (display-buffer-window, display-buffer-alist): New variables.
14044         (display-buffer-split-specifiers)
14045         (display-buffer-side-specifiers)
14046         (display-buffer-macro-specifiers): New constants.
14047         (display-buffer-even-window-sizes, display-buffer-set-height)
14048         (display-buffer-set-width, display-buffer-select-window)
14049         (display-buffer-in-window, display-buffer-reuse-window)
14050         (display-buffer-split-window-1, display-buffer-split-window)
14051         (display-buffer-split-atom-window, display-buffer-pop-up-window)
14052         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14053         (display-buffer-in-side-window, normalize-buffer-to-display)
14054         (display-buffer-normalize-specifiers-1)
14055         (display-buffer-normalize-specifiers-2)
14056         (display-buffer-normalize-specifiers, display-buffer-frame):
14057         New functions.
14058         (display-buffer): Major rewrite.
14059         (display-buffer-other-window, display-buffer-other-frame)
14060         (pop-to-buffer, switch-to-buffer-other-window)
14061         (switch-to-buffer-other-frame): Rewrite.
14062         (display-buffer-same-window, display-buffer-same-frame)
14063         (display-buffer-same-frame-other-window)
14064         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14065         (pop-to-buffer-other-window)
14066         (pop-to-buffer-same-frame-other-window)
14067         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14068         (switch-to-buffer-other-window-same-frame): New functions.
14069         (same-window-p, special-display-p): Rewrite disabling warnings.
14070         Make obsolete.
14071         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14072         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14073         Make obsolete
14074         (same-window-buffer-names, same-window-regexps)
14075         (special-display-frame-alist, special-display-popup-frame)
14076         (special-display-function, special-display-buffer-names)
14077         (special-display-regexps, pop-up-frame-alist)
14078         (pop-up-frame-function, split-window-preferred-function)
14079         (split-height-threshold, split-width-threshold)
14080         (even-window-heights): Make obsolete.
14082 2011-06-12  Glenn Morris  <rgm@gnu.org>
14084         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
14085         Misc simplifications.
14087 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
14089         * window.el (window-safely-shrinkable-p): Restore function which
14090         was inadvertently removed in change from 2011-06-11.  Declare as
14091         obsolete.
14093         * calendar/calendar.el (calendar-generate-window):
14094         Use window-iso-combined-p instead of combination of one-window-p and
14095         window-safely-shrinkable-p.
14097 2011-06-12  Glenn Morris  <rgm@gnu.org>
14099         * progmodes/fortran.el (fortran-mode-syntax-table):
14100         * progmodes/f90.el (f90-mode-syntax-table):
14101         Set % to punctuation.  (Bug#8820)
14102         (f90-find-tag-default): Remove, no longer needed.
14104 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
14106         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14108 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
14110         * image.el (image-animated-p): Return animation delay in seconds.
14111         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14112         (image-animate-timeout): Remove DELAY argument.  Don't assume
14113         every subimage has the same delay; get it from image-animated-p.
14114         (image-animate): Caller changed.
14116 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
14118         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14119         to ignored backtrace functions.
14121 2011-06-11  Glenn Morris  <rgm@gnu.org>
14123         * calendar/appt.el (appt-disp-window-function): Doc fix.
14124         (appt-check): Handle overlapping appointments.  (Bug#8337)
14126 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
14128         * window.el (window-tree-1, window-tree): New functions, moving
14129         the latter to window.el.
14130         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14131         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14132         (bw-refresh-edges): Remove.
14133         (balance-windows-1, balance-windows-2): New functions.
14134         (balance-windows): Rewrite in terms of window tree functions,
14135         balance-windows-1 and balance-windows-2.
14136         (bw-adjust-window): Remove.
14137         (balance-windows-area-adjust): New function with functionality of
14138         bw-adjust-window but using resize-window.
14139         (set-window-text-height): Rewrite doc-string.
14140         Use normalize-live-window and resize-window.
14141         (enlarge-window-horizontally, shrink-window-horizontally):
14142         Rename argument to DELTA.
14143         (window-buffer-height): New function.
14144         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14145         Rewrite using new window resize routines.
14146         (kill-buffer-and-window, mouse-autoselect-window-select):
14147         Use ignore-errors instead of condition-case.
14148         (quit-window): Call delete-frame instead of delete-windows-on
14149         for the only buffer on frame.
14151 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
14153         * loadup.el (top-level): Load window before files for the sake
14154         of replace-buffer-in-windows.
14156         * files.el (read-buffer-to-switch)
14157         (switch-to-buffer-other-window)
14158         (switch-to-buffer-other-frame, display-buffer-other-frame):
14159         Move to window.el.
14161         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14162         (previous-buffer): Move to window.el.
14164         * bindings.el (unbury-buffer): Move to window.el.
14166         * window.el (delete-other-windows-vertically): Move after
14167         definition of delete-other-windows.
14168         (other-window, delete-windows-on, replace-buffer-in-windows):
14169         Move here from window.c.
14170         (record-window-buffer, unrecord-window-buffer)
14171         (set-window-buffer-start-and-point, switch-to-prev-buffer)
14172         (switch-to-next-buffer): New functions.
14173         (get-next-valid-buffer, last-buffer, next-buffer): Move here
14174         from simple.el.  Call switch-to-next-buffer.
14175         (previous-buffer): Move here from simple.el.
14176         Call switch-to-prev-buffer.
14177         (bury-buffer): Move here from buffer.c.  Switch to previous
14178         buffer when window cannot be deleted.
14179         (unbury-buffer): Move here from bindings.el.
14180         (ctl-x-map): Move binding for other-window from window.c to
14181         here.
14182         (read-buffer-to-switch, switch-to-buffer-other-window)
14183         (switch-to-buffer-other-frame): Move here from files.el.
14184         (normalize-buffer-to-switch-to): New functions.
14185         (switch-to-buffer): Move here from buffer.c.
14186         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
14188 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
14190         * window.el (window-min-height, window-min-width): Move here
14191         from window.c.  Add defcustoms and rewrite doc-strings.
14192         (resize-mini-window, resize-window): New functions.
14193         (adjust-window-trailing-edge, enlarge-window, shrink-window):
14194         Move here from window.c.
14195         (maximize-window, minimize-window): New functions.
14196         (delete-window, delete-other-windows, split-window): Move here
14197         from window.c.
14198         (window-split-min-size): New function.
14199         (split-window-keep-point): Mention split-window-above-each-other
14200         instead of split-window-vertically.
14201         (split-window-above-each-other, split-window-vertically):
14202         Rename split-window-vertically to split-window-above-each-other
14203         and provide defalias for old definition.
14204         (split-window-side-by-side, split-window-horizontally):
14205         Rename split-window-horizontally to split-window-side-by-side
14206         and provide defalias for the old definition.
14207         (ctl-x-map): Move bindings for delete-window,
14208         delete-other-windows and enlarge-window here from window.c.
14209         Replace bindings for split-window-vertically and
14210         split-window-horizontally by bindings for
14211         split-window-above-each-other and split-window-side-by-side.
14213         * cus-start.el (all): Remove entries for window-min-height and
14214         window-min-width.  Add entries for window-splits and
14215         window-nest.
14217 2011-06-09  Glenn Morris  <rgm@gnu.org>
14219         * calendar/appt.el (appt-mode-line): New function.
14220         (appt-check, appt-disp-window): Use it.
14222         * files.el (hack-one-local-variable-eval-safep):
14223         Allow minor-modes with explicit +/-1 arguments.
14225 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
14227         * term/xterm.el (xterm): Add defgroup.
14228         (xterm-extra-capabilities): Add defcustom to supply known xterm
14229         capabilities, skip querying them, or query them (default).
14230         (terminal-init-xterm): Use it.
14231         (terminal-init-xterm-modify-other-keys): New function to set up
14232         modifyOtherKeys support to simplify `terminal-init-xterm'.
14234 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
14236         * window.el (resize-window-reset, resize-window-reset-1)
14237         (resize-subwindows-skip-p, resize-subwindows-normal)
14238         (resize-subwindows, resize-other-windows, resize-this-window)
14239         (resize-root-window, resize-root-window-vertically)
14240         (window-deletable-p, window-or-subwindow-p)
14241         (frame-root-window-p): New functions.
14243 2011-06-09  Glenn Morris  <rgm@gnu.org>
14245         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14246         (ange-ftp-get-files): Use it.
14248 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
14250         * mail/sendmail.el (mail-recover-1, mail-recover):
14251         * files.el (recover-file, recover-session):
14252         Handle dired-listing-switches not being just a single short option.
14254 2011-06-09  Glenn Morris  <rgm@gnu.org>
14256         * calendar/appt.el (appt-display-message, appt-disp-window):
14257         Handle lists of appointments.
14259 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
14261         * window.el (one-window-p): Move down in code.
14262         Rewrite doc-string.
14263         (window-current-scroll-bars): Rewrite doc-string.
14264         Normalize live window argument.
14265         (walk-windows, get-window-with-predicate, count-windows):
14266         Rewrite doc-string.  Use window-list-1.
14267         (window-in-direction-2, window-in-direction, get-mru-window):
14268         New functions.
14270 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
14272         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14273         Doc fix (Bug#8713).
14275 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
14277         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14279 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
14281         * loadhist.el (unload-feature-special-hooks):
14282         Add `comint-output-filter-functions'.
14284 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
14286         * calendar/appt.el (appt-check): Move some initializations into the let.
14288 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
14290         * window.el (window-height): Defalias to window-total-height.
14291         (window-width): Defalias to window-body-width.
14293 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
14295         * image-mode.el (image-toggle-animation): New command.
14296         (image-mode-map): Bind it to RET.
14297         (image-mode): Update message.
14298         (image-toggle-display-image): Avoid a spurious cache flush.
14299         (image-transform-rotation): Doc fix.
14300         (image-transform-properties): Return quickly in the normal case.
14301         (image-animate-loop): Rename from image-animate-max-time.
14303         * image.el (image-animate-max-time): Move to image-mode.el.
14304         (create-animated-image): Remove unnecessary function.
14305         (image-animate): Rename from image-animate-start.  New arg.
14306         (image-animate-stop): Remove; just use image-animate-timer.
14307         (image-animate-timer): Use car-safe.
14308         (image-animate-timeout): Rename argument.
14310 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
14312         * window.el (get-lru-window, get-largest-window): Move here from
14313         window.c.  Rename first argument to ALL-FRAMES.
14314         Rephrase doc-strings.
14315         (get-buffer-window-list): Rewrite using window-list-1.
14316         Rephrase doc-string.
14317         (window-safe-min-height, window-safe-min-width): New constants.
14318         (window-size-ignore, window-min-size, window-min-size-1)
14319         (window-sizable, window-sizable-p, window-size-fixed-1)
14320         (window-size-fixed-p, window-min-delta-1, window-min-delta)
14321         (window-max-delta-1, window-max-delta, window-resizable)
14322         (window-resizable-p, window-total-height, window-total-width)
14323         (window-body-width): New functions.
14324         (window-full-height-p, window-full-width-p): Rewrite using
14325         window-total-size.
14326         (window-body-height): Rewrite using window-body-size.
14328 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
14330         * window.el (window-right, window-left, window-child)
14331         (window-child-count, window-last-child, window-any-p)
14332         (normalize-live-buffer, normalize-live-frame)
14333         (normalize-any-window, normalize-live-window)
14334         (window-iso-combination-p, window-iso-combined-p)
14335         (window-iso-combinations)
14336         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14337         (windows-with-parameter, window-with-parameter)
14338         (window-atom-root, make-window-atom, window-atom-check-1)
14339         (window-atom-check, window-side-check, window-check):
14340         New functions.
14341         (ignore-window-parameters, window-sides, window-sides-vertical)
14342         (window-sides-slots): New variables.
14343         (window-size-fixed): Move down in code.  Minor doc-string fix.
14345 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
14347         * comint.el (comint-dynamic-complete-as-filename)
14348         (comint-dynamic-complete-filename): Correctly call
14349         completion-in-region.
14351 2011-06-05  Deniz Dogan  <deniz@dogan.se>
14353         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14354         in last change.
14356 2011-06-05  Deniz Dogan  <deniz@dogan.se>
14358         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14359         (rcirc): Use it to prompt for encryption.
14361 2011-06-05  Roland Winkler  <winkler@gnu.org>
14363         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14364         (bibtex-search-entries): New command bound to C-c C-a.
14365         (bibtex-display-entries): New function.
14367 2011-06-05  Roland Winkler  <winkler@gnu.org>
14369         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14370         (bibtex-insert-kill): After yanking insert newline if necessary.
14371         (bibtex-initialize): Call bibtex-string-files-init only once.
14372         (bibtex-mode): Do not call easy-menu-add.
14373         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14374         (bibtex-yank): Set arg properly if nil.
14376 2011-06-05  Roland Winkler  <winkler@gnu.org>
14378         * textmodes/bibtex.el (bibtex-search-entry-globally):
14379         New variable.
14380         (bibtex-search-entry): Use it.
14382 2011-06-05  Roland Winkler  <winkler@gnu.org>
14384         * textmodes/bibtex.el (bibtex-entry-format): New option
14385         sort-fields.
14386         (bibtex-format-entry, bibtex-reformat): Honor this option.
14387         (bibtex-parse-entry): Return fields in proper order.
14389 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
14391         * doc-view.el (doc-view-remove-if): Move computation of result out
14392         of `dolist' to silence misleading lexical-binding warning.
14394 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
14396         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14397         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14399 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
14401         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14402         "SunOS 5.10".
14404 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
14406         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14407         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14408         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14409         (tramp-parse-putty):
14410         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14411         (tramp-completion-function-alist-ssh)
14412         (tramp-completion-function-alist-telnet)
14413         (tramp-completion-function-alist-su)
14414         (tramp-completion-function-alist-putty): Set `tramp-autoload'
14415         cookie.
14417         * net/tramp-ftp.el:
14418         * net/tramp-sh.el:
14419         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14420         load "tramp.el" `tramp-set-completion-function'.
14422 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14424         * shell.el: Require and use pcomplete.
14425         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14426         (shell-completion-vars): Set pcomplete-default-completion-function.
14428 2011-06-04  Deniz Dogan  <deniz@dogan.se>
14430         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14431         `memq' (Bug#8799).
14433 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14435         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14437 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
14439         * bs.el (bs--mark-unmark, bs--nth-wrapper):
14440         * mpc.el (mpc-select-extend, mpc-songpointer-context):
14441         * vc/log-view.el (log-view-beginning-of-defun):
14442         * vc/smerge-mode.el (smerge-apply-resolution-patch)
14443         (smerge-refine-forward, smerge-refine-chopup-region):
14444         Silence warning for unused `dotimes' counter variables.
14446 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14448         * net/tramp.el (tramp-with-progress-reporter): Rename from
14449         with-progress-reporter.  Use `declare'.
14450         * net/tramp-smb.el:
14451         * net/tramp-sh.el:
14452         * net/tramp-gvfs.el: Update all uses.
14454 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
14456         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14457         buffer isn't killed before making it current.
14459 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14461         Silence various byte-compiler warnings.
14462         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14463         `access-type' and new obsolescence format.
14464         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14465         new format.
14466         (byte-compile-check-variable): New `access-type' argument.
14467         Only warn if the access-type is obsolete.
14468         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14469         (byte-compile-variable-set): Adjust callers.
14470         * help-fns.el (describe-variable): Adjust to new obsolescence format.
14471         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14472         setting it as obsolete.
14473         * simple.el (minibuffer-completing-symbol):
14474         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14475         access as obsolete.
14476         * minibuffer.el (minibuffer-completing-file-name): Don't make it
14477         obsolete yet.
14478         * international/quail.el (quail-mouse-choose-completion): Remove unused
14479         code referring to obsolete var.
14480         (quail-choose-completion-string): Remove.
14481         * server.el (server-clients-with, server-kill-buffer-query-function)
14482         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14483         * proced.el (proced-send-signal):
14484         * emacs-lisp/lisp.el (lisp-complete-symbol):
14485         Replace completion-annotate-function with completion-extra-properties.
14487 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14489         * simple.el (goto-line): Use read-number.
14490         (overriding-map-is-bound): Remove.
14491         (saved-overriding-map): Change default.
14492         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14493         Take the map as argument.
14494         (universal-argument, negative-argument, digit-argument): Use it.
14495         (restore-overriding-map): Adjust.
14496         (do-auto-fill): Use fill-forward-paragraph.
14497         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14499         * minibuffer.el (minibuffer-inactive-mode-map): New var.
14500         (minibuffer-inactive-mode): New major mode.
14501         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14502         the *Messages* buffer" hack.
14503         (mouse-popup-menubar): Don't burp if the event is a normal key.
14505         Miscellaneous tweaks.
14506         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14507         lexical scoping as in subr.el's dolist and dotimes.
14508         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14509         Silence compiler warning.
14510         * thingatpt.el (forward-whitespace): Trivial coding style fix.
14511         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14512         * international/ccl.el (ccl-compile): Trivial simplification.
14513         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14514         * emacs-lisp/testcover.el (testcover-end): Remove spurious
14515         `printflag' argument.
14516         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14517         Purecopy the whole obsolescence data.
14519 2011-06-01  Leo Liu  <sdl.web@gmail.com>
14521         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14522         improve doc-string as suggested by Marco Pessotto
14523         <melmothx@gmail.com>.
14524         (rcirc-print): Fix last change.
14526 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14528         * minibuffer.el (complete-with-action): Return nil for the metadata and
14529         boundaries of non-functional tables.
14530         (completion-table-dynamic): Return nil for the metadata.
14531         (completion-table-with-terminator): Add default case, using
14532         complete-with-action.
14533         (completion--metadata): New function.
14534         (completion-all-sorted-completions, minibuffer-completion-help): Use it
14535         to try and avoid pathological performance problems.
14536         (completion--embedded-envvar-table): Return `category' metadata.
14538 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14540         * subr.el (process-alive-p): New tiny convenience function.
14542 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14544         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14545         content but also its previous major mode.
14547 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
14549         * emacs-lisp/debug.el (debug): Restore the previous content of the
14550         *Backtrace* buffer when we exit with C-M-c.
14552 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14554         * minibuffer.el: Add metadata method to completion tables.
14555         (completion-category-overrides): New defcustom.
14556         (completion-metadata, completion--field-metadata)
14557         (completion-metadata-get, completion--styles)
14558         (completion--cycle-threshold): New functions.
14559         (completion-try-completion, completion-all-completions):
14560         Add `metadata' argument to choose completion-styles.
14561         (completion--do-completion): Use metadata to choose cycling.
14562         (completion-all-sorted-completions): Use metadata for sorting.
14563         Remove :completion-cycle-penalty which is not needed any more.
14564         (completion--try-word-completion): Add `metadata' argument.
14565         (minibuffer-completion-help): Check metadata for annotation function
14566         and sorting.
14567         (completion-file-name-table): Return `category' metadata.
14568         (minibuffer-completing-file-name): Make obsolete.
14569         * simple.el (minibuffer-completing-symbol): Make obsolete.
14570         * icomplete.el (icomplete-completions): Pass new `metadata' param to
14571         completion-try-completion.
14573 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14575         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14577 2011-05-30  Leo Liu  <sdl.web@gmail.com>
14579         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14580         (rcirc-print): Decode all incoming messages (bug#8744).
14581         (rcirc-decode-coding-system): Allow value nil for automatic coding
14582         system detection.
14584 2011-06-01  Glenn Morris  <rgm@gnu.org>
14586         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14588 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
14590         * image.el (image-animate-max-time): Allow nil and t values.
14591         Default to nil.
14592         (create-animated-image): Doc fix.
14593         (image-animate-start): Remove second arg; just use
14594         image-animate-max-time.
14595         (image-animate-timeout): Doc fix.  Args changed.
14597         * image-mode.el (image-toggle-display-image): Ensure that the
14598         image spec passed to the animate timer is the same object as in
14599         the buffer's display property (Bug#6981).
14600         (image-transform-properties): Doc fix.
14602         * image.el (image-animate-max-time): Default to nil.
14604 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
14606         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14607         entire buffer list (Bug#8184).
14609 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
14611         * image.el (imagemagick-types-inhibit)
14612         (imagemagick-register-types): Doc fix.
14614 2011-05-29  Deniz Dogan  <deniz@dogan.se>
14616         * net/rcirc.el (rcirc): Use the user's stored encryption method by
14617         default.
14619 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
14621         * select.el: Don't perform clipboard-manager saving in hooks;
14622         leave the hooks empty.
14624 2011-05-28  Leo Liu  <sdl.web@gmail.com>
14626         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14627         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
14628         (occur-edit-mode): New major mode (Bug#8463).
14629         (occur-after-change-function): New function.
14630         (occur-engine): Give Occur tags a read-only property.
14632 2011-05-28  Kevin Ryde  <user42@zip.com.au>
14634         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14636 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
14638         * bindings.el (help-echo): Make the initial non-indicator dash
14639         empty on graphical terminals (Bug#7295).
14641         * files.el (auto-mode-alist): Move config rule after the
14642         in-stripping one (Bug#8547).
14644         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14646         * startup.el (normal-splash-screen): Remove gratuitous mode-line
14647         setting (Bug#8740).
14649 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
14651         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14652         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14653         (Bug#8539).
14655 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
14657         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14659 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
14661         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14662         (hs-hide-block-at-point, hs-find-block-beginning)
14663         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14664         (Bug#8279).
14666 2011-05-28  Glenn Morris  <rgm@gnu.org>
14668         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
14670 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
14672         * help-fns.el (describe-function-1): If the function is a derived
14673         major mode, print the parent mode.
14675         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14676         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14678 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14680         * minibuffer.el (completion--capf-wrapper): Check applicability before
14681         returning non-nil for non-exclusive completion data.
14682         * progmodes/etags.el (tags-completion-at-point-function):
14683         * info-look.el (info-lookup-completions-at-point): Mark as
14684         non-exclusive.
14685         (info-complete): Adjust accordingly.
14687         * info-look.el: Convert to lexical-binding and completion-at-point.
14688         (info-lookup-completions-at-point): New function.
14689         (info-complete): Use it and completion-in-region.
14691 2011-05-28  Drew Adams  <drew.adams@oracle.com>
14693         * isearch.el: Let M-e start with point at the first mismatched char.
14694         (isearch-fail-pos): New function.
14695         (isearch-edit-string): Use it.
14697 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
14699         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14701 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
14703         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
14704         traversal functions for avl-trees.
14705         (avl-tree--stack): New struct.
14706         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14707         (avl-tree-enter): Add optional `updatefun' arg.
14708         (avl-tree--do-enter): Add optional `updatefun' arg.
14709         Change return value.
14710         (avl-tree-delete): Add optional `test' and `nilflag' args.
14711         (avl-tree--do-delete): Add `test' and `nilflag' args.
14712         Change return value.
14713         (avl-tree-member): Add optional `nilflag'
14714         (avl-tree-member-p): New function.
14715         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14716         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14717         (avl-tree-stack-empty-p): New functions.
14719         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14720         avl-tree--del-balance1 and make it work both ways.
14721         (avl-tree--del-balance2): Remove.
14722         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14723         make it work both ways.
14724         (avl-tree--enter-balance2): Remove.
14725         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14726         New macros.
14727         (avl-tree--mapc, avl-tree-map): Add direction argument.
14729 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
14731         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14733 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
14735         * select.el: Support clipboard managers with built-in function
14736         x-clipboard-manager-save, via delete-frame-functions and
14737         kill-emacs-hook.
14738         (xselect-convert-to-targets): Add MULTIPLE target to list.
14739         (xselect-convert-to-save-targets): New function.
14741 2011-05-27  Kenichi Handa  <handa@m17n.org>
14743         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14744         let-binding rfc2047-encode-encoded-words to nil.
14746 2011-05-27  Glenn Morris  <rgm@gnu.org>
14748         * mail/emacsbug.el: Don't require url-util.
14750         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
14752         * files.el (set-auto-mode):
14753         Also respect mode: entries at the end of the file.  (Bug#8586)
14755 2011-05-26  Glenn Morris  <rgm@gnu.org>
14757         * files.el (hack-local-variables-prop-line, hack-local-variables):
14758         Downcase mode names, as seems to be traditional.
14759         (hack-local-variables, hack-local-variables-apply): Doc fixes.
14761         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14762         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
14764 2011-05-25  Julien Danjou  <julien@danjou.info>
14766         * textmodes/rst.el (rst-define-level-faces): Do not define face
14767         symbol if it is already defined.
14769 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14771         * play/5x5.el (5x5-new-game, 5x5-randomize):
14772         Reset 5x5-solver-output to nil when a new grid is cast.
14773         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14774         these debugging traces, as defmacro breaks the compiled code.
14776 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
14778         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14780 2011-05-24  Leo Liu  <sdl.web@gmail.com>
14782         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14783         (vc-bzr-sha1): Adapt.
14785         * sha1.el: Remove.  Function `sha1' is now builtin.
14787         * bindings.el: Provide sha1 feature.
14789 2011-05-24  Kenichi Handa  <handa@m17n.org>
14791         * mail/sendmail.el: Require `rfc2047'.
14792         (mail-insert-from-field): Do not perform RFC2047 encoding.
14793         (mail-encode-header): New function.
14794         (sendmail-send-it): Set buffer-file-coding-system of the work
14795         buffer to the return value of select-message-coding-system.
14796         Call mail-encode-header.
14798         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14800 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
14802         * mail/supercite.el (sc-default-cite-frame):
14803         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14805 2011-05-24  Glenn Morris  <rgm@gnu.org>
14807         * progmodes/python.el (brm-menu): Declare.
14809         * emulation/viper.el (viper-set-hooks): Declare.
14811         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14812         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14813         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14814         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14815         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14816         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14818 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14820         Add an :exit-function for completion-at-point.
14822         * minibuffer.el (completion--done): New fun.
14823         (completion--do-completion): Use it.  New arg `expect-exact'.
14824         (minibuffer-complete, minibuffer-complete-word): Don't output message,
14825         since completion--do-completion does it for us now.
14826         (minibuffer-force-complete): Use completion--done and
14827         completion--replace.  Handle sole-completion case with more care.
14828         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14829         (completion-extra-properties): New var.
14830         (completion-annotate-function): Make obsolete.
14831         (minibuffer-completion-help): Adjust accordingly.
14832         Use completion-list-insert-choice-function.
14833         (completion-at-point, completion-help-at-point):
14834         Bind completion-extra-properties.
14835         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14836         * simple.el (completion-list-insert-choice-function): New var.
14837         (completion-setup-function): Preserve it.
14838         (choose-completion): Pay attention to it, shuffle the code a bit.
14839         (choose-completion-string): New arg `insert-function'.
14841         * textmodes/bibtex.el: Convert to lexical binding.
14842         (bibtex-mode-map): Use completion-at-point.
14843         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14844         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14845         (bibtex-complete): Define as obsolete alias.
14846         (bibtex-complete-internal): Remove.
14847         (bibtex-format-entry): Remove unused sub-group in regexp.
14848         * shell.el (shell--command-completion-data)
14849         (shell-environment-variable-completion):
14850         * pcomplete.el (pcomplete-completions-at-point):
14851         * comint.el (comint--complete-file-name-data): Use :exit-function
14852         instead of completion-table-with-terminator so it also works for
14853         choose-completion.
14855 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14857         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14859         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14860         (bug#8710).
14862         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14864 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
14866         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14867         customization variable and implement: If non-nil, auto-fill will
14868         be inhibited while on topic's header line.
14870 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14872         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14873         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
14874         always have a solution in grid size = 5 cases.
14875         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14876         (5x5-solver-output, 5x5-log-buffer): New vars.
14877         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14878         Make these variables buffer local to achieve 5x5 multi-session-ness.
14879         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14880         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14881         (5x5-solve-suggest): New funs.
14882         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14883         randomize a grid so that we ensure that there is always a solution.
14884         (5x5-make-random-grid): Allow other movement than flipping.
14886 2011-05-23  Kevin Ryde  <user42@zip.com.au>
14888         * emacs-lisp/advice.el (ad-read-advised-function):
14889         Use `function-called-at-point' as the default, if it has
14890         advice and passes PREDICATE.
14892 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14894         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14895         byte-compile-lambda if it's actually a lambda.
14897         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14898         Fix function quoting.  Use backquote better.
14900 2011-05-22  Yuanle Song  <sylecn@gmail.com>
14902         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14903         matching (Bug#8516).
14905 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
14907         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14908         different face (Bug#8178).
14910 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
14912         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14913         defface (Bug#8144).
14915 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14917         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14918         funcall as well (bug#8712).  Warn when performing those conversions.
14919         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14921         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14923 2011-05-22  Glenn Morris  <rgm@gnu.org>
14925         * files.el (hack-local-variables-prop-line): Small simplifications.
14926         (hack-local-variables, hack-local-variables-prop-line):
14927         If MODE-ONLY, return the mode, rather than just `t'.
14929 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14931         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14933 2011-05-21  Glenn Morris  <rgm@gnu.org>
14935         * files.el (hack-local-variables-prop-line, hack-local-variables):
14936         If only interested in the mode, don't bother doing the other stuff.
14938         * image-mode.el (image-after-revert-hook):
14939         Redraw all frames on which the image is visible.  (Bug#8567)
14941         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
14943         * wid-edit.el (widget-checklist-match-inline):
14944         Fix 2011-04-19 change.  (Bug#8649)
14946 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14948         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14949         Also allow singlespace after single-letter capitals followed by a dot.
14951         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14952         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14954 2011-05-20  Nix  <nix@esperi.org.uk>
14956         * files.el (basic-save-buffer-2):
14957         Fix handling of break-hardlink-on-save with non-existent files.
14959 2011-05-19  Deniz Dogan  <deniz@dogan.se>
14961         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14962         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14964 2011-05-19  Glenn Morris  <rgm@gnu.org>
14966         * progmodes/f90.el (f90-type-def-re):
14967         Handle "type, bind(c)".  (Bug#8691)
14969         * emacs-lisp/autoload.el (batch-update-autoloads):
14970         Set autoload-excludes by parsing loadup.el rather than Makefiles.
14972 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
14974         * net/tramp.el (tramp-process-actions): Set "first-password-request"
14975         property for the correct connection in case of multihops.
14977 2011-05-18  Glenn Morris  <rgm@gnu.org>
14979         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14980         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14982         Rationalize calendar handling of day and month abbrev-arrays.
14983         * calendar/calendar.el (calendar-customized-p): New function.
14984         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14985         (calendar-day-name-array, calendar-month-name-array): Doc fix.
14986         Add :set function.
14987         (calendar-abbrev-length, calendar-day-abbrev-array)
14988         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14989         (calendar-day-abbrev-array, calendar-month-abbrev-array):
14990         Elements may no longer be nil.
14991         (calendar-day-name, calendar-month-name):
14992         Update for changed nature of abbrev arrays.
14993         * calendar/diary-lib.el (diary-name-pattern):
14994         Update for changed nature of abbrev arrays.
14995         (diary-mark-entries-1): Update calendar-make-alist calls.
14996         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14997         * calendar/cal-html.el (cal-html-day-abbrev-array):
14998         Simply inherit from calendar-day-abbrev-array.
15000 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15002         * progmodes/grep.el (grep-mode): Disable default
15003         compilation-directory-matcher setting (bug#8684).
15005 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
15007         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15008         instead of "head" and "tail".  There were problems with SunOS 5.9,
15009         and it performs better.
15011 2011-05-17  Glenn Morris  <rgm@gnu.org>
15013         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15015         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15016         Replace obsolete function.
15018         * shell.el (pcomplete-parse-arguments-function): Declare.
15020         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15021         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15022         (appt-check): Doc fixes.
15023         (appt-disp-window-function, appt-delete-window-function):
15024         Remove needless special case in custom :type.
15025         (appt-display-count): Default to 0, not nil.
15026         (appt-check): Reset appt-display-count to 0, not nil.
15028 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
15030         * progmodes/python.el (python-font-lock-keywords):
15031         Add the Python 3.X keyword "nonlocal" (bug#8639).
15033 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15035         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15037 2011-05-16  Kevin Ryde  <user42@zip.com.au>
15039         * info-look.el (makefile-automake-mode): New setups, looking in
15040         automake manual, then makefile-mode.
15041         (makefile-mode): Remove automake manual, have it just in
15042         makefile-automake-mode since there's various things different or
15043         not relevant to plain make.
15044         (makefile-mode): Remove "other-modes" non-existent automake-mode,
15045         believe a hypothetical automake-mode would go to makefile-mode,
15046         not the other way around.
15048 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
15050         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15051         hunk-end tags (Bug#8672).
15053         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15054         vc-annotate-show-diff-revision-at-line (Bug#8671).
15056 2011-05-14  Glenn Morris  <rgm@gnu.org>
15058         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15059         in the middle of an existing one with multiple authors.  (Bug#8645)
15060         (change-log-font-lock-keywords): Also handle multiple author lines
15061         with leading tabs.  (Bug#8644)
15063         * calendar/appt.el (appt-check): Rename some local variables.
15064         Some simplification/reordering.
15066         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15067         (feedmail-sendmail-f-doesnt-sell-me-out)
15068         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15069         (feedmail-debug-sit-for, feedmail-queue-express-hook)
15070         (feedmail-queue-runner-message-sender): Set :version.
15071         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15072         (bbdb-dwim-net-address, vm-mail): Declare.
15073         (feedmail-binmail-gnulinuxish-template):
15074         Rename from feedmail-binmail-linuxish-template.
15075         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15076         Use insert-buffer-substring.
15078 2011-05-14  Bill Carpenter  <bill@carpenter.org>
15080         * mail/feedmail.el (feedmail-patch-level): Increase.
15081         (feedmail-debug): New custom group.
15082         (feedmail-confirm-outgoing-timeout)
15083         (feedmail-sendmail-f-doesnt-sell-me-out)
15084         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15085         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15086         (feedmail-sender-line, feedmail-from-line)
15087         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
15088         (feedmail-spray-this-address)
15089         (feedmail-spray-address-fiddle-plex-list)
15090         (feedmail-queue-use-send-time-for-date)
15091         (feedmail-queue-use-send-time-for-message-id)
15092         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15093         (feedmail-buffer-eating-function):
15094         Doc fixes.
15095         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15096         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15097         (feedmail-message-action-scroll-down): New functions.
15098         (feedmail-queue-directory, feedmail-queue-draft-directory):
15099         Use expand-file-name.
15100         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15101         Remove C-v help entry.
15102         (feedmail-queue-buffer-file-name): New variable.
15103         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15104         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15105         (feedmail-message-action-send-strong, feedmail-message-action-edit)
15106         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15107         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15108         (feedmail-message-action-toggle-spray)
15109         (feedmail-run-the-queue-no-prompts)
15110         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15111         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15112         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15113         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15114         (feedmail-envelope-deducer, feedmail-fiddle-from)
15115         (feedmail-fiddle-sender, feedmail-default-date-generator)
15116         (feedmail-fiddle-date, feedmail-fiddle-message-id)
15117         (feedmail-fiddle-spray-address)
15118         (feedmail-fiddle-list-of-spray-fiddle-plexes)
15119         (feedmail-fiddle-list-of-fiddle-plexes)
15120         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15121         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15122         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15123         Change default.  Doc fix.
15124         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15125         (feedmail-binmail-linuxish-template): New constant.
15126         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
15127         Respect feedmail-sendmail-f-doesnt-sell-me-out.
15128         (feedmail-send-it): Add debug call.
15129         Use feedmail-queue-buffer-file-name, and
15130         feedmail-send-it-immediately-wrapper.
15131         (feedmail-message-action-send): Add debug call.
15132         Use feedmail-send-it-immediately-wrapper.
15133         (feedmail-queue-express-to-queue): Add debug call.
15134         Run feedmail-queue-express-hook.
15135         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
15136         (feedmail-message-action-help-blat):
15137         Rename from feedmail-queue-send-edit-prompt-help-first.
15138         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
15139         Check line-endings.  Handle errors better.
15140         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15141         Doc fix.  Add debug call.
15142         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
15143         Use feedmail-queue-send-edit-prompt-inner.
15144         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15145         (feedmail-queue-send-edit-prompt-inner): New function, extracted
15146         from feedmail-queue-send-edit-prompt.
15147         (feedmail-queue-send-edit-prompt-help)
15148         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15149         (feedmail-tidy-up-slug): Add debug call.
15150         Respect feedmail-queue-slug-suspect-regexp.
15151         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15152         (feedmail-dump-message-to-queue): Add debug call.
15153         Expand queue-directory.
15154         (feedmail-dump-message-to-queue): Change message slightly.
15155         Use feedmail-say-chatter.
15156         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
15157         (feedmail-send-it-immediately-wrapper): New function.
15158         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
15159         Insert empty string rather than newline.  Handle full-frame case.
15160         Use catch/throw.  Use feedmail-say-chatter.
15161         (feedmail-fiddle-from): Try mail-host-address.
15162         (feedmail-default-message-id-generator): Doc fix.
15163         Bind system-time-locale.  Handle missing end.
15164         (feedmail-fiddle-x-mailer): Add debug call.
15165         Handle feedmail-x-mailer-line being nil.
15166         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15167         Add debug call.  Use buffer-substring-no-properties.
15168         (feedmail-say-debug, feedmail-say-chatter): New functions.
15169         (feedmail-find-eoh): Give an explicit error.
15171 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
15173         * net/newst-treeview.el (newsticker-treeview-face): Change default
15174         family from helvetica to sans.
15175         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
15176         etc/images/newsticker.
15178         * net/newst-reader.el (newsticker-feed-face): Change default
15179         family from helvetica to sans.
15181         * net/newst-plainview.el (newsticker-new-item-face)
15182         (newsticker-old-item-face, newsticker-immortal-item-face)
15183         (newsticker-obsolete-item-face, newsticker-date-face)
15184         (newsticker-statistics-face): Change default family from
15185         helvetica to sans.
15186         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
15187         etc/images/newsticker.
15189         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15190         (newsticker--process-auto-mark-filter-match): Tell user about
15191         auto-marking.
15193 2011-05-13  Didier Verna  <didier@xemacs.org>
15195         Common Lisp indentation improvements on defmethod and lambda-lists.
15196         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15197         TODO entries.
15198         (lisp-lambda-list-keyword-parameter-indentation)
15199         (lisp-lambda-list-keyword-parameter-alignment)
15200         (lisp-lambda-list-keyword-alignment): New customizable user options.
15201         (lisp-indent-defun-method): Improve docstring.
15202         (extended-loop-p): Fix comment.
15203         (lisp-indent-lambda-list-keywords-regexp): New variable.
15204         (lisp-indent-lambda-list): New function.
15205         (lisp-indent-259): Use it.
15206         (lisp-indent-defmethod): Support for more than one
15207         method qualifier and properly indent methods lambda-lists.
15208         (defgeneric): Provide a missing common-lisp-indent-function property.
15210 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15212         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15213         bounds for the empty string (bug#8667).
15215 2011-05-13  Glenn Morris  <rgm@gnu.org>
15217         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15219         * mail/sendmail.el (sendmail-program): Try executable-find first.
15220         (sendmail-send-it): `sendmail-program' cannot be unbound.
15222         * calendar/appt.el (appt-make-list): Simplify.
15223         (appt-time-msg-list): Doc fix.
15224         (appt-check): Change mode-line message at the time of the appointment.
15226 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
15228         * progmodes/ld-script.el (ld-script-keywords)
15229         (ld-script-builtins): Update keywords list.
15231 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15233         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15235         * shell.el (shell-completion-vars): New function.
15236         (shell-mode):
15237         * simple.el (read-shell-command): Use it.
15238         (blink-matching-open): No need for " [...]" in minibuffer-message.
15240 2011-05-12  Glenn Morris  <rgm@gnu.org>
15242         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15243         (appt-check): Simplify.
15245 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
15247         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
15248         literal "/dev/null".
15250 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15252         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15253         Fix typo.
15255 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
15257         * progmodes/which-func.el (which-function):
15258         Use add-log-current-defun instead of add-log-current-defun-function,
15259         which might not be defined (Bug#8260).
15261 2011-05-12  Glenn Morris  <rgm@gnu.org>
15263         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15264         Let byte-compile-initial-macro-environment always take precedence.
15266 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15268         * net/rcirc.el: Add support for SSL/TLS connections.
15269         (rcirc-server-alist): New field `encryption'.
15270         (rcirc): Check `encryption' settings.
15271         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
15272         Merge make-local-variable into `set'.
15273         (rcirc--connection-open-p): New function.
15274         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15275         the process is not a network process (e.g. running gnutls-cli).
15276         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15277         Make rcirc-(en|de)code-coding-system local here.
15278         (rcirc-mode): Merge make-local-variable into `set'.
15279         (rcirc-parent-buffer): Make permanent buffer-local.
15280         (rcirc-multiline-minor-mode): Don't do it here.
15281         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15282         there's no server buffer.
15284 2011-05-11  Glenn Morris  <rgm@gnu.org>
15286         * newcomment.el (comment-kill): Prefix "unused" local.
15288         * term/w32console.el (get-screen-color): Declare.
15290         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15291         Handle symbol elements of byte-compile-initial-macro-environment.
15293 2011-05-10  Leo Liu  <sdl.web@gmail.com>
15295         * bookmark.el (bookmark-bmenu-mode-map):
15296         Bind bookmark-bmenu-search to `/'.
15298         * mail/footnote.el: Convert to utf-8 encoding.
15299         (footnote-unicode-string, footnote-unicode-regexp): New variable.
15300         (Footnote-unicode): New function.
15301         (footnote-style-alist): Add unicode style to the list.
15302         (footnote-style): Doc fix.
15304 2011-05-10  Jim Meyering  <meyering@redhat.com>
15306         Fix doubled-word typos.
15307         * international/quail.el (quail-insert-kbd-layout): and and -> and
15308         * kermit.el: and and -> and
15309         * net/ldap.el (ldap-search-internal): to to -> to
15310         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15311         * progmodes/js.el (js-mode): and and -> and
15312         * textmodes/artist.el (artist-move-to-xy): at at -> at
15313         (artist-draw-region-trim-line-endings): if if -> if
15314         And Safetyc -> Safety.
15315         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15317 2011-05-10  Glenn Morris  <rgm@gnu.org>
15318             Stefan Monnier  <monnier@iro.umontreal.ca>
15320         * files.el (hack-one-local-variable-eval-safep):
15321         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
15323 2011-05-10  Glenn Morris  <rgm@gnu.org>
15325         * calendar/diary-lib.el (diary-list-entries-hook)
15326         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15327         (diary-nongregorian-marking-hook, diary-list-entries)
15328         (diary-include-other-diary-files, diary-mark-entries)
15329         (diary-mark-included-diary-files): Doc fixes.
15331 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
15333         * misc.el: Require tabulated-list.el during compilation.
15335 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
15337         * progmodes/compile.el (compilation-start):
15338         Run compilation-filter-hook for the async case too.
15339         (compilation-filter-hook): Doc fix.
15341 2011-05-09  Deniz Dogan  <deniz@dogan.se>
15343         * wdired.el: Remove outdated installation comment.  Fix usage
15344         comment.
15346 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
15348         * misc.el: Implement new command `list-dynamic-libraries'.
15349         (list-dynamic-libraries--loaded-only-p): New variable.
15350         (list-dynamic-libraries--refresh): New function.
15351         (list-dynamic-libraries): New command.
15353 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
15355         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15356         Fix the ant regexp to handle end-line and end-column info from jikes.
15357         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
15358         higher priority to avoid clobbering by gnu.
15360 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
15362         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15363         if the face has existing theme settings (Bug#8454).
15365 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
15367         * progmodes/perl-mode.el (perl-imenu-generic-expression):
15368         Only match variables declared via `my' or `our' (Bug#8261).
15370         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15371         special file names `.' and `..' (Bug#8259).
15373 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
15375         * progmodes/grep.el (grep-mode-font-lock-keywords):
15376         Remove buffer-changing entries.
15377         (grep-filter): New function.
15378         (grep-mode): Add it to compilation-filter-hook.
15380         * progmodes/compile.el (compilation-filter-hook)
15381         (compilation-filter-start): New defvars.
15382         (compilation-filter): Call compilation-filter-hook prior to
15383         updating the process mark.
15385 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15387         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15389 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
15391         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15392         mailclient-send-it even if window-system is nil.  (Bug#8595)
15394         * term/w32console.el (terminal-init-w32console):
15395         Call get-screen-color and use its output to set the frame
15396         background-mode.  (Bug#8597)
15398 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15400         Make bytecomp.el understand that defmethod defines funs (bug#8631).
15401         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15402         New functions.
15403         (defgeneric, eieio--defmethod): Use them.
15404         (eieio-defgeneric): Remove.
15405         (defmethod): Call defgeneric in a way visible to the byte-compiler.
15407 2011-05-07  Glenn Morris  <rgm@gnu.org>
15409         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15410         Use let rather than let*.
15411         (timeclock-find-discrep): Remove unused local.
15413         * calendar/diary-lib.el (diary-comment-start): Doc fix.
15415         * calendar/appt.el (appt-time-msg-list): Doc fix.
15417 2011-05-06  Noah Friedman  <friedman@splode.com>
15419         * apropos.el (apropos-print-doc): Only use
15420         emacs-lisp-docstring-fill-column when it is bound to an integer,
15421         per that variable's documentation.
15423 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15425         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
15426         and warnings are not silently discarded (e.g. use -d instead of -P).
15428 2011-05-06  Glenn Morris  <rgm@gnu.org>
15430         * calendar/appt.el (appt-message-warning-time): Doc fix.
15431         (appt-warning-time-regexp): New option.
15432         (appt-make-list): Respect appt-message-warning-time.
15434         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15435         New options.
15436         (diary-add-to-list): Strip comments from the displayed string.
15437         (diary-mode): Set comment-start and comment-end.
15439         * vc/diff-mode.el (smerge-refine-subst): Declare.
15440         (diff-refine-hunk): Don't require smerge-mode when compiling.
15442 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
15444         * simple.el (list-processes): Return nil as the docstring says.
15446 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
15448         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15449         to "".
15450         (ange-ftp-write-region, ange-ftp-insert-file-contents)
15451         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15452         determining of binary transfer.  (Bug#7383)
15454 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
15456         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15457         Fix port computation bug.  (Bug#8618)
15459 2011-05-05  Glenn Morris  <rgm@gnu.org>
15461         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15463         * simple.el (shell-dynamic-complete-functions)
15464         (comint-dynamic-complete-functions): Declare.
15466         * net/network-stream.el (gnutls-negotiate):
15467         * simple.el (tabulated-list-print): Fix declarations.
15469         * progmodes/gud.el (syntax-symbol, syntax-point):
15470         Remove unnecessary and incorrect declarations.
15472         * emacs-lisp/check-declare.el (check-declare-scan):
15473         Handle byte-compile-initial-macro-environment in bytecomp.el
15475 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15477         Fix earlier half-done eieio-defmethod change (bug#8338).
15478         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15479         Streamline and change calling convention.
15480         (defmethod): Adjust accordingly and simplify.
15481         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15482         new eieio--defmethod.
15483         (slot-boundp): Minor CSE simplification.
15485 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
15487         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15488         (glasses-make-readable): Use glasses-separate-capital-groups.
15490 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
15492         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15493         (warning-series): Doc fix.
15494         (display-warning): Don't try to create the buffer if we just found it.
15496 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
15498         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15499         (autoload-find-generated-file): New function.
15500         (generate-file-autoloads): Bind generated-autoload-file to
15501         buffer-file-name.
15502         (update-file-autoloads, update-directory-autoloads):
15503         Use autoload-find-generated-file.  If called interactively, prompt for
15504         output file (Bug#7989).
15505         (batch-update-autoloads): Doc fix.
15507 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
15509         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15511 2011-05-04  Glenn Morris  <rgm@gnu.org>
15513         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15514         function, so it follows changes in calendar-date-style.
15515         (diary-fancy-date-matcher): New function.
15516         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15517         (diary-fancy-font-lock-fontify-region-function):
15518         Use diary-fancy-date-pattern as a function.
15520         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15521         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
15523 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
15525         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15526         instead of positional arguments.  Allow :keylist and :crlfiles
15527         arguments.
15528         (open-gnutls-stream): Call it.
15530         * net/network-stream.el (network-stream-open-starttls): Adjust to
15531         call `gnutls-negotiate' with :process and :hostname arguments.
15533 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15535         * minibuffer.el (completion--message): New function.
15536         (completion--do-completion, minibuffer-complete)
15537         (minibuffer-force-complete, minibuffer-complete-word): Use it.
15538         (completion--do-completion): Don't ignore completion-auto-help when in
15539         icomplete-mode.
15541         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15542         internal encoding (e.g. tibetan zero is not whitespace).
15543         (global-whitespace-mode): Prefer save-current-buffer.
15544         (whitespace-trailing-regexp): Remove useless save-match-data.
15545         (whitespace-empty-at-bob-regexp): Minor simplification.
15547 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
15549         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15551 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
15553         * textmodes/ispell.el (ispell-add-per-file-word-list):
15554         Use `concat' to create string for insertion.
15556 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15558         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15559         Avoid open-line which runs post-self-insert-hook.
15560         (bibtex-fill-entry): Remove unused `end' var.
15562 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
15564         * textmodes/ispell.el (ispell-add-per-file-word-list):
15565         Protect against `nil' value of `comment-start' (Bug#8579).
15567 2011-05-03  Leo Liu  <sdl.web@gmail.com>
15569         * isearch.el (isearch-yank-pop): New command.
15570         (isearch-mode-map): Bind it to `M-y'.
15571         (isearch-forward): Mention it.
15573 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15575         * simple.el (minibuffer-complete-shell-command): Remove.
15576         (minibuffer-local-shell-command-map): Use completion-at-point.
15577         (read-shell-command): Setup completion vars here instead.
15578         (read-expression-map): Bind TAB to symbol completion.
15580         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15581         error directly rather via storing it into `results'.
15583 2011-05-02  Leo Liu  <sdl.web@gmail.com>
15585         * vc/diff.el: Fix description.
15587 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15589         * server.el (server-eval-at): New function.
15591 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15593         * net/network-stream.el (open-network-stream): Take a :nowait
15594         parameter and pass it on to `make-network-process'.
15595         (network-stream-open-plain): Ditto.
15597 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15599         * faces.el (face-spec-set-match-display): Don't match toolkit
15600         options on terminal frames.
15602 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15604         * progmodes/pascal.el: Use lexical binding.
15605         (pascal-mode-map): Remove author preferences.
15607         * pcomplete.el (pcomplete-std-complete): Don't abuse
15608         completion-at-point.
15610 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
15612         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15613         removing code that has been dead since 1991 or so.
15615         * startup.el (command-line): When warning about "_emacs", use a
15616         delayed warning to allow the user to filter it out.
15618 2011-04-28  Deniz Dogan  <deniz@dogan.se>
15620         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15621         user has not joined.
15623 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15625         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15626         aren't any completions at point.
15628 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
15630         * subr.el (display-delayed-warnings): New function.
15631         (delayed-warnings-hook): New variable.
15633 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15635         * minibuffer.el (completion-at-point, completion-help-at-point):
15636         Don't presume that a given completion-at-point-function will always
15637         use the same calling convention.
15639         * pcomplete.el (pcomplete-completions-at-point):
15640         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
15641         pcomplete-seen is non-nil.
15642         (pcomplete-comint-setup): Also recognize the new comint/shell
15643         completion functions.
15644         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15645         pcomplete-seen is non-nil.
15647 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
15649         * calendar/icalendar.el (diary-lib): Add require statement.
15650         (icalendar--create-uid): Read out a uid from a text-property on
15651         the first character in the entry.  This allows for code to add its
15652         own uid to the entry.
15653         (icalendar--convert-float-to-ical): Add export of
15654         `diary-float'-entries save for those with the optional DAY
15655         argument.
15657 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
15659         * subr.el (shell-quote-argument): Use alternate escaping strategy
15660         when we spot a variable reference in a string.
15662 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
15664         * cus-start.el (all): Define customization for debug-on-event.
15666 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
15668         * subr.el (shell-quote-argument): Escape correctly under Windows.
15670 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15672         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15674 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
15676         * net/tramp.el (tramp-process-actions): Add POS argument.
15677         Delete region between POS and (pos).
15679         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15680         Use `nil' position in `tramp-process-actions' call.
15681         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15683         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15684         position in `tramp-process-actions' call.
15686         * net/trampver.el: Update release number.
15688 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15690         * custom.el (defcustom): Obey lexical-binding.
15692         Fix octave-inf completion problems reported by Alexander Klimov.
15693         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15694         Inherit from octave-mode-syntax-table.
15695         (inferior-octave-mode): Set info-lookup-mode.
15696         (inferior-octave-completion-at-point): New function.
15697         (inferior-octave-complete): Use it and completion-in-region.
15698         (inferior-octave-dynamic-complete-functions): Use it as well, and use
15699         comint-filename-completion.
15700         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15701         symbol elements which shouldn't be word elements.
15702         (octave-font-lock-keywords, octave-beginning-of-defun)
15703         (octave-function-header-regexp): Adjust regexps accordingly.
15704         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15706 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
15708         * net/gnutls.el (gnutls-errorp): Declare before first use.
15710 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
15712         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15713         verify-error, and verify-hostname-error parameters.  Check whether
15714         default trustfile exists before going to use it.  Add missing
15715         argument to gnutls-message-maybe call.  Return value.
15716         Reported by Claudio Bley <claudio.bley@gmail.com>.
15717         (open-gnutls-stream): Add usage example.
15719         * net/network-stream.el (network-stream-open-starttls): Give host
15720         parameter to `gnutls-negotiate'.
15721         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15722         * subr.el (shell-quote-argument): Escape correctly under Windows.
15724 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
15726         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15727         Use correct match group (bug#8438).
15729 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
15731         * emacs-lisp/package.el (package-built-in-p): Fix typo.
15732         (package-menu--generate): New arg specifying packages to show.
15733         (package-menu-refresh, package-menu-execute, list-packages):
15734         Callers changed.
15735         (package-show-package-list): New function, replacing deleted
15736         package--list-packages (renamed because it is non-internal).
15738         * finder.el (finder-list-matches): Use package-show-package-list
15739         instead of deleted package--list-packages.
15741         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15742         Based on a previous implementation by Juanma Barranquero (Bug#8366).
15743         (vc-annotate-mode-map): Bind it to RET.
15745 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
15747         * progmodes/etags.el (next-file): Don't use set-buffer to change
15748         buffers (Bug#8478).
15750 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
15752         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15754         * apropos.el (apropos-label-face): Avoid variable-pitch face.
15755         (apropos-accumulator): Doc fix.
15756         (apropos-function, apropos-macro, apropos-command)
15757         (apropos-variable, apropos-face, apropos-group, apropos-widget)
15758         (apropos-plist): Add face property.
15759         (apropos-symbols-internal): Fix indentation.
15760         (apropos-print): Simplify help, and recognize apropos-multi-type.
15761         (apropos-print-doc): Use button-type-get to extract the button's
15762         face property.  Fill docstring (Bug#8352).
15764 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
15766         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15768         * play/mpuz.el (mpuz-silent): Doc fix.
15769         (mpuz-mode-map): Use mapc.
15770         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15771         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15772         Fix typos in docstrings.
15774         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15775         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15777         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15779 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
15781         * minibuffer.el (completion--do-completion): Avoid the "Next char
15782         not unique" prompt if icomplete-mode is enabled (Bug#5849).
15784         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15785         mouse-2 into unread-command-events, it is interpreted correctly.
15787         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15788         (image-toggle-display): Doc fix.
15790 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
15792         * textmodes/page.el (what-page): Use line-number-at-pos to
15793         calculate line number (Bug#6825).
15795 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
15797         * eshell/esh-mode.el (find-tag-interactive): Declare function.
15798         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15799         Pass argument NO-DEFAULT to `find-tag-interactive'.
15801 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
15803         Lexical-binding cleanup.
15805         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15806         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15807         * progmodes/ada-prj.el (ada-prj-initialize-values)
15808         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15809         (ada-prj-show-value):
15810         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15811         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15812         (antlr-invalidate-context-cache, antlr-options-menu-filter)
15813         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15814         * progmodes/bug-reference.el (bug-reference-push-button):
15815         * progmodes/fortran.el (fortran-line-length):
15816         * progmodes/glasses.el (glasses-change):
15817         * progmodes/octave-mod.el (octave-fill-paragraph):
15818         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15819         (python-pdbtrack-grub-for-buffer, python-sentinel):
15820         * progmodes/sql.el (sql-save-connection):
15821         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15822         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15823         Mark unused parameters.
15825         * progmodes/compile.el (compilation--flush-directory-cache)
15826         (compilation--flush-parse, compile-internal): Mark unused parameters.
15827         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15828         (compilation-next-error-function): Remove unused variable `timestamp'.
15830         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15831         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15833         * progmodes/dcl-mode.el (dcl-end-of-command):
15834         Remove unused variable `start'.
15835         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15836         (dcl-option-value-basic, dcl-option-value-offset)
15837         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15838         Mark unused parameters.
15839         (dcl-save-local-variable): Remove unused variable `val'.
15840         (mode): Declare.
15842         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15843         Mark unused parameters.
15844         (delphi-ignore-changes): Move before first use.
15845         (delphi-charset-token-at): Remove unused variable `start'.
15846         (delphi-else-start): Remove unused variable `if-count'.
15847         (delphi-comment-block-start, delphi-comment-block-end):
15848         Remove unused variable `kind'.
15849         (delphi-indent-line): Remove unused variable `new-point'.
15851         * progmodes/ebrowse.el (ebrowse-files-list)
15852         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15853         Mark unused parameters.  Don't quote `lambda'.
15854         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15855         Don't quote `lambda'.
15856         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15857         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15858         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15859         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15860         Use `ignore-errors'.
15861         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15862         (ebrowse-view/find-file-and-search-pattern)
15863         (ebrowse-view/find-member-declaration/definition):
15864         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15865         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15866         Rename parameter PREFIX-ARG to PREFIX.
15867         (ebrowse-tags-read-name): Remove unused variables `start' and
15868         `member-info'.
15869         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15870         to `tags-file'.
15872         * progmodes/etags.el (local-find-tag-hook): Declare.
15873         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15874         Mark unused parameters.
15876         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15877         (executable-interpret): Mark unused parameter.
15879         * progmodes/flymake.el (flymake-process-sentinel)
15880         (flymake-after-change-function)
15881         (flymake-create-temp-with-folder-structure)
15882         (flymake-get-include-dirs-dot): Mark unused parameters.
15883         (flymake-safe-delete-directory): Remove unused variable `err'.
15885         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15886         (speedbar-timer-fn, speedbar-line-text)
15887         (speedbar-change-expand-button-char, speedbar-delete-subblock)
15888         (speedbar-center-buffer-smartly): Declare functions.
15889         (gdb-find-watch-expression): Remove unused variable `array'.
15890         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15891         (gdb-starting): Mark unused parameters.
15892         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15893         (gdb-table-string): Remove unused variable `res'.
15894         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15895         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15896         (gdb-display-buffer): Remove unused variable `cur-size'.
15898         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15899         allow lexical-binding compilation.
15900         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15901         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15902         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15903         Mark unused parameters.
15904         (gud-gdb-marker-filter): Remove unused variable `match'.
15905         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15906         lambda expressions and funcall them, instead of using `fset'.
15908         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15909         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15911         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15912         variable `header-beg'; use `let'.
15914         * progmodes/icon.el (indent-icon-exp): Remove unused variables
15915         `restart', `last-sexp' and `at-do'.
15917         * progmodes/js.el (js--debug): Mark unused parameter.
15918         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15919         (js--splice-into-items): Remove unused variable `item'.
15920         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15922         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15923         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15924         (makefile-complete): Remove unused variable `try'.
15925         (makefile-fill-paragraph, makefile-match-function-end):
15926         Mark unused parameters.
15928         * progmodes/octave-inf.el (inferior-octave-complete):
15929         Remove unused variable `proc'.
15930         (inferior-octave-output-digest): Mark unused parameter.
15932         * progmodes/perl-mode.el (perl-calculate-indent):
15933         Remove unused variable `err'.
15935         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15936         (prolog-indent-line): Mark unused parameters.
15937         (prolog-indent-line): Remove unused variable `beg'.
15939         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15940         (reporter-dont-compact-list): Declare.
15942         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15943         Remove unused variable `char'.
15944         (sh-debug): Mark unused parameter.
15945         (sh-get-indent-info): Remove unused variable `start'.
15946         (sh-calculate-indent): Remove unused variable `var'.
15948         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15949         (simula-electric-keyword): Remove unused variable `null'.
15950         (simula-search-backward, simula-search-forward): Remove unused
15951         variables `begin' and `end'.
15953         * progmodes/vera-mode.el (vera-guess-basic-syntax):
15954         Remove unused variable `pos'.
15955         (vera-electric-tab, vera-comment-uncomment-region):
15956         Mark unused parameters.
15957         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15959 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
15961         * emacs-lisp/package.el (package--builtins, package-alist)
15962         (package-load-descriptor, package-built-in-p, package-activate)
15963         (define-package, package-installed-p)
15964         (package-compute-transaction, package-buffer-info)
15965         (package--push): Doc fix.  Distinguish more clearly between
15966         version strings and version lists.
15968 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
15970         Lexical-binding cleanup.
15972         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15973         (5x5-make-mutate-best):
15974         * play/fortune.el (fortune-in-buffer):
15975         * play/gomoku.el (gomoku-init-display):
15976         * play/solitaire.el (solitaire, solitaire-do-check):
15977         * play/tetris.el (tetris-default-update-speed-function):
15978         Mark unused parameters.
15980         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15981         (bubbles--shift): Remove unused variable `char-org'.
15982         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
15983         (bubbles--show-images): Remove unused variable `char'.
15985         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15986         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15987         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15988         (decipher-analyze-buffer): Use ?\s.
15989         (decipher-make-checkpoint): Remove unused variable `mapping'.
15991         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15993         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15994         Remove unused variable `result'; use `let'.
15996         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15997         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15998         (gametree-children-shown-p, gametree-compute-reduced-score):
15999         Use `ignore-errors'.
16001         * play/handwrite.el (ps-lpr-switches): Declare.
16002         (handwrite): Remove unused variables `pmin' and `lastp'.
16004         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16006         * play/landmark.el (landmark-init-display)
16007         (landmark-update-naught-weights): Mark unused parameters.
16008         (landmark-y): Remove unused variable `noise'.  Simplify.
16009         (landmark-human-plays): Remove unused variable `score'.
16011         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16012         (mpuz-try-proposal): Remove unused variable `game'.
16014         * play/zone.el (life-patterns): Declare.
16016 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
16018         * vc/vc.el (ediff-vc-internal): Declare function.
16020 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16022         * shell.el: Use lexical-binding and std completion UI.
16023         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16024         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16025         comint-preoutput-filter-functions rather than on
16026         comint-output-filter-functions.
16027         (shell-command-completion, shell--command-completion-data)
16028         (shell-filename-completion, shell-environment-variable-completion)
16029         (shell-c-a-p-replace-by-expanded-directory): New functions.
16030         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16031         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16032         (shell-dynamic-complete-environment-variable): Use them.
16033         (shell-dynamic-complete-as-environment-variable)
16034         (shell-dynamic-complete-as-command): Remove.
16035         (shell-match-partial-variable): Match past point.
16036         * comint.el: Clean up use of completion-at-point-functions.
16037         (comint-completion-at-point): New function.
16038         (comint-mode): Use it completion-at-point-functions.
16039         (comint-dynamic-complete): Make it obsolete.
16040         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16041         (comint-c-a-p-replace-by-expanded-history): New function.
16042         (comint-dynamic-complete-functions)
16043         (comint-replace-by-expanded-history): Use it.
16044         * minibuffer.el (completion-table-with-terminator): Allow dynamic
16045         termination strings.  Try harder to avoid second try-completion.
16046         (completion-in-region-mode-map): Disable bindings that don't work yet.
16048         * comint.el: Use lexical-binding.  Require CL.
16049         (comint-dynamic-complete-functions): Use comint-filename-completion.
16050         (comint-completion-addsuffix): Tweak custom type.
16051         (comint-filename-completion, comint--common-suffix)
16052         (comint--common-quoted-suffix, comint--table-subvert)
16053         (comint--complete-file-name-data): New functions.
16054         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16055         (comint-dynamic-list-filename-completions): Use them.
16056         (comint-dynamic-simple-complete): Make obsolete.
16058         * minibuffer.el (completion-in-region-mode):
16059         Keep completion-in-region-mode--predicate global.
16060         (completion-in-region--postch):
16061         Assume completion-in-region-mode--predicate is not null.
16063         * progmodes/flymake.el (flymake-start-syntax-check-process):
16064         Obey `dir'.  Simplify.
16066         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16067         we're in VC after all.
16069 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
16071         * vc/vc.el (vc-diff-build-argument-list-internal)
16072         (vc-version-ediff, vc-ediff): New commands.
16073         (vc-version-diff): Use vc-diff-build-argument-list-internal.
16075 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16077         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16078         add sanity check.
16080         * obsolete/erc-hecomplete.el: Make obsolete.
16081         * obsolete/: Standardize obsolescence info in the header.
16083 2011-04-20  Glenn Morris  <rgm@gnu.org>
16085         * calendar/solar.el (solar-horizontal-coordinates):
16086         Use the longitude argument rather than `calendar-longitude'.
16087         (solar-date-next-longitude): Remove unused locals.
16089 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16091         * whitespace.el: New version 13.2.1.
16093 2011-04-20  felix  <EmacsWiki>  (tiny change)
16095         * whitespace.el (global-whitespace-mode): Keep highlight when
16096         switching between major modes on a file.
16098 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16100         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16101         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16102         multi-line comments as well.
16104 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
16106         Lexical-binding cleanup.
16108         * arc-mode.el (archive-mode-revert):
16109         * cmuscheme.el (scheme-interactively-start-process):
16110         * custom.el (custom-initialize-delay):
16111         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16112         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16113         * emacs-lock.el (emacs-lock-clear-sentinel):
16114         * ezimage.el (defezimage):
16115         * follow.el (follow-avoid-tail-recenter):
16116         * fringe.el (set-fringe-mode-1):
16117         * generic-x.el (bat-generic-mode-compile):
16118         * help-mode.el (help-info-variable, help-do-xref)
16119         (help-mode-revert-buffer):
16120         * help.el (view-emacs-todo):
16121         * iswitchb.el (iswitchb-completion-help):
16122         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16123         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16124         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16125         * locate.el (locate-update):
16126         * longlines.el (longlines-encode-region)
16127         (longlines-after-change-function):
16128         * outline.el (outline-isearch-open-invisible):
16129         * ps-def.el (declare-function, charset-dimension, char-width)
16130         (encode-char):
16131         * ps-mule.el (ps-mule-plot-string):
16132         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16133         (recentf-edit-list-select, recentf-edit-list-validate)
16134         (recentf-open-files-action):
16135         * rect.el (delete-whitespace-rectangle-line)
16136         (rectangle-number-line-callback):
16137         * register.el (window-configuration-to-register)
16138         (frame-configuration-to-register):
16139         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16140         * select.el (xselect-convert-to-string, xselect-convert-to-length)
16141         (xselect-convert-to-targets, xselect-convert-to-delete)
16142         (xselect-convert-to-filename, xselect-convert-to-charpos)
16143         (xselect-convert-to-lineno, xselect-convert-to-colno)
16144         (xselect-convert-to-os, xselect-convert-to-host)
16145         (xselect-convert-to-user, xselect-convert-to-class)
16146         (xselect-convert-to-name, xselect-convert-to-integer)
16147         (xselect-convert-to-atom, xselect-convert-to-identity):
16148         * subr.el (declare, ignore, process-kill-without-query)
16149         (text-clone-maintain):
16150         * terminal.el (te-get-char, te-tic-sentinel):
16151         * tool-bar.el (tool-bar-make-keymap):
16152         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16153         * type-break.el (type-break-mode, type-break-noninteractive-query):
16154         * view.el (View-back-to-mark):
16155         * wid-browse.el (widget-browse-action, widget-browse-widget)
16156         (widget-browse-widgets, widget-browse-sexp):
16157         * widget.el (define-widget-keywords):
16158         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16159         Mark unused parameters.
16161         * align.el (align-adjust-col-for-rule): Mark unused parameter.
16162         (align-areas): Remove unused variable `look'.
16163         (align-region): Remove unused variables `real-end' and `pos-list'.
16165         * apropos.el (apropos-score-doc): Remove unused variable `i'.
16167         * bindings.el (mode-line-modified, mode-line-remote):
16168         Mark unused parameters.
16169         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16171         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16172         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16174         * comint.el (comint-history-isearch-pop-state)
16175         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16176         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16177         (comint-substitute-in-file-name): Doc fix.
16179         * completion.el (cmpl-statistics-block): Mark unused parameter.
16180         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16181         (save-completions-to-file, load-completions-from-file):
16182         Remove unused local variable `e'.
16184         * composite.el (compose-chars): Remove unused variable `len'.
16185         (lgstring-insert-glyph): Remove unused variable `g'.
16186         (compose-glyph-string): Remove unused variables `ascent',
16187         `descent', `lbearing' and `rbearing'.
16188         (compose-glyph-string-relative): Remove unused variables
16189         `lbearing', `rbearing' and `wadjust'.
16190         (compose-gstring-for-graphic): Remove unused variables `header',
16191         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
16192         (compose-gstring-for-terminal): Remove unused variables `header'
16193         and `nchars'.  Use `let', not `let*'.
16195         * cus-edit.el (Custom-set, Custom-save, custom-reset)
16196         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16197         (Custom-buffer-done, custom-buffer-create-internal)
16198         (custom-browse-visibility-action, custom-browse-group-tag-action)
16199         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16200         (widget-magic-mouse-down-action, custom-toggle-parent)
16201         (custom-add-parent-links, custom-toggle-hide-variable)
16202         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16203         (custom-toggle-hide-face, face, hook, custom-group-link-action)
16204         (custom-face-menu-create, custom-variable-menu-create, get)
16205         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16206         (custom-reset-standard-save-and-update): Remove unused variable `value'.
16207         (customize-apropos): Remove unused variable `tests'.
16208         (custom-group-value-create): Remove unused variable `hidden-p'.
16209         (sort-fold-case): Declare.
16211         * cus-theme.el (custom-reset-standard-faces-list)
16212         (custom-reset-standard-variables-list): Declare.
16213         (customize-create-theme, custom-theme-revert, custom-theme-write)
16214         (custom-theme-choose-mode, customize-themes, custom-theme-save):
16215         Mark unused parameters.
16217         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16219         * delim-col.el (delimit-columns-max): Move defvar before first use.
16221         * descr-text.el (describe-char-categories): Don't quote `lambda'.
16222         (describe-char): Don't quote `lambda'.  Mark unused parameter.
16224         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16225         (auto-insert): Declare.
16226         (desktop-restore-file-buffer): Rename desktop-* parameters;
16227         mark unused ones.
16228         (desktop-create-buffer): Rename desktop-* parameters and bind them.
16229         (desktop-buffer): Rename desktop-* parameters.
16231         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16232         (dframe-reposition-frame-xemacs, dframe-help-echo)
16233         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16234         Mark unused parameters.
16236         * dired-aux.el (backup-extract-version-start, overwrite-query)
16237         (overwrite-backup-query, rename-regexp-query)
16238         (rename-non-directory-query): Declare.
16239         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16240         (dired-add-entry): Remove unused variable `orig-file-name'.
16241         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16242         Use parameter PRESERVE-TIME instead of accessing dynamic variable
16243         `dired-copy-preserve-time' directly.
16244         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16245         (dired-insert-subdir-newpos): Rename unused variable `pos'.
16247         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16248         (dired-virtual-revert, dired-make-relative-symlink):
16249         Mark unused parameters.
16250         (manual-program): Declare.
16251         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16252         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16253         wrapped in `with-no-warnings' to avoid replacing one warning by another.
16255         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16257         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16259         * echistory.el (electric-history-in-progress, Helper-return-blurb):
16260         Declare.
16262         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16264         * electric.el (Electric-command-loop): Rename parameter
16265         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16267         * expand.el (expand-in-literal): Remove unused variable `here'.
16269         * facemenu.el (facemenu-add-new-color):
16270         Remove unused variable `docstring'.
16272         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16273         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16274         (face-attr-construct): Mark unused parameter.  Doc fix.
16275         (read-color): Remove unused variable `hex-string'.
16277         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16278         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16279         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16280         (display-buffer-other-frame): Remove unused variable `old-window'.
16281         (kill-buffer-hook): Declare.
16282         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16283         Mark unused parameters.
16284         (after-find-file): Pass 1 to `auto-save-mode', not t.
16286         * files-x.el (auto-insert): Declare.
16287         (modify-file-local-variable-prop-line): Remove unused variable `val'.
16289         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
16290         variable `buf'.  Mark unused parameter.
16291         (find-lisp-insert-directory): Mark unused parameter.
16293         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16294         (format-encode-region): Remove unused variables `cur-buf' and `result'.
16295         (format-common-tail): Remove, unused.
16296         (format-deannotate-region): Remove unused variable `loc'.
16297         (format-annotate-region): Remove unused variable `p'.
16298         (format-annotate-single-property-change): Remove unused variables
16299         `default' and `tail'.
16301         * forms.el (read-file-filter): Declare.
16302         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16304         * frame.el (frame-creation-function-alist): Mark unused parameter.
16305         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16307         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16308         Remove unused parameters.
16309         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16310         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16312         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16313         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16314         (hfy-prepare-tag-map): Mark unused parameters.
16315         (htmlfontify-buffer): Use `called-interactively-p'.
16317         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16318         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16319         (ibuffer-do-occur): Mark unused parameters.
16320         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16321         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16323         * ibuffer.el: Don't quote `lambda'.
16324         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16325         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16326         Mark unused parameters.
16328         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16329         (ido-completing-read): Mark unused parameters.
16330         (ido-copy-current-word): Mark unused parameters;
16331         remove unused variable `name'.
16332         (ido-sort-merged-list): Remove unused parameter `dirs'.
16334         * ielm.el (ielm-input-sender): Mark unused parameter.
16335         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16336         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16337         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16338         `ielm-string' as a dynamic variable accessible from the IELM prompt.
16339         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
16341         * image-dired.el (image-dired-display-thumbs): Remove unused
16342         variables `curr-file' and `count'.
16343         (image-dired-remove-tag): Remove unused variable `start'.
16344         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16345         variable `curr-file'
16346         (image-dired-rotate-original): Remove unused variable `temp-file'.
16347         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16348         Remove unused variable `file'.
16349         (image-dired-gallery-generate): Remove unused variable `curr'.
16350         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16352         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16354         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16356         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16358         * isearch.el (minibuffer-history-symbol): Declare.
16359         (isearch-edit-string): Remove unused variable `err'.
16360         (isearch-message-prefix, isearch-message-suffix):
16361         Mark unused parameters.
16363         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16365         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16367         * makesum.el (double-column): Remove unused variable `cnt'.
16369         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16370         (ido-ignore-item-temp-list): Declare.
16372         * mouse-drag.el (mouse-drag-throw): Remove unused variables
16373         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16374         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16375         (mouse-drag-drag): Remove unused variables `mouse-delta' and
16376         `mouse-col-delta'.
16378         * mouse-sel.el (mouse-extend-internal):
16379         Remove unused variable `orig-window-frame'.
16381         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16382         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16383         Move declarations before first use.
16384         (pcomplete-opt): Mark unused parameters; doc fix.
16386         * proced.el (proced-revert): Mark unused parameter.
16387         (proced-send-signal): Remove unused variable `err'.
16389         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16390         Rename parameter PREFIX-ARG to ARG.
16391         (ps-basic-plot-string, ps-basic-plot-whitespace):
16392         Mark unused parameters.
16394         * replace.el (replace-count): Define.
16395         (occur-revert-function): Mark unused parameters.
16396         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16397         (isearch-case-fold-search, isearch-string): Declare.
16398         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16399         bind `case-fold-search'.  Remove unused variables `beg' and `end',
16400         and simplify.
16401         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16402         COUNT and bind `replace-count'.
16403         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16404         to COUNT.
16406         * savehist.el (print-readably, print-string-length): Declare.
16408         * shadowfile.el (shadow-expand-cluster-in-file-name):
16409         Remove unused variable `cluster'.
16410         (shadow-copy-file): Remove unused variable `i'.
16411         (shadow-noquery, shadow-clusters, shadow-site-cluster)
16412         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16413         (shadow-define-literal-group, shadow-define-regexp-group)
16414         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16416         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16417         (shell): Use `called-interactively-p'.
16418         (shell-directory-tracker): Remove unused variable `chdir-failure'.
16420         * simple.el (compilation-context-lines, comint-file-name-quote-list)
16421         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16422         (delete-backward-char): Remove unused variable `ocol'.
16423         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16424         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16425         (event-apply-hyper-modifier, event-apply-shift-modifier)
16426         (event-apply-control-modifier, event-apply-meta-modifier):
16427         Mark unused parameters.
16428         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16429         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16431         * speedbar.el (speedbar-ignored-directory-expressions)
16432         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16433         (speedbar-find-file, speedbar-dir-follow)
16434         (speedbar-directory-buttons-follow, speedbar-tag-find)
16435         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16436         (speedbar-buffers-line-directory, speedbar-buffer-click):
16437         Mark unused parameters.
16438         (speedbar-tag-file): Remove unused variable `mode'.
16439         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16441         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16443         * talk.el (talk): Remove unused variable `display'.
16445         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16446         (tar-write-region-annotate): Mark unused parameter.
16448         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16449         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16450         Declare them, wrapped in `with-no-warnings' to avoid replacing one
16451         warning by another.
16453         * time-stamp.el (time-stamp-string-preprocess):
16454         Remove unused variable `require-padding'.
16456         * tree-widget.el (widget-glyph-enable): Declare.
16457         (tree-widget-action): Mark unused parameter.
16459         * w32-fns.el (x-get-selection): Mark unused parameter.
16460         (autoload-make-program, generated-autoload-file): Declare.
16462         * wdired.el (wdired-revert): Mark unused parameters.
16463         (wdired-xcase-word): Remove unused variable `err'.
16465         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16466         (whitespace-help-scroll): Remove unused variable `data-help'.
16468         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16469         (widget-image-insert, widget-after-change, default)
16470         (widget-default-format-handler, widget-default-notify)
16471         (widget-default-prompt-value, widget-info-link-action)
16472         (widget-url-link-action, widget-function-link-action)
16473         (widget-variable-link-action, widget-file-link-action)
16474         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16475         (widget-field-prompt-internal, widget-field-action, widget-field-match)
16476         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16477         (widget-insert-button-action, widget-delete-button-action, visibility)
16478         (widget-documentation-link-action, widget-documentation-string-action)
16479         (widget-const-prompt-value, widget-regexp-match, symbol)
16480         (widget-coding-system-prompt-value)
16481         (widget-key-sequence-value-to-external, sexp)
16482         (widget-sexp-value-to-internal, character, vector, cons)
16483         (widget-choice-prompt-value, widget-boolean-prompt-value)
16484         (widget-color--choose-action): Mark unused parameters.
16485         (widget-item-match-inline, widget-choice-match-inline)
16486         (widget-checklist-match, widget-checklist-match-inline)
16487         (widget-group-match): Rename parameter VALUES to VALS.
16488         (widget-field-value-set): Remove unused variable `size'.
16489         (widget-color-action): Remove unused variables `value' and `start'.
16491         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
16492         variable `dir'.  Doc fix.
16493         (windmove-find-other-window): Don't pass it.
16495         * window.el (count-windows): Mark unused parameter.
16496         (bw-adjust-window): Remove unused variable `err'.
16498         * woman.el (woman-file-name): Remove unused variable `default'.
16499         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16500         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16501         (global-font-lock-mode): Declare.
16502         (woman-decode-region): Mark unused parameter.
16503         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16505         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16506         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16507         (x-dnd-handle-moz-url): Remove unused variable `title'.
16508         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16510         * xml.el (xml-parse-tag, xml-parse-attlist):
16511         Remove unused variable `pos'.
16513 2011-04-19  Glenn Morris  <rgm@gnu.org>
16515         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16516         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16517         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16518         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16519         * calendar/cal-html.el (cal-html-insert-minical):
16520         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16521         (calendar-mark-date-pattern):
16522         Prefix "unused" locals.
16524         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16525         optional argument `style'.
16527         * calendar/appt.el (appt-make-list):
16528         * calendar/cal-china.el (calendar-chinese-date-string):
16529         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16530         (diary-hebrew-yahrzeit):
16531         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16532         * calendar/calendar.el (calendar-generate-window):
16533         * calendar/time-date.el (time-to-days):
16534         Remove unused local variables.
16536 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
16538         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16539         glyphless-char-display table.
16540         (tabulated-list-glyphless-char-display): New var.
16542 2011-04-18  Sam Steingold  <sds@gnu.org>
16544         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16545         to acknowledgments.
16547 2011-04-17  Glenn Morris  <rgm@gnu.org>
16549         * calendar/diary-lib.el (diary-sexp-entry):
16550         * calendar/holidays.el (holiday-sexp):
16551         Set debug-on-error rather than the removed stack-trace-on-error.
16553 2011-04-16  Glenn Morris  <rgm@gnu.org>
16555         * progmodes/f90.el: Use lexical-binding.
16556         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16558 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16560         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16561         (mail-mode): Setup mailalias completion here instead.
16562         * mail/mailalias.el: Use lexical-binding.
16563         (pattern, mailalias-done): Declare dynamic.
16564         (mail-completion-at-point-function): New function, from mail-complete.
16565         (mail-complete): Use it.
16566         (mail-completion-expand): New function.
16567         (mail-get-names): Use it.
16568         (mail-directory, mail-directory-process, mail-directory-stream):
16569         Don't use `pattern' for lexically bound arg.
16571         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16573         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16574         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16575         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16577         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16578         (byte-save-window-excursion, byte-temp-output-buffer-setup)
16579         (byte-interactive-p): Define them again, for use when inlining
16580         old code.
16582 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
16584         * loadup.el: Use `string-to-number', not `string-to-int'.
16586 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16588         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16589         gud-gdb-complete-command.
16590         (gud-gdb-completions): New function, from gud-gdb-complete-command.
16591         (gud-gdb-completion-at-point): New function.
16592         (gud-gdb-completions): Remove.
16594 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
16596         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16597         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
16598         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16599         whether `executable-find' is bound.
16601         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16603 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16605         * minibuffer.el (completion-in-region-mode-predicate)
16606         (completion-in-region-mode--predicate): New vars.
16607         (completion-in-region, completion-in-region--postch)
16608         (completion-in-region-mode): Use them.
16609         (completion--capf-wrapper): Also return the hook function.
16610         (completion-at-point, completion-help-at-point):
16611         Adjust and provide a predicate.
16613         Preserve arg names for advice of subr and lexical functions (bug#8457).
16614         * help-fns.el (help-function-arglist): Consolidate the subr and
16615         new-byte-code cases.  Add argument `preserve-names' to extract names
16616         from the docstring when needed.
16617         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16618         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16619         (ad-arglist): Use help-function-arglist's new arg.
16620         (ad-definition-type): Use cond.
16622 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
16624         * autorevert.el (auto-revert-handler):
16625         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16626         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16627         Don't quote lambda.
16629         * image-mode.el (image-transform-set-scale):
16630         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16632 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16634         * net/network-stream.el (network-stream-open-starttls): Only do
16635         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16636         Upgrades via gnutls-cli are too slow to be done opportunistically.
16638 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
16640         * dframe.el (dframe-current-frame): Remove spurious quote.
16642 2011-04-12  Glenn Morris  <rgm@gnu.org>
16644         * calendar/cal-tex.el (cal-tex-end-document):
16645         Try to automatically use latin1 input if needed.
16647         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16648         Don't try to cons a mark onto an empty element.
16650 2011-04-11  Leo Liu  <sdl.web@gmail.com>
16652         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16653         buffers.
16654         (ido-kill-buffer-at-head): Support killing virtual buffers.
16656 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
16658         * minibuffer.el (completion-show-inline-help): New var.
16659         (completion--do-completion, minibuffer-complete)
16660         (minibuffer-force-complete, minibuffer-complete-word):
16661         Inhibit minibuffer messages if completion-show-inline-help is nil.
16663         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16664         to avoid interference from inline help (Bug#5849).
16666 2011-04-10  Leo Liu  <sdl.web@gmail.com>
16668         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16669         Fix typo.
16671 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
16673         * image-mode.el (image-toggle-display-image): Signal an error if
16674         not in Image mode.
16675         (image-transform-mode, image-transform-resize)
16676         (image-transform-set-rotation): Doc fix.
16677         (image-transform-set-resize): Delete.
16678         (image-transform-set-scale, image-transform-fit-to-height)
16679         (image-transform-fit-to-width): Handle image-toggle-display-image
16680         and image-transform-resize directly.
16682 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
16684         * doc-view.el (doc-view-fit-width-to-window)
16685         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16686         New functions for fitting the shown image to the Emacs window size.
16687         (doc-view-mode-map): Add bindings for the new functions.
16689 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
16691         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16692         Fix typo in docstring.
16694 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
16696         * files.el (file-size-human-readable): Produce one digit after
16697         decimal, like "ls -lh" does.
16699         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16700         the file size representation.
16702         * simple.el (list-processes): If async subprocesses are not
16703         available, error out with a clear error message.
16705 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
16707         * help.el (help-form-show): New function, to be called from C.
16708         Put help-form output in a buffer named differently than *Help*.
16710 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
16712         * files.el (file-size-human-readable): New function.
16714         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16715         computing the representation inline.  Don't require `cl'.
16717 2011-04-08  Glenn Morris  <rgm@gnu.org>
16719         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16721         * net/browse-url.el (browse-url-firefox):
16722         Test system-type, not system-configuration.
16724         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16725         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16726         Use log-edit-empty-buffer-p.  (Bug#7598)
16728         * net/rlogin.el (rlogin-process-connection-type): Simplify.
16729         (rlogin-mode-map): Initialize in the defvar.
16730         (rlogin): Use ignore-errors.
16732         * replace.el (occur-mode-map): Some fixes for menu items.
16734 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
16736         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
16738 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
16740         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16741         issuing unused warnings.
16743         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16744         macro directly.
16746         * simple.el: Lisp reimplement of list-processes.  Based on an
16747         earlier reimplementation by Leo Liu, but using tabulated-list.el.
16748         (process-menu-mode): New major mode.
16749         (list-processes--refresh, list-processes):
16750         (process-menu-visit-buffer): New functions.
16752         * files.el (save-buffers-kill-emacs): Don't assume any return
16753         value of list-processes, which is undocumented anyway.
16755 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
16757         * emacs-lisp/tabulated-list.el: New file.
16759         * emacs-lisp/package.el: Use Tabulated List mode.
16760         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16761         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
16762         table format using Tabulated List mode variables.
16763         (package--push): New macro, replacing package-list-maybe-add.
16764         (package-menu--generate): Use package--push.  Renamed from
16765         package--generate-package-list.
16766         (package-menu-refresh, list-packages): Use it.
16767         (package-menu--print-info): Rename from package-print-package.
16768         Return insertion data instead of inserting it directly.
16769         (package-menu-describe-package, package-menu-execute):
16770         Use tabulated-list-get-id.
16771         (package-menu-mark-delete, package-menu-mark-install)
16772         (package-menu-mark-unmark, package-menu-backup-unmark)
16773         (package-menu-mark-obsolete-for-deletion):
16774         Use tabulated-list-put-tag.
16775         (package--list-packages, package-menu-revert)
16776         (package-menu-get-package, package-menu-get-version)
16777         (package-menu-sort-by-column): Functions deleted.
16778         (package-menu-package-list, package-menu-sort-key): Vars deleted.
16779         (package-menu--status-predicate, package-menu--version-predicate)
16780         (package-menu--name-predicate)
16781         (package-menu--description-predicate): Handle arguments in the
16782         Tabulated List format.
16783         (package-list-packages-no-fetch): Call list-packages.
16785 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
16787         * files.el (after-find-file-from-revert-buffer): Remove variable.
16788         (after-find-file): Don't bind it.
16789         (revert-buffer-in-progress-p): New variable.
16790         (revert-buffer): Bind it.
16791         Pass nil for `after-find-file-from-revert-buffer'.
16793         * saveplace.el (save-place-find-file-hook): Use new variable
16794         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16796 2011-04-06  Glenn Morris  <rgm@gnu.org>
16798         * Makefile.in (AUTOGEN_VCS): New variable.
16799         (autoloads): Use $AUTOGEN_VCS.
16801         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16802         * calendar/calendar.el (calendar-mode-map):
16803         Check for toolkit scroll bars.  (Bug#8305)
16805 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
16807         * minibuffer.el (completion-in-region--postch)
16808         (completion-in-region-mode): Remove unnecessary messages.
16810 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
16812         * font-lock.el (font-lock-refresh-defaults):
16813         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16814         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16816         * info.el (Info-directory-list, Info-read-node-name-2)
16817         (Info-split-parameter-string): Doc fixes.
16818         (Info-virtual-nodes): Reflow docstring.
16819         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16820         (Info-apropos-toc-nodes, info-finder, Info-get-token)
16821         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16822         Fix typos in docstrings.
16823         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16824         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16825         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16826         (Info-restore-desktop-buffer): Mark unused parameters.
16827         (Info-directory-find-file, Info-directory-find-node)
16828         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16829         (Info-virtual-index-find-node, Info-apropos-find-file)
16830         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16831         Mark unused parameters; fix typos in docstrings.
16832         (Info-virtual-index): Remove unused local variable `nodename'.
16834 2011-04-05  Deniz Dogan  <deniz@dogan.se>
16836         * net/rcirc.el: Update my e-mail address.
16837         (rcirc-mode-map): Remove M-o binding.
16839 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
16841         * startup.el (command-line): Save the cursor's theme-face
16842         directly, instead of using face-override-spec.
16844         * custom.el (load-theme): Minor optimization in assigning faces.
16846 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
16848         * help-fns.el (describe-variable): Complete all variables having
16849         documentation, including keywords.
16850         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16852 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
16854         Convert to lexical-binding.
16856         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16857         (bs--get-marked-string, bs--get-modified-string)
16858         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16859         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16860         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16862         * ehelp.el (electric-help-execute-extended)
16863         (electric-help-ctrl-x-prefix):
16864         * hexl.el (hexl-revert-buffer-function):
16865         * linum.el (linum-after-change, linum-after-scroll):
16866         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16868         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16870 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
16872         * epa-dired.el:
16873         * epa-mail.el:
16874         * epa-hook.el:
16875         * epa-file.el:
16876         * epa.el:
16877         * epg.el: Use lexical binding.
16879 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
16881         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16883         * textmodes/flyspell.el (flyspell-word): Recognize default
16884         dictionary case for flyspell-mark-duplications-exceptions.
16885         Use regexp matching for languages.
16886         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16887         default dictionary (Bug#7926).
16889 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
16891         * emacs-lisp/package.el (package--with-work-buffer):
16892         Recognize https URLs.
16894         * net/network-stream.el: Move from gnus/proto-stream.el.
16895         Change prefix to network-stream throughout.
16896         (open-protocol-stream): Merge into open-network-stream, leaving
16897         open-protocol-stream as an alias.  Handle nil BUFFER args.
16899         * subr.el (open-network-stream): Move to net/network-stream.el.
16901 2011-04-02  Glenn Morris  <rgm@gnu.org>
16903         * find-dired.el (find-exec-terminator): New option.
16904         (find-ls-option): Test for -ls support.
16905         (find-ls-subdir-switches): Test for -b in find-ls-option.
16906         (find-dired, find-grep-dired): Doc fixes.
16907         (find-dired): Use find-exec-terminator.
16909         * find-dired.el (find-ls-option, find-ls-subdir-switches)
16910         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16911         (find-name-arg): Remove purecopy.
16913         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16914         (grep-compute-defaults): Check for `-exec COMMAND +' support.
16915         Set grep-find-use-xargs, grep-find-command, and grep-find-template
16916         accordingly.  Don't add the null-device if not needed.
16918         * files.el (save-some-buffers): Doc fix.
16920 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
16922         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16924 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
16926         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16927         Use `dolist' rather than `mapcar'.
16929 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16931         Add lexical binding.
16933         * subr.el (apply-partially): Use new closures rather than CL.
16934         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16935         (dolist, dotimes): Use slightly different expansion for lexical code.
16936         (functionp): Move to C.
16937         (letrec): New macro.
16938         (with-wrapper-hook): Use it and apply-partially instead of CL.
16939         (eval-after-load): Preserve lexical-binding.
16940         (save-window-excursion, with-output-to-temp-buffer): Turn them
16941         into macros.
16943         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16945         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16946         than the arglist.
16947         (help-add-fundoc-usage): Don't add `Not documented'.
16948         (help-function-arglist): Handle closures, subroutines, and new
16949         byte-code-functions.
16950         (help-make-usage): Remove leading underscores.
16951         (describe-function-1): Handle closures.
16952         (describe-variable): Use special-variable-p for completion.
16954         * files.el (lexical-binding): Declare safe.
16956         * emacs-lisp/pcase.el: Don't use destructuring-bind.
16957         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
16958         (pcase): Add `let' pattern.
16959         Change memoization so it actually works.
16960         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16961         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16962         <let>: New case.
16964         * emacs-lisp/macroexp.el: Use lexical binding.
16965         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
16966         Don't convert ' to #' without checking that it's indeed quoting
16967         a lambda.
16969         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16970         Use eval-sexp-add-defvars.
16971         (eval-sexp-add-defvars): New fun.
16973         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16975         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16976         Don't autoload.
16977         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16978         than the internal `byte-compile-lambda'.
16979         (defmethod): Don't hide code under quotes.
16980         (eieio-defmethod): New `code' argument.
16982         * emacs-lisp/eieio-comp.el: Remove.
16984         * emacs-lisp/edebug.el (edebug-eval-defun)
16985         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16986         (edebug-toggle): Avoid `eval'.
16988         * emacs-lisp/disass.el (disassemble-internal): Handle new
16989         `closure' objects.
16990         (disassemble-1): Handle new byte codes.
16992         * emacs-lisp/cl.el (pushnew): Silence warning.
16994         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16995         (cl-byte-compile-throw): Remove.
16996         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16998         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16999         closures.
17001         * emacs-lisp/cconv.el: New file.
17003         * emacs-lisp/bytecomp.el: Use lexical binding instead of
17004         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
17005         (byte-compile-initial-macro-environment):
17006         Handle declare-function here.
17007         (byte-compile--lexical-environment): New var.
17008         (byte-stack-ref, byte-stack-set, byte-discardN)
17009         (byte-discardN-preserve-tos): New lap codes.
17010         (byte-interactive-p): Don't use any more.
17011         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17012         New macros.
17013         (byte-compile-lapcode): Use them and handle new lap codes.
17014         (byte-compile-obsolete): Remove.
17015         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17016         (byte-compile-arglist-warn): Check late def of inlinable funs.
17017         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17018         since they should have been expanded by now.
17019         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17020         (byte-compile-from-buffer): Remove unused second arg.
17021         (byte-compile-preprocess): New function.
17022         (byte-compile-toplevel-file-form): New function to distinguish
17023         file-form calls from outside from file-form calls from hunk-handlers.
17024         (byte-compile-file-form): Simplify.
17025         (byte-compile-file-form-defsubst): Remove.
17026         (byte-compile-file-form-defmumble): Simplify now that
17027         byte-compile-lambda always returns a byte-code-function.
17028         (byte-compile): Preprocess.
17029         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17030         Remove, not used any more.
17031         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17032         (byte-compile-make-args-desc): New funs.
17033         (byte-compile-lambda): Handle lexical functions.  Always return
17034         a byte-code-function.
17035         (byte-compile-reserved-constants): New var, to make up room for
17036         closed-over variables.
17037         (byte-compile-constants-vector): Obey it.
17038         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17039         (byte-compile-macroexpand-declare-function): New function.
17040         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17041         byte-code-functions.
17042         (byte-compile-form): Check obsolescence here.
17043         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17044         (byte-compile-variable-ref): Remove.
17045         (byte-compile-dynamic-variable-op): New fun.
17046         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17047         (byte-compile-variable-set): New funs.
17048         (byte-compile-discard): Add 2 args.
17049         (byte-compile-stack-ref, byte-compile-stack-set)
17050         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17051         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17052         macroexpand-all instead.
17053         (byte-compile-quote-form): Remove.
17054         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17055         (byte-compile-bind, byte-compile-unbind): New funs.
17056         (byte-compile-let): Handle let* and lexical binding.
17057         (byte-compile-let*): Remove.
17058         (byte-compile-catch, byte-compile-unwind-protect)
17059         (byte-compile-track-mouse, byte-compile-condition-case):
17060         Handle a new :fun-body form, used for lexical scoping.
17061         (byte-compile-save-window-excursion)
17062         (byte-compile-with-output-to-temp-buffer): Remove.
17063         (byte-compile-defun): Simplify.
17064         (byte-compile-stack-adjustment): New fun.
17065         (byte-compile-out): Use it.
17066         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17068         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17069         handler any more.
17071         * emacs-lisp/byte-opt.el: Use lexical binding.
17072         (byte-inline-lapcode): Remove (to bytecomp).
17073         (byte-compile-inline-expand): Pay attention to inlining to/from
17074         lexically bound code.
17075         (byte-compile-unfold-lambda): Don't handle byte-code-functions
17076         any more.
17077         (byte-optimize-form-code-walker): Don't handle save-window-excursion
17078         any more and don't call compiler-macros.
17079         (byte-compile-splice-in-already-compiled-code): Remove.
17080         (byte-code): Don't inline any more.
17081         (disassemble-offset): Receive `bytes' as argument rather than via
17082         dynamic scoping.
17083         (byte-compile-tag-number): Declare before first use.
17084         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17085         `return' even if make-spliceable.
17086         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17087         obsolete interactive-p.
17088         (byte-optimize-lapcode): Optimize new lap-codes.
17089         Don't trip up on new form of `byte-constant' lap code.
17091         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17093         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17095         * custom.el (custom-initialize-default, custom-declare-variable):
17096         Use `defvar'.
17098         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17099         New variables.
17100         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17101         (COMPILE_FIRST): Add macroexp and cconv.
17102         * makefile.w32-in: Mirror changes in Makefile.in.
17104         * vc/cvs-status.el:
17105         * vc/diff-mode.el:
17106         * vc/log-edit.el:
17107         * vc/log-view.el:
17108         * vc/smerge-mode.el:
17109         * textmodes/bibtex-style.el:
17110         * textmodes/css-mode.el:
17111         * startup.el:
17112         * uniquify.el:
17113         * minibuffer.el:
17114         * newcomment.el:
17115         * reveal.el:
17116         * server.el:
17117         * mpc.el:
17118         * emacs-lisp/smie.el:
17119         * doc-view.el:
17120         * dired.el:
17121         * abbrev.el: Use lexical binding.
17123 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
17125         * info.el (info-display-manual): New function.
17127 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17129         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17131 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
17133         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
17134         an entry for that server in rcirc-authinfo.  (Bug#8385)
17136 2011-03-31  Glenn Morris  <rgm@gnu.org>
17138         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17140         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17142 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
17144         * progmodes/python.el (python-default-interpreter)
17145         (python-python-command-args, python-jython-command-args)
17146         (python-which-shell, python-which-args, python-which-bufname)
17147         (python-file-queue, python-comint-output-filter-function)
17148         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17149         variables and functions.
17151 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17153         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17154         (completion-in-region-mode): New minor mode.
17155         (completion-in-region): Use it.
17156         (completion-in-region--data, completion-in-region-mode-map): New vars.
17157         (completion-in-region--postch): New function.
17158         (completion--capf-misbehave-funs, completion--capf-safe-funs):
17159         New vars.
17160         (completion--capf-wrapper): New function.
17161         (completion-at-point): Use it to track well-behavedness of
17162         hook functions.
17163         (completion-help-at-point): New command.
17165 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
17167         * vc/add-log.el (add-change-log-entry): Don't use whitespace
17168         syntax class to search for whitespace on a single line
17169         (Message-ID: <4D938140.4030905@redhat.com>).
17171 2011-03-30  Leo Liu  <sdl.web@gmail.com>
17173         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17174         New commands.
17175         (edit-abbrevs-map): Bind them here.
17176         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
17178 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
17180         * allout.el (allout-hide-by-annotation, allout-flag-region):
17181         Reduce possibility of overlay leakage by making them volatile.
17183         * allout-widgets.el (allout-widgets-tally): Define as nil so the
17184         hash is not shared between buffers.  Mode initialization is
17185         responsible for giving it a useful starting value.
17186         (allout-item-span): Reduce possibility of overlay leakage by
17187         making them volatile.
17188         (allout-widgets-count-buttons-in-region): Add diagnostic function
17189         for tracking down button overlay leaks.
17191 2011-03-29  Leo Liu  <sdl.web@gmail.com>
17193         * ido.el (ido-read-internal): Use the default history var
17194         minibuffer-history if no HISTORY is specified.
17196 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
17198         * net/imap.el (imap-shell-open, imap-process-connection-type):
17199         Use imap-process-connection-type for 'shell' streams as well as
17200         Kerberos, SSL, other subprocesses.
17202 2011-03-28  Leo Liu  <sdl.web@gmail.com>
17204         * abbrev.el (abbrev-table-empty-p): New function.
17205         (prepare-abbrev-list-buffer): Place empty abbrev tables after
17206         nonempty ones.  (Bug#5937)
17208 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
17210         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17212 2011-03-27  Leo Liu  <sdl.web@gmail.com>
17214         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17215         for foreground and background colors.
17216         (ansi-color-make-color-map): Adapt.
17218 2011-03-25  Leo Liu  <sdl.web@gmail.com>
17220         * midnight.el (midnight-time-float): Remove.  Note it calculates
17221         the microsecond component incorrectly and seconds-to-time does the
17222         same job.
17223         Remove redundant (require 'timer).
17225         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17226         (ido-completions): Remove unused arguments.  (Bug#8329)
17228 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17230         * minibuffer.el (completion--flush-all-sorted-completions):
17231         Remove itself from hook.
17232         (completion-at-point): Let the functions perform the completion
17233         immediately and return nil or t.
17234         * comint.el (comint-dynamic-complete-functions): Now identical to
17235         completion-at-point-functions.
17236         (comint-dynamic-list-input-ring): Remove unused var `index'.
17237         (comint--match-partial-filename, comint--unquote&expand-filename):
17238         New funs, split from comint-match-partial-filename.
17239         (comint-dynamic-complete): Use completion-at-point.
17240         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17242 2011-03-24  Drew Adams  <drew.adams@oracle.com>
17244         * thingatpt.el: Support `defun'.
17246 2011-03-23  Leo Liu  <sdl.web@gmail.com>
17248         * abbrevlist.el: Move to obsolete/abbrevlist.el.
17250         * help-mode.el (help-mode-finish): Tweak regexp.
17252 2011-03-23  Glenn Morris  <rgm@gnu.org>
17254         * eshell/esh-opt.el (eshell-eval-using-options):
17255         Do not bind unused local variable `eshell-option-stub'.
17257         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17259 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
17261         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17262         keymap variable in `with-no-warnings' to avoid a warning when the
17263         keymap has been already `defconst'ed.
17265 2011-03-22  Leo Liu  <sdl.web@gmail.com>
17267         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17268         encode all chars in abbrevs; otherwise use emacs-mule or
17269         utf-8-emacs.  (Bug#8308)
17271 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
17273         * simple.el (backward-delete-char-untabify):
17274         Avoid warning about using `delete-backward-char'.
17276         * image.el (image-type-file-name-regexps): Make it variable.
17277         `imagemagick-register-types' modifies it, and the user may want
17278         to add new extensions for known image types.
17279         (imagemagick-register-types): Throw error if not using ImageMagick.
17281 2011-03-22  Leo Liu  <sdl.web@gmail.com>
17283         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17284         located before rcirc-prompt-end-marker.
17285         (rcirc-complete): Error if point is not after rcirc prompt.
17286         Handle the case when table is nil.
17287         (rcirc-user-authenticated): Define to fix compiler warning.
17289 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
17291         * custom.el (custom--inhibit-theme-enable): Make it affect only
17292         custom-theme-set-variables and custom-theme-set-faces.
17293         (provide-theme): Ignore custom--inhibit-theme-enable.
17294         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17295         (custom-enabling-themes): Delete variable.
17296         (enable-theme): Accept only loaded themes as arguments.
17297         Ignore the special custom-enabled-themes variable.
17298         (custom-enabled-themes): Forbid themes from setting this.
17299         Eliminate use of custom-enabling-themes.
17300         (custom-push-theme): Quote "changed" custom var entry.
17302 2011-03-21  Leo Liu  <sdl.web@gmail.com>
17304         * ido.el (ido-read-internal): Add ido-selected to history instead
17305         of user input.
17307 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17309         * subr.el (deferred-action-list, deferred-action-function):
17310         Mark obsolete.
17312 2011-03-21  Leo Liu  <sdl.web@gmail.com>
17314         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17315         change on 2011-02-13 (bug#8309).
17317         * minibuffer.el (read-file-name-function): Change default value.
17318         (read-file-name--defaults): Rename from read-file-name-defaults.
17319         (read-file-name-default): Rename from read-file-name.
17320         (read-file-name): Call read-file-name-function.
17322 2011-03-21  Glenn Morris  <rgm@gnu.org>
17324         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17325         Doc fixes.
17327 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
17329         * cus-theme.el: Add missing provide statement.
17330         (customize-create-theme): Extract theme value correctly.
17331         (custom-theme-visit-theme): Autoload.
17332         (customize-create-theme): Prompt before inserting default faces.
17334 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
17336         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17337         units and musical notes.
17339 2011-03-20  Leo Liu  <sdl.web@gmail.com>
17341         * ido.el (ido-read-internal): Use completing-read-default.
17342         (ido-completing-read): Fix compatibility with completing-read.
17344 2011-03-20  Christian Ohler  <ohler@gnu.org>
17346         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17347         (ert-delete-all-tests): Use `called-interactively-p' rather than
17348         `interactive-p'.
17349         (ert--make-xrefs-region): Respect END.
17351 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
17353         * dired-aux.el (dired-create-directory): Signal an error if the
17354         directory already exists (Bug#8246).
17356         * facemenu.el (list-colors-display): Call list-faces-display
17357         inside with-help-window.
17358         (list-colors-print): Use display property to align the final
17359         column, instead of checking window-width.
17361 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
17363         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
17364         windows-nt systems.
17365         (emerge-protect-metachars): Quote correctly for ms-dos and
17366         windows-nt systems.
17368 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
17370         * info.el (info-initialize): Replace all uses of `:' with
17371         path-separator for compatibility with non-Unix systems.
17372         Cache quoting of path-separator.  (Bug#8258)
17374 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
17376         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17377         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17378         (mouse-avoidance-mode): Fix typos in docstrings.
17380 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
17382         * startup.el (package-subdirectory-regexp): Move from package.el.
17383         Omit \\` and \\', and let callers add them.
17385         * emacs-lisp/package.el (package-strip-version)
17386         (package-load-all-descriptors): Add \\` and \\' to
17387         package-subdirectory-regexp before using it.
17388         (package-untar-buffer): New arg DIR; ensure that file untars only
17389         into this expected directory.  Remove superfluous delete-region.
17390         (package-unpack): Caller changed.
17391         (package-tar-file-info): Use package-subdirectory-regexp.
17393 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17395         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17396         diff-mode-shared-map (bug#8284).
17397         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
17399 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17401         * calendar/time-date.el (format-seconds): Use assoc instead of
17402         assoc-string, since assoc-string doesn't exist in XEmacs.
17404 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
17406         * custom.el (custom-known-themes): Reflow docstring.
17407         (custom-theme-load-path): Fix typo in docstring.
17408         (load-theme): Fix typo in error message.
17409         (custom-available-themes, custom-variable-theme-value):
17410         Use `let', not `let*'.
17412 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
17414         * calc/README: Mention inclusion of musical notes.
17416         * calc/calc-units.el (calc-lu-quant): Rename from
17417         `calc-logunits-quantity'.
17418         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17419         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17420         (calc-db): Rename from `calc-dblevel'.
17421         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17422         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17423         (calc-np): Rename from `calc-nplevel'.
17424         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17425         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17426         (calc-lu-plus): Rename from `calc-logunits-add'.
17427         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17428         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17429         (calc-lu-minus): Rename from `calc-logunits-sub'.
17430         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17431         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17432         (calc-lu-times): Rename from `calc-logunits-mul'.
17433         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17434         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17435         (calc-lu-divide): Rename from `calc-logunits-div'.
17436         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17437         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17439         * calc/calc-ext.el (calc-init-extensions): Update the names of the
17440         functions being autoloaded.
17442         * calc/calc.el (calc-lu-power-reference): Rename from
17443         `calc-logunits-power-reference'.
17444         (calc-lu-field-reference): Rename from
17445         `calc-logunits-field-reference'.
17447         * calc/calc-help.el (calc-l-prefix-help):
17448         Mention musical note functions.
17450 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17452         * minibuffer.el (completion-all-sorted-completions):
17453         Use :completion-cycle-penalty text property if present.
17455 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
17457         * allout.el (allout-yank-processing): Adjust for new rebulleting
17458         regime so bullet being yanked is used without prompting the user
17459         for a choice.
17461 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
17463         * startup.el (command-line): Warn the user that _emacs is deprecated.
17465 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
17467         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17468         (delphi-verbose, delphi-comment-face, delphi-string-face)
17469         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17470         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17471         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17472         (delphi-new-comment-line, delphi-font-lock-defaults)
17473         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17474         Fix typos in docstrings.
17476 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
17478         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
17479         Invert the roles of character and string values for INSTEAD, so a
17480         string is used for the more common case of a defaulting prompt.
17482 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17484         * progmodes/ruby-mode.el (ruby-backward-sexp):
17485         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17486         * play/gamegrid.el (gamegrid-make-face):
17487         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17488         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17489         * notifications.el (notifications-notify):
17490         * net/xesam.el (xesam-search-engines):
17491         * net/quickurl.el (quickurl-list-insert):
17492         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17494 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
17496         * startup.el (command-line): Update package subdirectory regexp.
17498 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17500         * allout.el (allout-abbreviate-flattened-numbering)
17501         (allout-mode-deactivate-hook): Fix up obsolescence "date".
17503         * subr.el (read-char-choice): Only show the cursor after the prompt,
17504         not after the answer.
17506 2011-03-15  Kevin Ryde  <user42@zip.com.au>
17508         * help-fns.el (variable-at-point): Skip leading quotes, if any
17509         (bug#8253).
17511 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17513         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17514         warning message.
17516 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
17518         * shell.el (shell): When called interactively, offer to change the
17519         shell file name on remote hosts.
17521 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
17523         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17524         integration for LDAP parameters.  The host, base, user or binddn,
17525         and secret tokens can be specified in a netrc file, for instance.
17526         This is optional because an `auth-source' parameter must be
17527         specified in the search attributes.
17529 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
17531         * help.el (describe-mode): Link to the mode's definition (bug#8185).
17533 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17535         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17536         into declaration.  Remove redundant and harmful binding.
17538 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
17540         * files.el (file-ownership-preserved-p): Pass `integer' as an
17541         explicit 2nd argument to `file-attributes'.  If the file's owner
17542         is the Administrators group on Windows, and the current user is
17543         Administrator, consider that a match.
17545         * server.el (server-ensure-safe-dir): Consider server directory
17546         safe on MS-Windows if its owner is the Administrators group while
17547         the current Emacs user is Administrator.  Use `=' to compare
17548         numerical UIDs, since they could be integers or floats.
17550 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
17552         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17554 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
17556         Sync with Tramp 2.2.1.
17558         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17560         * net/trampver.el: Update release number.
17562 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17564         * progmodes/compile.el (compilation--previous-directory): Fix up
17565         various nil/dead-marker mismatches (bug#8014).
17566         (compilation-directory-properties, compilation-error-properties):
17567         Don't call it at a position past the one we're about to change.
17569         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17570         Disable obsolescence warnings in the file that declares it.
17572 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
17574         * allout-widgets.el (allout-widgets-tally):
17575         Initialize allout-widgets-tally as a hash table rather than nil to
17576         prevent mode-line redisplay warnings.  Also, clarify the module
17577         description and fix a comment typo.
17579 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
17581         * help-fns.el (describe-variable): Don't complete keywords.
17582         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17584 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
17586         * emacs-lisp/package.el (package-version-join): Impose a standard
17587         string representation for pre/alpha/beta version lists.
17588         (package-unpack-single): Standardize the directory name by passing
17589         it through package-version-join.
17590         (package-strip-rcs-id): Accept any version string that does not
17591         signal an error in version-to-list.
17593 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
17595         * simple.el (delete-trailing-whitespace): Return nil for the
17596         benefit of `write-file-functions'.
17598 2011-03-10  Glenn Morris  <rgm@gnu.org>
17600         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17602         * vc/vc-git.el (vc-git-program): New option.
17603         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17604         (vc-git--call): Use it.
17606         * eshell/esh-util.el (eshell-condition-case): Doc fix.
17608         * cus-edit.el (Custom-newline): If no button at point, look
17609         for a subgroup button at start-of-line.  (Bug#2298)
17611         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17613 2011-03-10  Julien Danjou  <julien@danjou.info>
17615         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17616         `cursor-type' is nil.
17618 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
17620         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17622 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
17624         * allout.el: Change so yank of distinctive-bullet items
17625         preserves the existing header prefix, rebulleting it if necessary,
17626         rather than replacing it.  This is necessary for proper operation
17627         of cooperative addons like allout-widgets.
17628         (allout-make-topic-prefix, allout-rebullet-heading):
17629         Change SOLICIT arg to INSTEAD, and interpret additionally a string
17630         value as alternate bullet to be used, instead of prompting the user
17631         for a bullet character.
17633 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
17635         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17636         Do not use `tramp-file-name-port', because this returns also
17637         `tramp-default-port'.
17639 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
17641         * net/rcirc.el (rcirc-handler-001): Remove useless
17642         with-rcirc-process-buffer.
17643         (rcirc-check-auth-status): Swap arguments to string-match.
17645 2011-03-09  Glenn Morris  <rgm@gnu.org>
17647         * shell.el (shell-mode):
17648         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
17650         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17651         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
17653 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
17655         * emacs-lisp/package.el (package-refresh-contents)
17656         (package-menu-execute): Use condition-case-no-debug.
17658 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
17660         * simple.el (shell-command-to-string): Use `process-file'.
17662         * emacs-lisp/package.el (package-tar-file-info): Handle also
17663         remote files.
17665         * emacs-lisp/package-x.el (package-upload-buffer-internal):
17666         Use `equal' for upload base check.
17668 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
17670         * textmodes/texinfo.el (texinfo-environments):
17671         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
17673 2011-03-08  Glenn Morris  <rgm@gnu.org>
17675         * cus-start.el (cursor-in-non-selected-windows):
17676         Fix :set quoting oddness.  (Bug#8192)
17678         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17679         in some setf expressions.  (Bug#2159)
17681 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
17683         * custom.el (custom-available-themes): Return themes in
17684         alphabetical order.
17686 See ChangeLog.15 for earlier changes.
17688 ;; Local Variables:
17689 ;; coding: utf-8
17690 ;; End:
17692   Copyright (C) 2011-2012  Free Software Foundation, Inc.
17694   This file is part of GNU Emacs.
17696   GNU Emacs is free software: you can redistribute it and/or modify
17697   it under the terms of the GNU General Public License as published by
17698   the Free Software Foundation, either version 3 of the License, or
17699   (at your option) any later version.
17701   GNU Emacs is distributed in the hope that it will be useful,
17702   but WITHOUT ANY WARRANTY; without even the implied warranty of
17703   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17704   GNU General Public License for more details.
17706   You should have received a copy of the GNU General Public License
17707   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.