Fixes to window size calculations in term.el.
[emacs.git] / lisp / ChangeLog
blobd08b972c23a12962471c14b220cb7bd75a602f96
1 2012-06-20  Chong Yidong  <cyd@gnu.org>
3         * term.el (term-window-width): Handle the case of a missing right
4         fringe (Bug#8837).
5         (term-check-size): Use window-text-height (Bug#5445).
6         (term-mode): Use define-derived-mode.  Minor cleanups.
8 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
10         * net/ange-ftp.el (ange-ftp-get-passwd): Bind
11         `enable-recursive-minibuffers'.
12         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
14 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
16         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
18 2012-06-19  Glenn Morris  <rgm@gnu.org>
20         * progmodes/python.el (python-mode): Derive from prog-mode.
22 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
24         * emulation/edt.el (edt-default-menu-bar-update-buffers)
25         (edt-user-menu-bar-update-buffers): New functions.
26         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
28 2012-06-19  Chong Yidong  <cyd@gnu.org>
30         * subr.el (with-selected-window): Preserve the selected window's
31         terminal's top-frame (Bug#4702).
33         * window.el (save-selected-window): Likewise.
35 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
37         * progmodes/python.el (python-rx-constituents): Move backquote.
38         (python-skeleton-define, python-define-auxiliary-skeleton):
39         Use `declare'.
41 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
43         * minibuffer.el (read-file-name-default): Revert the patch from
44         2012-06-17.
46 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
48         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
49         (pcase--u1, pcase--q1): Don't use apply-partially.
51 2012-06-18  Glenn Morris  <rgm@gnu.org>
53         * progmodes/python.el (python-proc, python-buffer)
54         (python-send-receive, python-send-string): Fix obsolete versions.
56 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
58         * window.el (special-display-p): Completely remove stringp
59         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
61 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
63         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
65         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
67         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
68         * net/tramp-sh.el (tramp-maybe-open-connection):
69         Throw if `non-essential' is non-nil.
71 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
73         * window.el (special-display-p): Signal an error if BUFFER-NAME
74         is not a string (Bug#11713).
76 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
78         * progmodes/python.el (python-info-beginning-of-backslash):
79         Rename from python-info-beginning-of-backlash, as a spelling fix.
81 2012-06-17  Chong Yidong  <cyd@gnu.org>
83         * term.el (term-emulate-terminal): If term-check-size is called,
84         move point to the process mark without resetting point (Bug#4635).
86 2012-06-17  Glenn Morris  <rgm@gnu.org>
88         * international/mule-cmds.el (mule-menu-keymap)
89         (set-language-environment, set-locale-environment): Doc tweaks.
91 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
93         * cus-face.el (custom-face-attributes): Add wave-style underline
94         attribute.
95         * faces.el (set-face-attribute): Update docstring to describe
96         wave-style underline attribute.
98 2012-06-16  Chong Yidong  <cyd@gnu.org>
100         * term/xterm.el (terminal-init-xterm): Discard input before
101         querying background mode (Bug#10959).
103 2012-06-16  Stefan Merten  <smerten@oekonux.de>
105         * textmodes/rst.el: Added and corrected some comments.
106         (rst-re-alist-def): Improve symbol syntax.
107         (rst-mode-syntax-table): Correct syntax entries.
108         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
109         (rst-official-version, rst-official-cvs-rev): Update version
110         information.
112 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
114         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
115         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
117 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
119         * progmodes/python.el: New python.el merge.
120         (python-guess-indent): Obsolete var.
121         (python-indent-guess-indent-offset): New defcustom.
122         (python-indent): Obsolete var.
123         (python-indent-offset): New defcustom.
124         (python-python-command, python-jython-command): Delete var.
125         (python-shell-interpreter): New defcustom.
126         (python-pdbtrack-do-tracking-p): Delete var.
127         (python-pdbtrack-activate): New defcustom.
128         (python-use-skeletons): Obsolete var.
129         (python-skeleton-autoinsert): New defcustom.
130         (inferior-python-filter-regexp, python-continuation-offset)
131         (python-honour-comment-indentation, python-indent-string-contents)
132         (python-jython-packages, python-mode-hook)
133         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
134         (python-shell-prompt-alist)
135         (python-source-modes): Delete defcustoms.
136         (python-check-buffer-name, python-eldoc-setup-code)
137         (python-eldoc-string-code, python-ffap-setup-code)
138         (python-ffap-string-code, python-fill-comment-function)
139         (python-fill-decorator-function, python-fill-paren-function)
140         (python-fill-string-function, python-imenu-include-defun-type)
141         (python-imenu-make-tree, python-imenu-subtree-root-label)
142         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
143         (python-shell-compilation-regexp-alist)
144         (python-shell-completion-module-string-code)
145         (python-shell-completion-pdb-string-code)
146         (python-shell-completion-setup-code)
147         (python-shell-completion-string-code)
148         (python-shell-enable-font-lock, python-shell-exec-path)
149         (python-shell-extra-pythonpaths)
150         (python-shell-internal-buffer-name, python-shell-interpreter-args)
151         (python-shell-process-environment)
152         (python-shell-prompt-block-regexp)
153         (python-shell-prompt-output-regexp)
154         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
155         (python-shell-send-setup-max-wait, python-shell-setup-codes)
156         (python-shell-virtualenv-path): New defcustoms.
157         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
158         (inferior-python-mode-syntax-table, python--prompt-regexp)
159         (python-buffer, python-command python-python-command)
160         (python-default-template, python-imports, python-indent-index)
161         (python-indent-list, python-indent-list-length)
162         (python-mode-running, python-pdbtrack-is-tracking-p)
163         (python-preoutput-continuation, python-preoutput-leftover)
164         (python-preoutput-result, python-preoutput-skip-next-prompt)
165         (python-prev-dir/file, python-recursing)
166         (python-saved-check-command, python-version-checked)
167         (python-which-func-length-limit)
168         (view-return-to-alist): Delete vars.
169         (python-check-custom-command, python-dotty-syntax-table)
170         (python-imenu-index-alist, python-indent-current-level)
171         (python-indent-dedenters, python-indent-levels)
172         (python-nav-beginning-of-defun-regexp)
173         (python-nav-list-defun-positions-cache)
174         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
175         (python-shell-internal-buffer)
176         (python-skeleton-available): New vars.
177         (def-python-skeleton): Delete macro.
178         (python-skeleton-define): New macro.
179         (python-define-auxiliary-skeleton, python-rx): New macros.
180         (python-insert-class): Delete command.
181         (python-skeleton-class): New command.
182         (python-insert-def): Delete command.
183         (python-skeleton-def): New command.
184         (python-insert-for): Delete command.
185         (python-skeleton-for): New command.
186         (python-insert-if): Delete command.
187         (python-skeleton-if): New command.
188         (python-insert-try/except, python-insert-try/finally): Delete commands.
189         (python-skeleton-try): New command.
190         (python-insert-while): Delete command.
191         (python-skeleton-while): New command.
192         (python-backspace): Delete command.
193         (python-indent-dedent-line-backspace): New command.
194         (python-electric-colon): Delete command.
195         (python-indent-electric-colon): New command.
196         (python-guess-indent): Delete command.
197         (python-indent-guess-indent-offset): New command.
198         (python-shift-left): Delete command.
199         (python-indent-shift-left): New command.
200         (python-shift-right): Delete command.
201         (python-indent-shift-right): New command.
202         (python-find-function): Delete command.
203         (python-nav-jump-to-defun): New command.
204         (python-next-statement): Delete command.
205         (python-nav-forward-sentence): New command.
206         (python-previous-statement): Delete command.
207         (python-nav-backward-sentence): New command.
208         (python-fill-paragraph): Delete command.
209         (python-fill-paragraph-function): New command.
210         (python-send-buffer): Delete command.
211         (python-shell-send-buffer): New command.
212         (python-send-defun): Delete command.
213         (python-shell-send-defun): New command.
214         (python-send-region, python-send-region-and-go): Delete commands.
215         (python-shell-send-region)
216         (python-shell-switch-to-shell): New commands.
217         (python-send-string): Delete command.
218         (python-shell-send-string): New command.
219         (python-switch-to-python): Delete command.
220         (python-shell-switch-to-shell): New command.
221         (python-describe-symbol): Delete command.
222         (python-eldoc-at-point): New command.
223         (python--set-prompt-regexp, python-args-to-list)
224         (python-after-info-look, python-check-version)
225         (python-check-comint-prompt, python-find-imports)
226         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
227         (python-unload-function, python-expand-template)
228         (python-maybe-jython, python-preoutput-filter)
229         (python-pdbtrack-get-source-buffer)
230         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
231         (python-pdbtrack-toggle-stack-tracking)
232         (python-pdbtrack-track-stack-file, python-initial-text)
233         (python-first-word, python-comment-line-p, python-send-command)
234         (python-setup-brm, python-sentinel, python-set-proc)
235         (python-skip-out, python-input-filter, python-outdent-p)
236         (python-outline-level, python-backslash-continuation-line-p)
237         (python-end-of-block, python-end-of-statement, python-mark-block)
238         (python-beginning-of-block, python-beginning-of-statement)
239         (python-blank-line-p, python-beginning-of-string)
240         (python-open-block-statement-p): Delete functions.
241         (python-indent-line, python-indent-line-1): Delete functions.
242         (python-indent-line): New function.
243         (python-indentation-levels): Delete function.
244         (python-indent-calculate-levels): New function.
245         (python-proc): Delete function.
246         (python-shell-get-process): New function.
247         (python-send-receive): Delete function.
248         (python-shell-send-string-no-output): New function.
249         (python-module-path): Delete function.
250         (python-ffap-module-path): New function.
251         (python-completion-at-point)
252         (python-symbol-completions): Delete functions.
253         (python-completion-complete-at-point): New function.
254         (python-load-file): Delete function.
255         (python-shell-send-file): New function.
256         (python-calculate-indentation): Delete function.
257         (python-indent-calculate-indentation): New function.
258         (python-skip-comments/blanks): Delete function.
259         (python-util-forward-comment): New function.
260         (python-continuation-line-p): Delete function.
261         (python-info-continuation-line-p): New function.
262         (python-which-func, python-current-defun): Delete function.
263         (python-info-current-defun): New function.
264         (python-beginning-of-defun): Delete function.
265         (python-nav-beginning-of-defun): New function.
266         (python-close-block-statement-p)
267         (python-block-end-p): Delete function.
268         (python-info-closing-block): New function.
269         (python-comint-output-filter-function)
270         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
271         (python-fill-comment, python-fill-decorator, python-fill-paren)
272         (python-fill-string, python-imenu-make-element-tree)
273         (python-imenu-make-tree, python-imenu-tree-assoc)
274         (python-indent-context, python-indent-dedent-line)
275         (python-indent-line-function)
276         (python-indent-post-self-insert-function)
277         (python-indent-toggle-levels)
278         (python-info-assignment-continuation-line-p)
279         (python-info-beginning-of-backlash)
280         (python-info-block-continuation-line-p)
281         (python-info-closing-block-message)
282         (python-info-line-ends-backslash-p)
283         (python-info-looking-at-beginning-of-defun)
284         (python-info-ppss-context, python-info-ppss-context-type)
285         (python-nav-list-defun-positions, python-nav-read-defun)
286         (python-nav-sentence-end, python-nav-sentence-start)
287         (python-pdbtrack-comint-output-filter-function)
288         (python-pdbtrack-set-tracked-buffer)
289         (python-shell-calculate-exec-path)
290         (python-shell-calculate-process-environment)
291         (python-shell-completion--do-completion-at-point)
292         (python-shell-completion--get-completions)
293         (python-shell-completion-complete-at-point)
294         (python-shell-completion-complete-or-indent)
295         (python-shell-get-or-create-process)
296         (python-shell-get-process-name)
297         (python-shell-internal-get-or-create-process)
298         (python-shell-internal-get-process-name)
299         (python-shell-internal-send-string, python-shell-make-comint)
300         (python-shell-parse-command, python-shell-send-setup-code)
301         (python-skeleton-add-menu-items)
302         (python-util-clone-local-variables, python-util-position)
303         (run-python-internal, python-indentation-levels)
304         (python-nav-beginning-of-defun)
305         (python-completion-complete-at-point): New functions.
306         (run-python): Change arguments.  New API requirements.
308 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
310         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
311         (bug#11649).
313         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
314         (macroexp--expand-all): Use it.
316         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
317         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
318         Use `cl-function' instead.
320 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
322         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
323         Suggested by Stefan Monnier while discussing bug#11657.
325 2012-06-14  Sam Steingold  <sds@gnu.org>
327         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
329 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
331         * play/doctor.el (doctor-doc): Remove parameter and use
332         doctor-sent instead of sent.
333         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
335 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
337         * files.el: Require cl-lib.
338         (file-name-non-special): Replace case -> cl-case.
340         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
342         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
343         mapping from #' to function*.
345 2012-06-13  Chong Yidong  <cyd@gnu.org>
347         * mouse.el (mouse-drag-track): Do not set the mark if the user
348         releases the mouse without selecting anything (Bug#11588).
350 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
352         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
353         as well (bug#11646).
355         * loadup.el: Count byte-code functions as well.
357         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
358         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
360         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
361         (bug#11649).  Add cl-defun and cl-defmacro.
363 2012-06-13  Drew Adams  <drew.adams@oracle.com>
365         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
366         Fix last change.
368 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
370         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
371         Otherwise, it blocks in batch mode.
373 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
375         * help-mode.el (bookmark-make-record-default): Declare.
377 2012-06-13  Chong Yidong  <cyd@gnu.org>
379         * emacs-lisp/package.el (list-packages): Compute a list of
380         packages that are newly-available since the last list-packages
381         invocation.
382         (package-menu--new-package-list): New var.
383         (package-menu--generate, package-menu--print-info)
384         (package-menu--status-predicate, package-menu-mark-install):
385         Handle new status label "new".
387 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
389         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
390         conversion to backquotes.
392 2012-06-12  Chong Yidong  <cyd@gnu.org>
394         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
395         Rename from gud-inhibit-global-bindings.
397         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
399         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
400         hook from nxml-glyph-set-hook.
402         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
403         declaration.
405         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
407         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
408         Convert to defcustom.
410 2012-06-12  Drew Adams  <drew.adams@oracle.com>
412         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
413         New functions.
414         (help-mode): Use them.
416 2012-06-11  Glenn Morris  <rgm@gnu.org>
418         * progmodes/fortran.el (fortran-font-lock-keywords-3):
419         Use preprocessor face for directives.
420         (fortran-directive-re): Doc fix.
422 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
424         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
425         conversion to backquotes (bug#11652).
427         Fix compiler-expansion of CL's cXXr functions (bug#11673).
428         * emacs-lisp/cl-lib.el (cl--defalias): New function.
429         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
430         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
431         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
432         (cl-ninth, cl-tenth): Mark them as inlinable.
433         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
434         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
435         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
436         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
437         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
438         (cl-list*, cl-adjoin): Don't put an autoload manually.
439         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
440         (cl--compiler-macro-list*): Add autoload cookie.
441         (cl--compiler-macro-cXXr): New function.
443         * help-fns.el (help-fns--compiler-macro): New function extracted from
444         describe-function-1; follow aliases and use `compiler-macro' property.
445         (describe-function-1): Use it.
447 2012-06-11  Chong Yidong  <cyd@gnu.org>
449         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
450         is uninstalled, if imagemagick is installed.
452 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
454         * emacs-lisp/cl-lib.el: Use lexical-binding.
455         (cl-map-extents, cl-maclisp-member): Remove.
456         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
457         (cl--set-substring, cl--block-wrapper, cl--block-throw)
458         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
459         * emacs-lisp/cl-extra.el: Use lexical-binding.
460         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
461         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
462         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
463         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
464         * emacs-lisp/cl-seq.el: Use lexical-binding.
465         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
466         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
467         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
468         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
469         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
470         CL's internals.
472 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
474         Sync with Tramp 2.2.6-pre.
476         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
477         `print-length' and `print-level' to nil, in order to avoid
478         truncation.  Reported by Christopher Schmidt
479         <christopher@ristopher.com>.
481         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
483         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
484         New defmacro.
485         (tramp-compat-copy-directory): Add optional argument
486         COPY-CONTENTS.  It is not handled yet.
488         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
489         (tramp-ftp-file-name-p): Simplify.
491         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
492         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
493         connection vector.
495         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
496         (tramp-methods): Do not use `tramp-password-end-of-line'.
497         (tramp-completion-function-alist-putty): Handle UNIX case.
498         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
499         (tramp-do-file-attributes-with-stat)
500         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
501         gid as real numbers.  They could run out of integer range on cygwin.
502         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
503         (tramp-sh-handle-expand-file-name): Handle hops.
504         (tramp-open-connection-setup-interactive-shell):
505         Use `tramp-cleanup'.  Move check for busyboxes ...
506         (tramp-find-shell): ... here.  Simplify implementation.
507         Set "remote-shell" property also for alternative shells.
508         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
509         If failing, a regular file would be written otherwise.
510         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
511         (tramp-find-inline-encoding): Cache the coding commands in the
512         process cache.  Apply test command on the remote side, if defined.
513         (tramp-find-inline-compress): Cache the compress commands in the
514         process cache.
515         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
516         when requested.  Handle hops.
517         (tramp-current-connection): New defvar.
518         (tramp-maybe-open-connection): Use `tramp-cleanup'.
519         Throw `suppress', if there was a failed connection shortly before.
520         Handle user interrupt.  (Bug#10187)
521         (tramp-get-inline-compress, tramp-get-inline-coding):
522         Read connection properties from the process cache.
524         * net/tramp-smb.el (tramp-smb-server-version)
525         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
526         New defconsts.
527         (tramp-smb-prompt): Extend for powershell prompt.
528         (tramp-smb-file-name-handler-alist): Add handlers for
529         `process-file', `shell-command' and `start-file-process'.
530         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
531         (tramp-smb-winexe-shell-command-switch): New defcustoms.
532         (tramp-smb-file-name-p): Simplify.
533         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
534         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
535         (tramp-smb-shell-quote-argument): New defuns.
536         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
537         Implement using "tar".  By this, time-stamps are preserved.
538         (tramp-smb-handle-copy-file): Handle also the case of directories.
539         (tramp-smb-do-file-attributes-with-stat)
540         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
541         Use `tramp-get-connection-buffer').
542         (tramp-smb-handle-rename-file): Use "rename", when source and
543         target are on the same share.
544         (tramp-smb-maybe-open-connection): Handle wrong passwords.
545         Use `tramp-smb-server-version'.
546         (tramp-smb-wait-for-output): Remove prompt.
548         * net/tramp.el (top): Require 'cl.
549         (tramp-methods, tramp-rsh-end-of-line):
550         Remove `tramp-password-end-of-line' from docstring.
551         (tramp-save-ad-hoc-proxies): New defcustom.
552         (tramp-completion-function-alist): Adapt docstring.
553         (tramp-default-password-end-of-line): Remove defcustom.
554         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
555         (tramp-user-regexp, tramp-file-name-regexp-unified)
556         (tramp-file-name-regexp-url): Extend regexp by hop separator.
557         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
558         (tramp-remote-file-name-spec-regexp): New defconst.
559         (tramp-file-name-structure): Extend structure for hops.
560         (tramp-get-method-parameter): Move up.
561         (tramp-file-name-p, tramp-dissect-file-name)
562         (with-parsed-tramp-file-name): Handle hops.
563         (tramp-file-name-hop): New defun.
564         (tramp-make-tramp-file-name): New optional arg HOP.
565         (tramp-message-show-progress-reporter-message): New defvar.
566         (tramp-with-progress-reporter): Use it.  We cannot use
567         `tramp-message-show-message' here, because this suppresses also
568         error buffers.
569         (tramp-error-with-buffer): Suppress buffer view, if
570         `tramp-message-show-message' is nil.
571         Use `tramp-get-connection-buffer'.
572         (tramp-cleanup): New defun.
573         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
574         (tramp-file-name-handler): If `debug-on-error' is set, propagate
575         an error unchanged.
576         (tramp-completion-handle-file-name-all-completions): Handle hops.
577         Fix an error when called from ido.
578         (tramp-completion-dissect-file-name): Use better local variable
579         name.  Add hop to the vector.
580         (tramp-handle-insert-file-contents): Use progress-reporter for the
581         whole scenario.
582         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
583         to `t'.
584         (tramp-check-for-regexp): Simplify search.
585         (tramp-enter-password): Remove it.  Move implementation ...
586         (tramp-action-password): ... here.
587         (tramp-mode-string-to-int, tramp-local-host-p)
588         (tramp-make-tramp-temp-file, tramp-read-passwd)
589         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
590         Set tramp-autoload cookie.
592         * net/trampver.el: Update release number.
594 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
595             Michael Albinus  <michael.albinus@gmx.de>
597         * net/tramp.el (tramp-set-completion-function): Fix docstring.
598         (tramp-parse-group, tramp-parse-file)
599         (tramp-parse-shostkeys-sknownhosts): New defuns.
600         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
601         (tramp-parse-shosts-group, tramp-parse-sconfig)
602         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
603         (tramp-parse-sknownhosts, tramp-parse-hosts)
604         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
605         Use them.
606         (tramp-parse-passwd-group, tramp-parse-netrc-group)
607         (tramp-parse-putty-group): Don't narrow.
608         (tramp-parse-putty): Make a loop.
609         (tramp-file-name-handler): Catch the `suppress' signal.
611 2012-06-11  Chong Yidong  <cyd@gnu.org>
613         * image.el (imagemagick-register-types): Put the ImageMagick entry
614         at the end of image-type-file-name-regexps.
616 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
618         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
619         (pcase, pcase-let*, pcase-dolist): Use them.
621 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
623         * emacs-lisp/pcase.el (pcase--let*): New function.
624         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
625         (pcase--expand): Use macroexp-let².
627 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
629         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
630         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
631         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
632         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
633         * emacs-lisp/derived.el: Use pcase instead of `cl'.
634         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
636 2012-06-10  Glenn Morris  <rgm@gnu.org>
638         * mail/rmail.el (rmail-yank-current-message): Leave point at
639         correct position.  (Bug#11660)
641 2012-06-10  Chong Yidong  <cyd@gnu.org>
643         * allout-widgets.el: Fix code header.
645 2012-06-10  Chong Yidong  <cyd@gnu.org>
647         * cus-edit.el (customize-changed-options-previous-release):
648         Bump to 24.1.
650 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
652         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
654 2012-06-09  Chong Yidong  <cyd@gnu.org>
656         * ebuff-menu.el (electric-buffer-list): Preserve header line.
658 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
660         * window.el (special-display-popup-frame): Don't use
661         window--display-buffer (Bug#11651).
663 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
665         Fix parallel builds: make sure loaddefs.el is not being written
666         while Lisp files are compiled.
667         (compile): Don't depend on 'mh-autoloads'.
668         (compile-CMD, compile-SH): Depend on 'autoloads'.
669         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
671         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
673 2012-06-09  Chong Yidong  <cyd@gnu.org>
675         * face-remap.el (face-remap-add-relative, face-remap-set-base)
676         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
677         Doc fixes (Bug#11225).
679 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
681         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
682         a function if there's a clear indication that it has a compiler-macro.
683         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
684         (macro-declarations-alist): Add arglist to declaration functions.
685         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
686         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
687         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
688         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
689         Also add autoload to find the compiler macro.
690         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
691         (cl--compiler-macro-member, cl--compiler-macro-assoc)
692         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
693         (cl--compiler-macro-get): New functions, replacing calls to
694         cl-define-compiler-macro.
695         (cl-typep) [compiler-macro]: Use macroexp-let².
697 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
699         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
700         string properly, fixes Bug#11473.
702 2012-06-08  Chong Yidong  <cyd@gnu.org>
704         * faces.el (set-face-attribute): Doc fix.
705         (modify-face): Don't use :bold and :italic.
706         (error, warning, success): Tweak definitions.
708         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
709         (custom-modified, custom-set, custom-changed, custom-themed)
710         (custom-saved, custom-button, custom-button-mouse)
711         (custom-button-pressed, custom-state, custom-comment-tag)
712         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
713         (custom-group-subtitle): Use new-style face specs.
714         (custom-invalid-face, custom-rogue-face, custom-modified-face)
715         (custom-set-face, custom-changed-face, custom-saved-face)
716         (custom-button-face, custom-button-pressed-face)
717         (custom-documentation-face, custom-state-face)
718         (custom-comment-face, custom-comment-tag-face)
719         (custom-variable-tag-face, custom-variable-button-face)
720         (custom-face-tag-face, custom-group-tag-face-1)
721         (custom-group-tag-face): Remove obsolete face alias.
723         * epa.el (epa-validity-high, epa-validity-medium)
724         (epa-validity-low, epa-mark, epa-field-name, epa-string)
725         (epa-field-name, epa-field-body):
726         * font-lock.el (font-lock-comment-face, font-lock-string-face)
727         (font-lock-keyword-face, font-lock-builtin-face)
728         (font-lock-function-name-face, font-lock-variable-name-face)
729         (font-lock-type-face, font-lock-constant-face):
730         * ido.el (ido-first-match, ido-only-match, ido-subdir)
731         (ido-virtual, ido-indicator, ido-incomplete-regexp):
732         * speedbar.el (speedbar-button-face, speedbar-file-face)
733         (speedbar-directory-face, speedbar-tag-face)
734         (speedbar-selected-face, speedbar-highlight-face)
735         (speedbar-separator-face):
736         * whitespace.el (whitespace-newline, whitespace-space)
737         (whitespace-hspace, whitespace-tab, whitespace-trailing)
738         (whitespace-line, whitespace-space-before-tab)
739         (whitespace-space-after-tab, whitespace-indentation)
740         (whitespace-empty):
741         * emulation/cua-base.el (cua-global-mark):
742         * eshell/em-prompt.el (eshell-prompt):
743         * net/newst-plainview.el (newsticker-new-item-face)
744         (newsticker-old-item-face, newsticker-immortal-item-face)
745         (newsticker-obsolete-item-face, newsticker-date-face)
746         (newsticker-statistics-face, newsticker-default-face):
747         * net/newst-reader.el (newsticker-feed-face)
748         (newsticker-extra-face, newsticker-enclosure-face):
749         * net/newst-treeview.el (newsticker-treeview-face)
750         (newsticker-treeview-new-face, newsticker-treeview-old-face)
751         (newsticker-treeview-immortal-face)
752         (newsticker-treeview-obsolete-face)
753         (newsticker-treeview-selection-face):
754         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
755         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
756         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
757         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
758         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
759         (nxml-outline-active-indicator, nxml-outline-ellipsis):
760         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
761         (mpuz-text):
762         * progmodes/vera-mode.el (vera-font-lock-number)
763         (vera-font-lock-function, vera-font-lock-interface):
764         * textmodes/table.el (table-cell): Use new-style face specs, and
765         don't use the old :bold and :italic attributes.
767         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
768         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
769         (ebrowse-member-class, ebrowse-progress): Likewise.
770         (ebrowse-tree-mark-face, ebrowse-root-class-face)
771         (ebrowse-file-name-face, ebrowse-default-face)
772         (ebrowse-member-attribute-face, ebrowse-member-class-face)
773         (ebrowse-progress-face): Remove obsolete faces.
775         * progmodes/flymake.el (flymake-errline, flymake-warnline):
776         Inherit from error and warning faces respectively.
778         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
779         Likewise.
780         (flyspell-incorrect-face, flyspell-duplicate-face):
781         Remove obsolete aliases.
783 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
785         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
786         Avoid infloop.
788 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
790         * startup.el (argv, argi): Make lexically scoped.
791         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
792         * emacs-lisp/cl-macs.el: Use lexical-binding.
793         Rename cl-bind-* to cl--bind-*.
794         * files.el: Don't require `cl' since it doesn't use it.
795         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
797 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
799         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
800         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
801         instead of calling external sort utility.
802         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
804 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
806         * descr-text.el (describe-char): Mention how to insert the
807         character, if the current input method doesn't support it.
808         See the discussion in this thread for the details:
809         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
811 2012-06-08  Sam Steingold  <sds@gnu.org>
813         * bindings.el (global-map): Bind XF86Forward to next-buffer and
814         XF86Back to previous-buffer.
815         (minibuffer-local-map): Bind them to next-history-element and
816         previous-history-element respectively.
817         * help-mode.el (help-mode-map): Bind them to help-go-forward and
818         help-go-back respectively.
819         * info.el (Info-mode-map): Bind them to Info-history-forward and
820         Info-history-back respectively.
821         These are the keys next to Up on the ThinkPad keyboard.
823 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
825         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
826         * emacs-lisp/cl-macs.el: Provide itself.
827         (cl--labels-convert-cache): New var.
828         (cl--labels-convert): New function.
829         (cl-flet, cl-labels): New implementation with new semantics, relying on
830         lexical-binding.
831         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
832         (cl-closure-vars, cl--function-convert-cache)
833         (cl--function-convert): Move from cl-macs.el.
834         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
835         rename by removing the "cl-" prefix.
836         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
838 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
840         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
841         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
842         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
843         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
844         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
845         (cl-hash-table-count): Add old compatibility aliases.
847         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
848         Use macroexpand-all-environment instead.
849         (cl--old-macroexpand): New var.
850         (cl--sm-macroexpand): New function.
851         (cl-symbol-macrolet): Use it during macro expansion.
852         (cl--function-convert-cache): New var.
853         (cl--function-convert): New function, extracted from
854         cl-macroexpand-all.
855         (cl-lexical-let): Use it.
857         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
858         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
859         (cl-member): Remove old alias.
861         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
862         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
863         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
864         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
865         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
866         (cl-macroexpand-cmacs): Remove var.
867         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
868         Use macroexpand-all instead.
870 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
872         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
873         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
874         (macroexp-copyable-p): New functions and macros.
875         * emacs-lisp/edebug.el (edebug-unwrap):
876         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
877         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
878         (pcase--let*): Remove.
879         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
880         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
881         macroexp-const-p instead.
882         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
884         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
885         instead of "cl-" for internal definitions.  Use macroexp-const-p.
886         (cl-old-bc-file-form): Remove var.
887         (cl-const-exprs-p): Remove fun.
888         (cl-labels, cl-macrolet): Use backquote.
889         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
890         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
891         (cl-define-setf-expander): Rename from cl-define-setf-method.
892         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
894         * international/mule-cmds.el: Don't require CL.
895         (view-hello-file): Don't use `letf'.
897 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
899         * tmm.el (tmm-prompt): Use string-prefix-p.
900         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
901         (tmm-add-prompt): Use minibuffer-completion-help.
902         (tmm-delete-map): Remove.
904         * subr.el (kbd): Make it its own function.
906 2012-06-07  Stefan Merten  <smerten@oekonux.de>
908         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
909         Silence compiler warnings.  Fix versions.
910         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
911         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
912         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
913         (rst-package-emacs-version-alist): Correct Emacs version to
914         represent major merge with upstream.
915         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
917 2012-06-06  Glenn Morris  <rgm@gnu.org>
919         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
920         Only print environment variables if set.
922 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
924         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
925         (macroexp--cons): Rename from maybe-cons.
926         (macroexp--accumulate): Rename from macroexp-accumulate.
927         (macroexp--all-forms): Rename from macroexpand-all-forms.
928         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
929         (macroexp--expand-all): Rename from macroexpand-all-1.
931 2012-06-06  Sam Steingold  <sds@gnu.org>
933         * calendar/calendar.el (calendar-in-read-only-buffer):
934         Call `special-mode' to enable the standard read-only keybindings.
936 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
938         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
939         with "loading" messages (bug#11635).
941 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
943         * files.el (enable-remote-dir-locals): New option.
944         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
946         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
947         Ensure, that the temp directory is local.
949         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
950         `temporary-file-directory'.
952         * progmodes/python.el (python-send-region): Ensure, that the
953         temporary file is created also in the remote case.
955 2012-06-06  Glenn Morris  <rgm@gnu.org>
957         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
958         (vc-rcs-update-changelog): Use it.
960         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
962         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
963         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
964         (vc-sccs-diff): Replace use of the external vcdiff script.
966 2012-06-05  Glenn Morris  <rgm@gnu.org>
968         * ledit.el: Move to obsolete/.
970 2012-06-05  Sam Steingold  <sds@gnu.org>
972         * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
973         patch (Bug#11140).
975 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
977         * emacs-list/cust-print.el: Move to obsolete.
979         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
980         compiler-macro expansion.
982         Add native compiler-macro support.
983         * emacs-lisp/macroexp.el (macroexpand-all-1):
984         Support compiler-macros directly.  Properly follow aliases and apply
985         the compiler macros more thoroughly.
986         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
987         macroexpand now properly follows aliases.
988         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
989         (cl-compiler-macroexpand): Use new prop.
990         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
992         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
994 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
996         * window.el (get-lru-window, get-mru-window, get-largest-window):
997         New argument NOT-SELECTED to avoid picking the selected window.
998         (window--display-buffer-1, window--display-buffer-2): Replace by
999         new function window--display-buffer
1000         (display-buffer-same-window, display-buffer-reuse-window)
1001         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1002         Use window--display-buffer.
1003         (display-buffer-use-some-window): Remove temporary dedication
1004         hack by calling get-lru-window and get-largest-window with
1005         NOT-SELECTED argument non-nil.  Call window--display-buffer.
1007 2012-06-05  Glenn Morris  <rgm@gnu.org>
1009         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1010         Replace external vcdiff script.
1012 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1014         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1016 2012-06-04  Chong Yidong  <cyd@gnu.org>
1018         * image.el (imagemagick-types-inhibit): Revert last change.
1019         Add INFO and M.
1020         (imagemagick-enabled-types): Remove CIN and EPS*.
1022 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1024         * emacs-lisp/cl-lib.el: Rename from cl.el.
1025         * emacs-lisp/cl.el: New compatibility file.
1026         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1027         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1028         to obey the "cl-" prefix.
1029         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1031 2012-06-03  Glenn Morris  <rgm@gnu.org>
1033         * emacs-lisp/authors.el (authors-aliases): Addition.
1035         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1036         Fix :version.
1038 2012-06-03  Stefan Merten  <smerten@oekonux.de>
1040         * textmodes/rst.el: Add comments.
1041         (rst-transition, rst-adornment): New faces.
1042         (rst-adornment-faces-alist): Make default safe to reevaluate.
1043         Fixes
1044         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1045         Improve customization tags.
1046         (rst-define-level-faces): Clarify meaning.
1048 2012-06-03  Chong Yidong  <cyd@gnu.org>
1050         * progmodes/compile.el (compilation-mode-line-fail)
1051         (compilation-mode-line-run, compilation-mode-line-exit):
1052         New faces.
1053         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1055 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
1057         * progmodes/which-func.el (which-func-update-ediff-windows):
1058         New function.  Use it in ediff-select-hook (Bug#11478).
1060 2012-06-03  Chong Yidong  <cyd@gnu.org>
1062         * bindings.el: Remove explicit help text from format-mode-line.
1063         It is now supplied by mode-line-default-help-echo.
1064         (mode-line-front-space, mode-line-end-spaces)
1065         (mode-line-misc-info): New variables.
1066         (mode-line-modes, mode-line-position): Move the default value to
1067         the variable definition.
1068         (mode-line-default-help-echo): New defcustom.
1069         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1070         (mode-line-modified-help-echo): New functions.
1071         (mode-line-mule-info, mode-line-modified): Use them.
1072         (mode-line-eol-desc, propertized-buffer-identification):
1073         Consistency fixes for help text.
1074         (mode-line-coding-system-map): Allow using mouse-3 to invoke
1075         set-buffer-file-coding-system (Bug#289).
1076         (mode-line-mule-info-help-echo): Update help text.
1078 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1080         * simple.el (execute-extended-command): Set real-this-command
1081         (bug#11506).
1083 2012-06-02  Chong Yidong  <cyd@gnu.org>
1085         Remove incorrect uses of "modeline" in comments, docstrings, and
1086         function/variable names (Bug#10329).
1088         * cus-edit.el (mode-line):
1089         * dframe.el (dframe-mouse-hscroll):
1090         * emacs-lisp/re-builder.el:
1091         * emacs-lisp/easy-mmode.el (define-minor-mode):
1092         * frame.el (set-frame-name):
1093         * help.el (lookup-minor-mode-from-indicator):
1094         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1095         * progmodes/cc-cmds.el (c-toggle-auto-newline)
1096         (c-toggle-hungry-state):
1097         * progmodes/antlr-mode.el (antlr-language-alist):
1098         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1099         * progmodes/vhdl-mode.el (vhdl-mode):
1100         * progmodes/which-func.el (which-func, which-func-cleanup-function):
1101         * term/ns-win.el (ns-face-at-pos):
1102         * term/sup-mouse.el (sup-mouse-report):
1103         * textmodes/flyspell.el (flyspell-mode-line-string):
1104         * textmodes/ispell.el (ispell-highlight-face):
1105         * textmodes/reftex-global.el:
1106         * vc/vc-arch.el (vc-arch-mode-line-string):
1107         * vc/vc-cvs.el (vc-cvs-mode-line-string):
1108         * vc/vc-git.el (vc-git-mode-line-string):
1109         * vc/vc-hooks.el (vc-display-status)
1110         (vc-default-mode-line-string):
1111         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1113         * ansi-color.el (ansi-color-faces-vector): Change default faces.
1115         * dired.el (dired-sort-set-mode-line): Rename from
1116         dired-sort-set-modeline.  All callers changed.
1118         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1119         eshell-status-in-modeline.
1121         * foldout.el (foldout-mode-line-string): Rename from
1122         foldout-modeline-string.  All callers changed.
1123         (foldout-update-mode-line): Rename from foldout-update-modeline.
1125         * subr.el (redraw-modeline): Make into obsolete alias.
1127         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1128         timeclock-modeline-display.  Make old name an alias.
1129         (timeclock-update-mode-line): Likewise.  All callers changed.
1130         (timeclock-mode-line-display): No need to check before using
1131         add-hook.
1132         (timeclock-relative, timeclock-day-over-hook)
1133         (timeclock-use-elapsed, timeclock-mode-string)
1134         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1136         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1137         crisp-mode-modeline-string.
1139         * play/solitaire.el (solitaire-build-mode-line): Rename from
1140         solitaire-build-modeline.  All callers changed.
1142         * play/zone.el (zone-hiding-mode-line): Rename from
1143         zone-hiding-modeline.  All callers changed.
1144         (zone): Remove unusued `modeline-hidden-level' property.
1146         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1147         xscheme-modeline-initialize.  All callers changed.
1149         * strokes.el (strokes-lighter): Rename from
1150         strokes-modeline-string.
1152         * textmodes/sgml-mode.el (html-face-tag-alist)
1153         (html-tag-face-alist): Use mode-line face instead of obsolete
1154         alias modeline.
1156 2012-06-02  Stefan Merten  <smerten@oekonux.de>
1158         * textmodes/rst.el: Always require `cl'.
1159         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1161 2012-06-02  Chong Yidong  <cyd@gnu.org>
1163         * image.el (imagemagick-enabled-types): Rename from
1164         imagemagick-types-enable.  Add many more types.
1165         (imagemagick-types-inhibit): Change default to nil.
1166         (imagemagick-filter-types): Caller changed.
1168 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1170         * emacs-lisp/cl-macs.el: Use backquotes.
1171         (cl-transform-function-property): Use eval-and-compile rather than
1172         abusing `require'.
1173         (defstruct): Use declare-function instead of with-no-warnings.
1175         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1176         (byte-compile-output-docform): Re-add the print-circle bindings.
1177         (byte-compile-fix-header): Use #$ just because it's shorter.
1178         (byte-compile-output-file-form): Remove defun/defmacro.
1180 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
1182         * simple.el (choose-completion): Remove now obsolete binding for
1183         owindow.
1185 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
1187         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1188         in order to avoid "Stack overflow in regexp matcher".
1190 2012-05-31  Glenn Morris  <rgm@gnu.org>
1192         * image.el: For clarity, call imagemagick-register-types at
1193         top-level, rather than relying on a custom :initialize.
1194         (imagemagick-types-enable): New option.  (Bug#11557)
1195         (imagemagick-filter-types): New function.  (Bug#7406)
1196         (imagemagick-register-types): Use imagemagick-filter-types.
1197         If disabling support, remove elements altogether rather
1198         than using an impossible regexp.
1199         (imagemagick-types-inhibit): Give it the default init function.
1201 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1203         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1204         Handle arbitrary file name lengths (Bug#11585).
1206 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
1208         * desktop.el (desktop-read): Clear previous and next buffers for
1209         all windows and bury *Messages* buffer (bug#11556).
1211 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1213         Add `declare' for `defun'.  Align `defmacro's with it.
1214         * emacs-lisp/easy-mmode.el (define-minor-mode)
1215         (define-globalized-minor-mode): Don't autoload the var definitions.
1216         * emacs-lisp/byte-run.el: Use lexical-binding.
1217         (defun-declarations-alist, macro-declarations-alist): New vars.
1218         (defmacro, defun): Use them.
1219         (make-obsolete, define-obsolete-function-alias)
1220         (make-obsolete-variable, define-obsolete-variable-alias):
1221         Use `declare'.
1222         (macro-declaration-function): Mark obsolete.
1223         * emacs-lisp/autoload.el: Use lexical-binding.
1224         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
1226 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1228         * textmodes/ispell.el (ispell-with-no-warnings):
1229         Define as a macro.
1230         (ispell-kill-ispell, ispell-change-dictionary):
1231         Use `called-interactively-p' for Emacs instead of obsolete
1232         `interactive-p'.
1234 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1236         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1237         (macro-declaration-function): Move var from C code.
1238         (macro-declaration-function): Define function with defalias.
1239         * emacs-lisp/macroexp.el (macroexpand-all-1):
1240         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1241         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1242         defun/defmacro any more.
1243         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1244         Provide fallback for unknown arglist.
1245         (byte-compile-arglist-warn): Change calling convention.
1246         (byte-compile-output-file-form): Move print-vars binding.
1247         (byte-compile-output-docform): Simplify accordingly.
1248         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1249         (byte-compile-defmacro-declaration): Remove.
1250         (byte-compile-file-form-defmumble): Generalize to defalias.
1251         (byte-compile-output-as-comment): Return byte-positions.
1252         Simplify callers accordingly.
1253         (byte-compile-lambda): Use `assert'.
1254         (byte-compile-defun, byte-compile-defmacro): Remove.
1255         (byte-compile-file-form-defalias):
1256         Use byte-compile-file-form-defmumble.
1257         (byte-compile-defalias-warn): Remove.
1259 2012-05-29  Stefan Merten  <smerten@oekonux.de>
1261         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1262         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
1264         (rst-mode-abbrev-table): Merge definition.
1265         (rst-mode): Make sure `font-lock-defaults' is buffer local.
1266         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1268 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
1270         * calendar/icalendar.el
1271         (icalendar-export-region): Export UID properly.
1273 2012-05-29 Leo <sdl.web@gmail.com>
1274         * calendar/icalendar.el (icalendar-import-format):
1275         Add `icalendar-import-format-uid' (Bug#11525).
1276         (icalendar-import-format-uid): New.
1277         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1278         Export UID.
1280 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1282         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1283         different alternative patterns.
1284         (pcase-codegen): Be more careful to preserve identity.
1285         (pcase--u1): Don't forget to mark vars as used.
1287         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1288         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1289         (byte-compile-from-buffer): ...rather than here.
1291         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1292         functions from byte-compile-function-environment.
1294 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
1296         * window.el (window-deletable-p): Avoid deleting the root window
1297         of a frame with an active minibuffer.
1299 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
1301         * simple.el (choose-completion): Use quit-window (Bug#11567).
1303 2012-05-29  Chong Yidong  <cyd@gnu.org>
1305         * whitespace.el (whitespace-cleanup): Fix usage of
1306         whitespace-empty-at-bob-regexp (Bug#11492).
1308 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1310         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1311         revert (Bug#11488).
1313 2012-05-29  Juri Linkov  <juri@jurta.org>
1315         * isearch.el (isearch-mode-map): Bind `M-s _' to
1316         `isearch-toggle-symbol'.  Bind `M-s c' to
1317         `isearch-toggle-case-fold'.
1318         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1319         (isearch-forward): Add `M-s _' to the docstring.
1320         (isearch-forward-symbol, isearch-toggle-case-fold)
1321         (isearch-symbol-regexp): New functions.  (Bug#11381)
1323 2012-05-29  Juri Linkov  <juri@jurta.org>
1325         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
1326         (isearch-occur, isearch-search-and-update): If `isearch-word' is
1327         a function, call it to get the regexp.
1328         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1329         property `isearch-message-prefix' instead of the string "word ".
1330         (isearch-search-fun-default): For the case of `isearch-word',
1331         return a lambda that calls re-search-forward/re-search-backward
1332         with a regexp returned by `word-search-regexp' or by the function
1333         in `isearch-word'.
1335 2012-05-29  Juri Linkov  <juri@jurta.org>
1337         * isearch.el (isearch-search-fun-default): New function.
1338         (isearch-search-fun): Move default part to the new function
1339         `isearch-search-fun-default'.
1340         (isearch-search-fun-function): Set the default value to
1341         `isearch-search-fun-default'.  (Bug#11381)
1343         * comint.el (comint-history-isearch-end):
1344         Use `isearch-search-fun-default'.
1345         (comint-history-isearch-search): Use `isearch-search-fun-default'
1346         and remove spacial case for `isearch-word'.
1347         (comint-history-isearch-wrap): Remove spacial case for
1348         `isearch-word'.
1350         * hexl.el (hexl-isearch-search-function):
1351         Use `isearch-search-fun-default'.
1353         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1354         Use `word-search-regexp' for `isearch-word'.
1356         * misearch.el (multi-isearch-search-fun):
1357         Use `isearch-search-fun-default'.
1359         * simple.el (minibuffer-history-isearch-search):
1360         Use `isearch-search-fun-default' and remove spacial case for
1361         `isearch-word'.
1362         (minibuffer-history-isearch-wrap): Remove spacial case for
1363         `isearch-word'.
1365         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1366         Remove spacial case for `isearch-word'.
1367         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1369 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1371         Decrease XEmacs incompatibilities.
1372         * textmodes/flyspell.el (flyspell-check-pre-word-p):
1373         Use `string-match'.
1374         (flyspell-delete-region-overlays): Use alternative definition for
1375         XEmacs.
1376         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1377         (flyspell-word): Use `process-kill-without-query' if XEmacs.
1378         (flyspell-mode-on): Use `interactive-p' if XEmacs.
1379         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1380         `define-obsolete-face-alias' under XEmacs, but old method.
1382         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1383         `with-no-warnings' definition or Emacs alias.
1384         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1385         (ispell-word): Do not use `region-p' if XEmacs.
1387 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1389         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1390         Check for `ispell-dictionary-base-alist' instead of full
1391         `ispell-dictionary-alist'.
1392         (ispell-init-process): Show spellchecker when starting new Ispell
1393         process.
1395 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1397         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1398         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1400 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
1402         * version.el (motif-version-string, gtk-version-string)
1403         (ns-version-string): Declare.
1405 2012-05-27  Juri Linkov  <juri@jurta.org>
1407         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1408         after the `eval-defun-1' specialcaseing
1409         like in `edebug-eval-defun' (bug#10181).
1411         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1412         like in `eval-defun-1'.
1414 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1416         * mail/sendmail.el (mail-yank-region):
1417         Recognize rmail-yank-current-message in addition to insert-buffer.
1418         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1419         a *mail* buffer created through rmail-start-mail with sendmail as
1420         mail-user-agent.
1422 2012-05-27  Chong Yidong  <cyd@gnu.org>
1424         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1425         Default to 256 (Bug#11267).
1427         * help.el (describe-mode): Doc fix.
1429 2012-05-26  Glenn Morris  <rgm@gnu.org>
1431         * w32-fns.el (w32-init-info): Remove.
1432         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1434         * info.el (info-initialize): For self-contained NS builds, put the
1435         included info/ directory at the front.  (Bug#2791)
1437         * paths.el (Info-default-directory-list): Make it a defcustom,
1438         mainly so that we can use custom-initialize-delay.
1440 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1442         * subr.el (buffer-has-markers-at): Mark obsolete.
1444         * subr.el (lambda): Use declare.
1446         * emacs-lisp/lisp-mode.el (lambda):
1447         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1449 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1451         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
1453 2012-05-26  Glenn Morris  <rgm@gnu.org>
1455         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1457 2012-05-25  Glenn Morris  <rgm@gnu.org>
1459         * paths.el: Remove no-byte-compile.
1460         * loadup.el: No need to load paths.el uncompiled.
1462         * image.el (imagemagick-types-inhibit): Doc fix.
1464         * version.el: Remove no-byte-compile and associated formatting.
1465         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
1466         is ancient code from when there was an "inc-vers.el".
1468 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1470         * progmodes/gdb-mi.el: Minor style changes.
1471         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1472         Turn into minor modes.
1473         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1474         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1475         (gdb-shell): Remove unneeded let-binding.
1476         (gdb-get-many-fields): Eliminate O(n²) behavior.
1478 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
1480         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1481         platforms that don't link in fontset.c.
1483 2012-05-25  Juri Linkov  <juri@jurta.org>
1485         Use the same diff color scheme as in modern VCSes (bug#10181).
1487         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1488         to avoid confusion with `diff-added' that now uses green colors.
1489         (diff-removed): Use shades of red.
1490         (diff-added): Use shades of green.
1491         (diff-changed): Leave just the yellow color.
1492         (diff-use-changed-face): New variable.
1493         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1494         how to highlight context diff changes.
1495         (diff-refine-change): Use shades of yellow.
1496         (diff-refine-removed): New face that uses shades of red.
1497         (diff-refine-added): New face that uses shades of green.
1498         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1499         `diff-refine-removed' in the call to `smerge-refine-subst'
1500         depending on the value of `diff-use-changed-face'.
1502         * vc/smerge-mode.el (smerge-mine): Use shades of red.
1503         (smerge-other): Use shades of green.
1504         (smerge-base): Use shades of yellow.
1505         (smerge-refined-change): Empty face.
1506         (smerge-refined-removed): New face that uses shades of red.
1507         (smerge-refined-added): New face that uses shades of green.
1508         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
1509         args `props-r' and `props-a', and use them.  Doc fix.
1510         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1511         on its value use different faces `smerge-refined-change',
1512         `smerge-refined-removed', `smerge-refined-added' in the call to
1513         `smerge-refine-subst'.
1515         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1516         Add face condition `min-colors 88' with shades of red.
1517         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1518         `min-colors 88' with shades of green.
1519         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1520         `min-colors 88' with shades of yellow.
1522 2012-05-24  Glenn Morris  <rgm@gnu.org>
1524         * paths.el (prune-directory-list, remote-shell-program): Move to...
1525         * files.el (prune-directory-list, remote-shell-program): ...here.
1526         For the latter, delay initialization, prefer ssh, just search PATH.
1528         * paths.el (term-file-prefix): Move to faces.el (the only user).
1529         * faces.el (term-file-prefix): Move here, make it a defcustom.
1531         * paths.el (news-directory, news-path, news-inews-program):
1532         Move to gnus/nnspool.el.
1534         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1536         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1537         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1538         Make the latter a defcustom, with a delayed initialization.
1540         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1541         These were deleted from Gnus itself late 2010.
1543 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
1545         * progmodes/which-func.el (which-func-ff-hook):
1546         Check against user-error, not error.
1548         * emacs-lisp/edebug.el (top): Do not load or set up loading of
1549         cl-specs.el, which no longer exists.
1551 2012-05-22  Glenn Morris  <rgm@gnu.org>
1553         * info.el (info-emacs-bug): New command.
1554         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1555         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1557 2012-05-21  Glenn Morris  <rgm@gnu.org>
1559         * makefile.w32-in (update-subdirs-SH):
1560         * Makefile.in (update-subdirs): Update for moved update-subdirs.
1562 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1564         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1566         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1567         Simplify Maven regexp, and make sure the file can't start with a space
1568         (bug#11517).
1570 2012-05-21  Glenn Morris  <rgm@gnu.org>
1572         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1573         Scrap superfluous subshells.
1575 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1577         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1578         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1580 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
1582         * calc/calc.el (calc-ensure-consistent-units): New variable.
1584         * calc/calc-units.el (math-consistent-units-p)
1585         (math-check-unit-consistency): New functions.
1586         (calc-quick-units, calc-convert-units):
1587         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1588         is non-nil.
1589         (calc-extract-units): Fix typo.
1591 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1593         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1595         * textmodes/flyspell.el: Commenting style, plus code simplifications.
1596         (flyspell-default-deplacement-commands): Don't spell check after
1597         repeated window/frame switches (e.g. triggered by mouse-movement).
1598         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1599         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1600         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1601         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1602         Remove unused vars.
1603         (flyspell-get-casechars, flyspell-get-not-casechars):
1604         Simplify; Don't bother removing a ] just to add it back.
1605         * textmodes/ispell.el (ispell-program-name): Use executable-find.
1607 2012-05-18  Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1609         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1610         New functions.
1611         (math-function-table): Add support for more C functions.
1613 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1615         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1616         (flyspell-debug-signal-word-checked): Protect delay handling for
1617         otherchars against empty otherchars.
1619 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1621         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1622         their respective macro declarations.
1623         * skeleton.el (define-skeleton):
1624         * progmodes/compile.el (define-compilation-mode):
1625         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1626         (define-ibuffer-filter):
1627         * emacs-lisp/generic.el (define-generic-mode):
1628         * emacs-lisp/easy-mmode.el (define-minor-mode)
1629         (define-globalized-minor-mode):
1630         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1631         * emacs-lisp/byte-run.el (defsubst):
1632         * custom.el (deftheme): Add doc-string metadata.
1634 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1636         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1638 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1640         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1642         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1643         * emacs-lisp/cl-macs.el: Idem.
1644         * emacs-lisp/cl-specs.el: Remove.
1646 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1648         Minor renaming of internal CL functions and variables.
1649         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1650         (cl--position): Rename from cl-position.
1651         (cl--delete-duplicates): Rename from cl-delete-duplicates.
1652         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1653         (cl--random-state): Rename from *random-state*.
1655 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1657         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1658         parens around the arg list (bug#11499).
1660 2012-05-17  Juri Linkov  <juri@jurta.org>
1662         * isearch.el (word-search-regexp, word-search-backward)
1663         (word-search-forward, word-search-backward-lax)
1664         (word-search-forward-lax): Move functions from search.c
1665         (bug#10145, bug#11381).
1667 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1669         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1670         (flyspell-debug-signal-word-checked): Delay for otherchars as for
1671         normal word components.
1673 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1675         * minibuffer.el (completion--sifn-requote): Fix last change.
1676         (minibuffer-local-must-match-filename-map):
1677         Move define-obsolete-variable-alias before its var.
1679 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1681         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1683         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1684         behavior.
1685         (completion--string-equal-p): New function.
1686         (completion--twq-all): Use it to get better assertion failure data.
1688         Only handle ".." and '..' quoting in shell-mode (bug#11466).
1689         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1690         (shell--requote-argument): New functions.
1691         (shell-completion-vars): Use them.
1692         (shell--parse-pcomplete-arguments): Rename from
1693         shell-parse-pcomplete-arguments.
1694         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
1695         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1696         Obey comint-file-name-quote-list.
1698         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1699         (smie-indent-keyword): Use it.
1701 2012-05-14  Stefan Merten  <smerten@oekonux.de>
1703         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1705 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1707         * net/rlogin.el (rlogin-mode-map): Fix last change.
1709 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
1711         * mail/smtpmail.el (smtpmail-send-command): Send the command and
1712         the following \r\n using a single `process-send-string', since the
1713         Lotus SMTP server refuses to accept any commands if they are sent
1714         with two `process-send-string's (Bug#11444).
1716 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1718         * shell.el (shell-parse-pcomplete-arguments):
1719         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1721 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
1723         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1724         (image-transform-scale, image-transform-right-angle-fudge): New vars.
1725         (image-transform-width, image-transform-fit-width): New functions.
1726         (image-transform-properties): Use them.
1727         (image-transform-check-size): New function.
1728         (image-toggle-display-image): Use it (for testing).
1729         (image-transform-set-rotation): Reduce angle mod 360.
1730         Delete obsolete comment.
1732 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
1734         * image-mode.el: Fix scaling (bug#11399).
1735         (image-transform-resize): Doc fix.
1736         (image-transform-properties): Default scale is 1 and height should
1737         be an integer.
1739 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
1741         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1742         than hard-coding `car', to fix misbehavior when moving forward.
1744 2012-05-13  Chong Yidong  <cyd@gnu.org>
1746         * emacs-lisp/tabulated-list.el (tabulated-list-format)
1747         (tabulated-list-entries, tabulated-list-padding)
1748         (tabulated-list-sort-key): Make permanent-local.
1750         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1751         (electric-buffer-list): Put electric buffer menu
1752         command descriptions in this docstring, instead of the docstring
1753         of electric-buffer-menu-mode.  Code cleanups.
1754         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
1755         Electric-buffer-menu-mode.
1756         (electric-buffer-update-highlight): Minor code cleanup.
1758 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
1760         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1761         (Bug#11447)
1763 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1765         Move define-obsolete-variable-alias before the var's definition.
1766         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1767         * tooltip.el (tooltip-hook):
1768         * textmodes/reftex-toc.el (reftex-toc-map):
1769         * textmodes/reftex-sel.el (reftex-select-label-map)
1770         (reftex-select-bib-map):
1771         * textmodes/reftex-index.el (reftex-index-map)
1772         (reftex-index-phrases-map):
1773         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1774         * progmodes/meta-mode.el (meta-mode-map):
1775         * novice.el (disabled-command-hook):
1776         * loadhist.el (unload-hook-features-list):
1777         * frame.el (blink-cursor):
1778         * files.el (find-file-not-found-hooks, write-file-hooks)
1779         (write-contents-hooks):
1780         * emulation/tpu-edt.el (GOLD-map):
1781         * emacs-lock.el (emacs-lock-from-exiting):
1782         * emacs-lisp/generic.el (generic-font-lock-defaults):
1783         * emacs-lisp/chart.el (chart-map):
1784         * dos-fns.el (register-name-alist):
1785         * dired-x.el (dired-omit-files-p):
1786         * desktop.el (desktop-enable):
1787         * cus-edit.el (custom-mode-hook):
1788         * buff-menu.el (buffer-menu-mode-hook):
1789         * bookmark.el (bookmark-read-annotation-text-func)
1790         (bookmark-exit-hooks):
1791         * allout.el (allout-mode-deactivate-hook)
1792         (allout-exposure-change-hook, allout-structure-added-hook)
1793         (allout-structure-deleted-hook, allout-structure-shifted-hook):
1794         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1795         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1796         comes before the corresponding variable's definition.
1798 2012-05-12  Chong Yidong  <cyd@gnu.org>
1800         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1801         (Buffer-menu-mouse-select): Restore function (Bug#11459).
1802         (Buffer-menu-mode-map): Bind it.
1803         (Buffer-menu--pretty-name): Add a mouse-face property.
1805 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1807         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
1808         (prolog-upper-case-string, prolog-lower-case-string)
1809         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1810         (prolog-use-smie, prolog-smie-grammar): New vars.
1811         (prolog-smie-forward-token, prolog-smie-backward-token)
1812         (prolog-smie-rules): New funs.
1813         (prolog-comment-indent): Remove.
1814         (prolog-mode-variables): Use default comment indentation instead.
1815         Setup SMIE.
1816         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1817         (prolog-mode): Don't call them any more.
1818         (prolog-electric-colon, prolog-electric-dash)
1819         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1821         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1823         * minibuffer.el (completion--twq-all): Again, allow case differences.
1825         * term.el: Move keymap initialization code to be more idiomatic.
1826         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1827         (term-terminal-menu): Move initialization into declaration.
1828         (term-escape-char): Let the user set it in her .emacs.
1830         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1831         Provide SMIE-based indentation (not enabled by default yet).
1832         (sh-mode-map): Don't bind electric keys.
1833         Use electric-pair-mode instead of skeleton-pair.
1834         (sh-assignment-regexp): Fit within 80 columns.
1835         (sh-indent-supported): Specify actual shell name instead of boolean.
1836         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1837         (sh-maybe-here-document): Use it.  Make obsolete.
1838         (sh-electric-here-document-mode) New minor mode.
1839         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
1840         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1841         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1842         (sh-smie-rc-grammar, sh-use-smie): New vars.
1843         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1844         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1845         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1846         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1847         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1848         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1849         (sh-set-shell): Use smie-setup if requested.
1851         * term.el (term-set-escape-char): Properly set term-escape-char.
1852         See http://stackoverflow.com/questions/10524656.
1854 2012-05-10  Chong Yidong  <cyd@gnu.org>
1856         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1857         Use url-generic-parse-url, and handle host names and Windows
1858         filenames properly.
1859         (ffap-url-unwrap-remote): Use url-generic-parse-url.
1860         (ffap-url-unwrap-remote): Accept list values, specifying a list of
1861         URL schemes to work on.
1862         (ffap--toggle-read-only): New function.
1863         (ffap-read-only, ffap-read-only-other-window)
1864         (ffap-read-only-other-frame): Use it.
1865         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1866         necessary for ffap-url-unwrap-remote.
1868 2012-05-10  Dave Abrahams  <dave@boostpro.com>
1870         * cus-start.el (create-lockfiles): Add it.
1872 2012-05-09  Chong Yidong  <cyd@gnu.org>
1874         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1875         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1877 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1879         * shell.el (shell-completion-vars): Fix last change (bug#11348).
1881 2012-05-09  Chong Yidong  <cyd@gnu.org>
1883         * ansi-color.el (ansi-color-process-output): Check for validity of
1884         comint-last-output-start before using it.  This avoids a bad
1885         interaction with gdb-mi's input/output buffer.
1887 2012-05-09  Glenn Morris  <rgm@gnu.org>
1889         * files.el (dir-locals-read-from-file):
1890         Mention dir-locals in any error message.
1892 2012-05-09  Chong Yidong  <cyd@gnu.org>
1894         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1895         package (Bug#11410).
1897         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1898         variables into description.
1900 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1902         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1903         shell-delimiter-argument-list (bug#11348).
1904         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1906 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
1908         * textmodes/rst.el: Silence byte-compiler warnings.
1909         (rst-re-alist, rst-reset-section-caches): Move around.
1910         (rst-re): Use `characterp', not `char-valid-p'.
1911         (font-lock-beg, font-lock-end): Declare.
1913         * progmodes/idlw-shell.el (specs): Remove reference to deleted
1914         variable `idlwave-shell-activate-alt-keybindings' and simplify.
1916         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1918 2012-05-08  Glenn Morris  <rgm@gnu.org>
1920         * files.el (auto-mode-alist): Treat ".make" like ".mk".
1922 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1924         * vc/log-edit.el: Add GNU coding standards highlighting.
1925         (log-edit-font-lock-gnu-style)
1926         (log-edit-font-lock-gnu-keywords): New vars.
1927         (log-edit-font-lock-keywords): New fun.
1928         (log-edit-mode): Don't fold case in font-lock.
1929         (log-edit-font-lock-keywords): Do not assume case-folding.
1931         * imenu.el: Misc cleanup.  Make docstrings out of comments.
1932         Use lexical-binding.
1933         (imenu--index-alist, imenu--last-menubar-index-alist)
1934         (imenu-menubar-modified-tick): Use defvar-local.
1935         (imenu--split-menu): Remove unused var.
1936         (imenu--cleanup-seen): Declare as global.
1937         (imenu--cleanup): Use dolist.
1939         * subr.el (defvar-local): Add debug spec and doc-string position.
1941 2012-05-08  Glenn Morris  <rgm@gnu.org>
1943         * lisp/language/burmese.el, language/cham.el, language/czech.el:
1944         * language/english.el, language/georgian.el, language/greek.el:
1945         * language/japanese.el, language/khmer.el, language/korean.el:
1946         * language/lao.el, language/misc-lang.el, language/romanian.el:
1947         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1948         * language/thai.el, language/utf-8-lang.el:
1949         Remove no-byte-compile setting.
1951         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
1953 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1955         * progmodes/make-mode.el (makefile-browse):
1956         Remove unnecessary interactive.  (Bug#11324)
1958 2012-05-07  Glenn Morris  <rgm@gnu.org>
1960         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1962         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1964 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1966         * loadup.el: Preload newcomment.el.
1967         * newcomment.el: Move autoload-only code to toplevel.
1969         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1970         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1971         Handle new :right-align column property.
1972         (tabulated-list-print-col): Idem, plus use `display' text-property to
1973         try and preserve alignment for variable pitch fonts.
1975 2012-05-07  Chong Yidong  <cyd@gnu.org>
1977         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1978         (tabulated-list-use-header-line): New var.
1979         (tabulated-list-init-header): Use it.
1980         (tabulated-list-print-fake-header): New function.
1981         (tabulated-list-print): Use it.
1982         (tabulated-list-sort-button-map): Add non-header-line commands.
1983         (tabulated-list-init-header): Add column name property to basic
1984         labels as well.
1985         (tabulated-list-col-sort): Handle non-header-line button case.
1986         (tabulated-list--sort-by-column-name): Fix a corner case.
1988         * buff-menu.el (list-buffers--refresh):
1989         Handle Buffer-menu-use-header-line.
1991 2012-05-06  Chong Yidong  <cyd@gnu.org>
1993         * buff-menu.el: Convert to Tabulated List mode.
1994         (Buffer-menu-buffer+size-width): Make obsolete.
1995         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1996         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1997         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
1998         documentation into docstring of buffer-menu.
1999         (Buffer-menu-toggle-files-only): Add an informative message.
2000         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2001         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2002         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2003         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2004         (Buffer-menu-execute, Buffer-menu-select)
2005         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2006         (Buffer-menu-bury): Use Tabulated List machinery.
2007         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2008         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2009         Delete.
2010         (list-buffers--refresh): New function.
2011         (list-buffers-noselect): Use it.
2012         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2013         (Buffer-menu--pretty-file-name): New helper functions.
2015         * loadup.el: Preload tabulated-list.
2017         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2018         tabulated-list-sort-column.
2019         (tabulated-list-init-header): Add the initial aligning space even
2020         if tabulated-list-padding is zero.
2022 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
2024         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2025         whose cdr is not a cons cell correctly (bug#11038).
2027 2012-05-06  Chong Yidong  <cyd@gnu.org>
2029         * emacs-lisp/tabulated-list.el (tabulated-list-format):
2030         Accept additional plist in column descriptors.
2031         (tabulated-list-init-header): Obey it.
2032         (tabulated-list-get-entry): New function.
2033         (tabulated-list-put-tag): Use it.  Use string-width instead of
2034         length.
2035         (tabulated-list--column-number): New function.
2036         (tabulated-list-print): Use it.
2037         (tabulated-list-print-col): New function.
2038         Set `tabulated-list-column-name' property on each column's text.
2039         (tabulated-list-print-entry): Use it.
2040         (tabulated-list-delete-entry, tabulated-list-set-col):
2041         New functions.
2042         (tabulated-list-sort-column): New command (Bug#11337).
2044         * buff-menu.el (list-buffers): Move C-x C-b binding from
2045         buff-menu.el to bindings.el.
2047         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2048         :advertised-binding feature.
2050 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
2052         * progmodes/compile.el (compilation-internal-error-properties):
2053         Calculate start position correctly when end-col is set but
2054         end-line is not (Bug#11382).
2056 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
2058         * man.el (Man-unindent): Use text-property-default-nonsticky to
2059         prevent untabify from inheriting face properties (Bug#11408).
2061 2012-05-05  Stefan Merten  <smerten@oekonux.de>
2063         * textmodes/rst.el: Major merge with upstream development up to
2064         Docutils SVN r7399 / rst.el V1.2.1.
2066         Clarify maintainership and authors.
2068         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2069         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2070         (rst-official-version, rst-official-cvs-rev, rst-version)
2071         (rst-package-emacs-version-alist): New functions and variables
2072         for version information.
2074         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2075         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2076         (rst-mode-syntax-table, rst-mode): New and corrected functions
2077         and variables representing reStructuredText features.
2079         (rst-re): New function for reStructuredText regexes.  Use in
2080         many places.
2082         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2083         (rst-mode-map): Rebind keys.
2085         (rst-mode-lazy, rst-font-lock-keywords)
2086         (rst-font-lock-extend-region)
2087         (rst-font-lock-extend-region-internal)
2088         (rst-font-lock-extend-region-extend)
2089         (rst-font-lock-find-unindented-line-limit)
2090         (rst-font-lock-find-unindented-line-match)
2091         (rst-adornment-level, rst-font-lock-adornment-level)
2092         (rst-font-lock-adornment-match)
2093         (rst-font-lock-handle-adornment-pre-match-form)
2094         (rst-font-lock-handle-adornment-matcher): Major revision of
2095         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
2097         (rst-preferred-adornments, rst-adjust-hook)
2098         (rst-new-adornment-down, rst-preferred-bullets)
2099         (rst-preferred-bullets, rst-indent, rst-indent-width)
2100         (rst-indent-field, rst-indent-literal-normal)
2101         (rst-indent-literal-minimized, rst-indent-comment): Change,
2102         extend and improve customization.
2104         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2105         (rst-normalize-cursor-position, rst-get-decoration)
2106         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2107         (rst-rstrip, rst-toc-insert-find-delete-contents)
2108         (rst-shift-fill-region, rst-compute-bullet-tabs)
2109         (rst-debug-print-tabs, rst-debug-mark-found)
2110         (rst-shift-region-guts, rst-shift-region-right)
2111         (rst-shift-region-left, rst-use-char-classes)
2112         (rst-font-lock-keywords-function)
2113         (rst-font-lock-indentation-point)
2114         (rst-font-lock-find-unindented-line-begin)
2115         (rst-font-lock-find-unindented-line-end)
2116         (rst-font-lock-find-unindented-line)
2117         (rst-font-lock-adornment-point, rst-font-lock-level)
2118         (rst-adornment-level-alist): Remove functions and variables.
2120         (rst-compare-adornments, rst-get-adornment-match)
2121         (rst-suggest-new-adornment, rst-get-adornments-around)
2122         (rst-adornment-complete-p, rst-get-next-adornment)
2123         (rst-adjust-adornment, rst-display-adornments-hierarchy)
2124         (rst-straighten-adornments): Standardize function names to
2125         use "adornment" instead of "decoration".  Correct callers.
2126         Similar standardizing in many places.
2128         (rst-update-section, rst-adjust, rst-promote-region)
2129         (rst-enumerate-region, rst-bullet-list-region)
2130         (rst-repeat-last-character): Correct use of `interactive'.
2132         (rst-classify-adornment, rst-find-all-adornments)
2133         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2134         (rst-find-leftmost-column, rst-repeat-last-character):
2135         Refactor functions.
2137         (rst-find-title-line, rst-reset-section-caches)
2138         (rst-get-adornments-around, rst-adjust-adornment-work)
2139         (rst-arabic-to-roman, rst-roman-to-arabic)
2140         (rst-insert-list-pos, rst-insert-list-new-item)
2141         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2142         New functions.
2144         (rst-all-sections, rst-section-hierarchy)
2145         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2146         New variables.
2148         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2149         configuration instead of only buffer.  Change where necessary.
2151         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2152         (rst-shift-region, rst-adaptive-fill): New functions for
2153         indentation and filling.
2155         (rst-comment-line-break, rst-comment-indent)
2156         (rst-comment-insert-comment, rst-comment-region)
2157         (rst-uncomment-region): New functions for handling comments.
2159         (rst-compile): Quote shell arguments.
2161         (rst-compile-pdf-preview, rst-compile-slides-preview):
2162         Delete temporary files after use.
2164 2012-05-05  Glenn Morris  <rgm@gnu.org>
2166         * calendar/cal-html.el: Optionally include holidays in the output.
2167         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2168         (cal-html-holidays): New option.
2169         (cal-html-css-default): Add holiday entry.
2170         (holiday-in-range): Autoload it.
2171         (cal-html-htmlify-entry): Add optional class argument.
2172         (cal-html-htmlify-list): Add optional holidays argument.
2173         (cal-html-insert-agenda-days): Include holidays in the output.
2174         (cal-html-one-month): Maybe include holidays.
2176         * calendar/holidays.el (holiday-in-range):
2177         Move here from cal-tex-list-holidays.
2178         * calendar/cal-tex.el (cal-tex-list-holidays):
2179         Make it an obsolete alias for holiday-in-range.  Update all callers.
2181 2012-05-05  Chong Yidong  <cyd@gnu.org>
2183         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2184         Nextstep.
2186 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
2188         * files.el (file-auto-mode-skip): New var.
2189         (set-auto-mode-1): Use it.
2191 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2193         * repeat.el: Use lexical-binding.
2194         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2195         (repeat-undo-count): Remove.
2196         (repeat):
2197         * progmodes/octave-mod.el (octave-abbrev-start):
2198         * progmodes/f90.el (f90-abbrev-start):
2199         * face-remap.el (text-scale-adjust):
2200         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2202         * emacs-lisp/pcase.el (pcase--let*): New function.
2203         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2204         a bit more.
2205         (pcase--split-pred): Be more clever about ruling out overlap between
2206         a predicate and some constant pattern.
2207         (pcase--q1): Use `null' instead of (eq foo nil).
2209         * subr.el (setq-local, defvar-local): New macros.
2210         (kbd): Redefine as an alias.
2211         (with-selected-window): Leave unrelated frames alone.
2212         (set-temporary-overlay-map): New function.
2214 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2216         * subr.el (user-error): New function.
2217         * window.el (switch-to-buffer):
2218         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2219         (smerge-match-conflict):
2220         * simple.el (previous-matching-history-element)
2221         (next-matching-history-element, goto-history-element, undo-more)
2222         (undo-start):
2223         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2224         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2225         (next-file, tags-loop-scan, list-tags, complete-tag):
2226         * progmodes/compile.el (compilation-loop):
2227         * mouse.el (mouse-minibuffer-check):
2228         * man.el (Man-bgproc-sentinel, Man-goto-page):
2229         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2230         (Info-history-forward, Info-follow-reference, Info-menu)
2231         (Info-extract-menu-item, Info-extract-menu-counting)
2232         (Info-forward-node, Info-backward-node, Info-next-menu-item)
2233         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2234         (Info-next-reference, Info-prev-reference, Info-index)
2235         (Info-index-next, Info-follow-nearest-node)
2236         (Info-copy-current-node-name):
2237         * imenu.el (imenu--make-index-alist)
2238         (imenu-default-create-index-function, imenu-add-to-menubar):
2239         * files.el (basic-save-buffer, recover-file):
2240         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2241         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2242         (checkdoc-message-text, checkdoc-defun):
2243         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2244         * cus-edit.el (customize-changed-options, customize-rogue)
2245         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2246         (custom-variable-mark-to-reset-standard)
2247         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2248         (custom-file):
2249         * completion.el (check-completion-length):
2250         * comint.el (comint-search-arg)
2251         (comint-previous-matching-input-string-position)
2252         (comint-previous-matching-input)
2253         (comint-replace-by-expanded-history-before-point, comint-send-input)
2254         (comint-copy-old-input, comint-backward-matching-input)
2255         (comint-goto-process-mark, comint-set-process-mark):
2256         * calendar/calendar.el (calendar-cursor-to-date): Use it.
2257         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2259 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2261         * dabbrev.el (dabbrev--ignore-case-p): New function.
2262         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2263         Use it.
2265         * files.el (automount-dir-prefix): Mark as obsolete.
2267 2012-05-04  Glenn Morris  <rgm@gnu.org>
2269         * patcomp.el, play/bruce.el: Move to obsolete/.
2271 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
2273         Fix minor Y10k bugs.
2274         * arc-mode.el (archive-unixdate):
2275         * autoinsert.el (auto-insert-alist):
2276         * calc/calc-forms.el (math-this-year):
2277         * emacs-lisp/copyright.el (copyright-current-year)
2278         (copyright-update-year, copyright):
2279         * tar-mode.el (tar-clip-time-string):
2280         * time.el (display-time-update):
2281         Don't assume years have 4 digits.
2283 2012-05-04  Chong Yidong  <cyd@gnu.org>
2285         * dos-w32.el (file-name-buffer-file-type-alist)
2286         (direct-print-region-use-command-dot-com):
2287         * ffap.el (ffap-menu-regexp):
2288         * find-file.el (ff-special-constructs):
2289         * follow.el (follow-debug):
2290         * forms.el (forms--debug):
2291         * iswitchb.el (iswitchb-all-frames):
2292         * ido.el (ido-all-frames):
2293         * emacs-lisp/timer.el (timer-max-repeats):
2294         * mail/feedmail.el (feedmail-mail-send-hook)
2295         (feedmail-mail-send-hook-queued):
2296         * mail/footnote.el (footnote-signature-separator):
2297         * mail/mailabbrev.el (mail-alias-separator-string)
2298         (mail-abbrev-mode-regexp):
2299         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2300         * progmodes/idlwave.el (idlwave-libinfo-file)
2301         (idlwave-default-completion-case-is-down)
2302         (idlwave-library-routines): Convert defvars to defcustoms.
2304         * mail/rmail.el (rmail-decode-mime-charset):
2305         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2306         (idlwave-shell-fix-inserted-breaks)
2307         (idlwave-shell-activate-alt-keybindings)
2308         (idlwave-shell-use-breakpoint-glyph):
2309         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2311 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2313         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2315 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
2317         * progmodes/verilog-mode.el (font-lock-keywords):
2318         Fix mis-highligting auto.  Reported by Craig Barner.
2319         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2320         defines from global name space. Reported by Dan Dever.
2321         (verilog-auto-reset, verilog-auto-reset-widths)
2322         (verilog-auto-tieoff): Support using unbased numbers for
2323         AUTORESET and AUTOTIEOFF.
2324         (verilog-submit-bug-report): Update variable list.
2325         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2326         parenthesis from not matching. Reported by Michael Rytting.
2327         (verilog-auto-template-lint): Fix hash error when linting modules
2328         with no used templates.
2329         (verilog-warn, verilog-warn-error)
2330         (verilog-warn-fatal): When non-interactive report multiple
2331         warnings before exiting.  Suggested by Brad Dobbie.
2332         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2333         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2334         to report unused template errors.  Reported by Brad Dobbie.
2335         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2336         nets, bug438. Reported by Vns Blore.
2337         (verilog-auto-inout-module, verilog-auto-reg)
2338         (verilog-read-decls, verilog-read-sub-decls-sig)
2339         (verilog-signals-edit-wire-reg, verilog-signals-with):
2340         Fix passing of Verilog data types in ANSI input/output ports
2341         such as "output logic" into the AUTOs. Special case "wire" and
2342         "reg" for backwards compatibility presuming Verilog 2001.
2343         (verilog-auto-ascii-enum): Add "auto enum" as alias.
2344         (verilog-preprocess): Fix replication of preprocess output.
2345         Reported by Brad Dobbie.
2346         (verilog-auto-inst-interfaced-ports):
2347         Create verilog-auto-inst-interfaced-ports, bug429.
2348         Reported by Julian Gorfajn.
2349         (verilog-after-save-font-hook)
2350         (verilog-before-save-font-hook): New variable.
2351         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2352         (verilog-save-font-mods): Wrap disabling fontification, reported
2353         by David Rogoff.
2354         (verilog-do-indent, verilog-pretty-declarations-auto)
2355         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2356         Reported by Pierre-David Pfister.
2357         (verilog-set-auto-endcomments): Fix endtask auto comments outside
2358         of class declarations, bug292.  Reported by Kevin Heilman.
2359         (verilog-read-decls): Fix 'parameter type' not appearing in
2360         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
2361         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2362         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2363         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2364         Reported by David Kravitz.
2366 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
2368         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2369         assignment with tests in ifs and for loops.
2370         (verilog-extended-complete-re, verilog-complete-reg): Change so
2371         that DPI inport functions don't look like fuction declarations.
2372         (verilog-pretty-expr): Don't line up assignment
2373         operations to the test and increment in if and for loops
2374         (verilog-extended-complete-re, verilog-complete-reg): Change so
2375         that DPI inport functions don't look like fuction declarations
2377 2012-05-03  Kenichi Handa  <handa@m17n.org>
2379         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2380         decoding, and show a warning message without signaling an error
2381         (Bug#11282).
2383 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2385         * emacs-lisp/bytecomp.el
2386         (byte-compile-file-form-custom-declare-variable): Compile all elements,
2387         since cconv.el might have introduced :fun-body, internal-make-closure,
2388         and friends for bytecomp to handle (bug#11391).
2389         * custom.el (defcustom): Avoid ((λ ..) ..).
2391 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2393         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2395 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
2397         * notifications.el (dbus-debug):
2398         * term/linux.el (gpm-mouse-enable):
2399         * term/screen.el (xterm-register-default-colors): Declare.
2401 2012-05-02  Chong Yidong  <cyd@gnu.org>
2403         * cus-start.el (gc-cons-percentage, exec-suffixes)
2404         (dos-display-scancodes, dos-hyper-key, dos-super-key)
2405         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2406         (make-cursor-line-fully-visible, void-text-area-pointer)
2407         (font-list-limit): Add customization data.
2409         * allout.el (allout-exposure-change-functions)
2410         (allout-structure-added-functions)
2411         (allout-structure-deleted-functions)
2412         (allout-structure-shifted-functions): Rename abnormal hooks from
2413         *-hook, and convert to defcustoms.
2414         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2415         Convert to defcustoms.
2416         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2418         * allout-widgets.el: Hook callers changed.
2420 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
2422         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2423         the yanked message in preference to the default value of
2424         buffer-file-coding-system.
2426 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
2428         * window.el (display-buffer--action-function-custom-type):
2429         Fix entry.
2431 2012-05-02  Alan Mackenzie  <acm@muc.de>
2433         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2435 2012-05-01  Glenn Morris  <rgm@gnu.org>
2437         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2439         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
2441         * cus-edit.el (custom-variable-documentation): Simplify with format.
2443 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2444             Stefan Monnier  <monnier@iro.umontreal.ca>
2446         * simple.el (suggest-key-bindings, execute-extended-command):
2447         Move from keyboard.c.
2449 2012-05-01  Chong Yidong  <cyd@gnu.org>
2451         * follow.el: Eliminate advice.
2452         (set-process-filter, process-filter, sit-for): Advice deleted.
2453         (follow-mode-off-hook): Obsolete hook removed.
2454         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2455         Vars deleted.
2456         (follow-auto): Use a :set function.
2457         (follow-mode): Rewritten.  Don't advise process filters.
2458         (follow-switch-to-current-buffer-all, follow-scroll-up)
2459         (follow-scroll-down): Assume follow-mode is bound.
2460         (follow-comint-scroll-to-bottom)
2461         (follow-align-compilation-windows): New functions.
2462         (follow--window-sorter): New function.
2463         (follow-all-followers): Use it to explicitly sort windows by their
2464         positions; don't make assumptions about next-window order.
2465         (follow-windows-start-end, follow-delete-other-windows-and-split)
2466         (follow-calc-win-start): Doc fix.
2467         (follow-windows-aligned-p, follow-select-if-visible): Don't call
2468         vertical-motion unnecessarily.
2469         (follow-adjust-window): New function.
2470         (follow-post-command-hook): Use it.
2471         (follow-call-set-process-filter, follow-call-process-filter)
2472         (follow-intercept-process-output, follow-tidy-process-filter-alist)
2473         (follow-stop-intercept-process-output, follow-generic-filter):
2474         Functions deleted.
2475         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2476         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2477         New functions, replacing advice on scroll-bar-* commands.
2478         (follow-mwheel-scroll): New function (Bug#4112).
2480         * comint.el (comint-adjust-point): New function.
2481         (comint-postoutput-scroll-to-bottom): Use it.
2482         Call follow-comint-scroll-to-bottom for Follow mode buffers.
2484 2012-05-01  Glenn Morris  <rgm@gnu.org>
2486         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2487         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2488         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2489         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2490         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2491         Remove no-byte-compile setting.
2493 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2495         * minibuffer.el (completion-table-with-quoting): Fix compatibility
2496         all-completions code to not return a number in the last cdr.
2498 2012-04-30  Leo Liu  <sdl.web@gmail.com>
2500         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2501         read-only error.
2503 2012-04-29  Chong Yidong  <cyd@gnu.org>
2505         * follow.el (follow-calc-win-end): Rewrite to handle partial
2506         screen lines correctly (Bug#8390).
2507         (follow-avoid-tail-recenter): Minor cleanup.
2509 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2511         Avoid the obsolete `assoc' package.
2512         * speedbar.el (speedbar-refresh): Avoid adelete.
2513         (speedbar-file-lists): Simplify and avoid aput.
2514         * man.el (Man--sections, Man--refpages): New vars, replacing
2515         Man-sections-alist and Man-refpages-alist.
2516         (Man-build-section-alist, Man-build-references-alist):
2517         Use them; avoid aput.
2518         (Man--last-section, Man--last-refpage): New vars.
2519         (Man-follow-manual-reference): Use them.
2520         Use the `default' arg of completing-read.
2521         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
2523 2012-04-27  Chong Yidong  <cyd@gnu.org>
2525         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2527         * startup.el (x-apply-session-resources): New function.
2529         * term/ns-win.el (ns-initialize-window-system):
2530         * term/w32-win.el (w32-initialize-window-system):
2531         * term/x-win.el (x-initialize-window-system): Use it to properly
2532         set menu-bar-mode and other vars from X resources, even if the
2533         initial frame is not a window-system frame (Bug#2299).
2535         * subr.el (read-key): Avoid running filter function when setting
2536         up temporary tool bar entries (Bug#9922).
2538 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
2540         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2541         (Bug#11344)
2543 2012-04-27  Chong Yidong  <cyd@gnu.org>
2545         * select.el (xselect--encode-string): New function, split from
2546         xselect-convert-to-string.
2547         (xselect-convert-to-string): Use it.
2548         (xselect-convert-to-filename, xselect-convert-to-os)
2549         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2550         returned strings are properly encoded (Bug#11315).
2552 2012-04-27  Chong Yidong  <cyd@gnu.org>
2554         * simple.el (delete-active-region): Move to killing custom group.
2556 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
2558         * progmodes/which-func.el (which-func-current): Quote %
2559         characters for mode-line processing.
2561 2012-04-27  Chong Yidong  <cyd@gnu.org>
2563         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2564         reaching eob (Bug#11286).
2566 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
2568         * progmodes/gdb-mi.el (gdb-control-level): New variable.
2569         (gdb): Make it buffer-local and init to zero.
2570         (gdb-control-commands-regexp): New variable.
2571         (gdb-send): Don't wrap in "-interpreter-exec console" if
2572         gdb-control-level is positive.  Increment gdb-control-level
2573         whenever the command matches gdb-control-commands-regexp, and
2574         decrement it each time the command is "end".  (Bug#11279)
2576 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
2578         * window.el (adjust-window-trailing-edge, enlarge-window)
2579         (shrink-window, window-resize):
2580         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2581         windows (Bug#11276).
2583 2012-04-27  Chong Yidong  <cyd@gnu.org>
2585         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2586         fix "missing prefix" warning.  All callers changed.
2588 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2590         * emacs-lisp/assoc.el: Move to obsolete/.
2592 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2594         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2596         * term/ns-win.el (ns-define-service):
2597         * progmodes/pascal.el (pascal-goto-defun):
2598         * progmodes/js.el (js--read-tab):
2599         * progmodes/etags.el (tags-lazy-completion-table):
2600         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2601         * emacs-lisp/ewoc.el (ewoc--wrap):
2602         * emacs-lisp/assoc.el (aput, adelete, amake):
2603         * doc-view.el (doc-view-convert-current-doc):
2604         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2606 2012-04-26  Chong Yidong  <cyd@gnu.org>
2608         * image.el (image-type-from-buffer): Only return supported image
2609         type (Bug#9045).
2611         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2612         value, for symmetry with diff-end-of-hunk.
2613         (diff-split-hunk, diff-find-source-location)
2614         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2615         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2616         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2617         compute the relevant hunk or file properly (Bug#6005).
2618         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2620 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2622         * vc/vc-mtn.el:
2623         * vc/vc-hg.el:
2624         * vc/vc-git.el:
2625         * vc/vc-dir.el:
2626         * vc/vc-cvs.el:
2627         * vc/vc-bzr.el:
2628         * vc/vc-arch.el:
2629         * vc/vc.el: Replace lexical-let by lexical-binding.
2630         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2631         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2632         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2634 2012-04-26  Chong Yidong  <cyd@gnu.org>
2636         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2637         (diff-mode-shared-map): Bind it to / and [remap undo].
2639         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2640         (ediff-window-setup-function): Use it as the default, to set up
2641         windows based on whether the current frame is graphical (Bug#2138).
2642         (ediff-choose-window-setup-function-automatically): Make obsolete.
2644         * vc/ediff-init.el: Always define ediff-pixel-width/height.
2646 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2648         * ffap.el: Remove old code for obsolete package.
2649         (ffap-complete-as-file-p): Remove.
2651         Use completion-table-with-quoting for comint and pcomplete.
2652         * comint.el (comint--unquote&requote-argument)
2653         (comint--unquote-argument, comint--requote-argument): New functions.
2654         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2655         (comint-quote-filename): Use regexp-opt-charset.
2656         (comint--common-suffix, comint--common-quoted-suffix)
2657         (comint--table-subvert): Remove.
2658         (comint-unquote-function, comint-requote-function): New vars.
2659         (comint--complete-file-name-data): Use them with
2660         completion-table-with-quoting.
2661         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2662         * pcomplete.el (pcomplete-arg-quote-list)
2663         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2664         (pcomplete-unquote-argument-function): Default to non-nil.
2665         (pcomplete-unquote-argument): Simplify.
2666         (pcomplete--common-quoted-suffix): Remove.
2667         (pcomplete-requote-argument-function): New var.
2668         (pcomplete--common-suffix): New function.
2669         (pcomplete-completions-at-point): Use completion-table-with-quoting
2670         and completion-table-subvert.
2672         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2673         (minibuffer--double-dollars): Preserve properties.
2674         (completion--sifn-requote): New function.
2675         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2677         * minibuffer.el: Add support for completion of quoted/escaped data.
2678         (completion-table-with-quoting, completion-table-subvert): New funs.
2679         (completion--twq-try, completion--twq-all): New functions.
2680         (completion--nth-completion): New function.
2681         (completion-try-completion, completion-all-completions): Use it.
2683 2012-04-25  Leo Liu  <sdl.web@gmail.com>
2685         * progmodes/python.el (python-pdbtrack-get-source-buffer):
2686         Use compilation-message if available to find real filename.
2688 2012-04-25  Chong Yidong  <cyd@gnu.org>
2690         * vc/diff-mode.el (diff-setup-whitespace): New function.
2691         (diff-mode): Use it.
2693         * vc/diff.el (diff-sentinel):
2694         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2695         Whitespace mode variables based on diff style (Bug#8612).
2697 2012-04-25  Leo Liu  <sdl.web@gmail.com>
2699         * progmodes/python.el (python-send-region): Add suffix .py to the
2700         temp file.
2702         * files.el (auto-mode-alist): Use javascript-mode instead.
2704 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
2706         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
2708         * soap-client.el (soap-resolve-references-for-sequence-type)
2709         (soap-resolve-references-for-array-type): Hack to prevent self
2710         references, see Bug#9.
2711         (soap-parse-envelope): Report the contents of the 'detail' node
2712         when receiving a fault reply.
2713         (soap-parse-envelope): Report the contents of the entire 'detail' node.
2715         * soap-inspect.el (soap-sample-value-for-simple-type)
2716         (soap-inspect-simple-type): New function.
2718         * soap-client.el (soap-simple-type): New struct.
2719         (soap-default-xsd-types, soap-default-soapenc-types)
2720         (soap-decode-basic-type, soap-encode-basic-type):
2721         support unsignedInt and double basic types.
2722         (soap-resolve-references-for-simple-type)
2723         (soap-parse-simple-type, soap-encode-simple-type): New function.
2724         (soap-parse-schema): Parse xsd:simpleType declarations.
2726         * soap-client.el (soap-default-xsd-types)
2727         (soap-default-soapenc-types): Add integer, byte and anyURI types.
2728         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2729         the local name of "soapenc:Array".
2730         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2731         decoding integer, byte and anyURI xsd types.
2733 2012-04-25  Chong Yidong  <cyd@gnu.org>
2735         * cus-edit.el (custom-buffer-create-internal): Update header text.
2737 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
2739         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2740         settings on 'system-type', not on 'window-system'.  On MS-Windows,
2741         set interactive-mode on in GDB.
2743 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2745         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2746         (ruby-syntax-propertize-regexp): Remove.
2747         (ruby-syntax-propertize-function): Split regexp into chunks.
2748         Match following code directly.
2750 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
2752         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2753         (ruby-syntax-propertize-regexp): New function.
2754         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2755         by a special keyword.
2757         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2758         (ruby-syntax-general-delimiters-goto-beg)
2759         (ruby-syntax-propertize-general-delimiters): New functions.
2760         (ruby-syntax-propertize-function): Use them to handle GDL.
2761         (ruby-font-lock-keywords): Move old handling of GDL...
2762         (ruby-font-lock-syntactic-keywords): .. to here.
2763         (ruby-calculate-indent): Adjust indentation for GDL.
2765 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
2767         * notifications.el (top): Remove unneeded declarations.
2768         (notifications-specification-version): Change to "1.2".
2769         (notifications-interface, notifications-notify-method)
2770         (notifications-close-notification-method): Fix docstring.
2771         (notifications-get-capabilities-method): New defconst.
2772         (notifications-notify): Add :action-items, :resident and
2773         :transient hints.  Change "image_data" to "image-data" and
2774         "image_path" to "image-path".
2775         (notifications-get-capabilities): New defun.
2777 2012-04-24  Leo Liu  <sdl.web@gmail.com>
2779         * progmodes/python.el: Move hideshow setup to the end.
2781 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
2783         * window.el (handle-select-window): Clear echo area since this is
2784         no more done by read_char (Bug#11304).
2786 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2788         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2789         and `/ M' to filter-derived-mode.
2790         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2791         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2792         (ibuffer-mark-by-mode): Use default rather than initial-input.
2793         (ibuffer-filter-by-derived-mode): Autoload and require-match.
2795 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
2797         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2798         (ibuffer-filter-by-derived-mode): New filter.
2799         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2801 2012-04-23  Andreas Politz  <politza@fh-trier.de>
2803         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2805 2012-04-23  Chong Yidong  <cyd@gnu.org>
2807         * cus-edit.el (customize-apropos, customize-apropos-options):
2808         Disable matching of non-option variables (Bug#11176).
2809         (customize-option, customize-option-other-window)
2810         (customize-changed-options): Doc fix.
2811         (customize-apropos-options, customize-apropos-faces)
2812         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2814         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2815         Fix word list splitting (Bug#11132).
2816         (apropos-symbol, apropos-keybinding, apropos-label)
2817         (apropos-property, apropos-function-button)
2818         (apropos-variable-button, apropos-misc-button): New faces.
2819         (apropos-symbol-face, apropos-keybinding-face)
2820         (apropos-label-face, apropos-property-face, apropos-match-face):
2821         Variables removed (Bug#8396).
2822         (apropos-library-button, apropos-format-plist, apropos-print)
2823         (apropos-print-doc, apropos-describe-plist): Callers changed.
2825 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
2827         * net/xesam.el (xesam-mode-map): Use let-bound map in
2828         initialization.  (Bug#11292)
2830 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2832         Preserve ispell session localwords when switching back to
2833         original buffer.
2835         * ispell.el (ispell-buffer-session-localwords): New buffer-local
2836         variable to hold buffer session localwords.
2837         (ispell-kill-ispell): add option 'clear to delete session
2838         localwords.
2839         (ispell-command-loop, ispell-change-dictionary)
2840         (ispell-buffer-local-words): Preserve session localwords when
2841         needed.
2843         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2844         Preserve session localwords when needed.
2846 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2848         * ispell.el (ispell-insert-word) Remove unneeded function using
2849         obsolete `translation-table-for-input'.
2850         (ispell-word, ispell-process-line, ispell-complete-word):
2851         Use plain `insert' instead of removed `ispell-insert-word'.
2853 2012-04-22  Chong Yidong  <cyd@gnu.org>
2855         * cus-edit.el (custom-variable-menu)
2856         (custom-variable-reset-saved, custom-face-menu)
2857         (custom-face-reset-saved): If there is no saved value, make the
2858         "reset-saved" operation bring back the default (Bug#9509).
2859         (custom-face-state): Properly detect themed faces.
2861         * faces.el (face-spec-set): Stop supporting deprecated form of
2862         third arg.
2864 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
2866         Move functions from C to Lisp.  Make non-blocking method calls
2867         the default.  Implement further D-Bus standard interfaces.
2869         * net/dbus.el (dbus-message-internal): Declare function.
2870         Remove unneeded function declarations.
2871         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2872         (dbus-message-type-method-return, dbus-message-type-error)
2873         (dbus-message-type-signal): Declare variables.  Remove local
2874         definitions.
2875         (dbus-interface-dbus, dbus-interface-peer)
2876         (dbus-interface-introspectable, dbus-interface-properties)
2877         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2878         Adapt docstring.
2879         (dbus-interface-objectmanager): New defconst.
2880         (dbus-call-method, dbus-call-method-asynchronously)
2881         (dbus-send-signal, dbus-method-return-internal)
2882         (dbus-method-error-internal, dbus-register-service)
2883         (dbus-register-signal, dbus-register-method): New defuns, moved
2884         from dbusbind.c
2885         (dbus-call-method-handler, dbus-setenv)
2886         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2887         New defuns.
2888         (dbus-call-method-non-blocking): Make it an obsolete function.
2889         (dbus-unregister-object, dbus-unregister-service)
2890         (dbus-handle-event, dbus-register-property)
2891         (dbus-property-handler): Obey the new structure of
2892         `bus-registered-objects'.
2893         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
2894         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2895         Use `dbus-call-method'.
2897 2012-04-22  Chong Yidong  <cyd@gnu.org>
2899         * cus-edit.el (custom-commands, custom-reset-menu)
2900         (Custom-reset-standard): Tweak labels.
2901         (custom-reset-button-menu): Change default to t.
2902         (custom-buffer-create-internal): For the custom-reset-button-menu
2903         case, put the revert button first.
2904         (custom-group-subtitle): New face.
2905         (custom-group-value-create): Align docstring to a specific column.
2907         * wid-edit.el (widget-documentation-link-add): Don't handle
2908         indentation in this function.
2909         (widget-documentation-string-indent-to): New function.
2910         (widget-documentation-string-value-create): Use it.
2912         * autorevert.el (auto-revert):
2913         * epg-config.el (epg):
2914         * ibuffer.el (ibuffer):
2915         * mpc.el (mpc):
2916         * ses.el (ses):
2917         * eshell/eshell.el (eshell):
2918         * net/ange-ftp.el (ange-ftp):
2919         * progmodes/ebnf2ps.el (postscript):
2920         * progmodes/flymake.el (flymake):
2921         * progmodes/prolog.el (prolog):
2922         * progmodes/verilog-mode.el (verilog-mode):
2923         * progmodes/which-func.el (which-func):
2924         * term/xterm.el (xterm):
2925         * textmodes/picture.el (picture):
2926         * textmodes/tildify.el (tildify):
2927         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2928         customization buffers.
2930 2012-04-22  Alan Mackenzie  <acm@muc.de>
2932         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2933         Adding a ) can hide the resulting (..) from searches.  Fix it.
2934         Bound the backward search to the position of the existing (.
2936 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
2938         * progmodes/verilog-mode.el (verilog-mode): Check whether
2939         which-func-modes is t before adding verilog-mode.
2940         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2942 2012-04-21  Leo Liu  <sdl.web@gmail.com>
2944         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2946 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
2948         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2949         filling of the last column of a table (Bug#5635).
2950         (woman-find-next-control-line): New arg, specifying an additional
2951         regexp component for the control line.
2952         (woman2-roff-buffer): Use it.
2953         (woman-break-table): New function.
2954         (woman2-TS): Use it.
2956 2012-04-21  Chong Yidong  <cyd@gnu.org>
2958         * woman.el (woman-set-buffer-display-table, woman-decode-region)
2959         (woman-horizontal-escapes, woman-negative-vertical-space)
2960         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2961         (WoMan-warn-ignored): Use ?\s instead of ?\ .
2963 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2965         * minibuffer.el (completion-file-name-table): Complete user names.
2967 2012-04-20  Leo Liu  <sdl.web@gmail.com>
2969         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2970         and pcase-let*.
2972 2012-04-20  Chong Yidong  <cyd@gnu.org>
2974         * server.el (server-execute): Respect initial-buffer-choice if it
2975         is a string and there are no files to open (Bug#2825).
2976         (server-create-window-system-frame, server-create-tty-frame):
2977         Don't switch buffers here.
2978         (server-process-filter): Only try to open a window system frame if
2979         compiled with graphical support (Bug#8314).
2981 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
2983         * battery.el (battery-echo-area-format): Display remaining time
2984         for sysfs backend too (Bug#11269).
2985         (battery-linux-sysfs): Fix conditional for the charge.
2987 2012-04-20  Chong Yidong  <cyd@gnu.org>
2989         * progmodes/gdb-mi.el (gdb): Revert previous change.
2990         (gdb-inferior-io--init-proc): New function.
2991         (gdb-init-1): Use it.
2992         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2993         responsible for allocating a new pty and hooking it to gdb when
2994         the old pty gets an EIO due to process exit.
2995         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
2996         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2997         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2999 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3001         * window.el (window-min-size, window-sizable, window-min-delta)
3002         (window-max-delta, window--resizable, window-resizable)
3003         (window-total-size, window-full-height-p, window-full-width-p)
3004         (window-in-direction, window--resize-mini-window, window-resize)
3005         (window--resize-child-windows-normal)
3006         (window--resize-child-windows, window--resize-siblings)
3007         (window--resize-this-window, adjust-window-trailing-edge)
3008         (enlarge-window, shrink-window): Doc fixes.
3010 2012-04-20  Chong Yidong  <cyd@gnu.org>
3012         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3013         New function to call delete-process on the gdb-inferior buffer's pty.
3014         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3015         pty process (Bug#11273).
3016         (gdb-update): New arg to suppress talking to the gdb process.
3017         (gdb-done-or-error): Use it.
3018         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3019         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3020         sentinel not being called.
3022         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3024         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3026 2012-04-20  Glenn Morris  <rgm@gnu.org>
3028         * net/network-stream.el (open-network-stream): Doc fix.
3030 2012-04-20  Chong Yidong  <cyd@gnu.org>
3032         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3034 2012-04-20  Alan Mackenzie  <acm@muc.de>
3036         Ensure searching for keywords is case sensitive.
3038         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3039         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3040         (c-defun-name, c-mark-function, c-cpp-define-name)
3041         (c-comment-indent, c-scan-conditionals, c-indent-defun)
3042         (c-context-line-break): Bind case-fold-search to nil.
3044         * progmodes/cc-mode.el (c-font-lock-fontify-region):
3045         Bind case-fold-search to nil.
3047 2012-04-20  Chong Yidong  <cyd@gnu.org>
3049         * mail/sendmail.el (mail-bury): Call return action with the right
3050         Rmail buffer (Bug#11242).
3052         * server.el (server-process-filter): Handle corner case where both
3053         tty and nowait options are present (Bug#11102).
3055 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3057         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3058         (top level): Put into the executable the ident-style '$Id:' tag on
3059         windows-nt as well.
3061 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3063         * electric.el (electric-indent-post-self-insert-function): Check that
3064         electric-indent-mode is enabled in current buffer.
3066 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3068         * imenu.el (imenu-progress-message): Restore; it is "used" in
3069         erc/erc-imenu.el and net/snmp-mode.el.
3071 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3073         * avoid.el (mouse-avoidance-mode): Mark unused arg.
3074         (mouse-avoidance-nudge-mouse): Remove unused binding.
3076         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3078         * descr-text.el (describe-char):
3079         * progmodes/python.el (python-describe-symbol):
3080         Don't call `toggle-read-only', set `buffer-read-only'.
3082         * imenu.el (imenu-default-goto-function): Mark unused args.
3083         (imenu-progress-message): Remove obsolete macro; all callers changed.
3085         * subr.el (keymap-canonicalize): Remove unused binding.
3086         (read-passwd): Mark unused arg.
3088         * tutorial.el (tutorial--display-changes): Remove unused binding.
3089         (tutorial--save-tutorial-to): Remove unused variable.
3091         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3092         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3093         (package-generate-autoloads, package-menu--generate)
3094         (package-menu--find-upgrades): Remove unused bindings.
3096         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3097         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
3098         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3099         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3100         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3101         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3102         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3103         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3104         (cua-delete-char-rectangle): Mark unused args.
3105         (cua-align-rectangle): Remove unused binding.
3107         * mail/rmail.el (compilation--message->loc)
3108         (epa--find-coding-system-for-mime-charset): Declare.
3110         * net/dbus.el (dbus-register-service): Declare.
3111         (dbus-name-owner-changed-handler): Remove unused binding.
3113         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3114         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3115         (nxml-scan-backward-within): Mark unused arg.
3116         (nxml-dynamic-markup-word): Remove unused binding.
3118         * mouse.el (mouse-menu-major-mode-map):
3119         * emacs-lisp/authors.el (authors-scan-change-log)
3120         (authors-add-to-author-list):
3121         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3122         * emacs-lisp/smie.el (smie-auto-fill):
3123         * mail/sendmail.el (mail-bury):
3124         * mail/unrmail.el (unrmail):
3125         * net/tls.el (open-tls-stream):
3126         * textmodes/picture.el (picture-mouse-set-point):
3127         Remove unused bindings.
3129 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
3131         * net/tramp.el (tramp-action-password): Let-bind
3132         `enable-recursive-minibuffers' to t.
3134 2012-04-18  Sam Steingold  <sds@gnu.org>
3136         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3137         instead of 'string to accommodate values like [f11].
3138         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3139         * progmodes/gdb-mi.el: Likewise.
3141 2012-04-18  Leo Liu  <sdl.web@gmail.com>
3143         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3144         current buffer.
3145         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3146         LOCAL is nil.
3148 2012-04-18  Chong Yidong  <cyd@gnu.org>
3150         * simple.el (line-move): Use forward-line if in batch mode
3151         (Bug#11053).
3153 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
3155         * files.el (after-find-file): Do not try to add a final newline if
3156         the buffer is read-only (Bug#11156).
3158 2012-04-17  Richard Stallman  <rms@gnu.org>
3160         * mail/rmail.el (rmail-start-mail):
3161         Pass (rmail-mail-return...) for the return-action.
3162         Pass (rmail-yank-current-message...) for the yank-action.
3163         (rmail-yank-current-message): New function.
3164         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3165         (rmail-reply): Likewise.
3166         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3168         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3169         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
3170         buffer, not newbuf.
3172 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
3174         * server.el (server-ensure-safe-dir): Simplify.
3176 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3178         * emacs-lisp/smie.el: Provide smarter auto-filling.
3179         (smie-auto-fill): New function.
3180         (smie-setup): Use it.
3182         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3184 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
3186         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3187         (comment-indent): Use it.
3189 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3191         * ses.el: The overall change is to add cell renaming, that is
3192         setting fancy names for cell symbols other than name matching
3193         "\\`[A-Z]+[0-9]+\\'" regexp .
3194         (ses-localvars): Add ses--renamed-cell-symb-list.
3195         (ses-create-cell-variable): New defun.
3196         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3197         (ses-relocate-formula): Relocate formulas only for cells the
3198         symbols of which are not renamed, i.e. symbols whose names do not
3199         match regexp "\\`[A-Z]+[0-9]+\\'".
3200         (ses-relocate-all): Relocate values only for cells the symbols of
3201         which are not renamed.
3202         (ses-load): Create cells variables as the (ses-cell ...) are read,
3203         in order to check row col consistency with cell symbol name only
3204         for cells that are not renamed.
3205         (ses-replace-name-in-formula): New defun.
3206         (ses-rename-cell): New defun.
3208 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
3210         * progmodes/perl-mode.el (perl-indent-parens-as-block):
3211         New option (bug#11118).
3212         (perl-calculate-indent): Respect it.
3214 2012-04-17  Glenn Morris  <rgm@gnu.org>
3216         * dired-aux.el (dired-mark-read-string): Doc fix.
3218 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
3220         * dired-aux.el (dired-mark-read-string): Offer optional completion.
3221         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
3223 2012-04-17  Glenn Morris  <rgm@gnu.org>
3225         * mouse.el (mouse-drag-track):
3226         * speedbar.el (speedbar-frame-mode):
3227         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3229 2012-04-16  Leo Liu  <sdl.web@gmail.com>
3231         * progmodes/python.el: Trivial cleanup.
3233 2012-04-16  Glenn Morris  <rgm@gnu.org>
3235         * vc/vc.el (vc-string-prefix-p):
3236         * vc/pcvs-util.el (cvs-string-prefix-p):
3237         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3238         * mpc.el (mpc-string-prefix-p):
3239         Make all of these into obsolete aliases for string-prefix-p.
3240         Update callers.
3241         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3243         * textmodes/two-column.el: Move custom options to the start.
3244         (frame-width): Remove compat definition.
3245         (2C-associate-buffer, 2C-dissociate):
3246         Use with-current-buffer rather than save-excursion.
3247         (2C-dissociate): Force a mode-line update.
3248         (2C-autoscroll): Use ignore-errors.
3250         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3251         Autoload trivia.
3253         * emacs-lisp/cl-extra.el (*random-state*):
3254         Remove unnecessary declaration.
3256         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3258         * play/cookie1.el (cookie-snarf):
3259         Give an explicit error if input file cannot be read.
3261         * play/yow.el (yow-file): Use expand-file-name rather than concat.
3263         * progmodes/perl-mode.el (c-macro-expand):
3264         Remove unnecessary autoload (it is in loaddefs.el).
3266         * textmodes/picture.el (picture-desired-column)
3267         (picture-update-desired-column): Convert comments to doc-strings.
3268         (picture-substitute): Remove function.
3269         (picture-mode-map): Initialize in the defvar.
3271         * woman.el: Remove eval-after-load for tar-mode.
3272         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3273         (woman-tar-extract-file): Autoload it.
3275         * frame.el (automatic-hscrolling): Make this alias obsolete.
3277 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3279         * ispell.el (ispell-set-spellchecker-params): Post-process
3280         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3281         (ispell-dictionary-base-alist): Revert to original XEmacs
3282         friendly version for default.  [:alpha:] will be added in
3283         `ispell-set-spellchecker-params' if needed
3285 2012-04-16  Chong Yidong  <cyd@gnu.org>
3287         * image.el (imagemagick--extension-regexp): New variable.
3288         (imagemagick-register-types): Use it.
3289         (imagemagick-types-inhibit): Add :set function.  Allow new value
3290         of t to inhibit all types.
3292         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3293         so we can preload it.
3295         * loadup.el (fboundp): Preload regexp-opt, needed by
3296         imagemagick-register-types.
3298 2012-04-15  Chong Yidong  <cyd@gnu.org>
3300         * frame.el (scrolling): Remove nearly unused customization group.
3302         * scroll-all.el (scroll-all-mode): Move to windows group.
3304 2012-04-15  Chong Yidong  <cyd@gnu.org>
3306         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3308 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3310         Avoid the use of ((lambda ...) ...) in lexical-binding code.
3311         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3313 2012-04-15  Glenn Morris  <rgm@gnu.org>
3315         * simple.el (process-file-side-effects): Doc fix.
3317 2012-04-15  Glenn Morris  <rgm@gnu.org>
3319         * international/mule-cmds.el (set-language-environment): Doc fix.
3321 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
3323         * server.el (server-auth-key, server-generate-key): Doc fixes.
3324         (server-get-auth-key): Doc fix.  Use `string-match-p'.
3325         (server-start): Reflow docstring.
3327 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
3329         * server.el (server-generate-key): `called-interactively-p'
3330         requires a parameter.
3332 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
3334         * server.el (server-auth-key): New variable.
3335         (server-generate-key, server-get-auth-key): New function.
3336         (server-start): Use the new variable and functions to allow
3337         setting a permanent server key (bug#9423).
3339 2012-04-14  Leo Liu  <sdl.web@gmail.com>
3341         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3343 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
3345         Spelling fixes.
3346         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3347         Emacs uses American spelling.
3349 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
3351         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3352         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
3353         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3354         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
3356 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3358         * progmodes/which-func.el (which-func-modes): Change default.
3360 2012-04-14  Kim F. Storm  <storm@cua.dk>
3362         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3363         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3365 2012-04-14  Chong Yidong  <cyd@gnu.org>
3367         * custom.el (custom-theme-set-variables): Doc fix.
3369 2012-04-14  Glenn Morris  <rgm@gnu.org>
3371         * international/mule.el (set-auto-coding-for-load): Doc fix.
3373 2012-04-14  Alan Mackenzie  <acm@muc.de>
3375         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3376         imenu work again for Objective C Mode.  Correct the *-index values,
3377         these having been disturbed by a previous change in 2011-08.
3379         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3380         Correct two search limits.
3382 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3384         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3386 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
3388         * international/characters.el: Fix sorting.
3390 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3392         * international/characters.el: Add more missing Latin case pairs.
3394 2012-04-14  Glenn Morris  <rgm@gnu.org>
3396         * files.el (dir-locals-set-class-variables): Doc fix.
3398 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3400         * international/characters.el: Add set-case-syntax-pair call for
3401         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3402         counterpart.  (Bug#11209)
3404         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
3406 2012-04-14  Glenn Morris  <rgm@gnu.org>
3408         * calendar/holidays.el (calendar-check-holidays): Doc fix.
3410 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3412         * textmodes/ispell.el (ispell-dictionary-base-alist):
3413         Add data for Hebrew.
3415 2012-04-14  Chong Yidong  <cyd@gnu.org>
3417         * net/rcirc.el (rcirc-cmd-quit):
3418         Revert 2012-03-18 change (Bug#11192).
3420 2012-04-14  Glenn Morris  <rgm@gnu.org>
3422         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3424 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3426         * minibuffer.el (completion-in-region-mode-map):
3427         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
3429 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
3431         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3433 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
3435         * minibuffer.el (minibuffer-local-filename-syntax): New variable
3436         to allow `C-M-f' and `C-M-b' to move to the nearest path
3437         separator (bug#9511).
3439 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
3441         * avoid.el: Require cl when compiling.  And also move the
3442         `provide' to the end.
3444 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3446         * avoid.el (mouse-avoidance-banish-position): New variable.
3447         (mouse-avoidance-banish-destination): Use it (bug#10165).
3449 2012-04-13  Leo Liu  <sdl.web@gmail.com>
3451         * progmodes/which-func.el (which-func-modes): Add objc-mode.
3453 2012-04-13  Ken Brown  <kbrown@cornell.edu>
3455         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3456         this is no longer needed now that cygstart understands file:// URLs.
3457         (browse-url-filename-alist): For the same reason, don't modify
3458         file:// URLs on Cygwin.
3460 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3462         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3463         the region on shift if the binding is already shifted (bug#11221).
3465 2012-04-12  Glenn Morris  <rgm@gnu.org>
3467         * mail/mailpost.el: Move to obsolete/.
3469 2012-04-12  Drew Adams  <drew.adams@oracle.com>
3471         * imenu.el (imenu--generic-function): Ignore invisible definitions
3472         (bug#10123).
3474 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
3476         * hexl.el (hexl-bits): New variable.
3477         (hexl-options): Mention the variable in the doc string.
3478         (hexl-rulerise, hexl-line-displen): New functions.
3479         (hexl-mode): Mention the new variable.
3480         (hexl-mode, hexl-current-address, hexl-current-address):
3481         Use the displen.
3482         (hexl-ascii-start-column): New function.
3483         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3484         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3486 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3488         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3489         '("-i" ENCODING), in 2 separate command-line arguments, to specify
3490         the encoding, as expected by hunspell.
3492 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3494         * battery.el (battery--linux-sysfs-regexp): New const.
3495         (battery-status-function): Use it.  Remove yeeloong special case.
3496         (battery-yeeloong-sysfs): Remove.
3497         (battery-echo-area-format): Remove yeeloong special case.
3499 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3501         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3502         Reported by Noah Friedman.
3504         * subr.el (read-passwd): Use read-string.
3506 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3508         * vcursor.el (vcursor-move): Increase the priority of the overlay
3509         (bug#9663).
3511 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3513         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3514         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3516 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
3518         * textmodes/artist.el (artist-mode): Convert artist-mode to use
3519         define-minor-mode (bug#10760).
3521 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
3523         * progmodes/grep.el (rgrep): Tweak the find command line so
3524         that directories matching `grep-find-ignored-files' won't be
3525         pruned (bug#10351).
3527 2012-04-11  Chong Yidong  <cyd@gnu.org>
3529         * startup.el (command-line): Remove support for long-obsolete
3530         variable font-lock-face-attributes.
3532 2012-04-11  Glenn Morris  <rgm@gnu.org>
3534         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3536 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3538         * window.el (window--state-get-1): Obey window-point-insertion-type.
3540 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
3542         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3543         to previous function when point is on the first character of a
3544         function.  Take care of that in `narrow-to-defun' (bug#6157).
3546 2012-04-11  Glenn Morris  <rgm@gnu.org>
3548         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3549         not just file-errors.
3551         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3552         (vc-bzr-sha1): Use internal sha1.
3554 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3556         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3558 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
3560         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3561         that start in the middle of the line (bug#10496).
3563 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
3565         * battery.el (battery-linux-proc-acpi): Only one battery is
3566         discharged at a time, but that seems to confuse battery.el when
3567         computing `rate-type' for the battery not being discharged
3568         (bug#10332).
3570 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3572         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3574         * international/quail.el: Use dolist and simplify.
3575         (quail-define-package, quail-update-keyboard-layout)
3576         (quail-define-rules): Use dolist.
3577         (quail-insert-kbd-layout, quail-get-translation): CSE.
3579         * tmm.el: Use dolist, remove left over hook.
3580         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3581         Use dolist.
3582         (calendar-load-hook): Don't mess with it.
3584         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3585         Use derived-mode-p.  Run the diff asynchronously.
3587 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3589         * obsolete/mouse-sel.el: Add an Obsolete-since header.
3591 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
3593         * misc.el: Display absolute path of loaded DLLs (bug#10424).
3594         (list-dynamic-libraries--loaded): New function.
3595         (list-dynamic-libraries--refresh): Use it.
3597 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
3599         * progmodes/python.el (python-fill-paragraph):
3600         Make python-fill-region in a multiline string work when font-lock is
3601         disabled (bug#7018).
3603 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
3605         * language/european.el (cp775): Add oem/legacy (en)coding on
3606         DOS/MS Windows for the Baltic languages.  There are still plenty
3607         of texts written in this encoding/codepage (bug#6519).
3609 2012-04-10  Glenn Morris  <rgm@gnu.org>
3611         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3612         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3614 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
3616         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3617         next-line "n" and previous-line "p" in order to make recentf more
3618         consistent with ibuffer, dired or org-mode (bug#9387).
3620 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3622         * image.el (put-image): Return the overlay created instead of the
3623         optional input string (bug#7834).  Note that this may break code
3624         that is (for some reason or other) depending on `put-image'
3625         returning the string.
3627         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3629         * simple.el (zap-to-char): Allow zapping using input methods
3630         (bug#1580).
3632         * textmodes/fill.el (fill-region): Leave point and mark where they
3633         were before filling (bug#5399).
3635 2012-04-09  Glenn Morris  <rgm@gnu.org>
3637         * version.el (emacs-bzr-get-version):
3638         Handle lightweight checkouts of local branches.
3640 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
3642         * international/characters.el: Recover lost case pairs.  (Bug#11209)
3644 2012-04-09  Chong Yidong  <cyd@gnu.org>
3646         * custom.el (custom-variable-p): Return nil for non-symbol
3647         arguments instead of signaling an error.
3648         (user-variable-p): Obsolete alias for custom-variable-p.
3650         * apropos.el (apropos-variable):
3651         * files-x.el (read-file-local-variable):
3652         * simple.el (set-variable):
3653         * woman.el (woman-mini-help):
3654         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3656 2012-04-09  Glenn Morris  <rgm@gnu.org>
3658         * startup.el (normal-top-level): Don't look for leim-list.el
3659         in places where it will not be found.  (Bug#910)
3661         * international/mule-cmds.el (set-default-coding-systems):
3662         * files.el (normal-mode):
3663         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
3664         This function was removed with ucs-tables.el in 2008.
3666 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
3668         * textmodes/ispell.el (ispell-check-version): For hunspell, set
3669         ispell-encoding8-command to "-i", without a trailing space.
3670         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3671         separate command-line arguments, to specify the encoding, since
3672         that's how hunspell expects it.
3674 2012-04-08  Glenn Morris  <rgm@gnu.org>
3676         * loadup.el: Load bindings before cus-start.
3677         This reduces somewhat the number of "rogue" settings in emacs -Q.
3679 2012-04-07  Glenn Morris  <rgm@gnu.org>
3681         * version.el (emacs-bzr-get-version): New function.
3682         (emacs-bzr-version): New variable.
3683         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
3684         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3686 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
3688         * international/uni-bidi.el, international/uni-category.el:
3689         * international/uni-combining.el, international/uni-decimal.el:
3690         * international/uni-decomposition.el, international/uni-digit.el:
3691         * international/uni-lowercase.el, international/uni-mirrored.el:
3692         * international/uni-name.el, international/uni-numeric.el:
3693         * international/uni-titlecase.el, international/uni-uppercase.el:
3694         Update for Unicode 6.1.
3696 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
3698         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3700 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3702         * window.el (shrink-window): Mention the `window-min-height'
3703         variable in the doc string.
3705 2012-04-05  Bastien Guerry  <bzg@altern.org>
3707         * color.el (color-lighten-name): Fix typo.
3709 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3711         * server.el (server--on-display-p): New function.
3712         (server--on-display-p): Use it.
3714 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
3716         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3717         (bug#11145).
3719 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3721         * comint.el (comint--common-quoted-suffix): Check string boundary
3722         before comparing (bug#11158).
3723         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3725 2012-04-04  Chong Yidong  <cyd@gnu.org>
3727         * minibuffer.el (completion-extra-properties): Doc fix.
3729         * subr.el (delayed-warnings-hook): Doc fix.
3731 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
3733         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3734         selection (Bug#11159).
3735         (epa-insert-keys): Inform that the default public key will be
3736         exported if no key is selected.
3738 2012-04-04  Richard Stallman  <rms@gnu.org>
3740         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3742 2012-04-03  Chong Yidong  <cyd@gnu.org>
3744         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3745         mail-insert-file, not its obsolete alias mail-attach-file.
3747 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
3749         * notifications.el (notifications-notify): Fix docstring.
3751 2012-04-02  Glenn Morris  <rgm@gnu.org>
3753         * emacs-lisp/authors.el (authors-aliases): Another addition.
3755 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
3757         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3758         `tramp-compat-call-process' instead of `tramp-local-call-process'.
3759         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3761 2012-04-01  Chong Yidong  <cyd@gnu.org>
3763         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3764         Handle root directory properly.
3765         (copy-directory): Caller changed.
3767         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3768         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3770 2012-03-31  Glenn Morris  <rgm@gnu.org>
3772         * term/xterm.el (xterm-extra-capabilities): Doc fix.
3774         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
3776         * calendar/calendar.el (calendar-window-list)
3777         (calendar-hide-window): Restore.  (Bug#11140)
3778         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3780         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3782 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3784         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3785         Check if file is a symlink (Bug#10489).
3787         * files.el (copy-directory): Likewise.
3789 2012-03-30  Chong Yidong  <cyd@gnu.org>
3791         * image.el (imagemagick-types-inhibit)
3792         (imagemagick-register-types): Doc fix.
3794 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3796         * ispell.el (ispell-get-extended-character-mode):
3797         Disable extended-char-mode for hunspell.  hunspell does not support it
3798         and treats ~word as ordinary words in pipe mode.
3800 2012-03-30  Glenn Morris  <rgm@gnu.org>
3802         * tutorial.el (help-with-tutorial): Ensure local variables don't
3803         happen to make the buffer read-only.  (Bug#11127)
3805 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3807         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3808         (perl-calculate-indent): Return `noindent' in strings.
3810 2012-03-28  Sam Steingold  <sds@gnu.org>
3812         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3813         instead of the broken adhockery which does not prevent calendar
3814         buffers from being displayed at random after exit.
3815         (calendar-window-list, calendar-hide-window): Remove the broken
3816         adhockery.
3818 2012-03-28  Glenn Morris  <rgm@gnu.org>
3820         * replace.el (query-replace-map): Doc fix.
3822 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
3824         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3825         contents.  (Bug#11109)
3827 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3829         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3830         (bug#11077).
3831         (avl-tree--check, avl-tree--check-node): New funs.
3833 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
3835         * window.el (switch-to-visible-buffer): New option.
3836         (switch-to-prev-buffer, switch-to-next-buffer):
3837         Observe switch-to-visible-buffer.  Make sure that checking for a window
3838         showing a buffer already is done on the same frame.
3840 2012-03-27  Glenn Morris  <rgm@gnu.org>
3842         * startup.el (mail-host-address): Doc fix.
3844 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3846         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3847         than 197 variables.
3849 2012-03-26  Ami Fischman  <ami@fischman.org>
3851         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3853 2012-03-26  Glenn Morris  <rgm@gnu.org>
3855         * files.el (save-buffers-kill-emacs): Doc fix.
3857         * startup.el (normal-top-level, command-line, command-line-1):
3858         Give them doc strings.
3860 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
3862         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3863         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3865 2012-03-25  Chong Yidong  <cyd@gnu.org>
3867         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3868         theme if it was previously enabled before (Bug#11031).
3870         * cus-theme.el (custom-theme-write-faces): Retrieve current face
3871         spec with custom-face-get-current-spec if its :shown-value is not
3872         determined yet (Bug#9337).
3873         (customize-create-theme, custom-theme-revert): Doc fixes.
3875         * button.el (button-at): Minor addition to docstring.
3877 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
3879         * vc/vc.el (vc-merge): Fix a prompt.
3881 2012-03-24  Chong Yidong  <cyd@gnu.org>
3883         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3884         point (Bug#9623).
3886         * button.el (button-at): Minor addition to docstring.
3888 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3890         * newcomment.el (comment-choose-indent): No space after BOL.
3892 2012-03-22  Sam Steingold  <sds@gnu.org>
3894         * window.el (switch-to-prev-buffer): Revert last patch because the
3895         bug turned out to be an advertised feature (Elisp manual 28.14).
3897 2012-03-22  Glenn Morris  <rgm@gnu.org>
3899         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
3900         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3902 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3904         * net/network-stream.el (network-stream-open-starttls): Make error
3905         message under Windows be less misleading.
3907 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
3909         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3910         understands (bug#9942).
3912 2012-03-22  Chong Yidong  <cyd@gnu.org>
3914         * simple.el (end-of-visible-line): Handle return value of
3915         next-single-property-change properly (Bug#9371).
3917 2012-03-22  Kenichi Handa  <handa@m17n.org>
3919         * international/quail.el (quail-insert-kbd-layout): Fix previous
3920         change.  To avoid unwanted bidi reordering, use
3921         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3923 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
3925         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3926         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3927         (ruby-beginning-of-indent): Be more careful with the difference
3928         between word-boundary and symbol boundary.
3929         (ruby-mode-syntax-table): Make : a symbol constituent.
3931 2012-03-21  Andreas Politz  <politza@fh-trier.de>
3933         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3935 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3937         * progmodes/etags.el (tags-completion-at-point-function):
3938         Improve last fix.
3940         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3942 2012-03-21  Sam Steingold  <sds@gnu.org>
3944         * progmodes/etags.el (tags-completion-at-point-function):
3945         Avoid the error when point is inside the pattern.
3947 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
3949         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3950         line (Bug#10855).
3952 2012-03-21  Drew Adams  <drew.adams@oracle.com>
3954         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3956 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
3958         * ido.el (ido-set-current-directory, ido-read-internal)
3959         (ido-choose-completion-string, ido-completion-help): Handle nil
3960         value of ido-completion-buffer (Bug#11008).
3962 2012-03-21  Sam Steingold  <sds@gnu.org>
3964         * window.el (switch-to-prev-buffer): Do not switch to a visible
3965         window previous buffer, just like with the frame previous buffers.
3967 2012-03-21  Chong Yidong  <cyd@gnu.org>
3969         * faces.el (make-face, make-empty-face, copy-face):
3970         * face-remap.el (face-remap-add-relative, face-remap-set-base):
3971         Doc fixes.
3973 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3975         * wid-edit.el (widget-complete-field): Remove (bug#11051).
3976         (widget-complete): Remove broken use of it.
3978 2012-03-20  Chong Yidong  <cyd@gnu.org>
3980         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3981         Use string-width and truncate-string-width to handle arbitrary
3982         characters.
3984 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
3986         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3987         to draw rectangles, not squares.  (Regression introduced by revno
3988         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3990 2012-03-18  Chong Yidong  <cyd@gnu.org>
3992         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3993         it is not yet defined (for temacs).
3995 2012-03-18  Leo Liu  <sdl.web@gmail.com>
3997         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3999 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
4001         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4002         (ispell-choices-win-default-height, ispell-silently-savep)
4003         (ispell-dictionary-alist, ispell-encoding8-command)
4004         (ispell-check-version, ispell-aspell-find-dictionary)
4005         (ispell-valid-dictionary-list, ispell-words-keyword)
4006         (ispell-get-word, ispell-internal-change-dictionary)
4007         (ispell-region, ispell-skip-region-list)
4008         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4009         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4010         (ispell-message-text-end, ispell-message)
4011         (ispell-buffer-local-parsing): Doc fix.
4013 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
4015         * htmlfontify.el: Add support for code block fontification for ODT
4016         export (Bug #9914).
4017         (hfy-optimisations): Define new option
4018         `body-text-only'
4019         (hfy-fontify-buffer): Honor above setting.
4020         (hfy-begin-span, hfy-end-span): New routines factored out form
4021         `hfy-fontify-buffer'.
4022         (hfy-begin-span-handler, hfy-end-span-handler): New variables
4023         that permit insertion of custom tags.
4024         (hfy-fontify-buffer): Use above handlers.
4025         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4026         (hfy-face-to-css): Re-defined to be a variable.
4027         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
4028         over multiple runs.  This is made possible by having the caller let
4029         bind a special variable `hfy-user-sheet-assoc'.
4030         (htmlfontify-string): New defun.
4031         (hfy-compile-face-map): Make sure that the last char in the
4032         buffer is correctly fontified.
4033         (hfy-face-resolve-face): Whitespace only change.
4035 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
4037         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4038         message more clear.
4040 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4042         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4044 2012-03-16  Alan Mackenzie  <acm@muc.de>
4046         Further optimise the handling of large macros.
4048         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4049         limit to a call of `c-literal-limits'.
4050         (c-determine-+ve-limit): New function.
4051         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4052         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4053         In CASE 5B, restrict a search limit to 500.
4054         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4056         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4057         Restrict macro bounds to +-500 from after-change's BEG END.
4059 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4061         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4063 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
4065         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4066         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
4068 2012-03-16  Glenn Morris  <rgm@gnu.org>
4070         * view.el (view-buffer, view-buffer-other-window)
4071         (view-buffer-other-frame): Doc fixes re special mode-class.
4073         * subr.el (eval-after-load): If named feature is provided not from
4074         a file, run after-load forms.  (Bug#10946)
4076         * calendar/calendar.el (calendar-insert-at-column):
4077         Handle non-unit-width characters a bit better.  (Bug#10978)
4079 2012-03-15  Chong Yidong  <cyd@gnu.org>
4081         * emacs-lisp/ring.el (ring-extend): New function.
4082         (ring-insert+extend): Extend the ring correctly (Bug#11019).
4084         * comint.el (comint-read-input-ring)
4085         (comint-add-to-input-history): Grow comint-input-ring lazily.
4087 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4089         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4090         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4092         * imenu.el: Fix multiple inheritance breakage (bug#9199).
4093         (imenu-add-to-menubar): Don't add a redundant index.
4094         (imenu-update-menubar): Handle a dynamically composed keymap.
4096 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
4098         * mail/sendmail.el (mail-encode-header):
4099         Bind rfc2047-encode-encoded-words to nil.
4101 2012-03-13  Glenn Morris  <rgm@gnu.org>
4103         * calendar/calendar.el (calendar-string-spread):
4104         Handle non-unit-width characters a bit better.  (Bug#10978)
4106 2012-03-13  Leo Liu  <sdl.web@gmail.com>
4108         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4109         directory and file as argument (Bug#10822).
4111 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
4113         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4114         For dynamically generated code, follow $PC.
4115         (gdb-disassembly-handler-custom): Handle no function name case.
4117 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
4119         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4120         * emulation/ws-mode.el (ws-query-replace):
4121         * sort.el (sort-regexp-fields):
4122         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
4124 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4126         * dabbrev.el: Fix cycle completion order (bug#10963).
4127         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4128         (dabbrev-completion): Don't use an obarray; provide
4129         a cycle-sort-function.
4131 2012-03-12  Leo Liu  <sdl.web@gmail.com>
4133         * simple.el (kill-new): Use equal-including-properties for comparison.
4134         (kill-do-not-save-duplicates): Doc fix.
4136 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4138         * dabbrev.el: Fix cycle completion (bug#10963).
4139         Use lexical binding and wrap to 80 columns.
4140         (dabbrev-completion): Delay computing the list of completions.
4142 2012-03-12  Kenichi Handa  <handa@m17n.org>
4144         * international/quail.el (quail-insert-kbd-layout): Surround each
4145         row by LRO and PDF instead of inserting many LRMs.  Pad the left
4146         and right of each non-spacing marks.  Insert invisible space
4147         between lower and upper characters to prevent composition.
4149 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4151         * minibuffer.el (minibuffer-complete): Don't get confused when the
4152         function is run twice via different commands (bug#10958).
4153         (complete-with-action): Fix docstring.
4155 2012-03-12  Chong Yidong  <cyd@gnu.org>
4157         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4158         (nxml-completion-at-point-function): New function.
4159         (nxml-mode): Use it.
4160         (nxml-bind-meta-tab-to-complete-flag): Default to t.
4162         * emacs-lisp/package.el (package-unpack, package-unpack-single):
4163         Load generated autoloads file before byte compiling (Bug#10970).
4164         (package--make-autoloads-and-compile): New helper fun.
4166 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
4168         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4170 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
4172         * autorevert.el (auto-revert-handler): Ensure, that
4173         file-readable-p is applied only for local files or in
4174         auto-revert-tail-mode.
4176 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
4178         * server.el (server-eval-at): Handle non-tcp connections.
4179         Decode result string.
4181         * server.el (server-msg-size): New constant.
4182         (server-reply-print): New function.
4183         (server-eval-and-print): Use it.
4184         (server-eval-at): Use server-quote-arg and server-unquote-arg.
4185         Handle -print-nonl.
4187 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
4189         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4190         (Bug#10987).
4192 2012-03-11  Chong Yidong  <cyd@gnu.org>
4194         * simple.el (goto-line): Doc fix (Bug#9938).
4196         * subr.el (save-window-excursion): Doc fix (Bug#9979).
4198         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4199         when finished (Bug#10963).
4201 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
4203         * window.el (split-window-below): Fix bug in case where
4204         split-window-keep-point is nil (Bug#10971).
4206 2012-03-11  Juri Linkov  <juri@jurta.org>
4208         * replace.el (replace-highlight): Set isearch-word to nil
4209         unconditionally.  (Bug#10887)
4211 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
4213         * net/mairix.el (mairix-replace-invalid-chars): Rename from
4214         mairix-replace-illegal-chars; all callers changed.  Don't remove
4215         ^, ~, and = characters: they are meaningful in mairix search specs.
4216         (mairix-widget-create-query): Add usage information about mairix
4217         search forms: negating words, searching for substrings, etc.
4219 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
4221         * international/fontset.el (font-encoding-alist): Add an entry for
4222         ksx1001 (Bug#5667).
4224 2012-03-10  Richard Stallman  <rms@gnu.org>
4226         * mail/sendmail.el (mail-encode-header):
4227         Set rfc2047-encode-encoded-words.
4229         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4231         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4232         view buffer means not swapped.
4233         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4234         (rmail-write-region-annotate): Error if real text has disappeared.
4236         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4238 2012-03-10  Chong Yidong  <cyd@gnu.org>
4240         * emulation/cua-rect.el (cua--init-rectangles):
4241         * emulation/cua-base.el (cua--init-keymaps):
4242         Add delete-forward-char to remappings (Bug#9666).
4244 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
4246         * speedbar.el (speedbar-unhighlight-one-tag-line):
4247         Avoid unhighlighting due to frame switching (Bug#10275).
4249 2012-03-10  Chong Yidong  <cyd@gnu.org>
4251         * minibuffer.el (completion-in-region, completion-help-at-point):
4252         Give the completion field overlay a high priority (Bug#6830).
4254         * dired.el (dired-goto-file): Recognize absolute file name
4255         listings (Bug#7126).
4256         (dired-goto-file-1): New helper function.
4257         (dired-toggle-read-only): Inhibit warnings.
4259 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
4261         * net/dbus.el (dbus-property-handler): Return empty array if
4262         there are no properties.
4264 2012-03-09  Leo Liu  <sdl.web@gmail.com>
4266         * savehist.el (savehist-printable): Stricter check for string
4267         value (Bug#10937).
4269 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
4271         * mail/smtpmail.el (smtpmail-send-it):
4272         Bind coding-system-for-write to *-unix, so that FCC files are kept in
4273         valid mbox format.
4275 2012-03-09  Glenn Morris  <rgm@gnu.org>
4277         * files.el (dir-locals-find-file):
4278         Don't check result is regular, readable.
4279         (dir-locals-read-from-file): Demote errors.
4281 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
4283         * international/quail.el (quail-insert-kbd-layout):
4284         Insert invisible LRM characters before each character in a keyboard
4285         layout cell, to prevent their reordering by bidi display engine.
4286         For details, see the discussion in
4287         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4289 2012-03-08  Alan Mackenzie  <acm@muc.de>
4291         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4292         the starting position; make it extend the marked region when
4293         invoked repeatedly - all under appropriate circumstances.
4294         Fixes bugs #5525, #10906.
4296 2012-03-08  Glenn Morris  <rgm@gnu.org>
4298         * files.el (locate-dominating-file, dir-locals-find-file):
4299         Undo 2012-03-06 change.
4301 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
4303         * international/quail.el (quail-help):
4304         Force bidi-paragraph-direction be left-to-right.  See discussion in
4305         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4306         for the reason.
4308 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
4310         Avoid superfluous registering of signals.  (Bug#10807)
4312         * notifications.el (notifications-on-action-object)
4313         (notifications-on-close-object): New defvars.
4314         (notifications-on-action-signal, notifications-on-closed-signal):
4315         Unregister the signal if not needed any longer.
4316         (notifications-notify): Register `notifications-action-signal' or
4317         `notifications-closed-signal', if :on-action or :on-close has been
4318         passed as argument.
4320 2012-03-07  Chong Yidong  <cyd@gnu.org>
4322         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4323         non-X platforms.
4325 2012-03-06  Glenn Morris  <rgm@gnu.org>
4327         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4328         (x-disown-selection-internal, x-get-selection-internal):
4329         Doc fix (add arglist signatures).  (Bug#10783)
4331 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
4333         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4334         Handle breakpoints with no "type".
4336 2012-03-06  Glenn Morris  <rgm@gnu.org>
4338         * files.el (locate-dominating-file): Add optional predicate argument.
4339         (dir-locals-find-file): Make use of above change.
4341 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
4343         * info.el (Info-insert-dir): Also try "dir.gz".
4345 2012-03-06  Glenn Morris  <rgm@gnu.org>
4347         * files.el (dir-locals-find-file):
4348         Ignore non-readable or non-regular files.  (Bug#10928)
4350         * files.el (locate-dominating-file): Doc fix.
4352 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
4354         * calendar/calendar.el (calendar-set-mode-line):
4355         `getenv' returns a string.  (Bug#10951)
4357 2012-03-05  Leo Liu  <sdl.web@gmail.com>
4359         * simple.el (backward-delete-char-untabify): Constrain point to
4360         field (Bug#10939).
4362         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4364 2012-03-05  Chong Yidong  <cyd@gnu.org>
4366         * simple.el (count-words): If called from Lisp, return the word
4367         count, for symmetry with `count-lines'.  Arglist changed.
4368         (count-words--message): Args changed.  Consolidate counting code
4369         from count-words and count-words-region.
4370         (count-words-region): Caller changed.
4371         (count-lines-region): Make it an obsolete alias.
4373 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
4375         * saveplace.el (save-place-to-alist)
4376         (save-place-ignore-files-regexp): Allow value nil to disable this
4377         feature.
4379 2012-03-04  Chong Yidong  <cyd@gnu.org>
4381         * faces.el (face-spec-reset-face): For the default face, reset the
4382         attributes to default values (Bug#10748).
4384 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4386         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4387         previous patch: Check `message-send-mail-function', and not the
4388         default function (bug#10897).
4390 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
4392         * notifications.el (notifications-on-action-signal)
4393         (notifications-on-closed-signal): Check for unique service name of
4394         incoming event.  Fix error in removing entry.
4395         (top): Register for signals with wildcard service name.
4396         (notifications-notify): Use daemon unique service name for map entries.
4398 2012-03-04  Chong Yidong  <cyd@gnu.org>
4400         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4402 2012-03-04  Glenn Morris  <rgm@gnu.org>
4404         * abbrev.el (copy-abbrev-table, abbrev-table-p)
4405         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4406         (expand-abbrev, define-abbrev-table): Doc fixes.
4408 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4410         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4411         `message-default-send-mail-function' and not `send-mail-function'
4412         when doing the prompting for `sendmail-query-once' before sending
4413         in Message buffers (bug#10897).
4415         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4416         This is inconsistent with all the other stream functions, which leave
4417         the setting up to the higher levels (if so wanted) (bug#10931).
4419 2012-03-02  Alan Mackenzie  <acm@muc.de>
4421         Depessimize the handling of very large macros.
4423         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4424         (c-macro-cache-syntactic): New variables to implement a one
4425         element macro cache.
4426         (c-invalidate-macro-cache): New function.
4427         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4428         Adapt to use the new cache.
4429         (c-state-safe-place): Use better the cache of safe positions.
4430         (c-state-semi-nonlit-pos-cache)
4431         (c-state-semi-nonlit-pos-cache-limit):
4432         New variables for...
4433         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
4434         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4435         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4436         Use c-state-semi-safe-place.
4438         * progmodes/cc-langs.el (c-get-state-before-change-functions):
4439         Add c-invalidate-macro-cache to the C, C++, Obj entries.
4441 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
4443         * jka-compr.el (jka-compr-call-process):
4444         Apply `file-accessible-directory-p' only when the default directory is
4445         not remote.
4447 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
4449         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
4450         access of FILE2, if FILE1 does not exist.
4452         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4453         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4455         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4456         Add "PAGER=" to `process-environment'.
4458 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
4460         * progmodes/sql.el: Bug fix
4461         (sql-get-login-ext): Save login values in globals.
4462         (sql-get-login): Use new version of `sql-get-login-ext'.
4463         (sql-interactive-mode): Set global `sql-connection' to nil.
4464         (sql-connect): Set global values for connection.
4465         (sql-product-interactive): Save global values as buffer local.
4467 2012-02-29  Leo Liu  <sdl.web@gmail.com>
4469         * abbrev.el (define-abbrevs): Reset sys to nil.
4471 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4473         * files.el (file-equal-p): Rename from `files-equal-p'.
4474         Return nil when one or both files don't exist.
4475         (file-subdir-of-p): Now only top directory must exists,
4476         return nil if it doesn't.
4477         (copy-directory): No need to test with `file-subdir-of-p' after
4478         creating dir.
4479         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4480         to `file-equal-p'.
4482 2012-02-28  Glenn Morris  <rgm@gnu.org>
4484         * shell.el (shell-mode):
4485         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4486         * play/landmark.el (landmark-font-lock-face-O):
4487         * play/handwrite.el (handwrite):
4488         * play/gomoku.el (gomoku-O):
4489         * net/browse-url.el (browse-url-browser-display):
4490         * international/mule.el (define-charset):
4491         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4492         * filesets.el (filesets-find-file-delay):
4493         * eshell/em-xtra.el (eshell-xtra):
4494         * eshell/em-unix.el (eshell-grep):
4495         * emulation/viper.el (viper-mode):
4496         * emacs-lisp/regexp-opt.el (regexp-opt-group):
4497         * emacs-lisp/easymenu.el (easy-menu-define):
4498         * calendar/timeclock.el (timeclock-use-display-time):
4499         * bs.el (bs-mode):
4500         * bookmark.el (bookmark-save-flag):
4501         Doc fix (standardize possessive apostrophe usage).
4503 2012-02-27  Chong Yidong  <cyd@gnu.org>
4505         * emulation/viper-cmd.el (viper-intercept-ESC-key):
4506         Fix key-binding lookup for ESC key (Bug#9146).
4508         * font-lock.el (font-lock-specified-p): Rename from
4509         font-lock-spec-present.  Callers changed.
4511 2012-02-27  Daniel Hackney  <dan@haxney.org>
4513         * emacs-lisp/package.el (package-compute-transaction):
4514         Handle holding a package version to t in package-load-list.
4516 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
4518         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4519         (tramp-get-inode, tramp-get-device): Use cached values.
4521 2012-02-26  Alan Mackenzie  <acm@muc.de>
4523         Check there is a font-lock specification before doing initial
4524         fontification.
4526         * font-core.el (font-lock-mode): Move the conditional from
4527         :after-hook to font-lock-initial-fontify.
4528         (font-lock-default-function): Move the check for a specification
4529         to font-lock-spec-present.
4531         * font-lock.el (font-lock-initial-fontify): Call ...
4532         (font-lock-spec-present): New function.
4534 2012-02-26  Jim Blandy  <jimb@red-bean.com>
4536         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4537         (gdb-send): Apply it to the operand of the '-interpreter-exec
4538         console' command, so that we can pass arguments with (say) quotes
4539         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
4541 2012-02-26  Chong Yidong  <cyd@gnu.org>
4543         * help-fns.el (describe-function-1): Clarify description of
4544         remapping (Bug#10844).
4546         * files.el (files-equal-p): Doc fix.
4547         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
4548         and quit the loop once a mismatch is found.
4550 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
4552         * bs.el (bs--show-with-configuration): Don't throw an error
4553         if the window cannot be split; otherwise, subsequent calls to
4554         bs-show fail, restoring a stale window config.  (Bug#10882)
4556 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
4558         * term/ns-win.el (global-map): Bind ns-drag-file to
4559         ns-find-file (Bug#5855, Bug#10050).
4561 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
4563         * calendar/parse-time.el (parse-time-string): Allow extractor to
4564         return nil.
4566 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
4568         * net/tramp.el (tramp-file-name-for-operation):
4569         Add `files-equal-p' and `file-subdir-of-p'.
4571         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4572         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4573         Add COPY-CONTENTS argument.
4575 2012-02-25  Chong Yidong  <cyd@gnu.org>
4577         Add custom groups for VC backends, for consistency with vc-bzr.
4579         * vc/vc-arch.el (vc-arch):
4580         * vc/vc-cvs.el (vc-cvs):
4581         * vc/vc-git.el (vc-git):
4582         * vc/vc-hg.el (vc-hg):
4583         * vc/vc-mtn.el (vc-mtn):
4584         * vc/vc-rcs.el (vc-rcs):
4585         * vc/vc-sccs.el (vc-sccs):
4586         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4587         All relevant defcustoms reassigned.
4589 2012-02-25  Chong Yidong  <cyd@gnu.org>
4591         * newcomment.el (comment-styles): Add autoload (Bug#10868).
4593         * term/x-win.el (x-initialize-window-system): Reduce default for
4594         x-selection-timeout to 5 seconds (Bug#8869).
4596 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4598         * files.el (files-equal-p, file-subdir-of-p): New functions.
4599         (copy-directory): Error when trying to copy a directory on itself.
4600         Add missing copy-contents arg to tramp handler.
4601         * dired-aux.el (dired-copy-file-recursive): Same.
4602         (dired-create-files): Modify destination when source is equal to
4603         dest when copying files.
4604         Return also when dest is a subdir of source.  (Bug#10489)
4606 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
4608         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4609         (Bug#10874)
4611 2012-02-23  Alan Mackenzie  <acm@muc.de>
4613         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4614         parameter "after-hook:" to allow the expansion to run code after
4615         the execution of the mode hooks.
4617         * font-lock.el (font-lock-initial-fontify): New function extracted
4618         from font-lock-mode-internal.
4620         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4621         :after-hook.
4623 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4625         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4626         (completion--cache-all-sorted-completions): New function.
4627         (completion-all-sorted-completions): Use it.
4628         (completion--do-completion, minibuffer-force-complete):
4629         Use it to re-instate the flush hook.
4631         * icomplete.el (icomplete-completions): Replace last fix with a better
4632         one (bug#10850).
4634 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
4636         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4637         when it might call us back infinitely (bug#10797).
4639 2012-02-23  Glenn Morris  <rgm@gnu.org>
4641         * minibuffer.el (completion-category-overrides): Doc fix.
4643 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4645         * minibuffer.el (completion-table-with-context): Fix inf-loop.
4646         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4648 2012-02-23  Glenn Morris  <rgm@gnu.org>
4650         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4651         (authors-obsolete-files-regexps, authors-ignored-files)
4652         (authors-ambiguous-files, authors-renamed-files-alist):
4653         Add more entries.
4655 2012-02-23  Juri Linkov  <juri@jurta.org>
4657         * isearch.el (isearch-occur): Sync interactive spec with occur's
4658         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
4660         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4662 2012-02-22  Juri Linkov  <juri@jurta.org>
4664         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4665         (ucs-insert): Doc fix.  Check for hex digits in the string.
4666         Don't display `nil' in the error message.  (Bug#10857)
4668 2012-02-22  Alan Mackenzie  <acm@muc.de>
4670         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4672 2012-02-22  Glenn Morris  <rgm@gnu.org>
4674         * ffap.el (ffap-c-path):
4675         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
4677 2012-02-22  Chong Yidong  <cyd@gnu.org>
4679         * custom.el (load-theme): Doc fix.
4681 2012-02-22  Glenn Morris  <rgm@gnu.org>
4683         * dired-x.el (dired-guess-shell-alist-default):
4684         Remove escape sequences from nroff output.  (Bug#172)
4686 2012-02-21  Glenn Morris  <rgm@gnu.org>
4688         * vc/emerge.el (emerge-defvar-local):
4689         Set `permanent-local' property rather than unused `preserved'.
4691         * textmodes/picture.el (picture-delete-char): New alias.
4692         (picture-mode-map): Use it.  (Bug#10860)
4693         (picture-mode): Doc fix.
4695 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
4697         * newcomment.el (uncomment-region-default): Remove unused binding.
4699 2012-02-21  Glenn Morris  <rgm@gnu.org>
4701         * textmodes/picture.el (picture-motion, picture-motion-reverse)
4702         (picture-self-insert, picture-tab-chars): Doc fix.
4703         (picture-mode-map): Fix C-a, C-e.
4705 2012-02-20  Glenn Morris  <rgm@gnu.org>
4707         * emacs-lisp/authors.el (authors-aliases): Add another entry.
4709 2012-02-20  Leo Liu  <sdl.web@gmail.com>
4711         * icomplete.el (icomplete-completions): Check FROM arg before
4712         passing to substring (Bug#10850).
4714 2012-02-19  Chong Yidong  <cyd@gnu.org>
4716         * comint.el: Require ansi-color.
4717         (comint-output-filter-functions): Add ansi-color-process-output.
4719         * ansi-color.el: Don't set comint-output-filter-functions; it is
4720         now in the initial value defined in comint.el.
4721         (ansi-color-apply-face-function): New variable.
4722         (ansi-color-apply-on-region): Use it.
4723         (ansi-color-apply-overlay-face): New function.
4725         * shell.el (shell): No need to require ansi-color.
4726         (shell-mode): Use ansi-color-apply-face-function to highlight
4727         color escapes using font-lock-face property (Bug#10835).
4729 2012-02-19  Chong Yidong  <cyd@gnu.org>
4731         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4732         mode-line formats (Bug#10839).
4734 2012-02-18  Glenn Morris  <rgm@gnu.org>
4736         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4738         * mail/undigest.el (unforward-rmail-message): Doc fix.
4740         * saveplace.el (save-place-ignore-files-regexp): Add :version.
4742 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
4744         * international/characters.el (script-list): Sync with the latest
4745         Unicode Character Database.
4747 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
4749         * international/titdic-cnv.el: Remove duplicate coding tag.
4750         * language/cham.el: Likewise.
4751         * language/tai-viet.el: Likewise.
4753 2012-02-18  Glenn Morris  <rgm@gnu.org>
4755         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4756         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4757         (calendar-bahai-all-holidays-flag, calendar-other-dates):
4758         * calendar/diary-lib.el (diary-abbreviated-year-flag):
4759         * calendar/holidays.el (holiday-bahai-holidays)
4760         (calendar-holidays, list-holidays):
4761         Use utf-8 Bahá'í in doc-strings, menus, etc.
4763 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
4765         * saveplace.el (save-place-ignore-files-regexp): New variable
4766         allowing for excluding files from saving their location of point.
4767         The default value matches the temporary commit message editing
4768         files from Git, SVN, Bazaar, and Mercurial.
4769         (save-place-to-alist): Use it.
4771 2012-02-17  Lawrence Mitchell <wence@gmx.li>
4772             Stefan Monnier  <monnier@iro.umontreal.ca>
4774         * newcomment.el (uncomment-region-default): Don't leave extra space
4775         when an arg is provided (bug#8150).
4777 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
4779         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4781 2012-02-17  Glenn Morris  <rgm@gnu.org>
4783         * net/socks.el: Require network-stream.  (Bug#10599)
4785 2012-02-17  Kenichi Handa  <handa@m17n.org>
4787         * international/charprop.el:
4788         * international/uni-name.el:
4789         * international/uni-old-name.el:
4790         * international/uni-comment.el: Regenerate.
4792 2012-02-16  Glenn Morris  <rgm@gnu.org>
4794         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4795         Interactively in calendar buffer, give an error if not on a date.
4797 2012-02-15  Glenn Morris  <rgm@gnu.org>
4799         * shell.el (shell-delimiter-argument-list):
4800         Revert 2011-02-17 change.  (Bug#8027)
4802 2012-02-15  Chong Yidong  <cyd@gnu.org>
4804         * minibuffer.el (completion-at-point-functions): Doc fix.
4806         * custom.el (defcustom): Doc fix; note use of defvar.
4808 2012-02-15  Glenn Morris  <rgm@gnu.org>
4810         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4811         Doc fixes.
4813 2012-02-14  Glenn Morris  <rgm@gnu.org>
4815         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4817 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
4819         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4820         way the ports list is computed.
4821         (smtpmail-query-smtp-server): Prompt the user for a port number if
4822         we can't connect to any of the standard ports (bug#10810).
4824 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
4826         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4828 2012-02-13  Glenn Morris  <rgm@gnu.org>
4830         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
4832 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
4834         * net/gnutls.el (gnutls-trustfiles): New variable.
4835         (gnutls-negotiate): Use it.
4837 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
4839         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4840         does its stuff if Gnus is running.
4842 2012-02-13  Alan Mackenzie  <acm@muc.de>
4844         Fix a loop in c-set-fl-decl-start.
4846         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4847         c-backward-syntactic-ws actually moves backwards.
4849 2012-02-13  Leo Liu  <sdl.web@gmail.com>
4851         * net/rcirc.el (rcirc-markup-attributes): Move point to the
4852         beginning so that all \C-o chars are removed.
4854 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
4856         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4858 2012-02-12  Alan Mackenzie  <acm@muc.de>
4860         Fix infinite loop with long macros.
4861         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4863 2012-02-12  Chong Yidong  <cyd@gnu.org>
4865         * window.el (display-buffer): Doc fix (Bug#10785).
4867 2012-02-12  Glenn Morris  <rgm@gnu.org>
4869         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4870         (x-disown-selection-internal, x-get-selection-internal):
4871         Sync docs with the xselect.c versions.
4873         * allout-widgets.el: Add missing license notice.
4875 2012-02-11  Glenn Morris  <rgm@gnu.org>
4877         * select.el (x-get-selection-internal, x-own-selection-internal)
4878         (x-disown-selection-internal):
4879         * x-dnd.el (x-get-selection-internal): Update declarations.
4881         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4883         * window.el (window-sides-slots):
4884         * tool-bar.el (tool-bar-position):
4885         * term/xterm.el (xterm-extra-capabilities):
4886         * ses.el (ses-self-reference-early-detection):
4887         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4888         (verilog-auto-wire-type)
4889         (verilog-auto-delete-trailing-whitespace)
4890         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4891         (verilog-auto-tieoff-declaration):
4892         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4893         (sql-oracle-statement-starters, sql-oracle-scan-on):
4894         * progmodes/prolog.el (prolog-align-comments-flag)
4895         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4896         (prolog-left-indent-regexp, prolog-paren-indent-p)
4897         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4898         (prolog-types, prolog-mode-specificators)
4899         (prolog-determinism-specificators, prolog-directives)
4900         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4901         (prolog-electric-dot-flag)
4902         (prolog-electric-dot-full-predicate-template)
4903         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4904         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4905         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4906         (prolog-program-switches, prolog-prompt-regexp)
4907         (prolog-debug-on-string, prolog-debug-off-string)
4908         (prolog-trace-on-string, prolog-trace-off-string)
4909         (prolog-zip-on-string, prolog-zip-off-string)
4910         (prolog-use-standard-consult-compile-method-flag)
4911         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4912         (prolog-imenu-max-lines, prolog-info-predicate-index)
4913         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4914         (prolog-char-quote-workaround):
4915         * progmodes/cc-vars.el (c-defun-tactic):
4916         * net/tramp.el (tramp-encoding-command-interactive)
4917         (tramp-local-end-of-line):
4918         * net/soap-client.el (soap-client):
4919         * net/netrc.el (netrc-file):
4920         * net/gnutls.el (gnutls):
4921         * minibuffer.el (completion-category-overrides)
4922         (completion-cycle-threshold)
4923         (completion-pcm-complete-word-inserts-delimiters):
4924         * man.el (Man-name-local-regexp):
4925         * mail/feedmail.el (feedmail-display-full-frame):
4926         * international/characters.el (glyphless-char-display-control):
4927         * eshell/em-ls.el (eshell-ls-date-format):
4928         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4929         (lisp-lambda-list-keyword-parameter-indentation)
4930         (lisp-lambda-list-keyword-parameter-alignment):
4931         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4932         * dired-x.el (dired-omit-verbose):
4933         * cus-theme.el (custom-theme-allow-multiple-selections):
4934         * calc/calc.el (calc-highlight-selections-with-faces)
4935         (calc-lu-field-reference, calc-lu-power-reference)
4936         (calc-note-threshold):
4937         * battery.el (battery-mode-line-limit):
4938         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4939         (archive-7z-update):
4940         * allout.el (allout-prefixed-keybindings)
4941         (allout-unprefixed-keybindings)
4942         (allout-inhibit-auto-fill-on-headline)
4943         (allout-flattened-numbering-abbreviation):
4944         * allout-widgets.el (allout-widgets-auto-activation)
4945         (allout-widgets-icons-dark-subdir)
4946         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4947         (allout-widgets-theme-dark-background)
4948         (allout-widgets-theme-light-background)
4949         (allout-widgets-item-image-properties-emacs)
4950         (allout-widgets-item-image-properties-xemacs)
4951         (allout-widgets-run-unit-tests-on-load)
4952         (allout-widgets-time-decoration-activity)
4953         (allout-widgets-hook-error-post-time)
4954         (allout-widgets-track-decoration):
4955         Add missing :version tags to new defcustoms and defgroups.
4957         * progmodes/sql.el (sql-ansi-statement-starters)
4958         (sql-oracle-statement-starters): Add custom type.
4960         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4961         (prolog-system-version): Give it a type.
4963 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
4965         * term/pc-win.el (x-select-text, x-selection-owner-p)
4966         (x-own-selection-internal, x-disown-selection-internal)
4967         (x-get-selection-internal): Sync doc strings and argument lists
4968         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
4970 2012-02-11  Leo Liu  <sdl.web@gmail.com>
4972         * progmodes/python.el (python-end-of-statement): Fix infinite
4973         loop.  (Bug#10788)
4975 2012-02-10  Glenn Morris  <rgm@gnu.org>
4977         * international/mule-cmds.el (unify-8859-on-encoding-mode)
4978         (unify-8859-on-decoding-mode): Properly mark as obsolete.
4980 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
4982         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4983         about SMTP before checking the From header.
4985         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4986         into own function for reuse by emacsbug.el.
4988 2012-02-10  Leo Liu  <sdl.web@gmail.com>
4990         * subr.el (condition-case-unless-debug): Rename from
4991         condition-case-no-debug.  All callers changed.
4992         (with-demoted-errors): Fix caller.
4994         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4995         * nxml/rng-valid.el (rng-do-some-validation):
4996         * emacs-lisp/package.el (package-refresh-contents)
4997         (package-menu-execute):
4998         * desktop.el (desktop-create-buffer):
4999         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5001 2012-02-10  Glenn Morris  <rgm@gnu.org>
5003         * textmodes/bibtex.el:
5004         Add missing :version tags for new/changed defcustoms.
5006         * files.el (remote-file-name-inhibit-cache): Doc fixes.
5008 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
5010         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5011         (smtpmail-via-smtp): Use it, or fall back on the From address.
5012         (smtpmail-send-it): Ditto.
5014 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5016         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5017         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
5018         (byte-compile-tmp-var): New const.
5019         (byte-compile-defvar): Use it to minimize .elc size.
5020         Just use `defvar' rather than simulate it (bug#10761).
5022 2012-02-09  Glenn Morris  <rgm@gnu.org>
5024         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
5026         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5027         Add :version tags.
5029         * progmodes/compile.el (compilation-error-screen-columns)
5030         (compilation-first-column, compilation-filter-start): Doc fixes.
5032         * vc/log-view.el (log-view-toggle-entry-display):
5033         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5035         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5036         (report-emacs-bug-can-use-xdg-email):
5037         (report-emacs-bug-insert-to-mailer): Doc fixes.
5038         (report-emacs-bug): Message fix.
5040         * net/browse-url.el (browse-url-can-use-xdg-open)
5041         (browse-url-xdg-open): Doc fixes.
5043         * electric.el (electric-indent-mode, electric-pair-mode)
5044         (electric-layout-rules, electric-layout-mode): Doc fixes.
5045         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5047 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
5049         * server.el (server-unselect-display): Don't inadvertently kill
5050         the current buffer.  (Bug#10729)
5052 2012-02-08  Glenn Morris  <rgm@gnu.org>
5054         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5055         (sql-list-table): Doc fixes.
5057         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5058         Comment out (does nothing).
5060         * completion.el (dynamic-completion-mode):
5061         * dirtrack.el (dirtrack-debug-mode):
5062         * electric.el (electric-layout-mode):
5063         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5064         * face-remap.el (text-scale-mode, buffer-face-mode):
5065         * iimage.el (iimage-mode):
5066         * image-mode.el (image-transform-mode):
5067         * minibuffer.el (completion-in-region-mode):
5068         * scroll-lock.el (scroll-lock-mode):
5069         * simple.el (next-error-follow-minor-mode):
5070         * tar-mode.el (tar-subfile-mode):
5071         * tooltip.el (tooltip-mode):
5072         * vcursor.el (vcursor-use-vcursor-map):
5073         * wid-browse.el (widget-minor-mode):
5074         * emulation/tpu-edt.el (tpu-edt-mode):
5075         * emulation/tpu-extras.el (tpu-cursor-free-mode):
5076         * international/iso-ascii.el (iso-ascii-mode):
5077         * language/thai-util.el (thai-word-mode):
5078         * mail/supercite.el (sc-minor-mode):
5079         * net/goto-addr.el (goto-address-mode):
5080         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5081         * progmodes/cwarn.el (cwarn-mode):
5082         * progmodes/flymake.el (flymake-mode):
5083         * progmodes/glasses.el (glasses-mode):
5084         * progmodes/hideshow.el (hs-minor-mode):
5085         * progmodes/pascal.el (pascal-outline-mode):
5086         * textmodes/enriched.el (enriched-mode):
5087         * vc/smerge-mode.el (smerge-mode):
5088         Doc fixes (minor mode argument).
5090 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
5092         * ls-lisp.el (ls-lisp-sanitize): New function.
5093         (ls-lisp-insert-directory): Use it to fix or remove any elements
5094         in file-alist with missing attributes.  (Bug#4673)
5096 2012-02-07  Alan Mackenzie  <acm@muc.de>
5098         Fix spurious recognition of c-in-knr-argdecl.
5100         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5101         putative K&R region.
5103 2012-02-07  Alan Mackenzie  <acm@muc.de>
5105         * progmodes/cc-engine.el (c-forward-objc-directive):
5106         Prevent looping in "#pragma mark @implementation".
5108 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
5110         * notifications.el (notifications-on-closed-signal): Make `reason'
5111         optional.  (Bug#10744)
5113 2012-02-07  Glenn Morris  <rgm@gnu.org>
5115         * emacs-lisp/easy-mmode.el (define-minor-mode):
5116         Doc fixes for the macro and the mode it defines.
5118         * image.el (imagemagick-types-inhibit): Doc fix.
5120         * cus-start.el (imagemagick-render-type): Add it.
5122 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
5124         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5125         Set the default at load time, too, so that `font-lock-fontify-buffer'
5126         can be called without setting up the entire mode first.  This fixes
5127         a bug in `mm-inline-text' with C MIME parts.
5129 2012-02-06  Chong Yidong  <cyd@gnu.org>
5131         * simple.el (list-processes--refresh): Delete exited processes
5132         (Bug#8094).
5134         * comint.el (comint-next-prompt): next-single-char-property-change
5135         and prev-single-char-property-change never return nil (Bug#8657).
5137         * custom.el (defcustom): Doc fix (Bug#9711).
5139 2012-02-05  Chong Yidong  <cyd@gnu.org>
5141         * cus-edit.el (custom-variable-reset-backup): Quote the value
5142         before storing it in the customized-value property (Bug#6712).
5143         (custom-display): Add a customization type tag.
5144         (custom-buffer-create-internal): Improve tooltip message.
5146         * wid-edit.el (widget-field-value-get): New optional arg to
5147         suppress trailing whitespace truncation.
5148         (character): Use it (Bug#2689).
5150 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
5152         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5153         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5155 2012-02-05  Chong Yidong  <cyd@gnu.org>
5157         * cus-edit.el (custom-variable-value-create): For mismatched
5158         types, show the current value (Bug#7600).
5160         * custom.el (defcustom): Doc fix.
5162 2012-02-05  Glenn Morris  <rgm@gnu.org>
5164         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5166 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
5168         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5169         (pp-buffer): Use `ignore-errors', `looking-at-p'.
5170         (pp-last-sexp): Use `looking-at-p'.
5172 2012-02-04  Glenn Morris  <rgm@gnu.org>
5174         * files.el (revert-buffer):
5175         Doc fix (mention revert-buffer-in-progress-p).
5177         * emacs-lisp/ert-x.el (ert-simulate-command):
5178         Check deferred-action-list (which is obsolete) is bound.
5180         * subr.el (with-wrapper-hook): Doc fixes.
5182         * simple.el (filter-buffer-substring-functions)
5183         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5185 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
5187         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5188         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
5190 2012-02-04  Leo Liu  <sdl.web@gmail.com>
5192         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5194 2012-02-04  Glenn Morris  <rgm@gnu.org>
5196         * image.el (image-extension-data): Add obsolete alias.
5198         * isearch.el (isearch-update): Doc fix.
5200         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5202         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5204 2012-02-03  Glenn Morris  <rgm@gnu.org>
5206         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
5207         (image-animate-timeout): Doc fix.
5209         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5211 2012-02-02  Glenn Morris  <rgm@gnu.org>
5213         * server.el (server-auth-dir): Doc fix.
5214         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
5216         * subr.el (run-mode-hooks): Doc fix.
5218 2012-02-02  Juri Linkov  <juri@jurta.org>
5220         * image-mode.el (image-toggle-display-image): Remove tautological
5221         `major-mode' from the `derived-mode-p' test.
5223 2012-02-02  Kenichi Handa  <handa@m17n.org>
5225         * composite.el (compose-region): Cancel previous change.
5227 2012-02-02  Kenichi Handa  <handa@m17n.org>
5229         * composite.el (compose-region, compose-string): Signal error for
5230         a null string component (Bug#6988).
5232 2012-02-01  Chong Yidong  <cyd@gnu.org>
5234         * view.el (view-buffer-other-window, view-buffer-other-frame):
5235         Handle special modes like view-buffer (Bug#10650).
5236         (view-buffer): Simplify.
5238         * frame.el (set-frame-font): Tweak meaning of third argument.
5240         * dynamic-setting.el (font-setting-change-default-font):
5241         Use set-frame-font (Bug#9982).
5243 2012-02-01  Glenn Morris  <rgm@gnu.org>
5245         * progmodes/compile.el (compilation-internal-error-properties):
5246         Respect compilation-first-column in the "*compilation*" buffer.
5248         * emacs-lisp/easy-mmode.el (define-minor-mode):
5249         Relax :variable's test for a named function.
5251 2012-01-31  Alan Mackenzie  <acm@muc.de>
5253         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5254         off by one error.
5256 2012-01-31  Chong Yidong  <cyd@gnu.org>
5258         * frame.el (set-frame-font): New arg ALL-FRAMES.
5260         * menu-bar.el (menu-set-font): Use set-frame-font.
5262         * faces.el (face-spec-reset-face): Don't apply unspecified
5263         attribute values to the default face.
5265 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
5267         * progmodes/cwarn.el (cwarn): Remove dead link.
5268         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5269         Remove * from defcustom docstrings.
5270         (turn-on-cwarn-mode): Make obsolete.
5271         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5272         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5274 2012-01-31  Glenn Morris  <rgm@gnu.org>
5276         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5277         Fix :variable handling of mode a symbol not equal to modefun.
5278         Allow named functions to be used as the cdr of :variable.
5280 2012-01-30  Glenn Morris  <rgm@gnu.org>
5282         * emacs-lisp/authors.el (authors-fixed-entries):
5283         Remove reference to deleted file rnewspost.el.
5285 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
5287         * window.el (window-with-parameter): Remove unused variable `windows'.
5288         (window--side-check): Remove unused variable `code'.
5289         (window--resize-siblings): Remove unused variable `first'.
5290         (adjust-window-trailing-edge): Remove unused variable `failed'.
5291         (window-deletable-p, window--delete): Remove unused variable `buffer'.
5292         Use `let', not `let*'.
5293         (balance-windows-2): Remove unused variable `found'.
5294         (window--state-put-2): Remove unused variable `splits'.
5295         (window-state-put): Remove unused variable `selected'.
5296         (same-window-p): Use `string-match-p'.
5297         (display-buffer-assq-regexp): Remove unused variable `value'.
5298         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5299         Mark argument ALIST as ignored.
5300         (pop-to-buffer): Remove unused variable `old-window'.
5302 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
5304         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5305         and .lzma compressed files.
5307 2012-01-29  Chong Yidong  <cyd@gnu.org>
5309         * frame.el (window-system-default-frame-alist): Doc fix.
5311         * dynamic-setting.el (font-setting-change-default-font): Don't
5312         change the default face if SET-FONT argument is non-nil (Bug#9982).
5314 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
5316         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5318 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
5320         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5321         breakpoints in files outside current directory (Bug#6098).
5323 2012-01-29  Chong Yidong  <cyd@gnu.org>
5325         * progmodes/python.el: Require ansi-color at top-level.
5327         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5328         Define and use in Emacs Lisp mode (Bug#9360).
5329         (lisp-mode-abbrev-table): Add doc.
5330         (lisp-mode-variables): Don't set local-abbrev-table.
5331         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5333 2012-01-28  Roland Winkler  <winkler@gnu.org>
5335         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5337 2012-01-28  Roland Winkler  <winkler@gnu.org>
5339         * textmodes/bibtex.el (bibtex-entry-alist): New function.
5340         (bibtex-set-dialect): Use it.  Either set global values of
5341         dialect-dependent variables or bind these variables buffer-locally
5342         (Bug#10254).
5343         (bibtex-mode): Call bibtex-set-dialect via
5344         hack-local-variables-hook.
5345         (bibtex-dialect): Update docstring.
5346         Add safe-local-variable predicate.
5347         (bibtex-entry-alist, bibtex-field-alist): Initialize via
5348         bibtex-set-dialect.
5349         (bibtex-mode-map): Define menu for each dialect.
5350         (bibtex-entry): Fix docstring.
5352 2012-01-28  Chong Yidong  <cyd@gnu.org>
5354         * eshell/esh-arg.el (eshell-quote-argument): New function.
5356         * eshell/esh-ext.el (eshell-invoke-batch-file):
5357         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5358         first arg to eshell-parse-command (Bug#10523).
5360 2012-01-28  Drew Adams  <drew.adams@oracle.com>
5362         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5363         `default-directory' is non-nil.
5365 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
5367         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5368         line that displays system-configuration-options.  (Bug#9924)
5370 2012-01-28  Drew Adams  <drew.adams@oracle.com>
5372         * descr-text.el (describe-char): Show information about POS, in
5373         addition to information about the character at POS.  Improve and
5374         update the doc string.  Change "code point" to "code point in
5375         charset", to avoid confusion with the character's Unicode code
5376         point shown above that.  (Bug#10129)
5378 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
5380         * descr-text.el (describe-char): Show the raw character, not only
5381         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
5382         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5383         for the reasons.
5385 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
5387         * emacs-lisp/package.el (package-install):
5388         Run package-refresh-contents if there is no archive yet (Bug#9798).
5390 2012-01-28  Chong Yidong  <cyd@gnu.org>
5392         * emacs-lisp/package.el (package-maybe-load-descriptor):
5393         New function, split from package-maybe-load-descriptor.
5394         (package-maybe-load-descriptor): Use it.
5395         (package-download-transaction): Fully load required packages
5396         inside the loop, so that `require' calls work (Bug#10593).
5397         (package-install): No need to call package-initialize now.
5399 2012-01-28  Chong Yidong  <cyd@gnu.org>
5401         * simple.el (deactivate-mark): Doc fix (Bug#8614).
5403         * tooltip.el (tooltip-mode): Doc fix.
5404         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5406         * frame.el (set-cursor-color): Doc fix (Bug#352).
5408         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5409         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5411         * cus-edit.el (custom-buffer-create-internal): Fix search button
5412         action (Bug#10542).
5413         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5415 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
5417         * dired.el (dired-mark-files-regexp):
5418         Include any subdirectory components.  (Bug#10445)
5420 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
5422         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5423         Handle [host]:port syntax.  (Bug#10533)
5425 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
5427         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5429 2012-01-26  Glenn Morris  <rgm@gnu.org>
5431         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5432         * term.el (term-raw-escape-map): Use Control-X-prefix.
5433         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
5435 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
5437         * window.el (window-state-get, window--state-get-1): Don't deal
5438         with fixed-sizeness of windows.  Simplify code.
5440 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
5442         * window.el (window--state-get-1, window--state-put-2):
5443         Don't save and restore the mark.
5445 2012-01-25  Chong Yidong  <cyd@gnu.org>
5447         * custom.el (custom-variable-p): Doc fix.
5449 2012-01-25  Glenn Morris  <rgm@gnu.org>
5451         * dired.el (dired-goto-file): Handle some of the more common
5452         characters that `ls -b' escapes.  (Bug#10596)
5454         * progmodes/compile.el (compilation-next-error-function):
5455         Respect compilation-first-column in the "*compilation*" buffer.
5456         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
5458         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
5460 2012-01-24  Glenn Morris  <rgm@gnu.org>
5462         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
5464 2012-01-24  Julien Danjou  <julien@danjou.info>
5466         * color.el (color-rgb-to-hsl): Fix value computing.
5467         (color-hue-to-rgb): New function.
5468         (color-hsl-to-rgb): New function.
5469         (color-clamp, color-saturate-hsl, color-saturate-name)
5470         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5471         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5473 2012-01-24  Glenn Morris  <rgm@gnu.org>
5475         * vc/vc-rcs.el (vc-rcs-create-tag):
5476         * vc/vc-sccs.el (vc-sccs-create-tag):
5477         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
5479 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
5481         * eshell/esh-util.el (eshell-read-hosts-file):
5482         Skip comment lines.  (Bug#10549)
5484         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
5486 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
5488         * subr.el (display-delayed-warnings): Doc fix.
5489         (collapse-delayed-warnings): New function to collapse identical
5490         adjacent warnings.
5491         (delayed-warnings-hook): Add it.
5493 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
5495         * net/tramp.el (tramp-action-login): Set connection property "login-as".
5497         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5498         (tramp-default-user-alist): Don't add "pscp".
5499         (tramp-do-copy-or-rename-file-out-of-band): Use connection
5500         property "login-as", if set.  (Bug#10530)
5502 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
5504         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5505         "plink1" and "psftp".  (Bug#10530)
5507 2012-01-21  Kenichi Handa  <handa@m17n.org>
5509         * international/mule-cmds.el (prefer-coding-system): Show a
5510         warning message if the default value of file-name-coding-system
5511         was not changed.
5513 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
5515         * windmove.el (windmove-reference-loc):
5516         Fix windmove-reference-loc miscalculation.
5518 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
5520         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5521         default unit.
5523 2012-01-21  Glenn Morris  <rgm@gnu.org>
5525         * international/mule.el (auto-coding-alist): Add .tbz.
5527         * files.el (local-enable-local-variables): Doc fix.
5528         (inhibit-local-variables-regexps): Rename from
5529         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
5530         Doc fix.  Add some extensions from auto-coding-alist.
5531         (inhibit-local-variables-suffixes):
5532         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
5533         (inhibit-local-variables-p):
5534         New function, extracted from set-auto-mode-1.
5535         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
5536         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
5537         (hack-local-variables): Doc fix.  Make the mode-only case
5538         respect enable-local-variables and friends.
5539         Respect inhibit-local-variables-regexps for file-locals, but
5540         not for directory-locals.
5541         (set-visited-file-name):
5542         Take account of inhibit-local-variables-regexps.
5543         Whether it applies may change as the file name is changed.
5544         * jka-cmpr-hook.el (jka-compr-install):
5545         * jka-compr.el (jka-compr-uninstall):
5546         Update for inhibit-first-line-modes-suffixes name change.
5548 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
5550         * help-macro.el (make-help-screen): Temporarily restore original
5551         binding for minor-mode-map-alist (Bug#10454).
5553 2012-01-19  Julien Danjou  <julien@danjou.info>
5555         * color.el (color-name-to-rgb): Use the white color to find the max
5556         color component value and return correctly computed values.
5557         (color-name-to-rgb): Add missing float conversion for max value.
5559 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
5561         * window.el (window--state-get-1, window-state-get): Do not use
5562         special state value for window-persistent-parameters.
5563         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
5564         (window--state-put-2): Reset all window parameters to nil before
5565         assigning values of persistent parameters.
5567 2012-01-18  Alan Mackenzie  <acm@muc.de>
5569         Eliminate sluggishness and hangs in fontification of "semicolon
5570         deserts".
5572         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5573         Change value 10000 -> 3000.
5574         (c-state-safe-place): Reformulate so it doesn't stack up an
5575         infinite number of wrong entries in c-state-nonlit-pos-cache.
5576         (c-determine-limit-get-base, c-determine-limit): New functions to
5577         determine backward search limits disregarding literals.
5578         (c-find-decl-spots): Amend commenting.
5579         (c-cheap-inside-bracelist-p): New function which detects "={".
5581         * progmodes/cc-fonts.el
5582         (c-make-font-lock-BO-decl-search-function): Give a limit to a
5583         backward search.
5584         (c-font-lock-declarations): Fix an occurrence of point being
5585         undefined.  Check additionally for point being in a bracelist or
5586         near a macro invocation without a semicolon so as to avoid a
5587         fruitless time consuming search for a declarator.  Give a more
5588         precise search limit for declarators using the new
5589         c-determine-limit.
5591 2012-01-18  Glenn Morris  <rgm@gnu.org>
5593         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5594         (set-auto-mode): Doc fixes.
5596 2012-01-17  Glenn Morris  <rgm@gnu.org>
5598         * isearch.el (search-nonincremental-instead): Fix doc typo.
5600         * dired.el (dired-insert-directory): Handle newlines in directory name.
5601         (dired-build-subdir-alist): Unescape newlines in directory name.
5603 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
5605         * net/tramp.el (tramp-local-end-of-line): New defcustom.
5606         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5607         (tramp-action-terminal): Use it.  (Bug#10530)
5609 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5611         * minibuffer.el (completion--replace): Strip properties (bug#10062).
5613 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
5615         * window.el (window-state-ignored-parameters): Remove variable.
5616         (window--state-get-1): Rename argument MARKERS to IGNORE.
5617         Handle persistent window parameters.  Make copy of clone-of
5618         parameter only if requested.  (Bug#10348)
5619         (window--state-put-2): Install a window parameter only if it has
5620         a non-nil value or an existing parameter shall be overwritten.
5622 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
5624         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5626 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
5628         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5629         don't pass the (nil) value of `upnode' to string-match.
5631 2012-01-14  Chong Yidong  <cyd@gnu.org>
5633         * startup.el (command-line): Fix X resource class for cursorColor.
5634         Fix values recognized by the cursorBlink resource.
5636 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
5638         * epg.el (epg--make-temp-file): Avoid permission race condition
5639         when running on old Emacs versions (bug#10403).
5641 2012-01-14  Glenn Morris  <rgm@gnu.org>
5643         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5645 2012-01-13  Alan Mackenzie  <acm@muc.de>
5647         Fix filling for when filladapt mode is enabled.
5649         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5650         c-mask-paragraph, pass in `fill-paragraph' rather than
5651         `fill-region-as-paragraph'.  (This is a reversion of a previous
5652         change.)
5653         * progmodes/cc-mode.el (c-basic-common-init):
5654         Make fill-paragraph-handle-comment buffer local and set it to nil.
5656 2012-01-13  Glenn Morris  <rgm@gnu.org>
5658         * dired.el (dired-switches-escape-p): New function.
5659         (dired-insert-directory): Use dired-switches-escape-p.
5660         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
5662         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
5664 2012-01-12  Glenn Morris  <rgm@gnu.org>
5666         * mail/sendmail.el (mail-mode): Update paragraph-separate for
5667         changes in adaptive-fill-regexp.  (Bug#10276)
5669 2012-01-11  Alan Mackenzie  <acm@muc.de>
5671         Fix Emacs bug #10463 - put `widen's around the critical spots.
5673         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5674         widen around each invocation of c-state-pp-to-literal.  Remove an
5675         unused let variable.
5677 2012-01-11  Glenn Morris  <rgm@gnu.org>
5679         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
5680         Doc fix.
5682 2012-01-10  Chong Yidong  <cyd@gnu.org>
5684         * net/network-stream.el (network-stream-open-starttls):
5685         Avoid emitting a confusing error message when the server gives a bad
5686         response to the capability command.
5688 2012-01-10  Glenn Morris  <rgm@gnu.org>
5690         * mail/unrmail.el (unrmail): Tweak previous change.
5692 2012-01-09  Chong Yidong  <cyd@gnu.org>
5694         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5696 2012-01-08  Alan Mackenzie  <acm@muc.de>
5698         Optimise font locking in long enum definitions.
5700         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5701         arm to a cond form to handle enums.
5702         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5703         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5705 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5707         * files.el (move-file-to-trash): Preserve default file modes on error.
5708         (Bug#10401)
5710 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5712         * faces.el (set-face-attribute): Clarify the meaning of the nil
5713         frame (bug#10294).
5715         * subr.el (with-selected-frame): Mention that the selected frame
5716         is restored (bug#9980).
5718         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5719         (bug#9759).
5721         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5722         (password-read): Don't autoload unused function.
5724 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
5726         * progmodes/which-func.el (which-func-mode): Turn into a
5727         non-interactive function and mark as obsolete (bug#10428).
5729 2012-01-06  Chong Yidong  <cyd@gnu.org>
5731         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5732         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5733         functions, along with 1 and -1.
5735 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
5737         * time.el (display-time-load-average)
5738         (display-time-default-load-average): Doc fixes.  See the thread
5739         starting at
5740         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5741         for the details.
5743 2012-01-06  Glenn Morris  <rgm@gnu.org>
5745         * mail/unrmail.el (unrmail): Give an explicit error if the input file
5746         has no messages.  (Bug#10377)
5748         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5749         than Info-edit.  (Bug#10385)
5751         * time.el (display-time-load-average, display-time-next-load-average):
5752         Doc fixes.
5754         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5755         local setting of buffer-read-only to the input buffer.  (Bug#10419)
5757         * calendar/calendar.el (calendar-mode):
5758         Locally set scroll-margin to 0.  (Bug#10379)
5760 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
5762         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
5764 2012-01-05  Glenn Morris  <rgm@gnu.org>
5766         * eshell/em-unix.el (diff-no-select): Autoload it.
5767         (eshell/diff): Use diff-no-select.  (Bug#10420)
5769 2012-01-05  Chong Yidong  <cyd@gnu.org>
5771         * shell.el (shell-dynamic-complete-functions): Revert last change.
5772         (shell-command-completion-function): New function.
5773         (shell-completion-vars): Use it to implement
5774         shell-completion-execonly (Bug#10417).
5776         * custom.el (enable-theme): Don't set custom-safe-themes.
5778         * cus-theme.el (custom-theme-merge-theme):
5779         Ignore custom-enabled-themes and custom-safe-themes.
5781 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
5783         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5784         first prompt in `sql-interacive-mode'.
5785         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5786         keywords.
5787         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5788         (sql-product-interactive): Bug fix: Set `sql-buffer' in
5789         context of original buffer.  Invoke `sql-login-hook'.
5791 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
5793         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5794         letters in cite-prefix.
5796 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5798         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5800 2012-01-03  Chong Yidong  <cyd@gnu.org>
5802         * shell.el (shell-dynamic-complete-functions):
5803         Put pcomplete-completions-at-point, so as to try
5804         comint-filename-completion first (Bug#10417).
5806 2012-01-02  Richard Stallman  <rms@gnu.org>
5808         * battery.el (battery-status-function):
5809         Detect when to use battery-yeeloong-sysfs.
5810         (battery-echo-area-format): Add string for Yeeloong.
5811         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5812         (battery-yeeloong-sysfs): New function.
5814 2012-01-02  Chong Yidong  <cyd@gnu.org>
5816         * dirtrack.el (dirtrack-list): Eliminate unused third element.
5817         (dirtrack): Merge code for handling relative filenames in prompt
5818         from shell-dir-cookie-watcher.
5819         (dirtrack-debug-message): New arg to avoid excess format calls.
5821         * shell.el (shell-dir-cookie-re): Variable deleted.
5822         (shell-dir-cookie-watcher): Function deleted.
5823         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5824         with dirtrack-mode.
5826 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
5828         * term/w32-win.el (dynamic-library-alist) <gnutls>:
5829         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5830         libgnutls-26.dll.
5832 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
5834         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5836 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
5838         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5839         headers of non-MIME messages, when rmail-enable-mime is non-nil.
5841 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
5843         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5844         also for alternative shells.
5845         (tramp-open-connection-setup-interactive-shell): Check, whether
5846         the shell is a busybox.
5847         (tramp-send-command): Don't suppress multiple prompts for
5848         busyboxes, it hurts.
5850 2011-12-28  Chong Yidong  <cyd@gnu.org>
5852         * progmodes/gdb-mi.el (gdb-get-source-file-list)
5853         (gdb-get-source-file): Move mode line update to
5854         gdb-get-source-file (Bug#10087).
5856 2011-12-25  Chong Yidong  <cyd@gnu.org>
5858         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5859         gud-gdb-marker-filter without taking it as an argument.
5860         (gud-gdb-run-command-fetch-lines): Caller changed.
5861         (gud-gdb-completion-function): New variable.
5862         (gud-gdb-completion-at-point): Use it.
5863         (gud-gdb-completions-1): Split from gud-gdb-completions.
5865         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5866         function as separate arguments.
5867         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5868         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5869         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5870         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5871         (gdb-stopped, def-gdb-auto-update-trigger)
5872         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5873         (gdb-get-changed-registers, gdb-get-main-selected-frame):
5874         Callers changed.
5875         (gud-gdbmi-completions): New function.
5876         (gdb): Use it for generating the completion table.
5878 2011-12-24  Alan Mackenzie  <acm@muc.de>
5880         Introduce a mechanism to widen the region used in context font
5881         locking.  Use this to protect declarations from losing their contexts.
5883         * progmodes/cc-langs.el (c-before-font-lock-functions):
5884         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5885         (c-before-context-fontification-functions): New defvar, a list of
5886         functions to be run just before context (etc.) font locking.
5888         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5889         New, functionality extracted from
5890         c-neutralize-syntax-in-and-mark-CPP.
5891         (c-in-after-change-fontification): New variable.
5892         (c-after-change): Set c-in-after-change-fontification.
5893         (c-set-fl-decl-start): Rejig its interface, so it can be called
5894         from both after-change and context fontifying.
5895         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5896         New functions.
5897         (c-standard-font-lock-fontify-region-function): New variable.
5898         (c-font-lock-fontify-region): New function.
5900 2011-12-24  Juri Linkov  <juri@jurta.org>
5902         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5903         (Bug#10348)
5905 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
5907         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5908         existence of source file.  (Bug#10325)
5910 2011-12-23  Alan Mackenzie  <acm@muc.de>
5912         Fix unstable fontification inside templates.
5914         * progmodes/cc-langs.el (c-before-font-lock-functions):
5915         Newly created from the singular version.  The (c c++ objc) entry now
5916         additionally has c-set-fl-decl-start.  The other languages (apart
5917         from AWK) have that as a single entry.
5919         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5920         The functionality for "local" declarations has been extracted to
5921         c-set-fl-decl-start.
5923         * progmodes/cc-mode.el (c-common-init, c-after-change):
5924         Changes due to pluralisation of c-before-font-lock-functions.
5925         (c-set-fl-decl-start): New function, extracted from
5926         c-font-lock-enclosing-decls and enhanced.
5928 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
5930         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5932 2011-12-22  Juri Linkov  <juri@jurta.org>
5934         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
5936 2011-12-22  Chong Yidong  <cyd@gnu.org>
5938         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5940 2011-12-21  Drew Adams  <drew.adams@oracle.com>
5942         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
5944 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
5946         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5948 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
5950         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
5951         highlighting and support.  Fix up comments for capitalization.
5952         (cfengine-mode-debug): New var.
5953         (cfengine3-mode): Change the modeline indicator to "CFE3".
5954         (cfengine3-font-lock-keywords): Improve defun highlighting.
5955         (cfengine2-actions): Rename from `cfengine-actions'.
5956         (cfengine2-font-lock-keywords): Rename from
5957         `cfengine-font-lock-keywords'.
5958         (cfengine2-imenu-expression): Rename from
5959         `cfengine-imenu-expression'.
5960         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5961         (cfengine2-beginning-of-defun): Rename from
5962         `cfengine-beginning-of-defun'.
5963         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5964         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5965         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
5966         modeline indicator to "CFE2".
5967         (cfengine-mode): Defalias to `cfengine-auto-mode'.
5968         (cfengine-mode-abbrevs): Mark obsolete.
5970 2011-12-21  Chong Yidong  <cyd@gnu.org>
5972         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5973         filename argument.
5975 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
5977         * window.el (window-normalize-buffer-to-display): Remove.
5978         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5980 2011-12-19  Chong Yidong  <cyd@gnu.org>
5982         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5983         Don't signal an error in a predicate function; return non-nil.
5984         (vc-dir-mark-file): Move the error here.
5985         (vc-dir-mark-unmark): If acting on the region, keep going if one
5986         of the entries cannot be marked/unmarked.
5987         (vc-dir-mark-all-files): If current entry is a directory, mark
5988         only child files, as documented.
5990 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5992         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5993         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5994         addition.
5996 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
5998         * term/ns-win.el (ns-get-selection-internal)
5999         (ns-store-selection-internal): Declare.
6000         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6001         Declare as obsolete.
6002         (ns-get-pasteboard, ns-paste-secondary):
6003         Use ns-get-selection-internal.
6004         (ns-set-pasteboard,  ns-copy-including-secondary):
6005         Use ns-store-selection-internal.
6007 2011-12-17  Chong Yidong  <cyd@gnu.org>
6009         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6010         (vc-deduce-fileset): Doc fix.
6012 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
6014         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6016 2011-12-13  Sam Steingold  <sds@gnu.org>
6018         * man.el (Man-getpage-in-background): When running under a
6019         window-system, ignore $MANWIDTH and $COLUMNS.
6021 2011-12-15  Kenichi Handa  <handa@m17n.org>
6023         * language/ethio-util.el: Change coding tag to utf-8-emacs.
6024         (setup-ethiopic-environment-internal): Comment out key-binding for
6025         ethio-toggle-punctuation.
6027 2011-12-13  Alan Mackenzie  <acm@muc.de>
6029         Add the switch statement to AWK Mode.
6031         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6032         "default" to the keywords regexp.
6034         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6035         expression as the rest.
6036         (c-nonlabel-token-key): Allow string literals for AWK.
6037         Refactor for the other modes.
6039         Large brace-block initialisation makes CC Mode slow: Fix.
6040         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6041         routines.  Limit backward searching in c-font-lock-enclosing.decl.
6043         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6044         pp-state and literal type in addition to the limits.
6045         (c-state-safe-place): New defun, extracted from c-state-literal-at.
6046         (c-state-literal-at): Use the above new defun.
6047         (c-slow-in-literal, c-fast-in-literal): Remove.
6048         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6050         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6051         being in a literal.  Add a limit for backward searching.
6053         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6054         c-slow-in-literal.
6056 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6058         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6060 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
6062         * window.el (delete-other-windows): Use correct frame in call to
6063         window-with-parameter.
6065 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
6067         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6068         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6069         (makefile-gmake-statements, makefile-makepp-statements):
6070         Use it and add new makepp keywords.
6071         (makefile-makepp-font-lock-keywords): Add new patterns.
6072         (makefile-match-function-end): Match new [...] and [[...]].
6074 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
6076         * ses.el (ses-call-printer-return, ses-cell-property-get)
6077         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6078         (ses-create-cell-variable, ses-reset-header-string)
6079         (ses-cell-set-formula, ses-repair-cell-reference-all)
6080         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6081         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6082         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6083         (ses-aset-with-undo, ses-load, ses-truncate-cell)
6084         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6085         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6086         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6087         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6088         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6089         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6090         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6091         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6093 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6095         * ses.el: The overall change is to add cell renaming, that is
6096         setting fancy names for cell symbols other than name matching
6097         "\\`[A-Z]+[0-9]+\\'" regexp .
6098         (ses-create-cell-variable): New defun.
6099         (ses-relocate-formula): Relocate formulas only for cells the
6100         symbols of which are not renamed, i.e. symbols whose names do not
6101         match regexp "\\`[A-Z]+[0-9]+\\'".
6102         (ses-relocate-all): Relocate values only for cells the symbols of
6103         which are not renamed.
6104         (ses-load): Create cells variables as the (ses-cell ...) are read,
6105         in order to check row col consistency with cell symbol name only
6106         for cells that are not renamed.
6107         (ses-replace-name-in-formula): New defun.
6108         (ses-rename-cell): New defun.
6110 2011-12-11  Chong Yidong  <cyd@gnu.org>
6112         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6113         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6115 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
6117         * window.el (other-window): Fix docstring.
6119 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
6121         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6122         `from' or `to' address before taking its substring.
6123         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6124         encoded name is chopped in the middle of the encoded string, and
6125         thus displayed encoded.
6127 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
6129         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6131 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
6133         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
6134         to use texinfo-update-node and commands that call it if the
6135         Texinfo file uses @node lines without next/prev/up pointers.
6136         Correct outdated description about texinfo-master-menu.
6137         (texinfo-all-menus-update, texinfo-master-menu)
6138         (texinfo-update-node, texinfo-every-node-update)
6139         (texinfo-multiple-files-update): Doc fix.  Warn against updating
6140         all the @node lines.
6141         (texinfo-master-menu): Only call texinfo-update-node if the prefix
6142         argument is numeric.  Explain better in the doc string what the
6143         function really does.
6144         (texinfo-insert-master-menu-list): Improve the error message
6145         displayed if there's no menu in the Top node.
6146         (Bug#2975)  See also this thread:
6147         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6149 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
6151         * speedbar.el (speedbar-supported-extension-expressions):
6152         Add .adb and .ads, commonly used for Ada source code (bug#10256).
6154 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
6156         * printing.el (pr-mode-alist):
6157         * simple.el (filter-buffer-substring-functions)
6158         (completion-list-insert-choice-function):
6159         * window.el (window-with-parameter, window-atom-root)
6160         (window-sides-slots, window-size-fixed, window-min-delta)
6161         (window-max-delta, window--resize-mini-window)
6162         (window--resize-child-windows-normal, window-tree)
6163         (delete-other-windows, quit-window, split-window)
6164         (display-buffer-record-window, special-display-buffer-names)
6165         (special-display-regexps, special-display-popup-frame)
6166         (same-window-p, split-window-sensibly)
6167         (display-buffer-overriding-action, display-buffer-alist)
6168         (display-buffer-base-action, display-buffer, switch-to-buffer)
6169         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6170         (fit-window-to-buffer, recenter-positions)
6171         (mouse-autoselect-window-state, mouse-autoselect-window-select):
6172         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6173         and remove unneeded backslashes in docstrings.
6175 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6177         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6179         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6180         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6181         end in ".mk".
6182         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6183         when reading the makefile (bug#10116).
6185 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6187         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6188         (bug#10116).
6190 2011-12-06  Glenn Morris  <rgm@gnu.org>
6192         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6194 2011-12-06  Chong Yidong  <cyd@gnu.org>
6196         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6198 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
6200         * textmodes/table.el (table-shorten-cell): Fix typo.
6202 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
6204         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6206 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
6208         * descr-text.el (describe-char): Fix display of strong
6209         right-to-left characters and directional embeddings and overrides.
6211         * simple.el (what-cursor-position): Fix display of codepoints of
6212         strong right-to-left characters.
6214 2011-12-05  Chong Yidong  <cyd@gnu.org>
6216         * faces.el (read-color): Doc fix.
6218 2011-12-05  Glenn Morris  <rgm@gnu.org>
6220         * align.el (align--set-marker): Add doc-string.
6221         Don't try to move something that is not a marker.  (Bug#10216)
6223 2011-12-04  Glenn Morris  <rgm@gnu.org>
6225         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6226         overly zealous deletion of trailing whitespace.
6228 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
6230         * server.el (server-delete-client): On Windows, do not try to delete
6231         the only terminal.
6232         (server-process-filter): On Windows, treat requests for a tty frame as
6233         if they were for a GUI frame if the running server is in GUI mode.
6235 2011-12-03  Glenn Morris  <rgm@gnu.org>
6237         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
6239 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6241         * electric.el: Streamline electric-indent's hook.
6242         (electric-indent-chars): Revert to simple list.
6243         (electric-indent-functions): New var.
6244         (electric-indent-post-self-insert-function): Use it.
6246         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6247         there's no inferior buffer (bug#10196).
6248         (prolog-consult-compile): Don't use toggle-read-only.
6250 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
6252         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6253         interrupt.  (Bug#10187)
6255 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6257         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6258         (bug#9160).
6260         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6261         (bug#10191).
6263 2011-12-02  Juri Linkov  <juri@jurta.org>
6265         * info.el (Info-search): Display "end of manual" when Isearch
6266         reaches the end of single-file Info manual.  (Bug#9918)
6268 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
6270         * isearch.el (isearch-message-prefix): Run the input method part
6271         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
6273 2011-12-02  Juri Linkov  <juri@jurta.org>
6275         * isearch.el (isearch-occur): Use `word-search-regexp' for
6276         `isearch-word'.
6277         (isearch-search-and-update): Add condition for `isearch-word' and
6278         call `word-search-regexp'.  (Bug#10145)
6280 2011-12-01  Glenn Morris  <rgm@gnu.org>
6282         * eshell/em-hist.el (eshell-hist-initialize):
6283         Handle eshell-history-size nil and HISTSIZE set or unset.
6284         (eshell-history-file-name, eshell-history-size): Fix custom type.
6286 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6288         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6290 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
6292         * progmodes/verilog-mode.el (verilog-pretty-expr):
6293         Rework verilog-pretty-expr to handle new assignment operators in system
6294         verilog, such as += *= and the like.
6295         (verilog-assignment-operator-re): Regular expression to find the
6296         assigment operator in a verilog assignment.
6297         (verilog-assignment-operation-re): Regular expression to find an
6298         assignment statement for pretty-expr.
6299         (verilog-in-attribute-p): Query returns true if point is in an
6300         attribute context; used to skip these for expression line up from
6301         pretty-expr.
6302         (verilog-in-parameter-p): Query returns true if point is in an
6303         parameter definition context; used to skip these for expression
6304         line up from pretty-expr.
6305         (verilog-in-parenthesis-p): Query returns true if point is in a
6306         parenthetical expression, specifically ( ) but not [ ] or { };
6307         used by pretty-expr.
6308         (verilog-just-one-space): If there is no space, don't add one.
6309         (verilog-get-lineup-indent-2): Specifically skip just attribute
6310         contexts for expression lineup, rather than skipping all
6311         parenthetical expressions.
6312         (verilog-calculate-indent): Fix comment, and fix indent.
6313         (verilog-do-indent): Indent declarations in lists (suggested by
6314         Joachim Lechner).
6315         (verilog-mode-abbrev-table): Populate abbrev mode with the various
6316         skeleton items.
6317         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6318         by Alain Mellan).
6320 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
6322         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6323         parameters with embedded comments.  Reported by Ray Stevens.
6324         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6325         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6326         Reported by Tim Holt.
6327         (verilog-auto): Fix AUTOing a upper module then AUTOing module
6328         instantiated by upper module causing wrong expansion until AUTOed a
6329         second time.  Reported by K C Buckenmaier.
6330         (verilog-diff-auto): Fix showing .* as a difference when
6331         `verilog-auto-star-save' off.  Reported by Dan Dever.
6332         (verilog-auto-reset, verilog-read-always-signals)
6333         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6334         temporary signals in reset list if
6335         verilog-auto-reset-blocking-in-non is nil, and match assignment
6336         style to each signal's assignment type, bug381.
6337         Reported by Thomas Esposito.
6338         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6339         (verilog-uvm-statement-re): Support UVM indentation and
6340         highlighting, with old OVM keywords only.
6341         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6342         Support AUTOTIEOFF creating non-wire data types.
6343         Suggested by Jonathan Greenlaw.
6344         (verilog-auto-insert-lisp, verilog-delete-to-paren)
6345         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6346         (verilog-inject-sense, verilog-read-inst-pins)
6347         (verilog-read-sub-decls, verilog-read-sub-decls-line):
6348         Fix mismatching parenthesis inside commented out code when deleting
6349         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
6350         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6351         non-numeric vector width.  Reported by Alex Reed.
6352         (verilog-auto-ascii-enum): Add "onehot" option to work around not
6353         detecting signals with parameter widths.  Reported by Alex Reed.
6354         (verilog-auto-delete-trailing-whitespace):
6355         With `verilog-auto-delete-trailing-whitespace' remove trailing
6356         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
6357         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6358         Fix verilog-scan-cache corruption when running user AUTO expansion
6359         hooks that call indentation routines.
6360         (verilog-simplify-range-expression): Fix typo ignoring lower case
6361         identifiers.
6362         (verilog-delete-auto): Fix delete-autos to also remove user created
6363         automatics, as long as they start with AUTO.
6364         (verilog-batch-diff-auto, verilog-diff-auto)
6365         (verilog-diff-function): Add `verilog-diff-auto' and bind to
6366         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
6367         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6368         (verilog-in-paren-quick, verilog-re-search-backward-quick)
6369         (verilog-re-search-forward-quick, verilog-syntax-ppss):
6370         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6371         is disabled and its cache will get corrupt, causing AUTOS not to
6372         expand.  Instead use only -quick functions.
6373         (verilog-scan-region): Fix scanning over escaped quotes.
6374         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6375         (verilog-re-search-backward-quick)
6376         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6377         related functions now ignore strings, to fix misparsing of strings
6378         with magic comments embedded in them.
6379         (verilog-read-auto-template):
6380         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6381         Reported by Brad Dobbie.
6382         (verilog-read-auto-template):
6383         Fix 'verilog-auto-inst-template-numbers' with comments.
6384         Reported by Brad Dobbie.
6385         (verilog-auto-inst, verilog-auto-inst-param)
6386         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6387         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
6388         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6389         debugging templates without merge conflicts, bug357.
6390         Reported by Brad Dobbie.
6391         (verilog-read-auto-template):
6392         Fix verilog-auto-inst-template-numbers with multiple templates.
6393         Reported by Brad Dobbie.
6394         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6395         abbrevs so user won't be asked to save.
6396         (verilog-read-auto-lisp-present): Fix to start at beginning of
6397         buffer in case called outside of verilog-auto.
6398         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6399         to "X-2".  Reported by Matthew Myers.
6400         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6401         all inputs from module templates.  Reported by Leith Johnson.
6402         (verilog-module-inside-filename-p): Fix locating programs as with
6403         modules.
6404         (verilog-auto-inst-port): Fix vl-width expressions when using
6405         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
6406         (verilog-decls-get-regs, verilog-decls-get-signals,
6407         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6408         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6409         verilog-read-decls): Combine reg and wire structures into one var
6410         structure to represent SystemVerilog concepts.
6411         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6412         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6413         (verilog-auto-wire-type, verilog-insert-definition):
6414         Add verilog-auto-wire-type and AUTOLOGIC to support using
6415         SystemVerilog "logic" keyword instead of "wire"/"reg".
6416         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6417         to declares outputs that also have assignments (presumably in an
6418         ifdef or generate if so there's not a driver conflict).
6419         Reported by Matthew Myers.
6420         (verilog-auto-declare-nettype, verilog-insert-definition):
6421         Add verilog-auto-declare-nettype to fix declarations using
6422         `default_nettype none.  Reported by Julian Gorfajn.
6423         (verilog-read-always-signals-recurse, verilog-read-decls)
6424         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6425         malformed end statement, bug325.  Reported by Joshua Wise and
6426         Andrew Drake.
6427         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6428         (verilog-inst-comment-re): Fix not deleting Interfaced comment
6429         when expanding .* in interfaces, bug320.
6430         Reported by Pierre-David Pfister.
6431         (verilog-read-module-name): Fix import statements between module
6432         name and open parenthesis, bug317.
6433         Reported by Pierre-David Pfister.
6434         (verilog-simplify-range-expression): Fix simplification of
6435         multiplications inside AUTOWIRE connections, bug303.
6436         (verilog-auto-inst-port): Support parameter expansion in
6437         multidimensional arrays.
6438         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6439         after "assert property".  Reported by Julian Gorfajn.
6440         (verilog-simplify-range-expression): Fix "couldn't merge" errors
6441         with multiplication, bug303.
6442         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6443         Reported by Jan Frode Lonnum.
6445 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
6447         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6448         (hfy-shell-file-name, hfy-shell):
6449         * international/fontset.el (x-decompose-font-name): Fix typos.
6451 2011-11-29  Ken Brown  <kbrown@cornell.edu>
6453         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6454         (gdb-version): Remove defvar.
6455         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6456         (gdb-gud-context-command, gdb-non-stop-handler)
6457         (gdb-current-context-command, gdb-stopped): Use it.
6458         (gdb-init-1): Enable pretty printing here.
6459         (gdb-non-stop-handler): Don't enable pretty-printing here.
6460         Check to see if the target supports non-stop mode; if not, turn off
6461         non-stop mode.  Use the following.
6462         (gdb-check-target-async): New defun.
6463         (gud-watch, gdb-stopped): Fix whitespace.
6464         (gdb-get-source-file): Don't try to display the source file if
6465         `gdb-main-file' is nil.
6467 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6469         * align.el: Try to generate fewer markers (bug#10047).
6470         (align--set-marker): New macro.
6471         (align-region): Use it.
6473 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6475         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6477 2011-11-29  Chong Yidong  <cyd@gnu.org>
6479         * indent.el (indent-for-tab-command, indent-according-to-mode):
6480         Doc fix.
6481         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
6483 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
6485         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6486         aware of remote file names.  (Bug#10124)
6488 2011-11-29  Chong Yidong  <cyd@gnu.org>
6490         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6492 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6494         * files.el (find-file): Don't use force-same-window (bug#10144).
6495         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6496         use pop-to-buffer if the selected window can't be used.
6497         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6499 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
6501         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6502         special-mode-map.
6504 2011-11-28  Chong Yidong  <cyd@gnu.org>
6506         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6508 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
6510         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6511           gdb-get-source-file-list on gdb-create-source-file-list.
6513 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
6515         * whitespace.el (whitespace-newline): Use a different foreground
6516         color for 16-color light-background displays.
6518 2011-11-24  Chong Yidong  <cyd@gnu.org>
6520         * window.el (display-buffer--special-action): Doc fix.
6522 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
6524         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6525         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6526         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6527         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6528         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6529         (avl-tree-stack-first):
6530         * emacs-lisp/cconv.el (cconv--analyse-use):
6531         * net/gnutls.el (gnutls-negotiate): Fix typos.
6533 2011-11-24  Glenn Morris  <rgm@gnu.org>
6535         * lpr.el (lpr-windows-system, lpr-lp-system):
6536         * mail/binhex.el (binhex-begin-line):
6537         * progmodes/grep.el (grep-history, grep-find-history):
6538         * textmodes/flyspell.el:
6539         * vc/pcvs-defs.el (cvs-global-menu):
6540         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6541         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6542         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6544         * net/tls.el: Fix case of "GnuTLS".
6546         * paths.el (rmail-file-name): Format doc-string for make-docfile.
6548         * version.el (emacs-build-system): Give it a doc-string.
6550 2011-11-24  Juri Linkov  <juri@jurta.org>
6552         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6554 2011-11-24  Glenn Morris  <rgm@gnu.org>
6556         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6557         if called on a non-mime message just toggle the headers.  (Bug#8006)
6559 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
6561         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6562         (allout-lead-with-comment-string, allout-structure-deleted-hook)
6563         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6564         (allout-rebullet-heading, allout-open-sibtopic)
6565         (allout-toggle-current-subtree-encryption)
6566         (allout-toggle-subtree-encryption, allout-encrypt-string)
6567         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6568         (allout-distinctive-bullets-string, allout-auto-activation):
6569         * window.el (window-normalize-buffer-to-display):
6570         * progmodes/verilog-mode.el (verilog-batch-indent):
6571         * textmodes/bibtex.el (bibtex-field-braces-opt)
6572         (bibtex-field-strings-opt):
6573         * vc/cvs-status.el (cvs-tree-merge):
6574         Fix typos.
6576 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
6578         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6579         `non-essential' to t, in order to avoid remote connections.
6581 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
6583         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6584         On MS-DOS and MS-Windows, compare with loaddefs.el
6585         case-insensitively.
6587 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
6589         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
6591 2011-11-23  Glenn Morris  <rgm@gnu.org>
6593         * paths.el (rmail-file-name): Reformat the doc-string so that it
6594         is picked up.
6596         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6597         (rmail-auto-file): Ignore case in the "special" field names,
6598         as mail-fetch-field does for all others.
6600         * mail/rmail.el (rmail-forward):
6601         * mail/rmailkwd.el (rmail-set-label):
6602         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6603         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
6605         * mail/rmail.el (rmail-current-message): Doc fix.
6607         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
6609 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6611         * server.el (server-eval-and-print): Allow C-g (bug#6585).
6613 2011-11-22  Glenn Morris  <rgm@gnu.org>
6615         * mail/rmailmm.el (test-rmail-mime-handler)
6616         (test-rmail-mime-bulk-handler)
6617         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6619 2011-11-21  Juri Linkov  <juri@jurta.org>
6621         * calc/calc.el (calc-read-key-sequence):
6622         Let-bind `input-method-function' to nil.  (Bug#10018)
6624 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6626         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6627         Tell the caller that the next line needs recomputation, even
6628         though it doesn't start a sexp (bug#10094).
6630 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6632         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6634 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6636         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6637         Use force-same-window.
6639 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
6641         * descr-text.el (describe-char-unicode-data):
6642         * json.el (json-string-escape):
6643         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6644         (Footnote-unicode, Footnote-style-p):
6645         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6647 2011-11-20  Chong Yidong  <cyd@gnu.org>
6649         * window.el (replace-buffer-in-windows): Restore interactive spec.
6651 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6653         * electric.el (electric-indent-mode): Fix last change (too optimistic).
6655         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6656         (byte-compile-global-not-obsolete-vars): New var.
6657         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6658         Use it.
6659         (byte-compile-warn-obsolete): Align text with the one in *Help*.
6661 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
6663         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6664         * progmodes/pascal.el (electric-pascal-equal):
6665         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6666         * xml.el (xml-substitute-special): Fix typos.
6668 2011-11-20  Glenn Morris  <rgm@gnu.org>
6670         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6671         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6672         Doc fixes.
6673         (rmail-decode-mime-charset): Mark as obsolete.
6675         * mail/rmailsum.el (rmail-message-regexp-p-1):
6676         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6677         Before using mime functions, check they are set.  (Bug#10077)
6679 2011-11-19  Juri Linkov  <juri@jurta.org>
6681         * info.el (Info-finder-find-node): Use `package--builtins' instead
6682         of `package-alist'.  Use node names formed by the pattern "Keyword "
6683         and the keyword name.
6685 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
6687         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6689 2011-11-19  Juri Linkov  <juri@jurta.org>
6691         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6692         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
6693         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6694         `old-history', `old-history-forward'.  Add let-binding
6695         `window-selected'.  Remove calls to `kill-buffer',
6696         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
6697         before calling `Info-find-node', so `Info-find-node-2' will reread
6698         the Info file.  Restore window positions only when `window-selected'
6699         is non-nil.
6701 2011-11-19  Juri Linkov  <juri@jurta.org>
6703         * isearch.el (isearch-lazy-highlight-new-loop):
6704         Remove condition `(not isearch-error)'.  (Bug#9918)
6706         * misearch.el (multi-isearch-search-fun): Add condition
6707         `(not bound)' to ignore lazy-highlighting search.
6708         Add the search-failed message "end of multi" when the end of
6709         multi-sequence is reached.  Uncapitalize the search-failed
6710         message "Repeat for next buffer".
6712         * info.el (Info-search): Add the search-failed message
6713         "end of the manual" when the end of the manual is reached
6714         in Isearch mode.
6716 2011-11-19  Juri Linkov  <juri@jurta.org>
6718         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6719         Use non-destructive `remove' instead of `delete' because
6720         `Info-history-list' stored to `Info-isearch-initial-history-list' in
6721         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6723 2011-11-19  Juri Linkov  <juri@jurta.org>
6725         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6726         to nil instead of binding `search-ring' and `regexp-search-ring'.
6727         (Bug#9185)
6729 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
6731         * simple.el (line-move): Force movement by logical lines for any
6732         hscrolled window, not only when auto-hscroll-mode is on.
6733         (line-move-visual): Update doc string to that effect.  (Bug#10076)
6735 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
6737         * language/european.el (macintosh): Define as alias for mac-roman.
6739 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
6741         * mail/rmailmm.el (rmail-mime-display-header)
6742         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6743         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6744         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6745         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6746         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6747         of a raw aref.
6748         (rmail-mime-entity-segment): To get past the tagline, move forward
6749         2 more lines, to account for the 2 empty lines that precede and
6750         follow the line with the buttons.
6751         (rmail-mime-update-tagline): Move one more line, to get past the
6752         empty line that follows the buttons in the tagline.  (Bug#9520)
6754 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
6756         * window.el (window-max-delta-1, window-min-delta-1)
6757         (window-min-size-1, window-state-get-1, window-state-put-1)
6758         (window-state-put-2): Use "window--" prefix.
6760 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6762         * emacs-lisp/smie.el: Improve warnings and conflict detection.
6763         (smie-warning-count): New var.
6764         (smie-set-prec2tab): Use it.
6765         (smie-bnf->prec2): Improve warnings.  Add docstring.
6766         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6767         (smie-bnf--set-class): New function.
6768         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
6769         corner case.
6771         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6772         (compilation-error-properties, compilation-move-to-column):
6773         Handle compilation-first-column while in the target buffer.
6775         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6776         Don't hardcode point-min==1.
6778         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6779         (eshell-rewrite-for-command): Remove workaround.
6780         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6781         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6782         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6784         * files-x.el (modify-file-local-variable): Obey commenting conventions.
6786 2011-11-17  Glenn Morris  <rgm@gnu.org>
6788         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6789         Ignore buffer-local generated-autoload-file if it is the same
6790         as the global value.  (Bug#10049)
6792 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
6794         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6795         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6796         (reftex-toc-previous-heading, reftex-toc-max-level)
6797         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6798         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6799         (reftex-toc-do-promote, reftex-toc-promote-prepare)
6800         (reftex-toc-promote-action, reftex-toc-extract-section-number)
6801         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6802         (reftex-toc-rename-label, reftex-toc-visit-location)
6803         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6804         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6805         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6806         leaving "*toc*" only for references to the buffer.
6808 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
6810         * window.el (window-resize, delete-window, split-window):
6811         Replace window-splits by window-combination-resize.
6812         * cus-start.el (window-splits): Replace by window-combination-resize.
6814 2011-11-17  Glenn Morris  <rgm@gnu.org>
6816         * progmodes/sh-script.el (sh-font-lock-keywords-var):
6817         Make bash entry derive from sh entry, not shell entry.
6819 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
6821         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6822         local file name.
6824 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
6826         * menu-bar.el (menu-bar-file-menu):
6827         * printing.el (pr-ps-utility):
6828         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6829         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6830         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6831         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6832         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6833         (icalendar--convert-cyclic-to-ical)
6834         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6835         (icalendar--convert-ical-to-diary)
6836         (icalendar--convert-recurring-to-diary)
6837         (icalendar--convert-non-recurring-all-day-to-diary)
6838         (icalendar-import-format-sample):
6839         * progmodes/idlw-shell.el (idlwave-shell-mode):
6840         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6841         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6842         (vhdl-ps-print-init): Fix typos.
6844 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
6846         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6847         FSF and collapse date sequence, obscure author/maintainer email address
6848         better, remove extra version line, track relocation of author's webpage.
6850         * progmodes/python.el (python-pdbtrack-input-prompt)
6851         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6852         regular python pdb prompts.  Adjustments shamelessly taken exactly as
6853         suggested in EmacsWiki page (tiny change):
6854         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6856 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
6858         * expand.el (expand-pos, expand-index, expand-point):
6859         Remove redundant info from docstring.
6860         (expand-add-abbrevs): Doc fix.
6861         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6862         (expand-sample-perl-mode-expand-list): Fix typos.
6864         * net/dbus.el (dbus-event-member-name):
6865         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6866         * term/pc-win.el (msdos-create-frame-with-faces):
6867         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6869 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
6871         * window.el (split-window, window-state-get-1)
6872         (window-state-put-1, window-state-put-2): Rename occurrences of
6873         window-nest to window-combination-limit.
6874         * cus-start.el (window-nest): Rename to window-combination-limit.
6876 2011-11-16  Chong Yidong  <cyd@gnu.org>
6878         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6879         regexp (Bug#10033).
6881 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6883         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6884         `completing-read' will remove *Completions* and will preserve
6885         current-buffer for us.
6886         (tmm-add-prompt): Users of *Completions* will always (re)set its
6887         major mode.
6888         (tmm-old-comp-map): Remove.
6890 2011-11-16  Glenn Morris  <rgm@gnu.org>
6892         * mail/rmailedit.el: Require rmailmm when compiling.
6893         (rmail-old-mime-state): New declaration.
6894         (rmail-edit-current-message): If editing a mime message,
6895         edit the "raw" message from the mbox buffer.
6896         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
6898 2011-11-15  Glenn Morris  <rgm@gnu.org>
6900         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6901         which wasn't being used.  Add optional arg to force given state.
6902         (rmail-mime): Add optional arg to force given state.
6904 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
6906         * allout.el (allout-encryption-plaintext-sanitization-regexps):
6907         * frame.el (display-mm-dimensions-alist):
6908         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6909         (outline-move-subtree-down):
6910         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6911         (newsticker--treeview-do-get-node):
6912         * net/quickurl.el (quickurl-list-buffer-name):
6913         * progmodes/dcl-mode.el (dcl-mode):
6914         * progmodes/gdb-mi.el (gdb-mapcar*):
6915         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6917 2011-11-15  Glenn Morris  <rgm@gnu.org>
6919         * mail/rmail.el (rmail-file-coding-system): It's only ever used
6920         in a boolean sense, so just make it a boolean, and fix the doc.
6921         (rmail-show-mime-function, rmail-mime-feature)
6922         (rmail-require-mime-maybe): Doc fixes.
6923         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6925         * mail/rmailmm.el (rmail-show-mime): Doc fix.
6927 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
6929         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6930         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6931         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6932         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6934 2011-11-15  Glenn Morris  <rgm@gnu.org>
6936         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6937         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6938         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6939         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6940         (rmail-mime, rmail-show-mime): Doc fixes.
6942         * term/ns-win.el (mode-line-frame-identification):
6943         Leave it alone.  (Bug#10051)
6945         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
6947         * mail/rmailout.el (rmail-output-to-rmail-buffer):
6948         Handle empty buffers.  (Bug#9978)
6950 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
6952         * international/mule.el (define-charset):
6953         * mail/rmailmm.el (rmail-mime-find-header-encoding):
6954         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6955         * progmodes/verilog-mode.el (verilog-backward-token):
6956         * textmodes/ispell.el (lookup-words):
6957         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6959 2011-11-14  Glenn Morris  <rgm@gnu.org>
6961         * progmodes/executable.el
6962         (executable-make-buffer-file-executable-if-script-p):
6963         Handle file-modes returning nil.
6965         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6966         message - not necessary, and causes problems.  (Bug#9831)
6968         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6970         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6972         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6973         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
6974         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6976 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
6978         * window.el (window-resize, delete-window): Use window-splits
6979         variable instead of function.
6980         (window-state-get-1, window-state-put-2, window-state-put):
6981         Don't deal with windows' splits status.
6983 2011-11-12  Glenn Morris  <rgm@gnu.org>
6985         * apropos.el (apropos-do-all, apropos-library, apropos-value)
6986         (apropos-documentation): Doc fixes.
6988 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
6990         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6991         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6993 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6995         * electric.el (electric-indent-post-self-insert-function): Make it
6996         possible for a char to only indent in some circumstances.
6997         (electric-indent-mode): Simplify.
6999 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
7001         * window.el (windows-with-parameter): Remove unused function.
7002         (windows-at-side): Rename to window-at-side-list.
7003         (window-check, window-atom-check, window-atom-check-1)
7004         (window-side-check, window-size-ignore, window-size-fixed-1)
7005         (window-in-direction-2): Prefix with "window--".
7006         (window-tree-1): Rename to window--subtree, fix doc-string.
7008 2011-11-11  Glenn Morris  <rgm@gnu.org>
7010         * subr.el (eval-after-load): If FILE is already loaded,
7011         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
7013 2011-11-10  Glenn Morris  <rgm@gnu.org>
7015         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7016         Call svn via vc-svn-command rather than vc-do-command.
7017         (vc-svn-command): Add --non-interactive.  (Bug#9993)
7018         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7020         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7021         Add toggle-read-only.  (Bug#7292)
7022         * files.el (toggle-read-only): Mention that it should only
7023         be used interactively.  (Bug#10006)
7025 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7027         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7028         Adjust regexp for OCaml warnings.
7030         * electric.el (electric-pair-post-self-insert-function): Let user
7031         turn it off buffer-locally (bug#9932).
7033         * progmodes/python.el (python-beginning-of-statement):
7034         Rewrite (bug#2703).
7036         * progmodes/compile.el: Better handle TABs (bug#9749).
7037         (compilation-internal-error-properties)
7038         (compilation-next-error-function): Obey the target buffer's
7039         compilation-error-screen-columns.
7041 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
7043         * progmodes/meta-mode.el: Remove obsolete comments.
7044         (meta-right-comment-regexp, meta-ignore-comment-regexp):
7045         Fix typos in docstrings.
7047 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
7049         * window.el (window-size-fixed-p): Rewrite doc-string.
7050         (window-resizable-p): Rename to window--resizable-p.  Update callers.
7051         (window--resizable): New function.  Make all callers of
7052         window-resizable call window--resizable instead.
7053         (window-resizable): Rewrite in terms of window--resizable.
7055 2011-11-08  Glenn Morris  <rgm@gnu.org>
7057         * progmodes/delphi.el (delphi-mode-syntax-table):
7058         Let define-derived-mode define a proper syntax table.  (Bug#9994)
7060 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7062         * window.el: Stay away from defsubst.
7063         (window-list-no-nils): Remove.
7064         (window-state-get-1, window-state-get): Use backquote instead.
7066 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7068         * emacs-lisp/find-func.el (find-function-read):
7069         Fix incorrect use of default argument in `completing-read'.
7071 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
7073         * window.el (display-buffer-function, special-display-function):
7074         Mention display-buffer-record-window but do not mention
7075         help-setup parameter in doc-strings.
7076         (window-min-delta): Fix doc-string typo.
7078 2011-11-08  Chong Yidong  <cyd@gnu.org>
7080         * window.el (window-total-height, window-total-width): Doc fix.
7081         (window-body-size): Move from C.
7082         (window-body-height, window-body-width): Move to C.
7084 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7086         * window.el: Make special-display like display-buffer-alist (bug#9532).
7087         (display-buffer--special-action): New function, morphed
7088         from display-buffer--special.
7089         (display-buffer): Use it to handle special-display-buffers at higher
7090         priority (just after display-buffer-alist).
7091         (display-buffer-fallback-action, display-buffer--other-frame-action)
7092         (pop-to-buffer-same-window): Remove display-buffer--special.
7094 2011-11-07  Glenn Morris  <rgm@gnu.org>
7096         * calendar/cal-menu.el (cal-menu-set-date-title):
7097         Do nothing if not in a calendar.  (Bug#9976)
7099 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7101         * files.el (find-file): Always use selected-window.
7103 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
7105         * window.el (window-combinations): Make WINDOW argument
7106         mandatory.  Rewrite doc-string.
7107         (walk-window-subtree, window-atom-check, window-min-delta)
7108         (window-max-delta, window--resize-this-window)
7109         (window--resize-root-window-vertically, window-tree)
7110         (balance-windows, window-state-put): Rewrite doc-strings as to
7111         not mention the term "subwindow".
7112         (window--resize-subwindows-skip-p): Rename to
7113         window--resize-child-windows-skip-p.
7114         (window--resize-subwindows-normal): Rename to
7115         window--resize-child-windows-normal.
7116         (window--resize-subwindows): Rename to
7117         window--resize-child-windows.
7118         (window-or-subwindow-p): Rename to window--in-subtree-p.
7120 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7122         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7123         Ensure that mbox format messages end in two newlines (Bug#9974).
7125 2011-11-06  Chong Yidong  <cyd@gnu.org>
7127         * window.el (window-combination-p): Function deleted; its
7128         side-effect is not used in any existing code.
7129         (window-combinations, window-combined-p): Call window-*-child
7130         directly.
7132 2011-11-05  Chong Yidong  <cyd@gnu.org>
7134         * window.el (window-valid-p): Rename from window-any-p.
7135         (window-size-ignore, window-state-get): Callers changed.
7136         (window-normalize-window): Rename from window-normalize-any-window.
7137         New arg LIVE-ONLY, replacing window-normalize-live-window.
7138         (window-normalize-live-window): Delete.
7139         (window-combination-p, window-combined-p, window-combinations)
7140         (walk-window-subtree, window-atom-root, window-min-size)
7141         (window-sizable, window-sizable-p, window-size-fixed-p)
7142         (window-min-delta, window-max-delta, window-resizable)
7143         (window-resizable-p, window-full-height-p, window-full-width-p)
7144         (window-current-scroll-bars, window-point-1, set-window-point-1)
7145         (window-at-side-p, window-in-direction, window-resize)
7146         (adjust-window-trailing-edge, maximize-window, minimize-window)
7147         (window-deletable-p, delete-window, delete-other-windows)
7148         (record-window-buffer, unrecord-window-buffer)
7149         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7150         (quit-window, split-window, window-state-put)
7151         (set-window-text-height, fit-window-to-buffer)
7152         (shrink-window-if-larger-than-buffer): Callers changed.
7154 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
7156         * mail/rmail.el (rmail-simplified-subject): Decode subject with
7157         rfc2047-decode-string.
7158         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7159         warnings.
7161         * window.el (window-body-height, window-body-width): Mention in
7162         the doc string that the return values are in frame's canonical
7163         units.  (Bug#9949)
7165 2011-11-03  Alan Mackenzie  <acm@muc.de>
7167         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7168         change in cc-engine.el.
7170 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7172         * window.el (switch-to-buffer): Use `force-same-window' interactively.
7174 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
7176         * window.el (quit-window): Call unrecord-window-buffer after
7177         showing another buffer in the window.  (Bug#9937)
7178         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7180 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
7182         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7183         Accept status with more than 9 shelves.  (Bug#9935)
7184         Reported by Colin D Bennett <colin@gibibit.com>.
7186 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
7188         * help.el (with-help-window): Don't reference
7189         temp-buffer-show-specifiers in doc-string.
7191 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7193         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7194         menu-item.
7196 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7198         * whitespace.el: New version 13.2.2.
7199         (whitespace-newline-mode): Disable properly.  Reported by Sarah
7200         <EmacsWiki>.
7202 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
7204         * net/newst-treeview.el: Remove "Time-stamp".
7205         (newsticker--group-manage-orphan-feeds): Do not call
7206         newsticker--treeview-tree-update.
7207         (newsticker-treeview-update, newsticker-treeview):
7208         Call newsticker--treeview-tree-update if necessary.
7210 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
7212         * window.el (window-iso-combination-p, window-iso-combined-p)
7213         (window-iso-combinations): Remove "iso-" infix.
7214         Suggested by Chong Yidong.
7215         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7216         (window-max-delta-1, window-resize, window--resize-siblings)
7217         (window--resize-this-window, adjust-window-trailing-edge)
7218         (split-window, balance-windows-1)
7219         (shrink-window-if-larger-than-buffer):
7220         * calendar/calendar.el (calendar-generate-window):
7221         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7223 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7225         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7226         in place (bug#9907).
7227         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7228         (eshell-rewrite-if-command, eshell-rewrite-for-command)
7229         (eshell-structure-basic-command, eshell-rewrite-while-command)
7230         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7231         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7232         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7233         (eshell-do-pipelines-synchronously, eshell-eval-command):
7234         Use backquotes and prefer setq to set.
7235         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7236         (eshell-macrop): Use functionp.
7237         (eshell-do-eval): Handle multiple expressions in `while' body.
7239 2011-10-30  Chong Yidong  <cyd@gnu.org>
7241         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7242         instead of set-mark (Bug#9810).
7244 2011-10-30  Chong Yidong  <cyd@gnu.org>
7246         * window.el (split-window-below, split-window-right): Rename from
7247         split-window-above-each-other and split-window-side-by-side
7248         respectively.  All callers changed.
7249         (split-window-sensibly, split-window-sensibly): Use them.
7250         (split-window-keep-point): Doc fix.
7252         * isearch.el: Add isearch-scroll property to split-window-below
7253         and split-window-right.
7255         * follow.el (follow-mode):
7256         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7257         * progmodes/ada-xref.el (ada-gdb-application):
7258         * emulation/vip.el (vip-buffer-in-two-windows):
7259         * image-dired.el (image-dired-dired-with-window-configuration):
7260         * dired-x.el (dired-do-find-marked-files):
7261         * dired.el (dired-pop-to-buffer):
7262         * bs.el (bs--show-with-configuration):
7263         * vc/emerge.el (emerge-setup-windows):
7264         * textmodes/two-column.el (2C-two-columns):
7265         * textmodes/reftex-toc.el (reftex-toc):
7266         * progmodes/gdb-mi.el (gdb-setup-windows):
7267         * progmodes/fortran.el (fortran-window-create):
7268         * net/newst-treeview.el (newsticker--treeview-window-init):
7269         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7270         * emulation/tpu-edt.el (tpu-gold-map):
7271         * emulation/crisp.el (crisp-mode-map):
7272         * calendar/calendar.el (calendar-basic-setup): Callers changed.
7274 2011-10-29  Chong Yidong  <cyd@gnu.org>
7276         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7278         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7280         * textmodes/flyspell.el (flyspell-word): Fix char offset for
7281         forged Ispell output (Bug#7904).
7283         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7285 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7287         * doc-view.el: Avoid ugly errors about not finding nil.
7288         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7289         (doc-view-dvipdf-program, doc-view-unoconv-program)
7290         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7291         Avoid nil or absolute file name as default value.
7292         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7294 2011-10-28  Alan Mackenzie  <acm@muc.de>
7296         * progmodes/cc-defs.el (c-version): -> 5.32.2.
7298 2011-10-28  Alan Mackenzie  <acm@muc.de>
7300         Amend the handling of c-beginning/end-of-defun in nested declaration
7301         scopes.
7303         * progmodes/cc-vars.el (c-defun-tactic): Move here from
7304         cc-langs.el.  Change it to a defcustom.
7306         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7307         cc-vars.el.
7309         * progmodes/cc-engine.el (c-beginning-of-statement-1):
7310         Prevent "class foo : bar" being spuriously recognized as a label.
7312         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7313         Add parameter `inclusive' (to include enclosing braces in the region).
7314         (c-widen-to-enclosing-decl-scope): New function.
7315         (c-while-widening-to-decl-block): New macro.
7316         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7317         outward for defun boundaries, and correspondingly change symbol
7318         `respect-enclosure' to `go-outward'.
7319         (c-declaration-limits): Change algorithm to report only the "innermost"
7320         defun's boundaries.
7322 2011-10-28  Deniz Dogan  <deniz@dogan.se>
7324         * net/rcirc.el (rcirc-mode): Use hard newlines.
7326 2011-10-28  Alan Mackenzie  <acm@muc.de>
7328         Amend to indent and fontify macros "which include their own semicolon"
7329         correctly, using the "virtual semicolon" mechanism.
7331         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7333         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7334         Recode to scan one line at a time rather than having \n and \r
7335         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7336         (c-forward-label): Amend for virtual semicolons.
7337         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7339         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7340         of the new C macros.
7342         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7343         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7344         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7345         (c-opt-cpp-macro-define): Make into a full language variable.
7346         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7347         AWK Mode (including \n, \r) removed, no longer needed.
7349         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7350         Invoke c-make-macro-with-semi-re.
7352         * progmodes/cc-vars.el (c-macro-with-semi-re):
7353         (c-macro-names-with-semicolon): New variables.
7354         (c-make-macro-with-semi-re): New function.
7356 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7358         * vc/log-edit.el: Fill empty field rather than adding new one.
7359         (log-edit-add-field): New function.
7360         (log-edit-insert-changelog): Use it.
7362 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7364         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7366 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7368         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7369         (gdb--check-interpreter): New function.
7370         (gdb): Use it.
7372 2011-10-27  Glenn Morris  <rgm@gnu.org>
7374         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7375         (least-positive-float, least-negative-float)
7376         (least-positive-normalized-float, least-negative-normalized-float)
7377         (float-epsilon, float-negative-epsilon):
7378         Remove unnecessary declarations.
7380         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7381         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7382         (least-positive-float, least-negative-float)
7383         (least-positive-normalized-float, least-negative-normalized-float)
7384         (float-epsilon, float-negative-epsilon): Add doc-strings,
7385         based on those in cl.texi.
7387         * files.el (set-visited-file-name): If the major-mode changed,
7388         reload the local variables.  (Bug#9796)
7390 2011-10-27  Chong Yidong  <cyd@gnu.org>
7392         * subr.el (change-major-mode-after-body-hook): New hook.
7393         (run-mode-hooks): Run it.
7395         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7396         Use change-major-mode-before-body-hook.
7398         * simple.el (fundamental-mode):
7399         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7400         change introducing fundamental-mode-hook.
7402 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
7404         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7406 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
7408         * ido.el (ido-file-name-all-completions-1): Do not require
7409         tramp.el explicitly.  (Bug#7583)
7411 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7413         * progmodes/octave-mod.el:
7414         * progmodes/octave-inf.el: Update maintainer.
7416 2011-10-26  Chong Yidong  <cyd@gnu.org>
7418         * subr.el (with-wrapper-hook): Rewrite doc.
7420 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
7422         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7423         filenames "/method:foo:".  (Bug#9793)
7425 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7427         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7428         (bug#9865).
7430 2011-10-24  Glenn Morris  <rgm@gnu.org>
7432         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
7434 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
7436         * notifications.el: Add the requirement of a running D-Bus session
7437         bus to the Commentary.
7439 2011-10-24  Juri Linkov  <juri@jurta.org>
7441         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7442         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7443         (Bug#9364)
7445 2011-10-24  Juri Linkov  <juri@jurta.org>
7447         * info.el (Info-following-node-name-re): Add newline to the list
7448         of allowed characters for leading space.  (Bug#9824)
7450 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7452         * progmodes/octave-inf.el (inferior-octave-mode-map):
7453         Fix C-c C-h binding.
7454         * progmodes/octave-mod.el (octave-help): Remove.
7456 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
7458         Sync with Tramp 2.2.3.
7460         * net/tramp-cache.el (top): Pacify byte-compiler using
7461         `init-file-user' and `site-run-file'.
7463         * net/trampver.el: Update release number.
7465 2011-10-23  Chong Yidong  <cyd@gnu.org>
7467         * files.el (toggle-read-only): Remove obsolete comment about
7468         version control.
7470         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7471         for toggle-read-only.  Note that this hasn't called vc-next-action
7472         since 2008-05-02, though it wasn't documented at the time.
7474         * vc/ediff-init.el (ediff-toggle-read-only-function):
7475         Use toggle-read-only.
7477 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
7479         Fix bug #9560, sporadic wrong indentation; improve instrumentation
7480         of c-parse-state.
7482         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7483         correct faulty logical expression.
7484         (c-parse-state-state, c-record-parse-state-state):
7485         (c-replay-parse-state-state): New defvar/defuns.
7486         (c-debug-parse-state): Use new functions.
7488 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
7490         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7491         last fix.  Use window-in-direction correctly.
7493 2011-10-21  Chong Yidong  <cyd@gnu.org>
7495         * progmodes/idlwave.el (idlwave-mode):
7496         * progmodes/vera-mode.el (vera-mode): No need to set
7497         require-final-newline; that's done in prog-mode.
7498         Suggested by Stefan Monnier.
7500 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
7502         * mouse.el (mouse-drag-window-above)
7503         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7504         (mouse-drag-mode-line-1, mouse-drag-header-line)
7505         (mouse-drag-vertical-line-rightward-window): Remove.
7506         (mouse-drag-line): New function.
7507         (mouse-drag-mode-line, mouse-drag-header-line)
7508         (mouse-drag-vertical-line): Call mouse-drag-line.
7509         * window.el (window-at-side-p, windows-at-side): New functions.
7511 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
7513         * tar-mode.el (tar-grind-file-mode):
7514         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
7516 2011-10-21  Chong Yidong  <cyd@gnu.org>
7518         * progmodes/idlwave.el (idlwave-mode):
7519         * progmodes/vera-mode.el (vera-mode):
7520         Use mode-require-final-newline.
7522 2011-10-20  Glenn Morris  <rgm@gnu.org>
7524         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
7526 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
7528         * emulation/cua-base.el (cua-set-mark): Fix case of string.
7530 2011-10-20  Chong Yidong  <cyd@gnu.org>
7532         * emulation/cua-base.el (cua-mode):
7533         * mail/footnote.el (footnote-mode):
7534         * mail/mailabbrev.el (mail-abbrevs-mode):
7535         * net/xesam.el (xesam-minor-mode):
7536         * progmodes/bug-reference.el (bug-reference-mode):
7537         * progmodes/cap-words.el (capitalized-words-mode):
7538         * progmodes/compile.el (compilation-minor-mode)
7539         (compilation-shell-minor-mode):
7540         * progmodes/gud.el (gud-tooltip-mode):
7541         * progmodes/hideif.el (hide-ifdef-mode):
7542         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7543         * progmodes/subword.el (subword-mode):
7544         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7545         * progmodes/which-func.el (which-function-mode):
7546         * term/tvi970.el (tvi970-set-keypad-mode):
7547         * term/vt100.el (vt100-wide-mode):
7548         * textmodes/flyspell.el (flyspell-mode):
7549         * textmodes/ispell.el (ispell-minor-mode):
7550         * textmodes/nroff-mode.el (nroff-electric-mode):
7551         * textmodes/paragraphs.el (use-hard-newlines):
7552         * textmodes/refill.el (refill-mode):
7553         * textmodes/reftex.el (reftex-mode):
7554         * textmodes/rst.el (rst-minor-mode):
7555         * textmodes/sgml-mode.el (html-autoview-mode)
7556         (sgml-electric-tag-pair-mode):
7557         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7558         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7559         * emulation/crisp.el (crisp-mode):
7560         * emacs-lisp/eldoc.el (eldoc-mode):
7561         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7562         minor mode behavior.
7564 2011-10-19  Juri Linkov  <juri@jurta.org>
7566         * descr-text.el (describe-char): Add #x2010 and #x2011 to
7567         the list of hard-coded chars with escape-glyph face.
7569 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7571         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7573 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
7575         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7576         running process.
7578 2011-10-19  Glenn Morris  <rgm@gnu.org>
7580         * vc/vc-bzr.el (vc-bzr-after-dir-status):
7581         Ignore ignored files.  (Bug#9726)
7583 2011-10-19  Chong Yidong  <cyd@gnu.org>
7585         Doc fix for minor modes, stating that an omitted argument enables
7586         the mode unconditionally when called from Lisp.
7588         * abbrev.el (abbrev-mode):
7589         * allout.el (allout-mode):
7590         * autoinsert.el (auto-insert-mode):
7591         * autoarg.el (autoarg-mode, autoarg-kp-mode):
7592         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7593         (global-auto-revert-mode):
7594         * battery.el (display-battery-mode):
7595         * composite.el (global-auto-composition-mode)
7596         (auto-composition-mode):
7597         * delsel.el (delete-selection-mode):
7598         * desktop.el (desktop-save-mode):
7599         * dired-x.el (dired-omit-mode):
7600         * dirtrack.el (dirtrack-mode):
7601         * doc-view.el (doc-view-minor-mode):
7602         * double.el (double-mode):
7603         * electric.el (electric-indent-mode, electric-pair-mode):
7604         * emacs-lock.el (emacs-lock-mode):
7605         * epa-hook.el (auto-encryption-mode):
7606         * follow.el (follow-mode):
7607         * font-core.el (font-lock-mode):
7608         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7609         * help.el (temp-buffer-resize-mode):
7610         * hilit-chg.el (highlight-changes-mode)
7611         (highlight-changes-visible-mode):
7612         * hi-lock.el (hi-lock-mode):
7613         * hl-line.el (hl-line-mode, global-hl-line-mode):
7614         * icomplete.el (icomplete-mode):
7615         * ido.el (ido-everywhere):
7616         * image-file.el (auto-image-file-mode):
7617         * image-mode.el (image-minor-mode):
7618         * iswitchb.el (iswitchb-mode):
7619         * jka-cmpr-hook.el (auto-compression-mode):
7620         * linum.el (linum-mode):
7621         * longlines.el (longlines-mode):
7622         * master.el (master-mode):
7623         * mb-depth.el (minibuffer-depth-indicate-mode):
7624         * menu-bar.el (menu-bar-mode):
7625         * minibuf-eldef.el (minibuffer-electric-default-mode):
7626         * mouse-sel.el (mouse-sel-mode):
7627         * msb.el (msb-mode):
7628         * mwheel.el (mouse-wheel-mode):
7629         * outline.el (outline-minor-mode):
7630         * paren.el (show-paren-mode):
7631         * recentf.el (recentf-mode):
7632         * reveal.el (reveal-mode, global-reveal-mode):
7633         * rfn-eshadow.el (file-name-shadow-mode):
7634         * ruler-mode.el (ruler-mode):
7635         * savehist.el (savehist-mode):
7636         * scroll-all.el (scroll-all-mode):
7637         * scroll-bar.el (scroll-bar-mode):
7638         * server.el (server-mode):
7639         * shell.el (shell-dirtrack-mode):
7640         * simple.el (auto-fill-mode, transient-mark-mode)
7641         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7642         (line-number-mode, column-number-mode, size-indication-mode)
7643         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7644         * strokes.el (strokes-mode):
7645         * time.el (display-time-mode):
7646         * t-mouse.el (gpm-mouse-mode):
7647         * tool-bar.el (tool-bar-mode):
7648         * tooltip.el (tooltip-mode):
7649         * type-break.el (type-break-mode-line-message-mode)
7650         (type-break-query-mode):
7651         * view.el (view-mode):
7652         * whitespace.el (whitespace-mode, whitespace-newline-mode)
7653         (global-whitespace-mode, global-whitespace-newline-mode):
7654         * xt-mouse.el (xterm-mouse-mode): Doc fix.
7656         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7657         Fix autogenerated docstring.
7659 2011-10-19  Juri Linkov  <juri@jurta.org>
7661         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7662         by checking environment variables "DESKTOP_SESSION" and
7663         "XDG_CURRENT_DESKTOP".  (Bug#9779)
7665 2011-10-19  Juri Linkov  <juri@jurta.org>
7667         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7668         (browse-url-chromium-program, browse-url-chromium-arguments):
7669         New defcustoms.
7670         (browse-url-default-browser): Check for `browse-url-chromium' and
7671         call `browse-url-chromium-program'.
7672         (browse-url-chromium): New command.  (Bug#9779)
7674 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
7676         * facemenu.el (list-colors-duplicates): On Windows, detect more
7677         duplicates by assuming that only colors matching "^System" are
7678         special "system colors".  (Bug#9722)
7680 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7682         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7683         to distinguish the author from the committer.
7685 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
7687         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7689 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
7691         * international/mule.el (sgml-html-meta-auto-coding-function):
7692         Add support for detecting encoding in HTML5 specified only as
7693         <meta charset="UTF-8">.  Implementation just makes http-equiv and
7694         content-type parts from HTML4 encoding string optional.  (Bug#9716)
7696 2011-10-18  Glenn Morris  <rgm@gnu.org>
7698         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
7700 2011-10-18  Chong Yidong  <cyd@gnu.org>
7702         * faces.el (cursor): Doc fix.
7704 2011-10-17  Chong Yidong  <cyd@gnu.org>
7706         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7708 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
7710         * dirtrack.el (dirtrack): Support shell buffers with path
7711         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
7713 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
7715         * json.el: Bump version to 1.3 and note change in History.
7716         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7718 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7720         * comint.el (comint-insert-input, comint-send-input)
7721         (comint-get-old-input-default, comint-backward-matching-input)
7722         (comint-next-prompt): Use nil instead of `input' for field property of
7723         past user input (bug#114).
7725         * minibuffer.el (completion--replace): Inherit surrounding properties
7726         (bug#114).
7727         (minibuffer-complete-and-exit): Use it.
7729         * comint.el (comint--table-subvert): Quote the all-completions output
7730         (bug#9160).
7732 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
7734         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7736         * menu-bar.el (menu-bar-file-menu): Add entry for making new
7737         window on right of selected.  (Bug#9350) Reword other window
7738         entries and separate them from frame entries.
7740 2011-10-15  Glenn Morris  <rgm@gnu.org>
7742         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7743         Doc fixes.
7745 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
7747         * net/network-stream.el (network-stream-open-starttls):
7748         Improve detection of failure due to lack of TLS support.
7750         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7751         putting the input text in front and in bold.
7753 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7755         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7757         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7758         empty buffer.
7760         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7761         unread-command-events rather than pushing yet-another event.
7763 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
7765         * mail/sendmail.el (sendmail-query-once): Improve the wording of
7766         the explanation of the possible choices.  Make the options passed
7767         to completing-read shorter.
7769 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7771         * textmodes/flyspell.el (flyspell-large-region): Make sure
7772         extended character mode is used if defined (Bug#1339).
7774 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
7776         * simple.el (what-cursor-position): Fix the display of the
7777         character info for LRE, LRO, RLE, and RLO characters by appending
7778         an invisible PDF.
7780 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7782         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7783         even in case of error; add debug spec; simplify data flow.
7784         (with-timeout-handler): Remove.
7786 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
7788         Fix Bug#6019, Bug#9315.
7790         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7791         complete `buffer-file-name', the local file name part could look
7792         remotely (for example on VMS).
7794         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7795         `tramp-run-real-handler'.
7796         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7797         already quoted by '"'.
7799         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7800         Let `file-name-handler-alist' be nil, the local file name part
7801         could look remotely (for example on VMS).
7803 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7805         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7806         from here...
7807         (flyspell-post-command-hook): ...to here.
7809 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7811         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7812         if not needed.
7813         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
7814         using completion.  Protect against "slow" callers.
7815         Remove the "message hack".
7817 2011-10-11  Juri Linkov  <juri@jurta.org>
7819         * isearch.el (isearch-lazy-highlight-word): New variable.
7820         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7821         Use it.  (Bug#9727)
7823 2011-10-11  Glenn Morris  <rgm@gnu.org>
7825         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7826         like f90-previous-statement does.
7828 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7830         * eshell/eshell.el (eshell-command): History should be saved
7831         only in interactive use, to avoid error.
7833 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7835         * minibuffer.el (completion-file-name-table): Fix last change,
7836         i.e. ignore normal errors but not the other ones.
7838 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
7840         * window.el (special-display-buffer-names)
7841         (special-display-regexps): Remove some remnants of earlier
7842         changes from doc-strings.
7843         (quit-windows-on): New function.
7845         * vc/vc.el (vc-revert, vc-rollback):
7846         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7847         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
7848         (Bug#6183) (Bug#7074) (Bug#7447)
7850 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
7852         * window.el (frame-auto-hide-function): Add version tag.
7853         (Bug#9699)
7855 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
7857         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7858         condition.
7860 2011-10-09  Leo Liu  <sdl.web@gmail.com>
7862         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7863         (Bug#9701)
7865 2011-10-08  Glenn Morris  <rgm@gnu.org>
7867         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7868         before the first code statement zero indent.  (Bug#9690)
7870 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
7872         * simple.el (count-words-region): Always count in the region.
7873         Report the number of lines and characters too.
7874         (count-words): New command, which counts in the buffer if the
7875         region is inactive, as count-words-region used to.
7876         (count-words--message): New function.  Handle plurals.
7877         (count-lines-region): Make it an alias for count-words-region.
7879         * bindings.el (esc-map): Replace count-lines-region with
7880         count-words-region.
7882 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
7884         * window.el (window--delete): Delete dedicated frame
7885         unconditionally when argument KILL is non-nil.  (Bug#9699)
7886         (switch-to-buffer): Fix doc-string typo.
7888 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7890         * eshell/eshell.el (eshell-command): Avoid using hooks.
7892 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
7894         * bindings.el ([M-left],[M-right]): Bind to left-word and
7895         right-word respectively.
7897 2011-10-07  Glenn Morris  <rgm@gnu.org>
7899         * cus-start.el (debug-on-quit): Fix custom type.
7901 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7903         * subr.el (define-key-after): Clarify that the function is not
7904         useful for non-menu keymaps.
7906         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7908 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7910         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7911         in current minibuffer (Fix bug with recursive minibuffers).
7913 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
7915         * progmodes/gdb-mi.el (gdb): Doc fix.
7917 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
7919         * window.el (frame-auto-hide-function): New option replacing
7920         frame-auto-delete.  Suggested by Stefan Monnier.
7921         (window--delete): Call frame-auto-hide-function instead of
7922         investigating frame-auto-delete.
7923         (window-point-1, set-window-point-1): New functions.
7924         (window-in-direction, record-window-buffer, window-state-get-1)
7925         (display-buffer-record-window): Use window-point-1 instead of
7926         window-point.
7927         (set-window-buffer-start-and-point): Use set-window-point-1.
7929 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7931         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7933 2011-10-05  Glenn Morris  <rgm@gnu.org>
7935         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7936         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
7938 2011-10-05  Leo Liu  <sdl.web@gmail.com>
7940         * subr.el (read-char-choice): Fix argument to buffer-live-p which
7941         works with buffer object.
7943 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7945         * mpc.el (mpc-tool-bar-map): Add labels.
7947 2011-10-04  Glenn Morris  <rgm@gnu.org>
7949         * calendar/holidays.el (calendar-check-holidays): Doc fix.
7951 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
7953         * window.el (window--delete): New function.
7954         (frame-auto-delete): Resuscitate option.
7955         (bury-buffer, replace-buffer-in-windows)
7956         (quit-window): Rewrite using window--delete.
7957         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7958         Pass display-buffer-mark-dedicated to window--display-buffer-2
7959         (Bug#9639).
7961 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7963         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7964         returns a list (bug#9554).  Add remote file name completion.
7965         * comint.el (comint--table-subvert): Curry and get quote&unquote
7966         functions as arguments.
7967         (comint--complete-file-name-data): Adjust call accordingly.
7968         * pcomplete.el (pcomplete--table-subvert): Remove.
7969         (pcomplete-completions-at-point): Use comint--table-subvert instead.
7971         * minibuffer.el (completion-table-case-fold): Use currying.
7972         (completion--styles-type, completion--cycling-threshold-type):
7973         New constants.
7974         (completion-styles, completion-category-overrides)
7975         (completion-cycle-threshold): Use them.
7976         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7977         completion-table-case-fold.
7979 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
7981         * minibuffer.el (completion-category-overrides): Fix type of styles
7982         and add more user friendly tags (bug#9660).
7984 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7986         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7987         (mule-input-method-string): New widget.
7988         (default-input-method, language-info-custom-alist): Use it.
7990 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7992         * pcomplete.el: Require comint.
7993         (pcomplete--common-suffix): Remove.
7994         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7995         (pcomplete--table-subvert): Sync with comint--table-subvert.
7996         (pcomplete--entries): Use comint-completion-file-name-table.
7997         * comint.el (comint-unquote-filename): Simplify.
7998         (comint-completion-file-name-table): New function (bug#9616).
7999         (comint--complete-file-name-data): Use it.
8001         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8002         (pcmpl-gnu-tar-buffer): Remove.
8003         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8004         around.  Make sure pcomplete-suffix-list is only changed temporarily.
8005         Don't look inside the tar's file if it's too large.
8007 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
8009         * cus-edit.el (custom-mode-map):
8010         * epa.el (epa-key-list-mode-map):
8011         * man.el (Man-mode-map):
8012         * startup.el (splash-screen-keymap):
8013         * simple.el (special-mode-map): Use scroll-up-command and
8014         scroll-down-command.
8016         * progmodes/idlw-help.el (idlwave-help-mode-map):
8017         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8018         * net/newst-plainview.el (newsticker-mode-map):
8019         * emulation/ws-mode.el (wordstar-mode-map):
8020         * emulation/vi.el (vi-com-map):
8021         * calc/calc-graph.el (calc-graph-show-dumb):
8022         * term/sun.el (terminal-init-sun):
8023         * term/ns-win.el (global-map):
8024         * progmodes/grep.el (grep-mode-map):
8025         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8026         * mail/rmail.el (rmail-mode-map):
8027         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8029         * custom.el (custom-safe-themes, load-theme): Treat value of t for
8030         custom-safe-themes as special.
8032 2011-10-01  Julien Danjou  <julien@danjou.info>
8034         * notifications.el (notifications-notify): Fix docstring.
8036 2011-10-01  Per Starbäck  <per@starback.se>
8038         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
8040 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
8042         * startup.el (command-line-1): Fix last fix by inserting
8043         initial-scratch-message into *scratch* before displaying it.
8044         (Bug#9605) and (Bug#9636)
8046 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
8048         * simple.el (line-move): If auto-hscroll-mode is disabled and the
8049         window is hscrolled, move by logical lines.  (Bug#9607)
8050         (line-move-visual): Update the doc string to the above effect.
8052 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
8054         * window.el (display-buffer-record-window): When WINDOW is the
8055         selected window use `point' instead of `window-point'.  (Bug#9626)
8057         * startup.el (command-line-1): Use insert-before-markers when
8058         inserting initial-scratch-message.  (Bug#9605)
8060         * help.el (help-window): Remove variable.
8062 2011-09-29  Glenn Morris  <rgm@gnu.org>
8064         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8066 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
8068         * descr-text.el (describe-char-categories): Accept category
8069         descriptions more than one line long.
8071 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8073         * simple.el (delete-trailing-whitespace): Fix last change.
8075         * progmodes/perl-mode.el (perl-syntax-propertize-function):
8076         Don't confuse "y => 3" as the beginning of a `y' operation.
8078         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8079         object has more than 4 slots (bug#9613).
8081 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
8083         * subr.el (with-output-to-temp-buffer):
8084         * net/quickurl.el (quickurl, quickurl-browse-url):
8085         Fix typos in docstrings.
8087 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
8089         * minibuffer.el (completion-styles)
8090         (completion-category-overrides): Cross reference each other in doc
8091         strings.
8093 2011-09-27  Glenn Morris  <rgm@gnu.org>
8095         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8096         to split-string.  (Bug#9606)
8098 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8100         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8101         (bug#9615).
8103 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
8105         * emacs-lisp/package.el (list-packages): Fix echo area message.
8107 2011-09-27  Leo Liu  <sdl.web@gmail.com>
8109         * ido.el (ido-read-internal): Accept cons cell HIST arg.
8111 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
8113         * net/dbus.el (dbus-unregister-object): Don't release services for
8114         registered signals.  (Bug#9581)
8116 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
8118         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8119         function that picks between cfengine 2 and 3 support
8120         automatically.  Update docs accordingly.
8122 2011-09-22  Kenichi Handa  <handa@m17n.org>
8124         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8125         ZERO.
8126         (indian-itrans-v5-table-for-tamil): New variable.
8127         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8129 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
8131         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8132         that's true if the current command involved collapsing of text.
8133         It's reset to false at the beginning of the next command.
8134         (allout-post-command-business): Move the cursor to the beginning
8135         of entry if the cursor is hidden and collapsing activity just
8136         happened.
8138 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
8140         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8141         tracking (Bug#9541).
8143 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
8145         * net/newst-reader.el (newsticker-html-renderer)
8146         (newsticker-show-news): Automatically load html rendering package
8147         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
8148         because w3m-fill-column is let-bound" and the error "Symbol's value
8149         as variable is void: w3m-fill-column".
8151 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
8153         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8154         Release services only if they are defined.  (Bug#9581)
8156 2011-09-23  Richard Stallman  <rms@gnu.org>
8158         * textmodes/paragraphs.el (forward-sentence): For backwards case,
8159         distinguish start of paragraph from start of its text.
8161         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8163         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8164         (rmail-generate-viewer-buffer): Put that hook on view buffer.
8165         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8167 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
8169         * international/mule-diag.el (mule-diag): Insert a newline after
8170         each fontset description.
8172 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8174         * simple.el (delete-trailing-whitespace):
8175         Document last change; simplify.
8177 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
8179         * simple.el (delete-trailing-whitespace): Also delete
8180         extra newlines at the end of the buffer.
8182         * textmodes/picture.el: Make motion commands obey shift-select-mode.
8183         (picture-newline): Use forward-line so as to ignore fields.
8185 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8187         * subr.el (with-wrapper-hook): Fix edebug spec.
8189 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8191         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8192         (bug#4538).
8194 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
8196         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8197         Fix nasty bug using wrong cached values.
8199 2011-09-23  Alan Mackenzie  <acm@muc.de>
8201         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8203 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
8205         * window.el (pop-to-buffer): Ensure right window is selected if we
8206         chose another frame.
8208 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
8210         * simple.el (what-cursor-position): Use get-char-property-change
8211         and next-single-char-property-change, to be able to show display
8212         properties that come from overlays as well as text properties.
8214 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
8216         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8218         * cmuscheme.el (run-scheme, switch-to-scheme):
8219         * cus-edit.el (customize-group, custom-buffer-create)
8220         (customize-browse):
8221         * info.el (info):
8222         * shell.el (shell):
8223         * mail/sendmail.el (mail):
8224         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8226 2011-09-22  Richard Stallman  <rms@gnu.org>
8228         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8229         move back only to line beg, don't move back over blank lines.
8231 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
8233         * files.el (copy-directory): Set directory attributes only in case
8234         they could be retrieved from the source directory.  (Bug#9565)
8236 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
8238         * progmodes/hideshow.el (hs-looking-at-block-start-p)
8239         (hs-find-block-beginning, hs-hide-level-recursive):
8240         Ignore strings as well as comments.  (Bug#9502)
8242 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
8244         * progmodes/sql.el (sql-comint-postgres):
8245         Convert port number to a string.  (Bug#9566)
8247 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
8249         * window.el (quit-window): Undedicate window when switching to
8250         previous buffer.  Reported by Thierry Volpiatto
8251         <thierry.volpiatto@gmail.com>.
8252         (special-display-popup-frame): When popping up a new frame reset
8253         its previous buffers to nil.  Simplify code.
8255 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
8257         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8258         and process filter, as done also in `shell-command'.
8260 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
8262         * window.el (set-window-buffer-start-and-point):
8263         Call set-window-start with NOFORCE argument t.
8264         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8265         (quit-window): Reword doc-string.  Handle new format of
8266         quit-restore parameter.  Don't delete window if it has a
8267         previous buffer we can show instead of the present one.
8268         (display-buffer-record-window): Rewrite using a new format for
8269         the quit-restore window parameter
8270         (special-display-popup-frame, display-buffer-same-window)
8271         (display-buffer-reuse-window, display-buffer-pop-up-frame)
8272         (display-buffer-pop-up-window, display-buffer-use-some-window):
8273         Adapt symbol passed to display-buffer-record-window.
8274         * help.el (help-window-setup): Handle new format of quit-restore
8275         parameter.
8277 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8279         * faces.el (face-list): Fix docstring (bug#9564).
8281         * window.el (display-buffer--action-function-custom-type):
8282         Don't include internal functions in the Custom interface.
8284 2011-09-20  Juri Linkov  <juri@jurta.org>
8286         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8287         (Info-forward-node, Info-backward-node, Info-next-preorder)
8288         (Info-last-preorder): Use it.  (Bug#9528)
8290 2011-09-20  Juri Linkov  <juri@jurta.org>
8292         * info.el (Info-last-preorder): Visit last menu item only when
8293         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8295 2011-09-20  Julien Danjou  <julien@danjou.info>
8297         * password-cache.el (password-cache-remove): Remove entries even if the
8298         value is nil, so that password with a nil value (negative caching) is
8299         possible to invalidate.
8301 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
8303         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8304         all whitespace around breakpoint.  (Bug#9553)
8305         (f90-find-breakpoint): Only break at whitespace inside a comment.
8307 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8309         * minibuffer.el (completion-file-name-table): Keep track of errors.
8310         (completion-table-with-predicate): Handle the case where pred1 is nil.
8311         * pcomplete.el (pcomplete-completions-at-point): Simplify.
8313 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8315         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8316         (debugger-return-value): Signal an error if the debugging context does
8317         not await any return value.
8319         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8320         * image-mode.el (image-toggle-display-text)
8321         (image-toggle-display-image): Stay away from evil `intangible'.
8323 2011-09-19  Leo Liu  <sdl.web@gmail.com>
8325         * replace.el (occur-revert-arguments): Make it permanent-local.
8326         (occur-mode): Don't call font-lock-defontify.
8328 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
8330         * net/ldap.el (ldap-search-internal): Don't push empty search
8331         result (Bug#9508).
8333 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8335         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8337 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
8339         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8340         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8342 2011-09-18  Juri Linkov  <juri@jurta.org>
8344         * buff-menu.el (Buffer-menu-mode-map):
8345         * dired.el (dired-mode-map):
8346         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8347         (lisp-interaction-mode-map):
8348         * emacs-lisp/package.el (package-menu-mode-map):
8349         * epa.el (epa-key-list-mode-map):
8350         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8351         (menu-bar-options-menu):
8352         * outline.el (outline-mode-menu-bar-map):
8353         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8354         * vc/vc-dir.el (vc-dir-menu-map):
8355         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8356         Capitalize non-function content words in menu item strings.
8358         * dired.el (dired-mode-map): Add menu item for
8359         `image-dired-dired-toggle-marked-thumbs'.
8361 2011-09-18  Juri Linkov  <juri@jurta.org>
8363         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8364         to `isearch-case-fold-search' and restore its original value
8365         after the `isearch-mode' call.
8367 2011-09-18  Juri Linkov  <juri@jurta.org>
8369         * progmodes/grep.el (grep-process-setup): Don't check code for 1
8370         because `zgrep' returns 1 for successful matches (bug#9226).
8372 2011-09-18  Juri Linkov  <juri@jurta.org>
8374         * info.el (Info-extract-menu-node-name): Check the second match
8375         for empty string (second test-case of bug#9528).
8376         (Info-last-preorder): Let-bind `Info-history' to nil to not add
8377         intermediate nodes to the history (first test-case of bug#9528).
8379 2011-09-18  Juri Linkov  <juri@jurta.org>
8381         * info.el (Info-mode-syntax-table): New variable.
8382         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8384 2011-09-18  Juri Linkov  <juri@jurta.org>
8386         * info.el (Info-file-supports-index-cookies):
8387         Increment line-beginning-position's arg from 3 to 4 because makeinfo
8388         outputs one more line for long file names (bug#4142).
8390 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
8392         * newcomment.el (comment-normalize-vars): If prompting for
8393         comment-start, set comment-start-skip too (Bug#8424).
8395 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
8397         * icomplete.el: Fix previous fix of Bug#5849.
8398         (icomplete-mode): Don't set completion-show-inline-help.
8399         (icomplete-minibuffer-setup): Set completion-show-inline-help
8400         locally during icompletion.
8402 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
8404         * woman.el (woman2-process-escapes): Don't delete unrecognized
8405         escapes (Bug#7843).
8407         * files.el (inhibit-first-line-modes-regexps): Add image files.
8408         (hack-local-variables-prop-line): Return nil for malformed
8409         prop-lines (Bug#9044).
8411 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
8413         * net/tramp.el (top): Don't require 'shell.
8414         (tramp-methods): Fix docstring.
8415         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8416         Return complete remote file name.  Handle "smb" case.
8417         Use `tramp-tmpdir', if defined for the respective method.
8418         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8420         * net/tramp-compat.el (top): Require 'shell.
8422         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8423         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8424         `tramp-current-host'.
8425         (tramp-get-remote-tmpdir): Remove.
8427         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8428         `tramp-tmpdir' entries.
8429         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8430         (tramp-smb-handle-file-attributes): Ignore errors.
8431         (tramp-smb-wait-for-output): Check also for process end.
8433 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8435         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8436         when sending QUIT (bug#9312).
8438 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
8440         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8441         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8442         occur-mode-display-occurrence.
8443         (occur-edit-mode): Add usage message.
8444         (occur-cease-edit): New command.
8445         (occur-after-change-function): Use text properties to find the
8446         position of the prefix text.
8447         (occur-engine): Set stickiness of prefix text properties.
8449 2011-09-17  Glenn Morris  <rgm@gnu.org>
8451         * progmodes/etags.el (complete-tag):
8452         Fix call to completion-in-region.  (Bug#9526)
8454 2011-09-17  Juri Linkov  <juri@jurta.org>
8456         * textmodes/ispell.el (ispell-word): Add to the error message
8457         the word, ispell program name and current dictionary (bug#9121).
8458         (ispell-tex-arg-end): Capitalize "error" in the error message.
8460 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
8462         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8463         check.  (Bug#4251)
8465 2011-09-17  Juri Linkov  <juri@jurta.org>
8467         * window.el (window-safe-min-height, window-safe-min-width):
8468         Fix typos (followup to bug#9522).
8470 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
8472         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8474 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
8476         * simple.el (line-move): If goal-column is set, move by logical
8477         lines, not by display lines.  (Bug#971)
8478         (next-line, previous-line, goal-column, line-move-visual): Doc fix
8479         to reflect the above change.
8481 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8483         * image.el (imagemagick-register-types): Use regexp-opt.
8485 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
8487         * window.el (display-buffer-base-action): Rename from
8488         display-buffer-default-action.  Make default value empty.
8489         (display-buffer-overriding-action): Convert to defvar.
8490         (display-buffer-fallback-action): New var.
8492 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
8494         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8495         declaration.
8496         (package--add-to-archive-contents): If there is a duplicate entry
8497         with an older version, remove it.
8498         (package-menu-mark-delete, package-menu-mark-install)
8499         (package-menu-mark-unmark): Make unused args optional.
8500         (package-menu-mark-obsolete-for-deletion):
8501         Use package-menu-get-status instead of a regexp search.
8502         (package-menu-get-status): Use tabulated-list-entry.
8503         (package-menu-mark-upgrades): New command.
8504         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
8505         (package-menu-execute): Do installation before deletion.
8506         (package-menu-refresh, package-menu-execute): Use derived-mode-p
8507         instead of checking major-mode.
8508         (package-menu--find-upgrades): New function.
8510 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8512         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8513         passwords in the log buffer.
8514         (smtpmail-process-filter): Update the process marker so that the
8515         "broken by peer" status message is inserted in the right place.
8517 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8519         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8520         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8521         bibtex-completion-at-point-function.
8522         (bibtex-completion-at-point-function): Use them.
8524         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8526         * mpc.el (mpc-constraints-tag-lookup): New function.
8527         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8528         also to browser "album|playlist".
8530 2011-09-14  Juri Linkov  <juri@jurta.org>
8532         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
8533         (isearch-edit-string): Use length of `isearch-string' when
8534         `isearch-fail-pos' returns nil.
8535         (isearch-message): Remove duplicate code and call
8536         `isearch-fail-pos' with arg `t'.
8538 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
8540         * replace.el (occur-mode-goto-occurrence): Don't force using other
8541         window (Bug#9499).
8543         * dired-aux.el (dired-do-chmod): Don't provide initial input.
8545 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
8547         * window.el (display-buffer-window): Remove.
8548         (display-buffer-record-window): Use help-setup window parameter
8549         instead of variable display-buffer-window.
8550         (display-buffer-function, special-display-buffer-names)
8551         (special-display-function): Mention help-setup parameter instead
8552         of display-buffer-window in doc-string.
8553         * help.el (help-window-setup): New argument help-window.
8554         Use help-window-setup parameter instead of display-buffer-window.
8555         Reword some messages.
8556         (with-help-window): Pass window used for displaying the buffer
8557         to help-window-setup.  Don't set display-buffer-window.
8559 2011-09-13  Glenn Morris  <rgm@gnu.org>
8561         * emacs-lisp/debug.el (debugger-make-xrefs):
8562         Preserve point.  (Bug#9462)
8564 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
8566         * window.el (window-deletable-p): Use next-frame.
8568 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
8570         * window.el (window-auto-delete): Remove.
8571         (window-deletable-p): Remove argument FORCE.  Don't deal with
8572         dedication and previous buffers.
8573         (switch-to-prev-buffer): Don't delete window.
8574         (delete-windows-on): Delete a window's frame if and only if the
8575         window is dedicated.
8576         (replace-buffer-in-windows): Delete buffer's window or frame if
8577         and only if window is dedicated.
8578         (quit-window): Handle quit-restore as before last change.
8579         (bury-buffer): Delete window only if window-deletable-p returns t.
8581 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
8583         * window.el (window-deletable-p): Never delete the last frame on a
8584         given terminal.
8586 2011-09-13  Glenn Morris  <rgm@gnu.org>
8588         * help.el (describe-key-briefly): Copy previous standard-output change.
8590 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
8592         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
8594 2011-09-13  Glenn Morris  <rgm@gnu.org>
8596         * emacs-lisp/lisp-mode.el (lisp-indent-function):
8597         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8599 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
8601         * dired-aux.el (dired-mark-read-string): Don't return default
8602         value on empty input (Bug#9361).
8603         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8604         Omit initial minibuffer contents.
8605         (dired-do-chmod): Signal an error on empty input.
8606         (dired-mark-read-string): Don't return default on empty input.
8608         * files.el (file-modes-symbolic-to-number): Doc fix.
8610 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8612         * international/mule-cmds.el (ucs-completions): Remove.
8613         (read-char-by-name): Use complete-with-action instead; add metadata.
8615 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
8617         * window.el (display-buffer--action-function-custom-type)
8618         (display-buffer--action-custom-type): New vars.
8619         (display-buffer-alist, display-buffer-default-action)
8620         (display-buffer-overriding-action): Add defcustom types.
8622         * frame.el (delete-other-frames): Doc fix (Bug#276).
8624 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8626         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8628 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
8630         Change modes that used same-window-* vars to use switch-to-buffer.
8632         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8633         Use switch-to-buffer.
8635         * cus-edit.el (customize-group, custom-buffer-create)
8636         (customize-browse, custom-buffer-create-other-window):
8637         Use switch-to-buffer or switch-to-buffer-other-window.
8639         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8640         (Info-prev, Info-up, Info-speedbar-goto-node)
8641         (info-display-manual): Use switch-to-buffer.
8642         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8644         * mail/sendmail.el (mail): Use switch-to-buffer.
8645         (mail-recover): Use switch-to-buffer-other-window.
8647         * cmuscheme.el (run-scheme, switch-to-scheme):
8648         * ielm.el (ielm):
8649         * shell.el (shell):
8650         * net/rlogin.el (rlogin):
8651         * net/telnet.el (telnet, rsh):
8652         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8654 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
8656         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8658 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8660         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8661         so don't mention it (bug#9301).
8662         (dired-sort-toggle-or-edit): Clarify string further.
8664         * faces.el (face-spec-set-match-display): Make `(type graphic)'
8665         match `x', `w32' and `ns', like the manual says (bug#9029).
8667         * subr.el (eval-after-load): Doc string clarification (bug#9125).
8668         (process-kill-buffer-query-function): Mention the buffer name in
8669         the query.
8671         * image-mode.el (image-next-line): The line parameter is mandatory
8672         (bug#9258).
8674         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8675         which can be useful (bug#9301).
8677         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8679         * subr.el (match-string): Mention that the current buffer should
8680         be the same as the search was done in (bug#9282).
8682         * facemenu.el: Disable the remove-* commands if the mark isn't
8683         active (bug#9162).
8685 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
8687         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8688         of display-buffer.
8689         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8691         * replace.el (occur-mode-goto-occurrence)
8692         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8693         and display-buffer.
8695         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8696         display-buffer.
8698         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8699         special-display and same-window variables.
8700         (mail-other-window): Use switch-to-buffer-other-window.
8701         (mail-other-frame): USe switch-to-buffer-other-frame.
8703         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8704         Use display-buffer-other-frame.
8705         (gdb-display-gdb-buffer): Use pop-to-buffer.
8707         * progmodes/gud.el (gud-goto-info): Use info-other-window.
8709         * progmodes/python.el: Don't set same-window-buffer-names.
8711         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8713         * window.el (display-buffer-alist): Add *Python*.
8715 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
8717         * window.el (display-buffer-alist): Add entry for buffers
8718         previously handled same-window-*.
8719         (display-buffer-alist, display-buffer-default-action)
8720         (display-buffer-overriding-action): Mark as risky.
8721         (display-buffer-alist): Document action function changes.
8722         (display-buffer--same-window-action)
8723         (display-buffer--other-frame-action): New variables.
8724         (switch-to-buffer, display-buffer-other-frame): Use them.
8725         (display-buffer): Rename reuse-frame entry to reusable-frames.
8726         (display-buffer-reuse-selected-window): Function deleted.
8727         (display-buffer-reuse-window): Handle reusable-frames alist entry.
8728         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8729         (display-buffer-special): New function.
8730         (display-buffer--maybe-pop-up-frame-or-window): Rename from
8731         display-buffer-reuse-or-pop-window.  Split off special-display
8732         part into display-buffer-special.
8733         (display-buffer-use-some-window): Don't perform any special
8734         pop-up-frames handling.
8735         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8736         (display-buffer--maybe-same-window): Rename from
8737         display-buffer-maybe-same-window.
8739         * info.el: Don't set same-window-regexps.
8740         (info-setup): New function.
8741         (info-other-window, info): Call it.
8743         * cus-edit.el: Don't set same-window-regexps.
8744         (customize-group): New argument.
8745         (customize-group-other-window): Use it.
8746         (customize-face, customize-face-other-window): Likewise.
8747         (custom-buffer-create-other-window): Use pop-to-buffer directly.
8749         * net/rlogin.el:
8750         * net/telnet.el:
8751         * progmodes/gud.el: Don't set same-window-regexps.
8753         * cmuscheme.el:
8754         * ielm.el:
8755         * shell.el:
8756         * mail/sendmail.el:
8757         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8759 2011-09-10  Juri Linkov  <juri@jurta.org>
8761         * isearch.el (isearch-edit-string): Remove obsolete mention of
8762         `C-w' (`isearch-yank-word-or-char') from docstring.
8763         (isearch-query-replace): Fix typo in docstring (bug#9466).
8765 2011-09-10  Juri Linkov  <juri@jurta.org>
8767         * paren.el (show-paren-function): Don't show escaped parens.
8768         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
8770 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
8772         * mail/sendmail.el (mml-to-mime, mml-attach-file)
8773         (mm-default-file-encoding): Remove autoload forms, they are
8774         replaced with autoload cookies in mml.el and mm-encode.el.
8775         (mail-add-attachment): New command.
8776         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8777         (mail-mode): Mention mail-insert-file and mail-add-attachment in
8778         the doc string.
8779         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8781 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
8783         * simple.el (count-words-region): Use buffer if there's no region
8784         (bug#9429).
8786 2011-09-09  Juri Linkov  <juri@jurta.org>
8788         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8789         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8790         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
8792 2011-09-09  Alan Mackenzie  <acm@muc.de>
8794         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8795         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
8797 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
8799         Fix for Savannah bug#9392.
8800         * simple.el (mail-encode-mml): New defvar.
8802         * mail/rmail.el (mail-encode-mml): Add a defvar.
8803         (rmail-enable-mime-composing): Default to t.
8804         (rmail-forward): Use MIME method of forwarding only if both
8805         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8806         Set mail-encode-mml non-nil if the MIME method was used.
8808         * mail/sendmail.el (mml-to-mime): Add autoload form.
8809         (mail-encode-mml): Add a defvar.
8810         (mail-mode): Make mail-encode-mml buffer-local and initialize it
8811         to nil.
8812         (mail-send): If mail-encode-mml is non-nil, run the outgoing
8813         message through mml-to-mime, and reset mail-encode-mml to nil.
8815 2011-09-09  Glenn Morris  <rgm@gnu.org>
8817         * woman.el (woman-if-body): When processing an .el block,
8818         do not delete the next .el block as well.  (Bug#9447)
8819         (woman-special-characters): Add oq, cq, and hy characters.
8821 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
8823         * window.el (window-deletable-p): Make sure window is live before
8824         invoking window-prev-buffers.
8826 2011-09-08  Leo Liu  <sdl.web@gmail.com>
8828         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
8830 2011-09-08  Juri Linkov  <juri@jurta.org>
8832         * progmodes/compile.el (compilation-environment): Make it
8833         a defcustom (bug#8340).
8835 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
8837         * window.el (frame-auto-delete): Rename to window-auto-delete.
8838         Make it control auto-deletion of windows and/or frames.
8839         (window-deletable-p): New argument FORCE.  Rewrite conditions
8840         for deleting window/frame.  (Bug#9419)
8841         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8842         Rewrite handling of case when window/frame can be deleted.
8843         (delete-windows-on): Call window-deletable-p with new FORCE
8844         argument t.  (Bug#9456)
8846 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
8848         * help-mode.el (help-mode): Restore autoload.
8850 2011-09-07  Juri Linkov  <juri@jurta.org>
8852         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8853         `compilation-environment'.  Set buffer-local
8854         `compilation-environment' to `thisenv' later after (funcall mode).
8855         (Bug#8340)
8857         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
8858         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8859         instead of replacing its value.  (Bug#8340)
8861 2011-09-07  Juri Linkov  <juri@jurta.org>
8863         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8864         based on text properties put by `grep-filter' instead of matching
8865         escape sequences.
8866         (grep-mode): Set buffer-local `compilation-error-screen-columns'
8867         to the value of `grep-error-screen-columns' (bug#9438).
8869 2011-09-07  Juri Linkov  <juri@jurta.org>
8871         * simple.el (next-error-highlight, next-error-highlight-no-select):
8872         Doc fix (bug#9432).
8874 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
8876         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8877         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
8879 2011-09-07  Leo Liu  <sdl.web@gmail.com>
8881         * net/rcirc.el (rcirc-mode): Conditionally initialize
8882         rcirc-input-ring.
8884 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8886         * emacs-lisp/find-func.el (find-function-C-source): Only set
8887         find-function-C-source-directory after checking that we found a source
8888         file there (bug#9440).
8890 2011-09-06  Alan Mackenzie  <acm@muc.de>
8892         * isearch.el (isearch-other-meta-char): Wherever a key list is
8893         unread, "unread" the prefix arg, too.  This fixes bug #8901.
8895 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
8897         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8899 2011-09-05  Juri Linkov  <juri@jurta.org>
8901         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8903 2011-09-05  Juri Linkov  <juri@jurta.org>
8905         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8906         keeping point where processing of grep matches begins, and
8907         continue to delete remaining escape sequences from the same point.
8908         (grep-filter): Make leading zero optional in "0?1;31m" because
8909         git-grep emits "\033[1;31m" escape sequences unlike expected
8910         "\033[01;31m" as GNU Grep does (bug#9408).
8911         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8913 2011-09-05  Juri Linkov  <juri@jurta.org>
8915         * subr.el (y-or-n-p): Capitalize "yes".
8917 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
8919         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
8920         `tramp-cache-unload-hook' where appropriate.
8921         (tramp-methods): Rename `tramp-remote-sh' to
8922         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
8923         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8925         * net/tramp-sh.el (top): Don't require 'shell.
8926         (tramp-methods): Add `tramp-remote-shell' and
8927         `tramp-remote-shell-args' entries.
8928         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8929         (tramp-sh-handle-shell-command): Remove.
8930         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8931         Use `tramp-remote-shell'.
8933 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
8935         * mail/sendmail.el (sendmail-query-once-function): Delete.
8936         (sendmail-query-once): Save directly to send-mail-function.
8937         Update message-send-mail-function too.
8939         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8941 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
8943         * progmodes/python.el (python-mode-map): Use correct function to
8944         start python interpreter from menu-bar (as reported by Geert
8945         Kloosterman).
8946         (inferior-python-mode-map): Fix typo.
8947         (python-shell-map): Remove.
8949 2011-09-03  Deniz Dogan  <deniz@dogan.se>
8951         * net/rcirc.el (rcirc-print): Simplify code for
8952         rcirc-scroll-show-maximum-output.  There is no need to walk
8953         through all windows to find the right one.
8955 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
8957         * help.el (help-return-method): Doc fix.
8959 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
8961         * window.el (window-deletable-p): Don't return a non-nil value
8962         when there's a buffer that was shown in the window before.
8963         (Bug#9419)
8964         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8965         Set window's previous buffers to nil.
8967 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
8969         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8970         newline before and after the tag line, so it doesn't interfere
8971         with determining the paragraph direction of bidirectional text.
8973 2011-09-03  Leo Liu  <sdl.web@gmail.com>
8975         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
8977 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
8979         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8980         (pop-to-buffer): Change interactive spec.  Pass second argument
8981         directly to display-buffer.
8982         (display-buffer): Fix interactive spec.  Use functionp to
8983         distinguish between a function and a list of functions.
8985         * abbrev.el (edit-abbrevs):
8986         * arc-mode.el (archive-extract):
8987         * autoinsert.el (auto-insert):
8988         * bookmark.el (bookmark-bmenu-list):
8989         * files.el (find-file):
8990         * view.el (view-buffer):
8991         * progmodes/compile.el (compilation-goto-locus):
8992         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8994 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
8996         * window.el (display-buffer-alist): Doc fix.
8997         (display-buffer): Add docstring.  Don't treat
8998         display-buffer-default specially.
8999         (display-buffer-reuse-selected-window)
9000         (display-buffer-same-window, display-buffer-maybe-same-window)
9001         (display-buffer-reuse-window, display-buffer-pop-up-frame)
9002         (display-buffer-pop-up-window)
9003         (display-buffer-reuse-or-pop-window)
9004         (display-buffer-use-some-window): New functions.
9005         (display-buffer-default-action): Use them.
9006         (display-buffer-default): Delete.
9007         (pop-to-buffer-1): Fix choice of actions.
9009 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9011         * minibuffer.el (completion--insert-strings): Don't get confused by
9012         completion entries that end with an LF char.
9014 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
9016         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9018 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
9020         * window.el (display-buffer): Restore interactive spec.
9021         (display-buffer-same-window, display-buffer-other-window):
9022         New functions.
9023         (pop-to-buffer-1): New function.  Use the above.
9024         (pop-to-buffer, pop-to-buffer-same-window): Use it.
9025         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9027         * view.el (view-buffer-other-window, view-buffer-other-frame):
9028         Just use pop-to-buffer.
9030 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9032         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
9034 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
9036         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
9038 2011-08-31  Richard Stallman  <rms@gnu.org>
9040         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9041         of the separation of rmail-view-buffer from rmail-buffer.
9042         If you say no to "replace original", the decrypt is in the
9043         view buffer.  If you say yes, the decrypt goes into the
9044         rmail buffer also.
9046 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
9048         * window.el (display-buffer-window): Rewrite doc-string.
9049         (display-buffer-record-window): New function.
9050         (display-buffer-macro-specifiers)
9051         (display-buffer-even-window-sizes, display-buffer-set-height)
9052         (display-buffer-set-width, display-buffer-in-window)
9053         (display-buffer-reuse-window, display-buffer-split-specifiers)
9054         (display-buffer-side-specifiers, display-buffer-split-window-1)
9055         (display-buffer-split-window, display-buffer-split-atom-window)
9056         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9057         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9058         (display-buffer-other-window-means-other-frame)
9059         (display-buffer-normalize-special)
9060         (display-buffer-normalize-default)
9061         (display-buffer-normalize-argument)
9062         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9063         (display-buffer-normalize-specifiers, display-buffer-frame)
9064         (display-buffer-same-window, display-buffer-same-frame)
9065         (display-buffer-other-window)
9066         (display-buffer-same-frame-other-window)
9067         (display-buffer-other-frame, pop-to-buffer-same-window)
9068         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9069         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9070         (switch-to-buffer-same-frame)
9071         (switch-to-buffer-other-window-same-frame)
9072         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9073         (display-buffer-alist-set-1, display-buffer-alist-set-2)
9074         (display-buffer-alist-set): Remove.
9075         (display-buffer-function, special-display-buffer-names)
9076         (special-display-regexps, special-display-function):
9077         In doc-string refer to display-buffer-window and quit-restore
9078         parameter.
9079         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9080         (special-display-frame-alist, special-display-popup-frame)
9081         (same-window-buffer-names, same-window-regexps, same-window-p)
9082         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9083         (split-window-preferred-function, split-height-threshold)
9084         (split-width-threshold, window-splittable-p)
9085         (split-window-sensibly, window--try-to-split-window)
9086         (window--frame-usable-p, even-window-heights)
9087         (window--even-window-heights, window--display-buffer-1)
9088         (window--display-buffer-2, display-buffer-other-frame):
9089         Restore old Emacs 23 code, order and doc-strings where applicable.
9090         (display-buffer-default, display-buffer-assq-regexp): New functions.
9091         (display-buffer-alist): Rewrite doc-string.
9092         (display-buffer-default-action)
9093         (display-buffer-overriding-action): New variables.
9094         (display-buffer, switch-to-buffer): Rewrite.
9095         (pop-to-buffer): Restore Emacs 23 behavior but use
9096         window-normalize-buffer-to-display.
9097         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9098         Restore Emacs 23 behavior but use
9099         window-normalize-buffer-to-switch-to.
9100         (pop-to-buffer-same-window): Rewrite.
9101         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9102         Rewrite using Emacs 23 options.
9104 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
9106         * net/tramp.el (tramp-root-regexp): Remove.
9107         (tramp-completion-file-name-regexp-unified)
9108         (tramp-completion-file-name-regexp-separate)
9109         (tramp-completion-file-name-regexp-url): Don't use leading volume
9110         letter on win32 systems.  (Bug#5303, Bug#9311)
9111         (tramp-drop-volume-letter): Simplify definition.
9112         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9114 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9116         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9117         (bug#9356).
9119 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
9121         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9123 2011-08-29  Juri Linkov  <juri@jurta.org>
9125         * isearch.el (isearch-done): Don't display message "Mark saved"
9126         when arg `edit' is non-nil to prevent its flicker in the echo area.
9128 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
9130         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9131         obsolete packages for deletion.
9133 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
9135         * help-mode.el (help-mode-map): Add special-mode-map to parent.
9136         (help-mode): Derive help-mode from special-mode.  Don't invoke
9137         view-mode from help-mode.
9138         (help-xref-override-view-map): Remove.
9139         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9140         view-mode is not used anymore.
9142 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
9144         * server.el (server-port): Doc fix.
9146         * cus-theme.el (custom-theme-choose-mode): Inherit from
9147         special-mode (Bug#9124).
9148         (custom-theme-choose-mode-map): Add special-mode to parent.
9150 2011-08-28  Alan Mackenzie  <acm@muc.de>
9152         * progmodes/cc-fonts.el
9153         (c-make-font-lock-BO-decl-search-function): New function.
9154         (c-basic-matchers-after - "Fontify the clauses after various
9155         keywords"): Extract the three keyword lists for the 3 erroneous
9156         constructs from the list of four, and use the new function above
9157         in place of an old one.
9159 2011-08-28  Deniz Dogan  <deniz@dogan.se>
9161         * net/rcirc.el (rcirc-insert-prev-input)
9162         (rcirc-insert-next-input): Remove unused argument.
9164 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9166         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9168 2011-08-27  Alan Mackenzie  <acm@muc.de>
9170         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9171         handle function pointer parameters properly.
9173 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
9175         * window.el (display-buffer-reuse-window): Fix case where
9176         selected window was reused with non-nil OTHER-WINDOW argument.
9177         (Bug#9381)
9179 2011-08-27  Deniz Dogan  <deniz@dogan.se>
9181         * net/rcirc.el (rcirc-check-auth-status): Adding support for
9182         oftc's NickServ messages.
9184 2011-08-27  Glenn Morris  <rgm@gnu.org>
9186         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
9188 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
9190         * emacs-lisp/package.el (package-install): Call package-initialize
9191         if called interactively.
9193 2011-08-26  Leo Liu  <sdl.web@gmail.com>
9195         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
9197 2011-08-25  Juri Linkov  <juri@jurta.org>
9199         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9200         `search-whitespace-regexp' (bug#9364).
9202 2011-08-25  Juri Linkov  <juri@jurta.org>
9204         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9205         `regexp-search-ring' to their global values to protect from
9206         updating by `read-from-minibuffer' (bug#9185).
9208 2011-08-25  Juri Linkov  <juri@jurta.org>
9210         * textmodes/ispell.el (ispell-command-loop): Add newline
9211         at the end of the "Use option `i'..." line.
9213 2011-08-25  Juri Linkov  <juri@jurta.org>
9215         * battery.el (display-battery-mode): If `battery-status-function'
9216         or `battery-mode-line-format' is nil, display the message and set
9217         `display-battery-mode' to nil (bug#9363).
9219 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
9221         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9222         bidi-string-mark-left-to-right; they are unnecessary now.
9224 2011-08-25  Deniz Dogan  <deniz@dogan.se>
9226         * net/quickurl.el: Documentation typo fixes.
9228 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
9230         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9232 2011-08-25  Glenn Morris  <rgm@gnu.org>
9234         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9236         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9237         (smtpmail-via-smtp): Handle nil response from smtp.
9239 2011-08-24  Juri Linkov  <juri@jurta.org>
9241         * proced.el (proced-marked): Inherit from `error' instead of
9242         `font-lock-warning-face'.
9244         * ibuffer.el (ibuffer-marked-face): Change default face from
9245         `font-lock-warning-face' to `warning'.
9246         (ibuffer-deletion-face): Change default face from
9247         `font-lock-type-face' to `error'.
9249         * battery.el (battery-update): Use the face `error' instead of
9250         `font-lock-warning-face' (bug#6117).
9252 2011-08-24  Juri Linkov  <juri@jurta.org>
9254         * faces.el (success): Change face color from "Green3" to
9255         "ForestGreen" on light background (bug#9353).
9257 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
9259         * window.el (quit-window): Rename from quit-restore-window.
9260         Use same arglist as old quit-window.
9261         (frame-auto-delete): Doc fix.
9263         * view.el (view-mode-exit): Use quit-window.
9265 2011-08-24  Juri Linkov  <juri@jurta.org>
9267         * isearch.el (isearch-ring-adjust1): Start visiting previous
9268         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9269         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9270         for empty search string (when the last search string is reused
9271         automatically) to adjust the isearch ring to the last element and
9272         prepare the correct index for further M-p commands (bug#9185).
9274 2011-08-24  Kenichi Handa  <handa@m17n.org>
9276         * international/ucs-normalize.el: If decomposition property of
9277         CHAR is the default one (i.e. a list of CHAR itself), treat it as
9278         nil.
9279         (nfd, nfkd): Likewise.
9281 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9283         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9284         from process filters aren't reliably transmitted to the surrounding
9285         accept-process-output.
9286         (mpc-proc-check): New function.
9287         (mpc-proc-sync): Use it (bug#8293)
9289 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9291         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9292         Add compatibility functions (bug#9313).
9294 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
9296         * cus-start.el (all): Add entry for bidi-paragraph-direction.
9298         * international/uni-bidi.el: Regenerate.
9300 2011-08-23  Kenichi Handa  <handa@m17n.org>
9302         * international/charprop.el:
9303         * international/uni-bidi.el:
9304         * international/uni-category.el:
9305         * international/uni-combining.el:
9306         * international/uni-comment.el:
9307         * international/uni-decimal.el:
9308         * international/uni-decomposition.el:
9309         * international/uni-digit.el:
9310         * international/uni-lowercase.el:
9311         * international/uni-mirrored.el:
9312         * international/uni-name.el:
9313         * international/uni-numeric.el:
9314         * international/uni-old-name.el:
9315         * international/uni-titlecase.el:
9316         * international/uni-uppercase.el: Regenerate.
9318 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
9320         * help.el (help-window-setup): Fix message displayed when other
9321         window is reused.  (Bug#9341)
9323 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9325         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9326         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9328         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9329         Mark obsolete.
9330         * shell.el (shell-parse-pcomplete-arguments): New function.
9331         (shell-completion-vars): Use it instead (bug#9160).
9333 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9335         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9336         strings and comments (bug#9333).
9338         * emacs-lisp/debug.el (debug-arglist): New function.
9339         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
9340         (debug-on-entry-1): Handle interpreted closures (bug#9120).
9342 2011-08-22  Juri Linkov  <juri@jurta.org>
9344         * progmodes/compile.el (compilation-mode-font-lock-keywords):
9345         Revert regexp that highlights output switches to its old
9346         pre-2010-10-28 value and remove one `?' from it (bug#9319).
9348         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9349         to check for empty output (bug#9226).
9351 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
9353         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9354         symbol-constituent as the default, as that stops font-lock from
9355         working properly (Bug#8843).
9357 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9359         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9360         `coding-system-for-*' around the process open call to avoid
9361         auth-source side effects.
9362         (smtpmail-try-auth-methods): Expand the secret password.
9363         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9364         probe hangs.
9366 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
9368         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9370         * emacs-lisp/find-func.el (find-function-noselect): New arg
9371         lisp-only.
9373         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9374         signal an error for built-in functions (Bug#6664).
9376 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9378         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9379         (smtpmail-try-auth-methods): Use it.
9381 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
9383         * font-lock.el (font-lock-fontify-region)
9384         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9385         (font-lock-default-unfontify-buffer)
9386         (font-lock-default-fontify-region)
9387         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9389         * progmodes/compile.el (compilation-error-properties):
9390         Fix confusion between file struct and message struct (Bug#9319).
9391         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9392         `ant' regexp.
9394         * net/browse-url.el (browse-url-firefox): Don't call
9395         browse-url-firefox-sentinel unless using -remote (Bug#9328).
9397 2011-08-20  Glenn Morris  <rgm@gnu.org>
9399         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9401         * tutorial.el (tutorial--default-keys): Update some default bindings.
9403         * files.el (hack-local-variables): Fully ignore case for "mode:".
9405 2011-08-20  Alan Mackenzie  <acm@muc.de>
9407         Resolve invalid use of a regexp in regexp-opt.
9409         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9410         detection for a java annotation.
9412         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9413         detection for a java annotation.
9415         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9416         handling for java.
9417         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9419 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
9421         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9422         (Bug#9274).
9424 2011-08-20  Alan Mackenzie  <acm@muc.de>
9426         Fontify CPP expressions correctly when starting in the middle of
9427         such a construct.  Mainly for when jit-lock etc. starts a chunk
9428         here.
9430         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9431         variable.
9432         (c-make-font-lock-search-form): New function, extracted from
9433         c-make-font-lock-search-function.
9434         (c-make-font-lock-search-function): Use the above function.
9435         (c-make-font-lock-context-search-function): New function.
9436         (c-cpp-matchers): Enhance the preprocessor expression case with
9437         the above function
9438         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9439         which takes an expression.
9441         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9443 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
9445         * window.el (display-buffer-reuse-window)
9446         (display-buffer-pop-up-window): Don't reuse or split a side
9447         window.
9449 2011-08-19  Glenn Morris  <rgm@gnu.org>
9451         * files.el (hack-local-variables-prop-line, hack-local-variables):
9452         Downcase "Mode:".  (Bug#9331)
9454 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
9456         * international/characters.el: Add L and R categories.
9458         * subr.el (bidi-string-mark-left-to-right): Rename from
9459         string-mark-left-to-right.  Use category search.
9461         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9463 2011-08-18  Juri Linkov  <juri@jurta.org>
9465         * faces.el (error, warning, success): New faces with definitions
9466         copied from old default values of `font-lock-warning-face',
9467         `compilation-warning', `compilation-info' (bug#6117).
9469         * font-lock.el (font-lock-warning-face): Inherit from `error'.
9471         * progmodes/compile.el (compilation-error): Inherit from `error'.
9472         (compilation-warning): Inherit from `warning'.
9473         (compilation-info): Inherit from `success'.
9475         * dired.el (dired-marked): Inherit from `warning'.
9476         (dired-flagged): Inherit from `error'.
9478 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9480         * mail/smtpmail.el (auth-source): Require to avoid problems with
9481         binding variables (bug#9298).  Also clean up some unused
9482         autoloads.
9484         * net/network-stream.el (network-stream-open-starttls):
9485         Support using starttls.el without using gnutls-cli.
9487 2011-08-17  Juri Linkov  <juri@jurta.org>
9489         * progmodes/grep.el (rgrep): Handle the case when
9490         `grep-find-command' is a cons cell (bug#9278).
9492 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
9494         * window.el (display-buffer-pop-up-frame): Run frame creation
9495         function with BUFFER current (as special-display-popup-frame
9496         does).  Reported by Drew Adams.
9498 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
9500         * epa-mail.el: Simplify GnuPG group expansion using
9501         epg-expand-group.
9502         (epa-mail-group-alist, epa-mail-group-modtime)
9503         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9504         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9505         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9506         Remove.
9508 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
9510         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9512 2011-08-16  Alan Mackenzie  <acm@muc.de>
9514         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9515         Correct, to avoid the inside of macros.
9517 2011-08-16  Richard Stallman  <rms@gnu.org>
9519         * epa-mail.el: Handle GnuPG group definitions.
9520         (epa-mail-group-alist, epa-mail-group-modtime)
9521         (epa-mail-gnupg-conf-file): New variables.
9522         (epa-mail-parse-groups, epa-mail-sync-groups)
9523         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9524         (epa-mail-expand-recipients): New functions.
9525         (epa-mail-encrypt): Call epa-mail-expand-recipients.
9527         * mail/rmail.el (rmail-epa-decrypt): New command.
9529         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9530         Don't bind buffer-read-only, just inhibit-read-only.
9531         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9532         (epa-decrypt-armor-in-region): Make error message clearer.
9534 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9536         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9537         and "a2b" to "ab" for `prefix'.
9539 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
9541         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9542         filter groups.
9543         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
9544         Fourquet (Bug#8804).
9546 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
9548         * startup.el (argi): Declare as global variable (bug#9275).
9550 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
9552         * subr.el (string-mark-left-to-right): Search the entire string
9553         for RTL script, not just the terminating character.  Doc fix.
9555 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9557         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9558         New function.
9559         (js--regexp-literal, js-syntax-propertize-function): Remove.
9560         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9561         (js-mode-map): Don't rebind electric keys.
9562         (js-insert-and-indent): Remove.
9563         (js-mode): Setup electric-layout and electric-indent instead.
9565         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9567 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
9569         * epa.el (epa-progress-callback-function): Fix the logic of
9570         displaying progress.
9571         * epa-file.el (epa-file-insert-file-contents): Make progress
9572         display more user-friendly.
9573         (epa-file-write-region): Ditto.
9575 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
9577         * subr.el (string-mark-left-to-right): New function.
9579         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9580         Use string-mark-left-to-right.
9581         (list-buffers-noselect): Caller changed.
9583         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9584         Use string-mark-left-to-right.
9585         (tabulated-list-print): Recenter after moving point.
9587 2011-08-10  Juri Linkov  <juri@jurta.org>
9589         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9590         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9591         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9593 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
9595         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9596         (Bug#7554).
9598 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9600         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9601         character.  (Bug#6594)
9603 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
9605         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9606         (image-dired--with-db-file): New macro.
9607         (image-dired-write-tags, image-dired-remove-tag)
9608         (image-dired-create-gallery-lists, image-dired-write-comments)
9609         (image-dired-get-comment, image-dired-mark-tagged-files)
9610         (image-dired-list-tags, image-dired-gallery-generate): Use it.
9611         (image-dired-gallery-generate): Use insert-file-contents.
9613         * time.el (display-time-world-list, display-time-world-display):
9614         * time-stamp.el (time-stamp-string):
9615         * vc/add-log.el (add-change-log-entry): Use setenv instead of
9616         set-time-zone-rule (Bug#7337).
9618 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
9620         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9621         (epg-error-to-string, epg-errors-to-string): New function.
9622         (epg-wait-for-completion): Reverse errors list.
9623         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9624         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9625         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9626         (epg-sign-keys, epg-generate-key-from-file)
9627         (epg-generate-key-from-string): Format errors by using
9628         epg-errors-to-string (bug#9255).
9629         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9631 2011-08-07  Juri Linkov  <juri@jurta.org>
9633         * faces.el (list-faces-display): Remove extra angle bracket
9634         from `help-mode-map'.
9636         * info.el (Info-history-toc-nodes): Doc fix.
9638         * longlines.el (longlines-mode): Doc fix.
9640 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9642         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9643         of statements and in a few more cases (bug#9183).
9645         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9646         New functions.
9647         (cl-transform-lambda): Use them (bug#9239).
9649 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
9651         * window.el (display-buffer-same-window)
9652         (display-buffer-same-frame, display-buffer-other-window)
9653         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9654         (pop-to-buffer-other-window)
9655         (pop-to-buffer-same-frame-other-window)
9656         (pop-to-buffer-other-frame): Make them defuns.
9657         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9659 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9661         * subr.el (make-composed-keymap): Move from C.  Change calling
9662         convention, and improve docstring to bring attention to a subtle point.
9663         * minibuffer.el (completing-read-default): Adjust accordingly.
9665 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
9667         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9668         (tramp-open-shell): Use `tramp-shell-quote-argument'.
9670         * net/trampver.el: Update release number.
9672 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9674         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9675         "in" (bug#9190).
9677 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9679         * mail/sendmail.el (sendmail-query-once): Restore the current
9680         buffer after querying (bug#9074).
9682         * dired.el (dired-flagged): Use different faces for marked and
9683         flagged files (bug#6117).
9685         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9686         (bug#4433).
9688         * ido.el (ido-mode): Switch off the message if called
9689         non-interactively.
9691         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9692         before 587, since it appears that that's more likely to work for
9693         more people.
9695         * cus-edit.el (custom-file): When running under emacs -q, always
9696         refuse to save the customizations, even if the .emacs file doesn't
9697         exist.
9699         * info.el: Remove the `Info-beginning-of-buffer' function
9700         (bug#8325).
9702         * net/network-stream.el (network-stream-open-starttls):
9703         Use `starttls-available-p' to see whether starttls.el can be used.
9705 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
9707         * window.el (display-buffer-in-window): Don't set dedicated status
9708         of window here (Bug#9215).
9709         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9710         (display-buffer-pop-up-side-window)
9711         (display-buffer-in-side-window): Set dedicated status of window here.
9713 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9715         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9716         before binding generated-autoload-file.
9718 2011-08-01  Deniz Dogan  <deniz@dogan.se>
9720         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9722 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
9724         Sync with Tramp 2.2.2.
9726         * net/trampver.el: Update release number.
9728 2011-07-30  Juri Linkov  <juri@jurta.org>
9730         * dired-aux.el (dired-touch-initial): Remove function.
9731         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9732         current time, and `default' to the last modification time of the
9733         current marked file (bug#6887).
9735 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
9737         * simple.el (goto-line): Use string-to-number to provide a
9738         numeric argument to read-number (bug#9163).
9740 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
9742         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9743         connection process, it could be nil.
9745 2011-07-27  Leo Liu  <sdl.web@gmail.com>
9747         Simplify url handling in rcirc-mode.
9749         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9750         (rcirc-browse-url-at-mouse): Remove.
9751         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9753 2011-07-26  Alan Mackenzie  <acm@muc.de>
9755         Fontify bitfield declarations properly.
9757         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9758         (c-symbol-chars): Now exported as a lang variable.
9759         (c-not-primitive-type-keywords): New lang variable.
9761         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9762         QT keyword "more" to prevent "more slots: ...." being spuriously
9763         parsed as a bitfield declaration.
9765         * progmodes/cc-engine.el (c-beginning-of-statement-1):
9766         Refactor and enhance to handle bitfield declarations.
9767         (c-punctuation-in): New function.
9768         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9769         declarations properly.
9771 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
9773         * calendar/icalendar.el (icalendar--all-events): Take care of
9774         multiple vcalendars in a single file.
9775         (icalendar--convert-float-to-ical): Checkdoc fixes.
9777 2011-07-25  Deniz Dogan  <deniz@dogan.se>
9779         * image.el (insert-image): Clarifying docstring.
9781 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
9783         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9784         `tramp-send-command-and-check' if there is no error.
9785         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9787 2011-07-22  Alan Mackenzie  <acm@muc.de>
9789         Prevent cc-langs.elc being loaded at run time.
9791         * progmodes/cc-mode.el: Remove two autoload forms which loaded
9792         cc-langs.
9794         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9795         "(require 'cc-langs)".  Quote a form so it will evaluate at
9796         (cc-mode's) compilation time.
9798 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
9800         * net/tramp.el (tramp-file-name-handler): Avoid recursive
9801         loading.  (Bug#9114)
9803 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
9805         * window.el (display-buffer-pop-up-window)
9806         (display-buffer-pop-up-side-window)
9807         (display-buffer-in-side-window): Call display-buffer-set-height
9808         and display-buffer-set-width after setting the new window's
9809         buffer so `fit-window-to-buffer' and friends work on the right buffer.
9811 2011-07-20  Sam Steingold  <sds@gnu.org>
9813         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9814         (etags-tags-included-tables): Call `convert-standard-filename' on
9815         the file names contained in TAGS so that windows Emacs can handle
9816         TAGS files created by cygwin ctags.
9818 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9820         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9821         which apparently didn't work.
9823 2011-07-19  Roland Winkler  <winkler@gnu.org>
9825         * proced.el (proced-send-signal): For *Marked Processes* buffer
9826         put point at beginning of buffer.
9828 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
9830         * proced.el (proced-format): Make header lines align with the text
9831         (bug#1779).
9833 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9835         * view.el (view-buffer): Allow running in `special' modes if we're
9836         visiting a file (bug#8615).
9838 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
9840         * window.el (display-buffer-alist-of-strings-p)
9841         (display-buffer-alist-set-1, display-buffer-alist-set-2):
9842         New functions.
9843         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9844         more accurately.
9846 2011-07-18  Alan Mackenzie  <acm@muc.de>
9848         Fontify declarators properly when, e.g., a jit-lock chunk begins
9849         inside a declaration.
9851         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9853         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9854         New function.
9855         (c-complex-decl-matchers): Insert reference to
9856         c-font-lock-enclosing-decls.
9858         * progmodes/cc-engine.el (c-backward-single-comment):
9859         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9860         to nil around calls to (forward-comment -1).
9862 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9864         * image.el (put-image): Doc typo fix.
9866         * progmodes/etags.el (tags-search): Doc typo fix.
9868         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9869         password if we get errors 550 to 554.
9871 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9873         * net/gnutls.el (gnutls-log-level): Remove.
9875         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9876         indentation character (bug#6380).
9878         * files.el (buffer-offer-save): Made permanently local (bug#6241).
9880         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9881         to clarify what the problem is (bug#4291).
9883         * simple.el (current-kill): Clarify what
9884         `interprogram-paste-function' does (bug#7500).
9885         (auto-fill-mode): Document `auto-fill-function' in relation to
9886         `auto-fill-mode' (bug#2470).
9888 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
9890         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9891         method if slot is read-only (bug#9035).
9893 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
9895         * frame.el (select-frame-set-input-focus): New argument NORECORD.
9896         * window.el (pop-to-buffer): Select window used even if it was
9897         selected before, see discussion of (Bug#8615), (Bug#6954).
9898         Pass argument NORECORD on to select-frame-set-input-focus.
9900 2011-07-15  Glenn Morris  <rgm@gnu.org>
9902         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
9903         Respect help-form.
9905 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
9907         * net/gnutls.el (gnutls-min-prime-bits): New variable.
9908         (gnutls-negotiate): Use it.
9910 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9912         * net/gnutls.el (gnutls-negotiate):
9913         Upcase `gnutls-algorithm-priority'.
9915 2011-07-15  Glenn Morris  <rgm@gnu.org>
9917         * jka-compr.el (jka-compr-verbose): Move from here...
9918         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
9919         Add missing :version tag.
9920         * info.el: No need to require jka-compr when compiling.
9922 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9924         * net/gnutls.el (gnutls-algorithm-priority): New variable.
9925         (gnutls-negotiate): Use it.
9927         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9929         * info.el (Info-beginning-of-buffer): New command.
9930         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9931         announcing `b' as the key (bug#8325).
9932         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9934         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9936         * international/mule-cmds.el
9937         (describe-specified-language-support): Make the error message
9938         clearer (bug#8905).
9940         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9942         * isearch.el (isearch-barrier): Add a doc string, since it's
9943         mentioned in a function doc string (bug#8678).
9945 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
9947         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9948         buffer argument (Bug#9083) and self-identifying label argument.
9950 2011-07-15  Glenn Morris  <rgm@gnu.org>
9952         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
9954 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9956         * man.el (Man-fontify-manpage): Fix message when formatting the
9957         man page (bug#7929).
9959 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
9961         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9962         argument LRM; if non-nil, append an invisible LRM character to the
9963         buffer name.
9964         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9965         last argument non-nil, when formatting buffer names.
9966         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9967         paragraph direction.
9969 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9971         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9972         the man page name (bug#7929).
9974         * image.el (put-image): Mention the `put-image' overlay property
9975         (bug#7834).
9977         * scroll-bar.el (set-scroll-bar-mode): Mention that
9978         `scroll-bar-mode' lists the values (bug#7772).
9980         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9981         command (bug#7729).
9983         * rect.el (apply-on-rectangle): Return the point after the last
9984         operation.
9985         (string-rectangle): Go to the point after the last operation
9986         (bug#7522).
9988         * printing.el (pr-toggle-region): Clarify the documentation
9989         slightly (bug#7493).
9991         * time.el (display-time-update):
9992         Allow `display-time-mail-function' to return nil (bug#7158).
9993         Fix suggested by Detlev Zundel.
9995         * vc/diff.el (diff): Clarify the order the file names are read
9996         (bug#7111).
9998         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9999         the doc string (bug#7015).
10001         * font-lock.el (font-lock-maximum-decoration): Mention what
10002         numeric levels mean (bug#6935).
10004         * startup.el (initial-buffer-choice): Don't mention the `none'
10005         selection, which is against policy.
10007 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
10009         * window.el (display-buffer-normalize-special):
10010         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10012 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
10014         * subr.el (version<, version<=, version=): Mention "-CVS" and
10015         "-12345" alpha version numbers.
10017 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
10019         * bindings.el: Add advertised binding for set-mark-command
10020         (Bug#5772).
10022 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
10024         * bindings.el (mode-line-other-buffer):
10025         * bookmark.el (bookmark-bmenu-2-window):
10026         * bs.el (bs-cycle-next, bs-cycle-previous):
10027         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10028         switch-to-buffer.
10030         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10031         Delete.
10033 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
10035         * follow.el (follow-debug-message, follow-redisplay):
10036         * jka-cmpr-hook.el (with-auto-compression-mode):
10037         Fix typos in docstrings.
10039 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10041         * subr.el (with-silent-modifications): Clarify somewhat what the
10042         macro inhibits (bug#6525).
10044         * simple.el (eval-expression): Note what it does if called
10045         interactively (bug#6495).
10047 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10049         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10050         Use pop-to-buffer buffer-or-name if it is nil.
10052         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10053         Remove switch-to-buffer.
10055 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10057         * files.el (make-directory): Clarify that an error will be raised
10058         if there's an error (bug#6397).
10060         * startup.el (initial-buffer-choice): Add `none' as a choice
10061         (bug#6234).
10063         * subr.el (add-hook): Clarify section about buffer-local hooks
10064         (bug#6218).
10066         * dired.el (dired-flagged): Clarify doc string (bug#6117).
10068 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
10070         * tabify.el (untabify): Preserve the current column so that point
10071         doesn't move (bug#6032).
10073 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10075         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10076         Rewrite to avoid awkward possessive "s" (bug#5986).
10078 2011-07-13  Glenn Morris  <rgm@gnu.org>
10080         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
10081         (dired-insert-directory): Give a message the first time
10082         if ls is found not to support --dired.
10084 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10086         * simple.el (toggle-truncate-lines): Clarify what is toggled
10087         (bug#5580).  Text by Drew Adams.
10089 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10091         * simple.el (blink-matching-open): Make the error message from the
10092         last change less verbose.
10094 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
10096         * font-lock.el (font-lock-comment-face): Use the high contrast
10097         "yellow" color for font-lock-comment-face on low color terminals
10098         using a dark background color (bug#4221).
10100 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10102         * dired.el (dired-insert-set-properties): Make the doc string
10103         reflect what it does now (bug#5325).
10105         * simple.el (blink-matching-open): Say that we were unable to find
10106         the match within the limit, if we're limited (bug#5122).
10108         * international/mule-cmds.el (prefer-coding-system): Add an
10109         example (bug#4869).
10111         * progmodes/etags.el (tags-search): Document `file-list-form'
10112         (bug#4731).
10114 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
10116         * net/browse-url.el (browse-url-default-browser)
10117         (browse-url-browser-function): Make the default browser choice a
10118         bit more logical (bug#4300).  Also clean up the doc string.
10120 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
10122         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10123         binary endings (bug#4440).
10125 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10127         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10128         which can be pretty annoying (bug#8971).
10130         * jka-compr.el (jka-compr-verbose): New variable, and use
10131         throughout (bug#8971).
10133         * info.el (Info-find-file): Fall back on the installation
10134         directory if we can't find the info node anywhere else.
10136 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
10138         * vc/vc.el (vc-revert-file):
10139         Don't set file time-stamp in the past.  (Bug#5181)
10141 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10143         * files.el (after-find-file): Give a better error message when
10144         trying to find a symlink that points to a file that doesn't exist
10145         (bug#4398).
10147         * progmodes/cc-vars.el: Remove (probably) misleading comment
10148         (bug#4396).
10150 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
10152         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10154 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
10156         * mouse-sel.el: Hack restoring functionality, while keeping
10157         compatibility with 2010-07-03 changes to mouse selection.
10158         (mouse-sel-primary-overlay): New var.
10159         (mouse-sel-selection-alist): Use it.
10160         (mouse-sel-mode): Doc fix; remove points that are default features
10161         of mouse.el.
10163 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
10165         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10166         Fix previous fix (bug#2490).
10168 2011-07-12  Roland Winkler  <winkler@gnu.org>
10170         * textmodes/bibtex.el (bibtex-initialize):
10171         Use pop-to-buffer-same-window.
10172         (bibtex-search-entries): Fix interactive call.
10174 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10176         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10177         Fontise bytecomp Error lines more correctly (bug#2490).
10178         Fix suggested by Johan BockgÃ¥rd.
10180         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10182         * dired-x.el (dired-guess-default): Use `delete-dups'.
10184 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
10186         * dired.el (dired-mark-prompt):
10187         * dired-aux.el (dired-read-shell-command): Doc fix.
10189 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10191         * mail/sendmail.el (sendmail-query-once):
10192         Use `customize-save-variable' unconditionally, now that it works under
10193         emacs -Q.
10195         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10197         * cus-edit.el (custom-file): Take an optional no-error variable.
10198         (customize-save-variable): Set the variable, and give a warning if
10199         running under "emacs -q".
10201 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
10203         * loadhist.el (unload-feature-special-hooks):
10204         Add `auto-coding-functions', `fill-nobreak-predicate' and
10205         `find-directory-functions' (bug#5327).
10207 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10209         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10211         * cus-edit.el (custom-guess-name-alist): -alist variables should
10212         use the `alist' type (bug#3120).  Suggested by Drew Adams.
10214         * printing.el: Add documentation to all the `pr-toggle-' commands.
10216 2011-07-11  Leo Liu  <sdl.web@gmail.com>
10218         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10219         backends where it makes sense (bug#2623).
10221 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10223         * dired-x.el (dired-guess-default): Remove duplicate shell command
10224         entries (bug#2028).
10225         (dired-guess-default): Fix grammar in doc string (bug#2028).
10226         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10228         * subr.el (remove-duplicates): New conveniency function.
10230 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10232         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10233         (bug#1526).
10235 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
10237         * window.el (display-buffer-normalize-default): Don't invert
10238         meaning of even-window-heights.  Reported by Eli Zaretskii
10239         <eliz@gnu.org>.
10241 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
10243         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10245 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
10247         * window.el (display-buffer): Fix arguments to
10248         display-buffer-reuse-window in last change.
10250         * faces.el (link): Use a less saturated blue on light backgrounds.
10252         * startup.el (fancy-startup-text, fancy-about-text)
10253         (fancy-startup-tail): Use font-lock faces, for background safety.
10255 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
10257         * emulation/viper-cmd.el (viper-change-state-to-vi):
10258         Limit triggering of abbrev expansion (Bug#9038).
10260 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
10262         * window.el (display-buffer-default-specifiers): Remove.
10263         (display-buffer-macro-specifiers): Remove default specifiers.
10264         (display-buffer-alist): Default to nil.
10265         (display-buffer-reuse-window): New optional argument other-window.
10266         (display-buffer-pop-up-window): Allow splitting internal
10267         windows.  Check whether a live window was created.
10268         (display-buffer-other-window-means-other-frame)
10269         (display-buffer-normalize-arguments): Rename to
10270         display-buffer-normalize-argument and rewrite.  Set the
10271         other-window specifier.
10272         (display-buffer-normalize-special): New function.
10273         (display-buffer-normalize-options): Rename to
10274         display-buffer-normalize-default and rewrite.
10275         (display-buffer-normalize-options-inhibit): Remove.
10276         (display-buffer-normalize-specifiers): Rewrite.
10277         (display-buffer): Process other-window specifier and call
10278         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
10279         more faithfully.
10280         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10281         (display-buffer-alist-set): Don't handle 'unset default values.
10282         (display-buffer-in-window, display-buffer-alist-set):
10283         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
10284         <tassilo@member.fsf.org>.
10286 2011-07-09  Leo Liu  <sdl.web@gmail.com>
10288         * register.el (insert-register): Restore accidental change on
10289         2011-06-26.  (Bug#9028)
10291 2011-07-09  Glenn Morris  <rgm@gnu.org>
10293         * subr.el (remq): Handle the empty list.  (Bug#9024)
10295 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
10297         * mail/sendmail.el (send-mail-function): No longer delay custom
10298         initialization.
10299         * custom.el (custom-initialize-delay): Doc fix.
10301 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10303         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10305 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
10307         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10308         human-friendly prompt.
10310 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10312         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10313         provided by a particular plugin.
10315 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10317         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10318         save customizations (with "emacs -Q"), just set the variable
10319         instead of erroring out.
10321         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10323 2011-07-08  Juri Linkov  <juri@jurta.org>
10325         * arc-mode.el (archive-zip-expunge, archive-zip-update)
10326         (archive-zip-update-case): Use 7z if found by `executable-find'.
10327         The order of searching the available programs is the same as in
10328         `archive-zip-extract' (bug#8968).
10330 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10332         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10333         (menu-bar-options-menu): Tweak descriptions.
10335 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10337         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10338         menu items into verb phrases (bug#1421).  Also refill to fit under
10339         80 columns.
10341 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10343         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10344         (Info-read-node-name): Doc fix (Bug#1084).
10346         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10347         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10348         (end-of-sexp, beginning-of-sexp)
10349         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10350         (forward-symbol, forward-same-syntax, word-at-point)
10351         (sentence-at-point): Doc fix (Bug#1144).
10353 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10355         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10356         should cover it (bug#1281).
10358         * cus-edit.el (custom-show): Mark as obsolete.
10360         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10361         negotiation fails, then possibly try again with a non-encrypted
10362         connection (bug#9017).
10364         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10365         be used.
10367 2011-07-07  Richard Stallman  <rms@gnu.org>
10369         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10370         property, and handle its changed format.
10371         Look for the correct line number.
10372         Use file's line contents (but not past first =) to find
10373         correct line in message.
10375 2011-07-07  Kenichi Handa  <handa@m17n.org>
10377         * international/characters.el (build-unicode-category-table):
10378         Delete it.
10379         (unicode-category-table): Set it by unicode-property-table-internal.
10381         * international/mule-cmds.el (char-code-property-alist): Move to
10382         to src/chartab.c.
10383         (get-char-code-property): Call unicode-property-table-internal to
10384         load a file.  Call get-unicode-property-internal where necessary.
10385         (put-char-code-property): Call unicode-property-table-internal to
10386         load a file.  Call put-unicode-property-internal where necessary.
10387         put-unicode-property-internal where necessary.
10388         (char-code-property-description):
10389         Call unicode-property-table-internal to load a file.
10391         * international/charprop.el:
10392         * international/uni-bidi.el:
10393         * international/uni-category.el:
10394         * international/uni-combining.el:
10395         * international/uni-comment.el:
10396         * international/uni-decimal.el:
10397         * international/uni-decomposition.el:
10398         * international/uni-digit.el:
10399         * international/uni-lowercase.el:
10400         * international/uni-mirrored.el:
10401         * international/uni-name.el:
10402         * international/uni-numeric.el:
10403         * international/uni-old-name.el:
10404         * international/uni-titlecase.el:
10405         * international/uni-uppercase.el: Regenerate.
10407         * loadup.el: Load international/charprop.el before
10408         international/characters.
10410 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10412         * window.el (next-buffer, previous-buffer): Signal an error if
10413         called from a minibuffer window.
10415         * bindings.el: Revert 2011-07-04 change.
10417 2011-07-06  Richard Stallman  <rms@gnu.org>
10419         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10420         (rmail-mime-insert-bulk, rmail-mime-insert-text):
10421         Treat markers like ints.
10422         (rmail-mime-entity): Doc fix.
10424 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10426         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10427         defcustom again for backwards compatibility.
10429         * simple.el (shell-command-on-region): Fill.
10431         * dired-aux.el (dired-kill-line): Add a doc string.
10433         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10434         to "\\sw\\|\\s_" (bug#358).
10436         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10437         (dired-unmark-backward): Ditto.
10438         (dired-flag-backup-files): Ditto.
10440         * dired-x.el (dired-mark-sexp): Ditto.
10442 2011-07-06  Richard Stallman  <rms@gnu.org>
10444         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10445         (rmail-mime-entity): New arg TRUNCATED.
10446         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10447         New functions.
10448         (rmail-mime-save): Warn if entity is truncated.
10449         (rmail-mime-toggle-hidden): Likewise, for showing.
10450         (rmail-mime-process-multipart): Record when an entity is truncated.
10452         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10453         if ENTITY is a string.
10455 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10457         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10458         of faces when `M-C-x'-ing their definitions (bug#8378).
10459         Also clean up the code slightly.
10461         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10462         because that makes the colors go away.
10464         * mail/sendmail.el (send-mail-function): Change the default to
10465         `sendmail-query-once'.
10466         (sendmail-query-once): Add an autoload cookie.
10468         * net/network-stream.el (network-stream-open-starttls): Try using
10469         a plain connection even if the server offered STARTTLS, and we
10470         kinda wanted to use it, if Emacs doesn't have any STARTTLS
10471         capability.  This should make smtpmail.el work in slightly more
10472         configurations.
10474 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
10476         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10477         New defun.
10478         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10480 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
10482         * progmodes/sql.el: Version 3.0
10483         (sql-product-alist): Add product :completion-object,
10484         :completion-column, and :statement attributes.
10485         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10486         (sql-mode-syntax-table): Mark all punctuation.
10487         (sql-font-lock-keywords-builder): Temporarily remove fallback on
10488         ansi keywords.
10489         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10490         (sql-mode-oracle-font-lock-keywords): Improve.
10491         (sql-oracle-show-reserved-words): New function for development.
10492         (sql-product-font-lock): Simplify for source code buffers.
10493         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10494         New functions.
10495         (sql-highlight-product): Set product specific syntax table.
10496         (sql-mode-map): Add statement movement functions.
10497         (sql-ansi-statement-starters, sql-oracle-statement-starters):
10498         New variable.
10499         (sql-statement-regexp, sql-beginning-of-statement)
10500         (sql-end-of-statement, sql-signum): New functions.
10501         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10502         (sql-show-sqli-buffer): Bug fix.
10503         (sql-interactive-mode): Store connection data as buffer local.
10504         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
10505         with sql-interactive-mode.
10506         (sql-save-connection): Save buffer local settings.
10507         (sql-connection-menu-filter): Change menu entry name.
10508         (sql-product-interactive): Bug fix.
10509         (sql-preoutput-hold): New variable.
10510         (sql-interactive-remove-continuation-prompt): Bug fixes.
10511         (sql-debug-redirect): New variable.
10512         (sql-str-literal): New function.
10513         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10514         Redesign.
10515         (sql-oracle-save-settings, sql-oracle-restore-settings)
10516         (sql-oracle-list-all, sql-oracle-list-table): New functions.
10517         (sql-completion-object, sql-completion-column)
10518         (sql-completion-sqlbuf): New variables.
10519         (sql-build-completions-1, sql-build-completions)
10520         (sql-try-completion): New functions.
10521         (sql-read-table-name): Use them.
10522         (sql-contains-names): New buffer local variable.
10523         (sql-list-all, sql-list-table): Use it.
10524         (sql-oracle-completion-types): New variable.
10525         (sql-oracle-completion-object, sql-sqlite-completion-object)
10526         (sql-postgres-completion-object): New functions.
10528 2011-07-06  Glenn Morris  <rgm@gnu.org>
10530         * window.el (pop-to-buffer): Doc fix.
10532 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
10534         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10536 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
10538         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10540         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10542 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
10544         * button.el (button): Inherit from link face.  Suggested by Dan
10545         Nicolaescu.
10547 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10549         * progmodes/gdb-mi.el: Fit in 80 columns.
10550         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10551         switch-to-buffer.
10553         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10554         if imenu is simply not configured (bug#8941).
10556 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
10558         * allout.el (allout-post-undo-hook): New allout outline-change
10559         event hook to signal undo activity.
10560         (allout-post-command-business): Run allout-post-undo-hook if an
10561         undo just occurred.
10562         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10563         * allout-widgets.el (allout-widgets-after-undo-function):
10564         Ensure the integrity of the current item's decoration after it has been
10565         in the vicinity of an undo.
10566         (allout-widgets-mode): Include allout-widgets-after-undo-function
10567         on the new allout-post-undo-hook.
10569 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10571         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10572         Let define-derived-mode define it.
10573         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10574         cycles of abbrev-table inheritance (bug#8998).
10576 2011-07-05  Roland Winkler  <winkler@gnu.org>
10578         * textmodes/bibtex.el: Add support for biblatex.
10579         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10580         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10581         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10582         (bibtex-entry-alist, bibtex-field-alist): New variables.
10583         (bibtex-entry-field-alist): Obsolete alias for
10584         bibtex-BibTeX-entry-alist.
10585         (bibtex-entry-alist, bibtex-field-alist): New widgets.
10586         (bibtex-set-dialect): New command.
10587         (bibtex-entry-type, bibtex-entry-head)
10588         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10589         Bind via bibtex-set-dialect.
10590         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10591         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10592         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10593         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10594         Define via bibtex-set-dialect.
10595         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10596         Obey bibtex-no-opt-remove-re.
10597         (bibtex-vec-push, bibtex-vec-incr): New functions.
10598         (bibtex-format-entry, bibtex-field-list)
10599         (bibtex-print-help-message, bibtex-validate)
10600         (bibtex-search-entries): Use new format of bibtex-entry-alist.
10602 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10604         * progmodes/compile.el (compilation-goto-locus):
10605         * net/tramp-cmds.el (tramp-append-tramp-buffers):
10606         * bs.el (bs-cycle-next, bs-cycle-previous):
10607         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10608         * bindings.el (mode-line-other-buffer):
10609         * autoinsert.el (auto-insert):
10610         * arc-mode.el (archive-extract):
10611         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10613 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10615         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10616         Fix check of `emacs-lock-unlockable-modes'.
10617         Coerce true values of `emacs-lock--try-unlocking' to t.
10619 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10621         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10622         * emacs-lock.el: New file.
10624 2011-07-05  Julien Danjou  <julien@danjou.info>
10626         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10627         than `boundp' to check if face is set.
10629 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10631         * register.el (registerv-make):
10632         * window.el (window-min-height): Fix typos in docstrings.
10634 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
10636         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10637         Update doc string.
10639 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
10641         * server.el (server-execute): Catch quit and call
10642         `server-return-error' to pass the error back to emacsclient and
10643         close the connection (bug#8942).
10645 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
10647         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10648         insecure exception for current topic.  Also note that auto-saves
10649         are handled differently.
10651         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10652         State variables for tracking auto-save inhibition situation.
10654         (allout-write-contents-hook-handler): Rename from
10655         'allout-write-file-hook-handler', and describe how it depends on
10656         write-contents-functions sensitivity to non-nil value to prevent
10657         file write.
10659         (allout-auto-save-hook-handler): Remove.  auto-save does not check
10660         this in individual buffers, only in the starting buffer, so this
10661         is not the right way for us to inhibit auto-save in a buffer
10662         according to its condition.
10664         (allout-mode): Use new allout-write-contents-hook-handler, and
10665         only with write-contents-functions.  Remove auto-save provisions -
10666         they're implemented elsewhere.
10668         (allout-before-change-handler): If undo is in progress, note that
10669         for attention of allout-post-command-business.
10671         (allout-post-command-business): If the command we're following was
10672         an undo, check for change in the status of encrypted items and
10673         adjust auto-save inhibitions accordingly.
10675         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10676         according to whether there are or aren't any plain-text topics
10677         pending encryption.
10679         (allout-inhibit-auto-save-info-for-decryption):
10680         Adjust buffer-saved-size and some allout state to inhibit auto-saves
10681         if there are plain-text topics pending encryption.
10683         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10684         buffer-saved-size and some allout state to not inhibit auto-saves
10685         if there are no longer any plain-text topics pending encryption.
10687         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10688         No longer provide for exemption of the current topic.
10690 2011-07-04  Juri Linkov  <juri@jurta.org>
10692         Add 7z operations to delete and save changed members (bug#8968).
10693         * arc-mode.el (archive-7z-expunge, archive-7z-update):
10694         New defcustoms.
10695         (archive-7z-write-file-member): New function.
10696         (archive-7z-summarize): Fix the number of dashes in the
10697         listing output.
10699 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10701         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10702         (bug#8958).
10704 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
10706         * bindings.el: Ignore next-buffer and previous-buffer in
10707         minibuffer-local-map.
10709         * font-lock.el (font-lock-builtin-face): Change light background
10710         color to dark slate blue (Bug#6693).
10712 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
10714         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10716 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10718         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10719         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10720         Add switch-to-buffer.
10722 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10724         * isearch.el (isearch-search-fun-function): Clarify further the
10725         meaning of the function returned.
10727 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
10729         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10731         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10732         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10733         Use it.
10734         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
10735         `tramp-default-remote-path' does not exist.
10736         (tramp-send-command-and-read): New optional argument NOERROR.
10737         (tramp-open-connection-setup-interactive-shell)
10738         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10739         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10740         (tramp-process-sentinel): Flush also process' connection property.
10741         (tramp-sh-handle-start-file-process): Do not set process
10742         sentinel.  It is done now ...
10743         (tramp-maybe-open-connection): ... here.  (Bug#8929)
10745 2011-07-04  MON KEY  <monkey@sandpframing.com>
10747         * play/animate.el (animate-string): Doc fixes and allow changing
10748         the buffer name (bug#5417).
10750 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10752         * play/animate.el (animation-buffer-name): Rename from *animate*.
10754 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
10756         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10757         This is simpler and helps future-proof the code.
10758         (timer-until): Use time-subtract and float-time.
10759         (timer--time-less-p): Use time-less-p.
10761 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
10763         * type-break.el (timep): Use the value of `float-time' to avoid a
10764         byte-compiler warning.
10766         * server.el (server-eval-and-print): Return any result, even nil.
10768 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
10770         * type-break.el: Accept time formats that the builtins accept.
10771         (timep, type-break-time-difference): Accept any format that
10772         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10773         This is simpler and helps future-proof the code.
10774         (type-break-time-difference): Round rather than ignoring
10775         subseconds components.
10777 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10779         * info.el (Info-apropos-matches): Make non-interactive, since it
10780         doesn't seem to do anything useful as a command (bug#8829).
10782 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
10784         * frame.el (frame-background-mode, frame-set-background-mode):
10785         Move from faces.el.
10786         (frame-default-terminal-background): New function.
10788         * custom.el (custom-push-theme): Don't record faces in `changed'
10789         theme; this doesn't work correctly for per-frame face settings.
10790         (disable-theme): Use face-set-after-frame-default to reset faces.
10791         (custom--frame-color-default): New function.
10793 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10795         * dired.el (dired-flagging-regexp): Remove unused variable
10796         (bug#8769).
10798 2011-03-29  Kevin Ryde  <user42@zip.com.au>
10800         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10801         `perl-Test2' extend to match possible "fail #N" rep count
10802         (bug#8377).
10804 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10806         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10807         `smtpmail-via-smtp' now returns the error instead of nil.
10809         * isearch.el (isearch-search-fun-function): Clarify the doc string
10810         (bug#8101).
10812 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
10814         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10815         unnecessary spaces (bug#8987).
10817 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10819         * net/network-stream.el (open-network-stream): Use the
10820         :end-of-capability command thoughout.
10822 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
10824         * net/network-stream.el (open-network-stream): Add the
10825         :end-of-capability command parameter, used by pop3.el.
10827 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10829         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10831         * fringe.el (fringe-query-style): Remove redundant text " (type ?
10832         for list)" (bug#6475).
10834         * files.el (file-expand-wildcards): Ignore non-readable
10835         sub-directories while trying to find matches instead of signaling
10836         an error (bug#6297).
10838         * man.el (Man-reference-regexp): Allow matching possible
10839         word-wrapped references (bug#6289).
10841         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10842         for consistency with the other vc buffers (bug#6197).
10843         (vc-checkin): Ditto.
10845         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10847         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10849 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10851         * custom.el (defcustom): Clarify that :set is only used in the
10852         Customize user interface (bug#6089).
10854         * progmodes/flymake.el (flymake-mode): If the buffer isn't
10855         associated with a file, refuse to run instead of erroring out
10856         (bug#6084).
10858         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10859         the doc string, since it appears that using `fill-column' always
10860         controls the width (bug#7845).
10862         * simple.el (shell-command-on-region): Say where the error output
10863         went if `shell-command-default-error-buffer' is set (bug#6857).
10865 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
10867         * allout.el (allout-yank-processing): Adjust cursor position for
10868         backwards-deleted space.
10870         (allout-rebullet-heading): Register changes with
10871         allout-exposure-changed-hook, so the modified topic is properly
10872         decorated.
10874 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10876         * minibuffer.el (completion-in-region): Document PREDICATE
10877         (bug#7136).
10879         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10880         of keyword/argument pairs (bug#6904).
10882         * replace.el (multi-occur):
10883         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10885 2011-07-02  Drew Adams  <drew.adams@oracle.com>
10887         * dired.el (dired-mark-if): Make the message about whether it's
10888         marking or unmarking clearer (bug#8523).
10890 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10892         * disp-table.el (display-table-print-array): New function.
10893         (describe-display-table): Use it to print the vectors more pretty
10894         (Bug#8859).
10896 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
10898         * window.el (window-state-get-1): Don't assign clone numbers.
10899         Add clone-of item to list of window parameters.
10900         (window-state-put-2): Don't process clone numbers.
10901         (display-buffer-alist): Fix doc-string.
10903 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10905         * subr.el (remq): Don't allocate if it's not needed.
10906         (keymap--menu-item-binding, keymap--menu-item-with-binding)
10907         (keymap--merge-bindings): New functions.
10908         (keymap-canonicalize): Use them to refine the canonicalization.
10909         * minibuffer.el (minibuffer-local-completion-map)
10910         (minibuffer-local-must-match-map): Move initialization from C.
10911         (minibuffer-local-filename-completion-map): Move initialization from C;
10912         don't inherit from anything here.
10913         (minibuffer-local-filename-must-match-map): Make obsolete.
10914         (completing-read-default): Use make-composed-keymap to combine
10915         minibuffer-local-filename-completion-map with either
10916         minibuffer-local-must-match-map or
10917         minibuffer-local-filename-completion-map.
10919 2011-07-01  Glenn Morris  <rgm@gnu.org>
10921         * type-break.el (type-break-time-sum): Use dolist.
10923         * textmodes/flyspell.el (flyspell-word-search-backward):
10924         Replace CL function.
10926 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10928         * mouse.el (mouse--strip-first-event): New function.
10929         (function-key-map): Use it to map fringe clicks to normal clicks
10930         by default.
10932         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10933         (vc-bzr-revision-completion-table): Add support for annotate and date.
10935         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10936         inherit from parent.
10938 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10940         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10941         (dired-show-file-type): Doc fixup (bug#8818).
10943         * dired.el (dired-mode): Fix up the doc string as suggested by
10944         Drew Adams (bug#8817).
10946         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10947         cookie, since the manual says that it should be possible to add
10948         this function to `find-file-hook' (bug#8709).
10950 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
10952         * progmodes/cfengine.el: Moved all cfengine3.el functionality
10953         here.  Noted Ted Zlatanov as the maintainer.
10954         (cfengine-common-settings, cfengine-common-syntax): New functions
10955         to set up common things between `cfengine-mode' and
10956         `cfengine3-mode'.
10957         (cfengine3-mode): New mode.
10958         (cfengine3-defuns cfengine3-defuns-regex
10959         (cfengine3-class-selector-regex cfengine3-category-regex)
10960         (cfengine3-vartypes cfengine3-font-lock-keywords)
10961         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10962         (cfengine3-indent-line): Add from cfengine3.el.
10964 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
10966         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10968         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10970 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
10972         * window.el (same-window-buffer-names, same-window-regexps)
10973         (same-window-p, special-display-frame-alist)
10974         (special-display-popup-frame, special-display-function)
10975         (special-display-buffer-names, special-display-regexps)
10976         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10977         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10978         (split-window-preferred-function, split-height-threshold)
10979         (split-width-threshold, even-window-heights)
10980         (display-buffer-mark-dedicated, window-splittable-p)
10981         (split-window-sensibly, window-safely-shrinkable-p):
10982         Un-obsolete.
10983         (display-buffer): Don't spread args with function specifier
10984         because special-display-popup-frame won't like it.
10986 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
10988         Time-stamp simplifications and fixes.
10989         These improve accuracy slightly, and future-proof the code
10990         against some potential changes to current-time format.
10992         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10993         by using time-since and float-time.
10995         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10996         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
10997         + NNN microseconds".
10999         * type-break.el (type-break-time-sum): Rewrite using time-add.
11001         * play/hanoi.el (hanoi-current-time-float): Remove.
11002         All uses replaced by float-time.
11004         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11005         This yields a more-accurate answer.
11006         (rng-time-to-float): Remove; no longer needed.
11008         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11010         * calendar/timeclock.el (timeclock-seconds-to-time):
11011         Defalias to seconds-to-time, since they're the same thing.
11013         * emacs-lisp/elp.el (elp-elapsed-time):
11014         * emacs-lisp/benchmark.el (benchmark-elapse):
11015         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11017 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11019         * window.el (bury-buffer): Don't iconify the only frame.
11020         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11021         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
11023 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
11025         * eshell/em-smart.el (eshell-smart-display-navigate-list):
11026         Add mouse-yank-primary.
11028 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
11030         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11032 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11034         * emacs-lisp/find-func.el (find-library--load-name): New fun.
11035         (find-library-name): Use it to find relative load names when provided
11036         absolute file name (bug#8803).
11038 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11040         * textmodes/flyspell.el (flyspell-word): Consider words that
11041         differ only in case as potential doublons (bug#5687).
11043         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11044         Remove two rather uninteresting debugging-like messages to make
11045         debbugs.el more silent.
11047         * comint.el (comint-password-prompt-regexp): Accept "Response" as
11048         a password-like phrase.
11050 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
11052         * progmodes/cc-guess.el: New file.
11054         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11056         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11057         derived from `c-basic-common-init'.
11059         * progmodes/cc-mode.el (top-level): Require cc-guess.
11060         (c-basic-common-init): Use `cc-choose-style-for-mode'.
11062 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
11064         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11066 2011-06-30  Alan Mackenzie  <acm@muc.de>
11068         * progmodes/cc-engine.el (c-guess-continued-construct):
11069         Correct the handling of template-args-cont, particularly for when font
11070         lock is disabled.  Name this case as "CASE G".
11072 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
11074         * allout.el (allout-yank-processing): Fix injection of extra space
11075         between bullet and non-whitespace character in first topic when
11076         pasting, ensuring that the actual spacing in the pasted topic
11077         following the bullet char is preserved.  This extra space was
11078         causing pasted encrypted topics to get a decrypted status even
11079         when the content was actually still encrypted.  Now the decryption
11080         status from before the paste is preserved.
11082         (allout-flag-region): Set all allout overlays so they evaporate
11083         when reduced to zero length (evanescent), to prevent overlay
11084         leakage.
11086 2011-06-30  Glenn Morris  <rgm@gnu.org>
11088         * w32-fns.el (w32-charset-info-alist): Declare.
11090         * find-dired.el (find-grep-options): Simplify.
11092         * term/ns-win.el (ns-set-resource): Declare.
11094         * ses.el (row, col): Declare dynamic variables honestly.
11096         * textmodes/reftex-parse.el (index-tags): Declare.
11098 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
11100         * cus-edit.el (customize-push-and-save): New function.
11102         * files.el (hack-local-variables-confirm): Use it.
11104         * custom.el (load-theme): New arg NO-CONFIRM.
11105         Use customize-push-and-save (Bug#8720).
11106         (custom-enabled-themes): Doc fix.
11108         * cus-theme.el (customize-create-theme)
11109         (custom-theme-merge-theme): Callers to load-theme changed.
11111 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11113         * thingatpt.el (thing-at-point-short-url-regexp): Require that
11114         short URLs have at least one dot in them (bug #7614).
11116         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11117         nil, because using a pty is apparently too slow (bug #895).
11119 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11121         * mail/sendmail.el (sendmail-query-once): New function.
11122         (sendmail-query-once-function): New variable.
11124 2011-06-29  Glenn Morris  <rgm@gnu.org>
11126         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11128         * ses.el (top-level): Require cl when compiling.
11129         (ses-set-localvars): Fix error statement.
11130         Call it at compile time to silence a storm of warnings.
11132 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
11134         * window.el (normalize-live-buffer): Rename to
11135         window-normalize-buffer.
11136         (normalize-live-frame): Rename to window-normalize-frame.
11137         (normalize-any-window): Rename to window-normalize-any-window.
11138         (normalize-live-window): Rename to window-normalize-live-window.
11139         (make-window-atom): Rename to window-make-atom.
11140         (window-resize-reset): Rename to window--resize-reset.
11141         (window-resize-reset-1): Rename to window--resize-reset-1.
11142         (resize-mini-window): Rename to window--resize-mini-window.
11143         (resize-subwindows-skip-p): Rename to
11144         window--resize-subwindows-skip-p.
11145         (resize-subwindows-normal): Rename to
11146         window--resize-subwindows-normal.
11147         (resize-subwindows): Rename to window--resize-subwindows.
11148         (resize-other-windows): Rename to window--resize-siblings.
11149         (resize-this-window): Rename to window--resize-this-window.
11150         (resize-root-window): Rename to window--resize-root-window.
11151         (resize-root-window-vertically): Rename to
11152         window--resize-root-window-vertically.
11153         (normalize-buffer-to-display): Rename to
11154         window-normalize-buffer-to-display.
11155         (normalize-buffer-to-switch-to): Rename to
11156         window-normalize-buffer-to-switch-to.
11157         Correspondingly update all callers of the functions listed
11158         above.
11159         (display-buffer-alist, display-buffer-normalize-arguments)
11160         (display-buffer-normalize-options, display-buffer)
11161         (display-buffer-alist-set): Use "function" instead of
11162         "fun-with-args".
11164 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
11166         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11167         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
11168         debbugs.gnu.org.  Mention acknowledgment email.
11170 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11172         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11173         buffer multibyteness, since it shouldn't matter.
11175 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
11177         * window.el (display-buffer-in-side-window): Handle dedicated
11178         windows as in display-buffer-reuse-window.
11179         (display-buffer-normalize-alist): Use value of override
11180         specifier.
11181         (display-buffer-normalize-specifiers): Use value of
11182         other-window-means-other-frame specifier.
11183         (display-buffer-alist): Rewrite some texts in widgets.
11184         (display-buffer): Spread arguments when calling function
11185         specified by fun-with-args.
11187 2011-06-28  Deniz Dogan  <deniz@dogan.se>
11189         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11190         Unnest `let'.
11192         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11193         selectors (Bug#5732).
11194         (css-proprietary-nmstart-re): Use `regexp-opt'.
11196 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
11198         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11199         (eshell-ls-date-format): New defcustom.
11200         (eshell-ls-file): Use it.
11202 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11204         * help-fns.el (describe-variable): Fix message for terminal-local vars.
11206 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
11208         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11209         (ange-ftp-make-tmp-name): New arg.
11210         (ange-ftp-file-local-copy): Use it.
11212 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
11214         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11215         no-conversion (Bug#8870).
11217 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
11219         * window.el (window-right, window-left, window-child)
11220         (window-child-count, window-last-child)
11221         (window-iso-combination-p, walk-window-tree-1)
11222         (window-atom-check-1, window-tree-1, delete-window)
11223         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11224         new naming conventions - window-vchild, window-hchild,
11225         window-next and window-prev are now called window-top-child,
11226         window-left-child, window-next-sibling and window-prev-sibling
11227         respectively.
11228         (resize-window-reset): Rename to window-resize-reset.
11229         (resize-window-reset-1): Rename to window-resize-reset-1.
11230         (resize-window): Rename to window-resize.
11231         (window-min-height, window-min-width)
11232         (resize-mini-window, resize-this-window, resize-root-window)
11233         (resize-root-window-vertically, adjust-window-trailing-edge)
11234         (enlarge-window, shrink-window, maximize-window)
11235         (minimize-window, delete-window, quit-restore-window)
11236         (split-window, balance-windows, balance-windows-area-adjust)
11237         (balance-windows-area, window-state-put-2)
11238         (display-buffer-even-window-sizes, display-buffer-set-height)
11239         (display-buffer-set-width, set-window-text-height)
11240         (fit-window-to-buffer): Rename all "resize-window" prefixed
11241         calls to use the "window-resize" prefix convention.
11242         (display-buffer-alist): Fix symbol for label specifier.
11243         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11244         corresponding specifier.
11245         Reported by Juanma Barranquero <lekktu@gmail.com>.
11247 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11249         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11250         convention.
11251         (ses-call-printer): Does not pass an empty string to formatter when the
11252         cell is empty to keep from barking printer Calc math-format-value.
11254 2011-06-27  Richard Stallman  <rms@gnu.org>
11256         * battery.el (battery-mode-line-limit): New variable.
11257         (battery-update): Handle it.
11259         * mail/rmailmm.el (rmail-mime-process-multipart):
11260         Handle truncated messages.
11262 2011-06-27  Glenn Morris  <rgm@gnu.org>
11264         * progmodes/flymake.el (flymake-err-line-patterns):
11265         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
11267 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11269         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11270         (ses--clean-!, ses--clean-_): New functions.
11271         (ses-range): Add configurability of readout order, and conversion
11272         to Calc vector.
11274         * ses.el (ses-repair-cell-reference-all): New function.
11275         (ses-cell-symbol): Set macro as safe, so that it can be used in
11276         formulas.
11278         * ses.el: Update cycle detection algorithm.
11279         (ses-localvars): Add ses--Dijkstra-attempt-nb and
11280         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11281         (ses-set-localvars): New function.
11282         (ses-make-cell): Add property-list as a cell element.
11283         (ses-cell-property-get-fun, ses-cell-property-get)
11284         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11285         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11286         New functions.
11287         (ses-cell-property-set, ses-cell-property-pop)
11288         (ses-cell-property-get-handle): New macro.
11289         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11290         New aliases, used for code readability.
11291         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11292         cycle detection.
11293         (ses-self-reference-early-detection): New defcustom.
11294         (ses-formula-references): Robustify against self-referring cells.
11295         (ses-mode): Use ses-set-localvars.
11296         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11297         before lauching the update processing.
11298         (ses-initialize-Dijkstra-attempt): New function.
11299         (ses-recalculate-cell): Update for cycle detection based on
11300         Dijkstra algorithm.
11302         * ses.el: Fix commenting and indenting convention.
11304 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11306         * bs.el (bs-cycle-next): Complete last change.
11308 2011-06-27  Drew Adams  <drew.adams@oracle.com>
11310         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11312 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11314         * net/network-stream.el (network-stream-open-starttls):
11315         Don't re-get capabilities unless we've reestablished connection.
11316         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11318         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11319         to binary to possibly avoid line encoding issues on Windows (among
11320         other things).
11322 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11324         * net/network-stream.el (open-network-stream): Return an :error
11325         saying what the problem was, if possible.
11327         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11328         server.
11330         * net/network-stream.el (network-stream-open-starttls): If we
11331         wanted to use STARTTLS, and the server offered it, but we weren't
11332         able to because we had no STARTTLS support, then close the connection.
11333         (open-network-stream): Return an :error element, if present.
11335 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
11337         * hl-line.el (hl-line-sticky-flag): Doc fix.
11338         (global-hl-line-sticky-flag): New option (Bug#8323).
11339         (global-hl-line-highlight): Obey it.
11341         * vc/vc.el (vc-revert-show-diff): Default to t.
11343 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
11345         * allout-widgets.el (allout-widgets-post-command-business):
11346         Stop decorating intermediate isearch matches.  They're not being
11347         undecorated when an isearch is continued past, and isearch
11348         automatically collapses them.  This leads to "widget leaks", where
11349         decorated items accumulate in collapsed areas.  Lines with lots of
11350         hidden widgets can slow down cursor travel, substantially.
11351         Too much complicated machinery would be needed to ensure undecoration,
11352         so we're doing without this nicety.
11354         (allout-widgets-tally-string): Don't try to do a hash-table-count
11355         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
11356         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11357         *Messages* when allout-widgets-maintain-tally is t.
11359 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
11361         * window.el (display-buffer-normalize-argument): Rename to
11362         display-buffer-normalize-arguments.  Handle special meaning of
11363         LABEL argument.  Respect special-display-function when popping up
11364         a new frame.  Fix code searching for a window showing the buffer
11365         on another frame.
11366         (display-buffer-normalize-specifiers):
11367         Call display-buffer-normalize-arguments.
11368         (display-buffer-in-window): Don't undedicate the window if its
11369         buffer remains the same.
11370         Reported by Drew Adams <drew.adams@oracle.com>.
11371         (display-buffer-alist): Add choice for same-window macro
11372         specfier.
11373         (display-buffer): Mention special meaning of LABEL argument in
11374         doc-string.  Fix quoting.  Don't pop up a new frame even as
11375         fallback.
11377 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
11379         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11380         avoid deleting the current window in some cases (bug#8911).
11382 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
11384         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11385         (Bug#8934)
11387 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11389         * net/network-stream.el (network-stream-open-starttls):
11390         Use built-in TLS support if `gnutls-available-p' is true.
11391         (network-stream-open-tls): Ditto.
11393 2011-06-26  Leo Liu  <sdl.web@gmail.com>
11395         * register.el (registerv): New struct.
11396         (registerv-make): New function.
11397         (jump-to-register, describe-register-1, insert-register):
11398         Support the jump-func, print-func and insert-func slot of a registerv
11399         struct.  (Bug#8415)
11401 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
11403         * vc/vc.el (vc-revert-show-diff): New defcustom.
11404         (vc-diff-internal): New arg specifying diff buffer.
11405         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
11406         reuse an existing *vc-diff* buffer (Bug#8927).
11408         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11410 2011-06-26  Glenn Morris  <rgm@gnu.org>
11412         * progmodes/f90.el (f90-critical-indent): New option.
11413         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11414         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11415         (f90-mode): Doc fix.
11416         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11417         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11418         (f90-beginning-of-block, f90-next-block, f90-indent-region)
11419         (f90-match-end): Handle block, critical.
11421 2011-06-25  Glenn Morris  <rgm@gnu.org>
11423         * calendar/diary-lib.el (diary-included-files): Doc fix.
11424         (diary-include-files): New function, extracted from
11425         diary-include-other-diary-files and diary-mark-included-diary-files.
11426         (diary-include-other-diary-files, diary-mark-included-diary-files):
11427         Just call diary-include-files.
11428         (diary-mark-entries): Reset diary-included-files on first call.
11430         * calendar/diary-lib.el (diary-mark-entries)
11431         (diary-mark-included-diary-files):
11432         Visit included diary-files in temp buffers.
11434         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11435         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11436         (f90-start-block-re, f90-imenu-generic-expression)
11437         (f90-looking-at-program-block-start, f90-no-block-limit):
11438         Add support for submodules.
11440         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11441         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11443 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
11445         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11446         buffer-file-type before setting its value, to avoid disastrous
11447         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
11449 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
11451         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11453         * ses.el (ses-unload-function):
11454         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11456         * proced.el (proced-unload-function):
11457         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11459 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
11461         * server.el (server-create-window-system-frame): Add parameters arg.
11462         (server-process-filter): Doc fix.  Handle frame-parameters.
11464 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
11466         Fix bug#8730, bug#8781.
11468         * loadhist.el (unload--set-major-mode): New function.
11469         (unload-feature): Use it.
11471         * progmodes/python.el (python-after-info-look): Add autoload cookie.
11472         (python-unload-function): New function.
11474 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11476         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11478 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
11480         * net/browse-url.el (browse-url-firefox-program): Add icecat to
11481         the candidates list.
11483 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
11485         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11487 2011-06-23  Richard Stallman  <rms@gnu.org>
11489         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11490         (rmail-variables): Set next-error-move-function.
11491         (rmail-what-message): Take argument POS.
11492         (rmail-next-error-move): New function.
11494 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11496         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11497         messages for adjacent non-terminals.
11499 2011-06-23  Richard Stallman  <rms@gnu.org>
11501         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11502         (rmail-show-message-1): Preserve buffer modified flag.
11503         (rmail-start-mail): Don't specify use of rmail-mail-return;
11504         that's done by mail-bury now.
11505         (rmail-mail-return): Handle arg NEWBUF.
11507 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
11509         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11510         SIZE is a number.
11512 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
11514         * window.el (get-lru-window, get-mru-window)
11515         (get-largest-window): Never return a minibuffer window.
11516         (display-buffer-pop-up-window): Fix a bug that could lead to
11517         reusing the minibuffer window.
11518         (display-buffer): Pass original specifier argument to
11519         display-buffer-function instead of the normalized one.
11520         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11522 2011-06-22  Leo Liu  <sdl.web@gmail.com>
11524         * minibuffer.el (completing-read-function)
11525         (completing-read-default): Move from minibuf.c
11527 2011-06-22  Richard Stallman  <rms@gnu.org>
11529         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11530         to Rmail even if not started by a special Rmail command.
11532         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11533         Copy the buffer currently showing just one message.
11535 2011-06-22  Roland Winkler  <winkler@gnu.org>
11537         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11538         (bibtex-clean-entry): First delete the old key so that a
11539         customized algorithm for generating the new key does not get
11540         confused by the old key.
11541         (bibtex-url): Obey regexp of first step.
11542         (bibtex-search-entries): Do not use add-to-list with local
11543         list-var.
11545 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11547         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11548         stored a user name, then query for the password first, instead of
11549         waiting for SMTP to give an error message and the trying again.
11551 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
11553         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11554         BUFFER in call-process.
11556 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11558         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11559         QUIT twice.
11560         (smtpmail-try-auth-methods): Require user name and password from
11561         auth-source.
11563 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
11565         * window.el (display-buffer-default-specifiers)
11566         (display-buffer-alist): Remove entries for pop-up-frame-alist.
11567         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11568         (split-window): Normalize SIDE argument (Bug#8916).
11570         * frame.el (pop-up-frame-alist, pop-up-frame-function)
11571         (special-display-frame-alist, special-display-popup-frame):
11572         Remove duplicate declarations.  These are now in window.el.
11574 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11576         * mail/smtpmail.el (smtpmail-via-smtp):
11577         Set :use-starttls-if-possible so that we always use STARTTLS if the
11578         server supports it.  SMTP servers that support STARTTLS commonly
11579         require it.
11581         * net/network-stream.el (network-stream-open-starttls): Support
11582         upgrading to STARTTLS always, even if we don't have built-in support.
11583         (open-network-stream): Add the :always-query-capabilities keyword.
11585         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11586         upgrades with `open-network-stream', and rely solely on
11587         auth-source for all credentials.  Big changes throughout the file,
11588         but in particular:
11589         (smtpmail-auth-credentials): Remove.
11590         (smtpmail-starttls-credentials): Remove.
11591         (smtpmail-via-smtp): Check for servers saying they want AUTH after
11592         MAIL FROM, too.
11594         * net/network-stream.el (network-stream-open-starttls):
11595         Provide support for client certificates both for external and built-in
11596         STARTTLS.
11597         (auth-source): Require.
11598         (open-network-stream): Document the :client-certificate keyword.
11599         (network-stream-certificate): Change cert-cert to cert and
11600         cert-key to key.
11602 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
11604         * net/tramp-cache.el (top): Don't load the persistency file when
11605         "emacs -Q" has been called.
11607 2011-06-21  Tim Harper  <timcharper@gmail.com>
11609         * term/ns-win.el (ns-initialize-window-system):
11610         Set application-specific `ApplePressAndHoldEnabled' system
11611         resource to NO as it is not yet supported by the NS port.
11613 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
11615         * misc.el (list-dynamic-libraries--refresh): Compute header here...
11616         (list-dynamic-libraries): ...not here.
11618 2011-06-21  Leo Liu  <sdl.web@gmail.com>
11620         * subr.el (sha1): Implement sha1 using secure-hash.
11622 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
11624         * window.el (display-buffer-alist): In default value do not
11625         enforce searching a window on any but the selected frame.
11626         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11627         (display-buffer-select-window): Remove function.
11628         (display-buffer-in-window): When a window on another frame gets
11629         reused, do not select it any more but just raise its frame if
11630         necessary (Bug#8851) and (Bug#8856).
11631         (display-buffer-normalize-options): Handle pop-up-frames related
11632         options more faithfully.
11633         (pop-to-buffer): Don't rely on `display-buffer' selecting the
11634         window if it is on another frame.
11635         (display-buffer-alist, display-buffer-default-specifiers):
11636         Don't make new frame unsplittable by default.
11637         (display-buffer-normalize-argument): Fix doc-string typo and use
11638         'same-frame-other-window instead of 'other-window when associating
11639         with display-buffer-macro-specifiers.
11641 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
11643         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11644         New functions.
11645         (5x5-mode-map, 5x5-mode-menu): Bind them.
11646         (5x5-draw-grid): Tweak the solver's rendering.
11648 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11650         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11651         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11653 2011-06-21  Drew Adams  <drew.adams@oracle.com>
11655         * menu-bar.el: Use function variable instead of switch-to-buffer.
11656         (menu-bar-select-buffer-function): New variable.
11657         (menu-bar-update-buffers): Use it (bug#8876).
11659 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11661         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11662         variable's status.
11664 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
11666         * x-dnd.el (x-dnd-version-from-flags)
11667         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11668         and long as number (Bug#8899).
11669         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11671 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11673         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11674         (completion-try-completion, completion-all-completions): Compute the
11675         metadata argument if it's missing; make it optional (bug#8795).
11677         * wid-edit.el: Use lex-bind and move towards completion-at-point.
11678         (widget-complete): Use new :completion-function property.
11679         (widget-completions-at-point): New function.
11680         (default): Use :completion-function instead of :complete.
11681         (widget-default-completions): Rename from widget-default-complete;
11682         Rewrite.
11683         (widget-string-complete, widget-file-complete, widget-color-complete):
11684         Remove functions.
11685         (file, symbol, function, variable, coding-system, color):
11686         * international/mule-cmds.el (default-input-method, charset)
11687         (language-info-custom-alist):
11688         * cus-edit.el (face): Use new property :completions.
11690         * progmodes/pascal.el (pascal-completions-at-point): New function.
11691         (pascal-mode): Use it.
11692         (pascal-mode-map): Use completion-at-point.
11693         (pascal-toggle-completions): Make obsolete.
11694         (pascal-complete-word, pascal-show-completions):
11695         * progmodes/octave-mod.el (octave-complete-symbol):
11696         Redefine as obsolete alias.
11697         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11698         Signal absence of completion info for old Octave,
11699         (inferior-octave-complete): Redefine as obsolete alias.
11700         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11701         (meta-completions-at-point): Rename from meta-complete-symbol and
11702         adapt it for use on completion-at-point-functions.
11703         (meta-common-mode): Use it.
11704         (meta-looking-at-backward, meta-match-buffer): Remove.
11705         (meta-complete-symbol): Redefine as obsolete alias.
11706         (meta-common-mode-map): Use completion-at-point.
11707         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11708         (makefile-mode-map): Use completion-at-point.
11709         (makefile-completions-at-point): Rename from makefile-complete and
11710         adapt it for use on completion-at-point-functions.
11711         (makefile-mode): Use it.
11712         (makefile-complete): Redefine as obsolete alias.
11714 2011-06-20  Deniz Dogan  <deniz@dogan.se>
11716         * net/rcirc.el: Delete trailing whitespaces once and for all.
11718 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
11720         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11722 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
11724         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11726         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11728 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
11730         * window.el (display-buffer-other-window-means-other-frame):
11731         Call display-buffer-normalize-alist.
11732         (display-buffer-normalize-specifiers-1): Rename to
11733         display-buffer-normalize-argument.  New argument other-frame.
11734         Rewrite.
11735         (display-buffer-normalize-specifiers-2): Rename to
11736         display-buffer-normalize-options.
11737         (display-buffer-normalize-alist-1): New function.
11738         (display-buffer-normalize-specifiers-3): Rename to
11739         display-buffer-normalize-alist.
11740         Call display-buffer-normalize-alist-1.
11741         (display-buffer-normalize-options-inhibit): New variable.
11742         (display-buffer-normalize-specifiers): Rewrite calling
11743         display-buffer-normalize-alist,
11744         display-buffer-normalize-argument, and
11745         display-buffer-normalize-options.  Don't call the latter if
11746         display-buffer-normalize-options-inhibit is non-nil.
11747         (frame-auto-delete): New option.
11748         (window-deletable-p): Use frame-auto-delete.
11749         (window-list-no-nils, window-state-ignored-parameters)
11750         (window-state-get-1, window-state-get, window-state-put-list)
11751         (window-state-put-1, window-state-put-2, window-state-put):
11752         New functions.
11753         (display-buffer-normalize-options): Move special-display-p group
11754         after pop-up-frame group (Bug#8851) and (Bug#8856).
11756 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
11758         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11759         groups (Bug#8776).
11760         (rx-submatch-n): New function.
11761         (rx): Document it.
11763         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11764         (Bug#8768).
11766         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11768         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11770         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11771         anytime existing face settings are present (Bug#8889).
11773         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11774         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11775         Remove unused argument.
11777 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
11779         * window.el (display-buffer-default-specifiers):
11780         Remove pop-up-frame.  Add pop-up-window-min-height,
11781         pop-up-window-min-width, and another reuse-window specifier
11782         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
11783         (display-buffer-normalize-specifiers-2):
11784         Handle split-height-threshold and split-width-threshold also when
11785         pop-up-windows is unset.  Add a reuse-window specifier for the
11786         case popping up a new window fails.
11787         (special-display-popup-frame): Remove double quoting.
11788         (display-buffer-normalize-specifiers-1): Fix thinko.
11790 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11792         * shell.el (shell-completion-vars): Set pcomplete-termination-string
11793         according to comint-completion-addsuffix.
11795         * pcomplete.el: Convert to lexical binding and fix bug#8819.
11796         (pcomplete-suffix-list): Mark as obsolete.
11797         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11798         pcomplete-seen in the closure.
11799         (pcomplete-comint-setup): Setup completion-at-point as well.
11800         (pcomplete--entries): New function.
11801         (pcomplete--env-regexp): New var.
11802         (pcomplete-entries): Rewrite to work with partial-completion and
11803         without relying on pcomplete-suffix-list.
11804         (pcomplete-pare-list): Remove, unused.
11806 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
11808         * window.el (display-buffer-alist): Set pop-up-window-min-height
11809         and pop-up-window-min-width in default value.  Reported by
11810         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
11811         other-window-means-other-frame.
11812         (display-buffer-macro-specifiers): Comment out entry for
11813         other-window specifier.
11814         (display-buffer-other-window-means-other-frame): New function.
11815         (display-buffer-normalize-specifiers-1): New arguments
11816         buffer-name and label.  Treat other-window case specially.
11817         (display-buffer-normalize-specifiers-2): Treat other-window case
11818         specially.
11819         (display-buffer-normalize-specifiers-3): New function.
11820         (display-buffer-normalize-specifiers):
11821         Call display-buffer-normalize-specifiers-3.
11823 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
11825         * window.el (same-window-p): Fix two typos introduced when
11826         adding with-no-warnings.
11827         (display-buffer-normalize-specifiers-1): Don't check
11828         pop-up-frames for 'unset initialization.
11829         (display-buffer-normalize-specifiers-2): Major rewrite using
11830         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11831         (pop-up-frames, display-buffer-reuse-frames)
11832         (display-buffer-mark-dedicated): Don't initialize to 'unset.
11833         Suggested by David Engster <deng@randomsample.de>.
11834         (even-window-heights): Initialize to 'unset.
11835         (display-buffer-alist-set): Handle new 'unset initializations.
11836         (display-buffer-macro-specifiers): Don't pop up a new frame in the
11837         other window case.
11839 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
11841         * window.el (display-buffer-normalize-specifiers-1):
11842         Respect current value of pop-up-frames for most reasonable values of
11843         second argument of display-buffer (Bug#8865).
11844         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11845         (switch-to-buffer-other-window-same-frame)
11846         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
11847         Adams (Bug#8875).
11848         (display-buffer): Don't check noninteractive when calling
11849         display-buffer-pop-up-frame.
11850         (display-buffer-pop-up-frame): Never pop up a frame in
11851         noninteractive mode (Bug#8857).
11852         (enlarge-window, shrink-window): Don't report an error when the
11853         window can't be resized as requested (Bug#8862).
11855 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11857         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11859         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11861         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11863 2011-06-15  Alan Mackenzie  <acm@muc.de>
11865         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11866         for declarators, disable knr checking to speed up for normal files.
11867         2: Refactor, replacing a sequence of nested if forms by a cond form.
11869 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11871         * net/network-stream.el (open-network-stream): Add the keyword
11872         :always-query-capabilities for the case where you want to force a
11873         `plain' network connection, but the protocol still requires the
11874         capabilitiy command (i.e., SMTP and EHLO).
11876         * subr.el (process-live-p): Rename from `process-alive-p' for
11877         consistency with other `-live-p' functions.
11879 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11881         * window.el (same-window-buffer-names, same-window-regexps)
11882         (special-display-frame-alist, special-display-popup-frame)
11883         (special-display-function, special-display-buffer-names)
11884         (special-display-regexps, pop-up-frame-alist)
11885         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11886         (pop-up-windows, split-window-preferred-function)
11887         (split-height-threshold, split-width-threshold, even-window-heights)
11888         (display-buffer-mark-dedicated): Don't encourage the use of
11889         display-buffer-alist from Elisp code.
11891 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
11893         * progmodes/python.el (python-mode): Derive from prog-mode.
11894         * progmodes/ps-mode.el (ps-mode):
11895         * progmodes/mixal-mode.el (mixal-mode):
11896         * progmodes/cfengine.el (cfengine-mode):
11897         * progmodes/ld-script.el (ld-script-mode): Likewise.
11899 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
11901         * window.el (display-buffer-alist): Trim default value to avoid
11902         popping up a new frame (Bug#8857) or reusing an arbitrary window
11903         on another frame.
11904         (display-buffer): Do not fall back on popping up a new frame in
11905         batch mode (Bug#8857).
11907 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
11909         * cus-theme.el (describe-theme-1): Use custom-theme-p.
11910         (custom-theme-summary): New function.
11911         (customize-themes): Use it.
11913 2011-06-13  Glenn Morris  <rgm@gnu.org>
11915         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11917 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
11919         * help.el (help-window): Remove variable.
11920         (help-window-point-marker, temp-buffer-max-height)
11921         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11922         (help-print-return-message): Don't set help-window.
11923         (resize-temp-buffer-window): Rewrite cod eand doc-string.
11924         (help-window-setup-finish): Remove.
11925         (help-window-display-message, help-window-setup)
11926         (with-help-window): Major rewrite based on new
11927         display-buffer-window variable.
11929         * help-mode.el (help-mode-finish): Remove help-window related
11930         code.
11932         * view.el (view-exits-all-viewing-windows): Remove reference to
11933         view-return-to-alist in doc-string.
11934         (view-return-to-alist): Make obsolete.
11935         (view-buffer): Call pop-to-buffer-same-window and remove
11936         undo-window code.
11937         (view-buffer-other-window): Call pop-to-buffer-other-window and
11938         simplify code.  Ignore second argument.
11939         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11940         simplify code.  Ignore second argument.
11941         (view-return-to-alist-update): Make obsolete.
11942         (view-mode-enter): Rename second argument to QUIT-RESTORE.
11943         Rewrite using quit-restore window parameters.
11944         (view-mode-exit): Rename second argument to EXIT-ONLY.
11945         Rewrite using quit-restore-window.
11946         (View-exit, View-exit-and-edit, View-leave, View-quit)
11947         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11948         appropriate arguments.
11949         (view-end-message): Use quit-restore window parameter.
11951         * window.el (display-buffer-function): Rewrite doc-string.
11952         (display-buffer-window, display-buffer-alist): New variables.
11953         (display-buffer-split-specifiers)
11954         (display-buffer-side-specifiers)
11955         (display-buffer-macro-specifiers): New constants.
11956         (display-buffer-even-window-sizes, display-buffer-set-height)
11957         (display-buffer-set-width, display-buffer-select-window)
11958         (display-buffer-in-window, display-buffer-reuse-window)
11959         (display-buffer-split-window-1, display-buffer-split-window)
11960         (display-buffer-split-atom-window, display-buffer-pop-up-window)
11961         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11962         (display-buffer-in-side-window, normalize-buffer-to-display)
11963         (display-buffer-normalize-specifiers-1)
11964         (display-buffer-normalize-specifiers-2)
11965         (display-buffer-normalize-specifiers, display-buffer-frame):
11966         New functions.
11967         (display-buffer): Major rewrite.
11968         (display-buffer-other-window, display-buffer-other-frame)
11969         (pop-to-buffer, switch-to-buffer-other-window)
11970         (switch-to-buffer-other-frame): Rewrite.
11971         (display-buffer-same-window, display-buffer-same-frame)
11972         (display-buffer-same-frame-other-window)
11973         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11974         (pop-to-buffer-other-window)
11975         (pop-to-buffer-same-frame-other-window)
11976         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11977         (switch-to-buffer-other-window-same-frame): New functions.
11978         (same-window-p, special-display-p): Rewrite disabling warnings.
11979         Make obsolete.
11980         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11981         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11982         Make obsolete
11983         (same-window-buffer-names, same-window-regexps)
11984         (special-display-frame-alist, special-display-popup-frame)
11985         (special-display-function, special-display-buffer-names)
11986         (special-display-regexps, pop-up-frame-alist)
11987         (pop-up-frame-function, split-window-preferred-function)
11988         (split-height-threshold, split-width-threshold)
11989         (even-window-heights): Make obsolete.
11991 2011-06-12  Glenn Morris  <rgm@gnu.org>
11993         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
11994         Misc simplifications.
11996 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
11998         * window.el (window-safely-shrinkable-p): Restore function which
11999         was inadvertently removed in change from 2011-06-11.  Declare as
12000         obsolete.
12002         * calendar/calendar.el (calendar-generate-window):
12003         Use window-iso-combined-p instead of combination of one-window-p and
12004         window-safely-shrinkable-p.
12006 2011-06-12  Glenn Morris  <rgm@gnu.org>
12008         * progmodes/fortran.el (fortran-mode-syntax-table):
12009         * progmodes/f90.el (f90-mode-syntax-table):
12010         Set % to punctuation.  (Bug#8820)
12011         (f90-find-tag-default): Remove, no longer needed.
12013 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
12015         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12017 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
12019         * image.el (image-animated-p): Return animation delay in seconds.
12020         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12021         (image-animate-timeout): Remove DELAY argument.  Don't assume
12022         every subimage has the same delay; get it from image-animated-p.
12023         (image-animate): Caller changed.
12025 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
12027         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12028         to ignored backtrace functions.
12030 2011-06-11  Glenn Morris  <rgm@gnu.org>
12032         * calendar/appt.el (appt-disp-window-function): Doc fix.
12033         (appt-check): Handle overlapping appointments.  (Bug#8337)
12035 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
12037         * window.el (window-tree-1, window-tree): New functions, moving
12038         the latter to window.el.
12039         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12040         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12041         (bw-refresh-edges): Remove.
12042         (balance-windows-1, balance-windows-2): New functions.
12043         (balance-windows): Rewrite in terms of window tree functions,
12044         balance-windows-1 and balance-windows-2.
12045         (bw-adjust-window): Remove.
12046         (balance-windows-area-adjust): New function with functionality of
12047         bw-adjust-window but using resize-window.
12048         (set-window-text-height): Rewrite doc-string.
12049         Use normalize-live-window and resize-window.
12050         (enlarge-window-horizontally, shrink-window-horizontally):
12051         Rename argument to DELTA.
12052         (window-buffer-height): New function.
12053         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12054         Rewrite using new window resize routines.
12055         (kill-buffer-and-window, mouse-autoselect-window-select):
12056         Use ignore-errors instead of condition-case.
12057         (quit-window): Call delete-frame instead of delete-windows-on
12058         for the only buffer on frame.
12060 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
12062         * loadup.el (top-level): Load window before files for the sake
12063         of replace-buffer-in-windows.
12065         * files.el (read-buffer-to-switch)
12066         (switch-to-buffer-other-window)
12067         (switch-to-buffer-other-frame, display-buffer-other-frame):
12068         Move to window.el.
12070         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12071         (previous-buffer): Move to window.el.
12073         * bindings.el (unbury-buffer): Move to window.el.
12075         * window.el (delete-other-windows-vertically): Move after
12076         definition of delete-other-windows.
12077         (other-window, delete-windows-on, replace-buffer-in-windows):
12078         Move here from window.c.
12079         (record-window-buffer, unrecord-window-buffer)
12080         (set-window-buffer-start-and-point, switch-to-prev-buffer)
12081         (switch-to-next-buffer): New functions.
12082         (get-next-valid-buffer, last-buffer, next-buffer): Move here
12083         from simple.el.  Call switch-to-next-buffer.
12084         (previous-buffer): Move here from simple.el.
12085         Call switch-to-prev-buffer.
12086         (bury-buffer): Move here from buffer.c.  Switch to previous
12087         buffer when window cannot be deleted.
12088         (unbury-buffer): Move here from bindings.el.
12089         (ctl-x-map): Move binding for other-window from window.c to
12090         here.
12091         (read-buffer-to-switch, switch-to-buffer-other-window)
12092         (switch-to-buffer-other-frame): Move here from files.el.
12093         (normalize-buffer-to-switch-to): New functions.
12094         (switch-to-buffer): Move here from buffer.c.
12095         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12097 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
12099         * window.el (window-min-height, window-min-width): Move here
12100         from window.c.  Add defcustoms and rewrite doc-strings.
12101         (resize-mini-window, resize-window): New functions.
12102         (adjust-window-trailing-edge, enlarge-window, shrink-window):
12103         Move here from window.c.
12104         (maximize-window, minimize-window): New functions.
12105         (delete-window, delete-other-windows, split-window): Move here
12106         from window.c.
12107         (window-split-min-size): New function.
12108         (split-window-keep-point): Mention split-window-above-each-other
12109         instead of split-window-vertically.
12110         (split-window-above-each-other, split-window-vertically):
12111         Rename split-window-vertically to split-window-above-each-other
12112         and provide defalias for old definition.
12113         (split-window-side-by-side, split-window-horizontally):
12114         Rename split-window-horizontally to split-window-side-by-side
12115         and provide defalias for the old definition.
12116         (ctl-x-map): Move bindings for delete-window,
12117         delete-other-windows and enlarge-window here from window.c.
12118         Replace bindings for split-window-vertically and
12119         split-window-horizontally by bindings for
12120         split-window-above-each-other and split-window-side-by-side.
12122         * cus-start.el (all): Remove entries for window-min-height and
12123         window-min-width.  Add entries for window-splits and
12124         window-nest.
12126 2011-06-09  Glenn Morris  <rgm@gnu.org>
12128         * calendar/appt.el (appt-mode-line): New function.
12129         (appt-check, appt-disp-window): Use it.
12131         * files.el (hack-one-local-variable-eval-safep):
12132         Allow minor-modes with explicit +/-1 arguments.
12134 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
12136         * term/xterm.el (xterm): Add defgroup.
12137         (xterm-extra-capabilities): Add defcustom to supply known xterm
12138         capabilities, skip querying them, or query them (default).
12139         (terminal-init-xterm): Use it.
12140         (terminal-init-xterm-modify-other-keys): New function to set up
12141         modifyOtherKeys support to simplify `terminal-init-xterm'.
12143 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
12145         * window.el (resize-window-reset, resize-window-reset-1)
12146         (resize-subwindows-skip-p, resize-subwindows-normal)
12147         (resize-subwindows, resize-other-windows, resize-this-window)
12148         (resize-root-window, resize-root-window-vertically)
12149         (window-deletable-p, window-or-subwindow-p)
12150         (frame-root-window-p): New functions.
12152 2011-06-09  Glenn Morris  <rgm@gnu.org>
12154         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12155         (ange-ftp-get-files): Use it.
12157 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
12159         * mail/sendmail.el (mail-recover-1, mail-recover):
12160         * files.el (recover-file, recover-session):
12161         Handle dired-listing-switches not being just a single short option.
12163 2011-06-09  Glenn Morris  <rgm@gnu.org>
12165         * calendar/appt.el (appt-display-message, appt-disp-window):
12166         Handle lists of appointments.
12168 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
12170         * window.el (one-window-p): Move down in code.
12171         Rewrite doc-string.
12172         (window-current-scroll-bars): Rewrite doc-string.
12173         Normalize live window argument.
12174         (walk-windows, get-window-with-predicate, count-windows):
12175         Rewrite doc-string.  Use window-list-1.
12176         (window-in-direction-2, window-in-direction, get-mru-window):
12177         New functions.
12179 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
12181         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12182         Doc fix (Bug#8713).
12184 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
12186         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12188 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
12190         * loadhist.el (unload-feature-special-hooks):
12191         Add `comint-output-filter-functions'.
12193 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
12195         * calendar/appt.el (appt-check): Move some initializations into the let.
12197 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
12199         * window.el (window-height): Defalias to window-total-height.
12200         (window-width): Defalias to window-body-width.
12202 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
12204         * image-mode.el (image-toggle-animation): New command.
12205         (image-mode-map): Bind it to RET.
12206         (image-mode): Update message.
12207         (image-toggle-display-image): Avoid a spurious cache flush.
12208         (image-transform-rotation): Doc fix.
12209         (image-transform-properties): Return quickly in the normal case.
12210         (image-animate-loop): Rename from image-animate-max-time.
12212         * image.el (image-animate-max-time): Move to image-mode.el.
12213         (create-animated-image): Remove unnecessary function.
12214         (image-animate): Rename from image-animate-start.  New arg.
12215         (image-animate-stop): Remove; just use image-animate-timer.
12216         (image-animate-timer): Use car-safe.
12217         (image-animate-timeout): Rename argument.
12219 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
12221         * window.el (get-lru-window, get-largest-window): Move here from
12222         window.c.  Rename first argument to ALL-FRAMES.
12223         Rephrase doc-strings.
12224         (get-buffer-window-list): Rewrite using window-list-1.
12225         Rephrase doc-string.
12226         (window-safe-min-height, window-safe-min-width): New constants.
12227         (window-size-ignore, window-min-size, window-min-size-1)
12228         (window-sizable, window-sizable-p, window-size-fixed-1)
12229         (window-size-fixed-p, window-min-delta-1, window-min-delta)
12230         (window-max-delta-1, window-max-delta, window-resizable)
12231         (window-resizable-p, window-total-height, window-total-width)
12232         (window-body-width): New functions.
12233         (window-full-height-p, window-full-width-p): Rewrite using
12234         window-total-size.
12235         (window-body-height): Rewrite using window-body-size.
12237 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
12239         * window.el (window-right, window-left, window-child)
12240         (window-child-count, window-last-child, window-any-p)
12241         (normalize-live-buffer, normalize-live-frame)
12242         (normalize-any-window, normalize-live-window)
12243         (window-iso-combination-p, window-iso-combined-p)
12244         (window-iso-combinations)
12245         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12246         (windows-with-parameter, window-with-parameter)
12247         (window-atom-root, make-window-atom, window-atom-check-1)
12248         (window-atom-check, window-side-check, window-check):
12249         New functions.
12250         (ignore-window-parameters, window-sides, window-sides-vertical)
12251         (window-sides-slots): New variables.
12252         (window-size-fixed): Move down in code.  Minor doc-string fix.
12254 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
12256         * comint.el (comint-dynamic-complete-as-filename)
12257         (comint-dynamic-complete-filename): Correctly call
12258         completion-in-region.
12260 2011-06-05  Deniz Dogan  <deniz@dogan.se>
12262         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12263         in last change.
12265 2011-06-05  Deniz Dogan  <deniz@dogan.se>
12267         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12268         (rcirc): Use it to prompt for encryption.
12270 2011-06-05  Roland Winkler  <winkler@gnu.org>
12272         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12273         (bibtex-search-entries): New command bound to C-c C-a.
12274         (bibtex-display-entries): New function.
12276 2011-06-05  Roland Winkler  <winkler@gnu.org>
12278         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12279         (bibtex-insert-kill): After yanking insert newline if necessary.
12280         (bibtex-initialize): Call bibtex-string-files-init only once.
12281         (bibtex-mode): Do not call easy-menu-add.
12282         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12283         (bibtex-yank): Set arg properly if nil.
12285 2011-06-05  Roland Winkler  <winkler@gnu.org>
12287         * textmodes/bibtex.el (bibtex-search-entry-globally):
12288         New variable.
12289         (bibtex-search-entry): Use it.
12291 2011-06-05  Roland Winkler  <winkler@gnu.org>
12293         * textmodes/bibtex.el (bibtex-entry-format): New option
12294         sort-fields.
12295         (bibtex-format-entry, bibtex-reformat): Honor this option.
12296         (bibtex-parse-entry): Return fields in proper order.
12298 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
12300         * doc-view.el (doc-view-remove-if): Move computation of result out
12301         of `dolist' to silence misleading lexical-binding warning.
12303 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
12305         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12306         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12308 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
12310         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12311         "SunOS 5.10".
12313 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
12315         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12316         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12317         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12318         (tramp-parse-putty):
12319         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12320         (tramp-completion-function-alist-ssh)
12321         (tramp-completion-function-alist-telnet)
12322         (tramp-completion-function-alist-su)
12323         (tramp-completion-function-alist-putty): Set `tramp-autoload'
12324         cookie.
12326         * net/tramp-ftp.el:
12327         * net/tramp-sh.el:
12328         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12329         load "tramp.el" `tramp-set-completion-function'.
12331 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12333         * shell.el: Require and use pcomplete.
12334         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12335         (shell-completion-vars): Set pcomplete-default-completion-function.
12337 2011-06-04  Deniz Dogan  <deniz@dogan.se>
12339         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12340         `memq' (Bug#8799).
12342 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12344         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12346 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
12348         * bs.el (bs--mark-unmark, bs--nth-wrapper):
12349         * mpc.el (mpc-select-extend, mpc-songpointer-context):
12350         * vc/log-view.el (log-view-beginning-of-defun):
12351         * vc/smerge-mode.el (smerge-apply-resolution-patch)
12352         (smerge-refine-forward, smerge-refine-chopup-region):
12353         Silence warning for unused `dotimes' counter variables.
12355 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12357         * net/tramp.el (tramp-with-progress-reporter): Rename from
12358         with-progress-reporter.  Use `declare'.
12359         * net/tramp-smb.el:
12360         * net/tramp-sh.el:
12361         * net/tramp-gvfs.el: Update all uses.
12363 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
12365         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12366         buffer isn't killed before making it current.
12368 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12370         Silence various byte-compiler warnings.
12371         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12372         `access-type' and new obsolescence format.
12373         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12374         new format.
12375         (byte-compile-check-variable): New `access-type' argument.
12376         Only warn if the access-type is obsolete.
12377         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12378         (byte-compile-variable-set): Adjust callers.
12379         * help-fns.el (describe-variable): Adjust to new obsolescence format.
12380         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12381         setting it as obsolete.
12382         * simple.el (minibuffer-completing-symbol):
12383         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12384         access as obsolete.
12385         * minibuffer.el (minibuffer-completing-file-name): Don't make it
12386         obsolete yet.
12387         * international/quail.el (quail-mouse-choose-completion): Remove unused
12388         code referring to obsolete var.
12389         (quail-choose-completion-string): Remove.
12390         * server.el (server-clients-with, server-kill-buffer-query-function)
12391         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12392         * proced.el (proced-send-signal):
12393         * emacs-lisp/lisp.el (lisp-complete-symbol):
12394         Replace completion-annotate-function with completion-extra-properties.
12396 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12398         * simple.el (goto-line): Use read-number.
12399         (overriding-map-is-bound): Remove.
12400         (saved-overriding-map): Change default.
12401         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12402         Take the map as argument.
12403         (universal-argument, negative-argument, digit-argument): Use it.
12404         (restore-overriding-map): Adjust.
12405         (do-auto-fill): Use fill-forward-paragraph.
12406         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12408         * minibuffer.el (minibuffer-inactive-mode-map): New var.
12409         (minibuffer-inactive-mode): New major mode.
12410         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12411         the *Messages* buffer" hack.
12412         (mouse-popup-menubar): Don't burp if the event is a normal key.
12414         Miscellaneous tweaks.
12415         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12416         lexical scoping as in subr.el's dolist and dotimes.
12417         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12418         Silence compiler warning.
12419         * thingatpt.el (forward-whitespace): Trivial coding style fix.
12420         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12421         * international/ccl.el (ccl-compile): Trivial simplification.
12422         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12423         * emacs-lisp/testcover.el (testcover-end): Remove spurious
12424         `printflag' argument.
12425         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12426         Purecopy the whole obsolescence data.
12428 2011-06-01  Leo Liu  <sdl.web@gmail.com>
12430         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12431         improve doc-string as suggested by Marco Pessotto
12432         <melmothx@gmail.com>.
12433         (rcirc-print): Fix last change.
12435 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12437         * minibuffer.el (complete-with-action): Return nil for the metadata and
12438         boundaries of non-functional tables.
12439         (completion-table-dynamic): Return nil for the metadata.
12440         (completion-table-with-terminator): Add default case, using
12441         complete-with-action.
12442         (completion--metadata): New function.
12443         (completion-all-sorted-completions, minibuffer-completion-help): Use it
12444         to try and avoid pathological performance problems.
12445         (completion--embedded-envvar-table): Return `category' metadata.
12447 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12449         * subr.el (process-alive-p): New tiny convenience function.
12451 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12453         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12454         content but also its previous major mode.
12456 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
12458         * emacs-lisp/debug.el (debug): Restore the previous content of the
12459         *Backtrace* buffer when we exit with C-M-c.
12461 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12463         * minibuffer.el: Add metadata method to completion tables.
12464         (completion-category-overrides): New defcustom.
12465         (completion-metadata, completion--field-metadata)
12466         (completion-metadata-get, completion--styles)
12467         (completion--cycle-threshold): New functions.
12468         (completion-try-completion, completion-all-completions):
12469         Add `metadata' argument to choose completion-styles.
12470         (completion--do-completion): Use metadata to choose cycling.
12471         (completion-all-sorted-completions): Use metadata for sorting.
12472         Remove :completion-cycle-penalty which is not needed any more.
12473         (completion--try-word-completion): Add `metadata' argument.
12474         (minibuffer-completion-help): Check metadata for annotation function
12475         and sorting.
12476         (completion-file-name-table): Return `category' metadata.
12477         (minibuffer-completing-file-name): Make obsolete.
12478         * simple.el (minibuffer-completing-symbol): Make obsolete.
12479         * icomplete.el (icomplete-completions): Pass new `metadata' param to
12480         completion-try-completion.
12482 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12484         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12486 2011-05-30  Leo Liu  <sdl.web@gmail.com>
12488         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12489         (rcirc-print): Decode all incoming messages (bug#8744).
12490         (rcirc-decode-coding-system): Allow value nil for automatic coding
12491         system detection.
12493 2011-06-01  Glenn Morris  <rgm@gnu.org>
12495         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12497 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12499         * image.el (image-animate-max-time): Allow nil and t values.
12500         Default to nil.
12501         (create-animated-image): Doc fix.
12502         (image-animate-start): Remove second arg; just use
12503         image-animate-max-time.
12504         (image-animate-timeout): Doc fix.  Args changed.
12506         * image-mode.el (image-toggle-display-image): Ensure that the
12507         image spec passed to the animate timer is the same object as in
12508         the buffer's display property (Bug#6981).
12509         (image-transform-properties): Doc fix.
12511         * image.el (image-animate-max-time): Default to nil.
12513 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
12515         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12516         entire buffer list (Bug#8184).
12518 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12520         * image.el (imagemagick-types-inhibit)
12521         (imagemagick-register-types): Doc fix.
12523 2011-05-29  Deniz Dogan  <deniz@dogan.se>
12525         * net/rcirc.el (rcirc): Use the user's stored encryption method by
12526         default.
12528 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12530         * select.el: Don't perform clipboard-manager saving in hooks;
12531         leave the hooks empty.
12533 2011-05-28  Leo Liu  <sdl.web@gmail.com>
12535         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12536         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
12537         (occur-edit-mode): New major mode (Bug#8463).
12538         (occur-after-change-function): New function.
12539         (occur-engine): Give Occur tags a read-only property.
12541 2011-05-28  Kevin Ryde  <user42@zip.com.au>
12543         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12545 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12547         * bindings.el (help-echo): Make the initial non-indicator dash
12548         empty on graphical terminals (Bug#7295).
12550         * files.el (auto-mode-alist): Move config rule after the
12551         in-stripping one (Bug#8547).
12553         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12555         * startup.el (normal-splash-screen): Remove gratuitous mode-line
12556         setting (Bug#8740).
12558 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
12560         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12561         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12562         (Bug#8539).
12564 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12566         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12568 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
12570         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12571         (hs-hide-block-at-point, hs-find-block-beginning)
12572         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12573         (Bug#8279).
12575 2011-05-28  Glenn Morris  <rgm@gnu.org>
12577         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
12579 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12581         * help-fns.el (describe-function-1): If the function is a derived
12582         major mode, print the parent mode.
12584         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12585         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12587 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12589         * minibuffer.el (completion--capf-wrapper): Check applicability before
12590         returning non-nil for non-exclusive completion data.
12591         * progmodes/etags.el (tags-completion-at-point-function):
12592         * info-look.el (info-lookup-completions-at-point): Mark as
12593         non-exclusive.
12594         (info-complete): Adjust accordingly.
12596         * info-look.el: Convert to lexical-binding and completion-at-point.
12597         (info-lookup-completions-at-point): New function.
12598         (info-complete): Use it and completion-in-region.
12600 2011-05-28  Drew Adams  <drew.adams@oracle.com>
12602         * isearch.el: Let M-e start with point at the first mismatched char.
12603         (isearch-fail-pos): New function.
12604         (isearch-edit-string): Use it.
12606 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
12608         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12610 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
12612         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
12613         traversal functions for avl-trees.
12614         (avl-tree--stack): New struct.
12615         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12616         (avl-tree-enter): Add optional `updatefun' arg.
12617         (avl-tree--do-enter): Add optional `updatefun' arg.
12618         Change return value.
12619         (avl-tree-delete): Add optional `test' and `nilflag' args.
12620         (avl-tree--do-delete): Add `test' and `nilflag' args.
12621         Change return value.
12622         (avl-tree-member): Add optional `nilflag'
12623         (avl-tree-member-p): New function.
12624         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12625         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12626         (avl-tree-stack-empty-p): New functions.
12628         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12629         avl-tree--del-balance1 and make it work both ways.
12630         (avl-tree--del-balance2): Remove.
12631         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12632         make it work both ways.
12633         (avl-tree--enter-balance2): Remove.
12634         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12635         New macros.
12636         (avl-tree--mapc, avl-tree-map): Add direction argument.
12638 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
12640         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12642 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
12644         * select.el: Support clipboard managers with built-in function
12645         x-clipboard-manager-save, via delete-frame-functions and
12646         kill-emacs-hook.
12647         (xselect-convert-to-targets): Add MULTIPLE target to list.
12648         (xselect-convert-to-save-targets): New function.
12650 2011-05-27  Kenichi Handa  <handa@m17n.org>
12652         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12653         let-binding rfc2047-encode-encoded-words to nil.
12655 2011-05-27  Glenn Morris  <rgm@gnu.org>
12657         * mail/emacsbug.el: Don't require url-util.
12659         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
12661         * files.el (set-auto-mode):
12662         Also respect mode: entries at the end of the file.  (Bug#8586)
12664 2011-05-26  Glenn Morris  <rgm@gnu.org>
12666         * files.el (hack-local-variables-prop-line, hack-local-variables):
12667         Downcase mode names, as seems to be traditional.
12668         (hack-local-variables, hack-local-variables-apply): Doc fixes.
12670         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12671         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
12673 2011-05-25  Julien Danjou  <julien@danjou.info>
12675         * textmodes/rst.el (rst-define-level-faces): Do not define face
12676         symbol if it is already defined.
12678 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12680         * play/5x5.el (5x5-new-game, 5x5-randomize):
12681         Reset 5x5-solver-output to nil when a new grid is cast.
12682         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12683         these debugging traces, as defmacro breaks the compiled code.
12685 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
12687         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12689 2011-05-24  Leo Liu  <sdl.web@gmail.com>
12691         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12692         (vc-bzr-sha1): Adapt.
12694         * sha1.el: Remove.  Function `sha1' is now builtin.
12696         * bindings.el: Provide sha1 feature.
12698 2011-05-24  Kenichi Handa  <handa@m17n.org>
12700         * mail/sendmail.el: Require `rfc2047'.
12701         (mail-insert-from-field): Do not perform RFC2047 encoding.
12702         (mail-encode-header): New function.
12703         (sendmail-send-it): Set buffer-file-coding-system of the work
12704         buffer to the return value of select-message-coding-system.
12705         Call mail-encode-header.
12707         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12709 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
12711         * mail/supercite.el (sc-default-cite-frame):
12712         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12714 2011-05-24  Glenn Morris  <rgm@gnu.org>
12716         * progmodes/python.el (brm-menu): Declare.
12718         * emulation/viper.el (viper-set-hooks): Declare.
12720         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12721         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12722         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12723         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12724         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12725         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12727 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12729         Add an :exit-function for completion-at-point.
12731         * minibuffer.el (completion--done): New fun.
12732         (completion--do-completion): Use it.  New arg `expect-exact'.
12733         (minibuffer-complete, minibuffer-complete-word): Don't output message,
12734         since completion--do-completion does it for us now.
12735         (minibuffer-force-complete): Use completion--done and
12736         completion--replace.  Handle sole-completion case with more care.
12737         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12738         (completion-extra-properties): New var.
12739         (completion-annotate-function): Make obsolete.
12740         (minibuffer-completion-help): Adjust accordingly.
12741         Use completion-list-insert-choice-function.
12742         (completion-at-point, completion-help-at-point):
12743         Bind completion-extra-properties.
12744         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12745         * simple.el (completion-list-insert-choice-function): New var.
12746         (completion-setup-function): Preserve it.
12747         (choose-completion): Pay attention to it, shuffle the code a bit.
12748         (choose-completion-string): New arg `insert-function'.
12750         * textmodes/bibtex.el: Convert to lexical binding.
12751         (bibtex-mode-map): Use completion-at-point.
12752         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12753         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12754         (bibtex-complete): Define as obsolete alias.
12755         (bibtex-complete-internal): Remove.
12756         (bibtex-format-entry): Remove unused sub-group in regexp.
12757         * shell.el (shell--command-completion-data)
12758         (shell-environment-variable-completion):
12759         * pcomplete.el (pcomplete-completions-at-point):
12760         * comint.el (comint--complete-file-name-data): Use :exit-function
12761         instead of completion-table-with-terminator so it also works for
12762         choose-completion.
12764 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12766         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12768         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12769         (bug#8710).
12771         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12773 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
12775         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12776         customization variable and implement: If non-nil, auto-fill will
12777         be inhibited while on topic's header line.
12779 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12781         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12782         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
12783         always have a solution in grid size = 5 cases.
12784         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12785         (5x5-solver-output, 5x5-log-buffer): New vars.
12786         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12787         Make these variables buffer local to achieve 5x5 multi-session-ness.
12788         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12789         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12790         (5x5-solve-suggest): New funs.
12791         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12792         randomize a grid so that we ensure that there is always a solution.
12793         (5x5-make-random-grid): Allow other movement than flipping.
12795 2011-05-23  Kevin Ryde  <user42@zip.com.au>
12797         * emacs-lisp/advice.el (ad-read-advised-function):
12798         Use `function-called-at-point' as the default, if it has
12799         advice and passes PREDICATE.
12801 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12803         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12804         byte-compile-lambda if it's actually a lambda.
12806         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12807         Fix function quoting.  Use backquote better.
12809 2011-05-22  Yuanle Song  <sylecn@gmail.com>
12811         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12812         matching (Bug#8516).
12814 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
12816         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12817         different face (Bug#8178).
12819 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
12821         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12822         defface (Bug#8144).
12824 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12826         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12827         funcall as well (bug#8712).  Warn when performing those conversions.
12828         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12830         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12832 2011-05-22  Glenn Morris  <rgm@gnu.org>
12834         * files.el (hack-local-variables-prop-line): Small simplifications.
12835         (hack-local-variables, hack-local-variables-prop-line):
12836         If MODE-ONLY, return the mode, rather than just `t'.
12838 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12840         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12842 2011-05-21  Glenn Morris  <rgm@gnu.org>
12844         * files.el (hack-local-variables-prop-line, hack-local-variables):
12845         If only interested in the mode, don't bother doing the other stuff.
12847         * image-mode.el (image-after-revert-hook):
12848         Redraw all frames on which the image is visible.  (Bug#8567)
12850         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
12852         * wid-edit.el (widget-checklist-match-inline):
12853         Fix 2011-04-19 change.  (Bug#8649)
12855 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12857         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12858         Also allow singlespace after single-letter capitals followed by a dot.
12860         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12861         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12863 2011-05-20  Nix  <nix@esperi.org.uk>
12865         * files.el (basic-save-buffer-2):
12866         Fix handling of break-hardlink-on-save with non-existent files.
12868 2011-05-19  Deniz Dogan  <deniz@dogan.se>
12870         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12871         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12873 2011-05-19  Glenn Morris  <rgm@gnu.org>
12875         * progmodes/f90.el (f90-type-def-re):
12876         Handle "type, bind(c)".  (Bug#8691)
12878         * emacs-lisp/autoload.el (batch-update-autoloads):
12879         Set autoload-excludes by parsing loadup.el rather than Makefiles.
12881 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
12883         * net/tramp.el (tramp-process-actions): Set "first-password-request"
12884         property for the correct connection in case of multihops.
12886 2011-05-18  Glenn Morris  <rgm@gnu.org>
12888         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12889         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12891         Rationalize calendar handling of day and month abbrev-arrays.
12892         * calendar/calendar.el (calendar-customized-p): New function.
12893         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12894         (calendar-day-name-array, calendar-month-name-array): Doc fix.
12895         Add :set function.
12896         (calendar-abbrev-length, calendar-day-abbrev-array)
12897         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12898         (calendar-day-abbrev-array, calendar-month-abbrev-array):
12899         Elements may no longer be nil.
12900         (calendar-day-name, calendar-month-name):
12901         Update for changed nature of abbrev arrays.
12902         * calendar/diary-lib.el (diary-name-pattern):
12903         Update for changed nature of abbrev arrays.
12904         (diary-mark-entries-1): Update calendar-make-alist calls.
12905         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12906         * calendar/cal-html.el (cal-html-day-abbrev-array):
12907         Simply inherit from calendar-day-abbrev-array.
12909 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12911         * progmodes/grep.el (grep-mode): Disable default
12912         compilation-directory-matcher setting (bug#8684).
12914 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
12916         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12917         instead of "head" and "tail".  There were problems with SunOS 5.9,
12918         and it performs better.
12920 2011-05-17  Glenn Morris  <rgm@gnu.org>
12922         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12924         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12925         Replace obsolete function.
12927         * shell.el (pcomplete-parse-arguments-function): Declare.
12929         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12930         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12931         (appt-check): Doc fixes.
12932         (appt-disp-window-function, appt-delete-window-function):
12933         Remove needless special case in custom :type.
12934         (appt-display-count): Default to 0, not nil.
12935         (appt-check): Reset appt-display-count to 0, not nil.
12937 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
12939         * progmodes/python.el (python-font-lock-keywords):
12940         Add the Python 3.X keyword "nonlocal" (bug#8639).
12942 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12944         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12946 2011-05-16  Kevin Ryde  <user42@zip.com.au>
12948         * info-look.el (makefile-automake-mode): New setups, looking in
12949         automake manual, then makefile-mode.
12950         (makefile-mode): Remove automake manual, have it just in
12951         makefile-automake-mode since there's various things different or
12952         not relevant to plain make.
12953         (makefile-mode): Remove "other-modes" non-existent automake-mode,
12954         believe a hypothetical automake-mode would go to makefile-mode,
12955         not the other way around.
12957 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
12959         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12960         hunk-end tags (Bug#8672).
12962         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12963         vc-annotate-show-diff-revision-at-line (Bug#8671).
12965 2011-05-14  Glenn Morris  <rgm@gnu.org>
12967         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12968         in the middle of an existing one with multiple authors.  (Bug#8645)
12969         (change-log-font-lock-keywords): Also handle multiple author lines
12970         with leading tabs.  (Bug#8644)
12972         * calendar/appt.el (appt-check): Rename some local variables.
12973         Some simplification/reordering.
12975         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12976         (feedmail-sendmail-f-doesnt-sell-me-out)
12977         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12978         (feedmail-debug-sit-for, feedmail-queue-express-hook)
12979         (feedmail-queue-runner-message-sender): Set :version.
12980         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12981         (bbdb-dwim-net-address, vm-mail): Declare.
12982         (feedmail-binmail-gnulinuxish-template):
12983         Rename from feedmail-binmail-linuxish-template.
12984         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12985         Use insert-buffer-substring.
12987 2011-05-14  Bill Carpenter  <bill@carpenter.org>
12989         * mail/feedmail.el (feedmail-patch-level): Increase.
12990         (feedmail-debug): New custom group.
12991         (feedmail-confirm-outgoing-timeout)
12992         (feedmail-sendmail-f-doesnt-sell-me-out)
12993         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12994         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12995         (feedmail-sender-line, feedmail-from-line)
12996         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12997         (feedmail-spray-this-address)
12998         (feedmail-spray-address-fiddle-plex-list)
12999         (feedmail-queue-use-send-time-for-date)
13000         (feedmail-queue-use-send-time-for-message-id)
13001         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13002         (feedmail-buffer-eating-function):
13003         Doc fixes.
13004         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13005         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13006         (feedmail-message-action-scroll-down): New functions.
13007         (feedmail-queue-directory, feedmail-queue-draft-directory):
13008         Use expand-file-name.
13009         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13010         Remove C-v help entry.
13011         (feedmail-queue-buffer-file-name): New variable.
13012         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13013         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13014         (feedmail-message-action-send-strong, feedmail-message-action-edit)
13015         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13016         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13017         (feedmail-message-action-toggle-spray)
13018         (feedmail-run-the-queue-no-prompts)
13019         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13020         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13021         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13022         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13023         (feedmail-envelope-deducer, feedmail-fiddle-from)
13024         (feedmail-fiddle-sender, feedmail-default-date-generator)
13025         (feedmail-fiddle-date, feedmail-fiddle-message-id)
13026         (feedmail-fiddle-spray-address)
13027         (feedmail-fiddle-list-of-spray-fiddle-plexes)
13028         (feedmail-fiddle-list-of-fiddle-plexes)
13029         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13030         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13031         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13032         Change default.  Doc fix.
13033         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13034         (feedmail-binmail-linuxish-template): New constant.
13035         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
13036         Respect feedmail-sendmail-f-doesnt-sell-me-out.
13037         (feedmail-send-it): Add debug call.
13038         Use feedmail-queue-buffer-file-name, and
13039         feedmail-send-it-immediately-wrapper.
13040         (feedmail-message-action-send): Add debug call.
13041         Use feedmail-send-it-immediately-wrapper.
13042         (feedmail-queue-express-to-queue): Add debug call.
13043         Run feedmail-queue-express-hook.
13044         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
13045         (feedmail-message-action-help-blat):
13046         Rename from feedmail-queue-send-edit-prompt-help-first.
13047         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
13048         Check line-endings.  Handle errors better.
13049         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13050         Doc fix.  Add debug call.
13051         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
13052         Use feedmail-queue-send-edit-prompt-inner.
13053         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13054         (feedmail-queue-send-edit-prompt-inner): New function, extracted
13055         from feedmail-queue-send-edit-prompt.
13056         (feedmail-queue-send-edit-prompt-help)
13057         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13058         (feedmail-tidy-up-slug): Add debug call.
13059         Respect feedmail-queue-slug-suspect-regexp.
13060         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13061         (feedmail-dump-message-to-queue): Add debug call.
13062         Expand queue-directory.
13063         (feedmail-dump-message-to-queue): Change message slightly.
13064         Use feedmail-say-chatter.
13065         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
13066         (feedmail-send-it-immediately-wrapper): New function.
13067         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
13068         Insert empty string rather than newline.  Handle full-frame case.
13069         Use catch/throw.  Use feedmail-say-chatter.
13070         (feedmail-fiddle-from): Try mail-host-address.
13071         (feedmail-default-message-id-generator): Doc fix.
13072         Bind system-time-locale.  Handle missing end.
13073         (feedmail-fiddle-x-mailer): Add debug call.
13074         Handle feedmail-x-mailer-line being nil.
13075         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13076         Add debug call.  Use buffer-substring-no-properties.
13077         (feedmail-say-debug, feedmail-say-chatter): New functions.
13078         (feedmail-find-eoh): Give an explicit error.
13080 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
13082         * net/newst-treeview.el (newsticker-treeview-face): Change default
13083         family from helvetica to sans.
13084         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13085         etc/images/newsticker.
13087         * net/newst-reader.el (newsticker-feed-face): Change default
13088         family from helvetica to sans.
13090         * net/newst-plainview.el (newsticker-new-item-face)
13091         (newsticker-old-item-face, newsticker-immortal-item-face)
13092         (newsticker-obsolete-item-face, newsticker-date-face)
13093         (newsticker-statistics-face): Change default family from
13094         helvetica to sans.
13095         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13096         etc/images/newsticker.
13098         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13099         (newsticker--process-auto-mark-filter-match): Tell user about
13100         auto-marking.
13102 2011-05-13  Didier Verna  <didier@xemacs.org>
13104         Common Lisp indentation improvements on defmethod and lambda-lists.
13105         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13106         TODO entries.
13107         (lisp-lambda-list-keyword-parameter-indentation)
13108         (lisp-lambda-list-keyword-parameter-alignment)
13109         (lisp-lambda-list-keyword-alignment): New customizable user options.
13110         (lisp-indent-defun-method): Improve docstring.
13111         (extended-loop-p): Fix comment.
13112         (lisp-indent-lambda-list-keywords-regexp): New variable.
13113         (lisp-indent-lambda-list): New function.
13114         (lisp-indent-259): Use it.
13115         (lisp-indent-defmethod): Support for more than one
13116         method qualifier and properly indent methods lambda-lists.
13117         (defgeneric): Provide a missing common-lisp-indent-function property.
13119 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13121         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13122         bounds for the empty string (bug#8667).
13124 2011-05-13  Glenn Morris  <rgm@gnu.org>
13126         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13128         * mail/sendmail.el (sendmail-program): Try executable-find first.
13129         (sendmail-send-it): `sendmail-program' cannot be unbound.
13131         * calendar/appt.el (appt-make-list): Simplify.
13132         (appt-time-msg-list): Doc fix.
13133         (appt-check): Change mode-line message at the time of the appointment.
13135 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13137         * progmodes/ld-script.el (ld-script-keywords)
13138         (ld-script-builtins): Update keywords list.
13140 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13142         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13144         * shell.el (shell-completion-vars): New function.
13145         (shell-mode):
13146         * simple.el (read-shell-command): Use it.
13147         (blink-matching-open): No need for " [...]" in minibuffer-message.
13149 2011-05-12  Glenn Morris  <rgm@gnu.org>
13151         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13152         (appt-check): Simplify.
13154 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
13156         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13157         literal "/dev/null".
13159 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13161         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13162         Fix typo.
13164 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
13166         * progmodes/which-func.el (which-function):
13167         Use add-log-current-defun instead of add-log-current-defun-function,
13168         which might not be defined (Bug#8260).
13170 2011-05-12  Glenn Morris  <rgm@gnu.org>
13172         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13173         Let byte-compile-initial-macro-environment always take precedence.
13175 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13177         * net/rcirc.el: Add support for SSL/TLS connections.
13178         (rcirc-server-alist): New field `encryption'.
13179         (rcirc): Check `encryption' settings.
13180         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
13181         Merge make-local-variable into `set'.
13182         (rcirc--connection-open-p): New function.
13183         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13184         the process is not a network process (e.g. running gnutls-cli).
13185         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13186         Make rcirc-(en|de)code-coding-system local here.
13187         (rcirc-mode): Merge make-local-variable into `set'.
13188         (rcirc-parent-buffer): Make permanent buffer-local.
13189         (rcirc-multiline-minor-mode): Don't do it here.
13190         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13191         there's no server buffer.
13193 2011-05-11  Glenn Morris  <rgm@gnu.org>
13195         * newcomment.el (comment-kill): Prefix "unused" local.
13197         * term/w32console.el (get-screen-color): Declare.
13199         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13200         Handle symbol elements of byte-compile-initial-macro-environment.
13202 2011-05-10  Leo Liu  <sdl.web@gmail.com>
13204         * bookmark.el (bookmark-bmenu-mode-map):
13205         Bind bookmark-bmenu-search to `/'.
13207         * mail/footnote.el: Convert to utf-8 encoding.
13208         (footnote-unicode-string, footnote-unicode-regexp): New variable.
13209         (Footnote-unicode): New function.
13210         (footnote-style-alist): Add unicode style to the list.
13211         (footnote-style): Doc fix.
13213 2011-05-10  Jim Meyering  <meyering@redhat.com>
13215         Fix doubled-word typos.
13216         * international/quail.el (quail-insert-kbd-layout): and and -> and
13217         * kermit.el: and and -> and
13218         * net/ldap.el (ldap-search-internal): to to -> to
13219         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13220         * progmodes/js.el (js-mode): and and -> and
13221         * textmodes/artist.el (artist-move-to-xy): at at -> at
13222         (artist-draw-region-trim-line-endings): if if -> if
13223         And Safetyc -> Safety.
13224         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13226 2011-05-10  Glenn Morris  <rgm@gnu.org>
13227             Stefan Monnier  <monnier@iro.umontreal.ca>
13229         * files.el (hack-one-local-variable-eval-safep):
13230         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
13232 2011-05-10  Glenn Morris  <rgm@gnu.org>
13234         * calendar/diary-lib.el (diary-list-entries-hook)
13235         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13236         (diary-nongregorian-marking-hook, diary-list-entries)
13237         (diary-include-other-diary-files, diary-mark-entries)
13238         (diary-mark-included-diary-files): Doc fixes.
13240 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
13242         * misc.el: Require tabulated-list.el during compilation.
13244 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
13246         * progmodes/compile.el (compilation-start):
13247         Run compilation-filter-hook for the async case too.
13248         (compilation-filter-hook): Doc fix.
13250 2011-05-09  Deniz Dogan  <deniz@dogan.se>
13252         * wdired.el: Remove outdated installation comment.  Fix usage
13253         comment.
13255 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
13257         * misc.el: Implement new command `list-dynamic-libraries'.
13258         (list-dynamic-libraries--loaded-only-p): New variable.
13259         (list-dynamic-libraries--refresh): New function.
13260         (list-dynamic-libraries): New command.
13262 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
13264         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13265         Fix the ant regexp to handle end-line and end-column info from jikes.
13266         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
13267         higher priority to avoid clobbering by gnu.
13269 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
13271         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13272         if the face has existing theme settings (Bug#8454).
13274 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
13276         * progmodes/perl-mode.el (perl-imenu-generic-expression):
13277         Only match variables declared via `my' or `our' (Bug#8261).
13279         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13280         special file names `.' and `..' (Bug#8259).
13282 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
13284         * progmodes/grep.el (grep-mode-font-lock-keywords):
13285         Remove buffer-changing entries.
13286         (grep-filter): New function.
13287         (grep-mode): Add it to compilation-filter-hook.
13289         * progmodes/compile.el (compilation-filter-hook)
13290         (compilation-filter-start): New defvars.
13291         (compilation-filter): Call compilation-filter-hook prior to
13292         updating the process mark.
13294 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13296         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13298 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
13300         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13301         mailclient-send-it even if window-system is nil.  (Bug#8595)
13303         * term/w32console.el (terminal-init-w32console):
13304         Call get-screen-color and use its output to set the frame
13305         background-mode.  (Bug#8597)
13307 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13309         Make bytecomp.el understand that defmethod defines funs (bug#8631).
13310         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13311         New functions.
13312         (defgeneric, eieio--defmethod): Use them.
13313         (eieio-defgeneric): Remove.
13314         (defmethod): Call defgeneric in a way visible to the byte-compiler.
13316 2011-05-07  Glenn Morris  <rgm@gnu.org>
13318         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13319         Use let rather than let*.
13320         (timeclock-find-discrep): Remove unused local.
13322         * calendar/diary-lib.el (diary-comment-start): Doc fix.
13324         * calendar/appt.el (appt-time-msg-list): Doc fix.
13326 2011-05-06  Noah Friedman  <friedman@splode.com>
13328         * apropos.el (apropos-print-doc): Only use
13329         emacs-lisp-docstring-fill-column when it is bound to an integer,
13330         per that variable's documentation.
13332 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13334         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13335         and warnings are not silently discarded (e.g. use -d instead of -P).
13337 2011-05-06  Glenn Morris  <rgm@gnu.org>
13339         * calendar/appt.el (appt-message-warning-time): Doc fix.
13340         (appt-warning-time-regexp): New option.
13341         (appt-make-list): Respect appt-message-warning-time.
13343         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13344         New options.
13345         (diary-add-to-list): Strip comments from the displayed string.
13346         (diary-mode): Set comment-start and comment-end.
13348         * vc/diff-mode.el (smerge-refine-subst): Declare.
13349         (diff-refine-hunk): Don't require smerge-mode when compiling.
13351 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
13353         * simple.el (list-processes): Return nil as the docstring says.
13355 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
13357         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13358         to "".
13359         (ange-ftp-write-region, ange-ftp-insert-file-contents)
13360         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13361         determining of binary transfer.  (Bug#7383)
13363 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
13365         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13366         Fix port computation bug.  (Bug#8618)
13368 2011-05-05  Glenn Morris  <rgm@gnu.org>
13370         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13372         * simple.el (shell-dynamic-complete-functions)
13373         (comint-dynamic-complete-functions): Declare.
13375         * net/network-stream.el (gnutls-negotiate):
13376         * simple.el (tabulated-list-print): Fix declarations.
13378         * progmodes/gud.el (syntax-symbol, syntax-point):
13379         Remove unnecessary and incorrect declarations.
13381         * emacs-lisp/check-declare.el (check-declare-scan):
13382         Handle byte-compile-initial-macro-environment in bytecomp.el
13384 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13386         Fix earlier half-done eieio-defmethod change (bug#8338).
13387         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13388         Streamline and change calling convention.
13389         (defmethod): Adjust accordingly and simplify.
13390         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13391         new eieio--defmethod.
13392         (slot-boundp): Minor CSE simplification.
13394 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
13396         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13397         (glasses-make-readable): Use glasses-separate-capital-groups.
13399 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
13401         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13402         (warning-series): Doc fix.
13403         (display-warning): Don't try to create the buffer if we just found it.
13405 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
13407         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13408         (autoload-find-generated-file): New function.
13409         (generate-file-autoloads): Bind generated-autoload-file to
13410         buffer-file-name.
13411         (update-file-autoloads, update-directory-autoloads):
13412         Use autoload-find-generated-file.  If called interactively, prompt for
13413         output file (Bug#7989).
13414         (batch-update-autoloads): Doc fix.
13416 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
13418         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13420 2011-05-04  Glenn Morris  <rgm@gnu.org>
13422         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13423         function, so it follows changes in calendar-date-style.
13424         (diary-fancy-date-matcher): New function.
13425         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13426         (diary-fancy-font-lock-fontify-region-function):
13427         Use diary-fancy-date-pattern as a function.
13429         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13430         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
13432 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
13434         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13435         instead of positional arguments.  Allow :keylist and :crlfiles
13436         arguments.
13437         (open-gnutls-stream): Call it.
13439         * net/network-stream.el (network-stream-open-starttls): Adjust to
13440         call `gnutls-negotiate' with :process and :hostname arguments.
13442 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13444         * minibuffer.el (completion--message): New function.
13445         (completion--do-completion, minibuffer-complete)
13446         (minibuffer-force-complete, minibuffer-complete-word): Use it.
13447         (completion--do-completion): Don't ignore completion-auto-help when in
13448         icomplete-mode.
13450         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13451         internal encoding (e.g. tibetan zero is not whitespace).
13452         (global-whitespace-mode): Prefer save-current-buffer.
13453         (whitespace-trailing-regexp): Remove useless save-match-data.
13454         (whitespace-empty-at-bob-regexp): Minor simplification.
13456 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
13458         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13460 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13462         * textmodes/ispell.el (ispell-add-per-file-word-list):
13463         Use `concat' to create string for insertion.
13465 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13467         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13468         Avoid open-line which runs post-self-insert-hook.
13469         (bibtex-fill-entry): Remove unused `end' var.
13471 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
13473         * textmodes/ispell.el (ispell-add-per-file-word-list):
13474         Protect against `nil' value of `comment-start' (Bug#8579).
13476 2011-05-03  Leo Liu  <sdl.web@gmail.com>
13478         * isearch.el (isearch-yank-pop): New command.
13479         (isearch-mode-map): Bind it to `M-y'.
13480         (isearch-forward): Mention it.
13482 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13484         * simple.el (minibuffer-complete-shell-command): Remove.
13485         (minibuffer-local-shell-command-map): Use completion-at-point.
13486         (read-shell-command): Setup completion vars here instead.
13487         (read-expression-map): Bind TAB to symbol completion.
13489         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13490         error directly rather via storing it into `results'.
13492 2011-05-02  Leo Liu  <sdl.web@gmail.com>
13494         * vc/diff.el: Fix description.
13496 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13498         * server.el (server-eval-at): New function.
13500 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13502         * net/network-stream.el (open-network-stream): Take a :nowait
13503         parameter and pass it on to `make-network-process'.
13504         (network-stream-open-plain): Ditto.
13506 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13508         * faces.el (face-spec-set-match-display): Don't match toolkit
13509         options on terminal frames.
13511 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13513         * progmodes/pascal.el: Use lexical binding.
13514         (pascal-mode-map): Remove author preferences.
13516         * pcomplete.el (pcomplete-std-complete): Don't abuse
13517         completion-at-point.
13519 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
13521         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13522         removing code that has been dead since 1991 or so.
13524         * startup.el (command-line): When warning about "_emacs", use a
13525         delayed warning to allow the user to filter it out.
13527 2011-04-28  Deniz Dogan  <deniz@dogan.se>
13529         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13530         user has not joined.
13532 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13534         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13535         aren't any completions at point.
13537 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
13539         * subr.el (display-delayed-warnings): New function.
13540         (delayed-warnings-hook): New variable.
13542 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13544         * minibuffer.el (completion-at-point, completion-help-at-point):
13545         Don't presume that a given completion-at-point-function will always
13546         use the same calling convention.
13548         * pcomplete.el (pcomplete-completions-at-point):
13549         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
13550         pcomplete-seen is non-nil.
13551         (pcomplete-comint-setup): Also recognize the new comint/shell
13552         completion functions.
13553         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13554         pcomplete-seen is non-nil.
13556 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
13558         * calendar/icalendar.el (diary-lib): Add require statement.
13559         (icalendar--create-uid): Read out a uid from a text-property on
13560         the first character in the entry.  This allows for code to add its
13561         own uid to the entry.
13562         (icalendar--convert-float-to-ical): Add export of
13563         `diary-float'-entries save for those with the optional DAY
13564         argument.
13566 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
13568         * subr.el (shell-quote-argument): Use alternate escaping strategy
13569         when we spot a variable reference in a string.
13571 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
13573         * cus-start.el (all): Define customization for debug-on-event.
13575 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
13577         * subr.el (shell-quote-argument): Escape correctly under Windows.
13579 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13581         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13583 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
13585         * net/tramp.el (tramp-process-actions): Add POS argument.
13586         Delete region between POS and (pos).
13588         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13589         Use `nil' position in `tramp-process-actions' call.
13590         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13592         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13593         position in `tramp-process-actions' call.
13595         * net/trampver.el: Update release number.
13597 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13599         * custom.el (defcustom): Obey lexical-binding.
13601         Fix octave-inf completion problems reported by Alexander Klimov.
13602         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13603         Inherit from octave-mode-syntax-table.
13604         (inferior-octave-mode): Set info-lookup-mode.
13605         (inferior-octave-completion-at-point): New function.
13606         (inferior-octave-complete): Use it and completion-in-region.
13607         (inferior-octave-dynamic-complete-functions): Use it as well, and use
13608         comint-filename-completion.
13609         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13610         symbol elements which shouldn't be word elements.
13611         (octave-font-lock-keywords, octave-beginning-of-defun)
13612         (octave-function-header-regexp): Adjust regexps accordingly.
13613         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13615 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
13617         * net/gnutls.el (gnutls-errorp): Declare before first use.
13619 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
13621         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13622         verify-error, and verify-hostname-error parameters.  Check whether
13623         default trustfile exists before going to use it.  Add missing
13624         argument to gnutls-message-maybe call.  Return value.
13625         Reported by Claudio Bley <claudio.bley@gmail.com>.
13626         (open-gnutls-stream): Add usage example.
13628         * net/network-stream.el (network-stream-open-starttls): Give host
13629         parameter to `gnutls-negotiate'.
13630         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13631         * subr.el (shell-quote-argument): Escape correctly under Windows.
13633 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
13635         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13636         Use correct match group (bug#8438).
13638 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
13640         * emacs-lisp/package.el (package-built-in-p): Fix typo.
13641         (package-menu--generate): New arg specifying packages to show.
13642         (package-menu-refresh, package-menu-execute, list-packages):
13643         Callers changed.
13644         (package-show-package-list): New function, replacing deleted
13645         package--list-packages (renamed because it is non-internal).
13647         * finder.el (finder-list-matches): Use package-show-package-list
13648         instead of deleted package--list-packages.
13650         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13651         Based on a previous implementation by Juanma Barranquero (Bug#8366).
13652         (vc-annotate-mode-map): Bind it to RET.
13654 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
13656         * progmodes/etags.el (next-file): Don't use set-buffer to change
13657         buffers (Bug#8478).
13659 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
13661         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13663         * apropos.el (apropos-label-face): Avoid variable-pitch face.
13664         (apropos-accumulator): Doc fix.
13665         (apropos-function, apropos-macro, apropos-command)
13666         (apropos-variable, apropos-face, apropos-group, apropos-widget)
13667         (apropos-plist): Add face property.
13668         (apropos-symbols-internal): Fix indentation.
13669         (apropos-print): Simplify help, and recognize apropos-multi-type.
13670         (apropos-print-doc): Use button-type-get to extract the button's
13671         face property.  Fill docstring (Bug#8352).
13673 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
13675         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13677         * play/mpuz.el (mpuz-silent): Doc fix.
13678         (mpuz-mode-map): Use mapc.
13679         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13680         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13681         Fix typos in docstrings.
13683         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13684         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13686         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13688 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
13690         * minibuffer.el (completion--do-completion): Avoid the "Next char
13691         not unique" prompt if icomplete-mode is enabled (Bug#5849).
13693         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13694         mouse-2 into unread-command-events, it is interpreted correctly.
13696         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13697         (image-toggle-display): Doc fix.
13699 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
13701         * textmodes/page.el (what-page): Use line-number-at-pos to
13702         calculate line number (Bug#6825).
13704 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
13706         * eshell/esh-mode.el (find-tag-interactive): Declare function.
13707         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13708         Pass argument NO-DEFAULT to `find-tag-interactive'.
13710 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
13712         Lexical-binding cleanup.
13714         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13715         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13716         * progmodes/ada-prj.el (ada-prj-initialize-values)
13717         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13718         (ada-prj-show-value):
13719         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13720         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13721         (antlr-invalidate-context-cache, antlr-options-menu-filter)
13722         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13723         * progmodes/bug-reference.el (bug-reference-push-button):
13724         * progmodes/fortran.el (fortran-line-length):
13725         * progmodes/glasses.el (glasses-change):
13726         * progmodes/octave-mod.el (octave-fill-paragraph):
13727         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13728         (python-pdbtrack-grub-for-buffer, python-sentinel):
13729         * progmodes/sql.el (sql-save-connection):
13730         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13731         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13732         Mark unused parameters.
13734         * progmodes/compile.el (compilation--flush-directory-cache)
13735         (compilation--flush-parse, compile-internal): Mark unused parameters.
13736         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13737         (compilation-next-error-function): Remove unused variable `timestamp'.
13739         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13740         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13742         * progmodes/dcl-mode.el (dcl-end-of-command):
13743         Remove unused variable `start'.
13744         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13745         (dcl-option-value-basic, dcl-option-value-offset)
13746         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13747         Mark unused parameters.
13748         (dcl-save-local-variable): Remove unused variable `val'.
13749         (mode): Declare.
13751         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13752         Mark unused parameters.
13753         (delphi-ignore-changes): Move before first use.
13754         (delphi-charset-token-at): Remove unused variable `start'.
13755         (delphi-else-start): Remove unused variable `if-count'.
13756         (delphi-comment-block-start, delphi-comment-block-end):
13757         Remove unused variable `kind'.
13758         (delphi-indent-line): Remove unused variable `new-point'.
13760         * progmodes/ebrowse.el (ebrowse-files-list)
13761         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13762         Mark unused parameters.  Don't quote `lambda'.
13763         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13764         Don't quote `lambda'.
13765         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13766         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13767         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13768         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13769         Use `ignore-errors'.
13770         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13771         (ebrowse-view/find-file-and-search-pattern)
13772         (ebrowse-view/find-member-declaration/definition):
13773         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13774         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13775         Rename parameter PREFIX-ARG to PREFIX.
13776         (ebrowse-tags-read-name): Remove unused variables `start' and
13777         `member-info'.
13778         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13779         to `tags-file'.
13781         * progmodes/etags.el (local-find-tag-hook): Declare.
13782         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13783         Mark unused parameters.
13785         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13786         (executable-interpret): Mark unused parameter.
13788         * progmodes/flymake.el (flymake-process-sentinel)
13789         (flymake-after-change-function)
13790         (flymake-create-temp-with-folder-structure)
13791         (flymake-get-include-dirs-dot): Mark unused parameters.
13792         (flymake-safe-delete-directory): Remove unused variable `err'.
13794         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13795         (speedbar-timer-fn, speedbar-line-text)
13796         (speedbar-change-expand-button-char, speedbar-delete-subblock)
13797         (speedbar-center-buffer-smartly): Declare functions.
13798         (gdb-find-watch-expression): Remove unused variable `array'.
13799         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13800         (gdb-starting): Mark unused parameters.
13801         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13802         (gdb-table-string): Remove unused variable `res'.
13803         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13804         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13805         (gdb-display-buffer): Remove unused variable `cur-size'.
13807         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13808         allow lexical-binding compilation.
13809         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13810         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13811         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13812         Mark unused parameters.
13813         (gud-gdb-marker-filter): Remove unused variable `match'.
13814         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13815         lambda expressions and funcall them, instead of using `fset'.
13817         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13818         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13820         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13821         variable `header-beg'; use `let'.
13823         * progmodes/icon.el (indent-icon-exp): Remove unused variables
13824         `restart', `last-sexp' and `at-do'.
13826         * progmodes/js.el (js--debug): Mark unused parameter.
13827         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13828         (js--splice-into-items): Remove unused variable `item'.
13829         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13831         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13832         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13833         (makefile-complete): Remove unused variable `try'.
13834         (makefile-fill-paragraph, makefile-match-function-end):
13835         Mark unused parameters.
13837         * progmodes/octave-inf.el (inferior-octave-complete):
13838         Remove unused variable `proc'.
13839         (inferior-octave-output-digest): Mark unused parameter.
13841         * progmodes/perl-mode.el (perl-calculate-indent):
13842         Remove unused variable `err'.
13844         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13845         (prolog-indent-line): Mark unused parameters.
13846         (prolog-indent-line): Remove unused variable `beg'.
13848         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13849         (reporter-dont-compact-list): Declare.
13851         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13852         Remove unused variable `char'.
13853         (sh-debug): Mark unused parameter.
13854         (sh-get-indent-info): Remove unused variable `start'.
13855         (sh-calculate-indent): Remove unused variable `var'.
13857         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13858         (simula-electric-keyword): Remove unused variable `null'.
13859         (simula-search-backward, simula-search-forward): Remove unused
13860         variables `begin' and `end'.
13862         * progmodes/vera-mode.el (vera-guess-basic-syntax):
13863         Remove unused variable `pos'.
13864         (vera-electric-tab, vera-comment-uncomment-region):
13865         Mark unused parameters.
13866         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13868 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
13870         * emacs-lisp/package.el (package--builtins, package-alist)
13871         (package-load-descriptor, package-built-in-p, package-activate)
13872         (define-package, package-installed-p)
13873         (package-compute-transaction, package-buffer-info)
13874         (package--push): Doc fix.  Distinguish more clearly between
13875         version strings and version lists.
13877 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
13879         Lexical-binding cleanup.
13881         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13882         (5x5-make-mutate-best):
13883         * play/fortune.el (fortune-in-buffer):
13884         * play/gomoku.el (gomoku-init-display):
13885         * play/solitaire.el (solitaire, solitaire-do-check):
13886         * play/tetris.el (tetris-default-update-speed-function):
13887         Mark unused parameters.
13889         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13890         (bubbles--shift): Remove unused variable `char-org'.
13891         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
13892         (bubbles--show-images): Remove unused variable `char'.
13894         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13895         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13896         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13897         (decipher-analyze-buffer): Use ?\s.
13898         (decipher-make-checkpoint): Remove unused variable `mapping'.
13900         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13902         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13903         Remove unused variable `result'; use `let'.
13905         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13906         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13907         (gametree-children-shown-p, gametree-compute-reduced-score):
13908         Use `ignore-errors'.
13910         * play/handwrite.el (ps-lpr-switches): Declare.
13911         (handwrite): Remove unused variables `pmin' and `lastp'.
13913         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13915         * play/landmark.el (landmark-init-display)
13916         (landmark-update-naught-weights): Mark unused parameters.
13917         (landmark-y): Remove unused variable `noise'.  Simplify.
13918         (landmark-human-plays): Remove unused variable `score'.
13920         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13921         (mpuz-try-proposal): Remove unused variable `game'.
13923         * play/zone.el (life-patterns): Declare.
13925 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
13927         * vc/vc.el (ediff-vc-internal): Declare function.
13929 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13931         * shell.el: Use lexical-binding and std completion UI.
13932         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13933         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13934         comint-preoutput-filter-functions rather than on
13935         comint-output-filter-functions.
13936         (shell-command-completion, shell--command-completion-data)
13937         (shell-filename-completion, shell-environment-variable-completion)
13938         (shell-c-a-p-replace-by-expanded-directory): New functions.
13939         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13940         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13941         (shell-dynamic-complete-environment-variable): Use them.
13942         (shell-dynamic-complete-as-environment-variable)
13943         (shell-dynamic-complete-as-command): Remove.
13944         (shell-match-partial-variable): Match past point.
13945         * comint.el: Clean up use of completion-at-point-functions.
13946         (comint-completion-at-point): New function.
13947         (comint-mode): Use it completion-at-point-functions.
13948         (comint-dynamic-complete): Make it obsolete.
13949         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13950         (comint-c-a-p-replace-by-expanded-history): New function.
13951         (comint-dynamic-complete-functions)
13952         (comint-replace-by-expanded-history): Use it.
13953         * minibuffer.el (completion-table-with-terminator): Allow dynamic
13954         termination strings.  Try harder to avoid second try-completion.
13955         (completion-in-region-mode-map): Disable bindings that don't work yet.
13957         * comint.el: Use lexical-binding.  Require CL.
13958         (comint-dynamic-complete-functions): Use comint-filename-completion.
13959         (comint-completion-addsuffix): Tweak custom type.
13960         (comint-filename-completion, comint--common-suffix)
13961         (comint--common-quoted-suffix, comint--table-subvert)
13962         (comint--complete-file-name-data): New functions.
13963         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13964         (comint-dynamic-list-filename-completions): Use them.
13965         (comint-dynamic-simple-complete): Make obsolete.
13967         * minibuffer.el (completion-in-region-mode):
13968         Keep completion-in-region-mode--predicate global.
13969         (completion-in-region--postch):
13970         Assume completion-in-region-mode--predicate is not null.
13972         * progmodes/flymake.el (flymake-start-syntax-check-process):
13973         Obey `dir'.  Simplify.
13975         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13976         we're in VC after all.
13978 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
13980         * vc/vc.el (vc-diff-build-argument-list-internal)
13981         (vc-version-ediff, vc-ediff): New commands.
13982         (vc-version-diff): Use vc-diff-build-argument-list-internal.
13984 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13986         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13987         add sanity check.
13989         * obsolete/erc-hecomplete.el: Make obsolete.
13990         * obsolete/: Standardize obsolescence info in the header.
13992 2011-04-20  Glenn Morris  <rgm@gnu.org>
13994         * calendar/solar.el (solar-horizontal-coordinates):
13995         Use the longitude argument rather than `calendar-longitude'.
13996         (solar-date-next-longitude): Remove unused locals.
13998 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14000         * whitespace.el: New version 13.2.1.
14002 2011-04-20  felix  <EmacsWiki>  (tiny change)
14004         * whitespace.el (global-whitespace-mode): Keep highlight when
14005         switching between major modes on a file.
14007 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14009         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14010         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14011         multi-line comments as well.
14013 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
14015         Lexical-binding cleanup.
14017         * arc-mode.el (archive-mode-revert):
14018         * cmuscheme.el (scheme-interactively-start-process):
14019         * custom.el (custom-initialize-delay):
14020         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14021         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14022         * emacs-lock.el (emacs-lock-clear-sentinel):
14023         * ezimage.el (defezimage):
14024         * follow.el (follow-avoid-tail-recenter):
14025         * fringe.el (set-fringe-mode-1):
14026         * generic-x.el (bat-generic-mode-compile):
14027         * help-mode.el (help-info-variable, help-do-xref)
14028         (help-mode-revert-buffer):
14029         * help.el (view-emacs-todo):
14030         * iswitchb.el (iswitchb-completion-help):
14031         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14032         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14033         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14034         * locate.el (locate-update):
14035         * longlines.el (longlines-encode-region)
14036         (longlines-after-change-function):
14037         * outline.el (outline-isearch-open-invisible):
14038         * ps-def.el (declare-function, charset-dimension, char-width)
14039         (encode-char):
14040         * ps-mule.el (ps-mule-plot-string):
14041         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14042         (recentf-edit-list-select, recentf-edit-list-validate)
14043         (recentf-open-files-action):
14044         * rect.el (delete-whitespace-rectangle-line)
14045         (rectangle-number-line-callback):
14046         * register.el (window-configuration-to-register)
14047         (frame-configuration-to-register):
14048         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14049         * select.el (xselect-convert-to-string, xselect-convert-to-length)
14050         (xselect-convert-to-targets, xselect-convert-to-delete)
14051         (xselect-convert-to-filename, xselect-convert-to-charpos)
14052         (xselect-convert-to-lineno, xselect-convert-to-colno)
14053         (xselect-convert-to-os, xselect-convert-to-host)
14054         (xselect-convert-to-user, xselect-convert-to-class)
14055         (xselect-convert-to-name, xselect-convert-to-integer)
14056         (xselect-convert-to-atom, xselect-convert-to-identity):
14057         * subr.el (declare, ignore, process-kill-without-query)
14058         (text-clone-maintain):
14059         * terminal.el (te-get-char, te-tic-sentinel):
14060         * tool-bar.el (tool-bar-make-keymap):
14061         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14062         * type-break.el (type-break-mode, type-break-noninteractive-query):
14063         * view.el (View-back-to-mark):
14064         * wid-browse.el (widget-browse-action, widget-browse-widget)
14065         (widget-browse-widgets, widget-browse-sexp):
14066         * widget.el (define-widget-keywords):
14067         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14068         Mark unused parameters.
14070         * align.el (align-adjust-col-for-rule): Mark unused parameter.
14071         (align-areas): Remove unused variable `look'.
14072         (align-region): Remove unused variables `real-end' and `pos-list'.
14074         * apropos.el (apropos-score-doc): Remove unused variable `i'.
14076         * bindings.el (mode-line-modified, mode-line-remote):
14077         Mark unused parameters.
14078         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14080         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14081         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14083         * comint.el (comint-history-isearch-pop-state)
14084         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14085         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14086         (comint-substitute-in-file-name): Doc fix.
14088         * completion.el (cmpl-statistics-block): Mark unused parameter.
14089         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14090         (save-completions-to-file, load-completions-from-file):
14091         Remove unused local variable `e'.
14093         * composite.el (compose-chars): Remove unused variable `len'.
14094         (lgstring-insert-glyph): Remove unused variable `g'.
14095         (compose-glyph-string): Remove unused variables `ascent',
14096         `descent', `lbearing' and `rbearing'.
14097         (compose-glyph-string-relative): Remove unused variables
14098         `lbearing', `rbearing' and `wadjust'.
14099         (compose-gstring-for-graphic): Remove unused variables `header',
14100         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
14101         (compose-gstring-for-terminal): Remove unused variables `header'
14102         and `nchars'.  Use `let', not `let*'.
14104         * cus-edit.el (Custom-set, Custom-save, custom-reset)
14105         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14106         (Custom-buffer-done, custom-buffer-create-internal)
14107         (custom-browse-visibility-action, custom-browse-group-tag-action)
14108         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14109         (widget-magic-mouse-down-action, custom-toggle-parent)
14110         (custom-add-parent-links, custom-toggle-hide-variable)
14111         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14112         (custom-toggle-hide-face, face, hook, custom-group-link-action)
14113         (custom-face-menu-create, custom-variable-menu-create, get)
14114         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14115         (custom-reset-standard-save-and-update): Remove unused variable `value'.
14116         (customize-apropos): Remove unused variable `tests'.
14117         (custom-group-value-create): Remove unused variable `hidden-p'.
14118         (sort-fold-case): Declare.
14120         * cus-theme.el (custom-reset-standard-faces-list)
14121         (custom-reset-standard-variables-list): Declare.
14122         (customize-create-theme, custom-theme-revert, custom-theme-write)
14123         (custom-theme-choose-mode, customize-themes, custom-theme-save):
14124         Mark unused parameters.
14126         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14128         * delim-col.el (delimit-columns-max): Move defvar before first use.
14130         * descr-text.el (describe-char-categories): Don't quote `lambda'.
14131         (describe-char): Don't quote `lambda'.  Mark unused parameter.
14133         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14134         (auto-insert): Declare.
14135         (desktop-restore-file-buffer): Rename desktop-* parameters;
14136         mark unused ones.
14137         (desktop-create-buffer): Rename desktop-* parameters and bind them.
14138         (desktop-buffer): Rename desktop-* parameters.
14140         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14141         (dframe-reposition-frame-xemacs, dframe-help-echo)
14142         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14143         Mark unused parameters.
14145         * dired-aux.el (backup-extract-version-start, overwrite-query)
14146         (overwrite-backup-query, rename-regexp-query)
14147         (rename-non-directory-query): Declare.
14148         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14149         (dired-add-entry): Remove unused variable `orig-file-name'.
14150         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14151         Use parameter PRESERVE-TIME instead of accessing dynamic variable
14152         `dired-copy-preserve-time' directly.
14153         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14154         (dired-insert-subdir-newpos): Rename unused variable `pos'.
14156         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14157         (dired-virtual-revert, dired-make-relative-symlink):
14158         Mark unused parameters.
14159         (manual-program): Declare.
14160         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14161         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14162         wrapped in `with-no-warnings' to avoid replacing one warning by another.
14164         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14166         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14168         * echistory.el (electric-history-in-progress, Helper-return-blurb):
14169         Declare.
14171         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14173         * electric.el (Electric-command-loop): Rename parameter
14174         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14176         * expand.el (expand-in-literal): Remove unused variable `here'.
14178         * facemenu.el (facemenu-add-new-color):
14179         Remove unused variable `docstring'.
14181         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14182         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14183         (face-attr-construct): Mark unused parameter.  Doc fix.
14184         (read-color): Remove unused variable `hex-string'.
14186         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14187         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14188         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14189         (display-buffer-other-frame): Remove unused variable `old-window'.
14190         (kill-buffer-hook): Declare.
14191         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14192         Mark unused parameters.
14193         (after-find-file): Pass 1 to `auto-save-mode', not t.
14195         * files-x.el (auto-insert): Declare.
14196         (modify-file-local-variable-prop-line): Remove unused variable `val'.
14198         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14199         variable `buf'.  Mark unused parameter.
14200         (find-lisp-insert-directory): Mark unused parameter.
14202         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14203         (format-encode-region): Remove unused variables `cur-buf' and `result'.
14204         (format-common-tail): Remove, unused.
14205         (format-deannotate-region): Remove unused variable `loc'.
14206         (format-annotate-region): Remove unused variable `p'.
14207         (format-annotate-single-property-change): Remove unused variables
14208         `default' and `tail'.
14210         * forms.el (read-file-filter): Declare.
14211         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14213         * frame.el (frame-creation-function-alist): Mark unused parameter.
14214         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14216         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14217         Remove unused parameters.
14218         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14219         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14221         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14222         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14223         (hfy-prepare-tag-map): Mark unused parameters.
14224         (htmlfontify-buffer): Use `called-interactively-p'.
14226         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14227         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14228         (ibuffer-do-occur): Mark unused parameters.
14229         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14230         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14232         * ibuffer.el: Don't quote `lambda'.
14233         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14234         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14235         Mark unused parameters.
14237         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14238         (ido-completing-read): Mark unused parameters.
14239         (ido-copy-current-word): Mark unused parameters;
14240         remove unused variable `name'.
14241         (ido-sort-merged-list): Remove unused parameter `dirs'.
14243         * ielm.el (ielm-input-sender): Mark unused parameter.
14244         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14245         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14246         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14247         `ielm-string' as a dynamic variable accessible from the IELM prompt.
14248         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
14250         * image-dired.el (image-dired-display-thumbs): Remove unused
14251         variables `curr-file' and `count'.
14252         (image-dired-remove-tag): Remove unused variable `start'.
14253         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14254         variable `curr-file'
14255         (image-dired-rotate-original): Remove unused variable `temp-file'.
14256         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14257         Remove unused variable `file'.
14258         (image-dired-gallery-generate): Remove unused variable `curr'.
14259         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14261         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14263         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14265         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14267         * isearch.el (minibuffer-history-symbol): Declare.
14268         (isearch-edit-string): Remove unused variable `err'.
14269         (isearch-message-prefix, isearch-message-suffix):
14270         Mark unused parameters.
14272         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14274         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14276         * makesum.el (double-column): Remove unused variable `cnt'.
14278         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14279         (ido-ignore-item-temp-list): Declare.
14281         * mouse-drag.el (mouse-drag-throw): Remove unused variables
14282         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14283         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14284         (mouse-drag-drag): Remove unused variables `mouse-delta' and
14285         `mouse-col-delta'.
14287         * mouse-sel.el (mouse-extend-internal):
14288         Remove unused variable `orig-window-frame'.
14290         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14291         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14292         Move declarations before first use.
14293         (pcomplete-opt): Mark unused parameters; doc fix.
14295         * proced.el (proced-revert): Mark unused parameter.
14296         (proced-send-signal): Remove unused variable `err'.
14298         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14299         Rename parameter PREFIX-ARG to ARG.
14300         (ps-basic-plot-string, ps-basic-plot-whitespace):
14301         Mark unused parameters.
14303         * replace.el (replace-count): Define.
14304         (occur-revert-function): Mark unused parameters.
14305         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14306         (isearch-case-fold-search, isearch-string): Declare.
14307         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14308         bind `case-fold-search'.  Remove unused variables `beg' and `end',
14309         and simplify.
14310         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14311         COUNT and bind `replace-count'.
14312         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14313         to COUNT.
14315         * savehist.el (print-readably, print-string-length): Declare.
14317         * shadowfile.el (shadow-expand-cluster-in-file-name):
14318         Remove unused variable `cluster'.
14319         (shadow-copy-file): Remove unused variable `i'.
14320         (shadow-noquery, shadow-clusters, shadow-site-cluster)
14321         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14322         (shadow-define-literal-group, shadow-define-regexp-group)
14323         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14325         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14326         (shell): Use `called-interactively-p'.
14327         (shell-directory-tracker): Remove unused variable `chdir-failure'.
14329         * simple.el (compilation-context-lines, comint-file-name-quote-list)
14330         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14331         (delete-backward-char): Remove unused variable `ocol'.
14332         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14333         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14334         (event-apply-hyper-modifier, event-apply-shift-modifier)
14335         (event-apply-control-modifier, event-apply-meta-modifier):
14336         Mark unused parameters.
14337         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14338         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14340         * speedbar.el (speedbar-ignored-directory-expressions)
14341         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14342         (speedbar-find-file, speedbar-dir-follow)
14343         (speedbar-directory-buttons-follow, speedbar-tag-find)
14344         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14345         (speedbar-buffers-line-directory, speedbar-buffer-click):
14346         Mark unused parameters.
14347         (speedbar-tag-file): Remove unused variable `mode'.
14348         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14350         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14352         * talk.el (talk): Remove unused variable `display'.
14354         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14355         (tar-write-region-annotate): Mark unused parameter.
14357         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14358         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14359         Declare them, wrapped in `with-no-warnings' to avoid replacing one
14360         warning by another.
14362         * time-stamp.el (time-stamp-string-preprocess):
14363         Remove unused variable `require-padding'.
14365         * tree-widget.el (widget-glyph-enable): Declare.
14366         (tree-widget-action): Mark unused parameter.
14368         * w32-fns.el (x-get-selection): Mark unused parameter.
14369         (autoload-make-program, generated-autoload-file): Declare.
14371         * wdired.el (wdired-revert): Mark unused parameters.
14372         (wdired-xcase-word): Remove unused variable `err'.
14374         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14375         (whitespace-help-scroll): Remove unused variable `data-help'.
14377         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14378         (widget-image-insert, widget-after-change, default)
14379         (widget-default-format-handler, widget-default-notify)
14380         (widget-default-prompt-value, widget-info-link-action)
14381         (widget-url-link-action, widget-function-link-action)
14382         (widget-variable-link-action, widget-file-link-action)
14383         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14384         (widget-field-prompt-internal, widget-field-action, widget-field-match)
14385         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14386         (widget-insert-button-action, widget-delete-button-action, visibility)
14387         (widget-documentation-link-action, widget-documentation-string-action)
14388         (widget-const-prompt-value, widget-regexp-match, symbol)
14389         (widget-coding-system-prompt-value)
14390         (widget-key-sequence-value-to-external, sexp)
14391         (widget-sexp-value-to-internal, character, vector, cons)
14392         (widget-choice-prompt-value, widget-boolean-prompt-value)
14393         (widget-color--choose-action): Mark unused parameters.
14394         (widget-item-match-inline, widget-choice-match-inline)
14395         (widget-checklist-match, widget-checklist-match-inline)
14396         (widget-group-match): Rename parameter VALUES to VALS.
14397         (widget-field-value-set): Remove unused variable `size'.
14398         (widget-color-action): Remove unused variables `value' and `start'.
14400         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14401         variable `dir'.  Doc fix.
14402         (windmove-find-other-window): Don't pass it.
14404         * window.el (count-windows): Mark unused parameter.
14405         (bw-adjust-window): Remove unused variable `err'.
14407         * woman.el (woman-file-name): Remove unused variable `default'.
14408         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14409         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14410         (global-font-lock-mode): Declare.
14411         (woman-decode-region): Mark unused parameter.
14412         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14414         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14415         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14416         (x-dnd-handle-moz-url): Remove unused variable `title'.
14417         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14419         * xml.el (xml-parse-tag, xml-parse-attlist):
14420         Remove unused variable `pos'.
14422 2011-04-19  Glenn Morris  <rgm@gnu.org>
14424         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14425         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14426         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14427         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14428         * calendar/cal-html.el (cal-html-insert-minical):
14429         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14430         (calendar-mark-date-pattern):
14431         Prefix "unused" locals.
14433         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14434         optional argument `style'.
14436         * calendar/appt.el (appt-make-list):
14437         * calendar/cal-china.el (calendar-chinese-date-string):
14438         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14439         (diary-hebrew-yahrzeit):
14440         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14441         * calendar/calendar.el (calendar-generate-window):
14442         * calendar/time-date.el (time-to-days):
14443         Remove unused local variables.
14445 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
14447         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14448         glyphless-char-display table.
14449         (tabulated-list-glyphless-char-display): New var.
14451 2011-04-18  Sam Steingold  <sds@gnu.org>
14453         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14454         to acknowledgments.
14456 2011-04-17  Glenn Morris  <rgm@gnu.org>
14458         * calendar/diary-lib.el (diary-sexp-entry):
14459         * calendar/holidays.el (holiday-sexp):
14460         Set debug-on-error rather than the removed stack-trace-on-error.
14462 2011-04-16  Glenn Morris  <rgm@gnu.org>
14464         * progmodes/f90.el: Use lexical-binding.
14465         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14467 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14469         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14470         (mail-mode): Setup mailalias completion here instead.
14471         * mail/mailalias.el: Use lexical-binding.
14472         (pattern, mailalias-done): Declare dynamic.
14473         (mail-completion-at-point-function): New function, from mail-complete.
14474         (mail-complete): Use it.
14475         (mail-completion-expand): New function.
14476         (mail-get-names): Use it.
14477         (mail-directory, mail-directory-process, mail-directory-stream):
14478         Don't use `pattern' for lexically bound arg.
14480         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14482         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14483         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14484         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14486         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14487         (byte-save-window-excursion, byte-temp-output-buffer-setup)
14488         (byte-interactive-p): Define them again, for use when inlining
14489         old code.
14491 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
14493         * loadup.el: Use `string-to-number', not `string-to-int'.
14495 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14497         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14498         gud-gdb-complete-command.
14499         (gud-gdb-completions): New function, from gud-gdb-complete-command.
14500         (gud-gdb-completion-at-point): New function.
14501         (gud-gdb-completions): Remove.
14503 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
14505         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14506         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
14507         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14508         whether `executable-find' is bound.
14510         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14512 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14514         * minibuffer.el (completion-in-region-mode-predicate)
14515         (completion-in-region-mode--predicate): New vars.
14516         (completion-in-region, completion-in-region--postch)
14517         (completion-in-region-mode): Use them.
14518         (completion--capf-wrapper): Also return the hook function.
14519         (completion-at-point, completion-help-at-point):
14520         Adjust and provide a predicate.
14522         Preserve arg names for advice of subr and lexical functions (bug#8457).
14523         * help-fns.el (help-function-arglist): Consolidate the subr and
14524         new-byte-code cases.  Add argument `preserve-names' to extract names
14525         from the docstring when needed.
14526         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14527         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14528         (ad-arglist): Use help-function-arglist's new arg.
14529         (ad-definition-type): Use cond.
14531 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
14533         * autorevert.el (auto-revert-handler):
14534         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14535         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14536         Don't quote lambda.
14538         * image-mode.el (image-transform-set-scale):
14539         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14541 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14543         * net/network-stream.el (network-stream-open-starttls): Only do
14544         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14545         Upgrades via gnutls-cli are too slow to be done opportunistically.
14547 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
14549         * dframe.el (dframe-current-frame): Remove spurious quote.
14551 2011-04-12  Glenn Morris  <rgm@gnu.org>
14553         * calendar/cal-tex.el (cal-tex-end-document):
14554         Try to automatically use latin1 input if needed.
14556         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14557         Don't try to cons a mark onto an empty element.
14559 2011-04-11  Leo Liu  <sdl.web@gmail.com>
14561         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14562         buffers.
14563         (ido-kill-buffer-at-head): Support killing virtual buffers.
14565 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
14567         * minibuffer.el (completion-show-inline-help): New var.
14568         (completion--do-completion, minibuffer-complete)
14569         (minibuffer-force-complete, minibuffer-complete-word):
14570         Inhibit minibuffer messages if completion-show-inline-help is nil.
14572         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14573         to avoid interference from inline help (Bug#5849).
14575 2011-04-10  Leo Liu  <sdl.web@gmail.com>
14577         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14578         Fix typo.
14580 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
14582         * image-mode.el (image-toggle-display-image): Signal an error if
14583         not in Image mode.
14584         (image-transform-mode, image-transform-resize)
14585         (image-transform-set-rotation): Doc fix.
14586         (image-transform-set-resize): Delete.
14587         (image-transform-set-scale, image-transform-fit-to-height)
14588         (image-transform-fit-to-width): Handle image-toggle-display-image
14589         and image-transform-resize directly.
14591 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
14593         * doc-view.el (doc-view-fit-width-to-window)
14594         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14595         New functions for fitting the shown image to the Emacs window size.
14596         (doc-view-mode-map): Add bindings for the new functions.
14598 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
14600         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14601         Fix typo in docstring.
14603 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
14605         * files.el (file-size-human-readable): Produce one digit after
14606         decimal, like "ls -lh" does.
14608         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14609         the file size representation.
14611         * simple.el (list-processes): If async subprocesses are not
14612         available, error out with a clear error message.
14614 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
14616         * help.el (help-form-show): New function, to be called from C.
14617         Put help-form output in a buffer named differently than *Help*.
14619 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
14621         * files.el (file-size-human-readable): New function.
14623         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14624         computing the representation inline.  Don't require `cl'.
14626 2011-04-08  Glenn Morris  <rgm@gnu.org>
14628         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14630         * net/browse-url.el (browse-url-firefox):
14631         Test system-type, not system-configuration.
14633         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14634         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14635         Use log-edit-empty-buffer-p.  (Bug#7598)
14637         * net/rlogin.el (rlogin-process-connection-type): Simplify.
14638         (rlogin-mode-map): Initialize in the defvar.
14639         (rlogin): Use ignore-errors.
14641         * replace.el (occur-mode-map): Some fixes for menu items.
14643 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14645         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
14647 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
14649         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14650         issuing unused warnings.
14652         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14653         macro directly.
14655         * simple.el: Lisp reimplement of list-processes.  Based on an
14656         earlier reimplementation by Leo Liu, but using tabulated-list.el.
14657         (process-menu-mode): New major mode.
14658         (list-processes--refresh, list-processes):
14659         (process-menu-visit-buffer): New functions.
14661         * files.el (save-buffers-kill-emacs): Don't assume any return
14662         value of list-processes, which is undocumented anyway.
14664 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
14666         * emacs-lisp/tabulated-list.el: New file.
14668         * emacs-lisp/package.el: Use Tabulated List mode.
14669         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14670         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
14671         table format using Tabulated List mode variables.
14672         (package--push): New macro, replacing package-list-maybe-add.
14673         (package-menu--generate): Use package--push.  Renamed from
14674         package--generate-package-list.
14675         (package-menu-refresh, list-packages): Use it.
14676         (package-menu--print-info): Rename from package-print-package.
14677         Return insertion data instead of inserting it directly.
14678         (package-menu-describe-package, package-menu-execute):
14679         Use tabulated-list-get-id.
14680         (package-menu-mark-delete, package-menu-mark-install)
14681         (package-menu-mark-unmark, package-menu-backup-unmark)
14682         (package-menu-mark-obsolete-for-deletion):
14683         Use tabulated-list-put-tag.
14684         (package--list-packages, package-menu-revert)
14685         (package-menu-get-package, package-menu-get-version)
14686         (package-menu-sort-by-column): Functions deleted.
14687         (package-menu-package-list, package-menu-sort-key): Vars deleted.
14688         (package-menu--status-predicate, package-menu--version-predicate)
14689         (package-menu--name-predicate)
14690         (package-menu--description-predicate): Handle arguments in the
14691         Tabulated List format.
14692         (package-list-packages-no-fetch): Call list-packages.
14694 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
14696         * files.el (after-find-file-from-revert-buffer): Remove variable.
14697         (after-find-file): Don't bind it.
14698         (revert-buffer-in-progress-p): New variable.
14699         (revert-buffer): Bind it.
14700         Pass nil for `after-find-file-from-revert-buffer'.
14702         * saveplace.el (save-place-find-file-hook): Use new variable
14703         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14705 2011-04-06  Glenn Morris  <rgm@gnu.org>
14707         * Makefile.in (AUTOGEN_VCS): New variable.
14708         (autoloads): Use $AUTOGEN_VCS.
14710         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14711         * calendar/calendar.el (calendar-mode-map):
14712         Check for toolkit scroll bars.  (Bug#8305)
14714 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
14716         * minibuffer.el (completion-in-region--postch)
14717         (completion-in-region-mode): Remove unnecessary messages.
14719 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
14721         * font-lock.el (font-lock-refresh-defaults):
14722         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14723         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14725         * info.el (Info-directory-list, Info-read-node-name-2)
14726         (Info-split-parameter-string): Doc fixes.
14727         (Info-virtual-nodes): Reflow docstring.
14728         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14729         (Info-apropos-toc-nodes, info-finder, Info-get-token)
14730         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14731         Fix typos in docstrings.
14732         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14733         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14734         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14735         (Info-restore-desktop-buffer): Mark unused parameters.
14736         (Info-directory-find-file, Info-directory-find-node)
14737         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14738         (Info-virtual-index-find-node, Info-apropos-find-file)
14739         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14740         Mark unused parameters; fix typos in docstrings.
14741         (Info-virtual-index): Remove unused local variable `nodename'.
14743 2011-04-05  Deniz Dogan  <deniz@dogan.se>
14745         * net/rcirc.el: Update my e-mail address.
14746         (rcirc-mode-map): Remove M-o binding.
14748 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
14750         * startup.el (command-line): Save the cursor's theme-face
14751         directly, instead of using face-override-spec.
14753         * custom.el (load-theme): Minor optimization in assigning faces.
14755 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
14757         * help-fns.el (describe-variable): Complete all variables having
14758         documentation, including keywords.
14759         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14761 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
14763         Convert to lexical-binding.
14765         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14766         (bs--get-marked-string, bs--get-modified-string)
14767         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14768         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14769         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14771         * ehelp.el (electric-help-execute-extended)
14772         (electric-help-ctrl-x-prefix):
14773         * hexl.el (hexl-revert-buffer-function):
14774         * linum.el (linum-after-change, linum-after-scroll):
14775         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14777         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14779 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
14781         * epa-dired.el:
14782         * epa-mail.el:
14783         * epa-hook.el:
14784         * epa-file.el:
14785         * epa.el:
14786         * epg.el: Use lexical binding.
14788 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
14790         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14792         * textmodes/flyspell.el (flyspell-word): Recognize default
14793         dictionary case for flyspell-mark-duplications-exceptions.
14794         Use regexp matching for languages.
14795         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14796         default dictionary (Bug#7926).
14798 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
14800         * emacs-lisp/package.el (package--with-work-buffer):
14801         Recognize https URLs.
14803         * net/network-stream.el: Move from gnus/proto-stream.el.
14804         Change prefix to network-stream throughout.
14805         (open-protocol-stream): Merge into open-network-stream, leaving
14806         open-protocol-stream as an alias.  Handle nil BUFFER args.
14808         * subr.el (open-network-stream): Move to net/network-stream.el.
14810 2011-04-02  Glenn Morris  <rgm@gnu.org>
14812         * find-dired.el (find-exec-terminator): New option.
14813         (find-ls-option): Test for -ls support.
14814         (find-ls-subdir-switches): Test for -b in find-ls-option.
14815         (find-dired, find-grep-dired): Doc fixes.
14816         (find-dired): Use find-exec-terminator.
14818         * find-dired.el (find-ls-option, find-ls-subdir-switches)
14819         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14820         (find-name-arg): Remove purecopy.
14822         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14823         (grep-compute-defaults): Check for `-exec COMMAND +' support.
14824         Set grep-find-use-xargs, grep-find-command, and grep-find-template
14825         accordingly.  Don't add the null-device if not needed.
14827         * files.el (save-some-buffers): Doc fix.
14829 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
14831         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14833 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
14835         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14836         Use `dolist' rather than `mapcar'.
14838 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14840         Add lexical binding.
14842         * subr.el (apply-partially): Use new closures rather than CL.
14843         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14844         (dolist, dotimes): Use slightly different expansion for lexical code.
14845         (functionp): Move to C.
14846         (letrec): New macro.
14847         (with-wrapper-hook): Use it and apply-partially instead of CL.
14848         (eval-after-load): Preserve lexical-binding.
14849         (save-window-excursion, with-output-to-temp-buffer): Turn them
14850         into macros.
14852         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14854         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14855         than the arglist.
14856         (help-add-fundoc-usage): Don't add `Not documented'.
14857         (help-function-arglist): Handle closures, subroutines, and new
14858         byte-code-functions.
14859         (help-make-usage): Remove leading underscores.
14860         (describe-function-1): Handle closures.
14861         (describe-variable): Use special-variable-p for completion.
14863         * files.el (lexical-binding): Declare safe.
14865         * emacs-lisp/pcase.el: Don't use destructuring-bind.
14866         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
14867         (pcase): Add `let' pattern.
14868         Change memoization so it actually works.
14869         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14870         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14871         <let>: New case.
14873         * emacs-lisp/macroexp.el: Use lexical binding.
14874         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
14875         Don't convert ' to #' without checking that it's indeed quoting
14876         a lambda.
14878         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14879         Use eval-sexp-add-defvars.
14880         (eval-sexp-add-defvars): New fun.
14882         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14884         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14885         Don't autoload.
14886         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14887         than the internal `byte-compile-lambda'.
14888         (defmethod): Don't hide code under quotes.
14889         (eieio-defmethod): New `code' argument.
14891         * emacs-lisp/eieio-comp.el: Remove.
14893         * emacs-lisp/edebug.el (edebug-eval-defun)
14894         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14895         (edebug-toggle): Avoid `eval'.
14897         * emacs-lisp/disass.el (disassemble-internal): Handle new
14898         `closure' objects.
14899         (disassemble-1): Handle new byte codes.
14901         * emacs-lisp/cl.el (pushnew): Silence warning.
14903         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14904         (cl-byte-compile-throw): Remove.
14905         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14907         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14908         closures.
14910         * emacs-lisp/cconv.el: New file.
14912         * emacs-lisp/bytecomp.el: Use lexical binding instead of
14913         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
14914         (byte-compile-initial-macro-environment):
14915         Handle declare-function here.
14916         (byte-compile--lexical-environment): New var.
14917         (byte-stack-ref, byte-stack-set, byte-discardN)
14918         (byte-discardN-preserve-tos): New lap codes.
14919         (byte-interactive-p): Don't use any more.
14920         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14921         New macros.
14922         (byte-compile-lapcode): Use them and handle new lap codes.
14923         (byte-compile-obsolete): Remove.
14924         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14925         (byte-compile-arglist-warn): Check late def of inlinable funs.
14926         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14927         since they should have been expanded by now.
14928         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14929         (byte-compile-from-buffer): Remove unused second arg.
14930         (byte-compile-preprocess): New function.
14931         (byte-compile-toplevel-file-form): New function to distinguish
14932         file-form calls from outside from file-form calls from hunk-handlers.
14933         (byte-compile-file-form): Simplify.
14934         (byte-compile-file-form-defsubst): Remove.
14935         (byte-compile-file-form-defmumble): Simplify now that
14936         byte-compile-lambda always returns a byte-code-function.
14937         (byte-compile): Preprocess.
14938         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14939         Remove, not used any more.
14940         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14941         (byte-compile-make-args-desc): New funs.
14942         (byte-compile-lambda): Handle lexical functions.  Always return
14943         a byte-code-function.
14944         (byte-compile-reserved-constants): New var, to make up room for
14945         closed-over variables.
14946         (byte-compile-constants-vector): Obey it.
14947         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14948         (byte-compile-macroexpand-declare-function): New function.
14949         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14950         byte-code-functions.
14951         (byte-compile-form): Check obsolescence here.
14952         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14953         (byte-compile-variable-ref): Remove.
14954         (byte-compile-dynamic-variable-op): New fun.
14955         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14956         (byte-compile-variable-set): New funs.
14957         (byte-compile-discard): Add 2 args.
14958         (byte-compile-stack-ref, byte-compile-stack-set)
14959         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14960         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14961         macroexpand-all instead.
14962         (byte-compile-quote-form): Remove.
14963         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14964         (byte-compile-bind, byte-compile-unbind): New funs.
14965         (byte-compile-let): Handle let* and lexical binding.
14966         (byte-compile-let*): Remove.
14967         (byte-compile-catch, byte-compile-unwind-protect)
14968         (byte-compile-track-mouse, byte-compile-condition-case):
14969         Handle a new :fun-body form, used for lexical scoping.
14970         (byte-compile-save-window-excursion)
14971         (byte-compile-with-output-to-temp-buffer): Remove.
14972         (byte-compile-defun): Simplify.
14973         (byte-compile-stack-adjustment): New fun.
14974         (byte-compile-out): Use it.
14975         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14977         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14978         handler any more.
14980         * emacs-lisp/byte-opt.el: Use lexical binding.
14981         (byte-inline-lapcode): Remove (to bytecomp).
14982         (byte-compile-inline-expand): Pay attention to inlining to/from
14983         lexically bound code.
14984         (byte-compile-unfold-lambda): Don't handle byte-code-functions
14985         any more.
14986         (byte-optimize-form-code-walker): Don't handle save-window-excursion
14987         any more and don't call compiler-macros.
14988         (byte-compile-splice-in-already-compiled-code): Remove.
14989         (byte-code): Don't inline any more.
14990         (disassemble-offset): Receive `bytes' as argument rather than via
14991         dynamic scoping.
14992         (byte-compile-tag-number): Declare before first use.
14993         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14994         `return' even if make-spliceable.
14995         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14996         obsolete interactive-p.
14997         (byte-optimize-lapcode): Optimize new lap-codes.
14998         Don't trip up on new form of `byte-constant' lap code.
15000         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15002         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15004         * custom.el (custom-initialize-default, custom-declare-variable):
15005         Use `defvar'.
15007         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15008         New variables.
15009         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15010         (COMPILE_FIRST): Add macroexp and cconv.
15011         * makefile.w32-in: Mirror changes in Makefile.in.
15013         * vc/cvs-status.el:
15014         * vc/diff-mode.el:
15015         * vc/log-edit.el:
15016         * vc/log-view.el:
15017         * vc/smerge-mode.el:
15018         * textmodes/bibtex-style.el:
15019         * textmodes/css.el:
15020         * startup.el:
15021         * uniquify.el:
15022         * minibuffer.el:
15023         * newcomment.el:
15024         * reveal.el:
15025         * server.el:
15026         * mpc.el:
15027         * emacs-lisp/smie.el:
15028         * doc-view.el:
15029         * dired.el:
15030         * abbrev.el: Use lexical binding.
15032 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
15034         * info.el (info-display-manual): New function.
15036 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15038         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15040 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
15042         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15043         an entry for that server in rcirc-authinfo.  (Bug#8385)
15045 2011-03-31  Glenn Morris  <rgm@gnu.org>
15047         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15049         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15051 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
15053         * progmodes/python.el (python-default-interpreter)
15054         (python-python-command-args, python-jython-command-args)
15055         (python-which-shell, python-which-args, python-which-bufname)
15056         (python-file-queue, python-comint-output-filter-function)
15057         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15058         variables and functions.
15060 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15062         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15063         (completion-in-region-mode): New minor mode.
15064         (completion-in-region): Use it.
15065         (completion-in-region--data, completion-in-region-mode-map): New vars.
15066         (completion-in-region--postch): New function.
15067         (completion--capf-misbehave-funs, completion--capf-safe-funs):
15068         New vars.
15069         (completion--capf-wrapper): New function.
15070         (completion-at-point): Use it to track well-behavedness of
15071         hook functions.
15072         (completion-help-at-point): New command.
15074 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
15076         * vc/add-log.el (add-change-log-entry): Don't use whitespace
15077         syntax class to search for whitespace on a single line
15078         (Message-ID: <4D938140.4030905@redhat.com>).
15080 2011-03-30  Leo Liu  <sdl.web@gmail.com>
15082         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15083         New commands.
15084         (edit-abbrevs-map): Bind them here.
15085         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
15087 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
15089         * allout.el (allout-hide-by-annotation, allout-flag-region):
15090         Reduce possibility of overlay leakage by making them volatile.
15092         * allout-widgets.el (allout-widgets-tally): Define as nil so the
15093         hash is not shared between buffers.  Mode initialization is
15094         responsible for giving it a useful starting value.
15095         (allout-item-span): Reduce possibility of overlay leakage by
15096         making them volatile.
15097         (allout-widgets-count-buttons-in-region): Add diagnostic function
15098         for tracking down button overlay leaks.
15100 2011-03-29  Leo Liu  <sdl.web@gmail.com>
15102         * ido.el (ido-read-internal): Use the default history var
15103         minibuffer-history if no HISTORY is specified.
15105 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
15107         * net/imap.el (imap-shell-open, imap-process-connection-type):
15108         Use imap-process-connection-type for 'shell' streams as well as
15109         Kerberos, SSL, other subprocesses.
15111 2011-03-28  Leo Liu  <sdl.web@gmail.com>
15113         * abbrev.el (abbrev-table-empty-p): New function.
15114         (prepare-abbrev-list-buffer): Place empty abbrev tables after
15115         nonempty ones.  (Bug#5937)
15117 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
15119         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15121 2011-03-27  Leo Liu  <sdl.web@gmail.com>
15123         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15124         for foreground and background colors.
15125         (ansi-color-make-color-map): Adapt.
15127 2011-03-25  Leo Liu  <sdl.web@gmail.com>
15129         * midnight.el (midnight-time-float): Remove.  Note it calculates
15130         the microsecond component incorrectly and seconds-to-time does the
15131         same job.
15132         Remove redundant (require 'timer).
15134         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15135         (ido-completions): Remove unused arguments.  (Bug#8329)
15137 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15139         * minibuffer.el (completion--flush-all-sorted-completions):
15140         Remove itself from hook.
15141         (completion-at-point): Let the functions perform the completion
15142         immediately and return nil or t.
15143         * comint.el (comint-dynamic-complete-functions): Now identical to
15144         completion-at-point-functions.
15145         (comint-dynamic-list-input-ring): Remove unused var `index'.
15146         (comint--match-partial-filename, comint--unquote&expand-filename):
15147         New funs, split from comint-match-partial-filename.
15148         (comint-dynamic-complete): Use completion-at-point.
15149         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15151 2011-03-24  Drew Adams  <drew.adams@oracle.com>
15153         * thingatpt.el: Support `defun'.
15155 2011-03-23  Leo Liu  <sdl.web@gmail.com>
15157         * abbrevlist.el: Move to obsolete/abbrevlist.el.
15159         * help-mode.el (help-mode-finish): Tweak regexp.
15161 2011-03-23  Glenn Morris  <rgm@gnu.org>
15163         * eshell/esh-opt.el (eshell-eval-using-options):
15164         Do not bind unused local variable `eshell-option-stub'.
15166         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15168 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
15170         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15171         keymap variable in `with-no-warnings' to avoid a warning when the
15172         keymap has been already `defconst'ed.
15174 2011-03-22  Leo Liu  <sdl.web@gmail.com>
15176         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15177         encode all chars in abbrevs; otherwise use emacs-mule or
15178         utf-8-emacs.  (Bug#8308)
15180 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
15182         * simple.el (backward-delete-char-untabify):
15183         Avoid warning about using `delete-backward-char'.
15185         * image.el (image-type-file-name-regexps): Make it variable.
15186         `imagemagick-register-types' modifies it, and the user may want
15187         to add new extensions for known image types.
15188         (imagemagick-register-types): Throw error if not using ImageMagick.
15190 2011-03-22  Leo Liu  <sdl.web@gmail.com>
15192         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15193         located before rcirc-prompt-end-marker.
15194         (rcirc-complete): Error if point is not after rcirc prompt.
15195         Handle the case when table is nil.
15196         (rcirc-user-authenticated): Define to fix compiler warning.
15198 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
15200         * custom.el (custom--inhibit-theme-enable): Make it affect only
15201         custom-theme-set-variables and custom-theme-set-faces.
15202         (provide-theme): Ignore custom--inhibit-theme-enable.
15203         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15204         (custom-enabling-themes): Delete variable.
15205         (enable-theme): Accept only loaded themes as arguments.
15206         Ignore the special custom-enabled-themes variable.
15207         (custom-enabled-themes): Forbid themes from setting this.
15208         Eliminate use of custom-enabling-themes.
15209         (custom-push-theme): Quote "changed" custom var entry.
15211 2011-03-21  Leo Liu  <sdl.web@gmail.com>
15213         * ido.el (ido-read-internal): Add ido-selected to history instead
15214         of user input.
15216 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15218         * subr.el (deferred-action-list, deferred-action-function):
15219         Mark obsolete.
15221 2011-03-21  Leo Liu  <sdl.web@gmail.com>
15223         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15224         change on 2011-02-13 (bug#8309).
15226         * minibuffer.el (read-file-name-function): Change default value.
15227         (read-file-name--defaults): Rename from read-file-name-defaults.
15228         (read-file-name-default): Rename from read-file-name.
15229         (read-file-name): Call read-file-name-function.
15231 2011-03-21  Glenn Morris  <rgm@gnu.org>
15233         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15234         Doc fixes.
15236 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
15238         * cus-theme.el: Add missing provide statement.
15239         (customize-create-theme): Extract theme value correctly.
15240         (custom-theme-visit-theme): Autoload.
15241         (customize-create-theme): Prompt before inserting default faces.
15243 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
15245         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15246         units and musical notes.
15248 2011-03-20  Leo Liu  <sdl.web@gmail.com>
15250         * ido.el (ido-read-internal): Use completing-read-default.
15251         (ido-completing-read): Fix compatibility with completing-read.
15253 2011-03-20  Christian Ohler  <ohler@gnu.org>
15255         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15256         (ert-delete-all-tests): Use `called-interactively-p' rather than
15257         `interactive-p'.
15258         (ert--make-xrefs-region): Respect END.
15260 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
15262         * dired-aux.el (dired-create-directory): Signal an error if the
15263         directory already exists (Bug#8246).
15265         * facemenu.el (list-colors-display): Call list-faces-display
15266         inside with-help-window.
15267         (list-colors-print): Use display property to align the final
15268         column, instead of checking window-width.
15270 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
15272         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15273         windows-nt systems.
15274         (emerge-protect-metachars): Quote correctly for ms-dos and
15275         windows-nt systems.
15277 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
15279         * info.el (info-initialize): Replace all uses of `:' with
15280         path-separator for compatibility with non-Unix systems.
15281         Cache quoting of path-separator.  (Bug#8258)
15283 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
15285         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15286         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15287         (mouse-avoidance-mode): Fix typos in docstrings.
15289 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
15291         * startup.el (package-subdirectory-regexp): Move from package.el.
15292         Omit \\` and \\', and let callers add them.
15294         * emacs-lisp/package.el (package-strip-version)
15295         (package-load-all-descriptors): Add \\` and \\' to
15296         package-subdirectory-regexp before using it.
15297         (package-untar-buffer): New arg DIR; ensure that file untars only
15298         into this expected directory.  Remove superfluous delete-region.
15299         (package-unpack): Caller changed.
15300         (package-tar-file-info): Use package-subdirectory-regexp.
15302 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15304         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15305         diff-mode-shared-map (bug#8284).
15306         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15308 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15310         * calendar/time-date.el (format-seconds): Use assoc instead of
15311         assoc-string, since assoc-string doesn't exist in XEmacs.
15313 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
15315         * custom.el (custom-known-themes): Reflow docstring.
15316         (custom-theme-load-path): Fix typo in docstring.
15317         (load-theme): Fix typo in error message.
15318         (custom-available-themes, custom-variable-theme-value):
15319         Use `let', not `let*'.
15321 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
15323         * calc/README: Mention inclusion of musical notes.
15325         * calc/calc-units.el (calc-lu-quant): Rename from
15326         `calc-logunits-quantity'.
15327         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15328         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15329         (calc-db): Rename from `calc-dblevel'.
15330         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15331         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15332         (calc-np): Rename from `calc-nplevel'.
15333         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15334         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15335         (calc-lu-plus): Rename from `calc-logunits-add'.
15336         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15337         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15338         (calc-lu-minus): Rename from `calc-logunits-sub'.
15339         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15340         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15341         (calc-lu-times): Rename from `calc-logunits-mul'.
15342         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15343         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15344         (calc-lu-divide): Rename from `calc-logunits-div'.
15345         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15346         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15348         * calc/calc-ext.el (calc-init-extensions): Update the names of the
15349         functions being autoloaded.
15351         * calc/calc.el (calc-lu-power-reference): Rename from
15352         `calc-logunits-power-reference'.
15353         (calc-lu-field-reference): Rename from
15354         `calc-logunits-field-reference'.
15356         * calc/calc-help.el (calc-l-prefix-help):
15357         Mention musical note functions.
15359 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15361         * minibuffer.el (completion-all-sorted-completions):
15362         Use :completion-cycle-penalty text property if present.
15364 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
15366         * allout.el (allout-yank-processing): Adjust for new rebulleting
15367         regime so bullet being yanked is used without prompting the user
15368         for a choice.
15370 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
15372         * startup.el (command-line): Warn the user that _emacs is deprecated.
15374 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
15376         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15377         (delphi-verbose, delphi-comment-face, delphi-string-face)
15378         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15379         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15380         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15381         (delphi-new-comment-line, delphi-font-lock-defaults)
15382         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15383         Fix typos in docstrings.
15385 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
15387         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15388         Invert the roles of character and string values for INSTEAD, so a
15389         string is used for the more common case of a defaulting prompt.
15391 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15393         * progmodes/ruby-mode.el (ruby-backward-sexp):
15394         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15395         * play/gamegrid.el (gamegrid-make-face):
15396         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15397         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15398         * notifications.el (notifications-notify):
15399         * net/xesam.el (xesam-search-engines):
15400         * net/quickurl.el (quickurl-list-insert):
15401         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15403 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
15405         * startup.el (command-line): Update package subdirectory regexp.
15407 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15409         * allout.el (allout-abbreviate-flattened-numbering)
15410         (allout-mode-deactivate-hook): Fix up obsolescence "date".
15412         * subr.el (read-char-choice): Only show the cursor after the prompt,
15413         not after the answer.
15415 2011-03-15  Kevin Ryde  <user42@zip.com.au>
15417         * help-fns.el (variable-at-point): Skip leading quotes, if any
15418         (bug#8253).
15420 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15422         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15423         warning message.
15425 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
15427         * shell.el (shell): When called interactively, offer to change the
15428         shell file name on remote hosts.
15430 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
15432         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15433         integration for LDAP parameters.  The host, base, user or binddn,
15434         and secret tokens can be specified in a netrc file, for instance.
15435         This is optional because an `auth-source' parameter must be
15436         specified in the search attributes.
15438 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
15440         * help.el (describe-mode): Link to the mode's definition (bug#8185).
15442 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15444         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15445         into declaration.  Remove redundant and harmful binding.
15447 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
15449         * files.el (file-ownership-preserved-p): Pass `integer' as an
15450         explicit 2nd argument to `file-attributes'.  If the file's owner
15451         is the Administrators group on Windows, and the current user is
15452         Administrator, consider that a match.
15454         * server.el (server-ensure-safe-dir): Consider server directory
15455         safe on MS-Windows if its owner is the Administrators group while
15456         the current Emacs user is Administrator.  Use `=' to compare
15457         numerical UIDs, since they could be integers or floats.
15459 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
15461         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15463 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
15465         Sync with Tramp 2.2.1.
15467         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15469         * net/trampver.el: Update release number.
15471 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15473         * progmodes/compile.el (compilation--previous-directory): Fix up
15474         various nil/dead-marker mismatches (bug#8014).
15475         (compilation-directory-properties, compilation-error-properties):
15476         Don't call it at a position past the one we're about to change.
15478         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15479         Disable obsolescence warnings in the file that declares it.
15481 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
15483         * allout-widgets.el (allout-widgets-tally):
15484         Initialize allout-widgets-tally as a hash table rather than nil to
15485         prevent mode-line redisplay warnings.  Also, clarify the module
15486         description and fix a comment typo.
15488 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
15490         * help-fns.el (describe-variable): Don't complete keywords.
15491         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15493 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
15495         * emacs-lisp/package.el (package-version-join): Impose a standard
15496         string representation for pre/alpha/beta version lists.
15497         (package-unpack-single): Standardize the directory name by passing
15498         it through package-version-join.
15499         (package-strip-rcs-id): Accept any version string that does not
15500         signal an error in version-to-list.
15502 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
15504         * simple.el (delete-trailing-whitespace): Return nil for the
15505         benefit of `write-file-functions'.
15507 2011-03-10  Glenn Morris  <rgm@gnu.org>
15509         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15511         * vc/vc-git.el (vc-git-program): New option.
15512         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15513         (vc-git--call): Use it.
15515         * eshell/esh-util.el (eshell-condition-case): Doc fix.
15517         * cus-edit.el (Custom-newline): If no button at point, look
15518         for a subgroup button at start-of-line.  (Bug#2298)
15520         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15522 2011-03-10  Julien Danjou  <julien@danjou.info>
15524         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15525         `cursor-type' is nil.
15527 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
15529         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15531 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
15533         * allout.el: Change so yank of distinctive-bullet items
15534         preserves the existing header prefix, rebulleting it if necessary,
15535         rather than replacing it.  This is necessary for proper operation
15536         of cooperative addons like allout-widgets.
15537         (allout-make-topic-prefix, allout-rebullet-heading):
15538         Change SOLICIT arg to INSTEAD, and interpret additionally a string
15539         value as alternate bullet to be used, instead of prompting the user
15540         for a bullet character.
15542 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
15544         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15545         Do not use `tramp-file-name-port', because this returns also
15546         `tramp-default-port'.
15548 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
15550         * net/rcirc.el (rcirc-handler-001): Remove useless
15551         with-rcirc-process-buffer.
15552         (rcirc-check-auth-status): Swap arguments to string-match.
15554 2011-03-09  Glenn Morris  <rgm@gnu.org>
15556         * shell.el (shell-mode):
15557         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
15559         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15560         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
15562 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
15564         * emacs-lisp/package.el (package-refresh-contents)
15565         (package-menu-execute): Use condition-case-no-debug.
15567 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
15569         * simple.el (shell-command-to-string): Use `process-file'.
15571         * emacs-lisp/package.el (package-tar-file-info): Handle also
15572         remote files.
15574         * emacs-lisp/package-x.el (package-upload-buffer-internal):
15575         Use `equal' for upload base check.
15577 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
15579         * textmodes/texinfo.el (texinfo-environments):
15580         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
15582 2011-03-08  Glenn Morris  <rgm@gnu.org>
15584         * cus-start.el (cursor-in-non-selected-windows):
15585         Fix :set quoting oddness.  (Bug#8192)
15587         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15588         in some setf expressions.  (Bug#2159)
15590 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
15592         * custom.el (custom-available-themes): Return themes in
15593         alphabetical order.
15595 See ChangeLog.15 for earlier changes.
15597 ;; Local Variables:
15598 ;; coding: utf-8
15599 ;; End:
15601   Copyright (C) 2011-2012  Free Software Foundation, Inc.
15603   This file is part of GNU Emacs.
15605   GNU Emacs is free software: you can redistribute it and/or modify
15606   it under the terms of the GNU General Public License as published by
15607   the Free Software Foundation, either version 3 of the License, or
15608   (at your option) any later version.
15610   GNU Emacs is distributed in the hope that it will be useful,
15611   but WITHOUT ANY WARRANTY; without even the implied warranty of
15612   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15613   GNU General Public License for more details.
15615   You should have received a copy of the GNU General Public License
15616   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.