Fixes to desktop reading logic.
[emacs.git] / lisp / ChangeLog
blob4d130250dcfdcef2387c9585db94144a7f3269e6
1 2012-06-21  Chong Yidong  <cyd@gnu.org>
3         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4         (desktop-path): Remove . from the default value (Bug#10977).
6 2012-06-20  Chong Yidong  <cyd@gnu.org>
8         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
12         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
13         (bug#11201).
15 2012-06-20  Chong Yidong  <cyd@gnu.org>
17         * term.el (term-window-width): Handle the case of a missing right
18         fringe (Bug#8837).
19         (term-check-size): Use window-text-height (Bug#5445).
20         (term-mode): Use define-derived-mode.  Minor cleanups.
21         Set font-lock-defaults (Bug#7692).
22         (term-move-columns, term-insert-char, term-emulate-terminal)
23         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
25 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
27         * net/ange-ftp.el (ange-ftp-get-passwd):
28         Bind `enable-recursive-minibuffers'.
29         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
31 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
33         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
35 2012-06-19  Glenn Morris  <rgm@gnu.org>
37         * progmodes/python.el (python-mode): Derive from prog-mode.
39 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
41         * emulation/edt.el (edt-default-menu-bar-update-buffers)
42         (edt-user-menu-bar-update-buffers): New functions.
43         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
45 2012-06-19  Chong Yidong  <cyd@gnu.org>
47         * subr.el (with-selected-window): Preserve the selected window's
48         terminal's top-frame (Bug#4702).
50         * window.el (save-selected-window): Likewise.
52 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
54         * progmodes/python.el (python-rx-constituents): Move backquote.
55         (python-skeleton-define, python-define-auxiliary-skeleton):
56         Use `declare'.
58 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
60         * minibuffer.el (read-file-name-default): Revert the patch from
61         2012-06-17.
63 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
65         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
66         (pcase--u1, pcase--q1): Don't use apply-partially.
68 2012-06-18  Glenn Morris  <rgm@gnu.org>
70         * progmodes/python.el (python-proc, python-buffer)
71         (python-send-receive, python-send-string): Fix obsolete versions.
73 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
75         * window.el (special-display-p): Completely remove stringp
76         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
78 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
80         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
82         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
84         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
85         * net/tramp-sh.el (tramp-maybe-open-connection):
86         Throw if `non-essential' is non-nil.
88 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
90         * window.el (special-display-p): Signal an error if BUFFER-NAME
91         is not a string (Bug#11713).
93 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
95         * progmodes/python.el (python-info-beginning-of-backslash):
96         Rename from python-info-beginning-of-backlash, as a spelling fix.
98 2012-06-17  Chong Yidong  <cyd@gnu.org>
100         * term.el (term-emulate-terminal): If term-check-size is called,
101         move point to the process mark without resetting point (Bug#4635).
103 2012-06-17  Glenn Morris  <rgm@gnu.org>
105         * international/mule-cmds.el (mule-menu-keymap)
106         (set-language-environment, set-locale-environment): Doc tweaks.
108 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
110         * cus-face.el (custom-face-attributes): Add wave-style underline
111         attribute.
112         * faces.el (set-face-attribute): Update docstring to describe
113         wave-style underline attribute.
115 2012-06-16  Chong Yidong  <cyd@gnu.org>
117         * term/xterm.el (terminal-init-xterm): Discard input before
118         querying background mode (Bug#10959).
120 2012-06-16  Stefan Merten  <smerten@oekonux.de>
122         * textmodes/rst.el: Added and corrected some comments.
123         (rst-re-alist-def): Improve symbol syntax.
124         (rst-mode-syntax-table): Correct syntax entries.
125         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
126         (rst-official-version, rst-official-cvs-rev): Update version
127         information.
129 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
131         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
132         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
134 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
136         * progmodes/python.el: New python.el merge.
137         (python-guess-indent): Obsolete var.
138         (python-indent-guess-indent-offset): New defcustom.
139         (python-indent): Obsolete var.
140         (python-indent-offset): New defcustom.
141         (python-python-command, python-jython-command): Delete var.
142         (python-shell-interpreter): New defcustom.
143         (python-pdbtrack-do-tracking-p): Delete var.
144         (python-pdbtrack-activate): New defcustom.
145         (python-use-skeletons): Obsolete var.
146         (python-skeleton-autoinsert): New defcustom.
147         (inferior-python-filter-regexp, python-continuation-offset)
148         (python-honour-comment-indentation, python-indent-string-contents)
149         (python-jython-packages, python-mode-hook)
150         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
151         (python-shell-prompt-alist)
152         (python-source-modes): Delete defcustoms.
153         (python-check-buffer-name, python-eldoc-setup-code)
154         (python-eldoc-string-code, python-ffap-setup-code)
155         (python-ffap-string-code, python-fill-comment-function)
156         (python-fill-decorator-function, python-fill-paren-function)
157         (python-fill-string-function, python-imenu-include-defun-type)
158         (python-imenu-make-tree, python-imenu-subtree-root-label)
159         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
160         (python-shell-compilation-regexp-alist)
161         (python-shell-completion-module-string-code)
162         (python-shell-completion-pdb-string-code)
163         (python-shell-completion-setup-code)
164         (python-shell-completion-string-code)
165         (python-shell-enable-font-lock, python-shell-exec-path)
166         (python-shell-extra-pythonpaths)
167         (python-shell-internal-buffer-name, python-shell-interpreter-args)
168         (python-shell-process-environment)
169         (python-shell-prompt-block-regexp)
170         (python-shell-prompt-output-regexp)
171         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
172         (python-shell-send-setup-max-wait, python-shell-setup-codes)
173         (python-shell-virtualenv-path): New defcustoms.
174         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
175         (inferior-python-mode-syntax-table, python--prompt-regexp)
176         (python-buffer, python-command python-python-command)
177         (python-default-template, python-imports, python-indent-index)
178         (python-indent-list, python-indent-list-length)
179         (python-mode-running, python-pdbtrack-is-tracking-p)
180         (python-preoutput-continuation, python-preoutput-leftover)
181         (python-preoutput-result, python-preoutput-skip-next-prompt)
182         (python-prev-dir/file, python-recursing)
183         (python-saved-check-command, python-version-checked)
184         (python-which-func-length-limit)
185         (view-return-to-alist): Delete vars.
186         (python-check-custom-command, python-dotty-syntax-table)
187         (python-imenu-index-alist, python-indent-current-level)
188         (python-indent-dedenters, python-indent-levels)
189         (python-nav-beginning-of-defun-regexp)
190         (python-nav-list-defun-positions-cache)
191         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
192         (python-shell-internal-buffer)
193         (python-skeleton-available): New vars.
194         (def-python-skeleton): Delete macro.
195         (python-skeleton-define): New macro.
196         (python-define-auxiliary-skeleton, python-rx): New macros.
197         (python-insert-class): Delete command.
198         (python-skeleton-class): New command.
199         (python-insert-def): Delete command.
200         (python-skeleton-def): New command.
201         (python-insert-for): Delete command.
202         (python-skeleton-for): New command.
203         (python-insert-if): Delete command.
204         (python-skeleton-if): New command.
205         (python-insert-try/except, python-insert-try/finally): Delete commands.
206         (python-skeleton-try): New command.
207         (python-insert-while): Delete command.
208         (python-skeleton-while): New command.
209         (python-backspace): Delete command.
210         (python-indent-dedent-line-backspace): New command.
211         (python-electric-colon): Delete command.
212         (python-indent-electric-colon): New command.
213         (python-guess-indent): Delete command.
214         (python-indent-guess-indent-offset): New command.
215         (python-shift-left): Delete command.
216         (python-indent-shift-left): New command.
217         (python-shift-right): Delete command.
218         (python-indent-shift-right): New command.
219         (python-find-function): Delete command.
220         (python-nav-jump-to-defun): New command.
221         (python-next-statement): Delete command.
222         (python-nav-forward-sentence): New command.
223         (python-previous-statement): Delete command.
224         (python-nav-backward-sentence): New command.
225         (python-fill-paragraph): Delete command.
226         (python-fill-paragraph-function): New command.
227         (python-send-buffer): Delete command.
228         (python-shell-send-buffer): New command.
229         (python-send-defun): Delete command.
230         (python-shell-send-defun): New command.
231         (python-send-region, python-send-region-and-go): Delete commands.
232         (python-shell-send-region)
233         (python-shell-switch-to-shell): New commands.
234         (python-send-string): Delete command.
235         (python-shell-send-string): New command.
236         (python-switch-to-python): Delete command.
237         (python-shell-switch-to-shell): New command.
238         (python-describe-symbol): Delete command.
239         (python-eldoc-at-point): New command.
240         (python--set-prompt-regexp, python-args-to-list)
241         (python-after-info-look, python-check-version)
242         (python-check-comint-prompt, python-find-imports)
243         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
244         (python-unload-function, python-expand-template)
245         (python-maybe-jython, python-preoutput-filter)
246         (python-pdbtrack-get-source-buffer)
247         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
248         (python-pdbtrack-toggle-stack-tracking)
249         (python-pdbtrack-track-stack-file, python-initial-text)
250         (python-first-word, python-comment-line-p, python-send-command)
251         (python-setup-brm, python-sentinel, python-set-proc)
252         (python-skip-out, python-input-filter, python-outdent-p)
253         (python-outline-level, python-backslash-continuation-line-p)
254         (python-end-of-block, python-end-of-statement, python-mark-block)
255         (python-beginning-of-block, python-beginning-of-statement)
256         (python-blank-line-p, python-beginning-of-string)
257         (python-open-block-statement-p): Delete functions.
258         (python-indent-line, python-indent-line-1): Delete functions.
259         (python-indent-line): New function.
260         (python-indentation-levels): Delete function.
261         (python-indent-calculate-levels): New function.
262         (python-proc): Delete function.
263         (python-shell-get-process): New function.
264         (python-send-receive): Delete function.
265         (python-shell-send-string-no-output): New function.
266         (python-module-path): Delete function.
267         (python-ffap-module-path): New function.
268         (python-completion-at-point)
269         (python-symbol-completions): Delete functions.
270         (python-completion-complete-at-point): New function.
271         (python-load-file): Delete function.
272         (python-shell-send-file): New function.
273         (python-calculate-indentation): Delete function.
274         (python-indent-calculate-indentation): New function.
275         (python-skip-comments/blanks): Delete function.
276         (python-util-forward-comment): New function.
277         (python-continuation-line-p): Delete function.
278         (python-info-continuation-line-p): New function.
279         (python-which-func, python-current-defun): Delete function.
280         (python-info-current-defun): New function.
281         (python-beginning-of-defun): Delete function.
282         (python-nav-beginning-of-defun): New function.
283         (python-close-block-statement-p)
284         (python-block-end-p): Delete function.
285         (python-info-closing-block): New function.
286         (python-comint-output-filter-function)
287         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
288         (python-fill-comment, python-fill-decorator, python-fill-paren)
289         (python-fill-string, python-imenu-make-element-tree)
290         (python-imenu-make-tree, python-imenu-tree-assoc)
291         (python-indent-context, python-indent-dedent-line)
292         (python-indent-line-function)
293         (python-indent-post-self-insert-function)
294         (python-indent-toggle-levels)
295         (python-info-assignment-continuation-line-p)
296         (python-info-beginning-of-backlash)
297         (python-info-block-continuation-line-p)
298         (python-info-closing-block-message)
299         (python-info-line-ends-backslash-p)
300         (python-info-looking-at-beginning-of-defun)
301         (python-info-ppss-context, python-info-ppss-context-type)
302         (python-nav-list-defun-positions, python-nav-read-defun)
303         (python-nav-sentence-end, python-nav-sentence-start)
304         (python-pdbtrack-comint-output-filter-function)
305         (python-pdbtrack-set-tracked-buffer)
306         (python-shell-calculate-exec-path)
307         (python-shell-calculate-process-environment)
308         (python-shell-completion--do-completion-at-point)
309         (python-shell-completion--get-completions)
310         (python-shell-completion-complete-at-point)
311         (python-shell-completion-complete-or-indent)
312         (python-shell-get-or-create-process)
313         (python-shell-get-process-name)
314         (python-shell-internal-get-or-create-process)
315         (python-shell-internal-get-process-name)
316         (python-shell-internal-send-string, python-shell-make-comint)
317         (python-shell-parse-command, python-shell-send-setup-code)
318         (python-skeleton-add-menu-items)
319         (python-util-clone-local-variables, python-util-position)
320         (run-python-internal, python-indentation-levels)
321         (python-nav-beginning-of-defun)
322         (python-completion-complete-at-point): New functions.
323         (run-python): Change arguments.  New API requirements.
325 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
327         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
328         (bug#11649).
330         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
331         (macroexp--expand-all): Use it.
333         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
334         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
335         Use `cl-function' instead.
337 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
339         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
340         Suggested by Stefan Monnier while discussing bug#11657.
342 2012-06-14  Sam Steingold  <sds@gnu.org>
344         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
346 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
348         * play/doctor.el (doctor-doc): Remove parameter and use
349         doctor-sent instead of sent.
350         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
352 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
354         * files.el: Require cl-lib.
355         (file-name-non-special): Replace case -> cl-case.
357         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
359         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
360         mapping from #' to function*.
362 2012-06-13  Chong Yidong  <cyd@gnu.org>
364         * mouse.el (mouse-drag-track): Do not set the mark if the user
365         releases the mouse without selecting anything (Bug#11588).
367 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
369         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
370         as well (bug#11646).
372         * loadup.el: Count byte-code functions as well.
374         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
375         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
377         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
378         (bug#11649).  Add cl-defun and cl-defmacro.
380 2012-06-13  Drew Adams  <drew.adams@oracle.com>
382         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
383         Fix last change.
385 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
387         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
388         Otherwise, it blocks in batch mode.
390 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
392         * help-mode.el (bookmark-make-record-default): Declare.
394 2012-06-13  Chong Yidong  <cyd@gnu.org>
396         * emacs-lisp/package.el (list-packages): Compute a list of
397         packages that are newly-available since the last list-packages
398         invocation.
399         (package-menu--new-package-list): New var.
400         (package-menu--generate, package-menu--print-info)
401         (package-menu--status-predicate, package-menu-mark-install):
402         Handle new status label "new".
404 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
406         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
407         conversion to backquotes.
409 2012-06-12  Chong Yidong  <cyd@gnu.org>
411         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
412         Rename from gud-inhibit-global-bindings.
414         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
416         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
417         hook from nxml-glyph-set-hook.
419         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
420         declaration.
422         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
424         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
425         Convert to defcustom.
427 2012-06-12  Drew Adams  <drew.adams@oracle.com>
429         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
430         New functions.
431         (help-mode): Use them.
433 2012-06-11  Glenn Morris  <rgm@gnu.org>
435         * progmodes/fortran.el (fortran-font-lock-keywords-3):
436         Use preprocessor face for directives.
437         (fortran-directive-re): Doc fix.
439 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
441         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
442         conversion to backquotes (bug#11652).
444         Fix compiler-expansion of CL's cXXr functions (bug#11673).
445         * emacs-lisp/cl-lib.el (cl--defalias): New function.
446         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
447         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
448         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
449         (cl-ninth, cl-tenth): Mark them as inlinable.
450         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
451         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
452         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
453         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
454         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
455         (cl-list*, cl-adjoin): Don't put an autoload manually.
456         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
457         (cl--compiler-macro-list*): Add autoload cookie.
458         (cl--compiler-macro-cXXr): New function.
460         * help-fns.el (help-fns--compiler-macro): New function extracted from
461         describe-function-1; follow aliases and use `compiler-macro' property.
462         (describe-function-1): Use it.
464 2012-06-11  Chong Yidong  <cyd@gnu.org>
466         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
467         is uninstalled, if imagemagick is installed.
469 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
471         * emacs-lisp/cl-lib.el: Use lexical-binding.
472         (cl-map-extents, cl-maclisp-member): Remove.
473         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
474         (cl--set-substring, cl--block-wrapper, cl--block-throw)
475         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
476         * emacs-lisp/cl-extra.el: Use lexical-binding.
477         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
478         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
479         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
480         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
481         * emacs-lisp/cl-seq.el: Use lexical-binding.
482         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
483         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
484         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
485         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
486         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
487         CL's internals.
489 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
491         Sync with Tramp 2.2.6-pre.
493         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
494         `print-length' and `print-level' to nil, in order to avoid
495         truncation.  Reported by Christopher Schmidt
496         <christopher@ristopher.com>.
498         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
500         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
501         New defmacro.
502         (tramp-compat-copy-directory): Add optional argument
503         COPY-CONTENTS.  It is not handled yet.
505         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
506         (tramp-ftp-file-name-p): Simplify.
508         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
509         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
510         connection vector.
512         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
513         (tramp-methods): Do not use `tramp-password-end-of-line'.
514         (tramp-completion-function-alist-putty): Handle UNIX case.
515         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
516         (tramp-do-file-attributes-with-stat)
517         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
518         gid as real numbers.  They could run out of integer range on cygwin.
519         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
520         (tramp-sh-handle-expand-file-name): Handle hops.
521         (tramp-open-connection-setup-interactive-shell):
522         Use `tramp-cleanup'.  Move check for busyboxes ...
523         (tramp-find-shell): ... here.  Simplify implementation.
524         Set "remote-shell" property also for alternative shells.
525         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
526         If failing, a regular file would be written otherwise.
527         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
528         (tramp-find-inline-encoding): Cache the coding commands in the
529         process cache.  Apply test command on the remote side, if defined.
530         (tramp-find-inline-compress): Cache the compress commands in the
531         process cache.
532         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
533         when requested.  Handle hops.
534         (tramp-current-connection): New defvar.
535         (tramp-maybe-open-connection): Use `tramp-cleanup'.
536         Throw `suppress', if there was a failed connection shortly before.
537         Handle user interrupt.  (Bug#10187)
538         (tramp-get-inline-compress, tramp-get-inline-coding):
539         Read connection properties from the process cache.
541         * net/tramp-smb.el (tramp-smb-server-version)
542         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
543         New defconsts.
544         (tramp-smb-prompt): Extend for powershell prompt.
545         (tramp-smb-file-name-handler-alist): Add handlers for
546         `process-file', `shell-command' and `start-file-process'.
547         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
548         (tramp-smb-winexe-shell-command-switch): New defcustoms.
549         (tramp-smb-file-name-p): Simplify.
550         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
551         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
552         (tramp-smb-shell-quote-argument): New defuns.
553         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
554         Implement using "tar".  By this, time-stamps are preserved.
555         (tramp-smb-handle-copy-file): Handle also the case of directories.
556         (tramp-smb-do-file-attributes-with-stat)
557         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
558         Use `tramp-get-connection-buffer').
559         (tramp-smb-handle-rename-file): Use "rename", when source and
560         target are on the same share.
561         (tramp-smb-maybe-open-connection): Handle wrong passwords.
562         Use `tramp-smb-server-version'.
563         (tramp-smb-wait-for-output): Remove prompt.
565         * net/tramp.el (top): Require 'cl.
566         (tramp-methods, tramp-rsh-end-of-line):
567         Remove `tramp-password-end-of-line' from docstring.
568         (tramp-save-ad-hoc-proxies): New defcustom.
569         (tramp-completion-function-alist): Adapt docstring.
570         (tramp-default-password-end-of-line): Remove defcustom.
571         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
572         (tramp-user-regexp, tramp-file-name-regexp-unified)
573         (tramp-file-name-regexp-url): Extend regexp by hop separator.
574         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
575         (tramp-remote-file-name-spec-regexp): New defconst.
576         (tramp-file-name-structure): Extend structure for hops.
577         (tramp-get-method-parameter): Move up.
578         (tramp-file-name-p, tramp-dissect-file-name)
579         (with-parsed-tramp-file-name): Handle hops.
580         (tramp-file-name-hop): New defun.
581         (tramp-make-tramp-file-name): New optional arg HOP.
582         (tramp-message-show-progress-reporter-message): New defvar.
583         (tramp-with-progress-reporter): Use it.  We cannot use
584         `tramp-message-show-message' here, because this suppresses also
585         error buffers.
586         (tramp-error-with-buffer): Suppress buffer view, if
587         `tramp-message-show-message' is nil.
588         Use `tramp-get-connection-buffer'.
589         (tramp-cleanup): New defun.
590         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
591         (tramp-file-name-handler): If `debug-on-error' is set, propagate
592         an error unchanged.
593         (tramp-completion-handle-file-name-all-completions): Handle hops.
594         Fix an error when called from ido.
595         (tramp-completion-dissect-file-name): Use better local variable
596         name.  Add hop to the vector.
597         (tramp-handle-insert-file-contents): Use progress-reporter for the
598         whole scenario.
599         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
600         to `t'.
601         (tramp-check-for-regexp): Simplify search.
602         (tramp-enter-password): Remove it.  Move implementation ...
603         (tramp-action-password): ... here.
604         (tramp-mode-string-to-int, tramp-local-host-p)
605         (tramp-make-tramp-temp-file, tramp-read-passwd)
606         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
607         Set tramp-autoload cookie.
609         * net/trampver.el: Update release number.
611 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
612             Michael Albinus  <michael.albinus@gmx.de>
614         * net/tramp.el (tramp-set-completion-function): Fix docstring.
615         (tramp-parse-group, tramp-parse-file)
616         (tramp-parse-shostkeys-sknownhosts): New defuns.
617         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
618         (tramp-parse-shosts-group, tramp-parse-sconfig)
619         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
620         (tramp-parse-sknownhosts, tramp-parse-hosts)
621         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
622         Use them.
623         (tramp-parse-passwd-group, tramp-parse-netrc-group)
624         (tramp-parse-putty-group): Don't narrow.
625         (tramp-parse-putty): Make a loop.
626         (tramp-file-name-handler): Catch the `suppress' signal.
628 2012-06-11  Chong Yidong  <cyd@gnu.org>
630         * image.el (imagemagick-register-types): Put the ImageMagick entry
631         at the end of image-type-file-name-regexps.
633 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
635         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
636         (pcase, pcase-let*, pcase-dolist): Use them.
638 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
640         * emacs-lisp/pcase.el (pcase--let*): New function.
641         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
642         (pcase--expand): Use macroexp-let².
644 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
646         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
647         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
648         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
649         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
650         * emacs-lisp/derived.el: Use pcase instead of `cl'.
651         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
653 2012-06-10  Glenn Morris  <rgm@gnu.org>
655         * mail/rmail.el (rmail-yank-current-message): Leave point at
656         correct position.  (Bug#11660)
658 2012-06-10  Chong Yidong  <cyd@gnu.org>
660         * allout-widgets.el: Fix code header.
662 2012-06-10  Chong Yidong  <cyd@gnu.org>
664         * cus-edit.el (customize-changed-options-previous-release):
665         Bump to 24.1.
667 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
669         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
671 2012-06-09  Chong Yidong  <cyd@gnu.org>
673         * ebuff-menu.el (electric-buffer-list): Preserve header line.
675 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
677         * window.el (special-display-popup-frame): Don't use
678         window--display-buffer (Bug#11651).
680 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
682         Fix parallel builds: make sure loaddefs.el is not being written
683         while Lisp files are compiled.
684         (compile): Don't depend on 'mh-autoloads'.
685         (compile-CMD, compile-SH): Depend on 'autoloads'.
686         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
688         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
690 2012-06-09  Chong Yidong  <cyd@gnu.org>
692         * face-remap.el (face-remap-add-relative, face-remap-set-base)
693         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
694         Doc fixes (Bug#11225).
696 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
698         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
699         a function if there's a clear indication that it has a compiler-macro.
700         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
701         (macro-declarations-alist): Add arglist to declaration functions.
702         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
703         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
704         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
705         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
706         Also add autoload to find the compiler macro.
707         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
708         (cl--compiler-macro-member, cl--compiler-macro-assoc)
709         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
710         (cl--compiler-macro-get): New functions, replacing calls to
711         cl-define-compiler-macro.
712         (cl-typep) [compiler-macro]: Use macroexp-let².
714 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
716         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
717         string properly, fixes Bug#11473.
719 2012-06-08  Chong Yidong  <cyd@gnu.org>
721         * faces.el (set-face-attribute): Doc fix.
722         (modify-face): Don't use :bold and :italic.
723         (error, warning, success): Tweak definitions.
725         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
726         (custom-modified, custom-set, custom-changed, custom-themed)
727         (custom-saved, custom-button, custom-button-mouse)
728         (custom-button-pressed, custom-state, custom-comment-tag)
729         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
730         (custom-group-subtitle): Use new-style face specs.
731         (custom-invalid-face, custom-rogue-face, custom-modified-face)
732         (custom-set-face, custom-changed-face, custom-saved-face)
733         (custom-button-face, custom-button-pressed-face)
734         (custom-documentation-face, custom-state-face)
735         (custom-comment-face, custom-comment-tag-face)
736         (custom-variable-tag-face, custom-variable-button-face)
737         (custom-face-tag-face, custom-group-tag-face-1)
738         (custom-group-tag-face): Remove obsolete face alias.
740         * epa.el (epa-validity-high, epa-validity-medium)
741         (epa-validity-low, epa-mark, epa-field-name, epa-string)
742         (epa-field-name, epa-field-body):
743         * font-lock.el (font-lock-comment-face, font-lock-string-face)
744         (font-lock-keyword-face, font-lock-builtin-face)
745         (font-lock-function-name-face, font-lock-variable-name-face)
746         (font-lock-type-face, font-lock-constant-face):
747         * ido.el (ido-first-match, ido-only-match, ido-subdir)
748         (ido-virtual, ido-indicator, ido-incomplete-regexp):
749         * speedbar.el (speedbar-button-face, speedbar-file-face)
750         (speedbar-directory-face, speedbar-tag-face)
751         (speedbar-selected-face, speedbar-highlight-face)
752         (speedbar-separator-face):
753         * whitespace.el (whitespace-newline, whitespace-space)
754         (whitespace-hspace, whitespace-tab, whitespace-trailing)
755         (whitespace-line, whitespace-space-before-tab)
756         (whitespace-space-after-tab, whitespace-indentation)
757         (whitespace-empty):
758         * emulation/cua-base.el (cua-global-mark):
759         * eshell/em-prompt.el (eshell-prompt):
760         * net/newst-plainview.el (newsticker-new-item-face)
761         (newsticker-old-item-face, newsticker-immortal-item-face)
762         (newsticker-obsolete-item-face, newsticker-date-face)
763         (newsticker-statistics-face, newsticker-default-face):
764         * net/newst-reader.el (newsticker-feed-face)
765         (newsticker-extra-face, newsticker-enclosure-face):
766         * net/newst-treeview.el (newsticker-treeview-face)
767         (newsticker-treeview-new-face, newsticker-treeview-old-face)
768         (newsticker-treeview-immortal-face)
769         (newsticker-treeview-obsolete-face)
770         (newsticker-treeview-selection-face):
771         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
772         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
773         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
774         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
775         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
776         (nxml-outline-active-indicator, nxml-outline-ellipsis):
777         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
778         (mpuz-text):
779         * progmodes/vera-mode.el (vera-font-lock-number)
780         (vera-font-lock-function, vera-font-lock-interface):
781         * textmodes/table.el (table-cell): Use new-style face specs, and
782         don't use the old :bold and :italic attributes.
784         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
785         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
786         (ebrowse-member-class, ebrowse-progress): Likewise.
787         (ebrowse-tree-mark-face, ebrowse-root-class-face)
788         (ebrowse-file-name-face, ebrowse-default-face)
789         (ebrowse-member-attribute-face, ebrowse-member-class-face)
790         (ebrowse-progress-face): Remove obsolete faces.
792         * progmodes/flymake.el (flymake-errline, flymake-warnline):
793         Inherit from error and warning faces respectively.
795         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
796         Likewise.
797         (flyspell-incorrect-face, flyspell-duplicate-face):
798         Remove obsolete aliases.
800 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
802         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
803         Avoid infloop.
805 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
807         * startup.el (argv, argi): Make lexically scoped.
808         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
809         * emacs-lisp/cl-macs.el: Use lexical-binding.
810         Rename cl-bind-* to cl--bind-*.
811         * files.el: Don't require `cl' since it doesn't use it.
812         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
814 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
816         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
817         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
818         instead of calling external sort utility.
819         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
821 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
823         * descr-text.el (describe-char): Mention how to insert the
824         character, if the current input method doesn't support it.
825         See the discussion in this thread for the details:
826         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
828 2012-06-08  Sam Steingold  <sds@gnu.org>
830         * bindings.el (global-map): Bind XF86Forward to next-buffer and
831         XF86Back to previous-buffer.
832         (minibuffer-local-map): Bind them to next-history-element and
833         previous-history-element respectively.
834         * help-mode.el (help-mode-map): Bind them to help-go-forward and
835         help-go-back respectively.
836         * info.el (Info-mode-map): Bind them to Info-history-forward and
837         Info-history-back respectively.
838         These are the keys next to Up on the ThinkPad keyboard.
840 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
842         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
843         * emacs-lisp/cl-macs.el: Provide itself.
844         (cl--labels-convert-cache): New var.
845         (cl--labels-convert): New function.
846         (cl-flet, cl-labels): New implementation with new semantics, relying on
847         lexical-binding.
848         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
849         (cl-closure-vars, cl--function-convert-cache)
850         (cl--function-convert): Move from cl-macs.el.
851         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
852         rename by removing the "cl-" prefix.
853         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
855 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
857         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
858         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
859         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
860         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
861         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
862         (cl-hash-table-count): Add old compatibility aliases.
864         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
865         Use macroexpand-all-environment instead.
866         (cl--old-macroexpand): New var.
867         (cl--sm-macroexpand): New function.
868         (cl-symbol-macrolet): Use it during macro expansion.
869         (cl--function-convert-cache): New var.
870         (cl--function-convert): New function, extracted from
871         cl-macroexpand-all.
872         (cl-lexical-let): Use it.
874         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
875         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
876         (cl-member): Remove old alias.
878         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
879         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
880         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
881         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
882         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
883         (cl-macroexpand-cmacs): Remove var.
884         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
885         Use macroexpand-all instead.
887 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
889         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
890         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
891         (macroexp-copyable-p): New functions and macros.
892         * emacs-lisp/edebug.el (edebug-unwrap):
893         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
894         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
895         (pcase--let*): Remove.
896         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
897         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
898         macroexp-const-p instead.
899         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
901         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
902         instead of "cl-" for internal definitions.  Use macroexp-const-p.
903         (cl-old-bc-file-form): Remove var.
904         (cl-const-exprs-p): Remove fun.
905         (cl-labels, cl-macrolet): Use backquote.
906         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
907         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
908         (cl-define-setf-expander): Rename from cl-define-setf-method.
909         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
911         * international/mule-cmds.el: Don't require CL.
912         (view-hello-file): Don't use `letf'.
914 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
916         * tmm.el (tmm-prompt): Use string-prefix-p.
917         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
918         (tmm-add-prompt): Use minibuffer-completion-help.
919         (tmm-delete-map): Remove.
921         * subr.el (kbd): Make it its own function.
923 2012-06-07  Stefan Merten  <smerten@oekonux.de>
925         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
926         Silence compiler warnings.  Fix versions.
927         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
928         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
929         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
930         (rst-package-emacs-version-alist): Correct Emacs version to
931         represent major merge with upstream.
932         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
934 2012-06-06  Glenn Morris  <rgm@gnu.org>
936         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
937         Only print environment variables if set.
939 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
941         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
942         (macroexp--cons): Rename from maybe-cons.
943         (macroexp--accumulate): Rename from macroexp-accumulate.
944         (macroexp--all-forms): Rename from macroexpand-all-forms.
945         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
946         (macroexp--expand-all): Rename from macroexpand-all-1.
948 2012-06-06  Sam Steingold  <sds@gnu.org>
950         * calendar/calendar.el (calendar-in-read-only-buffer):
951         Call `special-mode' to enable the standard read-only keybindings.
953 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
955         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
956         with "loading" messages (bug#11635).
958 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
960         * files.el (enable-remote-dir-locals): New option.
961         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
963         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
964         Ensure, that the temp directory is local.
966         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
967         `temporary-file-directory'.
969         * progmodes/python.el (python-send-region): Ensure, that the
970         temporary file is created also in the remote case.
972 2012-06-06  Glenn Morris  <rgm@gnu.org>
974         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
975         (vc-rcs-update-changelog): Use it.
977         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
979         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
980         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
981         (vc-sccs-diff): Replace use of the external vcdiff script.
983 2012-06-05  Glenn Morris  <rgm@gnu.org>
985         * ledit.el: Move to obsolete/.
987 2012-06-05  Sam Steingold  <sds@gnu.org>
989         * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
990         patch (Bug#11140).
992 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
994         * emacs-list/cust-print.el: Move to obsolete.
996         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
997         compiler-macro expansion.
999         Add native compiler-macro support.
1000         * emacs-lisp/macroexp.el (macroexpand-all-1):
1001         Support compiler-macros directly.  Properly follow aliases and apply
1002         the compiler macros more thoroughly.
1003         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1004         macroexpand now properly follows aliases.
1005         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1006         (cl-compiler-macroexpand): Use new prop.
1007         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1009         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1011 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
1013         * window.el (get-lru-window, get-mru-window, get-largest-window):
1014         New argument NOT-SELECTED to avoid picking the selected window.
1015         (window--display-buffer-1, window--display-buffer-2): Replace by
1016         new function window--display-buffer
1017         (display-buffer-same-window, display-buffer-reuse-window)
1018         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1019         Use window--display-buffer.
1020         (display-buffer-use-some-window): Remove temporary dedication
1021         hack by calling get-lru-window and get-largest-window with
1022         NOT-SELECTED argument non-nil.  Call window--display-buffer.
1024 2012-06-05  Glenn Morris  <rgm@gnu.org>
1026         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1027         Replace external vcdiff script.
1029 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1031         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1033 2012-06-04  Chong Yidong  <cyd@gnu.org>
1035         * image.el (imagemagick-types-inhibit): Revert last change.
1036         Add INFO and M.
1037         (imagemagick-enabled-types): Remove CIN and EPS*.
1039 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1041         * emacs-lisp/cl-lib.el: Rename from cl.el.
1042         * emacs-lisp/cl.el: New compatibility file.
1043         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1044         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1045         to obey the "cl-" prefix.
1046         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1048 2012-06-03  Glenn Morris  <rgm@gnu.org>
1050         * emacs-lisp/authors.el (authors-aliases): Addition.
1052         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1053         Fix :version.
1055 2012-06-03  Stefan Merten  <smerten@oekonux.de>
1057         * textmodes/rst.el: Add comments.
1058         (rst-transition, rst-adornment): New faces.
1059         (rst-adornment-faces-alist): Make default safe to reevaluate.
1060         Fixes
1061         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1062         Improve customization tags.
1063         (rst-define-level-faces): Clarify meaning.
1065 2012-06-03  Chong Yidong  <cyd@gnu.org>
1067         * progmodes/compile.el (compilation-mode-line-fail)
1068         (compilation-mode-line-run, compilation-mode-line-exit):
1069         New faces.
1070         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1072 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
1074         * progmodes/which-func.el (which-func-update-ediff-windows):
1075         New function.  Use it in ediff-select-hook (Bug#11478).
1077 2012-06-03  Chong Yidong  <cyd@gnu.org>
1079         * bindings.el: Remove explicit help text from format-mode-line.
1080         It is now supplied by mode-line-default-help-echo.
1081         (mode-line-front-space, mode-line-end-spaces)
1082         (mode-line-misc-info): New variables.
1083         (mode-line-modes, mode-line-position): Move the default value to
1084         the variable definition.
1085         (mode-line-default-help-echo): New defcustom.
1086         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1087         (mode-line-modified-help-echo): New functions.
1088         (mode-line-mule-info, mode-line-modified): Use them.
1089         (mode-line-eol-desc, propertized-buffer-identification):
1090         Consistency fixes for help text.
1091         (mode-line-coding-system-map): Allow using mouse-3 to invoke
1092         set-buffer-file-coding-system (Bug#289).
1093         (mode-line-mule-info-help-echo): Update help text.
1095 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1097         * simple.el (execute-extended-command): Set real-this-command
1098         (bug#11506).
1100 2012-06-02  Chong Yidong  <cyd@gnu.org>
1102         Remove incorrect uses of "modeline" in comments, docstrings, and
1103         function/variable names (Bug#10329).
1105         * cus-edit.el (mode-line):
1106         * dframe.el (dframe-mouse-hscroll):
1107         * emacs-lisp/re-builder.el:
1108         * emacs-lisp/easy-mmode.el (define-minor-mode):
1109         * frame.el (set-frame-name):
1110         * help.el (lookup-minor-mode-from-indicator):
1111         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1112         * progmodes/cc-cmds.el (c-toggle-auto-newline)
1113         (c-toggle-hungry-state):
1114         * progmodes/antlr-mode.el (antlr-language-alist):
1115         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1116         * progmodes/vhdl-mode.el (vhdl-mode):
1117         * progmodes/which-func.el (which-func, which-func-cleanup-function):
1118         * term/ns-win.el (ns-face-at-pos):
1119         * term/sup-mouse.el (sup-mouse-report):
1120         * textmodes/flyspell.el (flyspell-mode-line-string):
1121         * textmodes/ispell.el (ispell-highlight-face):
1122         * textmodes/reftex-global.el:
1123         * vc/vc-arch.el (vc-arch-mode-line-string):
1124         * vc/vc-cvs.el (vc-cvs-mode-line-string):
1125         * vc/vc-git.el (vc-git-mode-line-string):
1126         * vc/vc-hooks.el (vc-display-status)
1127         (vc-default-mode-line-string):
1128         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1130         * ansi-color.el (ansi-color-faces-vector): Change default faces.
1132         * dired.el (dired-sort-set-mode-line): Rename from
1133         dired-sort-set-modeline.  All callers changed.
1135         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1136         eshell-status-in-modeline.
1138         * foldout.el (foldout-mode-line-string): Rename from
1139         foldout-modeline-string.  All callers changed.
1140         (foldout-update-mode-line): Rename from foldout-update-modeline.
1142         * subr.el (redraw-modeline): Make into obsolete alias.
1144         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1145         timeclock-modeline-display.  Make old name an alias.
1146         (timeclock-update-mode-line): Likewise.  All callers changed.
1147         (timeclock-mode-line-display): No need to check before using
1148         add-hook.
1149         (timeclock-relative, timeclock-day-over-hook)
1150         (timeclock-use-elapsed, timeclock-mode-string)
1151         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1153         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1154         crisp-mode-modeline-string.
1156         * play/solitaire.el (solitaire-build-mode-line): Rename from
1157         solitaire-build-modeline.  All callers changed.
1159         * play/zone.el (zone-hiding-mode-line): Rename from
1160         zone-hiding-modeline.  All callers changed.
1161         (zone): Remove unusued `modeline-hidden-level' property.
1163         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1164         xscheme-modeline-initialize.  All callers changed.
1166         * strokes.el (strokes-lighter): Rename from
1167         strokes-modeline-string.
1169         * textmodes/sgml-mode.el (html-face-tag-alist)
1170         (html-tag-face-alist): Use mode-line face instead of obsolete
1171         alias modeline.
1173 2012-06-02  Stefan Merten  <smerten@oekonux.de>
1175         * textmodes/rst.el: Always require `cl'.
1176         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1178 2012-06-02  Chong Yidong  <cyd@gnu.org>
1180         * image.el (imagemagick-enabled-types): Rename from
1181         imagemagick-types-enable.  Add many more types.
1182         (imagemagick-types-inhibit): Change default to nil.
1183         (imagemagick-filter-types): Caller changed.
1185 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1187         * emacs-lisp/cl-macs.el: Use backquotes.
1188         (cl-transform-function-property): Use eval-and-compile rather than
1189         abusing `require'.
1190         (defstruct): Use declare-function instead of with-no-warnings.
1192         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1193         (byte-compile-output-docform): Re-add the print-circle bindings.
1194         (byte-compile-fix-header): Use #$ just because it's shorter.
1195         (byte-compile-output-file-form): Remove defun/defmacro.
1197 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
1199         * simple.el (choose-completion): Remove now obsolete binding for
1200         owindow.
1202 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
1204         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1205         in order to avoid "Stack overflow in regexp matcher".
1207 2012-05-31  Glenn Morris  <rgm@gnu.org>
1209         * image.el: For clarity, call imagemagick-register-types at
1210         top-level, rather than relying on a custom :initialize.
1211         (imagemagick-types-enable): New option.  (Bug#11557)
1212         (imagemagick-filter-types): New function.  (Bug#7406)
1213         (imagemagick-register-types): Use imagemagick-filter-types.
1214         If disabling support, remove elements altogether rather
1215         than using an impossible regexp.
1216         (imagemagick-types-inhibit): Give it the default init function.
1218 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1220         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1221         Handle arbitrary file name lengths (Bug#11585).
1223 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
1225         * desktop.el (desktop-read): Clear previous and next buffers for
1226         all windows and bury *Messages* buffer (bug#11556).
1228 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1230         Add `declare' for `defun'.  Align `defmacro's with it.
1231         * emacs-lisp/easy-mmode.el (define-minor-mode)
1232         (define-globalized-minor-mode): Don't autoload the var definitions.
1233         * emacs-lisp/byte-run.el: Use lexical-binding.
1234         (defun-declarations-alist, macro-declarations-alist): New vars.
1235         (defmacro, defun): Use them.
1236         (make-obsolete, define-obsolete-function-alias)
1237         (make-obsolete-variable, define-obsolete-variable-alias):
1238         Use `declare'.
1239         (macro-declaration-function): Mark obsolete.
1240         * emacs-lisp/autoload.el: Use lexical-binding.
1241         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
1243 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1245         * textmodes/ispell.el (ispell-with-no-warnings):
1246         Define as a macro.
1247         (ispell-kill-ispell, ispell-change-dictionary):
1248         Use `called-interactively-p' for Emacs instead of obsolete
1249         `interactive-p'.
1251 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1253         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1254         (macro-declaration-function): Move var from C code.
1255         (macro-declaration-function): Define function with defalias.
1256         * emacs-lisp/macroexp.el (macroexpand-all-1):
1257         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1258         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1259         defun/defmacro any more.
1260         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1261         Provide fallback for unknown arglist.
1262         (byte-compile-arglist-warn): Change calling convention.
1263         (byte-compile-output-file-form): Move print-vars binding.
1264         (byte-compile-output-docform): Simplify accordingly.
1265         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1266         (byte-compile-defmacro-declaration): Remove.
1267         (byte-compile-file-form-defmumble): Generalize to defalias.
1268         (byte-compile-output-as-comment): Return byte-positions.
1269         Simplify callers accordingly.
1270         (byte-compile-lambda): Use `assert'.
1271         (byte-compile-defun, byte-compile-defmacro): Remove.
1272         (byte-compile-file-form-defalias):
1273         Use byte-compile-file-form-defmumble.
1274         (byte-compile-defalias-warn): Remove.
1276 2012-05-29  Stefan Merten  <smerten@oekonux.de>
1278         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1279         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
1281         (rst-mode-abbrev-table): Merge definition.
1282         (rst-mode): Make sure `font-lock-defaults' is buffer local.
1283         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1285 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
1287         * calendar/icalendar.el
1288         (icalendar-export-region): Export UID properly.
1290 2012-05-29 Leo <sdl.web@gmail.com>
1291         * calendar/icalendar.el (icalendar-import-format):
1292         Add `icalendar-import-format-uid' (Bug#11525).
1293         (icalendar-import-format-uid): New.
1294         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1295         Export UID.
1297 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1299         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1300         different alternative patterns.
1301         (pcase-codegen): Be more careful to preserve identity.
1302         (pcase--u1): Don't forget to mark vars as used.
1304         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1305         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1306         (byte-compile-from-buffer): ...rather than here.
1308         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1309         functions from byte-compile-function-environment.
1311 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
1313         * window.el (window-deletable-p): Avoid deleting the root window
1314         of a frame with an active minibuffer.
1316 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
1318         * simple.el (choose-completion): Use quit-window (Bug#11567).
1320 2012-05-29  Chong Yidong  <cyd@gnu.org>
1322         * whitespace.el (whitespace-cleanup): Fix usage of
1323         whitespace-empty-at-bob-regexp (Bug#11492).
1325 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1327         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1328         revert (Bug#11488).
1330 2012-05-29  Juri Linkov  <juri@jurta.org>
1332         * isearch.el (isearch-mode-map): Bind `M-s _' to
1333         `isearch-toggle-symbol'.  Bind `M-s c' to
1334         `isearch-toggle-case-fold'.
1335         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1336         (isearch-forward): Add `M-s _' to the docstring.
1337         (isearch-forward-symbol, isearch-toggle-case-fold)
1338         (isearch-symbol-regexp): New functions.  (Bug#11381)
1340 2012-05-29  Juri Linkov  <juri@jurta.org>
1342         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
1343         (isearch-occur, isearch-search-and-update): If `isearch-word' is
1344         a function, call it to get the regexp.
1345         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1346         property `isearch-message-prefix' instead of the string "word ".
1347         (isearch-search-fun-default): For the case of `isearch-word',
1348         return a lambda that calls re-search-forward/re-search-backward
1349         with a regexp returned by `word-search-regexp' or by the function
1350         in `isearch-word'.
1352 2012-05-29  Juri Linkov  <juri@jurta.org>
1354         * isearch.el (isearch-search-fun-default): New function.
1355         (isearch-search-fun): Move default part to the new function
1356         `isearch-search-fun-default'.
1357         (isearch-search-fun-function): Set the default value to
1358         `isearch-search-fun-default'.  (Bug#11381)
1360         * comint.el (comint-history-isearch-end):
1361         Use `isearch-search-fun-default'.
1362         (comint-history-isearch-search): Use `isearch-search-fun-default'
1363         and remove spacial case for `isearch-word'.
1364         (comint-history-isearch-wrap): Remove spacial case for
1365         `isearch-word'.
1367         * hexl.el (hexl-isearch-search-function):
1368         Use `isearch-search-fun-default'.
1370         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1371         Use `word-search-regexp' for `isearch-word'.
1373         * misearch.el (multi-isearch-search-fun):
1374         Use `isearch-search-fun-default'.
1376         * simple.el (minibuffer-history-isearch-search):
1377         Use `isearch-search-fun-default' and remove spacial case for
1378         `isearch-word'.
1379         (minibuffer-history-isearch-wrap): Remove spacial case for
1380         `isearch-word'.
1382         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1383         Remove spacial case for `isearch-word'.
1384         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1386 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1388         Decrease XEmacs incompatibilities.
1389         * textmodes/flyspell.el (flyspell-check-pre-word-p):
1390         Use `string-match'.
1391         (flyspell-delete-region-overlays): Use alternative definition for
1392         XEmacs.
1393         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1394         (flyspell-word): Use `process-kill-without-query' if XEmacs.
1395         (flyspell-mode-on): Use `interactive-p' if XEmacs.
1396         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1397         `define-obsolete-face-alias' under XEmacs, but old method.
1399         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1400         `with-no-warnings' definition or Emacs alias.
1401         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1402         (ispell-word): Do not use `region-p' if XEmacs.
1404 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1406         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1407         Check for `ispell-dictionary-base-alist' instead of full
1408         `ispell-dictionary-alist'.
1409         (ispell-init-process): Show spellchecker when starting new Ispell
1410         process.
1412 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1414         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1415         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1417 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
1419         * version.el (motif-version-string, gtk-version-string)
1420         (ns-version-string): Declare.
1422 2012-05-27  Juri Linkov  <juri@jurta.org>
1424         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1425         after the `eval-defun-1' specialcaseing
1426         like in `edebug-eval-defun' (bug#10181).
1428         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1429         like in `eval-defun-1'.
1431 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1433         * mail/sendmail.el (mail-yank-region):
1434         Recognize rmail-yank-current-message in addition to insert-buffer.
1435         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1436         a *mail* buffer created through rmail-start-mail with sendmail as
1437         mail-user-agent.
1439 2012-05-27  Chong Yidong  <cyd@gnu.org>
1441         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1442         Default to 256 (Bug#11267).
1444         * help.el (describe-mode): Doc fix.
1446 2012-05-26  Glenn Morris  <rgm@gnu.org>
1448         * w32-fns.el (w32-init-info): Remove.
1449         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1451         * info.el (info-initialize): For self-contained NS builds, put the
1452         included info/ directory at the front.  (Bug#2791)
1454         * paths.el (Info-default-directory-list): Make it a defcustom,
1455         mainly so that we can use custom-initialize-delay.
1457 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1459         * subr.el (buffer-has-markers-at): Mark obsolete.
1461         * subr.el (lambda): Use declare.
1463         * emacs-lisp/lisp-mode.el (lambda):
1464         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1466 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1468         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
1470 2012-05-26  Glenn Morris  <rgm@gnu.org>
1472         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1474 2012-05-25  Glenn Morris  <rgm@gnu.org>
1476         * paths.el: Remove no-byte-compile.
1477         * loadup.el: No need to load paths.el uncompiled.
1479         * image.el (imagemagick-types-inhibit): Doc fix.
1481         * version.el: Remove no-byte-compile and associated formatting.
1482         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
1483         is ancient code from when there was an "inc-vers.el".
1485 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1487         * progmodes/gdb-mi.el: Minor style changes.
1488         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1489         Turn into minor modes.
1490         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1491         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1492         (gdb-shell): Remove unneeded let-binding.
1493         (gdb-get-many-fields): Eliminate O(n²) behavior.
1495 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
1497         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1498         platforms that don't link in fontset.c.
1500 2012-05-25  Juri Linkov  <juri@jurta.org>
1502         Use the same diff color scheme as in modern VCSes (bug#10181).
1504         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1505         to avoid confusion with `diff-added' that now uses green colors.
1506         (diff-removed): Use shades of red.
1507         (diff-added): Use shades of green.
1508         (diff-changed): Leave just the yellow color.
1509         (diff-use-changed-face): New variable.
1510         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1511         how to highlight context diff changes.
1512         (diff-refine-change): Use shades of yellow.
1513         (diff-refine-removed): New face that uses shades of red.
1514         (diff-refine-added): New face that uses shades of green.
1515         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1516         `diff-refine-removed' in the call to `smerge-refine-subst'
1517         depending on the value of `diff-use-changed-face'.
1519         * vc/smerge-mode.el (smerge-mine): Use shades of red.
1520         (smerge-other): Use shades of green.
1521         (smerge-base): Use shades of yellow.
1522         (smerge-refined-change): Empty face.
1523         (smerge-refined-removed): New face that uses shades of red.
1524         (smerge-refined-added): New face that uses shades of green.
1525         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
1526         args `props-r' and `props-a', and use them.  Doc fix.
1527         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1528         on its value use different faces `smerge-refined-change',
1529         `smerge-refined-removed', `smerge-refined-added' in the call to
1530         `smerge-refine-subst'.
1532         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1533         Add face condition `min-colors 88' with shades of red.
1534         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1535         `min-colors 88' with shades of green.
1536         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1537         `min-colors 88' with shades of yellow.
1539 2012-05-24  Glenn Morris  <rgm@gnu.org>
1541         * paths.el (prune-directory-list, remote-shell-program): Move to...
1542         * files.el (prune-directory-list, remote-shell-program): ...here.
1543         For the latter, delay initialization, prefer ssh, just search PATH.
1545         * paths.el (term-file-prefix): Move to faces.el (the only user).
1546         * faces.el (term-file-prefix): Move here, make it a defcustom.
1548         * paths.el (news-directory, news-path, news-inews-program):
1549         Move to gnus/nnspool.el.
1551         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1553         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1554         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1555         Make the latter a defcustom, with a delayed initialization.
1557         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1558         These were deleted from Gnus itself late 2010.
1560 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
1562         * progmodes/which-func.el (which-func-ff-hook):
1563         Check against user-error, not error.
1565         * emacs-lisp/edebug.el (top): Do not load or set up loading of
1566         cl-specs.el, which no longer exists.
1568 2012-05-22  Glenn Morris  <rgm@gnu.org>
1570         * info.el (info-emacs-bug): New command.
1571         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1572         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1574 2012-05-21  Glenn Morris  <rgm@gnu.org>
1576         * makefile.w32-in (update-subdirs-SH):
1577         * Makefile.in (update-subdirs): Update for moved update-subdirs.
1579 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1581         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1583         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1584         Simplify Maven regexp, and make sure the file can't start with a space
1585         (bug#11517).
1587 2012-05-21  Glenn Morris  <rgm@gnu.org>
1589         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1590         Scrap superfluous subshells.
1592 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1594         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1595         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1597 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
1599         * calc/calc.el (calc-ensure-consistent-units): New variable.
1601         * calc/calc-units.el (math-consistent-units-p)
1602         (math-check-unit-consistency): New functions.
1603         (calc-quick-units, calc-convert-units):
1604         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1605         is non-nil.
1606         (calc-extract-units): Fix typo.
1608 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1610         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1612         * textmodes/flyspell.el: Commenting style, plus code simplifications.
1613         (flyspell-default-deplacement-commands): Don't spell check after
1614         repeated window/frame switches (e.g. triggered by mouse-movement).
1615         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1616         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1617         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1618         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1619         Remove unused vars.
1620         (flyspell-get-casechars, flyspell-get-not-casechars):
1621         Simplify; Don't bother removing a ] just to add it back.
1622         * textmodes/ispell.el (ispell-program-name): Use executable-find.
1624 2012-05-18  Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1626         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1627         New functions.
1628         (math-function-table): Add support for more C functions.
1630 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1632         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1633         (flyspell-debug-signal-word-checked): Protect delay handling for
1634         otherchars against empty otherchars.
1636 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1638         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1639         their respective macro declarations.
1640         * skeleton.el (define-skeleton):
1641         * progmodes/compile.el (define-compilation-mode):
1642         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1643         (define-ibuffer-filter):
1644         * emacs-lisp/generic.el (define-generic-mode):
1645         * emacs-lisp/easy-mmode.el (define-minor-mode)
1646         (define-globalized-minor-mode):
1647         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1648         * emacs-lisp/byte-run.el (defsubst):
1649         * custom.el (deftheme): Add doc-string metadata.
1651 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1653         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1655 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1657         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1659         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1660         * emacs-lisp/cl-macs.el: Idem.
1661         * emacs-lisp/cl-specs.el: Remove.
1663 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1665         Minor renaming of internal CL functions and variables.
1666         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1667         (cl--position): Rename from cl-position.
1668         (cl--delete-duplicates): Rename from cl-delete-duplicates.
1669         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1670         (cl--random-state): Rename from *random-state*.
1672 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1674         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1675         parens around the arg list (bug#11499).
1677 2012-05-17  Juri Linkov  <juri@jurta.org>
1679         * isearch.el (word-search-regexp, word-search-backward)
1680         (word-search-forward, word-search-backward-lax)
1681         (word-search-forward-lax): Move functions from search.c
1682         (bug#10145, bug#11381).
1684 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1686         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1687         (flyspell-debug-signal-word-checked): Delay for otherchars as for
1688         normal word components.
1690 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1692         * minibuffer.el (completion--sifn-requote): Fix last change.
1693         (minibuffer-local-must-match-filename-map):
1694         Move define-obsolete-variable-alias before its var.
1696 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1698         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1700         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1701         behavior.
1702         (completion--string-equal-p): New function.
1703         (completion--twq-all): Use it to get better assertion failure data.
1705         Only handle ".." and '..' quoting in shell-mode (bug#11466).
1706         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1707         (shell--requote-argument): New functions.
1708         (shell-completion-vars): Use them.
1709         (shell--parse-pcomplete-arguments): Rename from
1710         shell-parse-pcomplete-arguments.
1711         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
1712         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1713         Obey comint-file-name-quote-list.
1715         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1716         (smie-indent-keyword): Use it.
1718 2012-05-14  Stefan Merten  <smerten@oekonux.de>
1720         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1722 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1724         * net/rlogin.el (rlogin-mode-map): Fix last change.
1726 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
1728         * mail/smtpmail.el (smtpmail-send-command): Send the command and
1729         the following \r\n using a single `process-send-string', since the
1730         Lotus SMTP server refuses to accept any commands if they are sent
1731         with two `process-send-string's (Bug#11444).
1733 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1735         * shell.el (shell-parse-pcomplete-arguments):
1736         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1738 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
1740         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1741         (image-transform-scale, image-transform-right-angle-fudge): New vars.
1742         (image-transform-width, image-transform-fit-width): New functions.
1743         (image-transform-properties): Use them.
1744         (image-transform-check-size): New function.
1745         (image-toggle-display-image): Use it (for testing).
1746         (image-transform-set-rotation): Reduce angle mod 360.
1747         Delete obsolete comment.
1749 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
1751         * image-mode.el: Fix scaling (bug#11399).
1752         (image-transform-resize): Doc fix.
1753         (image-transform-properties): Default scale is 1 and height should
1754         be an integer.
1756 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
1758         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1759         than hard-coding `car', to fix misbehavior when moving forward.
1761 2012-05-13  Chong Yidong  <cyd@gnu.org>
1763         * emacs-lisp/tabulated-list.el (tabulated-list-format)
1764         (tabulated-list-entries, tabulated-list-padding)
1765         (tabulated-list-sort-key): Make permanent-local.
1767         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1768         (electric-buffer-list): Put electric buffer menu
1769         command descriptions in this docstring, instead of the docstring
1770         of electric-buffer-menu-mode.  Code cleanups.
1771         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
1772         Electric-buffer-menu-mode.
1773         (electric-buffer-update-highlight): Minor code cleanup.
1775 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
1777         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1778         (Bug#11447)
1780 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1782         Move define-obsolete-variable-alias before the var's definition.
1783         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1784         * tooltip.el (tooltip-hook):
1785         * textmodes/reftex-toc.el (reftex-toc-map):
1786         * textmodes/reftex-sel.el (reftex-select-label-map)
1787         (reftex-select-bib-map):
1788         * textmodes/reftex-index.el (reftex-index-map)
1789         (reftex-index-phrases-map):
1790         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1791         * progmodes/meta-mode.el (meta-mode-map):
1792         * novice.el (disabled-command-hook):
1793         * loadhist.el (unload-hook-features-list):
1794         * frame.el (blink-cursor):
1795         * files.el (find-file-not-found-hooks, write-file-hooks)
1796         (write-contents-hooks):
1797         * emulation/tpu-edt.el (GOLD-map):
1798         * emacs-lock.el (emacs-lock-from-exiting):
1799         * emacs-lisp/generic.el (generic-font-lock-defaults):
1800         * emacs-lisp/chart.el (chart-map):
1801         * dos-fns.el (register-name-alist):
1802         * dired-x.el (dired-omit-files-p):
1803         * desktop.el (desktop-enable):
1804         * cus-edit.el (custom-mode-hook):
1805         * buff-menu.el (buffer-menu-mode-hook):
1806         * bookmark.el (bookmark-read-annotation-text-func)
1807         (bookmark-exit-hooks):
1808         * allout.el (allout-mode-deactivate-hook)
1809         (allout-exposure-change-hook, allout-structure-added-hook)
1810         (allout-structure-deleted-hook, allout-structure-shifted-hook):
1811         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1812         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1813         comes before the corresponding variable's definition.
1815 2012-05-12  Chong Yidong  <cyd@gnu.org>
1817         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1818         (Buffer-menu-mouse-select): Restore function (Bug#11459).
1819         (Buffer-menu-mode-map): Bind it.
1820         (Buffer-menu--pretty-name): Add a mouse-face property.
1822 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1824         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
1825         (prolog-upper-case-string, prolog-lower-case-string)
1826         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1827         (prolog-use-smie, prolog-smie-grammar): New vars.
1828         (prolog-smie-forward-token, prolog-smie-backward-token)
1829         (prolog-smie-rules): New funs.
1830         (prolog-comment-indent): Remove.
1831         (prolog-mode-variables): Use default comment indentation instead.
1832         Setup SMIE.
1833         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1834         (prolog-mode): Don't call them any more.
1835         (prolog-electric-colon, prolog-electric-dash)
1836         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1838         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1840         * minibuffer.el (completion--twq-all): Again, allow case differences.
1842         * term.el: Move keymap initialization code to be more idiomatic.
1843         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1844         (term-terminal-menu): Move initialization into declaration.
1845         (term-escape-char): Let the user set it in her .emacs.
1847         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1848         Provide SMIE-based indentation (not enabled by default yet).
1849         (sh-mode-map): Don't bind electric keys.
1850         Use electric-pair-mode instead of skeleton-pair.
1851         (sh-assignment-regexp): Fit within 80 columns.
1852         (sh-indent-supported): Specify actual shell name instead of boolean.
1853         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1854         (sh-maybe-here-document): Use it.  Make obsolete.
1855         (sh-electric-here-document-mode) New minor mode.
1856         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
1857         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1858         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1859         (sh-smie-rc-grammar, sh-use-smie): New vars.
1860         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1861         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1862         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1863         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1864         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1865         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1866         (sh-set-shell): Use smie-setup if requested.
1868         * term.el (term-set-escape-char): Properly set term-escape-char.
1869         See http://stackoverflow.com/questions/10524656.
1871 2012-05-10  Chong Yidong  <cyd@gnu.org>
1873         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1874         Use url-generic-parse-url, and handle host names and Windows
1875         filenames properly.
1876         (ffap-url-unwrap-remote): Use url-generic-parse-url.
1877         (ffap-url-unwrap-remote): Accept list values, specifying a list of
1878         URL schemes to work on.
1879         (ffap--toggle-read-only): New function.
1880         (ffap-read-only, ffap-read-only-other-window)
1881         (ffap-read-only-other-frame): Use it.
1882         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1883         necessary for ffap-url-unwrap-remote.
1885 2012-05-10  Dave Abrahams  <dave@boostpro.com>
1887         * cus-start.el (create-lockfiles): Add it.
1889 2012-05-09  Chong Yidong  <cyd@gnu.org>
1891         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1892         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1894 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1896         * shell.el (shell-completion-vars): Fix last change (bug#11348).
1898 2012-05-09  Chong Yidong  <cyd@gnu.org>
1900         * ansi-color.el (ansi-color-process-output): Check for validity of
1901         comint-last-output-start before using it.  This avoids a bad
1902         interaction with gdb-mi's input/output buffer.
1904 2012-05-09  Glenn Morris  <rgm@gnu.org>
1906         * files.el (dir-locals-read-from-file):
1907         Mention dir-locals in any error message.
1909 2012-05-09  Chong Yidong  <cyd@gnu.org>
1911         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1912         package (Bug#11410).
1914         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1915         variables into description.
1917 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1919         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1920         shell-delimiter-argument-list (bug#11348).
1921         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1923 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
1925         * textmodes/rst.el: Silence byte-compiler warnings.
1926         (rst-re-alist, rst-reset-section-caches): Move around.
1927         (rst-re): Use `characterp', not `char-valid-p'.
1928         (font-lock-beg, font-lock-end): Declare.
1930         * progmodes/idlw-shell.el (specs): Remove reference to deleted
1931         variable `idlwave-shell-activate-alt-keybindings' and simplify.
1933         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1935 2012-05-08  Glenn Morris  <rgm@gnu.org>
1937         * files.el (auto-mode-alist): Treat ".make" like ".mk".
1939 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1941         * vc/log-edit.el: Add GNU coding standards highlighting.
1942         (log-edit-font-lock-gnu-style)
1943         (log-edit-font-lock-gnu-keywords): New vars.
1944         (log-edit-font-lock-keywords): New fun.
1945         (log-edit-mode): Don't fold case in font-lock.
1946         (log-edit-font-lock-keywords): Do not assume case-folding.
1948         * imenu.el: Misc cleanup.  Make docstrings out of comments.
1949         Use lexical-binding.
1950         (imenu--index-alist, imenu--last-menubar-index-alist)
1951         (imenu-menubar-modified-tick): Use defvar-local.
1952         (imenu--split-menu): Remove unused var.
1953         (imenu--cleanup-seen): Declare as global.
1954         (imenu--cleanup): Use dolist.
1956         * subr.el (defvar-local): Add debug spec and doc-string position.
1958 2012-05-08  Glenn Morris  <rgm@gnu.org>
1960         * lisp/language/burmese.el, language/cham.el, language/czech.el:
1961         * language/english.el, language/georgian.el, language/greek.el:
1962         * language/japanese.el, language/khmer.el, language/korean.el:
1963         * language/lao.el, language/misc-lang.el, language/romanian.el:
1964         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1965         * language/thai.el, language/utf-8-lang.el:
1966         Remove no-byte-compile setting.
1968         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
1970 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1972         * progmodes/make-mode.el (makefile-browse):
1973         Remove unnecessary interactive.  (Bug#11324)
1975 2012-05-07  Glenn Morris  <rgm@gnu.org>
1977         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1979         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1981 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1983         * loadup.el: Preload newcomment.el.
1984         * newcomment.el: Move autoload-only code to toplevel.
1986         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1987         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1988         Handle new :right-align column property.
1989         (tabulated-list-print-col): Idem, plus use `display' text-property to
1990         try and preserve alignment for variable pitch fonts.
1992 2012-05-07  Chong Yidong  <cyd@gnu.org>
1994         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1995         (tabulated-list-use-header-line): New var.
1996         (tabulated-list-init-header): Use it.
1997         (tabulated-list-print-fake-header): New function.
1998         (tabulated-list-print): Use it.
1999         (tabulated-list-sort-button-map): Add non-header-line commands.
2000         (tabulated-list-init-header): Add column name property to basic
2001         labels as well.
2002         (tabulated-list-col-sort): Handle non-header-line button case.
2003         (tabulated-list--sort-by-column-name): Fix a corner case.
2005         * buff-menu.el (list-buffers--refresh):
2006         Handle Buffer-menu-use-header-line.
2008 2012-05-06  Chong Yidong  <cyd@gnu.org>
2010         * buff-menu.el: Convert to Tabulated List mode.
2011         (Buffer-menu-buffer+size-width): Make obsolete.
2012         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2013         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2014         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
2015         documentation into docstring of buffer-menu.
2016         (Buffer-menu-toggle-files-only): Add an informative message.
2017         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2018         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2019         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2020         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2021         (Buffer-menu-execute, Buffer-menu-select)
2022         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2023         (Buffer-menu-bury): Use Tabulated List machinery.
2024         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2025         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2026         Delete.
2027         (list-buffers--refresh): New function.
2028         (list-buffers-noselect): Use it.
2029         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2030         (Buffer-menu--pretty-file-name): New helper functions.
2032         * loadup.el: Preload tabulated-list.
2034         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2035         tabulated-list-sort-column.
2036         (tabulated-list-init-header): Add the initial aligning space even
2037         if tabulated-list-padding is zero.
2039 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
2041         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2042         whose cdr is not a cons cell correctly (bug#11038).
2044 2012-05-06  Chong Yidong  <cyd@gnu.org>
2046         * emacs-lisp/tabulated-list.el (tabulated-list-format):
2047         Accept additional plist in column descriptors.
2048         (tabulated-list-init-header): Obey it.
2049         (tabulated-list-get-entry): New function.
2050         (tabulated-list-put-tag): Use it.  Use string-width instead of
2051         length.
2052         (tabulated-list--column-number): New function.
2053         (tabulated-list-print): Use it.
2054         (tabulated-list-print-col): New function.
2055         Set `tabulated-list-column-name' property on each column's text.
2056         (tabulated-list-print-entry): Use it.
2057         (tabulated-list-delete-entry, tabulated-list-set-col):
2058         New functions.
2059         (tabulated-list-sort-column): New command (Bug#11337).
2061         * buff-menu.el (list-buffers): Move C-x C-b binding from
2062         buff-menu.el to bindings.el.
2064         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2065         :advertised-binding feature.
2067 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
2069         * progmodes/compile.el (compilation-internal-error-properties):
2070         Calculate start position correctly when end-col is set but
2071         end-line is not (Bug#11382).
2073 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
2075         * man.el (Man-unindent): Use text-property-default-nonsticky to
2076         prevent untabify from inheriting face properties (Bug#11408).
2078 2012-05-05  Stefan Merten  <smerten@oekonux.de>
2080         * textmodes/rst.el: Major merge with upstream development up to
2081         Docutils SVN r7399 / rst.el V1.2.1.
2083         Clarify maintainership and authors.
2085         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2086         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2087         (rst-official-version, rst-official-cvs-rev, rst-version)
2088         (rst-package-emacs-version-alist): New functions and variables
2089         for version information.
2091         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2092         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2093         (rst-mode-syntax-table, rst-mode): New and corrected functions
2094         and variables representing reStructuredText features.
2096         (rst-re): New function for reStructuredText regexes.  Use in
2097         many places.
2099         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2100         (rst-mode-map): Rebind keys.
2102         (rst-mode-lazy, rst-font-lock-keywords)
2103         (rst-font-lock-extend-region)
2104         (rst-font-lock-extend-region-internal)
2105         (rst-font-lock-extend-region-extend)
2106         (rst-font-lock-find-unindented-line-limit)
2107         (rst-font-lock-find-unindented-line-match)
2108         (rst-adornment-level, rst-font-lock-adornment-level)
2109         (rst-font-lock-adornment-match)
2110         (rst-font-lock-handle-adornment-pre-match-form)
2111         (rst-font-lock-handle-adornment-matcher): Major revision of
2112         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
2114         (rst-preferred-adornments, rst-adjust-hook)
2115         (rst-new-adornment-down, rst-preferred-bullets)
2116         (rst-preferred-bullets, rst-indent, rst-indent-width)
2117         (rst-indent-field, rst-indent-literal-normal)
2118         (rst-indent-literal-minimized, rst-indent-comment): Change,
2119         extend and improve customization.
2121         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2122         (rst-normalize-cursor-position, rst-get-decoration)
2123         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2124         (rst-rstrip, rst-toc-insert-find-delete-contents)
2125         (rst-shift-fill-region, rst-compute-bullet-tabs)
2126         (rst-debug-print-tabs, rst-debug-mark-found)
2127         (rst-shift-region-guts, rst-shift-region-right)
2128         (rst-shift-region-left, rst-use-char-classes)
2129         (rst-font-lock-keywords-function)
2130         (rst-font-lock-indentation-point)
2131         (rst-font-lock-find-unindented-line-begin)
2132         (rst-font-lock-find-unindented-line-end)
2133         (rst-font-lock-find-unindented-line)
2134         (rst-font-lock-adornment-point, rst-font-lock-level)
2135         (rst-adornment-level-alist): Remove functions and variables.
2137         (rst-compare-adornments, rst-get-adornment-match)
2138         (rst-suggest-new-adornment, rst-get-adornments-around)
2139         (rst-adornment-complete-p, rst-get-next-adornment)
2140         (rst-adjust-adornment, rst-display-adornments-hierarchy)
2141         (rst-straighten-adornments): Standardize function names to
2142         use "adornment" instead of "decoration".  Correct callers.
2143         Similar standardizing in many places.
2145         (rst-update-section, rst-adjust, rst-promote-region)
2146         (rst-enumerate-region, rst-bullet-list-region)
2147         (rst-repeat-last-character): Correct use of `interactive'.
2149         (rst-classify-adornment, rst-find-all-adornments)
2150         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2151         (rst-find-leftmost-column, rst-repeat-last-character):
2152         Refactor functions.
2154         (rst-find-title-line, rst-reset-section-caches)
2155         (rst-get-adornments-around, rst-adjust-adornment-work)
2156         (rst-arabic-to-roman, rst-roman-to-arabic)
2157         (rst-insert-list-pos, rst-insert-list-new-item)
2158         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2159         New functions.
2161         (rst-all-sections, rst-section-hierarchy)
2162         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2163         New variables.
2165         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2166         configuration instead of only buffer.  Change where necessary.
2168         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2169         (rst-shift-region, rst-adaptive-fill): New functions for
2170         indentation and filling.
2172         (rst-comment-line-break, rst-comment-indent)
2173         (rst-comment-insert-comment, rst-comment-region)
2174         (rst-uncomment-region): New functions for handling comments.
2176         (rst-compile): Quote shell arguments.
2178         (rst-compile-pdf-preview, rst-compile-slides-preview):
2179         Delete temporary files after use.
2181 2012-05-05  Glenn Morris  <rgm@gnu.org>
2183         * calendar/cal-html.el: Optionally include holidays in the output.
2184         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2185         (cal-html-holidays): New option.
2186         (cal-html-css-default): Add holiday entry.
2187         (holiday-in-range): Autoload it.
2188         (cal-html-htmlify-entry): Add optional class argument.
2189         (cal-html-htmlify-list): Add optional holidays argument.
2190         (cal-html-insert-agenda-days): Include holidays in the output.
2191         (cal-html-one-month): Maybe include holidays.
2193         * calendar/holidays.el (holiday-in-range):
2194         Move here from cal-tex-list-holidays.
2195         * calendar/cal-tex.el (cal-tex-list-holidays):
2196         Make it an obsolete alias for holiday-in-range.  Update all callers.
2198 2012-05-05  Chong Yidong  <cyd@gnu.org>
2200         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2201         Nextstep.
2203 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
2205         * files.el (file-auto-mode-skip): New var.
2206         (set-auto-mode-1): Use it.
2208 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2210         * repeat.el: Use lexical-binding.
2211         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2212         (repeat-undo-count): Remove.
2213         (repeat):
2214         * progmodes/octave-mod.el (octave-abbrev-start):
2215         * progmodes/f90.el (f90-abbrev-start):
2216         * face-remap.el (text-scale-adjust):
2217         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2219         * emacs-lisp/pcase.el (pcase--let*): New function.
2220         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2221         a bit more.
2222         (pcase--split-pred): Be more clever about ruling out overlap between
2223         a predicate and some constant pattern.
2224         (pcase--q1): Use `null' instead of (eq foo nil).
2226         * subr.el (setq-local, defvar-local): New macros.
2227         (kbd): Redefine as an alias.
2228         (with-selected-window): Leave unrelated frames alone.
2229         (set-temporary-overlay-map): New function.
2231 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2233         * subr.el (user-error): New function.
2234         * window.el (switch-to-buffer):
2235         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2236         (smerge-match-conflict):
2237         * simple.el (previous-matching-history-element)
2238         (next-matching-history-element, goto-history-element, undo-more)
2239         (undo-start):
2240         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2241         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2242         (next-file, tags-loop-scan, list-tags, complete-tag):
2243         * progmodes/compile.el (compilation-loop):
2244         * mouse.el (mouse-minibuffer-check):
2245         * man.el (Man-bgproc-sentinel, Man-goto-page):
2246         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2247         (Info-history-forward, Info-follow-reference, Info-menu)
2248         (Info-extract-menu-item, Info-extract-menu-counting)
2249         (Info-forward-node, Info-backward-node, Info-next-menu-item)
2250         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2251         (Info-next-reference, Info-prev-reference, Info-index)
2252         (Info-index-next, Info-follow-nearest-node)
2253         (Info-copy-current-node-name):
2254         * imenu.el (imenu--make-index-alist)
2255         (imenu-default-create-index-function, imenu-add-to-menubar):
2256         * files.el (basic-save-buffer, recover-file):
2257         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2258         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2259         (checkdoc-message-text, checkdoc-defun):
2260         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2261         * cus-edit.el (customize-changed-options, customize-rogue)
2262         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2263         (custom-variable-mark-to-reset-standard)
2264         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2265         (custom-file):
2266         * completion.el (check-completion-length):
2267         * comint.el (comint-search-arg)
2268         (comint-previous-matching-input-string-position)
2269         (comint-previous-matching-input)
2270         (comint-replace-by-expanded-history-before-point, comint-send-input)
2271         (comint-copy-old-input, comint-backward-matching-input)
2272         (comint-goto-process-mark, comint-set-process-mark):
2273         * calendar/calendar.el (calendar-cursor-to-date): Use it.
2274         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2276 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2278         * dabbrev.el (dabbrev--ignore-case-p): New function.
2279         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2280         Use it.
2282         * files.el (automount-dir-prefix): Mark as obsolete.
2284 2012-05-04  Glenn Morris  <rgm@gnu.org>
2286         * patcomp.el, play/bruce.el: Move to obsolete/.
2288 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
2290         Fix minor Y10k bugs.
2291         * arc-mode.el (archive-unixdate):
2292         * autoinsert.el (auto-insert-alist):
2293         * calc/calc-forms.el (math-this-year):
2294         * emacs-lisp/copyright.el (copyright-current-year)
2295         (copyright-update-year, copyright):
2296         * tar-mode.el (tar-clip-time-string):
2297         * time.el (display-time-update):
2298         Don't assume years have 4 digits.
2300 2012-05-04  Chong Yidong  <cyd@gnu.org>
2302         * dos-w32.el (file-name-buffer-file-type-alist)
2303         (direct-print-region-use-command-dot-com):
2304         * ffap.el (ffap-menu-regexp):
2305         * find-file.el (ff-special-constructs):
2306         * follow.el (follow-debug):
2307         * forms.el (forms--debug):
2308         * iswitchb.el (iswitchb-all-frames):
2309         * ido.el (ido-all-frames):
2310         * emacs-lisp/timer.el (timer-max-repeats):
2311         * mail/feedmail.el (feedmail-mail-send-hook)
2312         (feedmail-mail-send-hook-queued):
2313         * mail/footnote.el (footnote-signature-separator):
2314         * mail/mailabbrev.el (mail-alias-separator-string)
2315         (mail-abbrev-mode-regexp):
2316         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2317         * progmodes/idlwave.el (idlwave-libinfo-file)
2318         (idlwave-default-completion-case-is-down)
2319         (idlwave-library-routines): Convert defvars to defcustoms.
2321         * mail/rmail.el (rmail-decode-mime-charset):
2322         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2323         (idlwave-shell-fix-inserted-breaks)
2324         (idlwave-shell-activate-alt-keybindings)
2325         (idlwave-shell-use-breakpoint-glyph):
2326         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2328 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2330         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2332 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
2334         * progmodes/verilog-mode.el (font-lock-keywords):
2335         Fix mis-highligting auto.  Reported by Craig Barner.
2336         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2337         defines from global name space. Reported by Dan Dever.
2338         (verilog-auto-reset, verilog-auto-reset-widths)
2339         (verilog-auto-tieoff): Support using unbased numbers for
2340         AUTORESET and AUTOTIEOFF.
2341         (verilog-submit-bug-report): Update variable list.
2342         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2343         parenthesis from not matching. Reported by Michael Rytting.
2344         (verilog-auto-template-lint): Fix hash error when linting modules
2345         with no used templates.
2346         (verilog-warn, verilog-warn-error)
2347         (verilog-warn-fatal): When non-interactive report multiple
2348         warnings before exiting.  Suggested by Brad Dobbie.
2349         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2350         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2351         to report unused template errors.  Reported by Brad Dobbie.
2352         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2353         nets, bug438. Reported by Vns Blore.
2354         (verilog-auto-inout-module, verilog-auto-reg)
2355         (verilog-read-decls, verilog-read-sub-decls-sig)
2356         (verilog-signals-edit-wire-reg, verilog-signals-with):
2357         Fix passing of Verilog data types in ANSI input/output ports
2358         such as "output logic" into the AUTOs. Special case "wire" and
2359         "reg" for backwards compatibility presuming Verilog 2001.
2360         (verilog-auto-ascii-enum): Add "auto enum" as alias.
2361         (verilog-preprocess): Fix replication of preprocess output.
2362         Reported by Brad Dobbie.
2363         (verilog-auto-inst-interfaced-ports):
2364         Create verilog-auto-inst-interfaced-ports, bug429.
2365         Reported by Julian Gorfajn.
2366         (verilog-after-save-font-hook)
2367         (verilog-before-save-font-hook): New variable.
2368         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2369         (verilog-save-font-mods): Wrap disabling fontification, reported
2370         by David Rogoff.
2371         (verilog-do-indent, verilog-pretty-declarations-auto)
2372         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2373         Reported by Pierre-David Pfister.
2374         (verilog-set-auto-endcomments): Fix endtask auto comments outside
2375         of class declarations, bug292.  Reported by Kevin Heilman.
2376         (verilog-read-decls): Fix 'parameter type' not appearing in
2377         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
2378         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2379         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2380         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2381         Reported by David Kravitz.
2383 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
2385         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2386         assignment with tests in ifs and for loops.
2387         (verilog-extended-complete-re, verilog-complete-reg): Change so
2388         that DPI inport functions don't look like fuction declarations.
2389         (verilog-pretty-expr): Don't line up assignment
2390         operations to the test and increment in if and for loops
2391         (verilog-extended-complete-re, verilog-complete-reg): Change so
2392         that DPI inport functions don't look like fuction declarations
2394 2012-05-03  Kenichi Handa  <handa@m17n.org>
2396         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2397         decoding, and show a warning message without signaling an error
2398         (Bug#11282).
2400 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2402         * emacs-lisp/bytecomp.el
2403         (byte-compile-file-form-custom-declare-variable): Compile all elements,
2404         since cconv.el might have introduced :fun-body, internal-make-closure,
2405         and friends for bytecomp to handle (bug#11391).
2406         * custom.el (defcustom): Avoid ((λ ..) ..).
2408 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2410         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2412 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
2414         * notifications.el (dbus-debug):
2415         * term/linux.el (gpm-mouse-enable):
2416         * term/screen.el (xterm-register-default-colors): Declare.
2418 2012-05-02  Chong Yidong  <cyd@gnu.org>
2420         * cus-start.el (gc-cons-percentage, exec-suffixes)
2421         (dos-display-scancodes, dos-hyper-key, dos-super-key)
2422         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2423         (make-cursor-line-fully-visible, void-text-area-pointer)
2424         (font-list-limit): Add customization data.
2426         * allout.el (allout-exposure-change-functions)
2427         (allout-structure-added-functions)
2428         (allout-structure-deleted-functions)
2429         (allout-structure-shifted-functions): Rename abnormal hooks from
2430         *-hook, and convert to defcustoms.
2431         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2432         Convert to defcustoms.
2433         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2435         * allout-widgets.el: Hook callers changed.
2437 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
2439         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2440         the yanked message in preference to the default value of
2441         buffer-file-coding-system.
2443 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
2445         * window.el (display-buffer--action-function-custom-type):
2446         Fix entry.
2448 2012-05-02  Alan Mackenzie  <acm@muc.de>
2450         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2452 2012-05-01  Glenn Morris  <rgm@gnu.org>
2454         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2456         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
2458         * cus-edit.el (custom-variable-documentation): Simplify with format.
2460 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2461             Stefan Monnier  <monnier@iro.umontreal.ca>
2463         * simple.el (suggest-key-bindings, execute-extended-command):
2464         Move from keyboard.c.
2466 2012-05-01  Chong Yidong  <cyd@gnu.org>
2468         * follow.el: Eliminate advice.
2469         (set-process-filter, process-filter, sit-for): Advice deleted.
2470         (follow-mode-off-hook): Obsolete hook removed.
2471         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2472         Vars deleted.
2473         (follow-auto): Use a :set function.
2474         (follow-mode): Rewritten.  Don't advise process filters.
2475         (follow-switch-to-current-buffer-all, follow-scroll-up)
2476         (follow-scroll-down): Assume follow-mode is bound.
2477         (follow-comint-scroll-to-bottom)
2478         (follow-align-compilation-windows): New functions.
2479         (follow--window-sorter): New function.
2480         (follow-all-followers): Use it to explicitly sort windows by their
2481         positions; don't make assumptions about next-window order.
2482         (follow-windows-start-end, follow-delete-other-windows-and-split)
2483         (follow-calc-win-start): Doc fix.
2484         (follow-windows-aligned-p, follow-select-if-visible): Don't call
2485         vertical-motion unnecessarily.
2486         (follow-adjust-window): New function.
2487         (follow-post-command-hook): Use it.
2488         (follow-call-set-process-filter, follow-call-process-filter)
2489         (follow-intercept-process-output, follow-tidy-process-filter-alist)
2490         (follow-stop-intercept-process-output, follow-generic-filter):
2491         Functions deleted.
2492         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2493         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2494         New functions, replacing advice on scroll-bar-* commands.
2495         (follow-mwheel-scroll): New function (Bug#4112).
2497         * comint.el (comint-adjust-point): New function.
2498         (comint-postoutput-scroll-to-bottom): Use it.
2499         Call follow-comint-scroll-to-bottom for Follow mode buffers.
2501 2012-05-01  Glenn Morris  <rgm@gnu.org>
2503         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2504         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2505         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2506         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2507         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2508         Remove no-byte-compile setting.
2510 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2512         * minibuffer.el (completion-table-with-quoting): Fix compatibility
2513         all-completions code to not return a number in the last cdr.
2515 2012-04-30  Leo Liu  <sdl.web@gmail.com>
2517         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2518         read-only error.
2520 2012-04-29  Chong Yidong  <cyd@gnu.org>
2522         * follow.el (follow-calc-win-end): Rewrite to handle partial
2523         screen lines correctly (Bug#8390).
2524         (follow-avoid-tail-recenter): Minor cleanup.
2526 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2528         Avoid the obsolete `assoc' package.
2529         * speedbar.el (speedbar-refresh): Avoid adelete.
2530         (speedbar-file-lists): Simplify and avoid aput.
2531         * man.el (Man--sections, Man--refpages): New vars, replacing
2532         Man-sections-alist and Man-refpages-alist.
2533         (Man-build-section-alist, Man-build-references-alist):
2534         Use them; avoid aput.
2535         (Man--last-section, Man--last-refpage): New vars.
2536         (Man-follow-manual-reference): Use them.
2537         Use the `default' arg of completing-read.
2538         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
2540 2012-04-27  Chong Yidong  <cyd@gnu.org>
2542         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2544         * startup.el (x-apply-session-resources): New function.
2546         * term/ns-win.el (ns-initialize-window-system):
2547         * term/w32-win.el (w32-initialize-window-system):
2548         * term/x-win.el (x-initialize-window-system): Use it to properly
2549         set menu-bar-mode and other vars from X resources, even if the
2550         initial frame is not a window-system frame (Bug#2299).
2552         * subr.el (read-key): Avoid running filter function when setting
2553         up temporary tool bar entries (Bug#9922).
2555 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
2557         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2558         (Bug#11344)
2560 2012-04-27  Chong Yidong  <cyd@gnu.org>
2562         * select.el (xselect--encode-string): New function, split from
2563         xselect-convert-to-string.
2564         (xselect-convert-to-string): Use it.
2565         (xselect-convert-to-filename, xselect-convert-to-os)
2566         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2567         returned strings are properly encoded (Bug#11315).
2569 2012-04-27  Chong Yidong  <cyd@gnu.org>
2571         * simple.el (delete-active-region): Move to killing custom group.
2573 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
2575         * progmodes/which-func.el (which-func-current): Quote %
2576         characters for mode-line processing.
2578 2012-04-27  Chong Yidong  <cyd@gnu.org>
2580         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2581         reaching eob (Bug#11286).
2583 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
2585         * progmodes/gdb-mi.el (gdb-control-level): New variable.
2586         (gdb): Make it buffer-local and init to zero.
2587         (gdb-control-commands-regexp): New variable.
2588         (gdb-send): Don't wrap in "-interpreter-exec console" if
2589         gdb-control-level is positive.  Increment gdb-control-level
2590         whenever the command matches gdb-control-commands-regexp, and
2591         decrement it each time the command is "end".  (Bug#11279)
2593 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
2595         * window.el (adjust-window-trailing-edge, enlarge-window)
2596         (shrink-window, window-resize):
2597         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2598         windows (Bug#11276).
2600 2012-04-27  Chong Yidong  <cyd@gnu.org>
2602         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2603         fix "missing prefix" warning.  All callers changed.
2605 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2607         * emacs-lisp/assoc.el: Move to obsolete/.
2609 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2611         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2613         * term/ns-win.el (ns-define-service):
2614         * progmodes/pascal.el (pascal-goto-defun):
2615         * progmodes/js.el (js--read-tab):
2616         * progmodes/etags.el (tags-lazy-completion-table):
2617         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2618         * emacs-lisp/ewoc.el (ewoc--wrap):
2619         * emacs-lisp/assoc.el (aput, adelete, amake):
2620         * doc-view.el (doc-view-convert-current-doc):
2621         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2623 2012-04-26  Chong Yidong  <cyd@gnu.org>
2625         * image.el (image-type-from-buffer): Only return supported image
2626         type (Bug#9045).
2628         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2629         value, for symmetry with diff-end-of-hunk.
2630         (diff-split-hunk, diff-find-source-location)
2631         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2632         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2633         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2634         compute the relevant hunk or file properly (Bug#6005).
2635         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2637 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2639         * vc/vc-mtn.el:
2640         * vc/vc-hg.el:
2641         * vc/vc-git.el:
2642         * vc/vc-dir.el:
2643         * vc/vc-cvs.el:
2644         * vc/vc-bzr.el:
2645         * vc/vc-arch.el:
2646         * vc/vc.el: Replace lexical-let by lexical-binding.
2647         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2648         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2649         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2651 2012-04-26  Chong Yidong  <cyd@gnu.org>
2653         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2654         (diff-mode-shared-map): Bind it to / and [remap undo].
2656         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2657         (ediff-window-setup-function): Use it as the default, to set up
2658         windows based on whether the current frame is graphical (Bug#2138).
2659         (ediff-choose-window-setup-function-automatically): Make obsolete.
2661         * vc/ediff-init.el: Always define ediff-pixel-width/height.
2663 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2665         * ffap.el: Remove old code for obsolete package.
2666         (ffap-complete-as-file-p): Remove.
2668         Use completion-table-with-quoting for comint and pcomplete.
2669         * comint.el (comint--unquote&requote-argument)
2670         (comint--unquote-argument, comint--requote-argument): New functions.
2671         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2672         (comint-quote-filename): Use regexp-opt-charset.
2673         (comint--common-suffix, comint--common-quoted-suffix)
2674         (comint--table-subvert): Remove.
2675         (comint-unquote-function, comint-requote-function): New vars.
2676         (comint--complete-file-name-data): Use them with
2677         completion-table-with-quoting.
2678         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2679         * pcomplete.el (pcomplete-arg-quote-list)
2680         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2681         (pcomplete-unquote-argument-function): Default to non-nil.
2682         (pcomplete-unquote-argument): Simplify.
2683         (pcomplete--common-quoted-suffix): Remove.
2684         (pcomplete-requote-argument-function): New var.
2685         (pcomplete--common-suffix): New function.
2686         (pcomplete-completions-at-point): Use completion-table-with-quoting
2687         and completion-table-subvert.
2689         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2690         (minibuffer--double-dollars): Preserve properties.
2691         (completion--sifn-requote): New function.
2692         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2694         * minibuffer.el: Add support for completion of quoted/escaped data.
2695         (completion-table-with-quoting, completion-table-subvert): New funs.
2696         (completion--twq-try, completion--twq-all): New functions.
2697         (completion--nth-completion): New function.
2698         (completion-try-completion, completion-all-completions): Use it.
2700 2012-04-25  Leo Liu  <sdl.web@gmail.com>
2702         * progmodes/python.el (python-pdbtrack-get-source-buffer):
2703         Use compilation-message if available to find real filename.
2705 2012-04-25  Chong Yidong  <cyd@gnu.org>
2707         * vc/diff-mode.el (diff-setup-whitespace): New function.
2708         (diff-mode): Use it.
2710         * vc/diff.el (diff-sentinel):
2711         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2712         Whitespace mode variables based on diff style (Bug#8612).
2714 2012-04-25  Leo Liu  <sdl.web@gmail.com>
2716         * progmodes/python.el (python-send-region): Add suffix .py to the
2717         temp file.
2719         * files.el (auto-mode-alist): Use javascript-mode instead.
2721 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
2723         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
2725         * soap-client.el (soap-resolve-references-for-sequence-type)
2726         (soap-resolve-references-for-array-type): Hack to prevent self
2727         references, see Bug#9.
2728         (soap-parse-envelope): Report the contents of the 'detail' node
2729         when receiving a fault reply.
2730         (soap-parse-envelope): Report the contents of the entire 'detail' node.
2732         * soap-inspect.el (soap-sample-value-for-simple-type)
2733         (soap-inspect-simple-type): New function.
2735         * soap-client.el (soap-simple-type): New struct.
2736         (soap-default-xsd-types, soap-default-soapenc-types)
2737         (soap-decode-basic-type, soap-encode-basic-type):
2738         support unsignedInt and double basic types.
2739         (soap-resolve-references-for-simple-type)
2740         (soap-parse-simple-type, soap-encode-simple-type): New function.
2741         (soap-parse-schema): Parse xsd:simpleType declarations.
2743         * soap-client.el (soap-default-xsd-types)
2744         (soap-default-soapenc-types): Add integer, byte and anyURI types.
2745         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2746         the local name of "soapenc:Array".
2747         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2748         decoding integer, byte and anyURI xsd types.
2750 2012-04-25  Chong Yidong  <cyd@gnu.org>
2752         * cus-edit.el (custom-buffer-create-internal): Update header text.
2754 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
2756         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2757         settings on 'system-type', not on 'window-system'.  On MS-Windows,
2758         set interactive-mode on in GDB.
2760 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2762         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2763         (ruby-syntax-propertize-regexp): Remove.
2764         (ruby-syntax-propertize-function): Split regexp into chunks.
2765         Match following code directly.
2767 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
2769         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2770         (ruby-syntax-propertize-regexp): New function.
2771         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2772         by a special keyword.
2774         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2775         (ruby-syntax-general-delimiters-goto-beg)
2776         (ruby-syntax-propertize-general-delimiters): New functions.
2777         (ruby-syntax-propertize-function): Use them to handle GDL.
2778         (ruby-font-lock-keywords): Move old handling of GDL...
2779         (ruby-font-lock-syntactic-keywords): .. to here.
2780         (ruby-calculate-indent): Adjust indentation for GDL.
2782 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
2784         * notifications.el (top): Remove unneeded declarations.
2785         (notifications-specification-version): Change to "1.2".
2786         (notifications-interface, notifications-notify-method)
2787         (notifications-close-notification-method): Fix docstring.
2788         (notifications-get-capabilities-method): New defconst.
2789         (notifications-notify): Add :action-items, :resident and
2790         :transient hints.  Change "image_data" to "image-data" and
2791         "image_path" to "image-path".
2792         (notifications-get-capabilities): New defun.
2794 2012-04-24  Leo Liu  <sdl.web@gmail.com>
2796         * progmodes/python.el: Move hideshow setup to the end.
2798 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
2800         * window.el (handle-select-window): Clear echo area since this is
2801         no more done by read_char (Bug#11304).
2803 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2805         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2806         and `/ M' to filter-derived-mode.
2807         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2808         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2809         (ibuffer-mark-by-mode): Use default rather than initial-input.
2810         (ibuffer-filter-by-derived-mode): Autoload and require-match.
2812 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
2814         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2815         (ibuffer-filter-by-derived-mode): New filter.
2816         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2818 2012-04-23  Andreas Politz  <politza@fh-trier.de>
2820         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2822 2012-04-23  Chong Yidong  <cyd@gnu.org>
2824         * cus-edit.el (customize-apropos, customize-apropos-options):
2825         Disable matching of non-option variables (Bug#11176).
2826         (customize-option, customize-option-other-window)
2827         (customize-changed-options): Doc fix.
2828         (customize-apropos-options, customize-apropos-faces)
2829         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2831         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2832         Fix word list splitting (Bug#11132).
2833         (apropos-symbol, apropos-keybinding, apropos-label)
2834         (apropos-property, apropos-function-button)
2835         (apropos-variable-button, apropos-misc-button): New faces.
2836         (apropos-symbol-face, apropos-keybinding-face)
2837         (apropos-label-face, apropos-property-face, apropos-match-face):
2838         Variables removed (Bug#8396).
2839         (apropos-library-button, apropos-format-plist, apropos-print)
2840         (apropos-print-doc, apropos-describe-plist): Callers changed.
2842 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
2844         * net/xesam.el (xesam-mode-map): Use let-bound map in
2845         initialization.  (Bug#11292)
2847 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2849         Preserve ispell session localwords when switching back to
2850         original buffer.
2852         * ispell.el (ispell-buffer-session-localwords): New buffer-local
2853         variable to hold buffer session localwords.
2854         (ispell-kill-ispell): add option 'clear to delete session
2855         localwords.
2856         (ispell-command-loop, ispell-change-dictionary)
2857         (ispell-buffer-local-words): Preserve session localwords when
2858         needed.
2860         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2861         Preserve session localwords when needed.
2863 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2865         * ispell.el (ispell-insert-word) Remove unneeded function using
2866         obsolete `translation-table-for-input'.
2867         (ispell-word, ispell-process-line, ispell-complete-word):
2868         Use plain `insert' instead of removed `ispell-insert-word'.
2870 2012-04-22  Chong Yidong  <cyd@gnu.org>
2872         * cus-edit.el (custom-variable-menu)
2873         (custom-variable-reset-saved, custom-face-menu)
2874         (custom-face-reset-saved): If there is no saved value, make the
2875         "reset-saved" operation bring back the default (Bug#9509).
2876         (custom-face-state): Properly detect themed faces.
2878         * faces.el (face-spec-set): Stop supporting deprecated form of
2879         third arg.
2881 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
2883         Move functions from C to Lisp.  Make non-blocking method calls
2884         the default.  Implement further D-Bus standard interfaces.
2886         * net/dbus.el (dbus-message-internal): Declare function.
2887         Remove unneeded function declarations.
2888         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2889         (dbus-message-type-method-return, dbus-message-type-error)
2890         (dbus-message-type-signal): Declare variables.  Remove local
2891         definitions.
2892         (dbus-interface-dbus, dbus-interface-peer)
2893         (dbus-interface-introspectable, dbus-interface-properties)
2894         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2895         Adapt docstring.
2896         (dbus-interface-objectmanager): New defconst.
2897         (dbus-call-method, dbus-call-method-asynchronously)
2898         (dbus-send-signal, dbus-method-return-internal)
2899         (dbus-method-error-internal, dbus-register-service)
2900         (dbus-register-signal, dbus-register-method): New defuns, moved
2901         from dbusbind.c
2902         (dbus-call-method-handler, dbus-setenv)
2903         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2904         New defuns.
2905         (dbus-call-method-non-blocking): Make it an obsolete function.
2906         (dbus-unregister-object, dbus-unregister-service)
2907         (dbus-handle-event, dbus-register-property)
2908         (dbus-property-handler): Obey the new structure of
2909         `bus-registered-objects'.
2910         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
2911         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2912         Use `dbus-call-method'.
2914 2012-04-22  Chong Yidong  <cyd@gnu.org>
2916         * cus-edit.el (custom-commands, custom-reset-menu)
2917         (Custom-reset-standard): Tweak labels.
2918         (custom-reset-button-menu): Change default to t.
2919         (custom-buffer-create-internal): For the custom-reset-button-menu
2920         case, put the revert button first.
2921         (custom-group-subtitle): New face.
2922         (custom-group-value-create): Align docstring to a specific column.
2924         * wid-edit.el (widget-documentation-link-add): Don't handle
2925         indentation in this function.
2926         (widget-documentation-string-indent-to): New function.
2927         (widget-documentation-string-value-create): Use it.
2929         * autorevert.el (auto-revert):
2930         * epg-config.el (epg):
2931         * ibuffer.el (ibuffer):
2932         * mpc.el (mpc):
2933         * ses.el (ses):
2934         * eshell/eshell.el (eshell):
2935         * net/ange-ftp.el (ange-ftp):
2936         * progmodes/ebnf2ps.el (postscript):
2937         * progmodes/flymake.el (flymake):
2938         * progmodes/prolog.el (prolog):
2939         * progmodes/verilog-mode.el (verilog-mode):
2940         * progmodes/which-func.el (which-func):
2941         * term/xterm.el (xterm):
2942         * textmodes/picture.el (picture):
2943         * textmodes/tildify.el (tildify):
2944         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2945         customization buffers.
2947 2012-04-22  Alan Mackenzie  <acm@muc.de>
2949         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2950         Adding a ) can hide the resulting (..) from searches.  Fix it.
2951         Bound the backward search to the position of the existing (.
2953 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
2955         * progmodes/verilog-mode.el (verilog-mode): Check whether
2956         which-func-modes is t before adding verilog-mode.
2957         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2959 2012-04-21  Leo Liu  <sdl.web@gmail.com>
2961         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2963 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
2965         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2966         filling of the last column of a table (Bug#5635).
2967         (woman-find-next-control-line): New arg, specifying an additional
2968         regexp component for the control line.
2969         (woman2-roff-buffer): Use it.
2970         (woman-break-table): New function.
2971         (woman2-TS): Use it.
2973 2012-04-21  Chong Yidong  <cyd@gnu.org>
2975         * woman.el (woman-set-buffer-display-table, woman-decode-region)
2976         (woman-horizontal-escapes, woman-negative-vertical-space)
2977         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2978         (WoMan-warn-ignored): Use ?\s instead of ?\ .
2980 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2982         * minibuffer.el (completion-file-name-table): Complete user names.
2984 2012-04-20  Leo Liu  <sdl.web@gmail.com>
2986         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2987         and pcase-let*.
2989 2012-04-20  Chong Yidong  <cyd@gnu.org>
2991         * server.el (server-execute): Respect initial-buffer-choice if it
2992         is a string and there are no files to open (Bug#2825).
2993         (server-create-window-system-frame, server-create-tty-frame):
2994         Don't switch buffers here.
2995         (server-process-filter): Only try to open a window system frame if
2996         compiled with graphical support (Bug#8314).
2998 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
3000         * battery.el (battery-echo-area-format): Display remaining time
3001         for sysfs backend too (Bug#11269).
3002         (battery-linux-sysfs): Fix conditional for the charge.
3004 2012-04-20  Chong Yidong  <cyd@gnu.org>
3006         * progmodes/gdb-mi.el (gdb): Revert previous change.
3007         (gdb-inferior-io--init-proc): New function.
3008         (gdb-init-1): Use it.
3009         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3010         responsible for allocating a new pty and hooking it to gdb when
3011         the old pty gets an EIO due to process exit.
3012         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
3013         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3014         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3016 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3018         * window.el (window-min-size, window-sizable, window-min-delta)
3019         (window-max-delta, window--resizable, window-resizable)
3020         (window-total-size, window-full-height-p, window-full-width-p)
3021         (window-in-direction, window--resize-mini-window, window-resize)
3022         (window--resize-child-windows-normal)
3023         (window--resize-child-windows, window--resize-siblings)
3024         (window--resize-this-window, adjust-window-trailing-edge)
3025         (enlarge-window, shrink-window): Doc fixes.
3027 2012-04-20  Chong Yidong  <cyd@gnu.org>
3029         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3030         New function to call delete-process on the gdb-inferior buffer's pty.
3031         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3032         pty process (Bug#11273).
3033         (gdb-update): New arg to suppress talking to the gdb process.
3034         (gdb-done-or-error): Use it.
3035         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3036         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3037         sentinel not being called.
3039         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3041         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3043 2012-04-20  Glenn Morris  <rgm@gnu.org>
3045         * net/network-stream.el (open-network-stream): Doc fix.
3047 2012-04-20  Chong Yidong  <cyd@gnu.org>
3049         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3051 2012-04-20  Alan Mackenzie  <acm@muc.de>
3053         Ensure searching for keywords is case sensitive.
3055         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3056         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3057         (c-defun-name, c-mark-function, c-cpp-define-name)
3058         (c-comment-indent, c-scan-conditionals, c-indent-defun)
3059         (c-context-line-break): Bind case-fold-search to nil.
3061         * progmodes/cc-mode.el (c-font-lock-fontify-region):
3062         Bind case-fold-search to nil.
3064 2012-04-20  Chong Yidong  <cyd@gnu.org>
3066         * mail/sendmail.el (mail-bury): Call return action with the right
3067         Rmail buffer (Bug#11242).
3069         * server.el (server-process-filter): Handle corner case where both
3070         tty and nowait options are present (Bug#11102).
3072 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3074         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3075         (top level): Put into the executable the ident-style '$Id:' tag on
3076         windows-nt as well.
3078 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3080         * electric.el (electric-indent-post-self-insert-function): Check that
3081         electric-indent-mode is enabled in current buffer.
3083 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3085         * imenu.el (imenu-progress-message): Restore; it is "used" in
3086         erc/erc-imenu.el and net/snmp-mode.el.
3088 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3090         * avoid.el (mouse-avoidance-mode): Mark unused arg.
3091         (mouse-avoidance-nudge-mouse): Remove unused binding.
3093         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3095         * descr-text.el (describe-char):
3096         * progmodes/python.el (python-describe-symbol):
3097         Don't call `toggle-read-only', set `buffer-read-only'.
3099         * imenu.el (imenu-default-goto-function): Mark unused args.
3100         (imenu-progress-message): Remove obsolete macro; all callers changed.
3102         * subr.el (keymap-canonicalize): Remove unused binding.
3103         (read-passwd): Mark unused arg.
3105         * tutorial.el (tutorial--display-changes): Remove unused binding.
3106         (tutorial--save-tutorial-to): Remove unused variable.
3108         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3109         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3110         (package-generate-autoloads, package-menu--generate)
3111         (package-menu--find-upgrades): Remove unused bindings.
3113         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3114         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
3115         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3116         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3117         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3118         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3119         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3120         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3121         (cua-delete-char-rectangle): Mark unused args.
3122         (cua-align-rectangle): Remove unused binding.
3124         * mail/rmail.el (compilation--message->loc)
3125         (epa--find-coding-system-for-mime-charset): Declare.
3127         * net/dbus.el (dbus-register-service): Declare.
3128         (dbus-name-owner-changed-handler): Remove unused binding.
3130         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3131         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3132         (nxml-scan-backward-within): Mark unused arg.
3133         (nxml-dynamic-markup-word): Remove unused binding.
3135         * mouse.el (mouse-menu-major-mode-map):
3136         * emacs-lisp/authors.el (authors-scan-change-log)
3137         (authors-add-to-author-list):
3138         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3139         * emacs-lisp/smie.el (smie-auto-fill):
3140         * mail/sendmail.el (mail-bury):
3141         * mail/unrmail.el (unrmail):
3142         * net/tls.el (open-tls-stream):
3143         * textmodes/picture.el (picture-mouse-set-point):
3144         Remove unused bindings.
3146 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
3148         * net/tramp.el (tramp-action-password): Let-bind
3149         `enable-recursive-minibuffers' to t.
3151 2012-04-18  Sam Steingold  <sds@gnu.org>
3153         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3154         instead of 'string to accommodate values like [f11].
3155         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3156         * progmodes/gdb-mi.el: Likewise.
3158 2012-04-18  Leo Liu  <sdl.web@gmail.com>
3160         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3161         current buffer.
3162         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3163         LOCAL is nil.
3165 2012-04-18  Chong Yidong  <cyd@gnu.org>
3167         * simple.el (line-move): Use forward-line if in batch mode
3168         (Bug#11053).
3170 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
3172         * files.el (after-find-file): Do not try to add a final newline if
3173         the buffer is read-only (Bug#11156).
3175 2012-04-17  Richard Stallman  <rms@gnu.org>
3177         * mail/rmail.el (rmail-start-mail):
3178         Pass (rmail-mail-return...) for the return-action.
3179         Pass (rmail-yank-current-message...) for the yank-action.
3180         (rmail-yank-current-message): New function.
3181         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3182         (rmail-reply): Likewise.
3183         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3185         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3186         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
3187         buffer, not newbuf.
3189 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
3191         * server.el (server-ensure-safe-dir): Simplify.
3193 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3195         * emacs-lisp/smie.el: Provide smarter auto-filling.
3196         (smie-auto-fill): New function.
3197         (smie-setup): Use it.
3199         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3201 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
3203         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3204         (comment-indent): Use it.
3206 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3208         * ses.el: The overall change is to add cell renaming, that is
3209         setting fancy names for cell symbols other than name matching
3210         "\\`[A-Z]+[0-9]+\\'" regexp .
3211         (ses-localvars): Add ses--renamed-cell-symb-list.
3212         (ses-create-cell-variable): New defun.
3213         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3214         (ses-relocate-formula): Relocate formulas only for cells the
3215         symbols of which are not renamed, i.e. symbols whose names do not
3216         match regexp "\\`[A-Z]+[0-9]+\\'".
3217         (ses-relocate-all): Relocate values only for cells the symbols of
3218         which are not renamed.
3219         (ses-load): Create cells variables as the (ses-cell ...) are read,
3220         in order to check row col consistency with cell symbol name only
3221         for cells that are not renamed.
3222         (ses-replace-name-in-formula): New defun.
3223         (ses-rename-cell): New defun.
3225 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
3227         * progmodes/perl-mode.el (perl-indent-parens-as-block):
3228         New option (bug#11118).
3229         (perl-calculate-indent): Respect it.
3231 2012-04-17  Glenn Morris  <rgm@gnu.org>
3233         * dired-aux.el (dired-mark-read-string): Doc fix.
3235 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
3237         * dired-aux.el (dired-mark-read-string): Offer optional completion.
3238         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
3240 2012-04-17  Glenn Morris  <rgm@gnu.org>
3242         * mouse.el (mouse-drag-track):
3243         * speedbar.el (speedbar-frame-mode):
3244         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3246 2012-04-16  Leo Liu  <sdl.web@gmail.com>
3248         * progmodes/python.el: Trivial cleanup.
3250 2012-04-16  Glenn Morris  <rgm@gnu.org>
3252         * vc/vc.el (vc-string-prefix-p):
3253         * vc/pcvs-util.el (cvs-string-prefix-p):
3254         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3255         * mpc.el (mpc-string-prefix-p):
3256         Make all of these into obsolete aliases for string-prefix-p.
3257         Update callers.
3258         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3260         * textmodes/two-column.el: Move custom options to the start.
3261         (frame-width): Remove compat definition.
3262         (2C-associate-buffer, 2C-dissociate):
3263         Use with-current-buffer rather than save-excursion.
3264         (2C-dissociate): Force a mode-line update.
3265         (2C-autoscroll): Use ignore-errors.
3267         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3268         Autoload trivia.
3270         * emacs-lisp/cl-extra.el (*random-state*):
3271         Remove unnecessary declaration.
3273         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3275         * play/cookie1.el (cookie-snarf):
3276         Give an explicit error if input file cannot be read.
3278         * play/yow.el (yow-file): Use expand-file-name rather than concat.
3280         * progmodes/perl-mode.el (c-macro-expand):
3281         Remove unnecessary autoload (it is in loaddefs.el).
3283         * textmodes/picture.el (picture-desired-column)
3284         (picture-update-desired-column): Convert comments to doc-strings.
3285         (picture-substitute): Remove function.
3286         (picture-mode-map): Initialize in the defvar.
3288         * woman.el: Remove eval-after-load for tar-mode.
3289         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3290         (woman-tar-extract-file): Autoload it.
3292         * frame.el (automatic-hscrolling): Make this alias obsolete.
3294 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3296         * ispell.el (ispell-set-spellchecker-params): Post-process
3297         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3298         (ispell-dictionary-base-alist): Revert to original XEmacs
3299         friendly version for default.  [:alpha:] will be added in
3300         `ispell-set-spellchecker-params' if needed
3302 2012-04-16  Chong Yidong  <cyd@gnu.org>
3304         * image.el (imagemagick--extension-regexp): New variable.
3305         (imagemagick-register-types): Use it.
3306         (imagemagick-types-inhibit): Add :set function.  Allow new value
3307         of t to inhibit all types.
3309         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3310         so we can preload it.
3312         * loadup.el (fboundp): Preload regexp-opt, needed by
3313         imagemagick-register-types.
3315 2012-04-15  Chong Yidong  <cyd@gnu.org>
3317         * frame.el (scrolling): Remove nearly unused customization group.
3319         * scroll-all.el (scroll-all-mode): Move to windows group.
3321 2012-04-15  Chong Yidong  <cyd@gnu.org>
3323         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3325 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3327         Avoid the use of ((lambda ...) ...) in lexical-binding code.
3328         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3330 2012-04-15  Glenn Morris  <rgm@gnu.org>
3332         * simple.el (process-file-side-effects): Doc fix.
3334 2012-04-15  Glenn Morris  <rgm@gnu.org>
3336         * international/mule-cmds.el (set-language-environment): Doc fix.
3338 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
3340         * server.el (server-auth-key, server-generate-key): Doc fixes.
3341         (server-get-auth-key): Doc fix.  Use `string-match-p'.
3342         (server-start): Reflow docstring.
3344 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
3346         * server.el (server-generate-key): `called-interactively-p'
3347         requires a parameter.
3349 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
3351         * server.el (server-auth-key): New variable.
3352         (server-generate-key, server-get-auth-key): New function.
3353         (server-start): Use the new variable and functions to allow
3354         setting a permanent server key (bug#9423).
3356 2012-04-14  Leo Liu  <sdl.web@gmail.com>
3358         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3360 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
3362         Spelling fixes.
3363         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3364         Emacs uses American spelling.
3366 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
3368         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3369         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
3370         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3371         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
3373 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3375         * progmodes/which-func.el (which-func-modes): Change default.
3377 2012-04-14  Kim F. Storm  <storm@cua.dk>
3379         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3380         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3382 2012-04-14  Chong Yidong  <cyd@gnu.org>
3384         * custom.el (custom-theme-set-variables): Doc fix.
3386 2012-04-14  Glenn Morris  <rgm@gnu.org>
3388         * international/mule.el (set-auto-coding-for-load): Doc fix.
3390 2012-04-14  Alan Mackenzie  <acm@muc.de>
3392         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3393         imenu work again for Objective C Mode.  Correct the *-index values,
3394         these having been disturbed by a previous change in 2011-08.
3396         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3397         Correct two search limits.
3399 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3401         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3403 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
3405         * international/characters.el: Fix sorting.
3407 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3409         * international/characters.el: Add more missing Latin case pairs.
3411 2012-04-14  Glenn Morris  <rgm@gnu.org>
3413         * files.el (dir-locals-set-class-variables): Doc fix.
3415 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3417         * international/characters.el: Add set-case-syntax-pair call for
3418         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3419         counterpart.  (Bug#11209)
3421         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
3423 2012-04-14  Glenn Morris  <rgm@gnu.org>
3425         * calendar/holidays.el (calendar-check-holidays): Doc fix.
3427 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3429         * textmodes/ispell.el (ispell-dictionary-base-alist):
3430         Add data for Hebrew.
3432 2012-04-14  Chong Yidong  <cyd@gnu.org>
3434         * net/rcirc.el (rcirc-cmd-quit):
3435         Revert 2012-03-18 change (Bug#11192).
3437 2012-04-14  Glenn Morris  <rgm@gnu.org>
3439         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3441 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3443         * minibuffer.el (completion-in-region-mode-map):
3444         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
3446 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
3448         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3450 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
3452         * minibuffer.el (minibuffer-local-filename-syntax): New variable
3453         to allow `C-M-f' and `C-M-b' to move to the nearest path
3454         separator (bug#9511).
3456 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
3458         * avoid.el: Require cl when compiling.  And also move the
3459         `provide' to the end.
3461 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3463         * avoid.el (mouse-avoidance-banish-position): New variable.
3464         (mouse-avoidance-banish-destination): Use it (bug#10165).
3466 2012-04-13  Leo Liu  <sdl.web@gmail.com>
3468         * progmodes/which-func.el (which-func-modes): Add objc-mode.
3470 2012-04-13  Ken Brown  <kbrown@cornell.edu>
3472         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3473         this is no longer needed now that cygstart understands file:// URLs.
3474         (browse-url-filename-alist): For the same reason, don't modify
3475         file:// URLs on Cygwin.
3477 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3479         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3480         the region on shift if the binding is already shifted (bug#11221).
3482 2012-04-12  Glenn Morris  <rgm@gnu.org>
3484         * mail/mailpost.el: Move to obsolete/.
3486 2012-04-12  Drew Adams  <drew.adams@oracle.com>
3488         * imenu.el (imenu--generic-function): Ignore invisible definitions
3489         (bug#10123).
3491 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
3493         * hexl.el (hexl-bits): New variable.
3494         (hexl-options): Mention the variable in the doc string.
3495         (hexl-rulerise, hexl-line-displen): New functions.
3496         (hexl-mode): Mention the new variable.
3497         (hexl-mode, hexl-current-address, hexl-current-address):
3498         Use the displen.
3499         (hexl-ascii-start-column): New function.
3500         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3501         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3503 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3505         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3506         '("-i" ENCODING), in 2 separate command-line arguments, to specify
3507         the encoding, as expected by hunspell.
3509 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3511         * battery.el (battery--linux-sysfs-regexp): New const.
3512         (battery-status-function): Use it.  Remove yeeloong special case.
3513         (battery-yeeloong-sysfs): Remove.
3514         (battery-echo-area-format): Remove yeeloong special case.
3516 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3518         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3519         Reported by Noah Friedman.
3521         * subr.el (read-passwd): Use read-string.
3523 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3525         * vcursor.el (vcursor-move): Increase the priority of the overlay
3526         (bug#9663).
3528 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3530         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3531         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3533 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
3535         * textmodes/artist.el (artist-mode): Convert artist-mode to use
3536         define-minor-mode (bug#10760).
3538 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
3540         * progmodes/grep.el (rgrep): Tweak the find command line so
3541         that directories matching `grep-find-ignored-files' won't be
3542         pruned (bug#10351).
3544 2012-04-11  Chong Yidong  <cyd@gnu.org>
3546         * startup.el (command-line): Remove support for long-obsolete
3547         variable font-lock-face-attributes.
3549 2012-04-11  Glenn Morris  <rgm@gnu.org>
3551         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3553 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3555         * window.el (window--state-get-1): Obey window-point-insertion-type.
3557 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
3559         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3560         to previous function when point is on the first character of a
3561         function.  Take care of that in `narrow-to-defun' (bug#6157).
3563 2012-04-11  Glenn Morris  <rgm@gnu.org>
3565         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3566         not just file-errors.
3568         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3569         (vc-bzr-sha1): Use internal sha1.
3571 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3573         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3575 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
3577         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3578         that start in the middle of the line (bug#10496).
3580 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
3582         * battery.el (battery-linux-proc-acpi): Only one battery is
3583         discharged at a time, but that seems to confuse battery.el when
3584         computing `rate-type' for the battery not being discharged
3585         (bug#10332).
3587 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3589         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3591         * international/quail.el: Use dolist and simplify.
3592         (quail-define-package, quail-update-keyboard-layout)
3593         (quail-define-rules): Use dolist.
3594         (quail-insert-kbd-layout, quail-get-translation): CSE.
3596         * tmm.el: Use dolist, remove left over hook.
3597         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3598         Use dolist.
3599         (calendar-load-hook): Don't mess with it.
3601         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3602         Use derived-mode-p.  Run the diff asynchronously.
3604 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3606         * obsolete/mouse-sel.el: Add an Obsolete-since header.
3608 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
3610         * misc.el: Display absolute path of loaded DLLs (bug#10424).
3611         (list-dynamic-libraries--loaded): New function.
3612         (list-dynamic-libraries--refresh): Use it.
3614 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
3616         * progmodes/python.el (python-fill-paragraph):
3617         Make python-fill-region in a multiline string work when font-lock is
3618         disabled (bug#7018).
3620 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
3622         * language/european.el (cp775): Add oem/legacy (en)coding on
3623         DOS/MS Windows for the Baltic languages.  There are still plenty
3624         of texts written in this encoding/codepage (bug#6519).
3626 2012-04-10  Glenn Morris  <rgm@gnu.org>
3628         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3629         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3631 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
3633         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3634         next-line "n" and previous-line "p" in order to make recentf more
3635         consistent with ibuffer, dired or org-mode (bug#9387).
3637 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3639         * image.el (put-image): Return the overlay created instead of the
3640         optional input string (bug#7834).  Note that this may break code
3641         that is (for some reason or other) depending on `put-image'
3642         returning the string.
3644         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3646         * simple.el (zap-to-char): Allow zapping using input methods
3647         (bug#1580).
3649         * textmodes/fill.el (fill-region): Leave point and mark where they
3650         were before filling (bug#5399).
3652 2012-04-09  Glenn Morris  <rgm@gnu.org>
3654         * version.el (emacs-bzr-get-version):
3655         Handle lightweight checkouts of local branches.
3657 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
3659         * international/characters.el: Recover lost case pairs.  (Bug#11209)
3661 2012-04-09  Chong Yidong  <cyd@gnu.org>
3663         * custom.el (custom-variable-p): Return nil for non-symbol
3664         arguments instead of signaling an error.
3665         (user-variable-p): Obsolete alias for custom-variable-p.
3667         * apropos.el (apropos-variable):
3668         * files-x.el (read-file-local-variable):
3669         * simple.el (set-variable):
3670         * woman.el (woman-mini-help):
3671         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3673 2012-04-09  Glenn Morris  <rgm@gnu.org>
3675         * startup.el (normal-top-level): Don't look for leim-list.el
3676         in places where it will not be found.  (Bug#910)
3678         * international/mule-cmds.el (set-default-coding-systems):
3679         * files.el (normal-mode):
3680         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
3681         This function was removed with ucs-tables.el in 2008.
3683 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
3685         * textmodes/ispell.el (ispell-check-version): For hunspell, set
3686         ispell-encoding8-command to "-i", without a trailing space.
3687         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3688         separate command-line arguments, to specify the encoding, since
3689         that's how hunspell expects it.
3691 2012-04-08  Glenn Morris  <rgm@gnu.org>
3693         * loadup.el: Load bindings before cus-start.
3694         This reduces somewhat the number of "rogue" settings in emacs -Q.
3696 2012-04-07  Glenn Morris  <rgm@gnu.org>
3698         * version.el (emacs-bzr-get-version): New function.
3699         (emacs-bzr-version): New variable.
3700         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
3701         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3703 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
3705         * international/uni-bidi.el, international/uni-category.el:
3706         * international/uni-combining.el, international/uni-decimal.el:
3707         * international/uni-decomposition.el, international/uni-digit.el:
3708         * international/uni-lowercase.el, international/uni-mirrored.el:
3709         * international/uni-name.el, international/uni-numeric.el:
3710         * international/uni-titlecase.el, international/uni-uppercase.el:
3711         Update for Unicode 6.1.
3713 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
3715         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3717 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3719         * window.el (shrink-window): Mention the `window-min-height'
3720         variable in the doc string.
3722 2012-04-05  Bastien Guerry  <bzg@altern.org>
3724         * color.el (color-lighten-name): Fix typo.
3726 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3728         * server.el (server--on-display-p): New function.
3729         (server--on-display-p): Use it.
3731 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
3733         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3734         (bug#11145).
3736 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3738         * comint.el (comint--common-quoted-suffix): Check string boundary
3739         before comparing (bug#11158).
3740         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3742 2012-04-04  Chong Yidong  <cyd@gnu.org>
3744         * minibuffer.el (completion-extra-properties): Doc fix.
3746         * subr.el (delayed-warnings-hook): Doc fix.
3748 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
3750         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3751         selection (Bug#11159).
3752         (epa-insert-keys): Inform that the default public key will be
3753         exported if no key is selected.
3755 2012-04-04  Richard Stallman  <rms@gnu.org>
3757         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3759 2012-04-03  Chong Yidong  <cyd@gnu.org>
3761         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3762         mail-insert-file, not its obsolete alias mail-attach-file.
3764 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
3766         * notifications.el (notifications-notify): Fix docstring.
3768 2012-04-02  Glenn Morris  <rgm@gnu.org>
3770         * emacs-lisp/authors.el (authors-aliases): Another addition.
3772 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
3774         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3775         `tramp-compat-call-process' instead of `tramp-local-call-process'.
3776         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3778 2012-04-01  Chong Yidong  <cyd@gnu.org>
3780         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3781         Handle root directory properly.
3782         (copy-directory): Caller changed.
3784         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3785         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3787 2012-03-31  Glenn Morris  <rgm@gnu.org>
3789         * term/xterm.el (xterm-extra-capabilities): Doc fix.
3791         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
3793         * calendar/calendar.el (calendar-window-list)
3794         (calendar-hide-window): Restore.  (Bug#11140)
3795         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3797         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3799 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3801         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3802         Check if file is a symlink (Bug#10489).
3804         * files.el (copy-directory): Likewise.
3806 2012-03-30  Chong Yidong  <cyd@gnu.org>
3808         * image.el (imagemagick-types-inhibit)
3809         (imagemagick-register-types): Doc fix.
3811 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3813         * ispell.el (ispell-get-extended-character-mode):
3814         Disable extended-char-mode for hunspell.  hunspell does not support it
3815         and treats ~word as ordinary words in pipe mode.
3817 2012-03-30  Glenn Morris  <rgm@gnu.org>
3819         * tutorial.el (help-with-tutorial): Ensure local variables don't
3820         happen to make the buffer read-only.  (Bug#11127)
3822 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3824         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3825         (perl-calculate-indent): Return `noindent' in strings.
3827 2012-03-28  Sam Steingold  <sds@gnu.org>
3829         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3830         instead of the broken adhockery which does not prevent calendar
3831         buffers from being displayed at random after exit.
3832         (calendar-window-list, calendar-hide-window): Remove the broken
3833         adhockery.
3835 2012-03-28  Glenn Morris  <rgm@gnu.org>
3837         * replace.el (query-replace-map): Doc fix.
3839 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
3841         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3842         contents.  (Bug#11109)
3844 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3846         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3847         (bug#11077).
3848         (avl-tree--check, avl-tree--check-node): New funs.
3850 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
3852         * window.el (switch-to-visible-buffer): New option.
3853         (switch-to-prev-buffer, switch-to-next-buffer):
3854         Observe switch-to-visible-buffer.  Make sure that checking for a window
3855         showing a buffer already is done on the same frame.
3857 2012-03-27  Glenn Morris  <rgm@gnu.org>
3859         * startup.el (mail-host-address): Doc fix.
3861 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3863         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3864         than 197 variables.
3866 2012-03-26  Ami Fischman  <ami@fischman.org>
3868         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3870 2012-03-26  Glenn Morris  <rgm@gnu.org>
3872         * files.el (save-buffers-kill-emacs): Doc fix.
3874         * startup.el (normal-top-level, command-line, command-line-1):
3875         Give them doc strings.
3877 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
3879         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3880         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3882 2012-03-25  Chong Yidong  <cyd@gnu.org>
3884         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3885         theme if it was previously enabled before (Bug#11031).
3887         * cus-theme.el (custom-theme-write-faces): Retrieve current face
3888         spec with custom-face-get-current-spec if its :shown-value is not
3889         determined yet (Bug#9337).
3890         (customize-create-theme, custom-theme-revert): Doc fixes.
3892         * button.el (button-at): Minor addition to docstring.
3894 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
3896         * vc/vc.el (vc-merge): Fix a prompt.
3898 2012-03-24  Chong Yidong  <cyd@gnu.org>
3900         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3901         point (Bug#9623).
3903         * button.el (button-at): Minor addition to docstring.
3905 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3907         * newcomment.el (comment-choose-indent): No space after BOL.
3909 2012-03-22  Sam Steingold  <sds@gnu.org>
3911         * window.el (switch-to-prev-buffer): Revert last patch because the
3912         bug turned out to be an advertised feature (Elisp manual 28.14).
3914 2012-03-22  Glenn Morris  <rgm@gnu.org>
3916         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
3917         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3919 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3921         * net/network-stream.el (network-stream-open-starttls): Make error
3922         message under Windows be less misleading.
3924 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
3926         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3927         understands (bug#9942).
3929 2012-03-22  Chong Yidong  <cyd@gnu.org>
3931         * simple.el (end-of-visible-line): Handle return value of
3932         next-single-property-change properly (Bug#9371).
3934 2012-03-22  Kenichi Handa  <handa@m17n.org>
3936         * international/quail.el (quail-insert-kbd-layout): Fix previous
3937         change.  To avoid unwanted bidi reordering, use
3938         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3940 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
3942         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3943         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3944         (ruby-beginning-of-indent): Be more careful with the difference
3945         between word-boundary and symbol boundary.
3946         (ruby-mode-syntax-table): Make : a symbol constituent.
3948 2012-03-21  Andreas Politz  <politza@fh-trier.de>
3950         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3952 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3954         * progmodes/etags.el (tags-completion-at-point-function):
3955         Improve last fix.
3957         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3959 2012-03-21  Sam Steingold  <sds@gnu.org>
3961         * progmodes/etags.el (tags-completion-at-point-function):
3962         Avoid the error when point is inside the pattern.
3964 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
3966         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3967         line (Bug#10855).
3969 2012-03-21  Drew Adams  <drew.adams@oracle.com>
3971         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3973 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
3975         * ido.el (ido-set-current-directory, ido-read-internal)
3976         (ido-choose-completion-string, ido-completion-help): Handle nil
3977         value of ido-completion-buffer (Bug#11008).
3979 2012-03-21  Sam Steingold  <sds@gnu.org>
3981         * window.el (switch-to-prev-buffer): Do not switch to a visible
3982         window previous buffer, just like with the frame previous buffers.
3984 2012-03-21  Chong Yidong  <cyd@gnu.org>
3986         * faces.el (make-face, make-empty-face, copy-face):
3987         * face-remap.el (face-remap-add-relative, face-remap-set-base):
3988         Doc fixes.
3990 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3992         * wid-edit.el (widget-complete-field): Remove (bug#11051).
3993         (widget-complete): Remove broken use of it.
3995 2012-03-20  Chong Yidong  <cyd@gnu.org>
3997         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3998         Use string-width and truncate-string-width to handle arbitrary
3999         characters.
4001 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
4003         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4004         to draw rectangles, not squares.  (Regression introduced by revno
4005         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4007 2012-03-18  Chong Yidong  <cyd@gnu.org>
4009         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4010         it is not yet defined (for temacs).
4012 2012-03-18  Leo Liu  <sdl.web@gmail.com>
4014         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4016 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
4018         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4019         (ispell-choices-win-default-height, ispell-silently-savep)
4020         (ispell-dictionary-alist, ispell-encoding8-command)
4021         (ispell-check-version, ispell-aspell-find-dictionary)
4022         (ispell-valid-dictionary-list, ispell-words-keyword)
4023         (ispell-get-word, ispell-internal-change-dictionary)
4024         (ispell-region, ispell-skip-region-list)
4025         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4026         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4027         (ispell-message-text-end, ispell-message)
4028         (ispell-buffer-local-parsing): Doc fix.
4030 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
4032         * htmlfontify.el: Add support for code block fontification for ODT
4033         export (Bug #9914).
4034         (hfy-optimisations): Define new option
4035         `body-text-only'
4036         (hfy-fontify-buffer): Honor above setting.
4037         (hfy-begin-span, hfy-end-span): New routines factored out form
4038         `hfy-fontify-buffer'.
4039         (hfy-begin-span-handler, hfy-end-span-handler): New variables
4040         that permit insertion of custom tags.
4041         (hfy-fontify-buffer): Use above handlers.
4042         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4043         (hfy-face-to-css): Re-defined to be a variable.
4044         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
4045         over multiple runs.  This is made possible by having the caller let
4046         bind a special variable `hfy-user-sheet-assoc'.
4047         (htmlfontify-string): New defun.
4048         (hfy-compile-face-map): Make sure that the last char in the
4049         buffer is correctly fontified.
4050         (hfy-face-resolve-face): Whitespace only change.
4052 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
4054         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4055         message more clear.
4057 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4059         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4061 2012-03-16  Alan Mackenzie  <acm@muc.de>
4063         Further optimise the handling of large macros.
4065         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4066         limit to a call of `c-literal-limits'.
4067         (c-determine-+ve-limit): New function.
4068         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4069         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4070         In CASE 5B, restrict a search limit to 500.
4071         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4073         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4074         Restrict macro bounds to +-500 from after-change's BEG END.
4076 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4078         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4080 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
4082         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4083         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
4085 2012-03-16  Glenn Morris  <rgm@gnu.org>
4087         * view.el (view-buffer, view-buffer-other-window)
4088         (view-buffer-other-frame): Doc fixes re special mode-class.
4090         * subr.el (eval-after-load): If named feature is provided not from
4091         a file, run after-load forms.  (Bug#10946)
4093         * calendar/calendar.el (calendar-insert-at-column):
4094         Handle non-unit-width characters a bit better.  (Bug#10978)
4096 2012-03-15  Chong Yidong  <cyd@gnu.org>
4098         * emacs-lisp/ring.el (ring-extend): New function.
4099         (ring-insert+extend): Extend the ring correctly (Bug#11019).
4101         * comint.el (comint-read-input-ring)
4102         (comint-add-to-input-history): Grow comint-input-ring lazily.
4104 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4106         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4107         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4109         * imenu.el: Fix multiple inheritance breakage (bug#9199).
4110         (imenu-add-to-menubar): Don't add a redundant index.
4111         (imenu-update-menubar): Handle a dynamically composed keymap.
4113 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
4115         * mail/sendmail.el (mail-encode-header):
4116         Bind rfc2047-encode-encoded-words to nil.
4118 2012-03-13  Glenn Morris  <rgm@gnu.org>
4120         * calendar/calendar.el (calendar-string-spread):
4121         Handle non-unit-width characters a bit better.  (Bug#10978)
4123 2012-03-13  Leo Liu  <sdl.web@gmail.com>
4125         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4126         directory and file as argument (Bug#10822).
4128 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
4130         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4131         For dynamically generated code, follow $PC.
4132         (gdb-disassembly-handler-custom): Handle no function name case.
4134 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
4136         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4137         * emulation/ws-mode.el (ws-query-replace):
4138         * sort.el (sort-regexp-fields):
4139         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
4141 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4143         * dabbrev.el: Fix cycle completion order (bug#10963).
4144         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4145         (dabbrev-completion): Don't use an obarray; provide
4146         a cycle-sort-function.
4148 2012-03-12  Leo Liu  <sdl.web@gmail.com>
4150         * simple.el (kill-new): Use equal-including-properties for comparison.
4151         (kill-do-not-save-duplicates): Doc fix.
4153 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4155         * dabbrev.el: Fix cycle completion (bug#10963).
4156         Use lexical binding and wrap to 80 columns.
4157         (dabbrev-completion): Delay computing the list of completions.
4159 2012-03-12  Kenichi Handa  <handa@m17n.org>
4161         * international/quail.el (quail-insert-kbd-layout): Surround each
4162         row by LRO and PDF instead of inserting many LRMs.  Pad the left
4163         and right of each non-spacing marks.  Insert invisible space
4164         between lower and upper characters to prevent composition.
4166 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4168         * minibuffer.el (minibuffer-complete): Don't get confused when the
4169         function is run twice via different commands (bug#10958).
4170         (complete-with-action): Fix docstring.
4172 2012-03-12  Chong Yidong  <cyd@gnu.org>
4174         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4175         (nxml-completion-at-point-function): New function.
4176         (nxml-mode): Use it.
4177         (nxml-bind-meta-tab-to-complete-flag): Default to t.
4179         * emacs-lisp/package.el (package-unpack, package-unpack-single):
4180         Load generated autoloads file before byte compiling (Bug#10970).
4181         (package--make-autoloads-and-compile): New helper fun.
4183 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
4185         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4187 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
4189         * autorevert.el (auto-revert-handler): Ensure, that
4190         file-readable-p is applied only for local files or in
4191         auto-revert-tail-mode.
4193 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
4195         * server.el (server-eval-at): Handle non-tcp connections.
4196         Decode result string.
4198         * server.el (server-msg-size): New constant.
4199         (server-reply-print): New function.
4200         (server-eval-and-print): Use it.
4201         (server-eval-at): Use server-quote-arg and server-unquote-arg.
4202         Handle -print-nonl.
4204 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
4206         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4207         (Bug#10987).
4209 2012-03-11  Chong Yidong  <cyd@gnu.org>
4211         * simple.el (goto-line): Doc fix (Bug#9938).
4213         * subr.el (save-window-excursion): Doc fix (Bug#9979).
4215         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4216         when finished (Bug#10963).
4218 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
4220         * window.el (split-window-below): Fix bug in case where
4221         split-window-keep-point is nil (Bug#10971).
4223 2012-03-11  Juri Linkov  <juri@jurta.org>
4225         * replace.el (replace-highlight): Set isearch-word to nil
4226         unconditionally.  (Bug#10887)
4228 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
4230         * net/mairix.el (mairix-replace-invalid-chars): Rename from
4231         mairix-replace-illegal-chars; all callers changed.  Don't remove
4232         ^, ~, and = characters: they are meaningful in mairix search specs.
4233         (mairix-widget-create-query): Add usage information about mairix
4234         search forms: negating words, searching for substrings, etc.
4236 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
4238         * international/fontset.el (font-encoding-alist): Add an entry for
4239         ksx1001 (Bug#5667).
4241 2012-03-10  Richard Stallman  <rms@gnu.org>
4243         * mail/sendmail.el (mail-encode-header):
4244         Set rfc2047-encode-encoded-words.
4246         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4248         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4249         view buffer means not swapped.
4250         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4251         (rmail-write-region-annotate): Error if real text has disappeared.
4253         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4255 2012-03-10  Chong Yidong  <cyd@gnu.org>
4257         * emulation/cua-rect.el (cua--init-rectangles):
4258         * emulation/cua-base.el (cua--init-keymaps):
4259         Add delete-forward-char to remappings (Bug#9666).
4261 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
4263         * speedbar.el (speedbar-unhighlight-one-tag-line):
4264         Avoid unhighlighting due to frame switching (Bug#10275).
4266 2012-03-10  Chong Yidong  <cyd@gnu.org>
4268         * minibuffer.el (completion-in-region, completion-help-at-point):
4269         Give the completion field overlay a high priority (Bug#6830).
4271         * dired.el (dired-goto-file): Recognize absolute file name
4272         listings (Bug#7126).
4273         (dired-goto-file-1): New helper function.
4274         (dired-toggle-read-only): Inhibit warnings.
4276 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
4278         * net/dbus.el (dbus-property-handler): Return empty array if
4279         there are no properties.
4281 2012-03-09  Leo Liu  <sdl.web@gmail.com>
4283         * savehist.el (savehist-printable): Stricter check for string
4284         value (Bug#10937).
4286 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
4288         * mail/smtpmail.el (smtpmail-send-it):
4289         Bind coding-system-for-write to *-unix, so that FCC files are kept in
4290         valid mbox format.
4292 2012-03-09  Glenn Morris  <rgm@gnu.org>
4294         * files.el (dir-locals-find-file):
4295         Don't check result is regular, readable.
4296         (dir-locals-read-from-file): Demote errors.
4298 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
4300         * international/quail.el (quail-insert-kbd-layout):
4301         Insert invisible LRM characters before each character in a keyboard
4302         layout cell, to prevent their reordering by bidi display engine.
4303         For details, see the discussion in
4304         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4306 2012-03-08  Alan Mackenzie  <acm@muc.de>
4308         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4309         the starting position; make it extend the marked region when
4310         invoked repeatedly - all under appropriate circumstances.
4311         Fixes bugs #5525, #10906.
4313 2012-03-08  Glenn Morris  <rgm@gnu.org>
4315         * files.el (locate-dominating-file, dir-locals-find-file):
4316         Undo 2012-03-06 change.
4318 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
4320         * international/quail.el (quail-help):
4321         Force bidi-paragraph-direction be left-to-right.  See discussion in
4322         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4323         for the reason.
4325 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
4327         Avoid superfluous registering of signals.  (Bug#10807)
4329         * notifications.el (notifications-on-action-object)
4330         (notifications-on-close-object): New defvars.
4331         (notifications-on-action-signal, notifications-on-closed-signal):
4332         Unregister the signal if not needed any longer.
4333         (notifications-notify): Register `notifications-action-signal' or
4334         `notifications-closed-signal', if :on-action or :on-close has been
4335         passed as argument.
4337 2012-03-07  Chong Yidong  <cyd@gnu.org>
4339         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4340         non-X platforms.
4342 2012-03-06  Glenn Morris  <rgm@gnu.org>
4344         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4345         (x-disown-selection-internal, x-get-selection-internal):
4346         Doc fix (add arglist signatures).  (Bug#10783)
4348 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
4350         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4351         Handle breakpoints with no "type".
4353 2012-03-06  Glenn Morris  <rgm@gnu.org>
4355         * files.el (locate-dominating-file): Add optional predicate argument.
4356         (dir-locals-find-file): Make use of above change.
4358 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
4360         * info.el (Info-insert-dir): Also try "dir.gz".
4362 2012-03-06  Glenn Morris  <rgm@gnu.org>
4364         * files.el (dir-locals-find-file):
4365         Ignore non-readable or non-regular files.  (Bug#10928)
4367         * files.el (locate-dominating-file): Doc fix.
4369 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
4371         * calendar/calendar.el (calendar-set-mode-line):
4372         `getenv' returns a string.  (Bug#10951)
4374 2012-03-05  Leo Liu  <sdl.web@gmail.com>
4376         * simple.el (backward-delete-char-untabify): Constrain point to
4377         field (Bug#10939).
4379         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4381 2012-03-05  Chong Yidong  <cyd@gnu.org>
4383         * simple.el (count-words): If called from Lisp, return the word
4384         count, for symmetry with `count-lines'.  Arglist changed.
4385         (count-words--message): Args changed.  Consolidate counting code
4386         from count-words and count-words-region.
4387         (count-words-region): Caller changed.
4388         (count-lines-region): Make it an obsolete alias.
4390 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
4392         * saveplace.el (save-place-to-alist)
4393         (save-place-ignore-files-regexp): Allow value nil to disable this
4394         feature.
4396 2012-03-04  Chong Yidong  <cyd@gnu.org>
4398         * faces.el (face-spec-reset-face): For the default face, reset the
4399         attributes to default values (Bug#10748).
4401 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4403         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4404         previous patch: Check `message-send-mail-function', and not the
4405         default function (bug#10897).
4407 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
4409         * notifications.el (notifications-on-action-signal)
4410         (notifications-on-closed-signal): Check for unique service name of
4411         incoming event.  Fix error in removing entry.
4412         (top): Register for signals with wildcard service name.
4413         (notifications-notify): Use daemon unique service name for map entries.
4415 2012-03-04  Chong Yidong  <cyd@gnu.org>
4417         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4419 2012-03-04  Glenn Morris  <rgm@gnu.org>
4421         * abbrev.el (copy-abbrev-table, abbrev-table-p)
4422         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4423         (expand-abbrev, define-abbrev-table): Doc fixes.
4425 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4427         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4428         `message-default-send-mail-function' and not `send-mail-function'
4429         when doing the prompting for `sendmail-query-once' before sending
4430         in Message buffers (bug#10897).
4432         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4433         This is inconsistent with all the other stream functions, which leave
4434         the setting up to the higher levels (if so wanted) (bug#10931).
4436 2012-03-02  Alan Mackenzie  <acm@muc.de>
4438         Depessimize the handling of very large macros.
4440         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4441         (c-macro-cache-syntactic): New variables to implement a one
4442         element macro cache.
4443         (c-invalidate-macro-cache): New function.
4444         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4445         Adapt to use the new cache.
4446         (c-state-safe-place): Use better the cache of safe positions.
4447         (c-state-semi-nonlit-pos-cache)
4448         (c-state-semi-nonlit-pos-cache-limit):
4449         New variables for...
4450         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
4451         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4452         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4453         Use c-state-semi-safe-place.
4455         * progmodes/cc-langs.el (c-get-state-before-change-functions):
4456         Add c-invalidate-macro-cache to the C, C++, Obj entries.
4458 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
4460         * jka-compr.el (jka-compr-call-process):
4461         Apply `file-accessible-directory-p' only when the default directory is
4462         not remote.
4464 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
4466         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
4467         access of FILE2, if FILE1 does not exist.
4469         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4470         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4472         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4473         Add "PAGER=" to `process-environment'.
4475 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
4477         * progmodes/sql.el: Bug fix
4478         (sql-get-login-ext): Save login values in globals.
4479         (sql-get-login): Use new version of `sql-get-login-ext'.
4480         (sql-interactive-mode): Set global `sql-connection' to nil.
4481         (sql-connect): Set global values for connection.
4482         (sql-product-interactive): Save global values as buffer local.
4484 2012-02-29  Leo Liu  <sdl.web@gmail.com>
4486         * abbrev.el (define-abbrevs): Reset sys to nil.
4488 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4490         * files.el (file-equal-p): Rename from `files-equal-p'.
4491         Return nil when one or both files don't exist.
4492         (file-subdir-of-p): Now only top directory must exists,
4493         return nil if it doesn't.
4494         (copy-directory): No need to test with `file-subdir-of-p' after
4495         creating dir.
4496         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4497         to `file-equal-p'.
4499 2012-02-28  Glenn Morris  <rgm@gnu.org>
4501         * shell.el (shell-mode):
4502         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4503         * play/landmark.el (landmark-font-lock-face-O):
4504         * play/handwrite.el (handwrite):
4505         * play/gomoku.el (gomoku-O):
4506         * net/browse-url.el (browse-url-browser-display):
4507         * international/mule.el (define-charset):
4508         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4509         * filesets.el (filesets-find-file-delay):
4510         * eshell/em-xtra.el (eshell-xtra):
4511         * eshell/em-unix.el (eshell-grep):
4512         * emulation/viper.el (viper-mode):
4513         * emacs-lisp/regexp-opt.el (regexp-opt-group):
4514         * emacs-lisp/easymenu.el (easy-menu-define):
4515         * calendar/timeclock.el (timeclock-use-display-time):
4516         * bs.el (bs-mode):
4517         * bookmark.el (bookmark-save-flag):
4518         Doc fix (standardize possessive apostrophe usage).
4520 2012-02-27  Chong Yidong  <cyd@gnu.org>
4522         * emulation/viper-cmd.el (viper-intercept-ESC-key):
4523         Fix key-binding lookup for ESC key (Bug#9146).
4525         * font-lock.el (font-lock-specified-p): Rename from
4526         font-lock-spec-present.  Callers changed.
4528 2012-02-27  Daniel Hackney  <dan@haxney.org>
4530         * emacs-lisp/package.el (package-compute-transaction):
4531         Handle holding a package version to t in package-load-list.
4533 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
4535         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4536         (tramp-get-inode, tramp-get-device): Use cached values.
4538 2012-02-26  Alan Mackenzie  <acm@muc.de>
4540         Check there is a font-lock specification before doing initial
4541         fontification.
4543         * font-core.el (font-lock-mode): Move the conditional from
4544         :after-hook to font-lock-initial-fontify.
4545         (font-lock-default-function): Move the check for a specification
4546         to font-lock-spec-present.
4548         * font-lock.el (font-lock-initial-fontify): Call ...
4549         (font-lock-spec-present): New function.
4551 2012-02-26  Jim Blandy  <jimb@red-bean.com>
4553         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4554         (gdb-send): Apply it to the operand of the '-interpreter-exec
4555         console' command, so that we can pass arguments with (say) quotes
4556         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
4558 2012-02-26  Chong Yidong  <cyd@gnu.org>
4560         * help-fns.el (describe-function-1): Clarify description of
4561         remapping (Bug#10844).
4563         * files.el (files-equal-p): Doc fix.
4564         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
4565         and quit the loop once a mismatch is found.
4567 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
4569         * bs.el (bs--show-with-configuration): Don't throw an error
4570         if the window cannot be split; otherwise, subsequent calls to
4571         bs-show fail, restoring a stale window config.  (Bug#10882)
4573 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
4575         * term/ns-win.el (global-map): Bind ns-drag-file to
4576         ns-find-file (Bug#5855, Bug#10050).
4578 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
4580         * calendar/parse-time.el (parse-time-string): Allow extractor to
4581         return nil.
4583 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
4585         * net/tramp.el (tramp-file-name-for-operation):
4586         Add `files-equal-p' and `file-subdir-of-p'.
4588         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4589         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4590         Add COPY-CONTENTS argument.
4592 2012-02-25  Chong Yidong  <cyd@gnu.org>
4594         Add custom groups for VC backends, for consistency with vc-bzr.
4596         * vc/vc-arch.el (vc-arch):
4597         * vc/vc-cvs.el (vc-cvs):
4598         * vc/vc-git.el (vc-git):
4599         * vc/vc-hg.el (vc-hg):
4600         * vc/vc-mtn.el (vc-mtn):
4601         * vc/vc-rcs.el (vc-rcs):
4602         * vc/vc-sccs.el (vc-sccs):
4603         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4604         All relevant defcustoms reassigned.
4606 2012-02-25  Chong Yidong  <cyd@gnu.org>
4608         * newcomment.el (comment-styles): Add autoload (Bug#10868).
4610         * term/x-win.el (x-initialize-window-system): Reduce default for
4611         x-selection-timeout to 5 seconds (Bug#8869).
4613 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4615         * files.el (files-equal-p, file-subdir-of-p): New functions.
4616         (copy-directory): Error when trying to copy a directory on itself.
4617         Add missing copy-contents arg to tramp handler.
4618         * dired-aux.el (dired-copy-file-recursive): Same.
4619         (dired-create-files): Modify destination when source is equal to
4620         dest when copying files.
4621         Return also when dest is a subdir of source.  (Bug#10489)
4623 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
4625         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4626         (Bug#10874)
4628 2012-02-23  Alan Mackenzie  <acm@muc.de>
4630         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4631         parameter "after-hook:" to allow the expansion to run code after
4632         the execution of the mode hooks.
4634         * font-lock.el (font-lock-initial-fontify): New function extracted
4635         from font-lock-mode-internal.
4637         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4638         :after-hook.
4640 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4642         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4643         (completion--cache-all-sorted-completions): New function.
4644         (completion-all-sorted-completions): Use it.
4645         (completion--do-completion, minibuffer-force-complete):
4646         Use it to re-instate the flush hook.
4648         * icomplete.el (icomplete-completions): Replace last fix with a better
4649         one (bug#10850).
4651 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
4653         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4654         when it might call us back infinitely (bug#10797).
4656 2012-02-23  Glenn Morris  <rgm@gnu.org>
4658         * minibuffer.el (completion-category-overrides): Doc fix.
4660 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4662         * minibuffer.el (completion-table-with-context): Fix inf-loop.
4663         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4665 2012-02-23  Glenn Morris  <rgm@gnu.org>
4667         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4668         (authors-obsolete-files-regexps, authors-ignored-files)
4669         (authors-ambiguous-files, authors-renamed-files-alist):
4670         Add more entries.
4672 2012-02-23  Juri Linkov  <juri@jurta.org>
4674         * isearch.el (isearch-occur): Sync interactive spec with occur's
4675         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
4677         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4679 2012-02-22  Juri Linkov  <juri@jurta.org>
4681         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4682         (ucs-insert): Doc fix.  Check for hex digits in the string.
4683         Don't display `nil' in the error message.  (Bug#10857)
4685 2012-02-22  Alan Mackenzie  <acm@muc.de>
4687         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4689 2012-02-22  Glenn Morris  <rgm@gnu.org>
4691         * ffap.el (ffap-c-path):
4692         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
4694 2012-02-22  Chong Yidong  <cyd@gnu.org>
4696         * custom.el (load-theme): Doc fix.
4698 2012-02-22  Glenn Morris  <rgm@gnu.org>
4700         * dired-x.el (dired-guess-shell-alist-default):
4701         Remove escape sequences from nroff output.  (Bug#172)
4703 2012-02-21  Glenn Morris  <rgm@gnu.org>
4705         * vc/emerge.el (emerge-defvar-local):
4706         Set `permanent-local' property rather than unused `preserved'.
4708         * textmodes/picture.el (picture-delete-char): New alias.
4709         (picture-mode-map): Use it.  (Bug#10860)
4710         (picture-mode): Doc fix.
4712 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
4714         * newcomment.el (uncomment-region-default): Remove unused binding.
4716 2012-02-21  Glenn Morris  <rgm@gnu.org>
4718         * textmodes/picture.el (picture-motion, picture-motion-reverse)
4719         (picture-self-insert, picture-tab-chars): Doc fix.
4720         (picture-mode-map): Fix C-a, C-e.
4722 2012-02-20  Glenn Morris  <rgm@gnu.org>
4724         * emacs-lisp/authors.el (authors-aliases): Add another entry.
4726 2012-02-20  Leo Liu  <sdl.web@gmail.com>
4728         * icomplete.el (icomplete-completions): Check FROM arg before
4729         passing to substring (Bug#10850).
4731 2012-02-19  Chong Yidong  <cyd@gnu.org>
4733         * comint.el: Require ansi-color.
4734         (comint-output-filter-functions): Add ansi-color-process-output.
4736         * ansi-color.el: Don't set comint-output-filter-functions; it is
4737         now in the initial value defined in comint.el.
4738         (ansi-color-apply-face-function): New variable.
4739         (ansi-color-apply-on-region): Use it.
4740         (ansi-color-apply-overlay-face): New function.
4742         * shell.el (shell): No need to require ansi-color.
4743         (shell-mode): Use ansi-color-apply-face-function to highlight
4744         color escapes using font-lock-face property (Bug#10835).
4746 2012-02-19  Chong Yidong  <cyd@gnu.org>
4748         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4749         mode-line formats (Bug#10839).
4751 2012-02-18  Glenn Morris  <rgm@gnu.org>
4753         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4755         * mail/undigest.el (unforward-rmail-message): Doc fix.
4757         * saveplace.el (save-place-ignore-files-regexp): Add :version.
4759 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
4761         * international/characters.el (script-list): Sync with the latest
4762         Unicode Character Database.
4764 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
4766         * international/titdic-cnv.el: Remove duplicate coding tag.
4767         * language/cham.el: Likewise.
4768         * language/tai-viet.el: Likewise.
4770 2012-02-18  Glenn Morris  <rgm@gnu.org>
4772         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4773         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4774         (calendar-bahai-all-holidays-flag, calendar-other-dates):
4775         * calendar/diary-lib.el (diary-abbreviated-year-flag):
4776         * calendar/holidays.el (holiday-bahai-holidays)
4777         (calendar-holidays, list-holidays):
4778         Use utf-8 Bahá'í in doc-strings, menus, etc.
4780 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
4782         * saveplace.el (save-place-ignore-files-regexp): New variable
4783         allowing for excluding files from saving their location of point.
4784         The default value matches the temporary commit message editing
4785         files from Git, SVN, Bazaar, and Mercurial.
4786         (save-place-to-alist): Use it.
4788 2012-02-17  Lawrence Mitchell <wence@gmx.li>
4789             Stefan Monnier  <monnier@iro.umontreal.ca>
4791         * newcomment.el (uncomment-region-default): Don't leave extra space
4792         when an arg is provided (bug#8150).
4794 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
4796         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4798 2012-02-17  Glenn Morris  <rgm@gnu.org>
4800         * net/socks.el: Require network-stream.  (Bug#10599)
4802 2012-02-17  Kenichi Handa  <handa@m17n.org>
4804         * international/charprop.el:
4805         * international/uni-name.el:
4806         * international/uni-old-name.el:
4807         * international/uni-comment.el: Regenerate.
4809 2012-02-16  Glenn Morris  <rgm@gnu.org>
4811         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4812         Interactively in calendar buffer, give an error if not on a date.
4814 2012-02-15  Glenn Morris  <rgm@gnu.org>
4816         * shell.el (shell-delimiter-argument-list):
4817         Revert 2011-02-17 change.  (Bug#8027)
4819 2012-02-15  Chong Yidong  <cyd@gnu.org>
4821         * minibuffer.el (completion-at-point-functions): Doc fix.
4823         * custom.el (defcustom): Doc fix; note use of defvar.
4825 2012-02-15  Glenn Morris  <rgm@gnu.org>
4827         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4828         Doc fixes.
4830 2012-02-14  Glenn Morris  <rgm@gnu.org>
4832         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4834 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
4836         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4837         way the ports list is computed.
4838         (smtpmail-query-smtp-server): Prompt the user for a port number if
4839         we can't connect to any of the standard ports (bug#10810).
4841 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
4843         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4845 2012-02-13  Glenn Morris  <rgm@gnu.org>
4847         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
4849 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
4851         * net/gnutls.el (gnutls-trustfiles): New variable.
4852         (gnutls-negotiate): Use it.
4854 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
4856         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4857         does its stuff if Gnus is running.
4859 2012-02-13  Alan Mackenzie  <acm@muc.de>
4861         Fix a loop in c-set-fl-decl-start.
4863         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4864         c-backward-syntactic-ws actually moves backwards.
4866 2012-02-13  Leo Liu  <sdl.web@gmail.com>
4868         * net/rcirc.el (rcirc-markup-attributes): Move point to the
4869         beginning so that all \C-o chars are removed.
4871 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
4873         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4875 2012-02-12  Alan Mackenzie  <acm@muc.de>
4877         Fix infinite loop with long macros.
4878         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4880 2012-02-12  Chong Yidong  <cyd@gnu.org>
4882         * window.el (display-buffer): Doc fix (Bug#10785).
4884 2012-02-12  Glenn Morris  <rgm@gnu.org>
4886         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4887         (x-disown-selection-internal, x-get-selection-internal):
4888         Sync docs with the xselect.c versions.
4890         * allout-widgets.el: Add missing license notice.
4892 2012-02-11  Glenn Morris  <rgm@gnu.org>
4894         * select.el (x-get-selection-internal, x-own-selection-internal)
4895         (x-disown-selection-internal):
4896         * x-dnd.el (x-get-selection-internal): Update declarations.
4898         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4900         * window.el (window-sides-slots):
4901         * tool-bar.el (tool-bar-position):
4902         * term/xterm.el (xterm-extra-capabilities):
4903         * ses.el (ses-self-reference-early-detection):
4904         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4905         (verilog-auto-wire-type)
4906         (verilog-auto-delete-trailing-whitespace)
4907         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4908         (verilog-auto-tieoff-declaration):
4909         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4910         (sql-oracle-statement-starters, sql-oracle-scan-on):
4911         * progmodes/prolog.el (prolog-align-comments-flag)
4912         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4913         (prolog-left-indent-regexp, prolog-paren-indent-p)
4914         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4915         (prolog-types, prolog-mode-specificators)
4916         (prolog-determinism-specificators, prolog-directives)
4917         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4918         (prolog-electric-dot-flag)
4919         (prolog-electric-dot-full-predicate-template)
4920         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4921         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4922         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4923         (prolog-program-switches, prolog-prompt-regexp)
4924         (prolog-debug-on-string, prolog-debug-off-string)
4925         (prolog-trace-on-string, prolog-trace-off-string)
4926         (prolog-zip-on-string, prolog-zip-off-string)
4927         (prolog-use-standard-consult-compile-method-flag)
4928         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4929         (prolog-imenu-max-lines, prolog-info-predicate-index)
4930         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4931         (prolog-char-quote-workaround):
4932         * progmodes/cc-vars.el (c-defun-tactic):
4933         * net/tramp.el (tramp-encoding-command-interactive)
4934         (tramp-local-end-of-line):
4935         * net/soap-client.el (soap-client):
4936         * net/netrc.el (netrc-file):
4937         * net/gnutls.el (gnutls):
4938         * minibuffer.el (completion-category-overrides)
4939         (completion-cycle-threshold)
4940         (completion-pcm-complete-word-inserts-delimiters):
4941         * man.el (Man-name-local-regexp):
4942         * mail/feedmail.el (feedmail-display-full-frame):
4943         * international/characters.el (glyphless-char-display-control):
4944         * eshell/em-ls.el (eshell-ls-date-format):
4945         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4946         (lisp-lambda-list-keyword-parameter-indentation)
4947         (lisp-lambda-list-keyword-parameter-alignment):
4948         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4949         * dired-x.el (dired-omit-verbose):
4950         * cus-theme.el (custom-theme-allow-multiple-selections):
4951         * calc/calc.el (calc-highlight-selections-with-faces)
4952         (calc-lu-field-reference, calc-lu-power-reference)
4953         (calc-note-threshold):
4954         * battery.el (battery-mode-line-limit):
4955         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4956         (archive-7z-update):
4957         * allout.el (allout-prefixed-keybindings)
4958         (allout-unprefixed-keybindings)
4959         (allout-inhibit-auto-fill-on-headline)
4960         (allout-flattened-numbering-abbreviation):
4961         * allout-widgets.el (allout-widgets-auto-activation)
4962         (allout-widgets-icons-dark-subdir)
4963         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4964         (allout-widgets-theme-dark-background)
4965         (allout-widgets-theme-light-background)
4966         (allout-widgets-item-image-properties-emacs)
4967         (allout-widgets-item-image-properties-xemacs)
4968         (allout-widgets-run-unit-tests-on-load)
4969         (allout-widgets-time-decoration-activity)
4970         (allout-widgets-hook-error-post-time)
4971         (allout-widgets-track-decoration):
4972         Add missing :version tags to new defcustoms and defgroups.
4974         * progmodes/sql.el (sql-ansi-statement-starters)
4975         (sql-oracle-statement-starters): Add custom type.
4977         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4978         (prolog-system-version): Give it a type.
4980 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
4982         * term/pc-win.el (x-select-text, x-selection-owner-p)
4983         (x-own-selection-internal, x-disown-selection-internal)
4984         (x-get-selection-internal): Sync doc strings and argument lists
4985         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
4987 2012-02-11  Leo Liu  <sdl.web@gmail.com>
4989         * progmodes/python.el (python-end-of-statement): Fix infinite
4990         loop.  (Bug#10788)
4992 2012-02-10  Glenn Morris  <rgm@gnu.org>
4994         * international/mule-cmds.el (unify-8859-on-encoding-mode)
4995         (unify-8859-on-decoding-mode): Properly mark as obsolete.
4997 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
4999         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5000         about SMTP before checking the From header.
5002         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5003         into own function for reuse by emacsbug.el.
5005 2012-02-10  Leo Liu  <sdl.web@gmail.com>
5007         * subr.el (condition-case-unless-debug): Rename from
5008         condition-case-no-debug.  All callers changed.
5009         (with-demoted-errors): Fix caller.
5011         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5012         * nxml/rng-valid.el (rng-do-some-validation):
5013         * emacs-lisp/package.el (package-refresh-contents)
5014         (package-menu-execute):
5015         * desktop.el (desktop-create-buffer):
5016         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5018 2012-02-10  Glenn Morris  <rgm@gnu.org>
5020         * textmodes/bibtex.el:
5021         Add missing :version tags for new/changed defcustoms.
5023         * files.el (remote-file-name-inhibit-cache): Doc fixes.
5025 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
5027         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5028         (smtpmail-via-smtp): Use it, or fall back on the From address.
5029         (smtpmail-send-it): Ditto.
5031 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5033         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5034         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
5035         (byte-compile-tmp-var): New const.
5036         (byte-compile-defvar): Use it to minimize .elc size.
5037         Just use `defvar' rather than simulate it (bug#10761).
5039 2012-02-09  Glenn Morris  <rgm@gnu.org>
5041         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
5043         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5044         Add :version tags.
5046         * progmodes/compile.el (compilation-error-screen-columns)
5047         (compilation-first-column, compilation-filter-start): Doc fixes.
5049         * vc/log-view.el (log-view-toggle-entry-display):
5050         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5052         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5053         (report-emacs-bug-can-use-xdg-email):
5054         (report-emacs-bug-insert-to-mailer): Doc fixes.
5055         (report-emacs-bug): Message fix.
5057         * net/browse-url.el (browse-url-can-use-xdg-open)
5058         (browse-url-xdg-open): Doc fixes.
5060         * electric.el (electric-indent-mode, electric-pair-mode)
5061         (electric-layout-rules, electric-layout-mode): Doc fixes.
5062         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5064 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
5066         * server.el (server-unselect-display): Don't inadvertently kill
5067         the current buffer.  (Bug#10729)
5069 2012-02-08  Glenn Morris  <rgm@gnu.org>
5071         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5072         (sql-list-table): Doc fixes.
5074         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5075         Comment out (does nothing).
5077         * completion.el (dynamic-completion-mode):
5078         * dirtrack.el (dirtrack-debug-mode):
5079         * electric.el (electric-layout-mode):
5080         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5081         * face-remap.el (text-scale-mode, buffer-face-mode):
5082         * iimage.el (iimage-mode):
5083         * image-mode.el (image-transform-mode):
5084         * minibuffer.el (completion-in-region-mode):
5085         * scroll-lock.el (scroll-lock-mode):
5086         * simple.el (next-error-follow-minor-mode):
5087         * tar-mode.el (tar-subfile-mode):
5088         * tooltip.el (tooltip-mode):
5089         * vcursor.el (vcursor-use-vcursor-map):
5090         * wid-browse.el (widget-minor-mode):
5091         * emulation/tpu-edt.el (tpu-edt-mode):
5092         * emulation/tpu-extras.el (tpu-cursor-free-mode):
5093         * international/iso-ascii.el (iso-ascii-mode):
5094         * language/thai-util.el (thai-word-mode):
5095         * mail/supercite.el (sc-minor-mode):
5096         * net/goto-addr.el (goto-address-mode):
5097         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5098         * progmodes/cwarn.el (cwarn-mode):
5099         * progmodes/flymake.el (flymake-mode):
5100         * progmodes/glasses.el (glasses-mode):
5101         * progmodes/hideshow.el (hs-minor-mode):
5102         * progmodes/pascal.el (pascal-outline-mode):
5103         * textmodes/enriched.el (enriched-mode):
5104         * vc/smerge-mode.el (smerge-mode):
5105         Doc fixes (minor mode argument).
5107 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
5109         * ls-lisp.el (ls-lisp-sanitize): New function.
5110         (ls-lisp-insert-directory): Use it to fix or remove any elements
5111         in file-alist with missing attributes.  (Bug#4673)
5113 2012-02-07  Alan Mackenzie  <acm@muc.de>
5115         Fix spurious recognition of c-in-knr-argdecl.
5117         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5118         putative K&R region.
5120 2012-02-07  Alan Mackenzie  <acm@muc.de>
5122         * progmodes/cc-engine.el (c-forward-objc-directive):
5123         Prevent looping in "#pragma mark @implementation".
5125 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
5127         * notifications.el (notifications-on-closed-signal): Make `reason'
5128         optional.  (Bug#10744)
5130 2012-02-07  Glenn Morris  <rgm@gnu.org>
5132         * emacs-lisp/easy-mmode.el (define-minor-mode):
5133         Doc fixes for the macro and the mode it defines.
5135         * image.el (imagemagick-types-inhibit): Doc fix.
5137         * cus-start.el (imagemagick-render-type): Add it.
5139 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
5141         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5142         Set the default at load time, too, so that `font-lock-fontify-buffer'
5143         can be called without setting up the entire mode first.  This fixes
5144         a bug in `mm-inline-text' with C MIME parts.
5146 2012-02-06  Chong Yidong  <cyd@gnu.org>
5148         * simple.el (list-processes--refresh): Delete exited processes
5149         (Bug#8094).
5151         * comint.el (comint-next-prompt): next-single-char-property-change
5152         and prev-single-char-property-change never return nil (Bug#8657).
5154         * custom.el (defcustom): Doc fix (Bug#9711).
5156 2012-02-05  Chong Yidong  <cyd@gnu.org>
5158         * cus-edit.el (custom-variable-reset-backup): Quote the value
5159         before storing it in the customized-value property (Bug#6712).
5160         (custom-display): Add a customization type tag.
5161         (custom-buffer-create-internal): Improve tooltip message.
5163         * wid-edit.el (widget-field-value-get): New optional arg to
5164         suppress trailing whitespace truncation.
5165         (character): Use it (Bug#2689).
5167 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
5169         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5170         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5172 2012-02-05  Chong Yidong  <cyd@gnu.org>
5174         * cus-edit.el (custom-variable-value-create): For mismatched
5175         types, show the current value (Bug#7600).
5177         * custom.el (defcustom): Doc fix.
5179 2012-02-05  Glenn Morris  <rgm@gnu.org>
5181         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5183 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
5185         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5186         (pp-buffer): Use `ignore-errors', `looking-at-p'.
5187         (pp-last-sexp): Use `looking-at-p'.
5189 2012-02-04  Glenn Morris  <rgm@gnu.org>
5191         * files.el (revert-buffer):
5192         Doc fix (mention revert-buffer-in-progress-p).
5194         * emacs-lisp/ert-x.el (ert-simulate-command):
5195         Check deferred-action-list (which is obsolete) is bound.
5197         * subr.el (with-wrapper-hook): Doc fixes.
5199         * simple.el (filter-buffer-substring-functions)
5200         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5202 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
5204         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5205         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
5207 2012-02-04  Leo Liu  <sdl.web@gmail.com>
5209         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5211 2012-02-04  Glenn Morris  <rgm@gnu.org>
5213         * image.el (image-extension-data): Add obsolete alias.
5215         * isearch.el (isearch-update): Doc fix.
5217         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5219         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5221 2012-02-03  Glenn Morris  <rgm@gnu.org>
5223         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
5224         (image-animate-timeout): Doc fix.
5226         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5228 2012-02-02  Glenn Morris  <rgm@gnu.org>
5230         * server.el (server-auth-dir): Doc fix.
5231         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
5233         * subr.el (run-mode-hooks): Doc fix.
5235 2012-02-02  Juri Linkov  <juri@jurta.org>
5237         * image-mode.el (image-toggle-display-image): Remove tautological
5238         `major-mode' from the `derived-mode-p' test.
5240 2012-02-02  Kenichi Handa  <handa@m17n.org>
5242         * composite.el (compose-region): Cancel previous change.
5244 2012-02-02  Kenichi Handa  <handa@m17n.org>
5246         * composite.el (compose-region, compose-string): Signal error for
5247         a null string component (Bug#6988).
5249 2012-02-01  Chong Yidong  <cyd@gnu.org>
5251         * view.el (view-buffer-other-window, view-buffer-other-frame):
5252         Handle special modes like view-buffer (Bug#10650).
5253         (view-buffer): Simplify.
5255         * frame.el (set-frame-font): Tweak meaning of third argument.
5257         * dynamic-setting.el (font-setting-change-default-font):
5258         Use set-frame-font (Bug#9982).
5260 2012-02-01  Glenn Morris  <rgm@gnu.org>
5262         * progmodes/compile.el (compilation-internal-error-properties):
5263         Respect compilation-first-column in the "*compilation*" buffer.
5265         * emacs-lisp/easy-mmode.el (define-minor-mode):
5266         Relax :variable's test for a named function.
5268 2012-01-31  Alan Mackenzie  <acm@muc.de>
5270         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5271         off by one error.
5273 2012-01-31  Chong Yidong  <cyd@gnu.org>
5275         * frame.el (set-frame-font): New arg ALL-FRAMES.
5277         * menu-bar.el (menu-set-font): Use set-frame-font.
5279         * faces.el (face-spec-reset-face): Don't apply unspecified
5280         attribute values to the default face.
5282 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
5284         * progmodes/cwarn.el (cwarn): Remove dead link.
5285         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5286         Remove * from defcustom docstrings.
5287         (turn-on-cwarn-mode): Make obsolete.
5288         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5289         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5291 2012-01-31  Glenn Morris  <rgm@gnu.org>
5293         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5294         Fix :variable handling of mode a symbol not equal to modefun.
5295         Allow named functions to be used as the cdr of :variable.
5297 2012-01-30  Glenn Morris  <rgm@gnu.org>
5299         * emacs-lisp/authors.el (authors-fixed-entries):
5300         Remove reference to deleted file rnewspost.el.
5302 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
5304         * window.el (window-with-parameter): Remove unused variable `windows'.
5305         (window--side-check): Remove unused variable `code'.
5306         (window--resize-siblings): Remove unused variable `first'.
5307         (adjust-window-trailing-edge): Remove unused variable `failed'.
5308         (window-deletable-p, window--delete): Remove unused variable `buffer'.
5309         Use `let', not `let*'.
5310         (balance-windows-2): Remove unused variable `found'.
5311         (window--state-put-2): Remove unused variable `splits'.
5312         (window-state-put): Remove unused variable `selected'.
5313         (same-window-p): Use `string-match-p'.
5314         (display-buffer-assq-regexp): Remove unused variable `value'.
5315         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5316         Mark argument ALIST as ignored.
5317         (pop-to-buffer): Remove unused variable `old-window'.
5319 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
5321         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5322         and .lzma compressed files.
5324 2012-01-29  Chong Yidong  <cyd@gnu.org>
5326         * frame.el (window-system-default-frame-alist): Doc fix.
5328         * dynamic-setting.el (font-setting-change-default-font): Don't
5329         change the default face if SET-FONT argument is non-nil (Bug#9982).
5331 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
5333         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5335 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
5337         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5338         breakpoints in files outside current directory (Bug#6098).
5340 2012-01-29  Chong Yidong  <cyd@gnu.org>
5342         * progmodes/python.el: Require ansi-color at top-level.
5344         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5345         Define and use in Emacs Lisp mode (Bug#9360).
5346         (lisp-mode-abbrev-table): Add doc.
5347         (lisp-mode-variables): Don't set local-abbrev-table.
5348         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5350 2012-01-28  Roland Winkler  <winkler@gnu.org>
5352         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5354 2012-01-28  Roland Winkler  <winkler@gnu.org>
5356         * textmodes/bibtex.el (bibtex-entry-alist): New function.
5357         (bibtex-set-dialect): Use it.  Either set global values of
5358         dialect-dependent variables or bind these variables buffer-locally
5359         (Bug#10254).
5360         (bibtex-mode): Call bibtex-set-dialect via
5361         hack-local-variables-hook.
5362         (bibtex-dialect): Update docstring.
5363         Add safe-local-variable predicate.
5364         (bibtex-entry-alist, bibtex-field-alist): Initialize via
5365         bibtex-set-dialect.
5366         (bibtex-mode-map): Define menu for each dialect.
5367         (bibtex-entry): Fix docstring.
5369 2012-01-28  Chong Yidong  <cyd@gnu.org>
5371         * eshell/esh-arg.el (eshell-quote-argument): New function.
5373         * eshell/esh-ext.el (eshell-invoke-batch-file):
5374         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5375         first arg to eshell-parse-command (Bug#10523).
5377 2012-01-28  Drew Adams  <drew.adams@oracle.com>
5379         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5380         `default-directory' is non-nil.
5382 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
5384         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5385         line that displays system-configuration-options.  (Bug#9924)
5387 2012-01-28  Drew Adams  <drew.adams@oracle.com>
5389         * descr-text.el (describe-char): Show information about POS, in
5390         addition to information about the character at POS.  Improve and
5391         update the doc string.  Change "code point" to "code point in
5392         charset", to avoid confusion with the character's Unicode code
5393         point shown above that.  (Bug#10129)
5395 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
5397         * descr-text.el (describe-char): Show the raw character, not only
5398         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
5399         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5400         for the reasons.
5402 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
5404         * emacs-lisp/package.el (package-install):
5405         Run package-refresh-contents if there is no archive yet (Bug#9798).
5407 2012-01-28  Chong Yidong  <cyd@gnu.org>
5409         * emacs-lisp/package.el (package-maybe-load-descriptor):
5410         New function, split from package-maybe-load-descriptor.
5411         (package-maybe-load-descriptor): Use it.
5412         (package-download-transaction): Fully load required packages
5413         inside the loop, so that `require' calls work (Bug#10593).
5414         (package-install): No need to call package-initialize now.
5416 2012-01-28  Chong Yidong  <cyd@gnu.org>
5418         * simple.el (deactivate-mark): Doc fix (Bug#8614).
5420         * tooltip.el (tooltip-mode): Doc fix.
5421         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5423         * frame.el (set-cursor-color): Doc fix (Bug#352).
5425         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5426         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5428         * cus-edit.el (custom-buffer-create-internal): Fix search button
5429         action (Bug#10542).
5430         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5432 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
5434         * dired.el (dired-mark-files-regexp):
5435         Include any subdirectory components.  (Bug#10445)
5437 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
5439         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5440         Handle [host]:port syntax.  (Bug#10533)
5442 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
5444         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5446 2012-01-26  Glenn Morris  <rgm@gnu.org>
5448         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5449         * term.el (term-raw-escape-map): Use Control-X-prefix.
5450         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
5452 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
5454         * window.el (window-state-get, window--state-get-1): Don't deal
5455         with fixed-sizeness of windows.  Simplify code.
5457 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
5459         * window.el (window--state-get-1, window--state-put-2):
5460         Don't save and restore the mark.
5462 2012-01-25  Chong Yidong  <cyd@gnu.org>
5464         * custom.el (custom-variable-p): Doc fix.
5466 2012-01-25  Glenn Morris  <rgm@gnu.org>
5468         * dired.el (dired-goto-file): Handle some of the more common
5469         characters that `ls -b' escapes.  (Bug#10596)
5471         * progmodes/compile.el (compilation-next-error-function):
5472         Respect compilation-first-column in the "*compilation*" buffer.
5473         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
5475         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
5477 2012-01-24  Glenn Morris  <rgm@gnu.org>
5479         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
5481 2012-01-24  Julien Danjou  <julien@danjou.info>
5483         * color.el (color-rgb-to-hsl): Fix value computing.
5484         (color-hue-to-rgb): New function.
5485         (color-hsl-to-rgb): New function.
5486         (color-clamp, color-saturate-hsl, color-saturate-name)
5487         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5488         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5490 2012-01-24  Glenn Morris  <rgm@gnu.org>
5492         * vc/vc-rcs.el (vc-rcs-create-tag):
5493         * vc/vc-sccs.el (vc-sccs-create-tag):
5494         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
5496 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
5498         * eshell/esh-util.el (eshell-read-hosts-file):
5499         Skip comment lines.  (Bug#10549)
5501         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
5503 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
5505         * subr.el (display-delayed-warnings): Doc fix.
5506         (collapse-delayed-warnings): New function to collapse identical
5507         adjacent warnings.
5508         (delayed-warnings-hook): Add it.
5510 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
5512         * net/tramp.el (tramp-action-login): Set connection property "login-as".
5514         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5515         (tramp-default-user-alist): Don't add "pscp".
5516         (tramp-do-copy-or-rename-file-out-of-band): Use connection
5517         property "login-as", if set.  (Bug#10530)
5519 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
5521         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5522         "plink1" and "psftp".  (Bug#10530)
5524 2012-01-21  Kenichi Handa  <handa@m17n.org>
5526         * international/mule-cmds.el (prefer-coding-system): Show a
5527         warning message if the default value of file-name-coding-system
5528         was not changed.
5530 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
5532         * windmove.el (windmove-reference-loc):
5533         Fix windmove-reference-loc miscalculation.
5535 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
5537         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5538         default unit.
5540 2012-01-21  Glenn Morris  <rgm@gnu.org>
5542         * international/mule.el (auto-coding-alist): Add .tbz.
5544         * files.el (local-enable-local-variables): Doc fix.
5545         (inhibit-local-variables-regexps): Rename from
5546         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
5547         Doc fix.  Add some extensions from auto-coding-alist.
5548         (inhibit-local-variables-suffixes):
5549         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
5550         (inhibit-local-variables-p):
5551         New function, extracted from set-auto-mode-1.
5552         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
5553         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
5554         (hack-local-variables): Doc fix.  Make the mode-only case
5555         respect enable-local-variables and friends.
5556         Respect inhibit-local-variables-regexps for file-locals, but
5557         not for directory-locals.
5558         (set-visited-file-name):
5559         Take account of inhibit-local-variables-regexps.
5560         Whether it applies may change as the file name is changed.
5561         * jka-cmpr-hook.el (jka-compr-install):
5562         * jka-compr.el (jka-compr-uninstall):
5563         Update for inhibit-first-line-modes-suffixes name change.
5565 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
5567         * help-macro.el (make-help-screen): Temporarily restore original
5568         binding for minor-mode-map-alist (Bug#10454).
5570 2012-01-19  Julien Danjou  <julien@danjou.info>
5572         * color.el (color-name-to-rgb): Use the white color to find the max
5573         color component value and return correctly computed values.
5574         (color-name-to-rgb): Add missing float conversion for max value.
5576 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
5578         * window.el (window--state-get-1, window-state-get): Do not use
5579         special state value for window-persistent-parameters.
5580         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
5581         (window--state-put-2): Reset all window parameters to nil before
5582         assigning values of persistent parameters.
5584 2012-01-18  Alan Mackenzie  <acm@muc.de>
5586         Eliminate sluggishness and hangs in fontification of "semicolon
5587         deserts".
5589         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5590         Change value 10000 -> 3000.
5591         (c-state-safe-place): Reformulate so it doesn't stack up an
5592         infinite number of wrong entries in c-state-nonlit-pos-cache.
5593         (c-determine-limit-get-base, c-determine-limit): New functions to
5594         determine backward search limits disregarding literals.
5595         (c-find-decl-spots): Amend commenting.
5596         (c-cheap-inside-bracelist-p): New function which detects "={".
5598         * progmodes/cc-fonts.el
5599         (c-make-font-lock-BO-decl-search-function): Give a limit to a
5600         backward search.
5601         (c-font-lock-declarations): Fix an occurrence of point being
5602         undefined.  Check additionally for point being in a bracelist or
5603         near a macro invocation without a semicolon so as to avoid a
5604         fruitless time consuming search for a declarator.  Give a more
5605         precise search limit for declarators using the new
5606         c-determine-limit.
5608 2012-01-18  Glenn Morris  <rgm@gnu.org>
5610         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5611         (set-auto-mode): Doc fixes.
5613 2012-01-17  Glenn Morris  <rgm@gnu.org>
5615         * isearch.el (search-nonincremental-instead): Fix doc typo.
5617         * dired.el (dired-insert-directory): Handle newlines in directory name.
5618         (dired-build-subdir-alist): Unescape newlines in directory name.
5620 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
5622         * net/tramp.el (tramp-local-end-of-line): New defcustom.
5623         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5624         (tramp-action-terminal): Use it.  (Bug#10530)
5626 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5628         * minibuffer.el (completion--replace): Strip properties (bug#10062).
5630 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
5632         * window.el (window-state-ignored-parameters): Remove variable.
5633         (window--state-get-1): Rename argument MARKERS to IGNORE.
5634         Handle persistent window parameters.  Make copy of clone-of
5635         parameter only if requested.  (Bug#10348)
5636         (window--state-put-2): Install a window parameter only if it has
5637         a non-nil value or an existing parameter shall be overwritten.
5639 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
5641         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5643 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
5645         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5646         don't pass the (nil) value of `upnode' to string-match.
5648 2012-01-14  Chong Yidong  <cyd@gnu.org>
5650         * startup.el (command-line): Fix X resource class for cursorColor.
5651         Fix values recognized by the cursorBlink resource.
5653 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
5655         * epg.el (epg--make-temp-file): Avoid permission race condition
5656         when running on old Emacs versions (bug#10403).
5658 2012-01-14  Glenn Morris  <rgm@gnu.org>
5660         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5662 2012-01-13  Alan Mackenzie  <acm@muc.de>
5664         Fix filling for when filladapt mode is enabled.
5666         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5667         c-mask-paragraph, pass in `fill-paragraph' rather than
5668         `fill-region-as-paragraph'.  (This is a reversion of a previous
5669         change.)
5670         * progmodes/cc-mode.el (c-basic-common-init):
5671         Make fill-paragraph-handle-comment buffer local and set it to nil.
5673 2012-01-13  Glenn Morris  <rgm@gnu.org>
5675         * dired.el (dired-switches-escape-p): New function.
5676         (dired-insert-directory): Use dired-switches-escape-p.
5677         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
5679         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
5681 2012-01-12  Glenn Morris  <rgm@gnu.org>
5683         * mail/sendmail.el (mail-mode): Update paragraph-separate for
5684         changes in adaptive-fill-regexp.  (Bug#10276)
5686 2012-01-11  Alan Mackenzie  <acm@muc.de>
5688         Fix Emacs bug #10463 - put `widen's around the critical spots.
5690         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5691         widen around each invocation of c-state-pp-to-literal.  Remove an
5692         unused let variable.
5694 2012-01-11  Glenn Morris  <rgm@gnu.org>
5696         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
5697         Doc fix.
5699 2012-01-10  Chong Yidong  <cyd@gnu.org>
5701         * net/network-stream.el (network-stream-open-starttls):
5702         Avoid emitting a confusing error message when the server gives a bad
5703         response to the capability command.
5705 2012-01-10  Glenn Morris  <rgm@gnu.org>
5707         * mail/unrmail.el (unrmail): Tweak previous change.
5709 2012-01-09  Chong Yidong  <cyd@gnu.org>
5711         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5713 2012-01-08  Alan Mackenzie  <acm@muc.de>
5715         Optimise font locking in long enum definitions.
5717         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5718         arm to a cond form to handle enums.
5719         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5720         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5722 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5724         * files.el (move-file-to-trash): Preserve default file modes on error.
5725         (Bug#10401)
5727 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5729         * faces.el (set-face-attribute): Clarify the meaning of the nil
5730         frame (bug#10294).
5732         * subr.el (with-selected-frame): Mention that the selected frame
5733         is restored (bug#9980).
5735         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5736         (bug#9759).
5738         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5739         (password-read): Don't autoload unused function.
5741 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
5743         * progmodes/which-func.el (which-func-mode): Turn into a
5744         non-interactive function and mark as obsolete (bug#10428).
5746 2012-01-06  Chong Yidong  <cyd@gnu.org>
5748         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5749         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5750         functions, along with 1 and -1.
5752 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
5754         * time.el (display-time-load-average)
5755         (display-time-default-load-average): Doc fixes.  See the thread
5756         starting at
5757         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5758         for the details.
5760 2012-01-06  Glenn Morris  <rgm@gnu.org>
5762         * mail/unrmail.el (unrmail): Give an explicit error if the input file
5763         has no messages.  (Bug#10377)
5765         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5766         than Info-edit.  (Bug#10385)
5768         * time.el (display-time-load-average, display-time-next-load-average):
5769         Doc fixes.
5771         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5772         local setting of buffer-read-only to the input buffer.  (Bug#10419)
5774         * calendar/calendar.el (calendar-mode):
5775         Locally set scroll-margin to 0.  (Bug#10379)
5777 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
5779         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
5781 2012-01-05  Glenn Morris  <rgm@gnu.org>
5783         * eshell/em-unix.el (diff-no-select): Autoload it.
5784         (eshell/diff): Use diff-no-select.  (Bug#10420)
5786 2012-01-05  Chong Yidong  <cyd@gnu.org>
5788         * shell.el (shell-dynamic-complete-functions): Revert last change.
5789         (shell-command-completion-function): New function.
5790         (shell-completion-vars): Use it to implement
5791         shell-completion-execonly (Bug#10417).
5793         * custom.el (enable-theme): Don't set custom-safe-themes.
5795         * cus-theme.el (custom-theme-merge-theme):
5796         Ignore custom-enabled-themes and custom-safe-themes.
5798 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
5800         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5801         first prompt in `sql-interacive-mode'.
5802         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5803         keywords.
5804         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5805         (sql-product-interactive): Bug fix: Set `sql-buffer' in
5806         context of original buffer.  Invoke `sql-login-hook'.
5808 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
5810         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5811         letters in cite-prefix.
5813 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5815         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5817 2012-01-03  Chong Yidong  <cyd@gnu.org>
5819         * shell.el (shell-dynamic-complete-functions):
5820         Put pcomplete-completions-at-point, so as to try
5821         comint-filename-completion first (Bug#10417).
5823 2012-01-02  Richard Stallman  <rms@gnu.org>
5825         * battery.el (battery-status-function):
5826         Detect when to use battery-yeeloong-sysfs.
5827         (battery-echo-area-format): Add string for Yeeloong.
5828         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5829         (battery-yeeloong-sysfs): New function.
5831 2012-01-02  Chong Yidong  <cyd@gnu.org>
5833         * dirtrack.el (dirtrack-list): Eliminate unused third element.
5834         (dirtrack): Merge code for handling relative filenames in prompt
5835         from shell-dir-cookie-watcher.
5836         (dirtrack-debug-message): New arg to avoid excess format calls.
5838         * shell.el (shell-dir-cookie-re): Variable deleted.
5839         (shell-dir-cookie-watcher): Function deleted.
5840         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5841         with dirtrack-mode.
5843 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
5845         * term/w32-win.el (dynamic-library-alist) <gnutls>:
5846         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5847         libgnutls-26.dll.
5849 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
5851         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5853 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
5855         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5856         headers of non-MIME messages, when rmail-enable-mime is non-nil.
5858 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
5860         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5861         also for alternative shells.
5862         (tramp-open-connection-setup-interactive-shell): Check, whether
5863         the shell is a busybox.
5864         (tramp-send-command): Don't suppress multiple prompts for
5865         busyboxes, it hurts.
5867 2011-12-28  Chong Yidong  <cyd@gnu.org>
5869         * progmodes/gdb-mi.el (gdb-get-source-file-list)
5870         (gdb-get-source-file): Move mode line update to
5871         gdb-get-source-file (Bug#10087).
5873 2011-12-25  Chong Yidong  <cyd@gnu.org>
5875         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5876         gud-gdb-marker-filter without taking it as an argument.
5877         (gud-gdb-run-command-fetch-lines): Caller changed.
5878         (gud-gdb-completion-function): New variable.
5879         (gud-gdb-completion-at-point): Use it.
5880         (gud-gdb-completions-1): Split from gud-gdb-completions.
5882         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5883         function as separate arguments.
5884         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5885         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5886         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5887         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5888         (gdb-stopped, def-gdb-auto-update-trigger)
5889         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5890         (gdb-get-changed-registers, gdb-get-main-selected-frame):
5891         Callers changed.
5892         (gud-gdbmi-completions): New function.
5893         (gdb): Use it for generating the completion table.
5895 2011-12-24  Alan Mackenzie  <acm@muc.de>
5897         Introduce a mechanism to widen the region used in context font
5898         locking.  Use this to protect declarations from losing their contexts.
5900         * progmodes/cc-langs.el (c-before-font-lock-functions):
5901         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5902         (c-before-context-fontification-functions): New defvar, a list of
5903         functions to be run just before context (etc.) font locking.
5905         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5906         New, functionality extracted from
5907         c-neutralize-syntax-in-and-mark-CPP.
5908         (c-in-after-change-fontification): New variable.
5909         (c-after-change): Set c-in-after-change-fontification.
5910         (c-set-fl-decl-start): Rejig its interface, so it can be called
5911         from both after-change and context fontifying.
5912         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5913         New functions.
5914         (c-standard-font-lock-fontify-region-function): New variable.
5915         (c-font-lock-fontify-region): New function.
5917 2011-12-24  Juri Linkov  <juri@jurta.org>
5919         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5920         (Bug#10348)
5922 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
5924         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5925         existence of source file.  (Bug#10325)
5927 2011-12-23  Alan Mackenzie  <acm@muc.de>
5929         Fix unstable fontification inside templates.
5931         * progmodes/cc-langs.el (c-before-font-lock-functions):
5932         Newly created from the singular version.  The (c c++ objc) entry now
5933         additionally has c-set-fl-decl-start.  The other languages (apart
5934         from AWK) have that as a single entry.
5936         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5937         The functionality for "local" declarations has been extracted to
5938         c-set-fl-decl-start.
5940         * progmodes/cc-mode.el (c-common-init, c-after-change):
5941         Changes due to pluralisation of c-before-font-lock-functions.
5942         (c-set-fl-decl-start): New function, extracted from
5943         c-font-lock-enclosing-decls and enhanced.
5945 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
5947         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5949 2011-12-22  Juri Linkov  <juri@jurta.org>
5951         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
5953 2011-12-22  Chong Yidong  <cyd@gnu.org>
5955         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5957 2011-12-21  Drew Adams  <drew.adams@oracle.com>
5959         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
5961 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
5963         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5965 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
5967         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
5968         highlighting and support.  Fix up comments for capitalization.
5969         (cfengine-mode-debug): New var.
5970         (cfengine3-mode): Change the modeline indicator to "CFE3".
5971         (cfengine3-font-lock-keywords): Improve defun highlighting.
5972         (cfengine2-actions): Rename from `cfengine-actions'.
5973         (cfengine2-font-lock-keywords): Rename from
5974         `cfengine-font-lock-keywords'.
5975         (cfengine2-imenu-expression): Rename from
5976         `cfengine-imenu-expression'.
5977         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5978         (cfengine2-beginning-of-defun): Rename from
5979         `cfengine-beginning-of-defun'.
5980         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5981         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5982         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
5983         modeline indicator to "CFE2".
5984         (cfengine-mode): Defalias to `cfengine-auto-mode'.
5985         (cfengine-mode-abbrevs): Mark obsolete.
5987 2011-12-21  Chong Yidong  <cyd@gnu.org>
5989         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5990         filename argument.
5992 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
5994         * window.el (window-normalize-buffer-to-display): Remove.
5995         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5997 2011-12-19  Chong Yidong  <cyd@gnu.org>
5999         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6000         Don't signal an error in a predicate function; return non-nil.
6001         (vc-dir-mark-file): Move the error here.
6002         (vc-dir-mark-unmark): If acting on the region, keep going if one
6003         of the entries cannot be marked/unmarked.
6004         (vc-dir-mark-all-files): If current entry is a directory, mark
6005         only child files, as documented.
6007 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6009         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6010         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6011         addition.
6013 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
6015         * term/ns-win.el (ns-get-selection-internal)
6016         (ns-store-selection-internal): Declare.
6017         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6018         Declare as obsolete.
6019         (ns-get-pasteboard, ns-paste-secondary):
6020         Use ns-get-selection-internal.
6021         (ns-set-pasteboard,  ns-copy-including-secondary):
6022         Use ns-store-selection-internal.
6024 2011-12-17  Chong Yidong  <cyd@gnu.org>
6026         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6027         (vc-deduce-fileset): Doc fix.
6029 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
6031         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6033 2011-12-13  Sam Steingold  <sds@gnu.org>
6035         * man.el (Man-getpage-in-background): When running under a
6036         window-system, ignore $MANWIDTH and $COLUMNS.
6038 2011-12-15  Kenichi Handa  <handa@m17n.org>
6040         * language/ethio-util.el: Change coding tag to utf-8-emacs.
6041         (setup-ethiopic-environment-internal): Comment out key-binding for
6042         ethio-toggle-punctuation.
6044 2011-12-13  Alan Mackenzie  <acm@muc.de>
6046         Add the switch statement to AWK Mode.
6048         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6049         "default" to the keywords regexp.
6051         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6052         expression as the rest.
6053         (c-nonlabel-token-key): Allow string literals for AWK.
6054         Refactor for the other modes.
6056         Large brace-block initialisation makes CC Mode slow: Fix.
6057         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6058         routines.  Limit backward searching in c-font-lock-enclosing.decl.
6060         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6061         pp-state and literal type in addition to the limits.
6062         (c-state-safe-place): New defun, extracted from c-state-literal-at.
6063         (c-state-literal-at): Use the above new defun.
6064         (c-slow-in-literal, c-fast-in-literal): Remove.
6065         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6067         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6068         being in a literal.  Add a limit for backward searching.
6070         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6071         c-slow-in-literal.
6073 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6075         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6077 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
6079         * window.el (delete-other-windows): Use correct frame in call to
6080         window-with-parameter.
6082 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
6084         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6085         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6086         (makefile-gmake-statements, makefile-makepp-statements):
6087         Use it and add new makepp keywords.
6088         (makefile-makepp-font-lock-keywords): Add new patterns.
6089         (makefile-match-function-end): Match new [...] and [[...]].
6091 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
6093         * ses.el (ses-call-printer-return, ses-cell-property-get)
6094         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6095         (ses-create-cell-variable, ses-reset-header-string)
6096         (ses-cell-set-formula, ses-repair-cell-reference-all)
6097         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6098         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6099         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6100         (ses-aset-with-undo, ses-load, ses-truncate-cell)
6101         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6102         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6103         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6104         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6105         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6106         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6107         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6108         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6110 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6112         * ses.el: The overall change is to add cell renaming, that is
6113         setting fancy names for cell symbols other than name matching
6114         "\\`[A-Z]+[0-9]+\\'" regexp .
6115         (ses-create-cell-variable): New defun.
6116         (ses-relocate-formula): Relocate formulas only for cells the
6117         symbols of which are not renamed, i.e. symbols whose names do not
6118         match regexp "\\`[A-Z]+[0-9]+\\'".
6119         (ses-relocate-all): Relocate values only for cells the symbols of
6120         which are not renamed.
6121         (ses-load): Create cells variables as the (ses-cell ...) are read,
6122         in order to check row col consistency with cell symbol name only
6123         for cells that are not renamed.
6124         (ses-replace-name-in-formula): New defun.
6125         (ses-rename-cell): New defun.
6127 2011-12-11  Chong Yidong  <cyd@gnu.org>
6129         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6130         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6132 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
6134         * window.el (other-window): Fix docstring.
6136 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
6138         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6139         `from' or `to' address before taking its substring.
6140         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6141         encoded name is chopped in the middle of the encoded string, and
6142         thus displayed encoded.
6144 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
6146         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6148 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
6150         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
6151         to use texinfo-update-node and commands that call it if the
6152         Texinfo file uses @node lines without next/prev/up pointers.
6153         Correct outdated description about texinfo-master-menu.
6154         (texinfo-all-menus-update, texinfo-master-menu)
6155         (texinfo-update-node, texinfo-every-node-update)
6156         (texinfo-multiple-files-update): Doc fix.  Warn against updating
6157         all the @node lines.
6158         (texinfo-master-menu): Only call texinfo-update-node if the prefix
6159         argument is numeric.  Explain better in the doc string what the
6160         function really does.
6161         (texinfo-insert-master-menu-list): Improve the error message
6162         displayed if there's no menu in the Top node.
6163         (Bug#2975)  See also this thread:
6164         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6166 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
6168         * speedbar.el (speedbar-supported-extension-expressions):
6169         Add .adb and .ads, commonly used for Ada source code (bug#10256).
6171 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
6173         * printing.el (pr-mode-alist):
6174         * simple.el (filter-buffer-substring-functions)
6175         (completion-list-insert-choice-function):
6176         * window.el (window-with-parameter, window-atom-root)
6177         (window-sides-slots, window-size-fixed, window-min-delta)
6178         (window-max-delta, window--resize-mini-window)
6179         (window--resize-child-windows-normal, window-tree)
6180         (delete-other-windows, quit-window, split-window)
6181         (display-buffer-record-window, special-display-buffer-names)
6182         (special-display-regexps, special-display-popup-frame)
6183         (same-window-p, split-window-sensibly)
6184         (display-buffer-overriding-action, display-buffer-alist)
6185         (display-buffer-base-action, display-buffer, switch-to-buffer)
6186         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6187         (fit-window-to-buffer, recenter-positions)
6188         (mouse-autoselect-window-state, mouse-autoselect-window-select):
6189         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6190         and remove unneeded backslashes in docstrings.
6192 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6194         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6196         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6197         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6198         end in ".mk".
6199         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6200         when reading the makefile (bug#10116).
6202 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6204         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6205         (bug#10116).
6207 2011-12-06  Glenn Morris  <rgm@gnu.org>
6209         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6211 2011-12-06  Chong Yidong  <cyd@gnu.org>
6213         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6215 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
6217         * textmodes/table.el (table-shorten-cell): Fix typo.
6219 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
6221         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6223 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
6225         * descr-text.el (describe-char): Fix display of strong
6226         right-to-left characters and directional embeddings and overrides.
6228         * simple.el (what-cursor-position): Fix display of codepoints of
6229         strong right-to-left characters.
6231 2011-12-05  Chong Yidong  <cyd@gnu.org>
6233         * faces.el (read-color): Doc fix.
6235 2011-12-05  Glenn Morris  <rgm@gnu.org>
6237         * align.el (align--set-marker): Add doc-string.
6238         Don't try to move something that is not a marker.  (Bug#10216)
6240 2011-12-04  Glenn Morris  <rgm@gnu.org>
6242         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6243         overly zealous deletion of trailing whitespace.
6245 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
6247         * server.el (server-delete-client): On Windows, do not try to delete
6248         the only terminal.
6249         (server-process-filter): On Windows, treat requests for a tty frame as
6250         if they were for a GUI frame if the running server is in GUI mode.
6252 2011-12-03  Glenn Morris  <rgm@gnu.org>
6254         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
6256 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6258         * electric.el: Streamline electric-indent's hook.
6259         (electric-indent-chars): Revert to simple list.
6260         (electric-indent-functions): New var.
6261         (electric-indent-post-self-insert-function): Use it.
6263         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6264         there's no inferior buffer (bug#10196).
6265         (prolog-consult-compile): Don't use toggle-read-only.
6267 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
6269         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6270         interrupt.  (Bug#10187)
6272 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6274         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6275         (bug#9160).
6277         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6278         (bug#10191).
6280 2011-12-02  Juri Linkov  <juri@jurta.org>
6282         * info.el (Info-search): Display "end of manual" when Isearch
6283         reaches the end of single-file Info manual.  (Bug#9918)
6285 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
6287         * isearch.el (isearch-message-prefix): Run the input method part
6288         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
6290 2011-12-02  Juri Linkov  <juri@jurta.org>
6292         * isearch.el (isearch-occur): Use `word-search-regexp' for
6293         `isearch-word'.
6294         (isearch-search-and-update): Add condition for `isearch-word' and
6295         call `word-search-regexp'.  (Bug#10145)
6297 2011-12-01  Glenn Morris  <rgm@gnu.org>
6299         * eshell/em-hist.el (eshell-hist-initialize):
6300         Handle eshell-history-size nil and HISTSIZE set or unset.
6301         (eshell-history-file-name, eshell-history-size): Fix custom type.
6303 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6305         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6307 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
6309         * progmodes/verilog-mode.el (verilog-pretty-expr):
6310         Rework verilog-pretty-expr to handle new assignment operators in system
6311         verilog, such as += *= and the like.
6312         (verilog-assignment-operator-re): Regular expression to find the
6313         assigment operator in a verilog assignment.
6314         (verilog-assignment-operation-re): Regular expression to find an
6315         assignment statement for pretty-expr.
6316         (verilog-in-attribute-p): Query returns true if point is in an
6317         attribute context; used to skip these for expression line up from
6318         pretty-expr.
6319         (verilog-in-parameter-p): Query returns true if point is in an
6320         parameter definition context; used to skip these for expression
6321         line up from pretty-expr.
6322         (verilog-in-parenthesis-p): Query returns true if point is in a
6323         parenthetical expression, specifically ( ) but not [ ] or { };
6324         used by pretty-expr.
6325         (verilog-just-one-space): If there is no space, don't add one.
6326         (verilog-get-lineup-indent-2): Specifically skip just attribute
6327         contexts for expression lineup, rather than skipping all
6328         parenthetical expressions.
6329         (verilog-calculate-indent): Fix comment, and fix indent.
6330         (verilog-do-indent): Indent declarations in lists (suggested by
6331         Joachim Lechner).
6332         (verilog-mode-abbrev-table): Populate abbrev mode with the various
6333         skeleton items.
6334         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6335         by Alain Mellan).
6337 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
6339         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6340         parameters with embedded comments.  Reported by Ray Stevens.
6341         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6342         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6343         Reported by Tim Holt.
6344         (verilog-auto): Fix AUTOing a upper module then AUTOing module
6345         instantiated by upper module causing wrong expansion until AUTOed a
6346         second time.  Reported by K C Buckenmaier.
6347         (verilog-diff-auto): Fix showing .* as a difference when
6348         `verilog-auto-star-save' off.  Reported by Dan Dever.
6349         (verilog-auto-reset, verilog-read-always-signals)
6350         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6351         temporary signals in reset list if
6352         verilog-auto-reset-blocking-in-non is nil, and match assignment
6353         style to each signal's assignment type, bug381.
6354         Reported by Thomas Esposito.
6355         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6356         (verilog-uvm-statement-re): Support UVM indentation and
6357         highlighting, with old OVM keywords only.
6358         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6359         Support AUTOTIEOFF creating non-wire data types.
6360         Suggested by Jonathan Greenlaw.
6361         (verilog-auto-insert-lisp, verilog-delete-to-paren)
6362         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6363         (verilog-inject-sense, verilog-read-inst-pins)
6364         (verilog-read-sub-decls, verilog-read-sub-decls-line):
6365         Fix mismatching parenthesis inside commented out code when deleting
6366         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
6367         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6368         non-numeric vector width.  Reported by Alex Reed.
6369         (verilog-auto-ascii-enum): Add "onehot" option to work around not
6370         detecting signals with parameter widths.  Reported by Alex Reed.
6371         (verilog-auto-delete-trailing-whitespace):
6372         With `verilog-auto-delete-trailing-whitespace' remove trailing
6373         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
6374         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6375         Fix verilog-scan-cache corruption when running user AUTO expansion
6376         hooks that call indentation routines.
6377         (verilog-simplify-range-expression): Fix typo ignoring lower case
6378         identifiers.
6379         (verilog-delete-auto): Fix delete-autos to also remove user created
6380         automatics, as long as they start with AUTO.
6381         (verilog-batch-diff-auto, verilog-diff-auto)
6382         (verilog-diff-function): Add `verilog-diff-auto' and bind to
6383         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
6384         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6385         (verilog-in-paren-quick, verilog-re-search-backward-quick)
6386         (verilog-re-search-forward-quick, verilog-syntax-ppss):
6387         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6388         is disabled and its cache will get corrupt, causing AUTOS not to
6389         expand.  Instead use only -quick functions.
6390         (verilog-scan-region): Fix scanning over escaped quotes.
6391         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6392         (verilog-re-search-backward-quick)
6393         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6394         related functions now ignore strings, to fix misparsing of strings
6395         with magic comments embedded in them.
6396         (verilog-read-auto-template):
6397         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6398         Reported by Brad Dobbie.
6399         (verilog-read-auto-template):
6400         Fix 'verilog-auto-inst-template-numbers' with comments.
6401         Reported by Brad Dobbie.
6402         (verilog-auto-inst, verilog-auto-inst-param)
6403         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6404         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
6405         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6406         debugging templates without merge conflicts, bug357.
6407         Reported by Brad Dobbie.
6408         (verilog-read-auto-template):
6409         Fix verilog-auto-inst-template-numbers with multiple templates.
6410         Reported by Brad Dobbie.
6411         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6412         abbrevs so user won't be asked to save.
6413         (verilog-read-auto-lisp-present): Fix to start at beginning of
6414         buffer in case called outside of verilog-auto.
6415         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6416         to "X-2".  Reported by Matthew Myers.
6417         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6418         all inputs from module templates.  Reported by Leith Johnson.
6419         (verilog-module-inside-filename-p): Fix locating programs as with
6420         modules.
6421         (verilog-auto-inst-port): Fix vl-width expressions when using
6422         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
6423         (verilog-decls-get-regs, verilog-decls-get-signals,
6424         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6425         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6426         verilog-read-decls): Combine reg and wire structures into one var
6427         structure to represent SystemVerilog concepts.
6428         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6429         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6430         (verilog-auto-wire-type, verilog-insert-definition):
6431         Add verilog-auto-wire-type and AUTOLOGIC to support using
6432         SystemVerilog "logic" keyword instead of "wire"/"reg".
6433         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6434         to declares outputs that also have assignments (presumably in an
6435         ifdef or generate if so there's not a driver conflict).
6436         Reported by Matthew Myers.
6437         (verilog-auto-declare-nettype, verilog-insert-definition):
6438         Add verilog-auto-declare-nettype to fix declarations using
6439         `default_nettype none.  Reported by Julian Gorfajn.
6440         (verilog-read-always-signals-recurse, verilog-read-decls)
6441         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6442         malformed end statement, bug325.  Reported by Joshua Wise and
6443         Andrew Drake.
6444         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6445         (verilog-inst-comment-re): Fix not deleting Interfaced comment
6446         when expanding .* in interfaces, bug320.
6447         Reported by Pierre-David Pfister.
6448         (verilog-read-module-name): Fix import statements between module
6449         name and open parenthesis, bug317.
6450         Reported by Pierre-David Pfister.
6451         (verilog-simplify-range-expression): Fix simplification of
6452         multiplications inside AUTOWIRE connections, bug303.
6453         (verilog-auto-inst-port): Support parameter expansion in
6454         multidimensional arrays.
6455         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6456         after "assert property".  Reported by Julian Gorfajn.
6457         (verilog-simplify-range-expression): Fix "couldn't merge" errors
6458         with multiplication, bug303.
6459         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6460         Reported by Jan Frode Lonnum.
6462 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
6464         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6465         (hfy-shell-file-name, hfy-shell):
6466         * international/fontset.el (x-decompose-font-name): Fix typos.
6468 2011-11-29  Ken Brown  <kbrown@cornell.edu>
6470         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6471         (gdb-version): Remove defvar.
6472         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6473         (gdb-gud-context-command, gdb-non-stop-handler)
6474         (gdb-current-context-command, gdb-stopped): Use it.
6475         (gdb-init-1): Enable pretty printing here.
6476         (gdb-non-stop-handler): Don't enable pretty-printing here.
6477         Check to see if the target supports non-stop mode; if not, turn off
6478         non-stop mode.  Use the following.
6479         (gdb-check-target-async): New defun.
6480         (gud-watch, gdb-stopped): Fix whitespace.
6481         (gdb-get-source-file): Don't try to display the source file if
6482         `gdb-main-file' is nil.
6484 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6486         * align.el: Try to generate fewer markers (bug#10047).
6487         (align--set-marker): New macro.
6488         (align-region): Use it.
6490 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6492         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6494 2011-11-29  Chong Yidong  <cyd@gnu.org>
6496         * indent.el (indent-for-tab-command, indent-according-to-mode):
6497         Doc fix.
6498         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
6500 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
6502         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6503         aware of remote file names.  (Bug#10124)
6505 2011-11-29  Chong Yidong  <cyd@gnu.org>
6507         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6509 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6511         * files.el (find-file): Don't use force-same-window (bug#10144).
6512         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6513         use pop-to-buffer if the selected window can't be used.
6514         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6516 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
6518         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6519         special-mode-map.
6521 2011-11-28  Chong Yidong  <cyd@gnu.org>
6523         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6525 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
6527         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6528           gdb-get-source-file-list on gdb-create-source-file-list.
6530 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
6532         * whitespace.el (whitespace-newline): Use a different foreground
6533         color for 16-color light-background displays.
6535 2011-11-24  Chong Yidong  <cyd@gnu.org>
6537         * window.el (display-buffer--special-action): Doc fix.
6539 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
6541         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6542         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6543         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6544         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6545         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6546         (avl-tree-stack-first):
6547         * emacs-lisp/cconv.el (cconv--analyse-use):
6548         * net/gnutls.el (gnutls-negotiate): Fix typos.
6550 2011-11-24  Glenn Morris  <rgm@gnu.org>
6552         * lpr.el (lpr-windows-system, lpr-lp-system):
6553         * mail/binhex.el (binhex-begin-line):
6554         * progmodes/grep.el (grep-history, grep-find-history):
6555         * textmodes/flyspell.el:
6556         * vc/pcvs-defs.el (cvs-global-menu):
6557         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6558         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6559         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6561         * net/tls.el: Fix case of "GnuTLS".
6563         * paths.el (rmail-file-name): Format doc-string for make-docfile.
6565         * version.el (emacs-build-system): Give it a doc-string.
6567 2011-11-24  Juri Linkov  <juri@jurta.org>
6569         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6571 2011-11-24  Glenn Morris  <rgm@gnu.org>
6573         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6574         if called on a non-mime message just toggle the headers.  (Bug#8006)
6576 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
6578         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6579         (allout-lead-with-comment-string, allout-structure-deleted-hook)
6580         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6581         (allout-rebullet-heading, allout-open-sibtopic)
6582         (allout-toggle-current-subtree-encryption)
6583         (allout-toggle-subtree-encryption, allout-encrypt-string)
6584         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6585         (allout-distinctive-bullets-string, allout-auto-activation):
6586         * window.el (window-normalize-buffer-to-display):
6587         * progmodes/verilog-mode.el (verilog-batch-indent):
6588         * textmodes/bibtex.el (bibtex-field-braces-opt)
6589         (bibtex-field-strings-opt):
6590         * vc/cvs-status.el (cvs-tree-merge):
6591         Fix typos.
6593 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
6595         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6596         `non-essential' to t, in order to avoid remote connections.
6598 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
6600         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6601         On MS-DOS and MS-Windows, compare with loaddefs.el
6602         case-insensitively.
6604 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
6606         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
6608 2011-11-23  Glenn Morris  <rgm@gnu.org>
6610         * paths.el (rmail-file-name): Reformat the doc-string so that it
6611         is picked up.
6613         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6614         (rmail-auto-file): Ignore case in the "special" field names,
6615         as mail-fetch-field does for all others.
6617         * mail/rmail.el (rmail-forward):
6618         * mail/rmailkwd.el (rmail-set-label):
6619         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6620         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
6622         * mail/rmail.el (rmail-current-message): Doc fix.
6624         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
6626 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6628         * server.el (server-eval-and-print): Allow C-g (bug#6585).
6630 2011-11-22  Glenn Morris  <rgm@gnu.org>
6632         * mail/rmailmm.el (test-rmail-mime-handler)
6633         (test-rmail-mime-bulk-handler)
6634         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6636 2011-11-21  Juri Linkov  <juri@jurta.org>
6638         * calc/calc.el (calc-read-key-sequence):
6639         Let-bind `input-method-function' to nil.  (Bug#10018)
6641 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6643         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6644         Tell the caller that the next line needs recomputation, even
6645         though it doesn't start a sexp (bug#10094).
6647 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6649         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6651 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6653         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6654         Use force-same-window.
6656 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
6658         * descr-text.el (describe-char-unicode-data):
6659         * json.el (json-string-escape):
6660         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6661         (Footnote-unicode, Footnote-style-p):
6662         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6664 2011-11-20  Chong Yidong  <cyd@gnu.org>
6666         * window.el (replace-buffer-in-windows): Restore interactive spec.
6668 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6670         * electric.el (electric-indent-mode): Fix last change (too optimistic).
6672         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6673         (byte-compile-global-not-obsolete-vars): New var.
6674         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6675         Use it.
6676         (byte-compile-warn-obsolete): Align text with the one in *Help*.
6678 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
6680         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6681         * progmodes/pascal.el (electric-pascal-equal):
6682         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6683         * xml.el (xml-substitute-special): Fix typos.
6685 2011-11-20  Glenn Morris  <rgm@gnu.org>
6687         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6688         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6689         Doc fixes.
6690         (rmail-decode-mime-charset): Mark as obsolete.
6692         * mail/rmailsum.el (rmail-message-regexp-p-1):
6693         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6694         Before using mime functions, check they are set.  (Bug#10077)
6696 2011-11-19  Juri Linkov  <juri@jurta.org>
6698         * info.el (Info-finder-find-node): Use `package--builtins' instead
6699         of `package-alist'.  Use node names formed by the pattern "Keyword "
6700         and the keyword name.
6702 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
6704         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6706 2011-11-19  Juri Linkov  <juri@jurta.org>
6708         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6709         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
6710         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6711         `old-history', `old-history-forward'.  Add let-binding
6712         `window-selected'.  Remove calls to `kill-buffer',
6713         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
6714         before calling `Info-find-node', so `Info-find-node-2' will reread
6715         the Info file.  Restore window positions only when `window-selected'
6716         is non-nil.
6718 2011-11-19  Juri Linkov  <juri@jurta.org>
6720         * isearch.el (isearch-lazy-highlight-new-loop):
6721         Remove condition `(not isearch-error)'.  (Bug#9918)
6723         * misearch.el (multi-isearch-search-fun): Add condition
6724         `(not bound)' to ignore lazy-highlighting search.
6725         Add the search-failed message "end of multi" when the end of
6726         multi-sequence is reached.  Uncapitalize the search-failed
6727         message "Repeat for next buffer".
6729         * info.el (Info-search): Add the search-failed message
6730         "end of the manual" when the end of the manual is reached
6731         in Isearch mode.
6733 2011-11-19  Juri Linkov  <juri@jurta.org>
6735         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6736         Use non-destructive `remove' instead of `delete' because
6737         `Info-history-list' stored to `Info-isearch-initial-history-list' in
6738         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6740 2011-11-19  Juri Linkov  <juri@jurta.org>
6742         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6743         to nil instead of binding `search-ring' and `regexp-search-ring'.
6744         (Bug#9185)
6746 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
6748         * simple.el (line-move): Force movement by logical lines for any
6749         hscrolled window, not only when auto-hscroll-mode is on.
6750         (line-move-visual): Update doc string to that effect.  (Bug#10076)
6752 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
6754         * language/european.el (macintosh): Define as alias for mac-roman.
6756 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
6758         * mail/rmailmm.el (rmail-mime-display-header)
6759         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6760         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6761         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6762         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6763         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6764         of a raw aref.
6765         (rmail-mime-entity-segment): To get past the tagline, move forward
6766         2 more lines, to account for the 2 empty lines that precede and
6767         follow the line with the buttons.
6768         (rmail-mime-update-tagline): Move one more line, to get past the
6769         empty line that follows the buttons in the tagline.  (Bug#9520)
6771 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
6773         * window.el (window-max-delta-1, window-min-delta-1)
6774         (window-min-size-1, window-state-get-1, window-state-put-1)
6775         (window-state-put-2): Use "window--" prefix.
6777 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6779         * emacs-lisp/smie.el: Improve warnings and conflict detection.
6780         (smie-warning-count): New var.
6781         (smie-set-prec2tab): Use it.
6782         (smie-bnf->prec2): Improve warnings.  Add docstring.
6783         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6784         (smie-bnf--set-class): New function.
6785         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
6786         corner case.
6788         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6789         (compilation-error-properties, compilation-move-to-column):
6790         Handle compilation-first-column while in the target buffer.
6792         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6793         Don't hardcode point-min==1.
6795         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6796         (eshell-rewrite-for-command): Remove workaround.
6797         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6798         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6799         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6801         * files-x.el (modify-file-local-variable): Obey commenting conventions.
6803 2011-11-17  Glenn Morris  <rgm@gnu.org>
6805         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6806         Ignore buffer-local generated-autoload-file if it is the same
6807         as the global value.  (Bug#10049)
6809 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
6811         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6812         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6813         (reftex-toc-previous-heading, reftex-toc-max-level)
6814         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6815         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6816         (reftex-toc-do-promote, reftex-toc-promote-prepare)
6817         (reftex-toc-promote-action, reftex-toc-extract-section-number)
6818         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6819         (reftex-toc-rename-label, reftex-toc-visit-location)
6820         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6821         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6822         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6823         leaving "*toc*" only for references to the buffer.
6825 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
6827         * window.el (window-resize, delete-window, split-window):
6828         Replace window-splits by window-combination-resize.
6829         * cus-start.el (window-splits): Replace by window-combination-resize.
6831 2011-11-17  Glenn Morris  <rgm@gnu.org>
6833         * progmodes/sh-script.el (sh-font-lock-keywords-var):
6834         Make bash entry derive from sh entry, not shell entry.
6836 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
6838         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6839         local file name.
6841 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
6843         * menu-bar.el (menu-bar-file-menu):
6844         * printing.el (pr-ps-utility):
6845         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6846         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6847         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6848         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6849         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6850         (icalendar--convert-cyclic-to-ical)
6851         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6852         (icalendar--convert-ical-to-diary)
6853         (icalendar--convert-recurring-to-diary)
6854         (icalendar--convert-non-recurring-all-day-to-diary)
6855         (icalendar-import-format-sample):
6856         * progmodes/idlw-shell.el (idlwave-shell-mode):
6857         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6858         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6859         (vhdl-ps-print-init): Fix typos.
6861 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
6863         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6864         FSF and collapse date sequence, obscure author/maintainer email address
6865         better, remove extra version line, track relocation of author's webpage.
6867         * progmodes/python.el (python-pdbtrack-input-prompt)
6868         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6869         regular python pdb prompts.  Adjustments shamelessly taken exactly as
6870         suggested in EmacsWiki page (tiny change):
6871         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6873 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
6875         * expand.el (expand-pos, expand-index, expand-point):
6876         Remove redundant info from docstring.
6877         (expand-add-abbrevs): Doc fix.
6878         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6879         (expand-sample-perl-mode-expand-list): Fix typos.
6881         * net/dbus.el (dbus-event-member-name):
6882         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6883         * term/pc-win.el (msdos-create-frame-with-faces):
6884         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6886 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
6888         * window.el (split-window, window-state-get-1)
6889         (window-state-put-1, window-state-put-2): Rename occurrences of
6890         window-nest to window-combination-limit.
6891         * cus-start.el (window-nest): Rename to window-combination-limit.
6893 2011-11-16  Chong Yidong  <cyd@gnu.org>
6895         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6896         regexp (Bug#10033).
6898 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6900         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6901         `completing-read' will remove *Completions* and will preserve
6902         current-buffer for us.
6903         (tmm-add-prompt): Users of *Completions* will always (re)set its
6904         major mode.
6905         (tmm-old-comp-map): Remove.
6907 2011-11-16  Glenn Morris  <rgm@gnu.org>
6909         * mail/rmailedit.el: Require rmailmm when compiling.
6910         (rmail-old-mime-state): New declaration.
6911         (rmail-edit-current-message): If editing a mime message,
6912         edit the "raw" message from the mbox buffer.
6913         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
6915 2011-11-15  Glenn Morris  <rgm@gnu.org>
6917         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6918         which wasn't being used.  Add optional arg to force given state.
6919         (rmail-mime): Add optional arg to force given state.
6921 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
6923         * allout.el (allout-encryption-plaintext-sanitization-regexps):
6924         * frame.el (display-mm-dimensions-alist):
6925         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6926         (outline-move-subtree-down):
6927         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6928         (newsticker--treeview-do-get-node):
6929         * net/quickurl.el (quickurl-list-buffer-name):
6930         * progmodes/dcl-mode.el (dcl-mode):
6931         * progmodes/gdb-mi.el (gdb-mapcar*):
6932         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6934 2011-11-15  Glenn Morris  <rgm@gnu.org>
6936         * mail/rmail.el (rmail-file-coding-system): It's only ever used
6937         in a boolean sense, so just make it a boolean, and fix the doc.
6938         (rmail-show-mime-function, rmail-mime-feature)
6939         (rmail-require-mime-maybe): Doc fixes.
6940         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6942         * mail/rmailmm.el (rmail-show-mime): Doc fix.
6944 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
6946         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6947         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6948         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6949         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6951 2011-11-15  Glenn Morris  <rgm@gnu.org>
6953         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6954         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6955         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6956         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6957         (rmail-mime, rmail-show-mime): Doc fixes.
6959         * term/ns-win.el (mode-line-frame-identification):
6960         Leave it alone.  (Bug#10051)
6962         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
6964         * mail/rmailout.el (rmail-output-to-rmail-buffer):
6965         Handle empty buffers.  (Bug#9978)
6967 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
6969         * international/mule.el (define-charset):
6970         * mail/rmailmm.el (rmail-mime-find-header-encoding):
6971         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6972         * progmodes/verilog-mode.el (verilog-backward-token):
6973         * textmodes/ispell.el (lookup-words):
6974         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6976 2011-11-14  Glenn Morris  <rgm@gnu.org>
6978         * progmodes/executable.el
6979         (executable-make-buffer-file-executable-if-script-p):
6980         Handle file-modes returning nil.
6982         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6983         message - not necessary, and causes problems.  (Bug#9831)
6985         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6987         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6989         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6990         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
6991         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6993 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
6995         * window.el (window-resize, delete-window): Use window-splits
6996         variable instead of function.
6997         (window-state-get-1, window-state-put-2, window-state-put):
6998         Don't deal with windows' splits status.
7000 2011-11-12  Glenn Morris  <rgm@gnu.org>
7002         * apropos.el (apropos-do-all, apropos-library, apropos-value)
7003         (apropos-documentation): Doc fixes.
7005 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
7007         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7008         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7010 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7012         * electric.el (electric-indent-post-self-insert-function): Make it
7013         possible for a char to only indent in some circumstances.
7014         (electric-indent-mode): Simplify.
7016 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
7018         * window.el (windows-with-parameter): Remove unused function.
7019         (windows-at-side): Rename to window-at-side-list.
7020         (window-check, window-atom-check, window-atom-check-1)
7021         (window-side-check, window-size-ignore, window-size-fixed-1)
7022         (window-in-direction-2): Prefix with "window--".
7023         (window-tree-1): Rename to window--subtree, fix doc-string.
7025 2011-11-11  Glenn Morris  <rgm@gnu.org>
7027         * subr.el (eval-after-load): If FILE is already loaded,
7028         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
7030 2011-11-10  Glenn Morris  <rgm@gnu.org>
7032         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7033         Call svn via vc-svn-command rather than vc-do-command.
7034         (vc-svn-command): Add --non-interactive.  (Bug#9993)
7035         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7037         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7038         Add toggle-read-only.  (Bug#7292)
7039         * files.el (toggle-read-only): Mention that it should only
7040         be used interactively.  (Bug#10006)
7042 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7044         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7045         Adjust regexp for OCaml warnings.
7047         * electric.el (electric-pair-post-self-insert-function): Let user
7048         turn it off buffer-locally (bug#9932).
7050         * progmodes/python.el (python-beginning-of-statement):
7051         Rewrite (bug#2703).
7053         * progmodes/compile.el: Better handle TABs (bug#9749).
7054         (compilation-internal-error-properties)
7055         (compilation-next-error-function): Obey the target buffer's
7056         compilation-error-screen-columns.
7058 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
7060         * progmodes/meta-mode.el: Remove obsolete comments.
7061         (meta-right-comment-regexp, meta-ignore-comment-regexp):
7062         Fix typos in docstrings.
7064 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
7066         * window.el (window-size-fixed-p): Rewrite doc-string.
7067         (window-resizable-p): Rename to window--resizable-p.  Update callers.
7068         (window--resizable): New function.  Make all callers of
7069         window-resizable call window--resizable instead.
7070         (window-resizable): Rewrite in terms of window--resizable.
7072 2011-11-08  Glenn Morris  <rgm@gnu.org>
7074         * progmodes/delphi.el (delphi-mode-syntax-table):
7075         Let define-derived-mode define a proper syntax table.  (Bug#9994)
7077 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7079         * window.el: Stay away from defsubst.
7080         (window-list-no-nils): Remove.
7081         (window-state-get-1, window-state-get): Use backquote instead.
7083 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7085         * emacs-lisp/find-func.el (find-function-read):
7086         Fix incorrect use of default argument in `completing-read'.
7088 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
7090         * window.el (display-buffer-function, special-display-function):
7091         Mention display-buffer-record-window but do not mention
7092         help-setup parameter in doc-strings.
7093         (window-min-delta): Fix doc-string typo.
7095 2011-11-08  Chong Yidong  <cyd@gnu.org>
7097         * window.el (window-total-height, window-total-width): Doc fix.
7098         (window-body-size): Move from C.
7099         (window-body-height, window-body-width): Move to C.
7101 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7103         * window.el: Make special-display like display-buffer-alist (bug#9532).
7104         (display-buffer--special-action): New function, morphed
7105         from display-buffer--special.
7106         (display-buffer): Use it to handle special-display-buffers at higher
7107         priority (just after display-buffer-alist).
7108         (display-buffer-fallback-action, display-buffer--other-frame-action)
7109         (pop-to-buffer-same-window): Remove display-buffer--special.
7111 2011-11-07  Glenn Morris  <rgm@gnu.org>
7113         * calendar/cal-menu.el (cal-menu-set-date-title):
7114         Do nothing if not in a calendar.  (Bug#9976)
7116 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7118         * files.el (find-file): Always use selected-window.
7120 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
7122         * window.el (window-combinations): Make WINDOW argument
7123         mandatory.  Rewrite doc-string.
7124         (walk-window-subtree, window-atom-check, window-min-delta)
7125         (window-max-delta, window--resize-this-window)
7126         (window--resize-root-window-vertically, window-tree)
7127         (balance-windows, window-state-put): Rewrite doc-strings as to
7128         not mention the term "subwindow".
7129         (window--resize-subwindows-skip-p): Rename to
7130         window--resize-child-windows-skip-p.
7131         (window--resize-subwindows-normal): Rename to
7132         window--resize-child-windows-normal.
7133         (window--resize-subwindows): Rename to
7134         window--resize-child-windows.
7135         (window-or-subwindow-p): Rename to window--in-subtree-p.
7137 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7139         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7140         Ensure that mbox format messages end in two newlines (Bug#9974).
7142 2011-11-06  Chong Yidong  <cyd@gnu.org>
7144         * window.el (window-combination-p): Function deleted; its
7145         side-effect is not used in any existing code.
7146         (window-combinations, window-combined-p): Call window-*-child
7147         directly.
7149 2011-11-05  Chong Yidong  <cyd@gnu.org>
7151         * window.el (window-valid-p): Rename from window-any-p.
7152         (window-size-ignore, window-state-get): Callers changed.
7153         (window-normalize-window): Rename from window-normalize-any-window.
7154         New arg LIVE-ONLY, replacing window-normalize-live-window.
7155         (window-normalize-live-window): Delete.
7156         (window-combination-p, window-combined-p, window-combinations)
7157         (walk-window-subtree, window-atom-root, window-min-size)
7158         (window-sizable, window-sizable-p, window-size-fixed-p)
7159         (window-min-delta, window-max-delta, window-resizable)
7160         (window-resizable-p, window-full-height-p, window-full-width-p)
7161         (window-current-scroll-bars, window-point-1, set-window-point-1)
7162         (window-at-side-p, window-in-direction, window-resize)
7163         (adjust-window-trailing-edge, maximize-window, minimize-window)
7164         (window-deletable-p, delete-window, delete-other-windows)
7165         (record-window-buffer, unrecord-window-buffer)
7166         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7167         (quit-window, split-window, window-state-put)
7168         (set-window-text-height, fit-window-to-buffer)
7169         (shrink-window-if-larger-than-buffer): Callers changed.
7171 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
7173         * mail/rmail.el (rmail-simplified-subject): Decode subject with
7174         rfc2047-decode-string.
7175         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7176         warnings.
7178         * window.el (window-body-height, window-body-width): Mention in
7179         the doc string that the return values are in frame's canonical
7180         units.  (Bug#9949)
7182 2011-11-03  Alan Mackenzie  <acm@muc.de>
7184         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7185         change in cc-engine.el.
7187 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7189         * window.el (switch-to-buffer): Use `force-same-window' interactively.
7191 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
7193         * window.el (quit-window): Call unrecord-window-buffer after
7194         showing another buffer in the window.  (Bug#9937)
7195         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7197 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
7199         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7200         Accept status with more than 9 shelves.  (Bug#9935)
7201         Reported by Colin D Bennett <colin@gibibit.com>.
7203 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
7205         * help.el (with-help-window): Don't reference
7206         temp-buffer-show-specifiers in doc-string.
7208 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7210         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7211         menu-item.
7213 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7215         * whitespace.el: New version 13.2.2.
7216         (whitespace-newline-mode): Disable properly.  Reported by Sarah
7217         <EmacsWiki>.
7219 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
7221         * net/newst-treeview.el: Remove "Time-stamp".
7222         (newsticker--group-manage-orphan-feeds): Do not call
7223         newsticker--treeview-tree-update.
7224         (newsticker-treeview-update, newsticker-treeview):
7225         Call newsticker--treeview-tree-update if necessary.
7227 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
7229         * window.el (window-iso-combination-p, window-iso-combined-p)
7230         (window-iso-combinations): Remove "iso-" infix.
7231         Suggested by Chong Yidong.
7232         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7233         (window-max-delta-1, window-resize, window--resize-siblings)
7234         (window--resize-this-window, adjust-window-trailing-edge)
7235         (split-window, balance-windows-1)
7236         (shrink-window-if-larger-than-buffer):
7237         * calendar/calendar.el (calendar-generate-window):
7238         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7240 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7242         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7243         in place (bug#9907).
7244         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7245         (eshell-rewrite-if-command, eshell-rewrite-for-command)
7246         (eshell-structure-basic-command, eshell-rewrite-while-command)
7247         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7248         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7249         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7250         (eshell-do-pipelines-synchronously, eshell-eval-command):
7251         Use backquotes and prefer setq to set.
7252         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7253         (eshell-macrop): Use functionp.
7254         (eshell-do-eval): Handle multiple expressions in `while' body.
7256 2011-10-30  Chong Yidong  <cyd@gnu.org>
7258         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7259         instead of set-mark (Bug#9810).
7261 2011-10-30  Chong Yidong  <cyd@gnu.org>
7263         * window.el (split-window-below, split-window-right): Rename from
7264         split-window-above-each-other and split-window-side-by-side
7265         respectively.  All callers changed.
7266         (split-window-sensibly, split-window-sensibly): Use them.
7267         (split-window-keep-point): Doc fix.
7269         * isearch.el: Add isearch-scroll property to split-window-below
7270         and split-window-right.
7272         * follow.el (follow-mode):
7273         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7274         * progmodes/ada-xref.el (ada-gdb-application):
7275         * emulation/vip.el (vip-buffer-in-two-windows):
7276         * image-dired.el (image-dired-dired-with-window-configuration):
7277         * dired-x.el (dired-do-find-marked-files):
7278         * dired.el (dired-pop-to-buffer):
7279         * bs.el (bs--show-with-configuration):
7280         * vc/emerge.el (emerge-setup-windows):
7281         * textmodes/two-column.el (2C-two-columns):
7282         * textmodes/reftex-toc.el (reftex-toc):
7283         * progmodes/gdb-mi.el (gdb-setup-windows):
7284         * progmodes/fortran.el (fortran-window-create):
7285         * net/newst-treeview.el (newsticker--treeview-window-init):
7286         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7287         * emulation/tpu-edt.el (tpu-gold-map):
7288         * emulation/crisp.el (crisp-mode-map):
7289         * calendar/calendar.el (calendar-basic-setup): Callers changed.
7291 2011-10-29  Chong Yidong  <cyd@gnu.org>
7293         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7295         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7297         * textmodes/flyspell.el (flyspell-word): Fix char offset for
7298         forged Ispell output (Bug#7904).
7300         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7302 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7304         * doc-view.el: Avoid ugly errors about not finding nil.
7305         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7306         (doc-view-dvipdf-program, doc-view-unoconv-program)
7307         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7308         Avoid nil or absolute file name as default value.
7309         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7311 2011-10-28  Alan Mackenzie  <acm@muc.de>
7313         * progmodes/cc-defs.el (c-version): -> 5.32.2.
7315 2011-10-28  Alan Mackenzie  <acm@muc.de>
7317         Amend the handling of c-beginning/end-of-defun in nested declaration
7318         scopes.
7320         * progmodes/cc-vars.el (c-defun-tactic): Move here from
7321         cc-langs.el.  Change it to a defcustom.
7323         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7324         cc-vars.el.
7326         * progmodes/cc-engine.el (c-beginning-of-statement-1):
7327         Prevent "class foo : bar" being spuriously recognized as a label.
7329         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7330         Add parameter `inclusive' (to include enclosing braces in the region).
7331         (c-widen-to-enclosing-decl-scope): New function.
7332         (c-while-widening-to-decl-block): New macro.
7333         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7334         outward for defun boundaries, and correspondingly change symbol
7335         `respect-enclosure' to `go-outward'.
7336         (c-declaration-limits): Change algorithm to report only the "innermost"
7337         defun's boundaries.
7339 2011-10-28  Deniz Dogan  <deniz@dogan.se>
7341         * net/rcirc.el (rcirc-mode): Use hard newlines.
7343 2011-10-28  Alan Mackenzie  <acm@muc.de>
7345         Amend to indent and fontify macros "which include their own semicolon"
7346         correctly, using the "virtual semicolon" mechanism.
7348         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7350         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7351         Recode to scan one line at a time rather than having \n and \r
7352         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7353         (c-forward-label): Amend for virtual semicolons.
7354         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7356         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7357         of the new C macros.
7359         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7360         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7361         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7362         (c-opt-cpp-macro-define): Make into a full language variable.
7363         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7364         AWK Mode (including \n, \r) removed, no longer needed.
7366         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7367         Invoke c-make-macro-with-semi-re.
7369         * progmodes/cc-vars.el (c-macro-with-semi-re):
7370         (c-macro-names-with-semicolon): New variables.
7371         (c-make-macro-with-semi-re): New function.
7373 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7375         * vc/log-edit.el: Fill empty field rather than adding new one.
7376         (log-edit-add-field): New function.
7377         (log-edit-insert-changelog): Use it.
7379 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7381         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7383 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7385         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7386         (gdb--check-interpreter): New function.
7387         (gdb): Use it.
7389 2011-10-27  Glenn Morris  <rgm@gnu.org>
7391         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7392         (least-positive-float, least-negative-float)
7393         (least-positive-normalized-float, least-negative-normalized-float)
7394         (float-epsilon, float-negative-epsilon):
7395         Remove unnecessary declarations.
7397         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7398         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7399         (least-positive-float, least-negative-float)
7400         (least-positive-normalized-float, least-negative-normalized-float)
7401         (float-epsilon, float-negative-epsilon): Add doc-strings,
7402         based on those in cl.texi.
7404         * files.el (set-visited-file-name): If the major-mode changed,
7405         reload the local variables.  (Bug#9796)
7407 2011-10-27  Chong Yidong  <cyd@gnu.org>
7409         * subr.el (change-major-mode-after-body-hook): New hook.
7410         (run-mode-hooks): Run it.
7412         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7413         Use change-major-mode-before-body-hook.
7415         * simple.el (fundamental-mode):
7416         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7417         change introducing fundamental-mode-hook.
7419 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
7421         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7423 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
7425         * ido.el (ido-file-name-all-completions-1): Do not require
7426         tramp.el explicitly.  (Bug#7583)
7428 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7430         * progmodes/octave-mod.el:
7431         * progmodes/octave-inf.el: Update maintainer.
7433 2011-10-26  Chong Yidong  <cyd@gnu.org>
7435         * subr.el (with-wrapper-hook): Rewrite doc.
7437 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
7439         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7440         filenames "/method:foo:".  (Bug#9793)
7442 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7444         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7445         (bug#9865).
7447 2011-10-24  Glenn Morris  <rgm@gnu.org>
7449         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
7451 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
7453         * notifications.el: Add the requirement of a running D-Bus session
7454         bus to the Commentary.
7456 2011-10-24  Juri Linkov  <juri@jurta.org>
7458         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7459         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7460         (Bug#9364)
7462 2011-10-24  Juri Linkov  <juri@jurta.org>
7464         * info.el (Info-following-node-name-re): Add newline to the list
7465         of allowed characters for leading space.  (Bug#9824)
7467 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7469         * progmodes/octave-inf.el (inferior-octave-mode-map):
7470         Fix C-c C-h binding.
7471         * progmodes/octave-mod.el (octave-help): Remove.
7473 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
7475         Sync with Tramp 2.2.3.
7477         * net/tramp-cache.el (top): Pacify byte-compiler using
7478         `init-file-user' and `site-run-file'.
7480         * net/trampver.el: Update release number.
7482 2011-10-23  Chong Yidong  <cyd@gnu.org>
7484         * files.el (toggle-read-only): Remove obsolete comment about
7485         version control.
7487         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7488         for toggle-read-only.  Note that this hasn't called vc-next-action
7489         since 2008-05-02, though it wasn't documented at the time.
7491         * vc/ediff-init.el (ediff-toggle-read-only-function):
7492         Use toggle-read-only.
7494 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
7496         Fix bug #9560, sporadic wrong indentation; improve instrumentation
7497         of c-parse-state.
7499         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7500         correct faulty logical expression.
7501         (c-parse-state-state, c-record-parse-state-state):
7502         (c-replay-parse-state-state): New defvar/defuns.
7503         (c-debug-parse-state): Use new functions.
7505 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
7507         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7508         last fix.  Use window-in-direction correctly.
7510 2011-10-21  Chong Yidong  <cyd@gnu.org>
7512         * progmodes/idlwave.el (idlwave-mode):
7513         * progmodes/vera-mode.el (vera-mode): No need to set
7514         require-final-newline; that's done in prog-mode.
7515         Suggested by Stefan Monnier.
7517 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
7519         * mouse.el (mouse-drag-window-above)
7520         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7521         (mouse-drag-mode-line-1, mouse-drag-header-line)
7522         (mouse-drag-vertical-line-rightward-window): Remove.
7523         (mouse-drag-line): New function.
7524         (mouse-drag-mode-line, mouse-drag-header-line)
7525         (mouse-drag-vertical-line): Call mouse-drag-line.
7526         * window.el (window-at-side-p, windows-at-side): New functions.
7528 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
7530         * tar-mode.el (tar-grind-file-mode):
7531         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
7533 2011-10-21  Chong Yidong  <cyd@gnu.org>
7535         * progmodes/idlwave.el (idlwave-mode):
7536         * progmodes/vera-mode.el (vera-mode):
7537         Use mode-require-final-newline.
7539 2011-10-20  Glenn Morris  <rgm@gnu.org>
7541         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
7543 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
7545         * emulation/cua-base.el (cua-set-mark): Fix case of string.
7547 2011-10-20  Chong Yidong  <cyd@gnu.org>
7549         * emulation/cua-base.el (cua-mode):
7550         * mail/footnote.el (footnote-mode):
7551         * mail/mailabbrev.el (mail-abbrevs-mode):
7552         * net/xesam.el (xesam-minor-mode):
7553         * progmodes/bug-reference.el (bug-reference-mode):
7554         * progmodes/cap-words.el (capitalized-words-mode):
7555         * progmodes/compile.el (compilation-minor-mode)
7556         (compilation-shell-minor-mode):
7557         * progmodes/gud.el (gud-tooltip-mode):
7558         * progmodes/hideif.el (hide-ifdef-mode):
7559         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7560         * progmodes/subword.el (subword-mode):
7561         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7562         * progmodes/which-func.el (which-function-mode):
7563         * term/tvi970.el (tvi970-set-keypad-mode):
7564         * term/vt100.el (vt100-wide-mode):
7565         * textmodes/flyspell.el (flyspell-mode):
7566         * textmodes/ispell.el (ispell-minor-mode):
7567         * textmodes/nroff-mode.el (nroff-electric-mode):
7568         * textmodes/paragraphs.el (use-hard-newlines):
7569         * textmodes/refill.el (refill-mode):
7570         * textmodes/reftex.el (reftex-mode):
7571         * textmodes/rst.el (rst-minor-mode):
7572         * textmodes/sgml-mode.el (html-autoview-mode)
7573         (sgml-electric-tag-pair-mode):
7574         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7575         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7576         * emulation/crisp.el (crisp-mode):
7577         * emacs-lisp/eldoc.el (eldoc-mode):
7578         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7579         minor mode behavior.
7581 2011-10-19  Juri Linkov  <juri@jurta.org>
7583         * descr-text.el (describe-char): Add #x2010 and #x2011 to
7584         the list of hard-coded chars with escape-glyph face.
7586 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7588         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7590 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
7592         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7593         running process.
7595 2011-10-19  Glenn Morris  <rgm@gnu.org>
7597         * vc/vc-bzr.el (vc-bzr-after-dir-status):
7598         Ignore ignored files.  (Bug#9726)
7600 2011-10-19  Chong Yidong  <cyd@gnu.org>
7602         Doc fix for minor modes, stating that an omitted argument enables
7603         the mode unconditionally when called from Lisp.
7605         * abbrev.el (abbrev-mode):
7606         * allout.el (allout-mode):
7607         * autoinsert.el (auto-insert-mode):
7608         * autoarg.el (autoarg-mode, autoarg-kp-mode):
7609         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7610         (global-auto-revert-mode):
7611         * battery.el (display-battery-mode):
7612         * composite.el (global-auto-composition-mode)
7613         (auto-composition-mode):
7614         * delsel.el (delete-selection-mode):
7615         * desktop.el (desktop-save-mode):
7616         * dired-x.el (dired-omit-mode):
7617         * dirtrack.el (dirtrack-mode):
7618         * doc-view.el (doc-view-minor-mode):
7619         * double.el (double-mode):
7620         * electric.el (electric-indent-mode, electric-pair-mode):
7621         * emacs-lock.el (emacs-lock-mode):
7622         * epa-hook.el (auto-encryption-mode):
7623         * follow.el (follow-mode):
7624         * font-core.el (font-lock-mode):
7625         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7626         * help.el (temp-buffer-resize-mode):
7627         * hilit-chg.el (highlight-changes-mode)
7628         (highlight-changes-visible-mode):
7629         * hi-lock.el (hi-lock-mode):
7630         * hl-line.el (hl-line-mode, global-hl-line-mode):
7631         * icomplete.el (icomplete-mode):
7632         * ido.el (ido-everywhere):
7633         * image-file.el (auto-image-file-mode):
7634         * image-mode.el (image-minor-mode):
7635         * iswitchb.el (iswitchb-mode):
7636         * jka-cmpr-hook.el (auto-compression-mode):
7637         * linum.el (linum-mode):
7638         * longlines.el (longlines-mode):
7639         * master.el (master-mode):
7640         * mb-depth.el (minibuffer-depth-indicate-mode):
7641         * menu-bar.el (menu-bar-mode):
7642         * minibuf-eldef.el (minibuffer-electric-default-mode):
7643         * mouse-sel.el (mouse-sel-mode):
7644         * msb.el (msb-mode):
7645         * mwheel.el (mouse-wheel-mode):
7646         * outline.el (outline-minor-mode):
7647         * paren.el (show-paren-mode):
7648         * recentf.el (recentf-mode):
7649         * reveal.el (reveal-mode, global-reveal-mode):
7650         * rfn-eshadow.el (file-name-shadow-mode):
7651         * ruler-mode.el (ruler-mode):
7652         * savehist.el (savehist-mode):
7653         * scroll-all.el (scroll-all-mode):
7654         * scroll-bar.el (scroll-bar-mode):
7655         * server.el (server-mode):
7656         * shell.el (shell-dirtrack-mode):
7657         * simple.el (auto-fill-mode, transient-mark-mode)
7658         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7659         (line-number-mode, column-number-mode, size-indication-mode)
7660         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7661         * strokes.el (strokes-mode):
7662         * time.el (display-time-mode):
7663         * t-mouse.el (gpm-mouse-mode):
7664         * tool-bar.el (tool-bar-mode):
7665         * tooltip.el (tooltip-mode):
7666         * type-break.el (type-break-mode-line-message-mode)
7667         (type-break-query-mode):
7668         * view.el (view-mode):
7669         * whitespace.el (whitespace-mode, whitespace-newline-mode)
7670         (global-whitespace-mode, global-whitespace-newline-mode):
7671         * xt-mouse.el (xterm-mouse-mode): Doc fix.
7673         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7674         Fix autogenerated docstring.
7676 2011-10-19  Juri Linkov  <juri@jurta.org>
7678         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7679         by checking environment variables "DESKTOP_SESSION" and
7680         "XDG_CURRENT_DESKTOP".  (Bug#9779)
7682 2011-10-19  Juri Linkov  <juri@jurta.org>
7684         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7685         (browse-url-chromium-program, browse-url-chromium-arguments):
7686         New defcustoms.
7687         (browse-url-default-browser): Check for `browse-url-chromium' and
7688         call `browse-url-chromium-program'.
7689         (browse-url-chromium): New command.  (Bug#9779)
7691 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
7693         * facemenu.el (list-colors-duplicates): On Windows, detect more
7694         duplicates by assuming that only colors matching "^System" are
7695         special "system colors".  (Bug#9722)
7697 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7699         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7700         to distinguish the author from the committer.
7702 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
7704         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7706 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
7708         * international/mule.el (sgml-html-meta-auto-coding-function):
7709         Add support for detecting encoding in HTML5 specified only as
7710         <meta charset="UTF-8">.  Implementation just makes http-equiv and
7711         content-type parts from HTML4 encoding string optional.  (Bug#9716)
7713 2011-10-18  Glenn Morris  <rgm@gnu.org>
7715         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
7717 2011-10-18  Chong Yidong  <cyd@gnu.org>
7719         * faces.el (cursor): Doc fix.
7721 2011-10-17  Chong Yidong  <cyd@gnu.org>
7723         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7725 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
7727         * dirtrack.el (dirtrack): Support shell buffers with path
7728         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
7730 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
7732         * json.el: Bump version to 1.3 and note change in History.
7733         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7735 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7737         * comint.el (comint-insert-input, comint-send-input)
7738         (comint-get-old-input-default, comint-backward-matching-input)
7739         (comint-next-prompt): Use nil instead of `input' for field property of
7740         past user input (bug#114).
7742         * minibuffer.el (completion--replace): Inherit surrounding properties
7743         (bug#114).
7744         (minibuffer-complete-and-exit): Use it.
7746         * comint.el (comint--table-subvert): Quote the all-completions output
7747         (bug#9160).
7749 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
7751         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7753         * menu-bar.el (menu-bar-file-menu): Add entry for making new
7754         window on right of selected.  (Bug#9350) Reword other window
7755         entries and separate them from frame entries.
7757 2011-10-15  Glenn Morris  <rgm@gnu.org>
7759         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7760         Doc fixes.
7762 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
7764         * net/network-stream.el (network-stream-open-starttls):
7765         Improve detection of failure due to lack of TLS support.
7767         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7768         putting the input text in front and in bold.
7770 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7772         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7774         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7775         empty buffer.
7777         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7778         unread-command-events rather than pushing yet-another event.
7780 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
7782         * mail/sendmail.el (sendmail-query-once): Improve the wording of
7783         the explanation of the possible choices.  Make the options passed
7784         to completing-read shorter.
7786 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7788         * textmodes/flyspell.el (flyspell-large-region): Make sure
7789         extended character mode is used if defined (Bug#1339).
7791 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
7793         * simple.el (what-cursor-position): Fix the display of the
7794         character info for LRE, LRO, RLE, and RLO characters by appending
7795         an invisible PDF.
7797 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7799         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7800         even in case of error; add debug spec; simplify data flow.
7801         (with-timeout-handler): Remove.
7803 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
7805         Fix Bug#6019, Bug#9315.
7807         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7808         complete `buffer-file-name', the local file name part could look
7809         remotely (for example on VMS).
7811         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7812         `tramp-run-real-handler'.
7813         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7814         already quoted by '"'.
7816         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7817         Let `file-name-handler-alist' be nil, the local file name part
7818         could look remotely (for example on VMS).
7820 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7822         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7823         from here...
7824         (flyspell-post-command-hook): ...to here.
7826 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7828         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7829         if not needed.
7830         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
7831         using completion.  Protect against "slow" callers.
7832         Remove the "message hack".
7834 2011-10-11  Juri Linkov  <juri@jurta.org>
7836         * isearch.el (isearch-lazy-highlight-word): New variable.
7837         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7838         Use it.  (Bug#9727)
7840 2011-10-11  Glenn Morris  <rgm@gnu.org>
7842         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7843         like f90-previous-statement does.
7845 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7847         * eshell/eshell.el (eshell-command): History should be saved
7848         only in interactive use, to avoid error.
7850 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7852         * minibuffer.el (completion-file-name-table): Fix last change,
7853         i.e. ignore normal errors but not the other ones.
7855 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
7857         * window.el (special-display-buffer-names)
7858         (special-display-regexps): Remove some remnants of earlier
7859         changes from doc-strings.
7860         (quit-windows-on): New function.
7862         * vc/vc.el (vc-revert, vc-rollback):
7863         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7864         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
7865         (Bug#6183) (Bug#7074) (Bug#7447)
7867 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
7869         * window.el (frame-auto-hide-function): Add version tag.
7870         (Bug#9699)
7872 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
7874         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7875         condition.
7877 2011-10-09  Leo Liu  <sdl.web@gmail.com>
7879         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7880         (Bug#9701)
7882 2011-10-08  Glenn Morris  <rgm@gnu.org>
7884         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7885         before the first code statement zero indent.  (Bug#9690)
7887 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
7889         * simple.el (count-words-region): Always count in the region.
7890         Report the number of lines and characters too.
7891         (count-words): New command, which counts in the buffer if the
7892         region is inactive, as count-words-region used to.
7893         (count-words--message): New function.  Handle plurals.
7894         (count-lines-region): Make it an alias for count-words-region.
7896         * bindings.el (esc-map): Replace count-lines-region with
7897         count-words-region.
7899 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
7901         * window.el (window--delete): Delete dedicated frame
7902         unconditionally when argument KILL is non-nil.  (Bug#9699)
7903         (switch-to-buffer): Fix doc-string typo.
7905 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7907         * eshell/eshell.el (eshell-command): Avoid using hooks.
7909 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
7911         * bindings.el ([M-left],[M-right]): Bind to left-word and
7912         right-word respectively.
7914 2011-10-07  Glenn Morris  <rgm@gnu.org>
7916         * cus-start.el (debug-on-quit): Fix custom type.
7918 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7920         * subr.el (define-key-after): Clarify that the function is not
7921         useful for non-menu keymaps.
7923         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7925 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7927         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7928         in current minibuffer (Fix bug with recursive minibuffers).
7930 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
7932         * progmodes/gdb-mi.el (gdb): Doc fix.
7934 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
7936         * window.el (frame-auto-hide-function): New option replacing
7937         frame-auto-delete.  Suggested by Stefan Monnier.
7938         (window--delete): Call frame-auto-hide-function instead of
7939         investigating frame-auto-delete.
7940         (window-point-1, set-window-point-1): New functions.
7941         (window-in-direction, record-window-buffer, window-state-get-1)
7942         (display-buffer-record-window): Use window-point-1 instead of
7943         window-point.
7944         (set-window-buffer-start-and-point): Use set-window-point-1.
7946 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7948         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7950 2011-10-05  Glenn Morris  <rgm@gnu.org>
7952         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7953         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
7955 2011-10-05  Leo Liu  <sdl.web@gmail.com>
7957         * subr.el (read-char-choice): Fix argument to buffer-live-p which
7958         works with buffer object.
7960 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7962         * mpc.el (mpc-tool-bar-map): Add labels.
7964 2011-10-04  Glenn Morris  <rgm@gnu.org>
7966         * calendar/holidays.el (calendar-check-holidays): Doc fix.
7968 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
7970         * window.el (window--delete): New function.
7971         (frame-auto-delete): Resuscitate option.
7972         (bury-buffer, replace-buffer-in-windows)
7973         (quit-window): Rewrite using window--delete.
7974         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7975         Pass display-buffer-mark-dedicated to window--display-buffer-2
7976         (Bug#9639).
7978 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7980         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7981         returns a list (bug#9554).  Add remote file name completion.
7982         * comint.el (comint--table-subvert): Curry and get quote&unquote
7983         functions as arguments.
7984         (comint--complete-file-name-data): Adjust call accordingly.
7985         * pcomplete.el (pcomplete--table-subvert): Remove.
7986         (pcomplete-completions-at-point): Use comint--table-subvert instead.
7988         * minibuffer.el (completion-table-case-fold): Use currying.
7989         (completion--styles-type, completion--cycling-threshold-type):
7990         New constants.
7991         (completion-styles, completion-category-overrides)
7992         (completion-cycle-threshold): Use them.
7993         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7994         completion-table-case-fold.
7996 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
7998         * minibuffer.el (completion-category-overrides): Fix type of styles
7999         and add more user friendly tags (bug#9660).
8001 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8003         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8004         (mule-input-method-string): New widget.
8005         (default-input-method, language-info-custom-alist): Use it.
8007 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8009         * pcomplete.el: Require comint.
8010         (pcomplete--common-suffix): Remove.
8011         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8012         (pcomplete--table-subvert): Sync with comint--table-subvert.
8013         (pcomplete--entries): Use comint-completion-file-name-table.
8014         * comint.el (comint-unquote-filename): Simplify.
8015         (comint-completion-file-name-table): New function (bug#9616).
8016         (comint--complete-file-name-data): Use it.
8018         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8019         (pcmpl-gnu-tar-buffer): Remove.
8020         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8021         around.  Make sure pcomplete-suffix-list is only changed temporarily.
8022         Don't look inside the tar's file if it's too large.
8024 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
8026         * cus-edit.el (custom-mode-map):
8027         * epa.el (epa-key-list-mode-map):
8028         * man.el (Man-mode-map):
8029         * startup.el (splash-screen-keymap):
8030         * simple.el (special-mode-map): Use scroll-up-command and
8031         scroll-down-command.
8033         * progmodes/idlw-help.el (idlwave-help-mode-map):
8034         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8035         * net/newst-plainview.el (newsticker-mode-map):
8036         * emulation/ws-mode.el (wordstar-mode-map):
8037         * emulation/vi.el (vi-com-map):
8038         * calc/calc-graph.el (calc-graph-show-dumb):
8039         * term/sun.el (terminal-init-sun):
8040         * term/ns-win.el (global-map):
8041         * progmodes/grep.el (grep-mode-map):
8042         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8043         * mail/rmail.el (rmail-mode-map):
8044         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8046         * custom.el (custom-safe-themes, load-theme): Treat value of t for
8047         custom-safe-themes as special.
8049 2011-10-01  Julien Danjou  <julien@danjou.info>
8051         * notifications.el (notifications-notify): Fix docstring.
8053 2011-10-01  Per Starbäck  <per@starback.se>
8055         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
8057 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
8059         * startup.el (command-line-1): Fix last fix by inserting
8060         initial-scratch-message into *scratch* before displaying it.
8061         (Bug#9605) and (Bug#9636)
8063 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
8065         * simple.el (line-move): If auto-hscroll-mode is disabled and the
8066         window is hscrolled, move by logical lines.  (Bug#9607)
8067         (line-move-visual): Update the doc string to the above effect.
8069 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
8071         * window.el (display-buffer-record-window): When WINDOW is the
8072         selected window use `point' instead of `window-point'.  (Bug#9626)
8074         * startup.el (command-line-1): Use insert-before-markers when
8075         inserting initial-scratch-message.  (Bug#9605)
8077         * help.el (help-window): Remove variable.
8079 2011-09-29  Glenn Morris  <rgm@gnu.org>
8081         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8083 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
8085         * descr-text.el (describe-char-categories): Accept category
8086         descriptions more than one line long.
8088 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8090         * simple.el (delete-trailing-whitespace): Fix last change.
8092         * progmodes/perl-mode.el (perl-syntax-propertize-function):
8093         Don't confuse "y => 3" as the beginning of a `y' operation.
8095         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8096         object has more than 4 slots (bug#9613).
8098 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
8100         * subr.el (with-output-to-temp-buffer):
8101         * net/quickurl.el (quickurl, quickurl-browse-url):
8102         Fix typos in docstrings.
8104 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
8106         * minibuffer.el (completion-styles)
8107         (completion-category-overrides): Cross reference each other in doc
8108         strings.
8110 2011-09-27  Glenn Morris  <rgm@gnu.org>
8112         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8113         to split-string.  (Bug#9606)
8115 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8117         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8118         (bug#9615).
8120 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
8122         * emacs-lisp/package.el (list-packages): Fix echo area message.
8124 2011-09-27  Leo Liu  <sdl.web@gmail.com>
8126         * ido.el (ido-read-internal): Accept cons cell HIST arg.
8128 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
8130         * net/dbus.el (dbus-unregister-object): Don't release services for
8131         registered signals.  (Bug#9581)
8133 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
8135         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8136         function that picks between cfengine 2 and 3 support
8137         automatically.  Update docs accordingly.
8139 2011-09-22  Kenichi Handa  <handa@m17n.org>
8141         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8142         ZERO.
8143         (indian-itrans-v5-table-for-tamil): New variable.
8144         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8146 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
8148         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8149         that's true if the current command involved collapsing of text.
8150         It's reset to false at the beginning of the next command.
8151         (allout-post-command-business): Move the cursor to the beginning
8152         of entry if the cursor is hidden and collapsing activity just
8153         happened.
8155 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
8157         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8158         tracking (Bug#9541).
8160 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
8162         * net/newst-reader.el (newsticker-html-renderer)
8163         (newsticker-show-news): Automatically load html rendering package
8164         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
8165         because w3m-fill-column is let-bound" and the error "Symbol's value
8166         as variable is void: w3m-fill-column".
8168 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
8170         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8171         Release services only if they are defined.  (Bug#9581)
8173 2011-09-23  Richard Stallman  <rms@gnu.org>
8175         * textmodes/paragraphs.el (forward-sentence): For backwards case,
8176         distinguish start of paragraph from start of its text.
8178         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8180         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8181         (rmail-generate-viewer-buffer): Put that hook on view buffer.
8182         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8184 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
8186         * international/mule-diag.el (mule-diag): Insert a newline after
8187         each fontset description.
8189 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8191         * simple.el (delete-trailing-whitespace):
8192         Document last change; simplify.
8194 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
8196         * simple.el (delete-trailing-whitespace): Also delete
8197         extra newlines at the end of the buffer.
8199         * textmodes/picture.el: Make motion commands obey shift-select-mode.
8200         (picture-newline): Use forward-line so as to ignore fields.
8202 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8204         * subr.el (with-wrapper-hook): Fix edebug spec.
8206 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8208         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8209         (bug#4538).
8211 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
8213         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8214         Fix nasty bug using wrong cached values.
8216 2011-09-23  Alan Mackenzie  <acm@muc.de>
8218         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8220 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
8222         * window.el (pop-to-buffer): Ensure right window is selected if we
8223         chose another frame.
8225 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
8227         * simple.el (what-cursor-position): Use get-char-property-change
8228         and next-single-char-property-change, to be able to show display
8229         properties that come from overlays as well as text properties.
8231 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
8233         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8235         * cmuscheme.el (run-scheme, switch-to-scheme):
8236         * cus-edit.el (customize-group, custom-buffer-create)
8237         (customize-browse):
8238         * info.el (info):
8239         * shell.el (shell):
8240         * mail/sendmail.el (mail):
8241         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8243 2011-09-22  Richard Stallman  <rms@gnu.org>
8245         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8246         move back only to line beg, don't move back over blank lines.
8248 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
8250         * files.el (copy-directory): Set directory attributes only in case
8251         they could be retrieved from the source directory.  (Bug#9565)
8253 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
8255         * progmodes/hideshow.el (hs-looking-at-block-start-p)
8256         (hs-find-block-beginning, hs-hide-level-recursive):
8257         Ignore strings as well as comments.  (Bug#9502)
8259 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
8261         * progmodes/sql.el (sql-comint-postgres):
8262         Convert port number to a string.  (Bug#9566)
8264 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
8266         * window.el (quit-window): Undedicate window when switching to
8267         previous buffer.  Reported by Thierry Volpiatto
8268         <thierry.volpiatto@gmail.com>.
8269         (special-display-popup-frame): When popping up a new frame reset
8270         its previous buffers to nil.  Simplify code.
8272 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
8274         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8275         and process filter, as done also in `shell-command'.
8277 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
8279         * window.el (set-window-buffer-start-and-point):
8280         Call set-window-start with NOFORCE argument t.
8281         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8282         (quit-window): Reword doc-string.  Handle new format of
8283         quit-restore parameter.  Don't delete window if it has a
8284         previous buffer we can show instead of the present one.
8285         (display-buffer-record-window): Rewrite using a new format for
8286         the quit-restore window parameter
8287         (special-display-popup-frame, display-buffer-same-window)
8288         (display-buffer-reuse-window, display-buffer-pop-up-frame)
8289         (display-buffer-pop-up-window, display-buffer-use-some-window):
8290         Adapt symbol passed to display-buffer-record-window.
8291         * help.el (help-window-setup): Handle new format of quit-restore
8292         parameter.
8294 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8296         * faces.el (face-list): Fix docstring (bug#9564).
8298         * window.el (display-buffer--action-function-custom-type):
8299         Don't include internal functions in the Custom interface.
8301 2011-09-20  Juri Linkov  <juri@jurta.org>
8303         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8304         (Info-forward-node, Info-backward-node, Info-next-preorder)
8305         (Info-last-preorder): Use it.  (Bug#9528)
8307 2011-09-20  Juri Linkov  <juri@jurta.org>
8309         * info.el (Info-last-preorder): Visit last menu item only when
8310         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8312 2011-09-20  Julien Danjou  <julien@danjou.info>
8314         * password-cache.el (password-cache-remove): Remove entries even if the
8315         value is nil, so that password with a nil value (negative caching) is
8316         possible to invalidate.
8318 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
8320         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8321         all whitespace around breakpoint.  (Bug#9553)
8322         (f90-find-breakpoint): Only break at whitespace inside a comment.
8324 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8326         * minibuffer.el (completion-file-name-table): Keep track of errors.
8327         (completion-table-with-predicate): Handle the case where pred1 is nil.
8328         * pcomplete.el (pcomplete-completions-at-point): Simplify.
8330 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8332         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8333         (debugger-return-value): Signal an error if the debugging context does
8334         not await any return value.
8336         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8337         * image-mode.el (image-toggle-display-text)
8338         (image-toggle-display-image): Stay away from evil `intangible'.
8340 2011-09-19  Leo Liu  <sdl.web@gmail.com>
8342         * replace.el (occur-revert-arguments): Make it permanent-local.
8343         (occur-mode): Don't call font-lock-defontify.
8345 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
8347         * net/ldap.el (ldap-search-internal): Don't push empty search
8348         result (Bug#9508).
8350 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8352         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8354 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
8356         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8357         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8359 2011-09-18  Juri Linkov  <juri@jurta.org>
8361         * buff-menu.el (Buffer-menu-mode-map):
8362         * dired.el (dired-mode-map):
8363         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8364         (lisp-interaction-mode-map):
8365         * emacs-lisp/package.el (package-menu-mode-map):
8366         * epa.el (epa-key-list-mode-map):
8367         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8368         (menu-bar-options-menu):
8369         * outline.el (outline-mode-menu-bar-map):
8370         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8371         * vc/vc-dir.el (vc-dir-menu-map):
8372         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8373         Capitalize non-function content words in menu item strings.
8375         * dired.el (dired-mode-map): Add menu item for
8376         `image-dired-dired-toggle-marked-thumbs'.
8378 2011-09-18  Juri Linkov  <juri@jurta.org>
8380         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8381         to `isearch-case-fold-search' and restore its original value
8382         after the `isearch-mode' call.
8384 2011-09-18  Juri Linkov  <juri@jurta.org>
8386         * progmodes/grep.el (grep-process-setup): Don't check code for 1
8387         because `zgrep' returns 1 for successful matches (bug#9226).
8389 2011-09-18  Juri Linkov  <juri@jurta.org>
8391         * info.el (Info-extract-menu-node-name): Check the second match
8392         for empty string (second test-case of bug#9528).
8393         (Info-last-preorder): Let-bind `Info-history' to nil to not add
8394         intermediate nodes to the history (first test-case of bug#9528).
8396 2011-09-18  Juri Linkov  <juri@jurta.org>
8398         * info.el (Info-mode-syntax-table): New variable.
8399         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8401 2011-09-18  Juri Linkov  <juri@jurta.org>
8403         * info.el (Info-file-supports-index-cookies):
8404         Increment line-beginning-position's arg from 3 to 4 because makeinfo
8405         outputs one more line for long file names (bug#4142).
8407 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
8409         * newcomment.el (comment-normalize-vars): If prompting for
8410         comment-start, set comment-start-skip too (Bug#8424).
8412 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
8414         * icomplete.el: Fix previous fix of Bug#5849.
8415         (icomplete-mode): Don't set completion-show-inline-help.
8416         (icomplete-minibuffer-setup): Set completion-show-inline-help
8417         locally during icompletion.
8419 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
8421         * woman.el (woman2-process-escapes): Don't delete unrecognized
8422         escapes (Bug#7843).
8424         * files.el (inhibit-first-line-modes-regexps): Add image files.
8425         (hack-local-variables-prop-line): Return nil for malformed
8426         prop-lines (Bug#9044).
8428 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
8430         * net/tramp.el (top): Don't require 'shell.
8431         (tramp-methods): Fix docstring.
8432         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8433         Return complete remote file name.  Handle "smb" case.
8434         Use `tramp-tmpdir', if defined for the respective method.
8435         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8437         * net/tramp-compat.el (top): Require 'shell.
8439         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8440         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8441         `tramp-current-host'.
8442         (tramp-get-remote-tmpdir): Remove.
8444         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8445         `tramp-tmpdir' entries.
8446         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8447         (tramp-smb-handle-file-attributes): Ignore errors.
8448         (tramp-smb-wait-for-output): Check also for process end.
8450 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8452         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8453         when sending QUIT (bug#9312).
8455 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
8457         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8458         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8459         occur-mode-display-occurrence.
8460         (occur-edit-mode): Add usage message.
8461         (occur-cease-edit): New command.
8462         (occur-after-change-function): Use text properties to find the
8463         position of the prefix text.
8464         (occur-engine): Set stickiness of prefix text properties.
8466 2011-09-17  Glenn Morris  <rgm@gnu.org>
8468         * progmodes/etags.el (complete-tag):
8469         Fix call to completion-in-region.  (Bug#9526)
8471 2011-09-17  Juri Linkov  <juri@jurta.org>
8473         * textmodes/ispell.el (ispell-word): Add to the error message
8474         the word, ispell program name and current dictionary (bug#9121).
8475         (ispell-tex-arg-end): Capitalize "error" in the error message.
8477 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
8479         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8480         check.  (Bug#4251)
8482 2011-09-17  Juri Linkov  <juri@jurta.org>
8484         * window.el (window-safe-min-height, window-safe-min-width):
8485         Fix typos (followup to bug#9522).
8487 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
8489         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8491 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
8493         * simple.el (line-move): If goal-column is set, move by logical
8494         lines, not by display lines.  (Bug#971)
8495         (next-line, previous-line, goal-column, line-move-visual): Doc fix
8496         to reflect the above change.
8498 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8500         * image.el (imagemagick-register-types): Use regexp-opt.
8502 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
8504         * window.el (display-buffer-base-action): Rename from
8505         display-buffer-default-action.  Make default value empty.
8506         (display-buffer-overriding-action): Convert to defvar.
8507         (display-buffer-fallback-action): New var.
8509 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
8511         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8512         declaration.
8513         (package--add-to-archive-contents): If there is a duplicate entry
8514         with an older version, remove it.
8515         (package-menu-mark-delete, package-menu-mark-install)
8516         (package-menu-mark-unmark): Make unused args optional.
8517         (package-menu-mark-obsolete-for-deletion):
8518         Use package-menu-get-status instead of a regexp search.
8519         (package-menu-get-status): Use tabulated-list-entry.
8520         (package-menu-mark-upgrades): New command.
8521         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
8522         (package-menu-execute): Do installation before deletion.
8523         (package-menu-refresh, package-menu-execute): Use derived-mode-p
8524         instead of checking major-mode.
8525         (package-menu--find-upgrades): New function.
8527 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8529         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8530         passwords in the log buffer.
8531         (smtpmail-process-filter): Update the process marker so that the
8532         "broken by peer" status message is inserted in the right place.
8534 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8536         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8537         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8538         bibtex-completion-at-point-function.
8539         (bibtex-completion-at-point-function): Use them.
8541         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8543         * mpc.el (mpc-constraints-tag-lookup): New function.
8544         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8545         also to browser "album|playlist".
8547 2011-09-14  Juri Linkov  <juri@jurta.org>
8549         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
8550         (isearch-edit-string): Use length of `isearch-string' when
8551         `isearch-fail-pos' returns nil.
8552         (isearch-message): Remove duplicate code and call
8553         `isearch-fail-pos' with arg `t'.
8555 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
8557         * replace.el (occur-mode-goto-occurrence): Don't force using other
8558         window (Bug#9499).
8560         * dired-aux.el (dired-do-chmod): Don't provide initial input.
8562 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
8564         * window.el (display-buffer-window): Remove.
8565         (display-buffer-record-window): Use help-setup window parameter
8566         instead of variable display-buffer-window.
8567         (display-buffer-function, special-display-buffer-names)
8568         (special-display-function): Mention help-setup parameter instead
8569         of display-buffer-window in doc-string.
8570         * help.el (help-window-setup): New argument help-window.
8571         Use help-window-setup parameter instead of display-buffer-window.
8572         Reword some messages.
8573         (with-help-window): Pass window used for displaying the buffer
8574         to help-window-setup.  Don't set display-buffer-window.
8576 2011-09-13  Glenn Morris  <rgm@gnu.org>
8578         * emacs-lisp/debug.el (debugger-make-xrefs):
8579         Preserve point.  (Bug#9462)
8581 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
8583         * window.el (window-deletable-p): Use next-frame.
8585 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
8587         * window.el (window-auto-delete): Remove.
8588         (window-deletable-p): Remove argument FORCE.  Don't deal with
8589         dedication and previous buffers.
8590         (switch-to-prev-buffer): Don't delete window.
8591         (delete-windows-on): Delete a window's frame if and only if the
8592         window is dedicated.
8593         (replace-buffer-in-windows): Delete buffer's window or frame if
8594         and only if window is dedicated.
8595         (quit-window): Handle quit-restore as before last change.
8596         (bury-buffer): Delete window only if window-deletable-p returns t.
8598 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
8600         * window.el (window-deletable-p): Never delete the last frame on a
8601         given terminal.
8603 2011-09-13  Glenn Morris  <rgm@gnu.org>
8605         * help.el (describe-key-briefly): Copy previous standard-output change.
8607 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
8609         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
8611 2011-09-13  Glenn Morris  <rgm@gnu.org>
8613         * emacs-lisp/lisp-mode.el (lisp-indent-function):
8614         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8616 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
8618         * dired-aux.el (dired-mark-read-string): Don't return default
8619         value on empty input (Bug#9361).
8620         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8621         Omit initial minibuffer contents.
8622         (dired-do-chmod): Signal an error on empty input.
8623         (dired-mark-read-string): Don't return default on empty input.
8625         * files.el (file-modes-symbolic-to-number): Doc fix.
8627 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8629         * international/mule-cmds.el (ucs-completions): Remove.
8630         (read-char-by-name): Use complete-with-action instead; add metadata.
8632 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
8634         * window.el (display-buffer--action-function-custom-type)
8635         (display-buffer--action-custom-type): New vars.
8636         (display-buffer-alist, display-buffer-default-action)
8637         (display-buffer-overriding-action): Add defcustom types.
8639         * frame.el (delete-other-frames): Doc fix (Bug#276).
8641 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8643         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8645 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
8647         Change modes that used same-window-* vars to use switch-to-buffer.
8649         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8650         Use switch-to-buffer.
8652         * cus-edit.el (customize-group, custom-buffer-create)
8653         (customize-browse, custom-buffer-create-other-window):
8654         Use switch-to-buffer or switch-to-buffer-other-window.
8656         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8657         (Info-prev, Info-up, Info-speedbar-goto-node)
8658         (info-display-manual): Use switch-to-buffer.
8659         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8661         * mail/sendmail.el (mail): Use switch-to-buffer.
8662         (mail-recover): Use switch-to-buffer-other-window.
8664         * cmuscheme.el (run-scheme, switch-to-scheme):
8665         * ielm.el (ielm):
8666         * shell.el (shell):
8667         * net/rlogin.el (rlogin):
8668         * net/telnet.el (telnet, rsh):
8669         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8671 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
8673         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8675 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8677         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8678         so don't mention it (bug#9301).
8679         (dired-sort-toggle-or-edit): Clarify string further.
8681         * faces.el (face-spec-set-match-display): Make `(type graphic)'
8682         match `x', `w32' and `ns', like the manual says (bug#9029).
8684         * subr.el (eval-after-load): Doc string clarification (bug#9125).
8685         (process-kill-buffer-query-function): Mention the buffer name in
8686         the query.
8688         * image-mode.el (image-next-line): The line parameter is mandatory
8689         (bug#9258).
8691         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8692         which can be useful (bug#9301).
8694         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8696         * subr.el (match-string): Mention that the current buffer should
8697         be the same as the search was done in (bug#9282).
8699         * facemenu.el: Disable the remove-* commands if the mark isn't
8700         active (bug#9162).
8702 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
8704         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8705         of display-buffer.
8706         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8708         * replace.el (occur-mode-goto-occurrence)
8709         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8710         and display-buffer.
8712         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8713         display-buffer.
8715         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8716         special-display and same-window variables.
8717         (mail-other-window): Use switch-to-buffer-other-window.
8718         (mail-other-frame): USe switch-to-buffer-other-frame.
8720         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8721         Use display-buffer-other-frame.
8722         (gdb-display-gdb-buffer): Use pop-to-buffer.
8724         * progmodes/gud.el (gud-goto-info): Use info-other-window.
8726         * progmodes/python.el: Don't set same-window-buffer-names.
8728         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8730         * window.el (display-buffer-alist): Add *Python*.
8732 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
8734         * window.el (display-buffer-alist): Add entry for buffers
8735         previously handled same-window-*.
8736         (display-buffer-alist, display-buffer-default-action)
8737         (display-buffer-overriding-action): Mark as risky.
8738         (display-buffer-alist): Document action function changes.
8739         (display-buffer--same-window-action)
8740         (display-buffer--other-frame-action): New variables.
8741         (switch-to-buffer, display-buffer-other-frame): Use them.
8742         (display-buffer): Rename reuse-frame entry to reusable-frames.
8743         (display-buffer-reuse-selected-window): Function deleted.
8744         (display-buffer-reuse-window): Handle reusable-frames alist entry.
8745         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8746         (display-buffer-special): New function.
8747         (display-buffer--maybe-pop-up-frame-or-window): Rename from
8748         display-buffer-reuse-or-pop-window.  Split off special-display
8749         part into display-buffer-special.
8750         (display-buffer-use-some-window): Don't perform any special
8751         pop-up-frames handling.
8752         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8753         (display-buffer--maybe-same-window): Rename from
8754         display-buffer-maybe-same-window.
8756         * info.el: Don't set same-window-regexps.
8757         (info-setup): New function.
8758         (info-other-window, info): Call it.
8760         * cus-edit.el: Don't set same-window-regexps.
8761         (customize-group): New argument.
8762         (customize-group-other-window): Use it.
8763         (customize-face, customize-face-other-window): Likewise.
8764         (custom-buffer-create-other-window): Use pop-to-buffer directly.
8766         * net/rlogin.el:
8767         * net/telnet.el:
8768         * progmodes/gud.el: Don't set same-window-regexps.
8770         * cmuscheme.el:
8771         * ielm.el:
8772         * shell.el:
8773         * mail/sendmail.el:
8774         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8776 2011-09-10  Juri Linkov  <juri@jurta.org>
8778         * isearch.el (isearch-edit-string): Remove obsolete mention of
8779         `C-w' (`isearch-yank-word-or-char') from docstring.
8780         (isearch-query-replace): Fix typo in docstring (bug#9466).
8782 2011-09-10  Juri Linkov  <juri@jurta.org>
8784         * paren.el (show-paren-function): Don't show escaped parens.
8785         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
8787 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
8789         * mail/sendmail.el (mml-to-mime, mml-attach-file)
8790         (mm-default-file-encoding): Remove autoload forms, they are
8791         replaced with autoload cookies in mml.el and mm-encode.el.
8792         (mail-add-attachment): New command.
8793         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8794         (mail-mode): Mention mail-insert-file and mail-add-attachment in
8795         the doc string.
8796         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8798 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
8800         * simple.el (count-words-region): Use buffer if there's no region
8801         (bug#9429).
8803 2011-09-09  Juri Linkov  <juri@jurta.org>
8805         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8806         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8807         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
8809 2011-09-09  Alan Mackenzie  <acm@muc.de>
8811         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8812         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
8814 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
8816         Fix for Savannah bug#9392.
8817         * simple.el (mail-encode-mml): New defvar.
8819         * mail/rmail.el (mail-encode-mml): Add a defvar.
8820         (rmail-enable-mime-composing): Default to t.
8821         (rmail-forward): Use MIME method of forwarding only if both
8822         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8823         Set mail-encode-mml non-nil if the MIME method was used.
8825         * mail/sendmail.el (mml-to-mime): Add autoload form.
8826         (mail-encode-mml): Add a defvar.
8827         (mail-mode): Make mail-encode-mml buffer-local and initialize it
8828         to nil.
8829         (mail-send): If mail-encode-mml is non-nil, run the outgoing
8830         message through mml-to-mime, and reset mail-encode-mml to nil.
8832 2011-09-09  Glenn Morris  <rgm@gnu.org>
8834         * woman.el (woman-if-body): When processing an .el block,
8835         do not delete the next .el block as well.  (Bug#9447)
8836         (woman-special-characters): Add oq, cq, and hy characters.
8838 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
8840         * window.el (window-deletable-p): Make sure window is live before
8841         invoking window-prev-buffers.
8843 2011-09-08  Leo Liu  <sdl.web@gmail.com>
8845         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
8847 2011-09-08  Juri Linkov  <juri@jurta.org>
8849         * progmodes/compile.el (compilation-environment): Make it
8850         a defcustom (bug#8340).
8852 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
8854         * window.el (frame-auto-delete): Rename to window-auto-delete.
8855         Make it control auto-deletion of windows and/or frames.
8856         (window-deletable-p): New argument FORCE.  Rewrite conditions
8857         for deleting window/frame.  (Bug#9419)
8858         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8859         Rewrite handling of case when window/frame can be deleted.
8860         (delete-windows-on): Call window-deletable-p with new FORCE
8861         argument t.  (Bug#9456)
8863 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
8865         * help-mode.el (help-mode): Restore autoload.
8867 2011-09-07  Juri Linkov  <juri@jurta.org>
8869         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8870         `compilation-environment'.  Set buffer-local
8871         `compilation-environment' to `thisenv' later after (funcall mode).
8872         (Bug#8340)
8874         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
8875         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8876         instead of replacing its value.  (Bug#8340)
8878 2011-09-07  Juri Linkov  <juri@jurta.org>
8880         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8881         based on text properties put by `grep-filter' instead of matching
8882         escape sequences.
8883         (grep-mode): Set buffer-local `compilation-error-screen-columns'
8884         to the value of `grep-error-screen-columns' (bug#9438).
8886 2011-09-07  Juri Linkov  <juri@jurta.org>
8888         * simple.el (next-error-highlight, next-error-highlight-no-select):
8889         Doc fix (bug#9432).
8891 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
8893         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8894         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
8896 2011-09-07  Leo Liu  <sdl.web@gmail.com>
8898         * net/rcirc.el (rcirc-mode): Conditionally initialize
8899         rcirc-input-ring.
8901 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8903         * emacs-lisp/find-func.el (find-function-C-source): Only set
8904         find-function-C-source-directory after checking that we found a source
8905         file there (bug#9440).
8907 2011-09-06  Alan Mackenzie  <acm@muc.de>
8909         * isearch.el (isearch-other-meta-char): Wherever a key list is
8910         unread, "unread" the prefix arg, too.  This fixes bug #8901.
8912 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
8914         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8916 2011-09-05  Juri Linkov  <juri@jurta.org>
8918         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8920 2011-09-05  Juri Linkov  <juri@jurta.org>
8922         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8923         keeping point where processing of grep matches begins, and
8924         continue to delete remaining escape sequences from the same point.
8925         (grep-filter): Make leading zero optional in "0?1;31m" because
8926         git-grep emits "\033[1;31m" escape sequences unlike expected
8927         "\033[01;31m" as GNU Grep does (bug#9408).
8928         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8930 2011-09-05  Juri Linkov  <juri@jurta.org>
8932         * subr.el (y-or-n-p): Capitalize "yes".
8934 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
8936         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
8937         `tramp-cache-unload-hook' where appropriate.
8938         (tramp-methods): Rename `tramp-remote-sh' to
8939         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
8940         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8942         * net/tramp-sh.el (top): Don't require 'shell.
8943         (tramp-methods): Add `tramp-remote-shell' and
8944         `tramp-remote-shell-args' entries.
8945         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8946         (tramp-sh-handle-shell-command): Remove.
8947         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8948         Use `tramp-remote-shell'.
8950 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
8952         * mail/sendmail.el (sendmail-query-once-function): Delete.
8953         (sendmail-query-once): Save directly to send-mail-function.
8954         Update message-send-mail-function too.
8956         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8958 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
8960         * progmodes/python.el (python-mode-map): Use correct function to
8961         start python interpreter from menu-bar (as reported by Geert
8962         Kloosterman).
8963         (inferior-python-mode-map): Fix typo.
8964         (python-shell-map): Remove.
8966 2011-09-03  Deniz Dogan  <deniz@dogan.se>
8968         * net/rcirc.el (rcirc-print): Simplify code for
8969         rcirc-scroll-show-maximum-output.  There is no need to walk
8970         through all windows to find the right one.
8972 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
8974         * help.el (help-return-method): Doc fix.
8976 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
8978         * window.el (window-deletable-p): Don't return a non-nil value
8979         when there's a buffer that was shown in the window before.
8980         (Bug#9419)
8981         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8982         Set window's previous buffers to nil.
8984 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
8986         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8987         newline before and after the tag line, so it doesn't interfere
8988         with determining the paragraph direction of bidirectional text.
8990 2011-09-03  Leo Liu  <sdl.web@gmail.com>
8992         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
8994 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
8996         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8997         (pop-to-buffer): Change interactive spec.  Pass second argument
8998         directly to display-buffer.
8999         (display-buffer): Fix interactive spec.  Use functionp to
9000         distinguish between a function and a list of functions.
9002         * abbrev.el (edit-abbrevs):
9003         * arc-mode.el (archive-extract):
9004         * autoinsert.el (auto-insert):
9005         * bookmark.el (bookmark-bmenu-list):
9006         * files.el (find-file):
9007         * view.el (view-buffer):
9008         * progmodes/compile.el (compilation-goto-locus):
9009         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9011 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
9013         * window.el (display-buffer-alist): Doc fix.
9014         (display-buffer): Add docstring.  Don't treat
9015         display-buffer-default specially.
9016         (display-buffer-reuse-selected-window)
9017         (display-buffer-same-window, display-buffer-maybe-same-window)
9018         (display-buffer-reuse-window, display-buffer-pop-up-frame)
9019         (display-buffer-pop-up-window)
9020         (display-buffer-reuse-or-pop-window)
9021         (display-buffer-use-some-window): New functions.
9022         (display-buffer-default-action): Use them.
9023         (display-buffer-default): Delete.
9024         (pop-to-buffer-1): Fix choice of actions.
9026 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9028         * minibuffer.el (completion--insert-strings): Don't get confused by
9029         completion entries that end with an LF char.
9031 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
9033         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9035 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
9037         * window.el (display-buffer): Restore interactive spec.
9038         (display-buffer-same-window, display-buffer-other-window):
9039         New functions.
9040         (pop-to-buffer-1): New function.  Use the above.
9041         (pop-to-buffer, pop-to-buffer-same-window): Use it.
9042         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9044         * view.el (view-buffer-other-window, view-buffer-other-frame):
9045         Just use pop-to-buffer.
9047 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9049         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
9051 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
9053         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
9055 2011-08-31  Richard Stallman  <rms@gnu.org>
9057         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9058         of the separation of rmail-view-buffer from rmail-buffer.
9059         If you say no to "replace original", the decrypt is in the
9060         view buffer.  If you say yes, the decrypt goes into the
9061         rmail buffer also.
9063 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
9065         * window.el (display-buffer-window): Rewrite doc-string.
9066         (display-buffer-record-window): New function.
9067         (display-buffer-macro-specifiers)
9068         (display-buffer-even-window-sizes, display-buffer-set-height)
9069         (display-buffer-set-width, display-buffer-in-window)
9070         (display-buffer-reuse-window, display-buffer-split-specifiers)
9071         (display-buffer-side-specifiers, display-buffer-split-window-1)
9072         (display-buffer-split-window, display-buffer-split-atom-window)
9073         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9074         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9075         (display-buffer-other-window-means-other-frame)
9076         (display-buffer-normalize-special)
9077         (display-buffer-normalize-default)
9078         (display-buffer-normalize-argument)
9079         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9080         (display-buffer-normalize-specifiers, display-buffer-frame)
9081         (display-buffer-same-window, display-buffer-same-frame)
9082         (display-buffer-other-window)
9083         (display-buffer-same-frame-other-window)
9084         (display-buffer-other-frame, pop-to-buffer-same-window)
9085         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9086         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9087         (switch-to-buffer-same-frame)
9088         (switch-to-buffer-other-window-same-frame)
9089         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9090         (display-buffer-alist-set-1, display-buffer-alist-set-2)
9091         (display-buffer-alist-set): Remove.
9092         (display-buffer-function, special-display-buffer-names)
9093         (special-display-regexps, special-display-function):
9094         In doc-string refer to display-buffer-window and quit-restore
9095         parameter.
9096         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9097         (special-display-frame-alist, special-display-popup-frame)
9098         (same-window-buffer-names, same-window-regexps, same-window-p)
9099         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9100         (split-window-preferred-function, split-height-threshold)
9101         (split-width-threshold, window-splittable-p)
9102         (split-window-sensibly, window--try-to-split-window)
9103         (window--frame-usable-p, even-window-heights)
9104         (window--even-window-heights, window--display-buffer-1)
9105         (window--display-buffer-2, display-buffer-other-frame):
9106         Restore old Emacs 23 code, order and doc-strings where applicable.
9107         (display-buffer-default, display-buffer-assq-regexp): New functions.
9108         (display-buffer-alist): Rewrite doc-string.
9109         (display-buffer-default-action)
9110         (display-buffer-overriding-action): New variables.
9111         (display-buffer, switch-to-buffer): Rewrite.
9112         (pop-to-buffer): Restore Emacs 23 behavior but use
9113         window-normalize-buffer-to-display.
9114         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9115         Restore Emacs 23 behavior but use
9116         window-normalize-buffer-to-switch-to.
9117         (pop-to-buffer-same-window): Rewrite.
9118         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9119         Rewrite using Emacs 23 options.
9121 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
9123         * net/tramp.el (tramp-root-regexp): Remove.
9124         (tramp-completion-file-name-regexp-unified)
9125         (tramp-completion-file-name-regexp-separate)
9126         (tramp-completion-file-name-regexp-url): Don't use leading volume
9127         letter on win32 systems.  (Bug#5303, Bug#9311)
9128         (tramp-drop-volume-letter): Simplify definition.
9129         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9131 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9133         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9134         (bug#9356).
9136 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
9138         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9140 2011-08-29  Juri Linkov  <juri@jurta.org>
9142         * isearch.el (isearch-done): Don't display message "Mark saved"
9143         when arg `edit' is non-nil to prevent its flicker in the echo area.
9145 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
9147         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9148         obsolete packages for deletion.
9150 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
9152         * help-mode.el (help-mode-map): Add special-mode-map to parent.
9153         (help-mode): Derive help-mode from special-mode.  Don't invoke
9154         view-mode from help-mode.
9155         (help-xref-override-view-map): Remove.
9156         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9157         view-mode is not used anymore.
9159 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
9161         * server.el (server-port): Doc fix.
9163         * cus-theme.el (custom-theme-choose-mode): Inherit from
9164         special-mode (Bug#9124).
9165         (custom-theme-choose-mode-map): Add special-mode to parent.
9167 2011-08-28  Alan Mackenzie  <acm@muc.de>
9169         * progmodes/cc-fonts.el
9170         (c-make-font-lock-BO-decl-search-function): New function.
9171         (c-basic-matchers-after - "Fontify the clauses after various
9172         keywords"): Extract the three keyword lists for the 3 erroneous
9173         constructs from the list of four, and use the new function above
9174         in place of an old one.
9176 2011-08-28  Deniz Dogan  <deniz@dogan.se>
9178         * net/rcirc.el (rcirc-insert-prev-input)
9179         (rcirc-insert-next-input): Remove unused argument.
9181 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9183         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9185 2011-08-27  Alan Mackenzie  <acm@muc.de>
9187         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9188         handle function pointer parameters properly.
9190 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
9192         * window.el (display-buffer-reuse-window): Fix case where
9193         selected window was reused with non-nil OTHER-WINDOW argument.
9194         (Bug#9381)
9196 2011-08-27  Deniz Dogan  <deniz@dogan.se>
9198         * net/rcirc.el (rcirc-check-auth-status): Adding support for
9199         oftc's NickServ messages.
9201 2011-08-27  Glenn Morris  <rgm@gnu.org>
9203         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
9205 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
9207         * emacs-lisp/package.el (package-install): Call package-initialize
9208         if called interactively.
9210 2011-08-26  Leo Liu  <sdl.web@gmail.com>
9212         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
9214 2011-08-25  Juri Linkov  <juri@jurta.org>
9216         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9217         `search-whitespace-regexp' (bug#9364).
9219 2011-08-25  Juri Linkov  <juri@jurta.org>
9221         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9222         `regexp-search-ring' to their global values to protect from
9223         updating by `read-from-minibuffer' (bug#9185).
9225 2011-08-25  Juri Linkov  <juri@jurta.org>
9227         * textmodes/ispell.el (ispell-command-loop): Add newline
9228         at the end of the "Use option `i'..." line.
9230 2011-08-25  Juri Linkov  <juri@jurta.org>
9232         * battery.el (display-battery-mode): If `battery-status-function'
9233         or `battery-mode-line-format' is nil, display the message and set
9234         `display-battery-mode' to nil (bug#9363).
9236 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
9238         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9239         bidi-string-mark-left-to-right; they are unnecessary now.
9241 2011-08-25  Deniz Dogan  <deniz@dogan.se>
9243         * net/quickurl.el: Documentation typo fixes.
9245 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
9247         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9249 2011-08-25  Glenn Morris  <rgm@gnu.org>
9251         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9253         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9254         (smtpmail-via-smtp): Handle nil response from smtp.
9256 2011-08-24  Juri Linkov  <juri@jurta.org>
9258         * proced.el (proced-marked): Inherit from `error' instead of
9259         `font-lock-warning-face'.
9261         * ibuffer.el (ibuffer-marked-face): Change default face from
9262         `font-lock-warning-face' to `warning'.
9263         (ibuffer-deletion-face): Change default face from
9264         `font-lock-type-face' to `error'.
9266         * battery.el (battery-update): Use the face `error' instead of
9267         `font-lock-warning-face' (bug#6117).
9269 2011-08-24  Juri Linkov  <juri@jurta.org>
9271         * faces.el (success): Change face color from "Green3" to
9272         "ForestGreen" on light background (bug#9353).
9274 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
9276         * window.el (quit-window): Rename from quit-restore-window.
9277         Use same arglist as old quit-window.
9278         (frame-auto-delete): Doc fix.
9280         * view.el (view-mode-exit): Use quit-window.
9282 2011-08-24  Juri Linkov  <juri@jurta.org>
9284         * isearch.el (isearch-ring-adjust1): Start visiting previous
9285         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9286         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9287         for empty search string (when the last search string is reused
9288         automatically) to adjust the isearch ring to the last element and
9289         prepare the correct index for further M-p commands (bug#9185).
9291 2011-08-24  Kenichi Handa  <handa@m17n.org>
9293         * international/ucs-normalize.el: If decomposition property of
9294         CHAR is the default one (i.e. a list of CHAR itself), treat it as
9295         nil.
9296         (nfd, nfkd): Likewise.
9298 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9300         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9301         from process filters aren't reliably transmitted to the surrounding
9302         accept-process-output.
9303         (mpc-proc-check): New function.
9304         (mpc-proc-sync): Use it (bug#8293)
9306 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9308         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9309         Add compatibility functions (bug#9313).
9311 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
9313         * cus-start.el (all): Add entry for bidi-paragraph-direction.
9315         * international/uni-bidi.el: Regenerate.
9317 2011-08-23  Kenichi Handa  <handa@m17n.org>
9319         * international/charprop.el:
9320         * international/uni-bidi.el:
9321         * international/uni-category.el:
9322         * international/uni-combining.el:
9323         * international/uni-comment.el:
9324         * international/uni-decimal.el:
9325         * international/uni-decomposition.el:
9326         * international/uni-digit.el:
9327         * international/uni-lowercase.el:
9328         * international/uni-mirrored.el:
9329         * international/uni-name.el:
9330         * international/uni-numeric.el:
9331         * international/uni-old-name.el:
9332         * international/uni-titlecase.el:
9333         * international/uni-uppercase.el: Regenerate.
9335 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
9337         * help.el (help-window-setup): Fix message displayed when other
9338         window is reused.  (Bug#9341)
9340 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9342         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9343         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9345         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9346         Mark obsolete.
9347         * shell.el (shell-parse-pcomplete-arguments): New function.
9348         (shell-completion-vars): Use it instead (bug#9160).
9350 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9352         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9353         strings and comments (bug#9333).
9355         * emacs-lisp/debug.el (debug-arglist): New function.
9356         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
9357         (debug-on-entry-1): Handle interpreted closures (bug#9120).
9359 2011-08-22  Juri Linkov  <juri@jurta.org>
9361         * progmodes/compile.el (compilation-mode-font-lock-keywords):
9362         Revert regexp that highlights output switches to its old
9363         pre-2010-10-28 value and remove one `?' from it (bug#9319).
9365         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9366         to check for empty output (bug#9226).
9368 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
9370         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9371         symbol-constituent as the default, as that stops font-lock from
9372         working properly (Bug#8843).
9374 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9376         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9377         `coding-system-for-*' around the process open call to avoid
9378         auth-source side effects.
9379         (smtpmail-try-auth-methods): Expand the secret password.
9380         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9381         probe hangs.
9383 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
9385         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9387         * emacs-lisp/find-func.el (find-function-noselect): New arg
9388         lisp-only.
9390         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9391         signal an error for built-in functions (Bug#6664).
9393 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9395         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9396         (smtpmail-try-auth-methods): Use it.
9398 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
9400         * font-lock.el (font-lock-fontify-region)
9401         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9402         (font-lock-default-unfontify-buffer)
9403         (font-lock-default-fontify-region)
9404         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9406         * progmodes/compile.el (compilation-error-properties):
9407         Fix confusion between file struct and message struct (Bug#9319).
9408         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9409         `ant' regexp.
9411         * net/browse-url.el (browse-url-firefox): Don't call
9412         browse-url-firefox-sentinel unless using -remote (Bug#9328).
9414 2011-08-20  Glenn Morris  <rgm@gnu.org>
9416         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9418         * tutorial.el (tutorial--default-keys): Update some default bindings.
9420         * files.el (hack-local-variables): Fully ignore case for "mode:".
9422 2011-08-20  Alan Mackenzie  <acm@muc.de>
9424         Resolve invalid use of a regexp in regexp-opt.
9426         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9427         detection for a java annotation.
9429         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9430         detection for a java annotation.
9432         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9433         handling for java.
9434         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9436 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
9438         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9439         (Bug#9274).
9441 2011-08-20  Alan Mackenzie  <acm@muc.de>
9443         Fontify CPP expressions correctly when starting in the middle of
9444         such a construct.  Mainly for when jit-lock etc. starts a chunk
9445         here.
9447         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9448         variable.
9449         (c-make-font-lock-search-form): New function, extracted from
9450         c-make-font-lock-search-function.
9451         (c-make-font-lock-search-function): Use the above function.
9452         (c-make-font-lock-context-search-function): New function.
9453         (c-cpp-matchers): Enhance the preprocessor expression case with
9454         the above function
9455         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9456         which takes an expression.
9458         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9460 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
9462         * window.el (display-buffer-reuse-window)
9463         (display-buffer-pop-up-window): Don't reuse or split a side
9464         window.
9466 2011-08-19  Glenn Morris  <rgm@gnu.org>
9468         * files.el (hack-local-variables-prop-line, hack-local-variables):
9469         Downcase "Mode:".  (Bug#9331)
9471 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
9473         * international/characters.el: Add L and R categories.
9475         * subr.el (bidi-string-mark-left-to-right): Rename from
9476         string-mark-left-to-right.  Use category search.
9478         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9480 2011-08-18  Juri Linkov  <juri@jurta.org>
9482         * faces.el (error, warning, success): New faces with definitions
9483         copied from old default values of `font-lock-warning-face',
9484         `compilation-warning', `compilation-info' (bug#6117).
9486         * font-lock.el (font-lock-warning-face): Inherit from `error'.
9488         * progmodes/compile.el (compilation-error): Inherit from `error'.
9489         (compilation-warning): Inherit from `warning'.
9490         (compilation-info): Inherit from `success'.
9492         * dired.el (dired-marked): Inherit from `warning'.
9493         (dired-flagged): Inherit from `error'.
9495 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9497         * mail/smtpmail.el (auth-source): Require to avoid problems with
9498         binding variables (bug#9298).  Also clean up some unused
9499         autoloads.
9501         * net/network-stream.el (network-stream-open-starttls):
9502         Support using starttls.el without using gnutls-cli.
9504 2011-08-17  Juri Linkov  <juri@jurta.org>
9506         * progmodes/grep.el (rgrep): Handle the case when
9507         `grep-find-command' is a cons cell (bug#9278).
9509 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
9511         * window.el (display-buffer-pop-up-frame): Run frame creation
9512         function with BUFFER current (as special-display-popup-frame
9513         does).  Reported by Drew Adams.
9515 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
9517         * epa-mail.el: Simplify GnuPG group expansion using
9518         epg-expand-group.
9519         (epa-mail-group-alist, epa-mail-group-modtime)
9520         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9521         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9522         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9523         Remove.
9525 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
9527         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9529 2011-08-16  Alan Mackenzie  <acm@muc.de>
9531         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9532         Correct, to avoid the inside of macros.
9534 2011-08-16  Richard Stallman  <rms@gnu.org>
9536         * epa-mail.el: Handle GnuPG group definitions.
9537         (epa-mail-group-alist, epa-mail-group-modtime)
9538         (epa-mail-gnupg-conf-file): New variables.
9539         (epa-mail-parse-groups, epa-mail-sync-groups)
9540         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9541         (epa-mail-expand-recipients): New functions.
9542         (epa-mail-encrypt): Call epa-mail-expand-recipients.
9544         * mail/rmail.el (rmail-epa-decrypt): New command.
9546         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9547         Don't bind buffer-read-only, just inhibit-read-only.
9548         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9549         (epa-decrypt-armor-in-region): Make error message clearer.
9551 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9553         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9554         and "a2b" to "ab" for `prefix'.
9556 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
9558         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9559         filter groups.
9560         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
9561         Fourquet (Bug#8804).
9563 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
9565         * startup.el (argi): Declare as global variable (bug#9275).
9567 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
9569         * subr.el (string-mark-left-to-right): Search the entire string
9570         for RTL script, not just the terminating character.  Doc fix.
9572 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9574         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9575         New function.
9576         (js--regexp-literal, js-syntax-propertize-function): Remove.
9577         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9578         (js-mode-map): Don't rebind electric keys.
9579         (js-insert-and-indent): Remove.
9580         (js-mode): Setup electric-layout and electric-indent instead.
9582         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9584 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
9586         * epa.el (epa-progress-callback-function): Fix the logic of
9587         displaying progress.
9588         * epa-file.el (epa-file-insert-file-contents): Make progress
9589         display more user-friendly.
9590         (epa-file-write-region): Ditto.
9592 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
9594         * subr.el (string-mark-left-to-right): New function.
9596         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9597         Use string-mark-left-to-right.
9598         (list-buffers-noselect): Caller changed.
9600         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9601         Use string-mark-left-to-right.
9602         (tabulated-list-print): Recenter after moving point.
9604 2011-08-10  Juri Linkov  <juri@jurta.org>
9606         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9607         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9608         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9610 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
9612         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9613         (Bug#7554).
9615 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9617         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9618         character.  (Bug#6594)
9620 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
9622         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9623         (image-dired--with-db-file): New macro.
9624         (image-dired-write-tags, image-dired-remove-tag)
9625         (image-dired-create-gallery-lists, image-dired-write-comments)
9626         (image-dired-get-comment, image-dired-mark-tagged-files)
9627         (image-dired-list-tags, image-dired-gallery-generate): Use it.
9628         (image-dired-gallery-generate): Use insert-file-contents.
9630         * time.el (display-time-world-list, display-time-world-display):
9631         * time-stamp.el (time-stamp-string):
9632         * vc/add-log.el (add-change-log-entry): Use setenv instead of
9633         set-time-zone-rule (Bug#7337).
9635 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
9637         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9638         (epg-error-to-string, epg-errors-to-string): New function.
9639         (epg-wait-for-completion): Reverse errors list.
9640         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9641         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9642         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9643         (epg-sign-keys, epg-generate-key-from-file)
9644         (epg-generate-key-from-string): Format errors by using
9645         epg-errors-to-string (bug#9255).
9646         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9648 2011-08-07  Juri Linkov  <juri@jurta.org>
9650         * faces.el (list-faces-display): Remove extra angle bracket
9651         from `help-mode-map'.
9653         * info.el (Info-history-toc-nodes): Doc fix.
9655         * longlines.el (longlines-mode): Doc fix.
9657 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9659         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9660         of statements and in a few more cases (bug#9183).
9662         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9663         New functions.
9664         (cl-transform-lambda): Use them (bug#9239).
9666 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
9668         * window.el (display-buffer-same-window)
9669         (display-buffer-same-frame, display-buffer-other-window)
9670         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9671         (pop-to-buffer-other-window)
9672         (pop-to-buffer-same-frame-other-window)
9673         (pop-to-buffer-other-frame): Make them defuns.
9674         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9676 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9678         * subr.el (make-composed-keymap): Move from C.  Change calling
9679         convention, and improve docstring to bring attention to a subtle point.
9680         * minibuffer.el (completing-read-default): Adjust accordingly.
9682 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
9684         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9685         (tramp-open-shell): Use `tramp-shell-quote-argument'.
9687         * net/trampver.el: Update release number.
9689 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9691         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9692         "in" (bug#9190).
9694 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9696         * mail/sendmail.el (sendmail-query-once): Restore the current
9697         buffer after querying (bug#9074).
9699         * dired.el (dired-flagged): Use different faces for marked and
9700         flagged files (bug#6117).
9702         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9703         (bug#4433).
9705         * ido.el (ido-mode): Switch off the message if called
9706         non-interactively.
9708         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9709         before 587, since it appears that that's more likely to work for
9710         more people.
9712         * cus-edit.el (custom-file): When running under emacs -q, always
9713         refuse to save the customizations, even if the .emacs file doesn't
9714         exist.
9716         * info.el: Remove the `Info-beginning-of-buffer' function
9717         (bug#8325).
9719         * net/network-stream.el (network-stream-open-starttls):
9720         Use `starttls-available-p' to see whether starttls.el can be used.
9722 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
9724         * window.el (display-buffer-in-window): Don't set dedicated status
9725         of window here (Bug#9215).
9726         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9727         (display-buffer-pop-up-side-window)
9728         (display-buffer-in-side-window): Set dedicated status of window here.
9730 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9732         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9733         before binding generated-autoload-file.
9735 2011-08-01  Deniz Dogan  <deniz@dogan.se>
9737         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9739 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
9741         Sync with Tramp 2.2.2.
9743         * net/trampver.el: Update release number.
9745 2011-07-30  Juri Linkov  <juri@jurta.org>
9747         * dired-aux.el (dired-touch-initial): Remove function.
9748         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9749         current time, and `default' to the last modification time of the
9750         current marked file (bug#6887).
9752 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
9754         * simple.el (goto-line): Use string-to-number to provide a
9755         numeric argument to read-number (bug#9163).
9757 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
9759         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9760         connection process, it could be nil.
9762 2011-07-27  Leo Liu  <sdl.web@gmail.com>
9764         Simplify url handling in rcirc-mode.
9766         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9767         (rcirc-browse-url-at-mouse): Remove.
9768         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9770 2011-07-26  Alan Mackenzie  <acm@muc.de>
9772         Fontify bitfield declarations properly.
9774         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9775         (c-symbol-chars): Now exported as a lang variable.
9776         (c-not-primitive-type-keywords): New lang variable.
9778         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9779         QT keyword "more" to prevent "more slots: ...." being spuriously
9780         parsed as a bitfield declaration.
9782         * progmodes/cc-engine.el (c-beginning-of-statement-1):
9783         Refactor and enhance to handle bitfield declarations.
9784         (c-punctuation-in): New function.
9785         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9786         declarations properly.
9788 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
9790         * calendar/icalendar.el (icalendar--all-events): Take care of
9791         multiple vcalendars in a single file.
9792         (icalendar--convert-float-to-ical): Checkdoc fixes.
9794 2011-07-25  Deniz Dogan  <deniz@dogan.se>
9796         * image.el (insert-image): Clarifying docstring.
9798 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
9800         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9801         `tramp-send-command-and-check' if there is no error.
9802         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9804 2011-07-22  Alan Mackenzie  <acm@muc.de>
9806         Prevent cc-langs.elc being loaded at run time.
9808         * progmodes/cc-mode.el: Remove two autoload forms which loaded
9809         cc-langs.
9811         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9812         "(require 'cc-langs)".  Quote a form so it will evaluate at
9813         (cc-mode's) compilation time.
9815 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
9817         * net/tramp.el (tramp-file-name-handler): Avoid recursive
9818         loading.  (Bug#9114)
9820 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
9822         * window.el (display-buffer-pop-up-window)
9823         (display-buffer-pop-up-side-window)
9824         (display-buffer-in-side-window): Call display-buffer-set-height
9825         and display-buffer-set-width after setting the new window's
9826         buffer so `fit-window-to-buffer' and friends work on the right buffer.
9828 2011-07-20  Sam Steingold  <sds@gnu.org>
9830         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9831         (etags-tags-included-tables): Call `convert-standard-filename' on
9832         the file names contained in TAGS so that windows Emacs can handle
9833         TAGS files created by cygwin ctags.
9835 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9837         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9838         which apparently didn't work.
9840 2011-07-19  Roland Winkler  <winkler@gnu.org>
9842         * proced.el (proced-send-signal): For *Marked Processes* buffer
9843         put point at beginning of buffer.
9845 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
9847         * proced.el (proced-format): Make header lines align with the text
9848         (bug#1779).
9850 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9852         * view.el (view-buffer): Allow running in `special' modes if we're
9853         visiting a file (bug#8615).
9855 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
9857         * window.el (display-buffer-alist-of-strings-p)
9858         (display-buffer-alist-set-1, display-buffer-alist-set-2):
9859         New functions.
9860         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9861         more accurately.
9863 2011-07-18  Alan Mackenzie  <acm@muc.de>
9865         Fontify declarators properly when, e.g., a jit-lock chunk begins
9866         inside a declaration.
9868         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9870         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9871         New function.
9872         (c-complex-decl-matchers): Insert reference to
9873         c-font-lock-enclosing-decls.
9875         * progmodes/cc-engine.el (c-backward-single-comment):
9876         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9877         to nil around calls to (forward-comment -1).
9879 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9881         * image.el (put-image): Doc typo fix.
9883         * progmodes/etags.el (tags-search): Doc typo fix.
9885         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9886         password if we get errors 550 to 554.
9888 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9890         * net/gnutls.el (gnutls-log-level): Remove.
9892         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9893         indentation character (bug#6380).
9895         * files.el (buffer-offer-save): Made permanently local (bug#6241).
9897         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9898         to clarify what the problem is (bug#4291).
9900         * simple.el (current-kill): Clarify what
9901         `interprogram-paste-function' does (bug#7500).
9902         (auto-fill-mode): Document `auto-fill-function' in relation to
9903         `auto-fill-mode' (bug#2470).
9905 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
9907         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9908         method if slot is read-only (bug#9035).
9910 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
9912         * frame.el (select-frame-set-input-focus): New argument NORECORD.
9913         * window.el (pop-to-buffer): Select window used even if it was
9914         selected before, see discussion of (Bug#8615), (Bug#6954).
9915         Pass argument NORECORD on to select-frame-set-input-focus.
9917 2011-07-15  Glenn Morris  <rgm@gnu.org>
9919         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
9920         Respect help-form.
9922 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
9924         * net/gnutls.el (gnutls-min-prime-bits): New variable.
9925         (gnutls-negotiate): Use it.
9927 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9929         * net/gnutls.el (gnutls-negotiate):
9930         Upcase `gnutls-algorithm-priority'.
9932 2011-07-15  Glenn Morris  <rgm@gnu.org>
9934         * jka-compr.el (jka-compr-verbose): Move from here...
9935         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
9936         Add missing :version tag.
9937         * info.el: No need to require jka-compr when compiling.
9939 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9941         * net/gnutls.el (gnutls-algorithm-priority): New variable.
9942         (gnutls-negotiate): Use it.
9944         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9946         * info.el (Info-beginning-of-buffer): New command.
9947         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9948         announcing `b' as the key (bug#8325).
9949         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9951         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9953         * international/mule-cmds.el
9954         (describe-specified-language-support): Make the error message
9955         clearer (bug#8905).
9957         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9959         * isearch.el (isearch-barrier): Add a doc string, since it's
9960         mentioned in a function doc string (bug#8678).
9962 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
9964         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9965         buffer argument (Bug#9083) and self-identifying label argument.
9967 2011-07-15  Glenn Morris  <rgm@gnu.org>
9969         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
9971 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9973         * man.el (Man-fontify-manpage): Fix message when formatting the
9974         man page (bug#7929).
9976 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
9978         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9979         argument LRM; if non-nil, append an invisible LRM character to the
9980         buffer name.
9981         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9982         last argument non-nil, when formatting buffer names.
9983         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9984         paragraph direction.
9986 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9988         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9989         the man page name (bug#7929).
9991         * image.el (put-image): Mention the `put-image' overlay property
9992         (bug#7834).
9994         * scroll-bar.el (set-scroll-bar-mode): Mention that
9995         `scroll-bar-mode' lists the values (bug#7772).
9997         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9998         command (bug#7729).
10000         * rect.el (apply-on-rectangle): Return the point after the last
10001         operation.
10002         (string-rectangle): Go to the point after the last operation
10003         (bug#7522).
10005         * printing.el (pr-toggle-region): Clarify the documentation
10006         slightly (bug#7493).
10008         * time.el (display-time-update):
10009         Allow `display-time-mail-function' to return nil (bug#7158).
10010         Fix suggested by Detlev Zundel.
10012         * vc/diff.el (diff): Clarify the order the file names are read
10013         (bug#7111).
10015         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10016         the doc string (bug#7015).
10018         * font-lock.el (font-lock-maximum-decoration): Mention what
10019         numeric levels mean (bug#6935).
10021         * startup.el (initial-buffer-choice): Don't mention the `none'
10022         selection, which is against policy.
10024 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
10026         * window.el (display-buffer-normalize-special):
10027         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10029 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
10031         * subr.el (version<, version<=, version=): Mention "-CVS" and
10032         "-12345" alpha version numbers.
10034 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
10036         * bindings.el: Add advertised binding for set-mark-command
10037         (Bug#5772).
10039 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
10041         * bindings.el (mode-line-other-buffer):
10042         * bookmark.el (bookmark-bmenu-2-window):
10043         * bs.el (bs-cycle-next, bs-cycle-previous):
10044         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10045         switch-to-buffer.
10047         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10048         Delete.
10050 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
10052         * follow.el (follow-debug-message, follow-redisplay):
10053         * jka-cmpr-hook.el (with-auto-compression-mode):
10054         Fix typos in docstrings.
10056 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10058         * subr.el (with-silent-modifications): Clarify somewhat what the
10059         macro inhibits (bug#6525).
10061         * simple.el (eval-expression): Note what it does if called
10062         interactively (bug#6495).
10064 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10066         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10067         Use pop-to-buffer buffer-or-name if it is nil.
10069         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10070         Remove switch-to-buffer.
10072 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10074         * files.el (make-directory): Clarify that an error will be raised
10075         if there's an error (bug#6397).
10077         * startup.el (initial-buffer-choice): Add `none' as a choice
10078         (bug#6234).
10080         * subr.el (add-hook): Clarify section about buffer-local hooks
10081         (bug#6218).
10083         * dired.el (dired-flagged): Clarify doc string (bug#6117).
10085 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
10087         * tabify.el (untabify): Preserve the current column so that point
10088         doesn't move (bug#6032).
10090 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10092         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10093         Rewrite to avoid awkward possessive "s" (bug#5986).
10095 2011-07-13  Glenn Morris  <rgm@gnu.org>
10097         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
10098         (dired-insert-directory): Give a message the first time
10099         if ls is found not to support --dired.
10101 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10103         * simple.el (toggle-truncate-lines): Clarify what is toggled
10104         (bug#5580).  Text by Drew Adams.
10106 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10108         * simple.el (blink-matching-open): Make the error message from the
10109         last change less verbose.
10111 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
10113         * font-lock.el (font-lock-comment-face): Use the high contrast
10114         "yellow" color for font-lock-comment-face on low color terminals
10115         using a dark background color (bug#4221).
10117 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10119         * dired.el (dired-insert-set-properties): Make the doc string
10120         reflect what it does now (bug#5325).
10122         * simple.el (blink-matching-open): Say that we were unable to find
10123         the match within the limit, if we're limited (bug#5122).
10125         * international/mule-cmds.el (prefer-coding-system): Add an
10126         example (bug#4869).
10128         * progmodes/etags.el (tags-search): Document `file-list-form'
10129         (bug#4731).
10131 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
10133         * net/browse-url.el (browse-url-default-browser)
10134         (browse-url-browser-function): Make the default browser choice a
10135         bit more logical (bug#4300).  Also clean up the doc string.
10137 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
10139         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10140         binary endings (bug#4440).
10142 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10144         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10145         which can be pretty annoying (bug#8971).
10147         * jka-compr.el (jka-compr-verbose): New variable, and use
10148         throughout (bug#8971).
10150         * info.el (Info-find-file): Fall back on the installation
10151         directory if we can't find the info node anywhere else.
10153 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
10155         * vc/vc.el (vc-revert-file):
10156         Don't set file time-stamp in the past.  (Bug#5181)
10158 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10160         * files.el (after-find-file): Give a better error message when
10161         trying to find a symlink that points to a file that doesn't exist
10162         (bug#4398).
10164         * progmodes/cc-vars.el: Remove (probably) misleading comment
10165         (bug#4396).
10167 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
10169         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10171 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
10173         * mouse-sel.el: Hack restoring functionality, while keeping
10174         compatibility with 2010-07-03 changes to mouse selection.
10175         (mouse-sel-primary-overlay): New var.
10176         (mouse-sel-selection-alist): Use it.
10177         (mouse-sel-mode): Doc fix; remove points that are default features
10178         of mouse.el.
10180 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
10182         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10183         Fix previous fix (bug#2490).
10185 2011-07-12  Roland Winkler  <winkler@gnu.org>
10187         * textmodes/bibtex.el (bibtex-initialize):
10188         Use pop-to-buffer-same-window.
10189         (bibtex-search-entries): Fix interactive call.
10191 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10193         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10194         Fontise bytecomp Error lines more correctly (bug#2490).
10195         Fix suggested by Johan Bockgård.
10197         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10199         * dired-x.el (dired-guess-default): Use `delete-dups'.
10201 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
10203         * dired.el (dired-mark-prompt):
10204         * dired-aux.el (dired-read-shell-command): Doc fix.
10206 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10208         * mail/sendmail.el (sendmail-query-once):
10209         Use `customize-save-variable' unconditionally, now that it works under
10210         emacs -Q.
10212         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10214         * cus-edit.el (custom-file): Take an optional no-error variable.
10215         (customize-save-variable): Set the variable, and give a warning if
10216         running under "emacs -q".
10218 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
10220         * loadhist.el (unload-feature-special-hooks):
10221         Add `auto-coding-functions', `fill-nobreak-predicate' and
10222         `find-directory-functions' (bug#5327).
10224 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10226         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10228         * cus-edit.el (custom-guess-name-alist): -alist variables should
10229         use the `alist' type (bug#3120).  Suggested by Drew Adams.
10231         * printing.el: Add documentation to all the `pr-toggle-' commands.
10233 2011-07-11  Leo Liu  <sdl.web@gmail.com>
10235         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10236         backends where it makes sense (bug#2623).
10238 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10240         * dired-x.el (dired-guess-default): Remove duplicate shell command
10241         entries (bug#2028).
10242         (dired-guess-default): Fix grammar in doc string (bug#2028).
10243         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10245         * subr.el (remove-duplicates): New conveniency function.
10247 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10249         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10250         (bug#1526).
10252 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
10254         * window.el (display-buffer-normalize-default): Don't invert
10255         meaning of even-window-heights.  Reported by Eli Zaretskii
10256         <eliz@gnu.org>.
10258 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
10260         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10262 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
10264         * window.el (display-buffer): Fix arguments to
10265         display-buffer-reuse-window in last change.
10267         * faces.el (link): Use a less saturated blue on light backgrounds.
10269         * startup.el (fancy-startup-text, fancy-about-text)
10270         (fancy-startup-tail): Use font-lock faces, for background safety.
10272 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
10274         * emulation/viper-cmd.el (viper-change-state-to-vi):
10275         Limit triggering of abbrev expansion (Bug#9038).
10277 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
10279         * window.el (display-buffer-default-specifiers): Remove.
10280         (display-buffer-macro-specifiers): Remove default specifiers.
10281         (display-buffer-alist): Default to nil.
10282         (display-buffer-reuse-window): New optional argument other-window.
10283         (display-buffer-pop-up-window): Allow splitting internal
10284         windows.  Check whether a live window was created.
10285         (display-buffer-other-window-means-other-frame)
10286         (display-buffer-normalize-arguments): Rename to
10287         display-buffer-normalize-argument and rewrite.  Set the
10288         other-window specifier.
10289         (display-buffer-normalize-special): New function.
10290         (display-buffer-normalize-options): Rename to
10291         display-buffer-normalize-default and rewrite.
10292         (display-buffer-normalize-options-inhibit): Remove.
10293         (display-buffer-normalize-specifiers): Rewrite.
10294         (display-buffer): Process other-window specifier and call
10295         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
10296         more faithfully.
10297         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10298         (display-buffer-alist-set): Don't handle 'unset default values.
10299         (display-buffer-in-window, display-buffer-alist-set):
10300         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
10301         <tassilo@member.fsf.org>.
10303 2011-07-09  Leo Liu  <sdl.web@gmail.com>
10305         * register.el (insert-register): Restore accidental change on
10306         2011-06-26.  (Bug#9028)
10308 2011-07-09  Glenn Morris  <rgm@gnu.org>
10310         * subr.el (remq): Handle the empty list.  (Bug#9024)
10312 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
10314         * mail/sendmail.el (send-mail-function): No longer delay custom
10315         initialization.
10316         * custom.el (custom-initialize-delay): Doc fix.
10318 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10320         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10322 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
10324         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10325         human-friendly prompt.
10327 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10329         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10330         provided by a particular plugin.
10332 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10334         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10335         save customizations (with "emacs -Q"), just set the variable
10336         instead of erroring out.
10338         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10340 2011-07-08  Juri Linkov  <juri@jurta.org>
10342         * arc-mode.el (archive-zip-expunge, archive-zip-update)
10343         (archive-zip-update-case): Use 7z if found by `executable-find'.
10344         The order of searching the available programs is the same as in
10345         `archive-zip-extract' (bug#8968).
10347 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10349         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10350         (menu-bar-options-menu): Tweak descriptions.
10352 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10354         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10355         menu items into verb phrases (bug#1421).  Also refill to fit under
10356         80 columns.
10358 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10360         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10361         (Info-read-node-name): Doc fix (Bug#1084).
10363         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10364         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10365         (end-of-sexp, beginning-of-sexp)
10366         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10367         (forward-symbol, forward-same-syntax, word-at-point)
10368         (sentence-at-point): Doc fix (Bug#1144).
10370 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10372         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10373         should cover it (bug#1281).
10375         * cus-edit.el (custom-show): Mark as obsolete.
10377         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10378         negotiation fails, then possibly try again with a non-encrypted
10379         connection (bug#9017).
10381         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10382         be used.
10384 2011-07-07  Richard Stallman  <rms@gnu.org>
10386         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10387         property, and handle its changed format.
10388         Look for the correct line number.
10389         Use file's line contents (but not past first =) to find
10390         correct line in message.
10392 2011-07-07  Kenichi Handa  <handa@m17n.org>
10394         * international/characters.el (build-unicode-category-table):
10395         Delete it.
10396         (unicode-category-table): Set it by unicode-property-table-internal.
10398         * international/mule-cmds.el (char-code-property-alist): Move to
10399         to src/chartab.c.
10400         (get-char-code-property): Call unicode-property-table-internal to
10401         load a file.  Call get-unicode-property-internal where necessary.
10402         (put-char-code-property): Call unicode-property-table-internal to
10403         load a file.  Call put-unicode-property-internal where necessary.
10404         put-unicode-property-internal where necessary.
10405         (char-code-property-description):
10406         Call unicode-property-table-internal to load a file.
10408         * international/charprop.el:
10409         * international/uni-bidi.el:
10410         * international/uni-category.el:
10411         * international/uni-combining.el:
10412         * international/uni-comment.el:
10413         * international/uni-decimal.el:
10414         * international/uni-decomposition.el:
10415         * international/uni-digit.el:
10416         * international/uni-lowercase.el:
10417         * international/uni-mirrored.el:
10418         * international/uni-name.el:
10419         * international/uni-numeric.el:
10420         * international/uni-old-name.el:
10421         * international/uni-titlecase.el:
10422         * international/uni-uppercase.el: Regenerate.
10424         * loadup.el: Load international/charprop.el before
10425         international/characters.
10427 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10429         * window.el (next-buffer, previous-buffer): Signal an error if
10430         called from a minibuffer window.
10432         * bindings.el: Revert 2011-07-04 change.
10434 2011-07-06  Richard Stallman  <rms@gnu.org>
10436         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10437         (rmail-mime-insert-bulk, rmail-mime-insert-text):
10438         Treat markers like ints.
10439         (rmail-mime-entity): Doc fix.
10441 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10443         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10444         defcustom again for backwards compatibility.
10446         * simple.el (shell-command-on-region): Fill.
10448         * dired-aux.el (dired-kill-line): Add a doc string.
10450         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10451         to "\\sw\\|\\s_" (bug#358).
10453         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10454         (dired-unmark-backward): Ditto.
10455         (dired-flag-backup-files): Ditto.
10457         * dired-x.el (dired-mark-sexp): Ditto.
10459 2011-07-06  Richard Stallman  <rms@gnu.org>
10461         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10462         (rmail-mime-entity): New arg TRUNCATED.
10463         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10464         New functions.
10465         (rmail-mime-save): Warn if entity is truncated.
10466         (rmail-mime-toggle-hidden): Likewise, for showing.
10467         (rmail-mime-process-multipart): Record when an entity is truncated.
10469         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10470         if ENTITY is a string.
10472 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10474         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10475         of faces when `M-C-x'-ing their definitions (bug#8378).
10476         Also clean up the code slightly.
10478         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10479         because that makes the colors go away.
10481         * mail/sendmail.el (send-mail-function): Change the default to
10482         `sendmail-query-once'.
10483         (sendmail-query-once): Add an autoload cookie.
10485         * net/network-stream.el (network-stream-open-starttls): Try using
10486         a plain connection even if the server offered STARTTLS, and we
10487         kinda wanted to use it, if Emacs doesn't have any STARTTLS
10488         capability.  This should make smtpmail.el work in slightly more
10489         configurations.
10491 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
10493         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10494         New defun.
10495         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10497 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
10499         * progmodes/sql.el: Version 3.0
10500         (sql-product-alist): Add product :completion-object,
10501         :completion-column, and :statement attributes.
10502         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10503         (sql-mode-syntax-table): Mark all punctuation.
10504         (sql-font-lock-keywords-builder): Temporarily remove fallback on
10505         ansi keywords.
10506         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10507         (sql-mode-oracle-font-lock-keywords): Improve.
10508         (sql-oracle-show-reserved-words): New function for development.
10509         (sql-product-font-lock): Simplify for source code buffers.
10510         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10511         New functions.
10512         (sql-highlight-product): Set product specific syntax table.
10513         (sql-mode-map): Add statement movement functions.
10514         (sql-ansi-statement-starters, sql-oracle-statement-starters):
10515         New variable.
10516         (sql-statement-regexp, sql-beginning-of-statement)
10517         (sql-end-of-statement, sql-signum): New functions.
10518         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10519         (sql-show-sqli-buffer): Bug fix.
10520         (sql-interactive-mode): Store connection data as buffer local.
10521         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
10522         with sql-interactive-mode.
10523         (sql-save-connection): Save buffer local settings.
10524         (sql-connection-menu-filter): Change menu entry name.
10525         (sql-product-interactive): Bug fix.
10526         (sql-preoutput-hold): New variable.
10527         (sql-interactive-remove-continuation-prompt): Bug fixes.
10528         (sql-debug-redirect): New variable.
10529         (sql-str-literal): New function.
10530         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10531         Redesign.
10532         (sql-oracle-save-settings, sql-oracle-restore-settings)
10533         (sql-oracle-list-all, sql-oracle-list-table): New functions.
10534         (sql-completion-object, sql-completion-column)
10535         (sql-completion-sqlbuf): New variables.
10536         (sql-build-completions-1, sql-build-completions)
10537         (sql-try-completion): New functions.
10538         (sql-read-table-name): Use them.
10539         (sql-contains-names): New buffer local variable.
10540         (sql-list-all, sql-list-table): Use it.
10541         (sql-oracle-completion-types): New variable.
10542         (sql-oracle-completion-object, sql-sqlite-completion-object)
10543         (sql-postgres-completion-object): New functions.
10545 2011-07-06  Glenn Morris  <rgm@gnu.org>
10547         * window.el (pop-to-buffer): Doc fix.
10549 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
10551         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10553 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
10555         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10557         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10559 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
10561         * button.el (button): Inherit from link face.  Suggested by Dan
10562         Nicolaescu.
10564 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10566         * progmodes/gdb-mi.el: Fit in 80 columns.
10567         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10568         switch-to-buffer.
10570         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10571         if imenu is simply not configured (bug#8941).
10573 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
10575         * allout.el (allout-post-undo-hook): New allout outline-change
10576         event hook to signal undo activity.
10577         (allout-post-command-business): Run allout-post-undo-hook if an
10578         undo just occurred.
10579         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10580         * allout-widgets.el (allout-widgets-after-undo-function):
10581         Ensure the integrity of the current item's decoration after it has been
10582         in the vicinity of an undo.
10583         (allout-widgets-mode): Include allout-widgets-after-undo-function
10584         on the new allout-post-undo-hook.
10586 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10588         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10589         Let define-derived-mode define it.
10590         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10591         cycles of abbrev-table inheritance (bug#8998).
10593 2011-07-05  Roland Winkler  <winkler@gnu.org>
10595         * textmodes/bibtex.el: Add support for biblatex.
10596         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10597         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10598         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10599         (bibtex-entry-alist, bibtex-field-alist): New variables.
10600         (bibtex-entry-field-alist): Obsolete alias for
10601         bibtex-BibTeX-entry-alist.
10602         (bibtex-entry-alist, bibtex-field-alist): New widgets.
10603         (bibtex-set-dialect): New command.
10604         (bibtex-entry-type, bibtex-entry-head)
10605         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10606         Bind via bibtex-set-dialect.
10607         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10608         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10609         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10610         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10611         Define via bibtex-set-dialect.
10612         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10613         Obey bibtex-no-opt-remove-re.
10614         (bibtex-vec-push, bibtex-vec-incr): New functions.
10615         (bibtex-format-entry, bibtex-field-list)
10616         (bibtex-print-help-message, bibtex-validate)
10617         (bibtex-search-entries): Use new format of bibtex-entry-alist.
10619 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10621         * progmodes/compile.el (compilation-goto-locus):
10622         * net/tramp-cmds.el (tramp-append-tramp-buffers):
10623         * bs.el (bs-cycle-next, bs-cycle-previous):
10624         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10625         * bindings.el (mode-line-other-buffer):
10626         * autoinsert.el (auto-insert):
10627         * arc-mode.el (archive-extract):
10628         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10630 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10632         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10633         Fix check of `emacs-lock-unlockable-modes'.
10634         Coerce true values of `emacs-lock--try-unlocking' to t.
10636 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10638         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10639         * emacs-lock.el: New file.
10641 2011-07-05  Julien Danjou  <julien@danjou.info>
10643         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10644         than `boundp' to check if face is set.
10646 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10648         * register.el (registerv-make):
10649         * window.el (window-min-height): Fix typos in docstrings.
10651 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
10653         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10654         Update doc string.
10656 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
10658         * server.el (server-execute): Catch quit and call
10659         `server-return-error' to pass the error back to emacsclient and
10660         close the connection (bug#8942).
10662 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
10664         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10665         insecure exception for current topic.  Also note that auto-saves
10666         are handled differently.
10668         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10669         State variables for tracking auto-save inhibition situation.
10671         (allout-write-contents-hook-handler): Rename from
10672         'allout-write-file-hook-handler', and describe how it depends on
10673         write-contents-functions sensitivity to non-nil value to prevent
10674         file write.
10676         (allout-auto-save-hook-handler): Remove.  auto-save does not check
10677         this in individual buffers, only in the starting buffer, so this
10678         is not the right way for us to inhibit auto-save in a buffer
10679         according to its condition.
10681         (allout-mode): Use new allout-write-contents-hook-handler, and
10682         only with write-contents-functions.  Remove auto-save provisions -
10683         they're implemented elsewhere.
10685         (allout-before-change-handler): If undo is in progress, note that
10686         for attention of allout-post-command-business.
10688         (allout-post-command-business): If the command we're following was
10689         an undo, check for change in the status of encrypted items and
10690         adjust auto-save inhibitions accordingly.
10692         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10693         according to whether there are or aren't any plain-text topics
10694         pending encryption.
10696         (allout-inhibit-auto-save-info-for-decryption):
10697         Adjust buffer-saved-size and some allout state to inhibit auto-saves
10698         if there are plain-text topics pending encryption.
10700         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10701         buffer-saved-size and some allout state to not inhibit auto-saves
10702         if there are no longer any plain-text topics pending encryption.
10704         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10705         No longer provide for exemption of the current topic.
10707 2011-07-04  Juri Linkov  <juri@jurta.org>
10709         Add 7z operations to delete and save changed members (bug#8968).
10710         * arc-mode.el (archive-7z-expunge, archive-7z-update):
10711         New defcustoms.
10712         (archive-7z-write-file-member): New function.
10713         (archive-7z-summarize): Fix the number of dashes in the
10714         listing output.
10716 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10718         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10719         (bug#8958).
10721 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
10723         * bindings.el: Ignore next-buffer and previous-buffer in
10724         minibuffer-local-map.
10726         * font-lock.el (font-lock-builtin-face): Change light background
10727         color to dark slate blue (Bug#6693).
10729 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
10731         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10733 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10735         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10736         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10737         Add switch-to-buffer.
10739 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10741         * isearch.el (isearch-search-fun-function): Clarify further the
10742         meaning of the function returned.
10744 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
10746         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10748         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10749         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10750         Use it.
10751         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
10752         `tramp-default-remote-path' does not exist.
10753         (tramp-send-command-and-read): New optional argument NOERROR.
10754         (tramp-open-connection-setup-interactive-shell)
10755         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10756         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10757         (tramp-process-sentinel): Flush also process' connection property.
10758         (tramp-sh-handle-start-file-process): Do not set process
10759         sentinel.  It is done now ...
10760         (tramp-maybe-open-connection): ... here.  (Bug#8929)
10762 2011-07-04  MON KEY  <monkey@sandpframing.com>
10764         * play/animate.el (animate-string): Doc fixes and allow changing
10765         the buffer name (bug#5417).
10767 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10769         * play/animate.el (animation-buffer-name): Rename from *animate*.
10771 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
10773         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10774         This is simpler and helps future-proof the code.
10775         (timer-until): Use time-subtract and float-time.
10776         (timer--time-less-p): Use time-less-p.
10778 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
10780         * type-break.el (timep): Use the value of `float-time' to avoid a
10781         byte-compiler warning.
10783         * server.el (server-eval-and-print): Return any result, even nil.
10785 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
10787         * type-break.el: Accept time formats that the builtins accept.
10788         (timep, type-break-time-difference): Accept any format that
10789         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10790         This is simpler and helps future-proof the code.
10791         (type-break-time-difference): Round rather than ignoring
10792         subseconds components.
10794 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10796         * info.el (Info-apropos-matches): Make non-interactive, since it
10797         doesn't seem to do anything useful as a command (bug#8829).
10799 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
10801         * frame.el (frame-background-mode, frame-set-background-mode):
10802         Move from faces.el.
10803         (frame-default-terminal-background): New function.
10805         * custom.el (custom-push-theme): Don't record faces in `changed'
10806         theme; this doesn't work correctly for per-frame face settings.
10807         (disable-theme): Use face-set-after-frame-default to reset faces.
10808         (custom--frame-color-default): New function.
10810 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10812         * dired.el (dired-flagging-regexp): Remove unused variable
10813         (bug#8769).
10815 2011-03-29  Kevin Ryde  <user42@zip.com.au>
10817         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10818         `perl-Test2' extend to match possible "fail #N" rep count
10819         (bug#8377).
10821 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10823         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10824         `smtpmail-via-smtp' now returns the error instead of nil.
10826         * isearch.el (isearch-search-fun-function): Clarify the doc string
10827         (bug#8101).
10829 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
10831         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10832         unnecessary spaces (bug#8987).
10834 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10836         * net/network-stream.el (open-network-stream): Use the
10837         :end-of-capability command thoughout.
10839 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
10841         * net/network-stream.el (open-network-stream): Add the
10842         :end-of-capability command parameter, used by pop3.el.
10844 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10846         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10848         * fringe.el (fringe-query-style): Remove redundant text " (type ?
10849         for list)" (bug#6475).
10851         * files.el (file-expand-wildcards): Ignore non-readable
10852         sub-directories while trying to find matches instead of signaling
10853         an error (bug#6297).
10855         * man.el (Man-reference-regexp): Allow matching possible
10856         word-wrapped references (bug#6289).
10858         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10859         for consistency with the other vc buffers (bug#6197).
10860         (vc-checkin): Ditto.
10862         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10864         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10866 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10868         * custom.el (defcustom): Clarify that :set is only used in the
10869         Customize user interface (bug#6089).
10871         * progmodes/flymake.el (flymake-mode): If the buffer isn't
10872         associated with a file, refuse to run instead of erroring out
10873         (bug#6084).
10875         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10876         the doc string, since it appears that using `fill-column' always
10877         controls the width (bug#7845).
10879         * simple.el (shell-command-on-region): Say where the error output
10880         went if `shell-command-default-error-buffer' is set (bug#6857).
10882 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
10884         * allout.el (allout-yank-processing): Adjust cursor position for
10885         backwards-deleted space.
10887         (allout-rebullet-heading): Register changes with
10888         allout-exposure-changed-hook, so the modified topic is properly
10889         decorated.
10891 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10893         * minibuffer.el (completion-in-region): Document PREDICATE
10894         (bug#7136).
10896         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10897         of keyword/argument pairs (bug#6904).
10899         * replace.el (multi-occur):
10900         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10902 2011-07-02  Drew Adams  <drew.adams@oracle.com>
10904         * dired.el (dired-mark-if): Make the message about whether it's
10905         marking or unmarking clearer (bug#8523).
10907 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10909         * disp-table.el (display-table-print-array): New function.
10910         (describe-display-table): Use it to print the vectors more pretty
10911         (Bug#8859).
10913 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
10915         * window.el (window-state-get-1): Don't assign clone numbers.
10916         Add clone-of item to list of window parameters.
10917         (window-state-put-2): Don't process clone numbers.
10918         (display-buffer-alist): Fix doc-string.
10920 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10922         * subr.el (remq): Don't allocate if it's not needed.
10923         (keymap--menu-item-binding, keymap--menu-item-with-binding)
10924         (keymap--merge-bindings): New functions.
10925         (keymap-canonicalize): Use them to refine the canonicalization.
10926         * minibuffer.el (minibuffer-local-completion-map)
10927         (minibuffer-local-must-match-map): Move initialization from C.
10928         (minibuffer-local-filename-completion-map): Move initialization from C;
10929         don't inherit from anything here.
10930         (minibuffer-local-filename-must-match-map): Make obsolete.
10931         (completing-read-default): Use make-composed-keymap to combine
10932         minibuffer-local-filename-completion-map with either
10933         minibuffer-local-must-match-map or
10934         minibuffer-local-filename-completion-map.
10936 2011-07-01  Glenn Morris  <rgm@gnu.org>
10938         * type-break.el (type-break-time-sum): Use dolist.
10940         * textmodes/flyspell.el (flyspell-word-search-backward):
10941         Replace CL function.
10943 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10945         * mouse.el (mouse--strip-first-event): New function.
10946         (function-key-map): Use it to map fringe clicks to normal clicks
10947         by default.
10949         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10950         (vc-bzr-revision-completion-table): Add support for annotate and date.
10952         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10953         inherit from parent.
10955 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10957         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10958         (dired-show-file-type): Doc fixup (bug#8818).
10960         * dired.el (dired-mode): Fix up the doc string as suggested by
10961         Drew Adams (bug#8817).
10963         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10964         cookie, since the manual says that it should be possible to add
10965         this function to `find-file-hook' (bug#8709).
10967 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
10969         * progmodes/cfengine.el: Moved all cfengine3.el functionality
10970         here.  Noted Ted Zlatanov as the maintainer.
10971         (cfengine-common-settings, cfengine-common-syntax): New functions
10972         to set up common things between `cfengine-mode' and
10973         `cfengine3-mode'.
10974         (cfengine3-mode): New mode.
10975         (cfengine3-defuns cfengine3-defuns-regex
10976         (cfengine3-class-selector-regex cfengine3-category-regex)
10977         (cfengine3-vartypes cfengine3-font-lock-keywords)
10978         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10979         (cfengine3-indent-line): Add from cfengine3.el.
10981 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
10983         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10985         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10987 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
10989         * window.el (same-window-buffer-names, same-window-regexps)
10990         (same-window-p, special-display-frame-alist)
10991         (special-display-popup-frame, special-display-function)
10992         (special-display-buffer-names, special-display-regexps)
10993         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10994         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10995         (split-window-preferred-function, split-height-threshold)
10996         (split-width-threshold, even-window-heights)
10997         (display-buffer-mark-dedicated, window-splittable-p)
10998         (split-window-sensibly, window-safely-shrinkable-p):
10999         Un-obsolete.
11000         (display-buffer): Don't spread args with function specifier
11001         because special-display-popup-frame won't like it.
11003 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
11005         Time-stamp simplifications and fixes.
11006         These improve accuracy slightly, and future-proof the code
11007         against some potential changes to current-time format.
11009         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11010         by using time-since and float-time.
11012         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11013         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
11014         + NNN microseconds".
11016         * type-break.el (type-break-time-sum): Rewrite using time-add.
11018         * play/hanoi.el (hanoi-current-time-float): Remove.
11019         All uses replaced by float-time.
11021         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11022         This yields a more-accurate answer.
11023         (rng-time-to-float): Remove; no longer needed.
11025         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11027         * calendar/timeclock.el (timeclock-seconds-to-time):
11028         Defalias to seconds-to-time, since they're the same thing.
11030         * emacs-lisp/elp.el (elp-elapsed-time):
11031         * emacs-lisp/benchmark.el (benchmark-elapse):
11032         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11034 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11036         * window.el (bury-buffer): Don't iconify the only frame.
11037         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11038         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
11040 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
11042         * eshell/em-smart.el (eshell-smart-display-navigate-list):
11043         Add mouse-yank-primary.
11045 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
11047         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11049 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11051         * emacs-lisp/find-func.el (find-library--load-name): New fun.
11052         (find-library-name): Use it to find relative load names when provided
11053         absolute file name (bug#8803).
11055 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11057         * textmodes/flyspell.el (flyspell-word): Consider words that
11058         differ only in case as potential doublons (bug#5687).
11060         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11061         Remove two rather uninteresting debugging-like messages to make
11062         debbugs.el more silent.
11064         * comint.el (comint-password-prompt-regexp): Accept "Response" as
11065         a password-like phrase.
11067 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
11069         * progmodes/cc-guess.el: New file.
11071         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11073         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11074         derived from `c-basic-common-init'.
11076         * progmodes/cc-mode.el (top-level): Require cc-guess.
11077         (c-basic-common-init): Use `cc-choose-style-for-mode'.
11079 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
11081         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11083 2011-06-30  Alan Mackenzie  <acm@muc.de>
11085         * progmodes/cc-engine.el (c-guess-continued-construct):
11086         Correct the handling of template-args-cont, particularly for when font
11087         lock is disabled.  Name this case as "CASE G".
11089 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
11091         * allout.el (allout-yank-processing): Fix injection of extra space
11092         between bullet and non-whitespace character in first topic when
11093         pasting, ensuring that the actual spacing in the pasted topic
11094         following the bullet char is preserved.  This extra space was
11095         causing pasted encrypted topics to get a decrypted status even
11096         when the content was actually still encrypted.  Now the decryption
11097         status from before the paste is preserved.
11099         (allout-flag-region): Set all allout overlays so they evaporate
11100         when reduced to zero length (evanescent), to prevent overlay
11101         leakage.
11103 2011-06-30  Glenn Morris  <rgm@gnu.org>
11105         * w32-fns.el (w32-charset-info-alist): Declare.
11107         * find-dired.el (find-grep-options): Simplify.
11109         * term/ns-win.el (ns-set-resource): Declare.
11111         * ses.el (row, col): Declare dynamic variables honestly.
11113         * textmodes/reftex-parse.el (index-tags): Declare.
11115 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
11117         * cus-edit.el (customize-push-and-save): New function.
11119         * files.el (hack-local-variables-confirm): Use it.
11121         * custom.el (load-theme): New arg NO-CONFIRM.
11122         Use customize-push-and-save (Bug#8720).
11123         (custom-enabled-themes): Doc fix.
11125         * cus-theme.el (customize-create-theme)
11126         (custom-theme-merge-theme): Callers to load-theme changed.
11128 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11130         * thingatpt.el (thing-at-point-short-url-regexp): Require that
11131         short URLs have at least one dot in them (bug #7614).
11133         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11134         nil, because using a pty is apparently too slow (bug #895).
11136 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11138         * mail/sendmail.el (sendmail-query-once): New function.
11139         (sendmail-query-once-function): New variable.
11141 2011-06-29  Glenn Morris  <rgm@gnu.org>
11143         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11145         * ses.el (top-level): Require cl when compiling.
11146         (ses-set-localvars): Fix error statement.
11147         Call it at compile time to silence a storm of warnings.
11149 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
11151         * window.el (normalize-live-buffer): Rename to
11152         window-normalize-buffer.
11153         (normalize-live-frame): Rename to window-normalize-frame.
11154         (normalize-any-window): Rename to window-normalize-any-window.
11155         (normalize-live-window): Rename to window-normalize-live-window.
11156         (make-window-atom): Rename to window-make-atom.
11157         (window-resize-reset): Rename to window--resize-reset.
11158         (window-resize-reset-1): Rename to window--resize-reset-1.
11159         (resize-mini-window): Rename to window--resize-mini-window.
11160         (resize-subwindows-skip-p): Rename to
11161         window--resize-subwindows-skip-p.
11162         (resize-subwindows-normal): Rename to
11163         window--resize-subwindows-normal.
11164         (resize-subwindows): Rename to window--resize-subwindows.
11165         (resize-other-windows): Rename to window--resize-siblings.
11166         (resize-this-window): Rename to window--resize-this-window.
11167         (resize-root-window): Rename to window--resize-root-window.
11168         (resize-root-window-vertically): Rename to
11169         window--resize-root-window-vertically.
11170         (normalize-buffer-to-display): Rename to
11171         window-normalize-buffer-to-display.
11172         (normalize-buffer-to-switch-to): Rename to
11173         window-normalize-buffer-to-switch-to.
11174         Correspondingly update all callers of the functions listed
11175         above.
11176         (display-buffer-alist, display-buffer-normalize-arguments)
11177         (display-buffer-normalize-options, display-buffer)
11178         (display-buffer-alist-set): Use "function" instead of
11179         "fun-with-args".
11181 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
11183         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11184         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
11185         debbugs.gnu.org.  Mention acknowledgment email.
11187 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11189         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11190         buffer multibyteness, since it shouldn't matter.
11192 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
11194         * window.el (display-buffer-in-side-window): Handle dedicated
11195         windows as in display-buffer-reuse-window.
11196         (display-buffer-normalize-alist): Use value of override
11197         specifier.
11198         (display-buffer-normalize-specifiers): Use value of
11199         other-window-means-other-frame specifier.
11200         (display-buffer-alist): Rewrite some texts in widgets.
11201         (display-buffer): Spread arguments when calling function
11202         specified by fun-with-args.
11204 2011-06-28  Deniz Dogan  <deniz@dogan.se>
11206         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11207         Unnest `let'.
11209         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11210         selectors (Bug#5732).
11211         (css-proprietary-nmstart-re): Use `regexp-opt'.
11213 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
11215         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11216         (eshell-ls-date-format): New defcustom.
11217         (eshell-ls-file): Use it.
11219 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11221         * help-fns.el (describe-variable): Fix message for terminal-local vars.
11223 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
11225         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11226         (ange-ftp-make-tmp-name): New arg.
11227         (ange-ftp-file-local-copy): Use it.
11229 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
11231         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11232         no-conversion (Bug#8870).
11234 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
11236         * window.el (window-right, window-left, window-child)
11237         (window-child-count, window-last-child)
11238         (window-iso-combination-p, walk-window-tree-1)
11239         (window-atom-check-1, window-tree-1, delete-window)
11240         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11241         new naming conventions - window-vchild, window-hchild,
11242         window-next and window-prev are now called window-top-child,
11243         window-left-child, window-next-sibling and window-prev-sibling
11244         respectively.
11245         (resize-window-reset): Rename to window-resize-reset.
11246         (resize-window-reset-1): Rename to window-resize-reset-1.
11247         (resize-window): Rename to window-resize.
11248         (window-min-height, window-min-width)
11249         (resize-mini-window, resize-this-window, resize-root-window)
11250         (resize-root-window-vertically, adjust-window-trailing-edge)
11251         (enlarge-window, shrink-window, maximize-window)
11252         (minimize-window, delete-window, quit-restore-window)
11253         (split-window, balance-windows, balance-windows-area-adjust)
11254         (balance-windows-area, window-state-put-2)
11255         (display-buffer-even-window-sizes, display-buffer-set-height)
11256         (display-buffer-set-width, set-window-text-height)
11257         (fit-window-to-buffer): Rename all "resize-window" prefixed
11258         calls to use the "window-resize" prefix convention.
11259         (display-buffer-alist): Fix symbol for label specifier.
11260         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11261         corresponding specifier.
11262         Reported by Juanma Barranquero <lekktu@gmail.com>.
11264 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11266         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11267         convention.
11268         (ses-call-printer): Does not pass an empty string to formatter when the
11269         cell is empty to keep from barking printer Calc math-format-value.
11271 2011-06-27  Richard Stallman  <rms@gnu.org>
11273         * battery.el (battery-mode-line-limit): New variable.
11274         (battery-update): Handle it.
11276         * mail/rmailmm.el (rmail-mime-process-multipart):
11277         Handle truncated messages.
11279 2011-06-27  Glenn Morris  <rgm@gnu.org>
11281         * progmodes/flymake.el (flymake-err-line-patterns):
11282         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
11284 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11286         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11287         (ses--clean-!, ses--clean-_): New functions.
11288         (ses-range): Add configurability of readout order, and conversion
11289         to Calc vector.
11291         * ses.el (ses-repair-cell-reference-all): New function.
11292         (ses-cell-symbol): Set macro as safe, so that it can be used in
11293         formulas.
11295         * ses.el: Update cycle detection algorithm.
11296         (ses-localvars): Add ses--Dijkstra-attempt-nb and
11297         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11298         (ses-set-localvars): New function.
11299         (ses-make-cell): Add property-list as a cell element.
11300         (ses-cell-property-get-fun, ses-cell-property-get)
11301         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11302         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11303         New functions.
11304         (ses-cell-property-set, ses-cell-property-pop)
11305         (ses-cell-property-get-handle): New macro.
11306         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11307         New aliases, used for code readability.
11308         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11309         cycle detection.
11310         (ses-self-reference-early-detection): New defcustom.
11311         (ses-formula-references): Robustify against self-referring cells.
11312         (ses-mode): Use ses-set-localvars.
11313         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11314         before lauching the update processing.
11315         (ses-initialize-Dijkstra-attempt): New function.
11316         (ses-recalculate-cell): Update for cycle detection based on
11317         Dijkstra algorithm.
11319         * ses.el: Fix commenting and indenting convention.
11321 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11323         * bs.el (bs-cycle-next): Complete last change.
11325 2011-06-27  Drew Adams  <drew.adams@oracle.com>
11327         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11329 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11331         * net/network-stream.el (network-stream-open-starttls):
11332         Don't re-get capabilities unless we've reestablished connection.
11333         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11335         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11336         to binary to possibly avoid line encoding issues on Windows (among
11337         other things).
11339 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11341         * net/network-stream.el (open-network-stream): Return an :error
11342         saying what the problem was, if possible.
11344         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11345         server.
11347         * net/network-stream.el (network-stream-open-starttls): If we
11348         wanted to use STARTTLS, and the server offered it, but we weren't
11349         able to because we had no STARTTLS support, then close the connection.
11350         (open-network-stream): Return an :error element, if present.
11352 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
11354         * hl-line.el (hl-line-sticky-flag): Doc fix.
11355         (global-hl-line-sticky-flag): New option (Bug#8323).
11356         (global-hl-line-highlight): Obey it.
11358         * vc/vc.el (vc-revert-show-diff): Default to t.
11360 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
11362         * allout-widgets.el (allout-widgets-post-command-business):
11363         Stop decorating intermediate isearch matches.  They're not being
11364         undecorated when an isearch is continued past, and isearch
11365         automatically collapses them.  This leads to "widget leaks", where
11366         decorated items accumulate in collapsed areas.  Lines with lots of
11367         hidden widgets can slow down cursor travel, substantially.
11368         Too much complicated machinery would be needed to ensure undecoration,
11369         so we're doing without this nicety.
11371         (allout-widgets-tally-string): Don't try to do a hash-table-count
11372         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
11373         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11374         *Messages* when allout-widgets-maintain-tally is t.
11376 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
11378         * window.el (display-buffer-normalize-argument): Rename to
11379         display-buffer-normalize-arguments.  Handle special meaning of
11380         LABEL argument.  Respect special-display-function when popping up
11381         a new frame.  Fix code searching for a window showing the buffer
11382         on another frame.
11383         (display-buffer-normalize-specifiers):
11384         Call display-buffer-normalize-arguments.
11385         (display-buffer-in-window): Don't undedicate the window if its
11386         buffer remains the same.
11387         Reported by Drew Adams <drew.adams@oracle.com>.
11388         (display-buffer-alist): Add choice for same-window macro
11389         specfier.
11390         (display-buffer): Mention special meaning of LABEL argument in
11391         doc-string.  Fix quoting.  Don't pop up a new frame even as
11392         fallback.
11394 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
11396         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11397         avoid deleting the current window in some cases (bug#8911).
11399 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
11401         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11402         (Bug#8934)
11404 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11406         * net/network-stream.el (network-stream-open-starttls):
11407         Use built-in TLS support if `gnutls-available-p' is true.
11408         (network-stream-open-tls): Ditto.
11410 2011-06-26  Leo Liu  <sdl.web@gmail.com>
11412         * register.el (registerv): New struct.
11413         (registerv-make): New function.
11414         (jump-to-register, describe-register-1, insert-register):
11415         Support the jump-func, print-func and insert-func slot of a registerv
11416         struct.  (Bug#8415)
11418 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
11420         * vc/vc.el (vc-revert-show-diff): New defcustom.
11421         (vc-diff-internal): New arg specifying diff buffer.
11422         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
11423         reuse an existing *vc-diff* buffer (Bug#8927).
11425         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11427 2011-06-26  Glenn Morris  <rgm@gnu.org>
11429         * progmodes/f90.el (f90-critical-indent): New option.
11430         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11431         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11432         (f90-mode): Doc fix.
11433         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11434         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11435         (f90-beginning-of-block, f90-next-block, f90-indent-region)
11436         (f90-match-end): Handle block, critical.
11438 2011-06-25  Glenn Morris  <rgm@gnu.org>
11440         * calendar/diary-lib.el (diary-included-files): Doc fix.
11441         (diary-include-files): New function, extracted from
11442         diary-include-other-diary-files and diary-mark-included-diary-files.
11443         (diary-include-other-diary-files, diary-mark-included-diary-files):
11444         Just call diary-include-files.
11445         (diary-mark-entries): Reset diary-included-files on first call.
11447         * calendar/diary-lib.el (diary-mark-entries)
11448         (diary-mark-included-diary-files):
11449         Visit included diary-files in temp buffers.
11451         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11452         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11453         (f90-start-block-re, f90-imenu-generic-expression)
11454         (f90-looking-at-program-block-start, f90-no-block-limit):
11455         Add support for submodules.
11457         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11458         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11460 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
11462         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11463         buffer-file-type before setting its value, to avoid disastrous
11464         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
11466 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
11468         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11470         * ses.el (ses-unload-function):
11471         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11473         * proced.el (proced-unload-function):
11474         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11476 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
11478         * server.el (server-create-window-system-frame): Add parameters arg.
11479         (server-process-filter): Doc fix.  Handle frame-parameters.
11481 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
11483         Fix bug#8730, bug#8781.
11485         * loadhist.el (unload--set-major-mode): New function.
11486         (unload-feature): Use it.
11488         * progmodes/python.el (python-after-info-look): Add autoload cookie.
11489         (python-unload-function): New function.
11491 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11493         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11495 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
11497         * net/browse-url.el (browse-url-firefox-program): Add icecat to
11498         the candidates list.
11500 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
11502         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11504 2011-06-23  Richard Stallman  <rms@gnu.org>
11506         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11507         (rmail-variables): Set next-error-move-function.
11508         (rmail-what-message): Take argument POS.
11509         (rmail-next-error-move): New function.
11511 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11513         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11514         messages for adjacent non-terminals.
11516 2011-06-23  Richard Stallman  <rms@gnu.org>
11518         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11519         (rmail-show-message-1): Preserve buffer modified flag.
11520         (rmail-start-mail): Don't specify use of rmail-mail-return;
11521         that's done by mail-bury now.
11522         (rmail-mail-return): Handle arg NEWBUF.
11524 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
11526         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11527         SIZE is a number.
11529 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
11531         * window.el (get-lru-window, get-mru-window)
11532         (get-largest-window): Never return a minibuffer window.
11533         (display-buffer-pop-up-window): Fix a bug that could lead to
11534         reusing the minibuffer window.
11535         (display-buffer): Pass original specifier argument to
11536         display-buffer-function instead of the normalized one.
11537         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11539 2011-06-22  Leo Liu  <sdl.web@gmail.com>
11541         * minibuffer.el (completing-read-function)
11542         (completing-read-default): Move from minibuf.c
11544 2011-06-22  Richard Stallman  <rms@gnu.org>
11546         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11547         to Rmail even if not started by a special Rmail command.
11549         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11550         Copy the buffer currently showing just one message.
11552 2011-06-22  Roland Winkler  <winkler@gnu.org>
11554         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11555         (bibtex-clean-entry): First delete the old key so that a
11556         customized algorithm for generating the new key does not get
11557         confused by the old key.
11558         (bibtex-url): Obey regexp of first step.
11559         (bibtex-search-entries): Do not use add-to-list with local
11560         list-var.
11562 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11564         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11565         stored a user name, then query for the password first, instead of
11566         waiting for SMTP to give an error message and the trying again.
11568 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
11570         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11571         BUFFER in call-process.
11573 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11575         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11576         QUIT twice.
11577         (smtpmail-try-auth-methods): Require user name and password from
11578         auth-source.
11580 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
11582         * window.el (display-buffer-default-specifiers)
11583         (display-buffer-alist): Remove entries for pop-up-frame-alist.
11584         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11585         (split-window): Normalize SIDE argument (Bug#8916).
11587         * frame.el (pop-up-frame-alist, pop-up-frame-function)
11588         (special-display-frame-alist, special-display-popup-frame):
11589         Remove duplicate declarations.  These are now in window.el.
11591 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11593         * mail/smtpmail.el (smtpmail-via-smtp):
11594         Set :use-starttls-if-possible so that we always use STARTTLS if the
11595         server supports it.  SMTP servers that support STARTTLS commonly
11596         require it.
11598         * net/network-stream.el (network-stream-open-starttls): Support
11599         upgrading to STARTTLS always, even if we don't have built-in support.
11600         (open-network-stream): Add the :always-query-capabilities keyword.
11602         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11603         upgrades with `open-network-stream', and rely solely on
11604         auth-source for all credentials.  Big changes throughout the file,
11605         but in particular:
11606         (smtpmail-auth-credentials): Remove.
11607         (smtpmail-starttls-credentials): Remove.
11608         (smtpmail-via-smtp): Check for servers saying they want AUTH after
11609         MAIL FROM, too.
11611         * net/network-stream.el (network-stream-open-starttls):
11612         Provide support for client certificates both for external and built-in
11613         STARTTLS.
11614         (auth-source): Require.
11615         (open-network-stream): Document the :client-certificate keyword.
11616         (network-stream-certificate): Change cert-cert to cert and
11617         cert-key to key.
11619 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
11621         * net/tramp-cache.el (top): Don't load the persistency file when
11622         "emacs -Q" has been called.
11624 2011-06-21  Tim Harper  <timcharper@gmail.com>
11626         * term/ns-win.el (ns-initialize-window-system):
11627         Set application-specific `ApplePressAndHoldEnabled' system
11628         resource to NO as it is not yet supported by the NS port.
11630 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
11632         * misc.el (list-dynamic-libraries--refresh): Compute header here...
11633         (list-dynamic-libraries): ...not here.
11635 2011-06-21  Leo Liu  <sdl.web@gmail.com>
11637         * subr.el (sha1): Implement sha1 using secure-hash.
11639 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
11641         * window.el (display-buffer-alist): In default value do not
11642         enforce searching a window on any but the selected frame.
11643         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11644         (display-buffer-select-window): Remove function.
11645         (display-buffer-in-window): When a window on another frame gets
11646         reused, do not select it any more but just raise its frame if
11647         necessary (Bug#8851) and (Bug#8856).
11648         (display-buffer-normalize-options): Handle pop-up-frames related
11649         options more faithfully.
11650         (pop-to-buffer): Don't rely on `display-buffer' selecting the
11651         window if it is on another frame.
11652         (display-buffer-alist, display-buffer-default-specifiers):
11653         Don't make new frame unsplittable by default.
11654         (display-buffer-normalize-argument): Fix doc-string typo and use
11655         'same-frame-other-window instead of 'other-window when associating
11656         with display-buffer-macro-specifiers.
11658 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
11660         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11661         New functions.
11662         (5x5-mode-map, 5x5-mode-menu): Bind them.
11663         (5x5-draw-grid): Tweak the solver's rendering.
11665 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11667         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11668         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11670 2011-06-21  Drew Adams  <drew.adams@oracle.com>
11672         * menu-bar.el: Use function variable instead of switch-to-buffer.
11673         (menu-bar-select-buffer-function): New variable.
11674         (menu-bar-update-buffers): Use it (bug#8876).
11676 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11678         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11679         variable's status.
11681 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
11683         * x-dnd.el (x-dnd-version-from-flags)
11684         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11685         and long as number (Bug#8899).
11686         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11688 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11690         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11691         (completion-try-completion, completion-all-completions): Compute the
11692         metadata argument if it's missing; make it optional (bug#8795).
11694         * wid-edit.el: Use lex-bind and move towards completion-at-point.
11695         (widget-complete): Use new :completion-function property.
11696         (widget-completions-at-point): New function.
11697         (default): Use :completion-function instead of :complete.
11698         (widget-default-completions): Rename from widget-default-complete;
11699         Rewrite.
11700         (widget-string-complete, widget-file-complete, widget-color-complete):
11701         Remove functions.
11702         (file, symbol, function, variable, coding-system, color):
11703         * international/mule-cmds.el (default-input-method, charset)
11704         (language-info-custom-alist):
11705         * cus-edit.el (face): Use new property :completions.
11707         * progmodes/pascal.el (pascal-completions-at-point): New function.
11708         (pascal-mode): Use it.
11709         (pascal-mode-map): Use completion-at-point.
11710         (pascal-toggle-completions): Make obsolete.
11711         (pascal-complete-word, pascal-show-completions):
11712         * progmodes/octave-mod.el (octave-complete-symbol):
11713         Redefine as obsolete alias.
11714         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11715         Signal absence of completion info for old Octave,
11716         (inferior-octave-complete): Redefine as obsolete alias.
11717         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11718         (meta-completions-at-point): Rename from meta-complete-symbol and
11719         adapt it for use on completion-at-point-functions.
11720         (meta-common-mode): Use it.
11721         (meta-looking-at-backward, meta-match-buffer): Remove.
11722         (meta-complete-symbol): Redefine as obsolete alias.
11723         (meta-common-mode-map): Use completion-at-point.
11724         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11725         (makefile-mode-map): Use completion-at-point.
11726         (makefile-completions-at-point): Rename from makefile-complete and
11727         adapt it for use on completion-at-point-functions.
11728         (makefile-mode): Use it.
11729         (makefile-complete): Redefine as obsolete alias.
11731 2011-06-20  Deniz Dogan  <deniz@dogan.se>
11733         * net/rcirc.el: Delete trailing whitespaces once and for all.
11735 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
11737         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11739 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
11741         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11743         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11745 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
11747         * window.el (display-buffer-other-window-means-other-frame):
11748         Call display-buffer-normalize-alist.
11749         (display-buffer-normalize-specifiers-1): Rename to
11750         display-buffer-normalize-argument.  New argument other-frame.
11751         Rewrite.
11752         (display-buffer-normalize-specifiers-2): Rename to
11753         display-buffer-normalize-options.
11754         (display-buffer-normalize-alist-1): New function.
11755         (display-buffer-normalize-specifiers-3): Rename to
11756         display-buffer-normalize-alist.
11757         Call display-buffer-normalize-alist-1.
11758         (display-buffer-normalize-options-inhibit): New variable.
11759         (display-buffer-normalize-specifiers): Rewrite calling
11760         display-buffer-normalize-alist,
11761         display-buffer-normalize-argument, and
11762         display-buffer-normalize-options.  Don't call the latter if
11763         display-buffer-normalize-options-inhibit is non-nil.
11764         (frame-auto-delete): New option.
11765         (window-deletable-p): Use frame-auto-delete.
11766         (window-list-no-nils, window-state-ignored-parameters)
11767         (window-state-get-1, window-state-get, window-state-put-list)
11768         (window-state-put-1, window-state-put-2, window-state-put):
11769         New functions.
11770         (display-buffer-normalize-options): Move special-display-p group
11771         after pop-up-frame group (Bug#8851) and (Bug#8856).
11773 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
11775         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11776         groups (Bug#8776).
11777         (rx-submatch-n): New function.
11778         (rx): Document it.
11780         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11781         (Bug#8768).
11783         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11785         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11787         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11788         anytime existing face settings are present (Bug#8889).
11790         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11791         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11792         Remove unused argument.
11794 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
11796         * window.el (display-buffer-default-specifiers):
11797         Remove pop-up-frame.  Add pop-up-window-min-height,
11798         pop-up-window-min-width, and another reuse-window specifier
11799         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
11800         (display-buffer-normalize-specifiers-2):
11801         Handle split-height-threshold and split-width-threshold also when
11802         pop-up-windows is unset.  Add a reuse-window specifier for the
11803         case popping up a new window fails.
11804         (special-display-popup-frame): Remove double quoting.
11805         (display-buffer-normalize-specifiers-1): Fix thinko.
11807 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11809         * shell.el (shell-completion-vars): Set pcomplete-termination-string
11810         according to comint-completion-addsuffix.
11812         * pcomplete.el: Convert to lexical binding and fix bug#8819.
11813         (pcomplete-suffix-list): Mark as obsolete.
11814         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11815         pcomplete-seen in the closure.
11816         (pcomplete-comint-setup): Setup completion-at-point as well.
11817         (pcomplete--entries): New function.
11818         (pcomplete--env-regexp): New var.
11819         (pcomplete-entries): Rewrite to work with partial-completion and
11820         without relying on pcomplete-suffix-list.
11821         (pcomplete-pare-list): Remove, unused.
11823 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
11825         * window.el (display-buffer-alist): Set pop-up-window-min-height
11826         and pop-up-window-min-width in default value.  Reported by
11827         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
11828         other-window-means-other-frame.
11829         (display-buffer-macro-specifiers): Comment out entry for
11830         other-window specifier.
11831         (display-buffer-other-window-means-other-frame): New function.
11832         (display-buffer-normalize-specifiers-1): New arguments
11833         buffer-name and label.  Treat other-window case specially.
11834         (display-buffer-normalize-specifiers-2): Treat other-window case
11835         specially.
11836         (display-buffer-normalize-specifiers-3): New function.
11837         (display-buffer-normalize-specifiers):
11838         Call display-buffer-normalize-specifiers-3.
11840 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
11842         * window.el (same-window-p): Fix two typos introduced when
11843         adding with-no-warnings.
11844         (display-buffer-normalize-specifiers-1): Don't check
11845         pop-up-frames for 'unset initialization.
11846         (display-buffer-normalize-specifiers-2): Major rewrite using
11847         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11848         (pop-up-frames, display-buffer-reuse-frames)
11849         (display-buffer-mark-dedicated): Don't initialize to 'unset.
11850         Suggested by David Engster <deng@randomsample.de>.
11851         (even-window-heights): Initialize to 'unset.
11852         (display-buffer-alist-set): Handle new 'unset initializations.
11853         (display-buffer-macro-specifiers): Don't pop up a new frame in the
11854         other window case.
11856 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
11858         * window.el (display-buffer-normalize-specifiers-1):
11859         Respect current value of pop-up-frames for most reasonable values of
11860         second argument of display-buffer (Bug#8865).
11861         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11862         (switch-to-buffer-other-window-same-frame)
11863         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
11864         Adams (Bug#8875).
11865         (display-buffer): Don't check noninteractive when calling
11866         display-buffer-pop-up-frame.
11867         (display-buffer-pop-up-frame): Never pop up a frame in
11868         noninteractive mode (Bug#8857).
11869         (enlarge-window, shrink-window): Don't report an error when the
11870         window can't be resized as requested (Bug#8862).
11872 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11874         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11876         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11878         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11880 2011-06-15  Alan Mackenzie  <acm@muc.de>
11882         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11883         for declarators, disable knr checking to speed up for normal files.
11884         2: Refactor, replacing a sequence of nested if forms by a cond form.
11886 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11888         * net/network-stream.el (open-network-stream): Add the keyword
11889         :always-query-capabilities for the case where you want to force a
11890         `plain' network connection, but the protocol still requires the
11891         capabilitiy command (i.e., SMTP and EHLO).
11893         * subr.el (process-live-p): Rename from `process-alive-p' for
11894         consistency with other `-live-p' functions.
11896 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11898         * window.el (same-window-buffer-names, same-window-regexps)
11899         (special-display-frame-alist, special-display-popup-frame)
11900         (special-display-function, special-display-buffer-names)
11901         (special-display-regexps, pop-up-frame-alist)
11902         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11903         (pop-up-windows, split-window-preferred-function)
11904         (split-height-threshold, split-width-threshold, even-window-heights)
11905         (display-buffer-mark-dedicated): Don't encourage the use of
11906         display-buffer-alist from Elisp code.
11908 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
11910         * progmodes/python.el (python-mode): Derive from prog-mode.
11911         * progmodes/ps-mode.el (ps-mode):
11912         * progmodes/mixal-mode.el (mixal-mode):
11913         * progmodes/cfengine.el (cfengine-mode):
11914         * progmodes/ld-script.el (ld-script-mode): Likewise.
11916 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
11918         * window.el (display-buffer-alist): Trim default value to avoid
11919         popping up a new frame (Bug#8857) or reusing an arbitrary window
11920         on another frame.
11921         (display-buffer): Do not fall back on popping up a new frame in
11922         batch mode (Bug#8857).
11924 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
11926         * cus-theme.el (describe-theme-1): Use custom-theme-p.
11927         (custom-theme-summary): New function.
11928         (customize-themes): Use it.
11930 2011-06-13  Glenn Morris  <rgm@gnu.org>
11932         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11934 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
11936         * help.el (help-window): Remove variable.
11937         (help-window-point-marker, temp-buffer-max-height)
11938         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11939         (help-print-return-message): Don't set help-window.
11940         (resize-temp-buffer-window): Rewrite cod eand doc-string.
11941         (help-window-setup-finish): Remove.
11942         (help-window-display-message, help-window-setup)
11943         (with-help-window): Major rewrite based on new
11944         display-buffer-window variable.
11946         * help-mode.el (help-mode-finish): Remove help-window related
11947         code.
11949         * view.el (view-exits-all-viewing-windows): Remove reference to
11950         view-return-to-alist in doc-string.
11951         (view-return-to-alist): Make obsolete.
11952         (view-buffer): Call pop-to-buffer-same-window and remove
11953         undo-window code.
11954         (view-buffer-other-window): Call pop-to-buffer-other-window and
11955         simplify code.  Ignore second argument.
11956         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11957         simplify code.  Ignore second argument.
11958         (view-return-to-alist-update): Make obsolete.
11959         (view-mode-enter): Rename second argument to QUIT-RESTORE.
11960         Rewrite using quit-restore window parameters.
11961         (view-mode-exit): Rename second argument to EXIT-ONLY.
11962         Rewrite using quit-restore-window.
11963         (View-exit, View-exit-and-edit, View-leave, View-quit)
11964         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11965         appropriate arguments.
11966         (view-end-message): Use quit-restore window parameter.
11968         * window.el (display-buffer-function): Rewrite doc-string.
11969         (display-buffer-window, display-buffer-alist): New variables.
11970         (display-buffer-split-specifiers)
11971         (display-buffer-side-specifiers)
11972         (display-buffer-macro-specifiers): New constants.
11973         (display-buffer-even-window-sizes, display-buffer-set-height)
11974         (display-buffer-set-width, display-buffer-select-window)
11975         (display-buffer-in-window, display-buffer-reuse-window)
11976         (display-buffer-split-window-1, display-buffer-split-window)
11977         (display-buffer-split-atom-window, display-buffer-pop-up-window)
11978         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11979         (display-buffer-in-side-window, normalize-buffer-to-display)
11980         (display-buffer-normalize-specifiers-1)
11981         (display-buffer-normalize-specifiers-2)
11982         (display-buffer-normalize-specifiers, display-buffer-frame):
11983         New functions.
11984         (display-buffer): Major rewrite.
11985         (display-buffer-other-window, display-buffer-other-frame)
11986         (pop-to-buffer, switch-to-buffer-other-window)
11987         (switch-to-buffer-other-frame): Rewrite.
11988         (display-buffer-same-window, display-buffer-same-frame)
11989         (display-buffer-same-frame-other-window)
11990         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11991         (pop-to-buffer-other-window)
11992         (pop-to-buffer-same-frame-other-window)
11993         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11994         (switch-to-buffer-other-window-same-frame): New functions.
11995         (same-window-p, special-display-p): Rewrite disabling warnings.
11996         Make obsolete.
11997         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11998         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11999         Make obsolete
12000         (same-window-buffer-names, same-window-regexps)
12001         (special-display-frame-alist, special-display-popup-frame)
12002         (special-display-function, special-display-buffer-names)
12003         (special-display-regexps, pop-up-frame-alist)
12004         (pop-up-frame-function, split-window-preferred-function)
12005         (split-height-threshold, split-width-threshold)
12006         (even-window-heights): Make obsolete.
12008 2011-06-12  Glenn Morris  <rgm@gnu.org>
12010         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
12011         Misc simplifications.
12013 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
12015         * window.el (window-safely-shrinkable-p): Restore function which
12016         was inadvertently removed in change from 2011-06-11.  Declare as
12017         obsolete.
12019         * calendar/calendar.el (calendar-generate-window):
12020         Use window-iso-combined-p instead of combination of one-window-p and
12021         window-safely-shrinkable-p.
12023 2011-06-12  Glenn Morris  <rgm@gnu.org>
12025         * progmodes/fortran.el (fortran-mode-syntax-table):
12026         * progmodes/f90.el (f90-mode-syntax-table):
12027         Set % to punctuation.  (Bug#8820)
12028         (f90-find-tag-default): Remove, no longer needed.
12030 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
12032         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12034 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
12036         * image.el (image-animated-p): Return animation delay in seconds.
12037         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12038         (image-animate-timeout): Remove DELAY argument.  Don't assume
12039         every subimage has the same delay; get it from image-animated-p.
12040         (image-animate): Caller changed.
12042 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
12044         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12045         to ignored backtrace functions.
12047 2011-06-11  Glenn Morris  <rgm@gnu.org>
12049         * calendar/appt.el (appt-disp-window-function): Doc fix.
12050         (appt-check): Handle overlapping appointments.  (Bug#8337)
12052 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
12054         * window.el (window-tree-1, window-tree): New functions, moving
12055         the latter to window.el.
12056         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12057         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12058         (bw-refresh-edges): Remove.
12059         (balance-windows-1, balance-windows-2): New functions.
12060         (balance-windows): Rewrite in terms of window tree functions,
12061         balance-windows-1 and balance-windows-2.
12062         (bw-adjust-window): Remove.
12063         (balance-windows-area-adjust): New function with functionality of
12064         bw-adjust-window but using resize-window.
12065         (set-window-text-height): Rewrite doc-string.
12066         Use normalize-live-window and resize-window.
12067         (enlarge-window-horizontally, shrink-window-horizontally):
12068         Rename argument to DELTA.
12069         (window-buffer-height): New function.
12070         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12071         Rewrite using new window resize routines.
12072         (kill-buffer-and-window, mouse-autoselect-window-select):
12073         Use ignore-errors instead of condition-case.
12074         (quit-window): Call delete-frame instead of delete-windows-on
12075         for the only buffer on frame.
12077 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
12079         * loadup.el (top-level): Load window before files for the sake
12080         of replace-buffer-in-windows.
12082         * files.el (read-buffer-to-switch)
12083         (switch-to-buffer-other-window)
12084         (switch-to-buffer-other-frame, display-buffer-other-frame):
12085         Move to window.el.
12087         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12088         (previous-buffer): Move to window.el.
12090         * bindings.el (unbury-buffer): Move to window.el.
12092         * window.el (delete-other-windows-vertically): Move after
12093         definition of delete-other-windows.
12094         (other-window, delete-windows-on, replace-buffer-in-windows):
12095         Move here from window.c.
12096         (record-window-buffer, unrecord-window-buffer)
12097         (set-window-buffer-start-and-point, switch-to-prev-buffer)
12098         (switch-to-next-buffer): New functions.
12099         (get-next-valid-buffer, last-buffer, next-buffer): Move here
12100         from simple.el.  Call switch-to-next-buffer.
12101         (previous-buffer): Move here from simple.el.
12102         Call switch-to-prev-buffer.
12103         (bury-buffer): Move here from buffer.c.  Switch to previous
12104         buffer when window cannot be deleted.
12105         (unbury-buffer): Move here from bindings.el.
12106         (ctl-x-map): Move binding for other-window from window.c to
12107         here.
12108         (read-buffer-to-switch, switch-to-buffer-other-window)
12109         (switch-to-buffer-other-frame): Move here from files.el.
12110         (normalize-buffer-to-switch-to): New functions.
12111         (switch-to-buffer): Move here from buffer.c.
12112         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12114 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
12116         * window.el (window-min-height, window-min-width): Move here
12117         from window.c.  Add defcustoms and rewrite doc-strings.
12118         (resize-mini-window, resize-window): New functions.
12119         (adjust-window-trailing-edge, enlarge-window, shrink-window):
12120         Move here from window.c.
12121         (maximize-window, minimize-window): New functions.
12122         (delete-window, delete-other-windows, split-window): Move here
12123         from window.c.
12124         (window-split-min-size): New function.
12125         (split-window-keep-point): Mention split-window-above-each-other
12126         instead of split-window-vertically.
12127         (split-window-above-each-other, split-window-vertically):
12128         Rename split-window-vertically to split-window-above-each-other
12129         and provide defalias for old definition.
12130         (split-window-side-by-side, split-window-horizontally):
12131         Rename split-window-horizontally to split-window-side-by-side
12132         and provide defalias for the old definition.
12133         (ctl-x-map): Move bindings for delete-window,
12134         delete-other-windows and enlarge-window here from window.c.
12135         Replace bindings for split-window-vertically and
12136         split-window-horizontally by bindings for
12137         split-window-above-each-other and split-window-side-by-side.
12139         * cus-start.el (all): Remove entries for window-min-height and
12140         window-min-width.  Add entries for window-splits and
12141         window-nest.
12143 2011-06-09  Glenn Morris  <rgm@gnu.org>
12145         * calendar/appt.el (appt-mode-line): New function.
12146         (appt-check, appt-disp-window): Use it.
12148         * files.el (hack-one-local-variable-eval-safep):
12149         Allow minor-modes with explicit +/-1 arguments.
12151 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
12153         * term/xterm.el (xterm): Add defgroup.
12154         (xterm-extra-capabilities): Add defcustom to supply known xterm
12155         capabilities, skip querying them, or query them (default).
12156         (terminal-init-xterm): Use it.
12157         (terminal-init-xterm-modify-other-keys): New function to set up
12158         modifyOtherKeys support to simplify `terminal-init-xterm'.
12160 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
12162         * window.el (resize-window-reset, resize-window-reset-1)
12163         (resize-subwindows-skip-p, resize-subwindows-normal)
12164         (resize-subwindows, resize-other-windows, resize-this-window)
12165         (resize-root-window, resize-root-window-vertically)
12166         (window-deletable-p, window-or-subwindow-p)
12167         (frame-root-window-p): New functions.
12169 2011-06-09  Glenn Morris  <rgm@gnu.org>
12171         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12172         (ange-ftp-get-files): Use it.
12174 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
12176         * mail/sendmail.el (mail-recover-1, mail-recover):
12177         * files.el (recover-file, recover-session):
12178         Handle dired-listing-switches not being just a single short option.
12180 2011-06-09  Glenn Morris  <rgm@gnu.org>
12182         * calendar/appt.el (appt-display-message, appt-disp-window):
12183         Handle lists of appointments.
12185 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
12187         * window.el (one-window-p): Move down in code.
12188         Rewrite doc-string.
12189         (window-current-scroll-bars): Rewrite doc-string.
12190         Normalize live window argument.
12191         (walk-windows, get-window-with-predicate, count-windows):
12192         Rewrite doc-string.  Use window-list-1.
12193         (window-in-direction-2, window-in-direction, get-mru-window):
12194         New functions.
12196 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
12198         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12199         Doc fix (Bug#8713).
12201 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
12203         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12205 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
12207         * loadhist.el (unload-feature-special-hooks):
12208         Add `comint-output-filter-functions'.
12210 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
12212         * calendar/appt.el (appt-check): Move some initializations into the let.
12214 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
12216         * window.el (window-height): Defalias to window-total-height.
12217         (window-width): Defalias to window-body-width.
12219 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
12221         * image-mode.el (image-toggle-animation): New command.
12222         (image-mode-map): Bind it to RET.
12223         (image-mode): Update message.
12224         (image-toggle-display-image): Avoid a spurious cache flush.
12225         (image-transform-rotation): Doc fix.
12226         (image-transform-properties): Return quickly in the normal case.
12227         (image-animate-loop): Rename from image-animate-max-time.
12229         * image.el (image-animate-max-time): Move to image-mode.el.
12230         (create-animated-image): Remove unnecessary function.
12231         (image-animate): Rename from image-animate-start.  New arg.
12232         (image-animate-stop): Remove; just use image-animate-timer.
12233         (image-animate-timer): Use car-safe.
12234         (image-animate-timeout): Rename argument.
12236 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
12238         * window.el (get-lru-window, get-largest-window): Move here from
12239         window.c.  Rename first argument to ALL-FRAMES.
12240         Rephrase doc-strings.
12241         (get-buffer-window-list): Rewrite using window-list-1.
12242         Rephrase doc-string.
12243         (window-safe-min-height, window-safe-min-width): New constants.
12244         (window-size-ignore, window-min-size, window-min-size-1)
12245         (window-sizable, window-sizable-p, window-size-fixed-1)
12246         (window-size-fixed-p, window-min-delta-1, window-min-delta)
12247         (window-max-delta-1, window-max-delta, window-resizable)
12248         (window-resizable-p, window-total-height, window-total-width)
12249         (window-body-width): New functions.
12250         (window-full-height-p, window-full-width-p): Rewrite using
12251         window-total-size.
12252         (window-body-height): Rewrite using window-body-size.
12254 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
12256         * window.el (window-right, window-left, window-child)
12257         (window-child-count, window-last-child, window-any-p)
12258         (normalize-live-buffer, normalize-live-frame)
12259         (normalize-any-window, normalize-live-window)
12260         (window-iso-combination-p, window-iso-combined-p)
12261         (window-iso-combinations)
12262         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12263         (windows-with-parameter, window-with-parameter)
12264         (window-atom-root, make-window-atom, window-atom-check-1)
12265         (window-atom-check, window-side-check, window-check):
12266         New functions.
12267         (ignore-window-parameters, window-sides, window-sides-vertical)
12268         (window-sides-slots): New variables.
12269         (window-size-fixed): Move down in code.  Minor doc-string fix.
12271 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
12273         * comint.el (comint-dynamic-complete-as-filename)
12274         (comint-dynamic-complete-filename): Correctly call
12275         completion-in-region.
12277 2011-06-05  Deniz Dogan  <deniz@dogan.se>
12279         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12280         in last change.
12282 2011-06-05  Deniz Dogan  <deniz@dogan.se>
12284         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12285         (rcirc): Use it to prompt for encryption.
12287 2011-06-05  Roland Winkler  <winkler@gnu.org>
12289         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12290         (bibtex-search-entries): New command bound to C-c C-a.
12291         (bibtex-display-entries): New function.
12293 2011-06-05  Roland Winkler  <winkler@gnu.org>
12295         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12296         (bibtex-insert-kill): After yanking insert newline if necessary.
12297         (bibtex-initialize): Call bibtex-string-files-init only once.
12298         (bibtex-mode): Do not call easy-menu-add.
12299         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12300         (bibtex-yank): Set arg properly if nil.
12302 2011-06-05  Roland Winkler  <winkler@gnu.org>
12304         * textmodes/bibtex.el (bibtex-search-entry-globally):
12305         New variable.
12306         (bibtex-search-entry): Use it.
12308 2011-06-05  Roland Winkler  <winkler@gnu.org>
12310         * textmodes/bibtex.el (bibtex-entry-format): New option
12311         sort-fields.
12312         (bibtex-format-entry, bibtex-reformat): Honor this option.
12313         (bibtex-parse-entry): Return fields in proper order.
12315 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
12317         * doc-view.el (doc-view-remove-if): Move computation of result out
12318         of `dolist' to silence misleading lexical-binding warning.
12320 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
12322         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12323         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12325 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
12327         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12328         "SunOS 5.10".
12330 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
12332         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12333         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12334         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12335         (tramp-parse-putty):
12336         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12337         (tramp-completion-function-alist-ssh)
12338         (tramp-completion-function-alist-telnet)
12339         (tramp-completion-function-alist-su)
12340         (tramp-completion-function-alist-putty): Set `tramp-autoload'
12341         cookie.
12343         * net/tramp-ftp.el:
12344         * net/tramp-sh.el:
12345         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12346         load "tramp.el" `tramp-set-completion-function'.
12348 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12350         * shell.el: Require and use pcomplete.
12351         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12352         (shell-completion-vars): Set pcomplete-default-completion-function.
12354 2011-06-04  Deniz Dogan  <deniz@dogan.se>
12356         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12357         `memq' (Bug#8799).
12359 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12361         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12363 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
12365         * bs.el (bs--mark-unmark, bs--nth-wrapper):
12366         * mpc.el (mpc-select-extend, mpc-songpointer-context):
12367         * vc/log-view.el (log-view-beginning-of-defun):
12368         * vc/smerge-mode.el (smerge-apply-resolution-patch)
12369         (smerge-refine-forward, smerge-refine-chopup-region):
12370         Silence warning for unused `dotimes' counter variables.
12372 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12374         * net/tramp.el (tramp-with-progress-reporter): Rename from
12375         with-progress-reporter.  Use `declare'.
12376         * net/tramp-smb.el:
12377         * net/tramp-sh.el:
12378         * net/tramp-gvfs.el: Update all uses.
12380 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
12382         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12383         buffer isn't killed before making it current.
12385 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12387         Silence various byte-compiler warnings.
12388         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12389         `access-type' and new obsolescence format.
12390         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12391         new format.
12392         (byte-compile-check-variable): New `access-type' argument.
12393         Only warn if the access-type is obsolete.
12394         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12395         (byte-compile-variable-set): Adjust callers.
12396         * help-fns.el (describe-variable): Adjust to new obsolescence format.
12397         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12398         setting it as obsolete.
12399         * simple.el (minibuffer-completing-symbol):
12400         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12401         access as obsolete.
12402         * minibuffer.el (minibuffer-completing-file-name): Don't make it
12403         obsolete yet.
12404         * international/quail.el (quail-mouse-choose-completion): Remove unused
12405         code referring to obsolete var.
12406         (quail-choose-completion-string): Remove.
12407         * server.el (server-clients-with, server-kill-buffer-query-function)
12408         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12409         * proced.el (proced-send-signal):
12410         * emacs-lisp/lisp.el (lisp-complete-symbol):
12411         Replace completion-annotate-function with completion-extra-properties.
12413 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12415         * simple.el (goto-line): Use read-number.
12416         (overriding-map-is-bound): Remove.
12417         (saved-overriding-map): Change default.
12418         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12419         Take the map as argument.
12420         (universal-argument, negative-argument, digit-argument): Use it.
12421         (restore-overriding-map): Adjust.
12422         (do-auto-fill): Use fill-forward-paragraph.
12423         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12425         * minibuffer.el (minibuffer-inactive-mode-map): New var.
12426         (minibuffer-inactive-mode): New major mode.
12427         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12428         the *Messages* buffer" hack.
12429         (mouse-popup-menubar): Don't burp if the event is a normal key.
12431         Miscellaneous tweaks.
12432         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12433         lexical scoping as in subr.el's dolist and dotimes.
12434         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12435         Silence compiler warning.
12436         * thingatpt.el (forward-whitespace): Trivial coding style fix.
12437         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12438         * international/ccl.el (ccl-compile): Trivial simplification.
12439         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12440         * emacs-lisp/testcover.el (testcover-end): Remove spurious
12441         `printflag' argument.
12442         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12443         Purecopy the whole obsolescence data.
12445 2011-06-01  Leo Liu  <sdl.web@gmail.com>
12447         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12448         improve doc-string as suggested by Marco Pessotto
12449         <melmothx@gmail.com>.
12450         (rcirc-print): Fix last change.
12452 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12454         * minibuffer.el (complete-with-action): Return nil for the metadata and
12455         boundaries of non-functional tables.
12456         (completion-table-dynamic): Return nil for the metadata.
12457         (completion-table-with-terminator): Add default case, using
12458         complete-with-action.
12459         (completion--metadata): New function.
12460         (completion-all-sorted-completions, minibuffer-completion-help): Use it
12461         to try and avoid pathological performance problems.
12462         (completion--embedded-envvar-table): Return `category' metadata.
12464 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12466         * subr.el (process-alive-p): New tiny convenience function.
12468 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12470         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12471         content but also its previous major mode.
12473 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
12475         * emacs-lisp/debug.el (debug): Restore the previous content of the
12476         *Backtrace* buffer when we exit with C-M-c.
12478 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12480         * minibuffer.el: Add metadata method to completion tables.
12481         (completion-category-overrides): New defcustom.
12482         (completion-metadata, completion--field-metadata)
12483         (completion-metadata-get, completion--styles)
12484         (completion--cycle-threshold): New functions.
12485         (completion-try-completion, completion-all-completions):
12486         Add `metadata' argument to choose completion-styles.
12487         (completion--do-completion): Use metadata to choose cycling.
12488         (completion-all-sorted-completions): Use metadata for sorting.
12489         Remove :completion-cycle-penalty which is not needed any more.
12490         (completion--try-word-completion): Add `metadata' argument.
12491         (minibuffer-completion-help): Check metadata for annotation function
12492         and sorting.
12493         (completion-file-name-table): Return `category' metadata.
12494         (minibuffer-completing-file-name): Make obsolete.
12495         * simple.el (minibuffer-completing-symbol): Make obsolete.
12496         * icomplete.el (icomplete-completions): Pass new `metadata' param to
12497         completion-try-completion.
12499 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12501         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12503 2011-05-30  Leo Liu  <sdl.web@gmail.com>
12505         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12506         (rcirc-print): Decode all incoming messages (bug#8744).
12507         (rcirc-decode-coding-system): Allow value nil for automatic coding
12508         system detection.
12510 2011-06-01  Glenn Morris  <rgm@gnu.org>
12512         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12514 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12516         * image.el (image-animate-max-time): Allow nil and t values.
12517         Default to nil.
12518         (create-animated-image): Doc fix.
12519         (image-animate-start): Remove second arg; just use
12520         image-animate-max-time.
12521         (image-animate-timeout): Doc fix.  Args changed.
12523         * image-mode.el (image-toggle-display-image): Ensure that the
12524         image spec passed to the animate timer is the same object as in
12525         the buffer's display property (Bug#6981).
12526         (image-transform-properties): Doc fix.
12528         * image.el (image-animate-max-time): Default to nil.
12530 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
12532         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12533         entire buffer list (Bug#8184).
12535 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12537         * image.el (imagemagick-types-inhibit)
12538         (imagemagick-register-types): Doc fix.
12540 2011-05-29  Deniz Dogan  <deniz@dogan.se>
12542         * net/rcirc.el (rcirc): Use the user's stored encryption method by
12543         default.
12545 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12547         * select.el: Don't perform clipboard-manager saving in hooks;
12548         leave the hooks empty.
12550 2011-05-28  Leo Liu  <sdl.web@gmail.com>
12552         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12553         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
12554         (occur-edit-mode): New major mode (Bug#8463).
12555         (occur-after-change-function): New function.
12556         (occur-engine): Give Occur tags a read-only property.
12558 2011-05-28  Kevin Ryde  <user42@zip.com.au>
12560         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12562 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12564         * bindings.el (help-echo): Make the initial non-indicator dash
12565         empty on graphical terminals (Bug#7295).
12567         * files.el (auto-mode-alist): Move config rule after the
12568         in-stripping one (Bug#8547).
12570         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12572         * startup.el (normal-splash-screen): Remove gratuitous mode-line
12573         setting (Bug#8740).
12575 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
12577         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12578         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12579         (Bug#8539).
12581 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12583         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12585 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
12587         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12588         (hs-hide-block-at-point, hs-find-block-beginning)
12589         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12590         (Bug#8279).
12592 2011-05-28  Glenn Morris  <rgm@gnu.org>
12594         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
12596 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12598         * help-fns.el (describe-function-1): If the function is a derived
12599         major mode, print the parent mode.
12601         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12602         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12604 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12606         * minibuffer.el (completion--capf-wrapper): Check applicability before
12607         returning non-nil for non-exclusive completion data.
12608         * progmodes/etags.el (tags-completion-at-point-function):
12609         * info-look.el (info-lookup-completions-at-point): Mark as
12610         non-exclusive.
12611         (info-complete): Adjust accordingly.
12613         * info-look.el: Convert to lexical-binding and completion-at-point.
12614         (info-lookup-completions-at-point): New function.
12615         (info-complete): Use it and completion-in-region.
12617 2011-05-28  Drew Adams  <drew.adams@oracle.com>
12619         * isearch.el: Let M-e start with point at the first mismatched char.
12620         (isearch-fail-pos): New function.
12621         (isearch-edit-string): Use it.
12623 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
12625         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12627 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
12629         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
12630         traversal functions for avl-trees.
12631         (avl-tree--stack): New struct.
12632         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12633         (avl-tree-enter): Add optional `updatefun' arg.
12634         (avl-tree--do-enter): Add optional `updatefun' arg.
12635         Change return value.
12636         (avl-tree-delete): Add optional `test' and `nilflag' args.
12637         (avl-tree--do-delete): Add `test' and `nilflag' args.
12638         Change return value.
12639         (avl-tree-member): Add optional `nilflag'
12640         (avl-tree-member-p): New function.
12641         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12642         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12643         (avl-tree-stack-empty-p): New functions.
12645         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12646         avl-tree--del-balance1 and make it work both ways.
12647         (avl-tree--del-balance2): Remove.
12648         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12649         make it work both ways.
12650         (avl-tree--enter-balance2): Remove.
12651         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12652         New macros.
12653         (avl-tree--mapc, avl-tree-map): Add direction argument.
12655 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
12657         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12659 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
12661         * select.el: Support clipboard managers with built-in function
12662         x-clipboard-manager-save, via delete-frame-functions and
12663         kill-emacs-hook.
12664         (xselect-convert-to-targets): Add MULTIPLE target to list.
12665         (xselect-convert-to-save-targets): New function.
12667 2011-05-27  Kenichi Handa  <handa@m17n.org>
12669         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12670         let-binding rfc2047-encode-encoded-words to nil.
12672 2011-05-27  Glenn Morris  <rgm@gnu.org>
12674         * mail/emacsbug.el: Don't require url-util.
12676         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
12678         * files.el (set-auto-mode):
12679         Also respect mode: entries at the end of the file.  (Bug#8586)
12681 2011-05-26  Glenn Morris  <rgm@gnu.org>
12683         * files.el (hack-local-variables-prop-line, hack-local-variables):
12684         Downcase mode names, as seems to be traditional.
12685         (hack-local-variables, hack-local-variables-apply): Doc fixes.
12687         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12688         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
12690 2011-05-25  Julien Danjou  <julien@danjou.info>
12692         * textmodes/rst.el (rst-define-level-faces): Do not define face
12693         symbol if it is already defined.
12695 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12697         * play/5x5.el (5x5-new-game, 5x5-randomize):
12698         Reset 5x5-solver-output to nil when a new grid is cast.
12699         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12700         these debugging traces, as defmacro breaks the compiled code.
12702 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
12704         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12706 2011-05-24  Leo Liu  <sdl.web@gmail.com>
12708         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12709         (vc-bzr-sha1): Adapt.
12711         * sha1.el: Remove.  Function `sha1' is now builtin.
12713         * bindings.el: Provide sha1 feature.
12715 2011-05-24  Kenichi Handa  <handa@m17n.org>
12717         * mail/sendmail.el: Require `rfc2047'.
12718         (mail-insert-from-field): Do not perform RFC2047 encoding.
12719         (mail-encode-header): New function.
12720         (sendmail-send-it): Set buffer-file-coding-system of the work
12721         buffer to the return value of select-message-coding-system.
12722         Call mail-encode-header.
12724         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12726 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
12728         * mail/supercite.el (sc-default-cite-frame):
12729         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12731 2011-05-24  Glenn Morris  <rgm@gnu.org>
12733         * progmodes/python.el (brm-menu): Declare.
12735         * emulation/viper.el (viper-set-hooks): Declare.
12737         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12738         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12739         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12740         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12741         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12742         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12744 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12746         Add an :exit-function for completion-at-point.
12748         * minibuffer.el (completion--done): New fun.
12749         (completion--do-completion): Use it.  New arg `expect-exact'.
12750         (minibuffer-complete, minibuffer-complete-word): Don't output message,
12751         since completion--do-completion does it for us now.
12752         (minibuffer-force-complete): Use completion--done and
12753         completion--replace.  Handle sole-completion case with more care.
12754         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12755         (completion-extra-properties): New var.
12756         (completion-annotate-function): Make obsolete.
12757         (minibuffer-completion-help): Adjust accordingly.
12758         Use completion-list-insert-choice-function.
12759         (completion-at-point, completion-help-at-point):
12760         Bind completion-extra-properties.
12761         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12762         * simple.el (completion-list-insert-choice-function): New var.
12763         (completion-setup-function): Preserve it.
12764         (choose-completion): Pay attention to it, shuffle the code a bit.
12765         (choose-completion-string): New arg `insert-function'.
12767         * textmodes/bibtex.el: Convert to lexical binding.
12768         (bibtex-mode-map): Use completion-at-point.
12769         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12770         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12771         (bibtex-complete): Define as obsolete alias.
12772         (bibtex-complete-internal): Remove.
12773         (bibtex-format-entry): Remove unused sub-group in regexp.
12774         * shell.el (shell--command-completion-data)
12775         (shell-environment-variable-completion):
12776         * pcomplete.el (pcomplete-completions-at-point):
12777         * comint.el (comint--complete-file-name-data): Use :exit-function
12778         instead of completion-table-with-terminator so it also works for
12779         choose-completion.
12781 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12783         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12785         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12786         (bug#8710).
12788         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12790 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
12792         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12793         customization variable and implement: If non-nil, auto-fill will
12794         be inhibited while on topic's header line.
12796 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12798         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12799         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
12800         always have a solution in grid size = 5 cases.
12801         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12802         (5x5-solver-output, 5x5-log-buffer): New vars.
12803         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12804         Make these variables buffer local to achieve 5x5 multi-session-ness.
12805         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12806         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12807         (5x5-solve-suggest): New funs.
12808         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12809         randomize a grid so that we ensure that there is always a solution.
12810         (5x5-make-random-grid): Allow other movement than flipping.
12812 2011-05-23  Kevin Ryde  <user42@zip.com.au>
12814         * emacs-lisp/advice.el (ad-read-advised-function):
12815         Use `function-called-at-point' as the default, if it has
12816         advice and passes PREDICATE.
12818 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12820         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12821         byte-compile-lambda if it's actually a lambda.
12823         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12824         Fix function quoting.  Use backquote better.
12826 2011-05-22  Yuanle Song  <sylecn@gmail.com>
12828         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12829         matching (Bug#8516).
12831 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
12833         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12834         different face (Bug#8178).
12836 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
12838         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12839         defface (Bug#8144).
12841 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12843         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12844         funcall as well (bug#8712).  Warn when performing those conversions.
12845         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12847         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12849 2011-05-22  Glenn Morris  <rgm@gnu.org>
12851         * files.el (hack-local-variables-prop-line): Small simplifications.
12852         (hack-local-variables, hack-local-variables-prop-line):
12853         If MODE-ONLY, return the mode, rather than just `t'.
12855 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12857         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12859 2011-05-21  Glenn Morris  <rgm@gnu.org>
12861         * files.el (hack-local-variables-prop-line, hack-local-variables):
12862         If only interested in the mode, don't bother doing the other stuff.
12864         * image-mode.el (image-after-revert-hook):
12865         Redraw all frames on which the image is visible.  (Bug#8567)
12867         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
12869         * wid-edit.el (widget-checklist-match-inline):
12870         Fix 2011-04-19 change.  (Bug#8649)
12872 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12874         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12875         Also allow singlespace after single-letter capitals followed by a dot.
12877         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12878         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12880 2011-05-20  Nix  <nix@esperi.org.uk>
12882         * files.el (basic-save-buffer-2):
12883         Fix handling of break-hardlink-on-save with non-existent files.
12885 2011-05-19  Deniz Dogan  <deniz@dogan.se>
12887         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12888         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12890 2011-05-19  Glenn Morris  <rgm@gnu.org>
12892         * progmodes/f90.el (f90-type-def-re):
12893         Handle "type, bind(c)".  (Bug#8691)
12895         * emacs-lisp/autoload.el (batch-update-autoloads):
12896         Set autoload-excludes by parsing loadup.el rather than Makefiles.
12898 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
12900         * net/tramp.el (tramp-process-actions): Set "first-password-request"
12901         property for the correct connection in case of multihops.
12903 2011-05-18  Glenn Morris  <rgm@gnu.org>
12905         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12906         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12908         Rationalize calendar handling of day and month abbrev-arrays.
12909         * calendar/calendar.el (calendar-customized-p): New function.
12910         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12911         (calendar-day-name-array, calendar-month-name-array): Doc fix.
12912         Add :set function.
12913         (calendar-abbrev-length, calendar-day-abbrev-array)
12914         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12915         (calendar-day-abbrev-array, calendar-month-abbrev-array):
12916         Elements may no longer be nil.
12917         (calendar-day-name, calendar-month-name):
12918         Update for changed nature of abbrev arrays.
12919         * calendar/diary-lib.el (diary-name-pattern):
12920         Update for changed nature of abbrev arrays.
12921         (diary-mark-entries-1): Update calendar-make-alist calls.
12922         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12923         * calendar/cal-html.el (cal-html-day-abbrev-array):
12924         Simply inherit from calendar-day-abbrev-array.
12926 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12928         * progmodes/grep.el (grep-mode): Disable default
12929         compilation-directory-matcher setting (bug#8684).
12931 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
12933         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12934         instead of "head" and "tail".  There were problems with SunOS 5.9,
12935         and it performs better.
12937 2011-05-17  Glenn Morris  <rgm@gnu.org>
12939         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12941         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12942         Replace obsolete function.
12944         * shell.el (pcomplete-parse-arguments-function): Declare.
12946         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12947         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12948         (appt-check): Doc fixes.
12949         (appt-disp-window-function, appt-delete-window-function):
12950         Remove needless special case in custom :type.
12951         (appt-display-count): Default to 0, not nil.
12952         (appt-check): Reset appt-display-count to 0, not nil.
12954 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
12956         * progmodes/python.el (python-font-lock-keywords):
12957         Add the Python 3.X keyword "nonlocal" (bug#8639).
12959 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12961         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12963 2011-05-16  Kevin Ryde  <user42@zip.com.au>
12965         * info-look.el (makefile-automake-mode): New setups, looking in
12966         automake manual, then makefile-mode.
12967         (makefile-mode): Remove automake manual, have it just in
12968         makefile-automake-mode since there's various things different or
12969         not relevant to plain make.
12970         (makefile-mode): Remove "other-modes" non-existent automake-mode,
12971         believe a hypothetical automake-mode would go to makefile-mode,
12972         not the other way around.
12974 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
12976         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12977         hunk-end tags (Bug#8672).
12979         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12980         vc-annotate-show-diff-revision-at-line (Bug#8671).
12982 2011-05-14  Glenn Morris  <rgm@gnu.org>
12984         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12985         in the middle of an existing one with multiple authors.  (Bug#8645)
12986         (change-log-font-lock-keywords): Also handle multiple author lines
12987         with leading tabs.  (Bug#8644)
12989         * calendar/appt.el (appt-check): Rename some local variables.
12990         Some simplification/reordering.
12992         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12993         (feedmail-sendmail-f-doesnt-sell-me-out)
12994         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12995         (feedmail-debug-sit-for, feedmail-queue-express-hook)
12996         (feedmail-queue-runner-message-sender): Set :version.
12997         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12998         (bbdb-dwim-net-address, vm-mail): Declare.
12999         (feedmail-binmail-gnulinuxish-template):
13000         Rename from feedmail-binmail-linuxish-template.
13001         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13002         Use insert-buffer-substring.
13004 2011-05-14  Bill Carpenter  <bill@carpenter.org>
13006         * mail/feedmail.el (feedmail-patch-level): Increase.
13007         (feedmail-debug): New custom group.
13008         (feedmail-confirm-outgoing-timeout)
13009         (feedmail-sendmail-f-doesnt-sell-me-out)
13010         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13011         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13012         (feedmail-sender-line, feedmail-from-line)
13013         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13014         (feedmail-spray-this-address)
13015         (feedmail-spray-address-fiddle-plex-list)
13016         (feedmail-queue-use-send-time-for-date)
13017         (feedmail-queue-use-send-time-for-message-id)
13018         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13019         (feedmail-buffer-eating-function):
13020         Doc fixes.
13021         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13022         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13023         (feedmail-message-action-scroll-down): New functions.
13024         (feedmail-queue-directory, feedmail-queue-draft-directory):
13025         Use expand-file-name.
13026         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13027         Remove C-v help entry.
13028         (feedmail-queue-buffer-file-name): New variable.
13029         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13030         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13031         (feedmail-message-action-send-strong, feedmail-message-action-edit)
13032         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13033         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13034         (feedmail-message-action-toggle-spray)
13035         (feedmail-run-the-queue-no-prompts)
13036         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13037         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13038         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13039         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13040         (feedmail-envelope-deducer, feedmail-fiddle-from)
13041         (feedmail-fiddle-sender, feedmail-default-date-generator)
13042         (feedmail-fiddle-date, feedmail-fiddle-message-id)
13043         (feedmail-fiddle-spray-address)
13044         (feedmail-fiddle-list-of-spray-fiddle-plexes)
13045         (feedmail-fiddle-list-of-fiddle-plexes)
13046         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13047         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13048         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13049         Change default.  Doc fix.
13050         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13051         (feedmail-binmail-linuxish-template): New constant.
13052         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
13053         Respect feedmail-sendmail-f-doesnt-sell-me-out.
13054         (feedmail-send-it): Add debug call.
13055         Use feedmail-queue-buffer-file-name, and
13056         feedmail-send-it-immediately-wrapper.
13057         (feedmail-message-action-send): Add debug call.
13058         Use feedmail-send-it-immediately-wrapper.
13059         (feedmail-queue-express-to-queue): Add debug call.
13060         Run feedmail-queue-express-hook.
13061         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
13062         (feedmail-message-action-help-blat):
13063         Rename from feedmail-queue-send-edit-prompt-help-first.
13064         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
13065         Check line-endings.  Handle errors better.
13066         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13067         Doc fix.  Add debug call.
13068         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
13069         Use feedmail-queue-send-edit-prompt-inner.
13070         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13071         (feedmail-queue-send-edit-prompt-inner): New function, extracted
13072         from feedmail-queue-send-edit-prompt.
13073         (feedmail-queue-send-edit-prompt-help)
13074         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13075         (feedmail-tidy-up-slug): Add debug call.
13076         Respect feedmail-queue-slug-suspect-regexp.
13077         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13078         (feedmail-dump-message-to-queue): Add debug call.
13079         Expand queue-directory.
13080         (feedmail-dump-message-to-queue): Change message slightly.
13081         Use feedmail-say-chatter.
13082         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
13083         (feedmail-send-it-immediately-wrapper): New function.
13084         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
13085         Insert empty string rather than newline.  Handle full-frame case.
13086         Use catch/throw.  Use feedmail-say-chatter.
13087         (feedmail-fiddle-from): Try mail-host-address.
13088         (feedmail-default-message-id-generator): Doc fix.
13089         Bind system-time-locale.  Handle missing end.
13090         (feedmail-fiddle-x-mailer): Add debug call.
13091         Handle feedmail-x-mailer-line being nil.
13092         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13093         Add debug call.  Use buffer-substring-no-properties.
13094         (feedmail-say-debug, feedmail-say-chatter): New functions.
13095         (feedmail-find-eoh): Give an explicit error.
13097 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
13099         * net/newst-treeview.el (newsticker-treeview-face): Change default
13100         family from helvetica to sans.
13101         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13102         etc/images/newsticker.
13104         * net/newst-reader.el (newsticker-feed-face): Change default
13105         family from helvetica to sans.
13107         * net/newst-plainview.el (newsticker-new-item-face)
13108         (newsticker-old-item-face, newsticker-immortal-item-face)
13109         (newsticker-obsolete-item-face, newsticker-date-face)
13110         (newsticker-statistics-face): Change default family from
13111         helvetica to sans.
13112         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13113         etc/images/newsticker.
13115         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13116         (newsticker--process-auto-mark-filter-match): Tell user about
13117         auto-marking.
13119 2011-05-13  Didier Verna  <didier@xemacs.org>
13121         Common Lisp indentation improvements on defmethod and lambda-lists.
13122         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13123         TODO entries.
13124         (lisp-lambda-list-keyword-parameter-indentation)
13125         (lisp-lambda-list-keyword-parameter-alignment)
13126         (lisp-lambda-list-keyword-alignment): New customizable user options.
13127         (lisp-indent-defun-method): Improve docstring.
13128         (extended-loop-p): Fix comment.
13129         (lisp-indent-lambda-list-keywords-regexp): New variable.
13130         (lisp-indent-lambda-list): New function.
13131         (lisp-indent-259): Use it.
13132         (lisp-indent-defmethod): Support for more than one
13133         method qualifier and properly indent methods lambda-lists.
13134         (defgeneric): Provide a missing common-lisp-indent-function property.
13136 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13138         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13139         bounds for the empty string (bug#8667).
13141 2011-05-13  Glenn Morris  <rgm@gnu.org>
13143         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13145         * mail/sendmail.el (sendmail-program): Try executable-find first.
13146         (sendmail-send-it): `sendmail-program' cannot be unbound.
13148         * calendar/appt.el (appt-make-list): Simplify.
13149         (appt-time-msg-list): Doc fix.
13150         (appt-check): Change mode-line message at the time of the appointment.
13152 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13154         * progmodes/ld-script.el (ld-script-keywords)
13155         (ld-script-builtins): Update keywords list.
13157 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13159         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13161         * shell.el (shell-completion-vars): New function.
13162         (shell-mode):
13163         * simple.el (read-shell-command): Use it.
13164         (blink-matching-open): No need for " [...]" in minibuffer-message.
13166 2011-05-12  Glenn Morris  <rgm@gnu.org>
13168         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13169         (appt-check): Simplify.
13171 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
13173         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13174         literal "/dev/null".
13176 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13178         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13179         Fix typo.
13181 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
13183         * progmodes/which-func.el (which-function):
13184         Use add-log-current-defun instead of add-log-current-defun-function,
13185         which might not be defined (Bug#8260).
13187 2011-05-12  Glenn Morris  <rgm@gnu.org>
13189         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13190         Let byte-compile-initial-macro-environment always take precedence.
13192 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13194         * net/rcirc.el: Add support for SSL/TLS connections.
13195         (rcirc-server-alist): New field `encryption'.
13196         (rcirc): Check `encryption' settings.
13197         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
13198         Merge make-local-variable into `set'.
13199         (rcirc--connection-open-p): New function.
13200         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13201         the process is not a network process (e.g. running gnutls-cli).
13202         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13203         Make rcirc-(en|de)code-coding-system local here.
13204         (rcirc-mode): Merge make-local-variable into `set'.
13205         (rcirc-parent-buffer): Make permanent buffer-local.
13206         (rcirc-multiline-minor-mode): Don't do it here.
13207         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13208         there's no server buffer.
13210 2011-05-11  Glenn Morris  <rgm@gnu.org>
13212         * newcomment.el (comment-kill): Prefix "unused" local.
13214         * term/w32console.el (get-screen-color): Declare.
13216         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13217         Handle symbol elements of byte-compile-initial-macro-environment.
13219 2011-05-10  Leo Liu  <sdl.web@gmail.com>
13221         * bookmark.el (bookmark-bmenu-mode-map):
13222         Bind bookmark-bmenu-search to `/'.
13224         * mail/footnote.el: Convert to utf-8 encoding.
13225         (footnote-unicode-string, footnote-unicode-regexp): New variable.
13226         (Footnote-unicode): New function.
13227         (footnote-style-alist): Add unicode style to the list.
13228         (footnote-style): Doc fix.
13230 2011-05-10  Jim Meyering  <meyering@redhat.com>
13232         Fix doubled-word typos.
13233         * international/quail.el (quail-insert-kbd-layout): and and -> and
13234         * kermit.el: and and -> and
13235         * net/ldap.el (ldap-search-internal): to to -> to
13236         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13237         * progmodes/js.el (js-mode): and and -> and
13238         * textmodes/artist.el (artist-move-to-xy): at at -> at
13239         (artist-draw-region-trim-line-endings): if if -> if
13240         And Safetyc -> Safety.
13241         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13243 2011-05-10  Glenn Morris  <rgm@gnu.org>
13244             Stefan Monnier  <monnier@iro.umontreal.ca>
13246         * files.el (hack-one-local-variable-eval-safep):
13247         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
13249 2011-05-10  Glenn Morris  <rgm@gnu.org>
13251         * calendar/diary-lib.el (diary-list-entries-hook)
13252         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13253         (diary-nongregorian-marking-hook, diary-list-entries)
13254         (diary-include-other-diary-files, diary-mark-entries)
13255         (diary-mark-included-diary-files): Doc fixes.
13257 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
13259         * misc.el: Require tabulated-list.el during compilation.
13261 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
13263         * progmodes/compile.el (compilation-start):
13264         Run compilation-filter-hook for the async case too.
13265         (compilation-filter-hook): Doc fix.
13267 2011-05-09  Deniz Dogan  <deniz@dogan.se>
13269         * wdired.el: Remove outdated installation comment.  Fix usage
13270         comment.
13272 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
13274         * misc.el: Implement new command `list-dynamic-libraries'.
13275         (list-dynamic-libraries--loaded-only-p): New variable.
13276         (list-dynamic-libraries--refresh): New function.
13277         (list-dynamic-libraries): New command.
13279 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
13281         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13282         Fix the ant regexp to handle end-line and end-column info from jikes.
13283         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
13284         higher priority to avoid clobbering by gnu.
13286 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
13288         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13289         if the face has existing theme settings (Bug#8454).
13291 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
13293         * progmodes/perl-mode.el (perl-imenu-generic-expression):
13294         Only match variables declared via `my' or `our' (Bug#8261).
13296         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13297         special file names `.' and `..' (Bug#8259).
13299 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
13301         * progmodes/grep.el (grep-mode-font-lock-keywords):
13302         Remove buffer-changing entries.
13303         (grep-filter): New function.
13304         (grep-mode): Add it to compilation-filter-hook.
13306         * progmodes/compile.el (compilation-filter-hook)
13307         (compilation-filter-start): New defvars.
13308         (compilation-filter): Call compilation-filter-hook prior to
13309         updating the process mark.
13311 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13313         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13315 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
13317         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13318         mailclient-send-it even if window-system is nil.  (Bug#8595)
13320         * term/w32console.el (terminal-init-w32console):
13321         Call get-screen-color and use its output to set the frame
13322         background-mode.  (Bug#8597)
13324 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13326         Make bytecomp.el understand that defmethod defines funs (bug#8631).
13327         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13328         New functions.
13329         (defgeneric, eieio--defmethod): Use them.
13330         (eieio-defgeneric): Remove.
13331         (defmethod): Call defgeneric in a way visible to the byte-compiler.
13333 2011-05-07  Glenn Morris  <rgm@gnu.org>
13335         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13336         Use let rather than let*.
13337         (timeclock-find-discrep): Remove unused local.
13339         * calendar/diary-lib.el (diary-comment-start): Doc fix.
13341         * calendar/appt.el (appt-time-msg-list): Doc fix.
13343 2011-05-06  Noah Friedman  <friedman@splode.com>
13345         * apropos.el (apropos-print-doc): Only use
13346         emacs-lisp-docstring-fill-column when it is bound to an integer,
13347         per that variable's documentation.
13349 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13351         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13352         and warnings are not silently discarded (e.g. use -d instead of -P).
13354 2011-05-06  Glenn Morris  <rgm@gnu.org>
13356         * calendar/appt.el (appt-message-warning-time): Doc fix.
13357         (appt-warning-time-regexp): New option.
13358         (appt-make-list): Respect appt-message-warning-time.
13360         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13361         New options.
13362         (diary-add-to-list): Strip comments from the displayed string.
13363         (diary-mode): Set comment-start and comment-end.
13365         * vc/diff-mode.el (smerge-refine-subst): Declare.
13366         (diff-refine-hunk): Don't require smerge-mode when compiling.
13368 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
13370         * simple.el (list-processes): Return nil as the docstring says.
13372 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
13374         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13375         to "".
13376         (ange-ftp-write-region, ange-ftp-insert-file-contents)
13377         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13378         determining of binary transfer.  (Bug#7383)
13380 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
13382         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13383         Fix port computation bug.  (Bug#8618)
13385 2011-05-05  Glenn Morris  <rgm@gnu.org>
13387         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13389         * simple.el (shell-dynamic-complete-functions)
13390         (comint-dynamic-complete-functions): Declare.
13392         * net/network-stream.el (gnutls-negotiate):
13393         * simple.el (tabulated-list-print): Fix declarations.
13395         * progmodes/gud.el (syntax-symbol, syntax-point):
13396         Remove unnecessary and incorrect declarations.
13398         * emacs-lisp/check-declare.el (check-declare-scan):
13399         Handle byte-compile-initial-macro-environment in bytecomp.el
13401 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13403         Fix earlier half-done eieio-defmethod change (bug#8338).
13404         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13405         Streamline and change calling convention.
13406         (defmethod): Adjust accordingly and simplify.
13407         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13408         new eieio--defmethod.
13409         (slot-boundp): Minor CSE simplification.
13411 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
13413         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13414         (glasses-make-readable): Use glasses-separate-capital-groups.
13416 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
13418         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13419         (warning-series): Doc fix.
13420         (display-warning): Don't try to create the buffer if we just found it.
13422 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
13424         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13425         (autoload-find-generated-file): New function.
13426         (generate-file-autoloads): Bind generated-autoload-file to
13427         buffer-file-name.
13428         (update-file-autoloads, update-directory-autoloads):
13429         Use autoload-find-generated-file.  If called interactively, prompt for
13430         output file (Bug#7989).
13431         (batch-update-autoloads): Doc fix.
13433 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
13435         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13437 2011-05-04  Glenn Morris  <rgm@gnu.org>
13439         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13440         function, so it follows changes in calendar-date-style.
13441         (diary-fancy-date-matcher): New function.
13442         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13443         (diary-fancy-font-lock-fontify-region-function):
13444         Use diary-fancy-date-pattern as a function.
13446         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13447         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
13449 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
13451         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13452         instead of positional arguments.  Allow :keylist and :crlfiles
13453         arguments.
13454         (open-gnutls-stream): Call it.
13456         * net/network-stream.el (network-stream-open-starttls): Adjust to
13457         call `gnutls-negotiate' with :process and :hostname arguments.
13459 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13461         * minibuffer.el (completion--message): New function.
13462         (completion--do-completion, minibuffer-complete)
13463         (minibuffer-force-complete, minibuffer-complete-word): Use it.
13464         (completion--do-completion): Don't ignore completion-auto-help when in
13465         icomplete-mode.
13467         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13468         internal encoding (e.g. tibetan zero is not whitespace).
13469         (global-whitespace-mode): Prefer save-current-buffer.
13470         (whitespace-trailing-regexp): Remove useless save-match-data.
13471         (whitespace-empty-at-bob-regexp): Minor simplification.
13473 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
13475         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13477 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13479         * textmodes/ispell.el (ispell-add-per-file-word-list):
13480         Use `concat' to create string for insertion.
13482 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13484         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13485         Avoid open-line which runs post-self-insert-hook.
13486         (bibtex-fill-entry): Remove unused `end' var.
13488 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
13490         * textmodes/ispell.el (ispell-add-per-file-word-list):
13491         Protect against `nil' value of `comment-start' (Bug#8579).
13493 2011-05-03  Leo Liu  <sdl.web@gmail.com>
13495         * isearch.el (isearch-yank-pop): New command.
13496         (isearch-mode-map): Bind it to `M-y'.
13497         (isearch-forward): Mention it.
13499 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13501         * simple.el (minibuffer-complete-shell-command): Remove.
13502         (minibuffer-local-shell-command-map): Use completion-at-point.
13503         (read-shell-command): Setup completion vars here instead.
13504         (read-expression-map): Bind TAB to symbol completion.
13506         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13507         error directly rather via storing it into `results'.
13509 2011-05-02  Leo Liu  <sdl.web@gmail.com>
13511         * vc/diff.el: Fix description.
13513 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13515         * server.el (server-eval-at): New function.
13517 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13519         * net/network-stream.el (open-network-stream): Take a :nowait
13520         parameter and pass it on to `make-network-process'.
13521         (network-stream-open-plain): Ditto.
13523 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13525         * faces.el (face-spec-set-match-display): Don't match toolkit
13526         options on terminal frames.
13528 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13530         * progmodes/pascal.el: Use lexical binding.
13531         (pascal-mode-map): Remove author preferences.
13533         * pcomplete.el (pcomplete-std-complete): Don't abuse
13534         completion-at-point.
13536 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
13538         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13539         removing code that has been dead since 1991 or so.
13541         * startup.el (command-line): When warning about "_emacs", use a
13542         delayed warning to allow the user to filter it out.
13544 2011-04-28  Deniz Dogan  <deniz@dogan.se>
13546         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13547         user has not joined.
13549 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13551         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13552         aren't any completions at point.
13554 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
13556         * subr.el (display-delayed-warnings): New function.
13557         (delayed-warnings-hook): New variable.
13559 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13561         * minibuffer.el (completion-at-point, completion-help-at-point):
13562         Don't presume that a given completion-at-point-function will always
13563         use the same calling convention.
13565         * pcomplete.el (pcomplete-completions-at-point):
13566         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
13567         pcomplete-seen is non-nil.
13568         (pcomplete-comint-setup): Also recognize the new comint/shell
13569         completion functions.
13570         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13571         pcomplete-seen is non-nil.
13573 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
13575         * calendar/icalendar.el (diary-lib): Add require statement.
13576         (icalendar--create-uid): Read out a uid from a text-property on
13577         the first character in the entry.  This allows for code to add its
13578         own uid to the entry.
13579         (icalendar--convert-float-to-ical): Add export of
13580         `diary-float'-entries save for those with the optional DAY
13581         argument.
13583 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
13585         * subr.el (shell-quote-argument): Use alternate escaping strategy
13586         when we spot a variable reference in a string.
13588 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
13590         * cus-start.el (all): Define customization for debug-on-event.
13592 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
13594         * subr.el (shell-quote-argument): Escape correctly under Windows.
13596 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13598         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13600 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
13602         * net/tramp.el (tramp-process-actions): Add POS argument.
13603         Delete region between POS and (pos).
13605         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13606         Use `nil' position in `tramp-process-actions' call.
13607         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13609         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13610         position in `tramp-process-actions' call.
13612         * net/trampver.el: Update release number.
13614 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13616         * custom.el (defcustom): Obey lexical-binding.
13618         Fix octave-inf completion problems reported by Alexander Klimov.
13619         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13620         Inherit from octave-mode-syntax-table.
13621         (inferior-octave-mode): Set info-lookup-mode.
13622         (inferior-octave-completion-at-point): New function.
13623         (inferior-octave-complete): Use it and completion-in-region.
13624         (inferior-octave-dynamic-complete-functions): Use it as well, and use
13625         comint-filename-completion.
13626         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13627         symbol elements which shouldn't be word elements.
13628         (octave-font-lock-keywords, octave-beginning-of-defun)
13629         (octave-function-header-regexp): Adjust regexps accordingly.
13630         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13632 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
13634         * net/gnutls.el (gnutls-errorp): Declare before first use.
13636 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
13638         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13639         verify-error, and verify-hostname-error parameters.  Check whether
13640         default trustfile exists before going to use it.  Add missing
13641         argument to gnutls-message-maybe call.  Return value.
13642         Reported by Claudio Bley <claudio.bley@gmail.com>.
13643         (open-gnutls-stream): Add usage example.
13645         * net/network-stream.el (network-stream-open-starttls): Give host
13646         parameter to `gnutls-negotiate'.
13647         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13648         * subr.el (shell-quote-argument): Escape correctly under Windows.
13650 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
13652         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13653         Use correct match group (bug#8438).
13655 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
13657         * emacs-lisp/package.el (package-built-in-p): Fix typo.
13658         (package-menu--generate): New arg specifying packages to show.
13659         (package-menu-refresh, package-menu-execute, list-packages):
13660         Callers changed.
13661         (package-show-package-list): New function, replacing deleted
13662         package--list-packages (renamed because it is non-internal).
13664         * finder.el (finder-list-matches): Use package-show-package-list
13665         instead of deleted package--list-packages.
13667         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13668         Based on a previous implementation by Juanma Barranquero (Bug#8366).
13669         (vc-annotate-mode-map): Bind it to RET.
13671 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
13673         * progmodes/etags.el (next-file): Don't use set-buffer to change
13674         buffers (Bug#8478).
13676 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
13678         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13680         * apropos.el (apropos-label-face): Avoid variable-pitch face.
13681         (apropos-accumulator): Doc fix.
13682         (apropos-function, apropos-macro, apropos-command)
13683         (apropos-variable, apropos-face, apropos-group, apropos-widget)
13684         (apropos-plist): Add face property.
13685         (apropos-symbols-internal): Fix indentation.
13686         (apropos-print): Simplify help, and recognize apropos-multi-type.
13687         (apropos-print-doc): Use button-type-get to extract the button's
13688         face property.  Fill docstring (Bug#8352).
13690 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
13692         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13694         * play/mpuz.el (mpuz-silent): Doc fix.
13695         (mpuz-mode-map): Use mapc.
13696         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13697         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13698         Fix typos in docstrings.
13700         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13701         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13703         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13705 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
13707         * minibuffer.el (completion--do-completion): Avoid the "Next char
13708         not unique" prompt if icomplete-mode is enabled (Bug#5849).
13710         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13711         mouse-2 into unread-command-events, it is interpreted correctly.
13713         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13714         (image-toggle-display): Doc fix.
13716 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
13718         * textmodes/page.el (what-page): Use line-number-at-pos to
13719         calculate line number (Bug#6825).
13721 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
13723         * eshell/esh-mode.el (find-tag-interactive): Declare function.
13724         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13725         Pass argument NO-DEFAULT to `find-tag-interactive'.
13727 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
13729         Lexical-binding cleanup.
13731         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13732         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13733         * progmodes/ada-prj.el (ada-prj-initialize-values)
13734         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13735         (ada-prj-show-value):
13736         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13737         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13738         (antlr-invalidate-context-cache, antlr-options-menu-filter)
13739         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13740         * progmodes/bug-reference.el (bug-reference-push-button):
13741         * progmodes/fortran.el (fortran-line-length):
13742         * progmodes/glasses.el (glasses-change):
13743         * progmodes/octave-mod.el (octave-fill-paragraph):
13744         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13745         (python-pdbtrack-grub-for-buffer, python-sentinel):
13746         * progmodes/sql.el (sql-save-connection):
13747         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13748         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13749         Mark unused parameters.
13751         * progmodes/compile.el (compilation--flush-directory-cache)
13752         (compilation--flush-parse, compile-internal): Mark unused parameters.
13753         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13754         (compilation-next-error-function): Remove unused variable `timestamp'.
13756         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13757         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13759         * progmodes/dcl-mode.el (dcl-end-of-command):
13760         Remove unused variable `start'.
13761         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13762         (dcl-option-value-basic, dcl-option-value-offset)
13763         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13764         Mark unused parameters.
13765         (dcl-save-local-variable): Remove unused variable `val'.
13766         (mode): Declare.
13768         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13769         Mark unused parameters.
13770         (delphi-ignore-changes): Move before first use.
13771         (delphi-charset-token-at): Remove unused variable `start'.
13772         (delphi-else-start): Remove unused variable `if-count'.
13773         (delphi-comment-block-start, delphi-comment-block-end):
13774         Remove unused variable `kind'.
13775         (delphi-indent-line): Remove unused variable `new-point'.
13777         * progmodes/ebrowse.el (ebrowse-files-list)
13778         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13779         Mark unused parameters.  Don't quote `lambda'.
13780         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13781         Don't quote `lambda'.
13782         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13783         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13784         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13785         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13786         Use `ignore-errors'.
13787         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13788         (ebrowse-view/find-file-and-search-pattern)
13789         (ebrowse-view/find-member-declaration/definition):
13790         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13791         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13792         Rename parameter PREFIX-ARG to PREFIX.
13793         (ebrowse-tags-read-name): Remove unused variables `start' and
13794         `member-info'.
13795         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13796         to `tags-file'.
13798         * progmodes/etags.el (local-find-tag-hook): Declare.
13799         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13800         Mark unused parameters.
13802         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13803         (executable-interpret): Mark unused parameter.
13805         * progmodes/flymake.el (flymake-process-sentinel)
13806         (flymake-after-change-function)
13807         (flymake-create-temp-with-folder-structure)
13808         (flymake-get-include-dirs-dot): Mark unused parameters.
13809         (flymake-safe-delete-directory): Remove unused variable `err'.
13811         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13812         (speedbar-timer-fn, speedbar-line-text)
13813         (speedbar-change-expand-button-char, speedbar-delete-subblock)
13814         (speedbar-center-buffer-smartly): Declare functions.
13815         (gdb-find-watch-expression): Remove unused variable `array'.
13816         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13817         (gdb-starting): Mark unused parameters.
13818         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13819         (gdb-table-string): Remove unused variable `res'.
13820         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13821         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13822         (gdb-display-buffer): Remove unused variable `cur-size'.
13824         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13825         allow lexical-binding compilation.
13826         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13827         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13828         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13829         Mark unused parameters.
13830         (gud-gdb-marker-filter): Remove unused variable `match'.
13831         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13832         lambda expressions and funcall them, instead of using `fset'.
13834         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13835         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13837         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13838         variable `header-beg'; use `let'.
13840         * progmodes/icon.el (indent-icon-exp): Remove unused variables
13841         `restart', `last-sexp' and `at-do'.
13843         * progmodes/js.el (js--debug): Mark unused parameter.
13844         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13845         (js--splice-into-items): Remove unused variable `item'.
13846         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13848         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13849         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13850         (makefile-complete): Remove unused variable `try'.
13851         (makefile-fill-paragraph, makefile-match-function-end):
13852         Mark unused parameters.
13854         * progmodes/octave-inf.el (inferior-octave-complete):
13855         Remove unused variable `proc'.
13856         (inferior-octave-output-digest): Mark unused parameter.
13858         * progmodes/perl-mode.el (perl-calculate-indent):
13859         Remove unused variable `err'.
13861         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13862         (prolog-indent-line): Mark unused parameters.
13863         (prolog-indent-line): Remove unused variable `beg'.
13865         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13866         (reporter-dont-compact-list): Declare.
13868         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13869         Remove unused variable `char'.
13870         (sh-debug): Mark unused parameter.
13871         (sh-get-indent-info): Remove unused variable `start'.
13872         (sh-calculate-indent): Remove unused variable `var'.
13874         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13875         (simula-electric-keyword): Remove unused variable `null'.
13876         (simula-search-backward, simula-search-forward): Remove unused
13877         variables `begin' and `end'.
13879         * progmodes/vera-mode.el (vera-guess-basic-syntax):
13880         Remove unused variable `pos'.
13881         (vera-electric-tab, vera-comment-uncomment-region):
13882         Mark unused parameters.
13883         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13885 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
13887         * emacs-lisp/package.el (package--builtins, package-alist)
13888         (package-load-descriptor, package-built-in-p, package-activate)
13889         (define-package, package-installed-p)
13890         (package-compute-transaction, package-buffer-info)
13891         (package--push): Doc fix.  Distinguish more clearly between
13892         version strings and version lists.
13894 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
13896         Lexical-binding cleanup.
13898         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13899         (5x5-make-mutate-best):
13900         * play/fortune.el (fortune-in-buffer):
13901         * play/gomoku.el (gomoku-init-display):
13902         * play/solitaire.el (solitaire, solitaire-do-check):
13903         * play/tetris.el (tetris-default-update-speed-function):
13904         Mark unused parameters.
13906         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13907         (bubbles--shift): Remove unused variable `char-org'.
13908         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
13909         (bubbles--show-images): Remove unused variable `char'.
13911         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13912         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13913         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13914         (decipher-analyze-buffer): Use ?\s.
13915         (decipher-make-checkpoint): Remove unused variable `mapping'.
13917         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13919         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13920         Remove unused variable `result'; use `let'.
13922         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13923         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13924         (gametree-children-shown-p, gametree-compute-reduced-score):
13925         Use `ignore-errors'.
13927         * play/handwrite.el (ps-lpr-switches): Declare.
13928         (handwrite): Remove unused variables `pmin' and `lastp'.
13930         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13932         * play/landmark.el (landmark-init-display)
13933         (landmark-update-naught-weights): Mark unused parameters.
13934         (landmark-y): Remove unused variable `noise'.  Simplify.
13935         (landmark-human-plays): Remove unused variable `score'.
13937         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13938         (mpuz-try-proposal): Remove unused variable `game'.
13940         * play/zone.el (life-patterns): Declare.
13942 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
13944         * vc/vc.el (ediff-vc-internal): Declare function.
13946 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13948         * shell.el: Use lexical-binding and std completion UI.
13949         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13950         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13951         comint-preoutput-filter-functions rather than on
13952         comint-output-filter-functions.
13953         (shell-command-completion, shell--command-completion-data)
13954         (shell-filename-completion, shell-environment-variable-completion)
13955         (shell-c-a-p-replace-by-expanded-directory): New functions.
13956         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13957         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13958         (shell-dynamic-complete-environment-variable): Use them.
13959         (shell-dynamic-complete-as-environment-variable)
13960         (shell-dynamic-complete-as-command): Remove.
13961         (shell-match-partial-variable): Match past point.
13962         * comint.el: Clean up use of completion-at-point-functions.
13963         (comint-completion-at-point): New function.
13964         (comint-mode): Use it completion-at-point-functions.
13965         (comint-dynamic-complete): Make it obsolete.
13966         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13967         (comint-c-a-p-replace-by-expanded-history): New function.
13968         (comint-dynamic-complete-functions)
13969         (comint-replace-by-expanded-history): Use it.
13970         * minibuffer.el (completion-table-with-terminator): Allow dynamic
13971         termination strings.  Try harder to avoid second try-completion.
13972         (completion-in-region-mode-map): Disable bindings that don't work yet.
13974         * comint.el: Use lexical-binding.  Require CL.
13975         (comint-dynamic-complete-functions): Use comint-filename-completion.
13976         (comint-completion-addsuffix): Tweak custom type.
13977         (comint-filename-completion, comint--common-suffix)
13978         (comint--common-quoted-suffix, comint--table-subvert)
13979         (comint--complete-file-name-data): New functions.
13980         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13981         (comint-dynamic-list-filename-completions): Use them.
13982         (comint-dynamic-simple-complete): Make obsolete.
13984         * minibuffer.el (completion-in-region-mode):
13985         Keep completion-in-region-mode--predicate global.
13986         (completion-in-region--postch):
13987         Assume completion-in-region-mode--predicate is not null.
13989         * progmodes/flymake.el (flymake-start-syntax-check-process):
13990         Obey `dir'.  Simplify.
13992         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13993         we're in VC after all.
13995 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
13997         * vc/vc.el (vc-diff-build-argument-list-internal)
13998         (vc-version-ediff, vc-ediff): New commands.
13999         (vc-version-diff): Use vc-diff-build-argument-list-internal.
14001 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14003         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14004         add sanity check.
14006         * obsolete/erc-hecomplete.el: Make obsolete.
14007         * obsolete/: Standardize obsolescence info in the header.
14009 2011-04-20  Glenn Morris  <rgm@gnu.org>
14011         * calendar/solar.el (solar-horizontal-coordinates):
14012         Use the longitude argument rather than `calendar-longitude'.
14013         (solar-date-next-longitude): Remove unused locals.
14015 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14017         * whitespace.el: New version 13.2.1.
14019 2011-04-20  felix  <EmacsWiki>  (tiny change)
14021         * whitespace.el (global-whitespace-mode): Keep highlight when
14022         switching between major modes on a file.
14024 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14026         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14027         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14028         multi-line comments as well.
14030 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
14032         Lexical-binding cleanup.
14034         * arc-mode.el (archive-mode-revert):
14035         * cmuscheme.el (scheme-interactively-start-process):
14036         * custom.el (custom-initialize-delay):
14037         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14038         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14039         * emacs-lock.el (emacs-lock-clear-sentinel):
14040         * ezimage.el (defezimage):
14041         * follow.el (follow-avoid-tail-recenter):
14042         * fringe.el (set-fringe-mode-1):
14043         * generic-x.el (bat-generic-mode-compile):
14044         * help-mode.el (help-info-variable, help-do-xref)
14045         (help-mode-revert-buffer):
14046         * help.el (view-emacs-todo):
14047         * iswitchb.el (iswitchb-completion-help):
14048         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14049         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14050         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14051         * locate.el (locate-update):
14052         * longlines.el (longlines-encode-region)
14053         (longlines-after-change-function):
14054         * outline.el (outline-isearch-open-invisible):
14055         * ps-def.el (declare-function, charset-dimension, char-width)
14056         (encode-char):
14057         * ps-mule.el (ps-mule-plot-string):
14058         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14059         (recentf-edit-list-select, recentf-edit-list-validate)
14060         (recentf-open-files-action):
14061         * rect.el (delete-whitespace-rectangle-line)
14062         (rectangle-number-line-callback):
14063         * register.el (window-configuration-to-register)
14064         (frame-configuration-to-register):
14065         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14066         * select.el (xselect-convert-to-string, xselect-convert-to-length)
14067         (xselect-convert-to-targets, xselect-convert-to-delete)
14068         (xselect-convert-to-filename, xselect-convert-to-charpos)
14069         (xselect-convert-to-lineno, xselect-convert-to-colno)
14070         (xselect-convert-to-os, xselect-convert-to-host)
14071         (xselect-convert-to-user, xselect-convert-to-class)
14072         (xselect-convert-to-name, xselect-convert-to-integer)
14073         (xselect-convert-to-atom, xselect-convert-to-identity):
14074         * subr.el (declare, ignore, process-kill-without-query)
14075         (text-clone-maintain):
14076         * terminal.el (te-get-char, te-tic-sentinel):
14077         * tool-bar.el (tool-bar-make-keymap):
14078         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14079         * type-break.el (type-break-mode, type-break-noninteractive-query):
14080         * view.el (View-back-to-mark):
14081         * wid-browse.el (widget-browse-action, widget-browse-widget)
14082         (widget-browse-widgets, widget-browse-sexp):
14083         * widget.el (define-widget-keywords):
14084         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14085         Mark unused parameters.
14087         * align.el (align-adjust-col-for-rule): Mark unused parameter.
14088         (align-areas): Remove unused variable `look'.
14089         (align-region): Remove unused variables `real-end' and `pos-list'.
14091         * apropos.el (apropos-score-doc): Remove unused variable `i'.
14093         * bindings.el (mode-line-modified, mode-line-remote):
14094         Mark unused parameters.
14095         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14097         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14098         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14100         * comint.el (comint-history-isearch-pop-state)
14101         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14102         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14103         (comint-substitute-in-file-name): Doc fix.
14105         * completion.el (cmpl-statistics-block): Mark unused parameter.
14106         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14107         (save-completions-to-file, load-completions-from-file):
14108         Remove unused local variable `e'.
14110         * composite.el (compose-chars): Remove unused variable `len'.
14111         (lgstring-insert-glyph): Remove unused variable `g'.
14112         (compose-glyph-string): Remove unused variables `ascent',
14113         `descent', `lbearing' and `rbearing'.
14114         (compose-glyph-string-relative): Remove unused variables
14115         `lbearing', `rbearing' and `wadjust'.
14116         (compose-gstring-for-graphic): Remove unused variables `header',
14117         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
14118         (compose-gstring-for-terminal): Remove unused variables `header'
14119         and `nchars'.  Use `let', not `let*'.
14121         * cus-edit.el (Custom-set, Custom-save, custom-reset)
14122         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14123         (Custom-buffer-done, custom-buffer-create-internal)
14124         (custom-browse-visibility-action, custom-browse-group-tag-action)
14125         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14126         (widget-magic-mouse-down-action, custom-toggle-parent)
14127         (custom-add-parent-links, custom-toggle-hide-variable)
14128         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14129         (custom-toggle-hide-face, face, hook, custom-group-link-action)
14130         (custom-face-menu-create, custom-variable-menu-create, get)
14131         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14132         (custom-reset-standard-save-and-update): Remove unused variable `value'.
14133         (customize-apropos): Remove unused variable `tests'.
14134         (custom-group-value-create): Remove unused variable `hidden-p'.
14135         (sort-fold-case): Declare.
14137         * cus-theme.el (custom-reset-standard-faces-list)
14138         (custom-reset-standard-variables-list): Declare.
14139         (customize-create-theme, custom-theme-revert, custom-theme-write)
14140         (custom-theme-choose-mode, customize-themes, custom-theme-save):
14141         Mark unused parameters.
14143         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14145         * delim-col.el (delimit-columns-max): Move defvar before first use.
14147         * descr-text.el (describe-char-categories): Don't quote `lambda'.
14148         (describe-char): Don't quote `lambda'.  Mark unused parameter.
14150         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14151         (auto-insert): Declare.
14152         (desktop-restore-file-buffer): Rename desktop-* parameters;
14153         mark unused ones.
14154         (desktop-create-buffer): Rename desktop-* parameters and bind them.
14155         (desktop-buffer): Rename desktop-* parameters.
14157         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14158         (dframe-reposition-frame-xemacs, dframe-help-echo)
14159         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14160         Mark unused parameters.
14162         * dired-aux.el (backup-extract-version-start, overwrite-query)
14163         (overwrite-backup-query, rename-regexp-query)
14164         (rename-non-directory-query): Declare.
14165         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14166         (dired-add-entry): Remove unused variable `orig-file-name'.
14167         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14168         Use parameter PRESERVE-TIME instead of accessing dynamic variable
14169         `dired-copy-preserve-time' directly.
14170         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14171         (dired-insert-subdir-newpos): Rename unused variable `pos'.
14173         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14174         (dired-virtual-revert, dired-make-relative-symlink):
14175         Mark unused parameters.
14176         (manual-program): Declare.
14177         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14178         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14179         wrapped in `with-no-warnings' to avoid replacing one warning by another.
14181         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14183         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14185         * echistory.el (electric-history-in-progress, Helper-return-blurb):
14186         Declare.
14188         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14190         * electric.el (Electric-command-loop): Rename parameter
14191         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14193         * expand.el (expand-in-literal): Remove unused variable `here'.
14195         * facemenu.el (facemenu-add-new-color):
14196         Remove unused variable `docstring'.
14198         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14199         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14200         (face-attr-construct): Mark unused parameter.  Doc fix.
14201         (read-color): Remove unused variable `hex-string'.
14203         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14204         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14205         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14206         (display-buffer-other-frame): Remove unused variable `old-window'.
14207         (kill-buffer-hook): Declare.
14208         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14209         Mark unused parameters.
14210         (after-find-file): Pass 1 to `auto-save-mode', not t.
14212         * files-x.el (auto-insert): Declare.
14213         (modify-file-local-variable-prop-line): Remove unused variable `val'.
14215         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14216         variable `buf'.  Mark unused parameter.
14217         (find-lisp-insert-directory): Mark unused parameter.
14219         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14220         (format-encode-region): Remove unused variables `cur-buf' and `result'.
14221         (format-common-tail): Remove, unused.
14222         (format-deannotate-region): Remove unused variable `loc'.
14223         (format-annotate-region): Remove unused variable `p'.
14224         (format-annotate-single-property-change): Remove unused variables
14225         `default' and `tail'.
14227         * forms.el (read-file-filter): Declare.
14228         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14230         * frame.el (frame-creation-function-alist): Mark unused parameter.
14231         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14233         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14234         Remove unused parameters.
14235         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14236         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14238         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14239         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14240         (hfy-prepare-tag-map): Mark unused parameters.
14241         (htmlfontify-buffer): Use `called-interactively-p'.
14243         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14244         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14245         (ibuffer-do-occur): Mark unused parameters.
14246         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14247         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14249         * ibuffer.el: Don't quote `lambda'.
14250         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14251         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14252         Mark unused parameters.
14254         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14255         (ido-completing-read): Mark unused parameters.
14256         (ido-copy-current-word): Mark unused parameters;
14257         remove unused variable `name'.
14258         (ido-sort-merged-list): Remove unused parameter `dirs'.
14260         * ielm.el (ielm-input-sender): Mark unused parameter.
14261         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14262         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14263         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14264         `ielm-string' as a dynamic variable accessible from the IELM prompt.
14265         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
14267         * image-dired.el (image-dired-display-thumbs): Remove unused
14268         variables `curr-file' and `count'.
14269         (image-dired-remove-tag): Remove unused variable `start'.
14270         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14271         variable `curr-file'
14272         (image-dired-rotate-original): Remove unused variable `temp-file'.
14273         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14274         Remove unused variable `file'.
14275         (image-dired-gallery-generate): Remove unused variable `curr'.
14276         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14278         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14280         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14282         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14284         * isearch.el (minibuffer-history-symbol): Declare.
14285         (isearch-edit-string): Remove unused variable `err'.
14286         (isearch-message-prefix, isearch-message-suffix):
14287         Mark unused parameters.
14289         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14291         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14293         * makesum.el (double-column): Remove unused variable `cnt'.
14295         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14296         (ido-ignore-item-temp-list): Declare.
14298         * mouse-drag.el (mouse-drag-throw): Remove unused variables
14299         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14300         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14301         (mouse-drag-drag): Remove unused variables `mouse-delta' and
14302         `mouse-col-delta'.
14304         * mouse-sel.el (mouse-extend-internal):
14305         Remove unused variable `orig-window-frame'.
14307         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14308         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14309         Move declarations before first use.
14310         (pcomplete-opt): Mark unused parameters; doc fix.
14312         * proced.el (proced-revert): Mark unused parameter.
14313         (proced-send-signal): Remove unused variable `err'.
14315         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14316         Rename parameter PREFIX-ARG to ARG.
14317         (ps-basic-plot-string, ps-basic-plot-whitespace):
14318         Mark unused parameters.
14320         * replace.el (replace-count): Define.
14321         (occur-revert-function): Mark unused parameters.
14322         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14323         (isearch-case-fold-search, isearch-string): Declare.
14324         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14325         bind `case-fold-search'.  Remove unused variables `beg' and `end',
14326         and simplify.
14327         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14328         COUNT and bind `replace-count'.
14329         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14330         to COUNT.
14332         * savehist.el (print-readably, print-string-length): Declare.
14334         * shadowfile.el (shadow-expand-cluster-in-file-name):
14335         Remove unused variable `cluster'.
14336         (shadow-copy-file): Remove unused variable `i'.
14337         (shadow-noquery, shadow-clusters, shadow-site-cluster)
14338         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14339         (shadow-define-literal-group, shadow-define-regexp-group)
14340         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14342         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14343         (shell): Use `called-interactively-p'.
14344         (shell-directory-tracker): Remove unused variable `chdir-failure'.
14346         * simple.el (compilation-context-lines, comint-file-name-quote-list)
14347         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14348         (delete-backward-char): Remove unused variable `ocol'.
14349         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14350         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14351         (event-apply-hyper-modifier, event-apply-shift-modifier)
14352         (event-apply-control-modifier, event-apply-meta-modifier):
14353         Mark unused parameters.
14354         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14355         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14357         * speedbar.el (speedbar-ignored-directory-expressions)
14358         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14359         (speedbar-find-file, speedbar-dir-follow)
14360         (speedbar-directory-buttons-follow, speedbar-tag-find)
14361         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14362         (speedbar-buffers-line-directory, speedbar-buffer-click):
14363         Mark unused parameters.
14364         (speedbar-tag-file): Remove unused variable `mode'.
14365         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14367         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14369         * talk.el (talk): Remove unused variable `display'.
14371         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14372         (tar-write-region-annotate): Mark unused parameter.
14374         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14375         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14376         Declare them, wrapped in `with-no-warnings' to avoid replacing one
14377         warning by another.
14379         * time-stamp.el (time-stamp-string-preprocess):
14380         Remove unused variable `require-padding'.
14382         * tree-widget.el (widget-glyph-enable): Declare.
14383         (tree-widget-action): Mark unused parameter.
14385         * w32-fns.el (x-get-selection): Mark unused parameter.
14386         (autoload-make-program, generated-autoload-file): Declare.
14388         * wdired.el (wdired-revert): Mark unused parameters.
14389         (wdired-xcase-word): Remove unused variable `err'.
14391         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14392         (whitespace-help-scroll): Remove unused variable `data-help'.
14394         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14395         (widget-image-insert, widget-after-change, default)
14396         (widget-default-format-handler, widget-default-notify)
14397         (widget-default-prompt-value, widget-info-link-action)
14398         (widget-url-link-action, widget-function-link-action)
14399         (widget-variable-link-action, widget-file-link-action)
14400         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14401         (widget-field-prompt-internal, widget-field-action, widget-field-match)
14402         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14403         (widget-insert-button-action, widget-delete-button-action, visibility)
14404         (widget-documentation-link-action, widget-documentation-string-action)
14405         (widget-const-prompt-value, widget-regexp-match, symbol)
14406         (widget-coding-system-prompt-value)
14407         (widget-key-sequence-value-to-external, sexp)
14408         (widget-sexp-value-to-internal, character, vector, cons)
14409         (widget-choice-prompt-value, widget-boolean-prompt-value)
14410         (widget-color--choose-action): Mark unused parameters.
14411         (widget-item-match-inline, widget-choice-match-inline)
14412         (widget-checklist-match, widget-checklist-match-inline)
14413         (widget-group-match): Rename parameter VALUES to VALS.
14414         (widget-field-value-set): Remove unused variable `size'.
14415         (widget-color-action): Remove unused variables `value' and `start'.
14417         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14418         variable `dir'.  Doc fix.
14419         (windmove-find-other-window): Don't pass it.
14421         * window.el (count-windows): Mark unused parameter.
14422         (bw-adjust-window): Remove unused variable `err'.
14424         * woman.el (woman-file-name): Remove unused variable `default'.
14425         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14426         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14427         (global-font-lock-mode): Declare.
14428         (woman-decode-region): Mark unused parameter.
14429         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14431         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14432         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14433         (x-dnd-handle-moz-url): Remove unused variable `title'.
14434         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14436         * xml.el (xml-parse-tag, xml-parse-attlist):
14437         Remove unused variable `pos'.
14439 2011-04-19  Glenn Morris  <rgm@gnu.org>
14441         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14442         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14443         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14444         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14445         * calendar/cal-html.el (cal-html-insert-minical):
14446         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14447         (calendar-mark-date-pattern):
14448         Prefix "unused" locals.
14450         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14451         optional argument `style'.
14453         * calendar/appt.el (appt-make-list):
14454         * calendar/cal-china.el (calendar-chinese-date-string):
14455         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14456         (diary-hebrew-yahrzeit):
14457         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14458         * calendar/calendar.el (calendar-generate-window):
14459         * calendar/time-date.el (time-to-days):
14460         Remove unused local variables.
14462 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
14464         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14465         glyphless-char-display table.
14466         (tabulated-list-glyphless-char-display): New var.
14468 2011-04-18  Sam Steingold  <sds@gnu.org>
14470         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14471         to acknowledgments.
14473 2011-04-17  Glenn Morris  <rgm@gnu.org>
14475         * calendar/diary-lib.el (diary-sexp-entry):
14476         * calendar/holidays.el (holiday-sexp):
14477         Set debug-on-error rather than the removed stack-trace-on-error.
14479 2011-04-16  Glenn Morris  <rgm@gnu.org>
14481         * progmodes/f90.el: Use lexical-binding.
14482         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14484 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14486         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14487         (mail-mode): Setup mailalias completion here instead.
14488         * mail/mailalias.el: Use lexical-binding.
14489         (pattern, mailalias-done): Declare dynamic.
14490         (mail-completion-at-point-function): New function, from mail-complete.
14491         (mail-complete): Use it.
14492         (mail-completion-expand): New function.
14493         (mail-get-names): Use it.
14494         (mail-directory, mail-directory-process, mail-directory-stream):
14495         Don't use `pattern' for lexically bound arg.
14497         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14499         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14500         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14501         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14503         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14504         (byte-save-window-excursion, byte-temp-output-buffer-setup)
14505         (byte-interactive-p): Define them again, for use when inlining
14506         old code.
14508 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
14510         * loadup.el: Use `string-to-number', not `string-to-int'.
14512 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14514         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14515         gud-gdb-complete-command.
14516         (gud-gdb-completions): New function, from gud-gdb-complete-command.
14517         (gud-gdb-completion-at-point): New function.
14518         (gud-gdb-completions): Remove.
14520 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
14522         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14523         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
14524         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14525         whether `executable-find' is bound.
14527         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14529 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14531         * minibuffer.el (completion-in-region-mode-predicate)
14532         (completion-in-region-mode--predicate): New vars.
14533         (completion-in-region, completion-in-region--postch)
14534         (completion-in-region-mode): Use them.
14535         (completion--capf-wrapper): Also return the hook function.
14536         (completion-at-point, completion-help-at-point):
14537         Adjust and provide a predicate.
14539         Preserve arg names for advice of subr and lexical functions (bug#8457).
14540         * help-fns.el (help-function-arglist): Consolidate the subr and
14541         new-byte-code cases.  Add argument `preserve-names' to extract names
14542         from the docstring when needed.
14543         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14544         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14545         (ad-arglist): Use help-function-arglist's new arg.
14546         (ad-definition-type): Use cond.
14548 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
14550         * autorevert.el (auto-revert-handler):
14551         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14552         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14553         Don't quote lambda.
14555         * image-mode.el (image-transform-set-scale):
14556         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14558 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14560         * net/network-stream.el (network-stream-open-starttls): Only do
14561         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14562         Upgrades via gnutls-cli are too slow to be done opportunistically.
14564 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
14566         * dframe.el (dframe-current-frame): Remove spurious quote.
14568 2011-04-12  Glenn Morris  <rgm@gnu.org>
14570         * calendar/cal-tex.el (cal-tex-end-document):
14571         Try to automatically use latin1 input if needed.
14573         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14574         Don't try to cons a mark onto an empty element.
14576 2011-04-11  Leo Liu  <sdl.web@gmail.com>
14578         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14579         buffers.
14580         (ido-kill-buffer-at-head): Support killing virtual buffers.
14582 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
14584         * minibuffer.el (completion-show-inline-help): New var.
14585         (completion--do-completion, minibuffer-complete)
14586         (minibuffer-force-complete, minibuffer-complete-word):
14587         Inhibit minibuffer messages if completion-show-inline-help is nil.
14589         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14590         to avoid interference from inline help (Bug#5849).
14592 2011-04-10  Leo Liu  <sdl.web@gmail.com>
14594         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14595         Fix typo.
14597 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
14599         * image-mode.el (image-toggle-display-image): Signal an error if
14600         not in Image mode.
14601         (image-transform-mode, image-transform-resize)
14602         (image-transform-set-rotation): Doc fix.
14603         (image-transform-set-resize): Delete.
14604         (image-transform-set-scale, image-transform-fit-to-height)
14605         (image-transform-fit-to-width): Handle image-toggle-display-image
14606         and image-transform-resize directly.
14608 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
14610         * doc-view.el (doc-view-fit-width-to-window)
14611         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14612         New functions for fitting the shown image to the Emacs window size.
14613         (doc-view-mode-map): Add bindings for the new functions.
14615 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
14617         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14618         Fix typo in docstring.
14620 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
14622         * files.el (file-size-human-readable): Produce one digit after
14623         decimal, like "ls -lh" does.
14625         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14626         the file size representation.
14628         * simple.el (list-processes): If async subprocesses are not
14629         available, error out with a clear error message.
14631 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
14633         * help.el (help-form-show): New function, to be called from C.
14634         Put help-form output in a buffer named differently than *Help*.
14636 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
14638         * files.el (file-size-human-readable): New function.
14640         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14641         computing the representation inline.  Don't require `cl'.
14643 2011-04-08  Glenn Morris  <rgm@gnu.org>
14645         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14647         * net/browse-url.el (browse-url-firefox):
14648         Test system-type, not system-configuration.
14650         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14651         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14652         Use log-edit-empty-buffer-p.  (Bug#7598)
14654         * net/rlogin.el (rlogin-process-connection-type): Simplify.
14655         (rlogin-mode-map): Initialize in the defvar.
14656         (rlogin): Use ignore-errors.
14658         * replace.el (occur-mode-map): Some fixes for menu items.
14660 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14662         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
14664 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
14666         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14667         issuing unused warnings.
14669         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14670         macro directly.
14672         * simple.el: Lisp reimplement of list-processes.  Based on an
14673         earlier reimplementation by Leo Liu, but using tabulated-list.el.
14674         (process-menu-mode): New major mode.
14675         (list-processes--refresh, list-processes):
14676         (process-menu-visit-buffer): New functions.
14678         * files.el (save-buffers-kill-emacs): Don't assume any return
14679         value of list-processes, which is undocumented anyway.
14681 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
14683         * emacs-lisp/tabulated-list.el: New file.
14685         * emacs-lisp/package.el: Use Tabulated List mode.
14686         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14687         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
14688         table format using Tabulated List mode variables.
14689         (package--push): New macro, replacing package-list-maybe-add.
14690         (package-menu--generate): Use package--push.  Renamed from
14691         package--generate-package-list.
14692         (package-menu-refresh, list-packages): Use it.
14693         (package-menu--print-info): Rename from package-print-package.
14694         Return insertion data instead of inserting it directly.
14695         (package-menu-describe-package, package-menu-execute):
14696         Use tabulated-list-get-id.
14697         (package-menu-mark-delete, package-menu-mark-install)
14698         (package-menu-mark-unmark, package-menu-backup-unmark)
14699         (package-menu-mark-obsolete-for-deletion):
14700         Use tabulated-list-put-tag.
14701         (package--list-packages, package-menu-revert)
14702         (package-menu-get-package, package-menu-get-version)
14703         (package-menu-sort-by-column): Functions deleted.
14704         (package-menu-package-list, package-menu-sort-key): Vars deleted.
14705         (package-menu--status-predicate, package-menu--version-predicate)
14706         (package-menu--name-predicate)
14707         (package-menu--description-predicate): Handle arguments in the
14708         Tabulated List format.
14709         (package-list-packages-no-fetch): Call list-packages.
14711 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
14713         * files.el (after-find-file-from-revert-buffer): Remove variable.
14714         (after-find-file): Don't bind it.
14715         (revert-buffer-in-progress-p): New variable.
14716         (revert-buffer): Bind it.
14717         Pass nil for `after-find-file-from-revert-buffer'.
14719         * saveplace.el (save-place-find-file-hook): Use new variable
14720         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14722 2011-04-06  Glenn Morris  <rgm@gnu.org>
14724         * Makefile.in (AUTOGEN_VCS): New variable.
14725         (autoloads): Use $AUTOGEN_VCS.
14727         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14728         * calendar/calendar.el (calendar-mode-map):
14729         Check for toolkit scroll bars.  (Bug#8305)
14731 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
14733         * minibuffer.el (completion-in-region--postch)
14734         (completion-in-region-mode): Remove unnecessary messages.
14736 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
14738         * font-lock.el (font-lock-refresh-defaults):
14739         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14740         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14742         * info.el (Info-directory-list, Info-read-node-name-2)
14743         (Info-split-parameter-string): Doc fixes.
14744         (Info-virtual-nodes): Reflow docstring.
14745         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14746         (Info-apropos-toc-nodes, info-finder, Info-get-token)
14747         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14748         Fix typos in docstrings.
14749         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14750         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14751         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14752         (Info-restore-desktop-buffer): Mark unused parameters.
14753         (Info-directory-find-file, Info-directory-find-node)
14754         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14755         (Info-virtual-index-find-node, Info-apropos-find-file)
14756         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14757         Mark unused parameters; fix typos in docstrings.
14758         (Info-virtual-index): Remove unused local variable `nodename'.
14760 2011-04-05  Deniz Dogan  <deniz@dogan.se>
14762         * net/rcirc.el: Update my e-mail address.
14763         (rcirc-mode-map): Remove M-o binding.
14765 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
14767         * startup.el (command-line): Save the cursor's theme-face
14768         directly, instead of using face-override-spec.
14770         * custom.el (load-theme): Minor optimization in assigning faces.
14772 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
14774         * help-fns.el (describe-variable): Complete all variables having
14775         documentation, including keywords.
14776         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14778 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
14780         Convert to lexical-binding.
14782         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14783         (bs--get-marked-string, bs--get-modified-string)
14784         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14785         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14786         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14788         * ehelp.el (electric-help-execute-extended)
14789         (electric-help-ctrl-x-prefix):
14790         * hexl.el (hexl-revert-buffer-function):
14791         * linum.el (linum-after-change, linum-after-scroll):
14792         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14794         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14796 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
14798         * epa-dired.el:
14799         * epa-mail.el:
14800         * epa-hook.el:
14801         * epa-file.el:
14802         * epa.el:
14803         * epg.el: Use lexical binding.
14805 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
14807         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14809         * textmodes/flyspell.el (flyspell-word): Recognize default
14810         dictionary case for flyspell-mark-duplications-exceptions.
14811         Use regexp matching for languages.
14812         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14813         default dictionary (Bug#7926).
14815 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
14817         * emacs-lisp/package.el (package--with-work-buffer):
14818         Recognize https URLs.
14820         * net/network-stream.el: Move from gnus/proto-stream.el.
14821         Change prefix to network-stream throughout.
14822         (open-protocol-stream): Merge into open-network-stream, leaving
14823         open-protocol-stream as an alias.  Handle nil BUFFER args.
14825         * subr.el (open-network-stream): Move to net/network-stream.el.
14827 2011-04-02  Glenn Morris  <rgm@gnu.org>
14829         * find-dired.el (find-exec-terminator): New option.
14830         (find-ls-option): Test for -ls support.
14831         (find-ls-subdir-switches): Test for -b in find-ls-option.
14832         (find-dired, find-grep-dired): Doc fixes.
14833         (find-dired): Use find-exec-terminator.
14835         * find-dired.el (find-ls-option, find-ls-subdir-switches)
14836         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14837         (find-name-arg): Remove purecopy.
14839         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14840         (grep-compute-defaults): Check for `-exec COMMAND +' support.
14841         Set grep-find-use-xargs, grep-find-command, and grep-find-template
14842         accordingly.  Don't add the null-device if not needed.
14844         * files.el (save-some-buffers): Doc fix.
14846 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
14848         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14850 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
14852         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14853         Use `dolist' rather than `mapcar'.
14855 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14857         Add lexical binding.
14859         * subr.el (apply-partially): Use new closures rather than CL.
14860         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14861         (dolist, dotimes): Use slightly different expansion for lexical code.
14862         (functionp): Move to C.
14863         (letrec): New macro.
14864         (with-wrapper-hook): Use it and apply-partially instead of CL.
14865         (eval-after-load): Preserve lexical-binding.
14866         (save-window-excursion, with-output-to-temp-buffer): Turn them
14867         into macros.
14869         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14871         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14872         than the arglist.
14873         (help-add-fundoc-usage): Don't add `Not documented'.
14874         (help-function-arglist): Handle closures, subroutines, and new
14875         byte-code-functions.
14876         (help-make-usage): Remove leading underscores.
14877         (describe-function-1): Handle closures.
14878         (describe-variable): Use special-variable-p for completion.
14880         * files.el (lexical-binding): Declare safe.
14882         * emacs-lisp/pcase.el: Don't use destructuring-bind.
14883         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
14884         (pcase): Add `let' pattern.
14885         Change memoization so it actually works.
14886         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14887         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14888         <let>: New case.
14890         * emacs-lisp/macroexp.el: Use lexical binding.
14891         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
14892         Don't convert ' to #' without checking that it's indeed quoting
14893         a lambda.
14895         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14896         Use eval-sexp-add-defvars.
14897         (eval-sexp-add-defvars): New fun.
14899         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14901         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14902         Don't autoload.
14903         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14904         than the internal `byte-compile-lambda'.
14905         (defmethod): Don't hide code under quotes.
14906         (eieio-defmethod): New `code' argument.
14908         * emacs-lisp/eieio-comp.el: Remove.
14910         * emacs-lisp/edebug.el (edebug-eval-defun)
14911         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14912         (edebug-toggle): Avoid `eval'.
14914         * emacs-lisp/disass.el (disassemble-internal): Handle new
14915         `closure' objects.
14916         (disassemble-1): Handle new byte codes.
14918         * emacs-lisp/cl.el (pushnew): Silence warning.
14920         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14921         (cl-byte-compile-throw): Remove.
14922         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14924         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14925         closures.
14927         * emacs-lisp/cconv.el: New file.
14929         * emacs-lisp/bytecomp.el: Use lexical binding instead of
14930         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
14931         (byte-compile-initial-macro-environment):
14932         Handle declare-function here.
14933         (byte-compile--lexical-environment): New var.
14934         (byte-stack-ref, byte-stack-set, byte-discardN)
14935         (byte-discardN-preserve-tos): New lap codes.
14936         (byte-interactive-p): Don't use any more.
14937         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14938         New macros.
14939         (byte-compile-lapcode): Use them and handle new lap codes.
14940         (byte-compile-obsolete): Remove.
14941         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14942         (byte-compile-arglist-warn): Check late def of inlinable funs.
14943         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14944         since they should have been expanded by now.
14945         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14946         (byte-compile-from-buffer): Remove unused second arg.
14947         (byte-compile-preprocess): New function.
14948         (byte-compile-toplevel-file-form): New function to distinguish
14949         file-form calls from outside from file-form calls from hunk-handlers.
14950         (byte-compile-file-form): Simplify.
14951         (byte-compile-file-form-defsubst): Remove.
14952         (byte-compile-file-form-defmumble): Simplify now that
14953         byte-compile-lambda always returns a byte-code-function.
14954         (byte-compile): Preprocess.
14955         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14956         Remove, not used any more.
14957         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14958         (byte-compile-make-args-desc): New funs.
14959         (byte-compile-lambda): Handle lexical functions.  Always return
14960         a byte-code-function.
14961         (byte-compile-reserved-constants): New var, to make up room for
14962         closed-over variables.
14963         (byte-compile-constants-vector): Obey it.
14964         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14965         (byte-compile-macroexpand-declare-function): New function.
14966         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14967         byte-code-functions.
14968         (byte-compile-form): Check obsolescence here.
14969         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14970         (byte-compile-variable-ref): Remove.
14971         (byte-compile-dynamic-variable-op): New fun.
14972         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14973         (byte-compile-variable-set): New funs.
14974         (byte-compile-discard): Add 2 args.
14975         (byte-compile-stack-ref, byte-compile-stack-set)
14976         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14977         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14978         macroexpand-all instead.
14979         (byte-compile-quote-form): Remove.
14980         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14981         (byte-compile-bind, byte-compile-unbind): New funs.
14982         (byte-compile-let): Handle let* and lexical binding.
14983         (byte-compile-let*): Remove.
14984         (byte-compile-catch, byte-compile-unwind-protect)
14985         (byte-compile-track-mouse, byte-compile-condition-case):
14986         Handle a new :fun-body form, used for lexical scoping.
14987         (byte-compile-save-window-excursion)
14988         (byte-compile-with-output-to-temp-buffer): Remove.
14989         (byte-compile-defun): Simplify.
14990         (byte-compile-stack-adjustment): New fun.
14991         (byte-compile-out): Use it.
14992         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14994         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14995         handler any more.
14997         * emacs-lisp/byte-opt.el: Use lexical binding.
14998         (byte-inline-lapcode): Remove (to bytecomp).
14999         (byte-compile-inline-expand): Pay attention to inlining to/from
15000         lexically bound code.
15001         (byte-compile-unfold-lambda): Don't handle byte-code-functions
15002         any more.
15003         (byte-optimize-form-code-walker): Don't handle save-window-excursion
15004         any more and don't call compiler-macros.
15005         (byte-compile-splice-in-already-compiled-code): Remove.
15006         (byte-code): Don't inline any more.
15007         (disassemble-offset): Receive `bytes' as argument rather than via
15008         dynamic scoping.
15009         (byte-compile-tag-number): Declare before first use.
15010         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15011         `return' even if make-spliceable.
15012         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15013         obsolete interactive-p.
15014         (byte-optimize-lapcode): Optimize new lap-codes.
15015         Don't trip up on new form of `byte-constant' lap code.
15017         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15019         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15021         * custom.el (custom-initialize-default, custom-declare-variable):
15022         Use `defvar'.
15024         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15025         New variables.
15026         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15027         (COMPILE_FIRST): Add macroexp and cconv.
15028         * makefile.w32-in: Mirror changes in Makefile.in.
15030         * vc/cvs-status.el:
15031         * vc/diff-mode.el:
15032         * vc/log-edit.el:
15033         * vc/log-view.el:
15034         * vc/smerge-mode.el:
15035         * textmodes/bibtex-style.el:
15036         * textmodes/css.el:
15037         * startup.el:
15038         * uniquify.el:
15039         * minibuffer.el:
15040         * newcomment.el:
15041         * reveal.el:
15042         * server.el:
15043         * mpc.el:
15044         * emacs-lisp/smie.el:
15045         * doc-view.el:
15046         * dired.el:
15047         * abbrev.el: Use lexical binding.
15049 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
15051         * info.el (info-display-manual): New function.
15053 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15055         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15057 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
15059         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15060         an entry for that server in rcirc-authinfo.  (Bug#8385)
15062 2011-03-31  Glenn Morris  <rgm@gnu.org>
15064         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15066         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15068 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
15070         * progmodes/python.el (python-default-interpreter)
15071         (python-python-command-args, python-jython-command-args)
15072         (python-which-shell, python-which-args, python-which-bufname)
15073         (python-file-queue, python-comint-output-filter-function)
15074         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15075         variables and functions.
15077 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15079         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15080         (completion-in-region-mode): New minor mode.
15081         (completion-in-region): Use it.
15082         (completion-in-region--data, completion-in-region-mode-map): New vars.
15083         (completion-in-region--postch): New function.
15084         (completion--capf-misbehave-funs, completion--capf-safe-funs):
15085         New vars.
15086         (completion--capf-wrapper): New function.
15087         (completion-at-point): Use it to track well-behavedness of
15088         hook functions.
15089         (completion-help-at-point): New command.
15091 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
15093         * vc/add-log.el (add-change-log-entry): Don't use whitespace
15094         syntax class to search for whitespace on a single line
15095         (Message-ID: <4D938140.4030905@redhat.com>).
15097 2011-03-30  Leo Liu  <sdl.web@gmail.com>
15099         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15100         New commands.
15101         (edit-abbrevs-map): Bind them here.
15102         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
15104 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
15106         * allout.el (allout-hide-by-annotation, allout-flag-region):
15107         Reduce possibility of overlay leakage by making them volatile.
15109         * allout-widgets.el (allout-widgets-tally): Define as nil so the
15110         hash is not shared between buffers.  Mode initialization is
15111         responsible for giving it a useful starting value.
15112         (allout-item-span): Reduce possibility of overlay leakage by
15113         making them volatile.
15114         (allout-widgets-count-buttons-in-region): Add diagnostic function
15115         for tracking down button overlay leaks.
15117 2011-03-29  Leo Liu  <sdl.web@gmail.com>
15119         * ido.el (ido-read-internal): Use the default history var
15120         minibuffer-history if no HISTORY is specified.
15122 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
15124         * net/imap.el (imap-shell-open, imap-process-connection-type):
15125         Use imap-process-connection-type for 'shell' streams as well as
15126         Kerberos, SSL, other subprocesses.
15128 2011-03-28  Leo Liu  <sdl.web@gmail.com>
15130         * abbrev.el (abbrev-table-empty-p): New function.
15131         (prepare-abbrev-list-buffer): Place empty abbrev tables after
15132         nonempty ones.  (Bug#5937)
15134 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
15136         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15138 2011-03-27  Leo Liu  <sdl.web@gmail.com>
15140         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15141         for foreground and background colors.
15142         (ansi-color-make-color-map): Adapt.
15144 2011-03-25  Leo Liu  <sdl.web@gmail.com>
15146         * midnight.el (midnight-time-float): Remove.  Note it calculates
15147         the microsecond component incorrectly and seconds-to-time does the
15148         same job.
15149         Remove redundant (require 'timer).
15151         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15152         (ido-completions): Remove unused arguments.  (Bug#8329)
15154 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15156         * minibuffer.el (completion--flush-all-sorted-completions):
15157         Remove itself from hook.
15158         (completion-at-point): Let the functions perform the completion
15159         immediately and return nil or t.
15160         * comint.el (comint-dynamic-complete-functions): Now identical to
15161         completion-at-point-functions.
15162         (comint-dynamic-list-input-ring): Remove unused var `index'.
15163         (comint--match-partial-filename, comint--unquote&expand-filename):
15164         New funs, split from comint-match-partial-filename.
15165         (comint-dynamic-complete): Use completion-at-point.
15166         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15168 2011-03-24  Drew Adams  <drew.adams@oracle.com>
15170         * thingatpt.el: Support `defun'.
15172 2011-03-23  Leo Liu  <sdl.web@gmail.com>
15174         * abbrevlist.el: Move to obsolete/abbrevlist.el.
15176         * help-mode.el (help-mode-finish): Tweak regexp.
15178 2011-03-23  Glenn Morris  <rgm@gnu.org>
15180         * eshell/esh-opt.el (eshell-eval-using-options):
15181         Do not bind unused local variable `eshell-option-stub'.
15183         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15185 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
15187         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15188         keymap variable in `with-no-warnings' to avoid a warning when the
15189         keymap has been already `defconst'ed.
15191 2011-03-22  Leo Liu  <sdl.web@gmail.com>
15193         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15194         encode all chars in abbrevs; otherwise use emacs-mule or
15195         utf-8-emacs.  (Bug#8308)
15197 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
15199         * simple.el (backward-delete-char-untabify):
15200         Avoid warning about using `delete-backward-char'.
15202         * image.el (image-type-file-name-regexps): Make it variable.
15203         `imagemagick-register-types' modifies it, and the user may want
15204         to add new extensions for known image types.
15205         (imagemagick-register-types): Throw error if not using ImageMagick.
15207 2011-03-22  Leo Liu  <sdl.web@gmail.com>
15209         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15210         located before rcirc-prompt-end-marker.
15211         (rcirc-complete): Error if point is not after rcirc prompt.
15212         Handle the case when table is nil.
15213         (rcirc-user-authenticated): Define to fix compiler warning.
15215 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
15217         * custom.el (custom--inhibit-theme-enable): Make it affect only
15218         custom-theme-set-variables and custom-theme-set-faces.
15219         (provide-theme): Ignore custom--inhibit-theme-enable.
15220         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15221         (custom-enabling-themes): Delete variable.
15222         (enable-theme): Accept only loaded themes as arguments.
15223         Ignore the special custom-enabled-themes variable.
15224         (custom-enabled-themes): Forbid themes from setting this.
15225         Eliminate use of custom-enabling-themes.
15226         (custom-push-theme): Quote "changed" custom var entry.
15228 2011-03-21  Leo Liu  <sdl.web@gmail.com>
15230         * ido.el (ido-read-internal): Add ido-selected to history instead
15231         of user input.
15233 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15235         * subr.el (deferred-action-list, deferred-action-function):
15236         Mark obsolete.
15238 2011-03-21  Leo Liu  <sdl.web@gmail.com>
15240         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15241         change on 2011-02-13 (bug#8309).
15243         * minibuffer.el (read-file-name-function): Change default value.
15244         (read-file-name--defaults): Rename from read-file-name-defaults.
15245         (read-file-name-default): Rename from read-file-name.
15246         (read-file-name): Call read-file-name-function.
15248 2011-03-21  Glenn Morris  <rgm@gnu.org>
15250         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15251         Doc fixes.
15253 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
15255         * cus-theme.el: Add missing provide statement.
15256         (customize-create-theme): Extract theme value correctly.
15257         (custom-theme-visit-theme): Autoload.
15258         (customize-create-theme): Prompt before inserting default faces.
15260 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
15262         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15263         units and musical notes.
15265 2011-03-20  Leo Liu  <sdl.web@gmail.com>
15267         * ido.el (ido-read-internal): Use completing-read-default.
15268         (ido-completing-read): Fix compatibility with completing-read.
15270 2011-03-20  Christian Ohler  <ohler@gnu.org>
15272         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15273         (ert-delete-all-tests): Use `called-interactively-p' rather than
15274         `interactive-p'.
15275         (ert--make-xrefs-region): Respect END.
15277 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
15279         * dired-aux.el (dired-create-directory): Signal an error if the
15280         directory already exists (Bug#8246).
15282         * facemenu.el (list-colors-display): Call list-faces-display
15283         inside with-help-window.
15284         (list-colors-print): Use display property to align the final
15285         column, instead of checking window-width.
15287 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
15289         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15290         windows-nt systems.
15291         (emerge-protect-metachars): Quote correctly for ms-dos and
15292         windows-nt systems.
15294 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
15296         * info.el (info-initialize): Replace all uses of `:' with
15297         path-separator for compatibility with non-Unix systems.
15298         Cache quoting of path-separator.  (Bug#8258)
15300 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
15302         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15303         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15304         (mouse-avoidance-mode): Fix typos in docstrings.
15306 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
15308         * startup.el (package-subdirectory-regexp): Move from package.el.
15309         Omit \\` and \\', and let callers add them.
15311         * emacs-lisp/package.el (package-strip-version)
15312         (package-load-all-descriptors): Add \\` and \\' to
15313         package-subdirectory-regexp before using it.
15314         (package-untar-buffer): New arg DIR; ensure that file untars only
15315         into this expected directory.  Remove superfluous delete-region.
15316         (package-unpack): Caller changed.
15317         (package-tar-file-info): Use package-subdirectory-regexp.
15319 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15321         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15322         diff-mode-shared-map (bug#8284).
15323         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15325 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15327         * calendar/time-date.el (format-seconds): Use assoc instead of
15328         assoc-string, since assoc-string doesn't exist in XEmacs.
15330 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
15332         * custom.el (custom-known-themes): Reflow docstring.
15333         (custom-theme-load-path): Fix typo in docstring.
15334         (load-theme): Fix typo in error message.
15335         (custom-available-themes, custom-variable-theme-value):
15336         Use `let', not `let*'.
15338 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
15340         * calc/README: Mention inclusion of musical notes.
15342         * calc/calc-units.el (calc-lu-quant): Rename from
15343         `calc-logunits-quantity'.
15344         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15345         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15346         (calc-db): Rename from `calc-dblevel'.
15347         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15348         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15349         (calc-np): Rename from `calc-nplevel'.
15350         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15351         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15352         (calc-lu-plus): Rename from `calc-logunits-add'.
15353         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15354         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15355         (calc-lu-minus): Rename from `calc-logunits-sub'.
15356         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15357         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15358         (calc-lu-times): Rename from `calc-logunits-mul'.
15359         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15360         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15361         (calc-lu-divide): Rename from `calc-logunits-div'.
15362         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15363         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15365         * calc/calc-ext.el (calc-init-extensions): Update the names of the
15366         functions being autoloaded.
15368         * calc/calc.el (calc-lu-power-reference): Rename from
15369         `calc-logunits-power-reference'.
15370         (calc-lu-field-reference): Rename from
15371         `calc-logunits-field-reference'.
15373         * calc/calc-help.el (calc-l-prefix-help):
15374         Mention musical note functions.
15376 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15378         * minibuffer.el (completion-all-sorted-completions):
15379         Use :completion-cycle-penalty text property if present.
15381 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
15383         * allout.el (allout-yank-processing): Adjust for new rebulleting
15384         regime so bullet being yanked is used without prompting the user
15385         for a choice.
15387 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
15389         * startup.el (command-line): Warn the user that _emacs is deprecated.
15391 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
15393         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15394         (delphi-verbose, delphi-comment-face, delphi-string-face)
15395         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15396         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15397         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15398         (delphi-new-comment-line, delphi-font-lock-defaults)
15399         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15400         Fix typos in docstrings.
15402 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
15404         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15405         Invert the roles of character and string values for INSTEAD, so a
15406         string is used for the more common case of a defaulting prompt.
15408 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15410         * progmodes/ruby-mode.el (ruby-backward-sexp):
15411         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15412         * play/gamegrid.el (gamegrid-make-face):
15413         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15414         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15415         * notifications.el (notifications-notify):
15416         * net/xesam.el (xesam-search-engines):
15417         * net/quickurl.el (quickurl-list-insert):
15418         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15420 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
15422         * startup.el (command-line): Update package subdirectory regexp.
15424 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15426         * allout.el (allout-abbreviate-flattened-numbering)
15427         (allout-mode-deactivate-hook): Fix up obsolescence "date".
15429         * subr.el (read-char-choice): Only show the cursor after the prompt,
15430         not after the answer.
15432 2011-03-15  Kevin Ryde  <user42@zip.com.au>
15434         * help-fns.el (variable-at-point): Skip leading quotes, if any
15435         (bug#8253).
15437 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15439         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15440         warning message.
15442 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
15444         * shell.el (shell): When called interactively, offer to change the
15445         shell file name on remote hosts.
15447 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
15449         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15450         integration for LDAP parameters.  The host, base, user or binddn,
15451         and secret tokens can be specified in a netrc file, for instance.
15452         This is optional because an `auth-source' parameter must be
15453         specified in the search attributes.
15455 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
15457         * help.el (describe-mode): Link to the mode's definition (bug#8185).
15459 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15461         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15462         into declaration.  Remove redundant and harmful binding.
15464 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
15466         * files.el (file-ownership-preserved-p): Pass `integer' as an
15467         explicit 2nd argument to `file-attributes'.  If the file's owner
15468         is the Administrators group on Windows, and the current user is
15469         Administrator, consider that a match.
15471         * server.el (server-ensure-safe-dir): Consider server directory
15472         safe on MS-Windows if its owner is the Administrators group while
15473         the current Emacs user is Administrator.  Use `=' to compare
15474         numerical UIDs, since they could be integers or floats.
15476 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
15478         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15480 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
15482         Sync with Tramp 2.2.1.
15484         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15486         * net/trampver.el: Update release number.
15488 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15490         * progmodes/compile.el (compilation--previous-directory): Fix up
15491         various nil/dead-marker mismatches (bug#8014).
15492         (compilation-directory-properties, compilation-error-properties):
15493         Don't call it at a position past the one we're about to change.
15495         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15496         Disable obsolescence warnings in the file that declares it.
15498 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
15500         * allout-widgets.el (allout-widgets-tally):
15501         Initialize allout-widgets-tally as a hash table rather than nil to
15502         prevent mode-line redisplay warnings.  Also, clarify the module
15503         description and fix a comment typo.
15505 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
15507         * help-fns.el (describe-variable): Don't complete keywords.
15508         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15510 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
15512         * emacs-lisp/package.el (package-version-join): Impose a standard
15513         string representation for pre/alpha/beta version lists.
15514         (package-unpack-single): Standardize the directory name by passing
15515         it through package-version-join.
15516         (package-strip-rcs-id): Accept any version string that does not
15517         signal an error in version-to-list.
15519 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
15521         * simple.el (delete-trailing-whitespace): Return nil for the
15522         benefit of `write-file-functions'.
15524 2011-03-10  Glenn Morris  <rgm@gnu.org>
15526         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15528         * vc/vc-git.el (vc-git-program): New option.
15529         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15530         (vc-git--call): Use it.
15532         * eshell/esh-util.el (eshell-condition-case): Doc fix.
15534         * cus-edit.el (Custom-newline): If no button at point, look
15535         for a subgroup button at start-of-line.  (Bug#2298)
15537         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15539 2011-03-10  Julien Danjou  <julien@danjou.info>
15541         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15542         `cursor-type' is nil.
15544 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
15546         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15548 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
15550         * allout.el: Change so yank of distinctive-bullet items
15551         preserves the existing header prefix, rebulleting it if necessary,
15552         rather than replacing it.  This is necessary for proper operation
15553         of cooperative addons like allout-widgets.
15554         (allout-make-topic-prefix, allout-rebullet-heading):
15555         Change SOLICIT arg to INSTEAD, and interpret additionally a string
15556         value as alternate bullet to be used, instead of prompting the user
15557         for a bullet character.
15559 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
15561         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15562         Do not use `tramp-file-name-port', because this returns also
15563         `tramp-default-port'.
15565 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
15567         * net/rcirc.el (rcirc-handler-001): Remove useless
15568         with-rcirc-process-buffer.
15569         (rcirc-check-auth-status): Swap arguments to string-match.
15571 2011-03-09  Glenn Morris  <rgm@gnu.org>
15573         * shell.el (shell-mode):
15574         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
15576         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15577         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
15579 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
15581         * emacs-lisp/package.el (package-refresh-contents)
15582         (package-menu-execute): Use condition-case-no-debug.
15584 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
15586         * simple.el (shell-command-to-string): Use `process-file'.
15588         * emacs-lisp/package.el (package-tar-file-info): Handle also
15589         remote files.
15591         * emacs-lisp/package-x.el (package-upload-buffer-internal):
15592         Use `equal' for upload base check.
15594 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
15596         * textmodes/texinfo.el (texinfo-environments):
15597         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
15599 2011-03-08  Glenn Morris  <rgm@gnu.org>
15601         * cus-start.el (cursor-in-non-selected-windows):
15602         Fix :set quoting oddness.  (Bug#8192)
15604         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15605         in some setf expressions.  (Bug#2159)
15607 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
15609         * custom.el (custom-available-themes): Return themes in
15610         alphabetical order.
15612 See ChangeLog.15 for earlier changes.
15614 ;; Local Variables:
15615 ;; coding: utf-8
15616 ;; End:
15618   Copyright (C) 2011-2012  Free Software Foundation, Inc.
15620   This file is part of GNU Emacs.
15622   GNU Emacs is free software: you can redistribute it and/or modify
15623   it under the terms of the GNU General Public License as published by
15624   the Free Software Foundation, either version 3 of the License, or
15625   (at your option) any later version.
15627   GNU Emacs is distributed in the hope that it will be useful,
15628   but WITHOUT ANY WARRANTY; without even the implied warranty of
15629   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15630   GNU General Public License for more details.
15632   You should have received a copy of the GNU General Public License
15633   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.