* minibuffer.el (read-file-name-default): Revert the patch from 2012-06-17.
[emacs/old-mirror.git] / lisp / ChangeLog
blob744d238c68c493b9ecee5d13bc1c046c104ec3c0
1 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
3         * minibuffer.el (read-file-name-default): Revert the patch from
4         2012-06-17.
6 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9         (pcase--u1, pcase--q1): Don't use apply-partially.
11 2012-06-18  Glenn Morris  <rgm@gnu.org>
13         * progmodes/python.el (python-proc, python-buffer)
14         (python-send-receive, python-send-string): Fix obsolete versions.
16 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
18         * window.el (special-display-p): Completely remove stringp
19         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
21 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
23         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
25         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
27         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
28         * net/tramp-sh.el (tramp-maybe-open-connection):
29         Throw if `non-essential' is non-nil.
31 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
33         * window.el (special-display-p): Signal an error if BUFFER-NAME
34         is not a string (Bug#11713).
36 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
38         * progmodes/python.el (python-info-beginning-of-backslash):
39         Rename from python-info-beginning-of-backlash, as a spelling fix.
41 2012-06-17  Chong Yidong  <cyd@gnu.org>
43         * term.el (term-emulate-terminal): If term-check-size is called,
44         move point to the process mark without resetting point (Bug#4635).
46 2012-06-17  Glenn Morris  <rgm@gnu.org>
48         * international/mule-cmds.el (mule-menu-keymap)
49         (set-language-environment, set-locale-environment): Doc tweaks.
51 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
53         * cus-face.el (custom-face-attributes): Add wave-style underline
54         attribute.
55         * faces.el (set-face-attribute): Update docstring to describe
56         wave-style underline attribute.
58 2012-06-16  Chong Yidong  <cyd@gnu.org>
60         * term/xterm.el (terminal-init-xterm): Discard input before
61         querying background mode (Bug#10959).
63 2012-06-16  Stefan Merten  <smerten@oekonux.de>
65         * textmodes/rst.el: Added and corrected some comments.
66         (rst-re-alist-def): Improve symbol syntax.
67         (rst-mode-syntax-table): Correct syntax entries.
68         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
69         (rst-official-version, rst-official-cvs-rev): Update version
70         information.
72 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
74         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
75         in revno:88864.
77 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
79         * progmodes/python.el: New python.el merge.
80         (python-guess-indent): Obsolete var.
81         (python-indent-guess-indent-offset): New defcustom.
82         (python-indent): Obsolete var.
83         (python-indent-offset): New defcustom.
84         (python-python-command, python-jython-command): Delete var.
85         (python-shell-interpreter): New defcustom.
86         (python-pdbtrack-do-tracking-p): Delete var.
87         (python-pdbtrack-activate): New defcustom.
88         (python-use-skeletons): Obsolete var.
89         (python-skeleton-autoinsert): New defcustom.
90         (inferior-python-filter-regexp, python-continuation-offset)
91         (python-honour-comment-indentation, python-indent-string-contents)
92         (python-jython-packages, python-mode-hook)
93         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
94         (python-shell-prompt-alist)
95         (python-source-modes): Delete defcustoms.
96         (python-check-buffer-name, python-eldoc-setup-code)
97         (python-eldoc-string-code, python-ffap-setup-code)
98         (python-ffap-string-code, python-fill-comment-function)
99         (python-fill-decorator-function, python-fill-paren-function)
100         (python-fill-string-function, python-imenu-include-defun-type)
101         (python-imenu-make-tree, python-imenu-subtree-root-label)
102         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
103         (python-shell-compilation-regexp-alist)
104         (python-shell-completion-module-string-code)
105         (python-shell-completion-pdb-string-code)
106         (python-shell-completion-setup-code)
107         (python-shell-completion-string-code)
108         (python-shell-enable-font-lock, python-shell-exec-path)
109         (python-shell-extra-pythonpaths)
110         (python-shell-internal-buffer-name, python-shell-interpreter-args)
111         (python-shell-process-environment)
112         (python-shell-prompt-block-regexp)
113         (python-shell-prompt-output-regexp)
114         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
115         (python-shell-send-setup-max-wait, python-shell-setup-codes)
116         (python-shell-virtualenv-path): New defcustoms.
117         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
118         (inferior-python-mode-syntax-table, python--prompt-regexp)
119         (python-buffer, python-command python-python-command)
120         (python-default-template, python-imports, python-indent-index)
121         (python-indent-list, python-indent-list-length)
122         (python-mode-running, python-pdbtrack-is-tracking-p)
123         (python-preoutput-continuation, python-preoutput-leftover)
124         (python-preoutput-result, python-preoutput-skip-next-prompt)
125         (python-prev-dir/file, python-recursing)
126         (python-saved-check-command, python-version-checked)
127         (python-which-func-length-limit)
128         (view-return-to-alist): Delete vars.
129         (python-check-custom-command, python-dotty-syntax-table)
130         (python-imenu-index-alist, python-indent-current-level)
131         (python-indent-dedenters, python-indent-levels)
132         (python-nav-beginning-of-defun-regexp)
133         (python-nav-list-defun-positions-cache)
134         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
135         (python-shell-internal-buffer)
136         (python-skeleton-available): New vars.
137         (def-python-skeleton): Delete macro.
138         (python-skeleton-define): New macro.
139         (python-define-auxiliary-skeleton, python-rx): New macros.
140         (python-insert-class): Delete command.
141         (python-skeleton-class): New command.
142         (python-insert-def): Delete command.
143         (python-skeleton-def): New command.
144         (python-insert-for): Delete command.
145         (python-skeleton-for): New command.
146         (python-insert-if): Delete command.
147         (python-skeleton-if): New command.
148         (python-insert-try/except, python-insert-try/finally): Delete commands.
149         (python-skeleton-try): New command.
150         (python-insert-while): Delete command.
151         (python-skeleton-while): New command.
152         (python-backspace): Delete command.
153         (python-indent-dedent-line-backspace): New command.
154         (python-electric-colon): Delete command.
155         (python-indent-electric-colon): New command.
156         (python-guess-indent): Delete command.
157         (python-indent-guess-indent-offset): New command.
158         (python-shift-left): Delete command.
159         (python-indent-shift-left): New command.
160         (python-shift-right): Delete command.
161         (python-indent-shift-right): New command.
162         (python-find-function): Delete command.
163         (python-nav-jump-to-defun): New command.
164         (python-next-statement): Delete command.
165         (python-nav-forward-sentence): New command.
166         (python-previous-statement): Delete command.
167         (python-nav-backward-sentence): New command.
168         (python-fill-paragraph): Delete command.
169         (python-fill-paragraph-function): New command.
170         (python-send-buffer): Delete command.
171         (python-shell-send-buffer): New command.
172         (python-send-defun): Delete command.
173         (python-shell-send-defun): New command.
174         (python-send-region, python-send-region-and-go): Delete commands.
175         (python-shell-send-region)
176         (python-shell-switch-to-shell): New commands.
177         (python-send-string): Delete command.
178         (python-shell-send-string): New command.
179         (python-switch-to-python): Delete command.
180         (python-shell-switch-to-shell): New command.
181         (python-describe-symbol): Delete command.
182         (python-eldoc-at-point): New command.
183         (python--set-prompt-regexp, python-args-to-list)
184         (python-after-info-look, python-check-version)
185         (python-check-comint-prompt, python-find-imports)
186         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
187         (python-unload-function, python-expand-template)
188         (python-maybe-jython, python-preoutput-filter)
189         (python-pdbtrack-get-source-buffer)
190         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
191         (python-pdbtrack-toggle-stack-tracking)
192         (python-pdbtrack-track-stack-file, python-initial-text)
193         (python-first-word, python-comment-line-p, python-send-command)
194         (python-setup-brm, python-sentinel, python-set-proc)
195         (python-skip-out, python-input-filter, python-outdent-p)
196         (python-outline-level, python-backslash-continuation-line-p)
197         (python-end-of-block, python-end-of-statement, python-mark-block)
198         (python-beginning-of-block, python-beginning-of-statement)
199         (python-blank-line-p, python-beginning-of-string)
200         (python-open-block-statement-p): Delete functions.
201         (python-indent-line, python-indent-line-1): Delete functions.
202         (python-indent-line): New function.
203         (python-indentation-levels): Delete function.
204         (python-indent-calculate-levels): New function.
205         (python-proc): Delete function.
206         (python-shell-get-process): New function.
207         (python-send-receive): Delete function.
208         (python-shell-send-string-no-output): New function.
209         (python-module-path): Delete function.
210         (python-ffap-module-path): New function.
211         (python-completion-at-point)
212         (python-symbol-completions): Delete functions.
213         (python-completion-complete-at-point): New function.
214         (python-load-file): Delete function.
215         (python-shell-send-file): New function.
216         (python-calculate-indentation): Delete function.
217         (python-indent-calculate-indentation): New function.
218         (python-skip-comments/blanks): Delete function.
219         (python-util-forward-comment): New function.
220         (python-continuation-line-p): Delete function.
221         (python-info-continuation-line-p): New function.
222         (python-which-func, python-current-defun): Delete function.
223         (python-info-current-defun): New function.
224         (python-beginning-of-defun): Delete function.
225         (python-nav-beginning-of-defun): New function.
226         (python-close-block-statement-p)
227         (python-block-end-p): Delete function.
228         (python-info-closing-block): New function.
229         (python-comint-output-filter-function)
230         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
231         (python-fill-comment, python-fill-decorator, python-fill-paren)
232         (python-fill-string, python-imenu-make-element-tree)
233         (python-imenu-make-tree, python-imenu-tree-assoc)
234         (python-indent-context, python-indent-dedent-line)
235         (python-indent-line-function)
236         (python-indent-post-self-insert-function)
237         (python-indent-toggle-levels)
238         (python-info-assignment-continuation-line-p)
239         (python-info-beginning-of-backlash)
240         (python-info-block-continuation-line-p)
241         (python-info-closing-block-message)
242         (python-info-line-ends-backslash-p)
243         (python-info-looking-at-beginning-of-defun)
244         (python-info-ppss-context, python-info-ppss-context-type)
245         (python-nav-list-defun-positions, python-nav-read-defun)
246         (python-nav-sentence-end, python-nav-sentence-start)
247         (python-pdbtrack-comint-output-filter-function)
248         (python-pdbtrack-set-tracked-buffer)
249         (python-shell-calculate-exec-path)
250         (python-shell-calculate-process-environment)
251         (python-shell-completion--do-completion-at-point)
252         (python-shell-completion--get-completions)
253         (python-shell-completion-complete-at-point)
254         (python-shell-completion-complete-or-indent)
255         (python-shell-get-or-create-process)
256         (python-shell-get-process-name)
257         (python-shell-internal-get-or-create-process)
258         (python-shell-internal-get-process-name)
259         (python-shell-internal-send-string, python-shell-make-comint)
260         (python-shell-parse-command, python-shell-send-setup-code)
261         (python-skeleton-add-menu-items)
262         (python-util-clone-local-variables, python-util-position)
263         (run-python-internal, python-indentation-levels)
264         (python-nav-beginning-of-defun)
265         (python-completion-complete-at-point): New functions.
266         (run-python): Change arguments.  New API requirements.
268 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
270         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
271         (bug#11649).
273         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
274         (macroexp--expand-all): Use it.
276         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
277         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
278         Use `cl-function' instead.
280 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
282         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
283         Suggested by Stefan Monnier while discussing bug#11657.
285 2012-06-14  Sam Steingold  <sds@gnu.org>
287         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
289 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
291         * play/doctor.el (doctor-doc): Remove parameter and use
292         doctor-sent instead of sent.
293         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
295 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
297         * files.el: Require cl-lib.
298         (file-name-non-special): Replace case -> cl-case.
300         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
302         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
303         mapping from #' to function*.
305 2012-06-13  Chong Yidong  <cyd@gnu.org>
307         * mouse.el (mouse-drag-track): Do not set the mark if the user
308         releases the mouse without selecting anything (Bug#11588).
310 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
312         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
313         as well (bug#11646).
315         * loadup.el: Count byte-code functions as well.
317         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
318         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
320         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
321         (bug#11649).  Add cl-defun and cl-defmacro.
323 2012-06-13  Drew Adams  <drew.adams@oracle.com>
325         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
326         Fix last change.
328 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
330         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
331         Otherwise, it blocks in batch mode.
333 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
335         * help-mode.el (bookmark-make-record-default): Declare.
337 2012-06-13  Chong Yidong  <cyd@gnu.org>
339         * emacs-lisp/package.el (list-packages): Compute a list of
340         packages that are newly-available since the last list-packages
341         invocation.
342         (package-menu--new-package-list): New var.
343         (package-menu--generate, package-menu--print-info)
344         (package-menu--status-predicate, package-menu-mark-install):
345         Handle new status label "new".
347 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
349         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
350         conversion to backquotes.
352 2012-06-12  Chong Yidong  <cyd@gnu.org>
354         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
355         Rename from gud-inhibit-global-bindings.
357         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
359         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
360         hook from nxml-glyph-set-hook.
362         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
363         declaration.
365         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
367         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
368         Convert to defcustom.
370 2012-06-12  Drew Adams  <drew.adams@oracle.com>
372         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
373         New functions.
374         (help-mode): Use them.
376 2012-06-11  Glenn Morris  <rgm@gnu.org>
378         * progmodes/fortran.el (fortran-font-lock-keywords-3):
379         Use preprocessor face for directives.
380         (fortran-directive-re): Doc fix.
382 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
384         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
385         conversion to backquotes (bug#11652).
387         Fix compiler-expansion of CL's cXXr functions (bug#11673).
388         * emacs-lisp/cl-lib.el (cl--defalias): New function.
389         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
390         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
391         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
392         (cl-ninth, cl-tenth): Mark them as inlinable.
393         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
394         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
395         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
396         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
397         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
398         (cl-list*, cl-adjoin): Don't put an autoload manually.
399         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
400         (cl--compiler-macro-list*): Add autoload cookie.
401         (cl--compiler-macro-cXXr): New function.
403         * help-fns.el (help-fns--compiler-macro): New function extracted from
404         describe-function-1; follow aliases and use `compiler-macro' property.
405         (describe-function-1): Use it.
407 2012-06-11  Chong Yidong  <cyd@gnu.org>
409         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
410         is uninstalled, if imagemagick is installed.
412 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
414         * emacs-lisp/cl-lib.el: Use lexical-binding.
415         (cl-map-extents, cl-maclisp-member): Remove.
416         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
417         (cl--set-substring, cl--block-wrapper, cl--block-throw)
418         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
419         * emacs-lisp/cl-extra.el: Use lexical-binding.
420         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
421         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
422         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
423         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
424         * emacs-lisp/cl-seq.el: Use lexical-binding.
425         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
426         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
427         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
428         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
429         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
430         CL's internals.
432 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
434         Sync with Tramp 2.2.6-pre.
436         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
437         `print-length' and `print-level' to nil, in order to avoid
438         truncation.  Reported by Christopher Schmidt
439         <christopher@ristopher.com>.
441         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
443         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
444         New defmacro.
445         (tramp-compat-copy-directory): Add optional argument
446         COPY-CONTENTS.  It is not handled yet.
448         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
449         (tramp-ftp-file-name-p): Simplify.
451         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
452         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
453         connection vector.
455         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
456         (tramp-methods): Do not use `tramp-password-end-of-line'.
457         (tramp-completion-function-alist-putty): Handle UNIX case.
458         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
459         (tramp-do-file-attributes-with-stat)
460         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
461         gid as real numbers.  They could run out of integer range on cygwin.
462         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
463         (tramp-sh-handle-expand-file-name): Handle hops.
464         (tramp-open-connection-setup-interactive-shell):
465         Use `tramp-cleanup'.  Move check for busyboxes ...
466         (tramp-find-shell): ... here.  Simplify implementation.
467         Set "remote-shell" property also for alternative shells.
468         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
469         If failing, a regular file would be written otherwise.
470         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
471         (tramp-find-inline-encoding): Cache the coding commands in the
472         process cache.  Apply test command on the remote side, if defined.
473         (tramp-find-inline-compress): Cache the compress commands in the
474         process cache.
475         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
476         when requested.  Handle hops.
477         (tramp-current-connection): New defvar.
478         (tramp-maybe-open-connection): Use `tramp-cleanup'.
479         Throw `suppress', if there was a failed connection shortly before.
480         Handle user interrupt.  (Bug#10187)
481         (tramp-get-inline-compress, tramp-get-inline-coding):
482         Read connection properties from the process cache.
484         * net/tramp-smb.el (tramp-smb-server-version)
485         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
486         New defconsts.
487         (tramp-smb-prompt): Extend for powershell prompt.
488         (tramp-smb-file-name-handler-alist): Add handlers for
489         `process-file', `shell-command' and `start-file-process'.
490         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
491         (tramp-smb-winexe-shell-command-switch): New defcustoms.
492         (tramp-smb-file-name-p): Simplify.
493         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
494         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
495         (tramp-smb-shell-quote-argument): New defuns.
496         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
497         Implement using "tar".  By this, time-stamps are preserved.
498         (tramp-smb-handle-copy-file): Handle also the case of directories.
499         (tramp-smb-do-file-attributes-with-stat)
500         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
501         Use `tramp-get-connection-buffer').
502         (tramp-smb-handle-rename-file): Use "rename", when source and
503         target are on the same share.
504         (tramp-smb-maybe-open-connection): Handle wrong passwords.
505         Use `tramp-smb-server-version'.
506         (tramp-smb-wait-for-output): Remove prompt.
508         * net/tramp.el (top): Require 'cl.
509         (tramp-methods, tramp-rsh-end-of-line):
510         Remove `tramp-password-end-of-line' from docstring.
511         (tramp-save-ad-hoc-proxies): New defcustom.
512         (tramp-completion-function-alist): Adapt docstring.
513         (tramp-default-password-end-of-line): Remove defcustom.
514         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
515         (tramp-user-regexp, tramp-file-name-regexp-unified)
516         (tramp-file-name-regexp-url): Extend regexp by hop separator.
517         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
518         (tramp-remote-file-name-spec-regexp): New defconst.
519         (tramp-file-name-structure): Extend structure for hops.
520         (tramp-get-method-parameter): Move up.
521         (tramp-file-name-p, tramp-dissect-file-name)
522         (with-parsed-tramp-file-name): Handle hops.
523         (tramp-file-name-hop): New defun.
524         (tramp-make-tramp-file-name): New optional arg HOP.
525         (tramp-message-show-progress-reporter-message): New defvar.
526         (tramp-with-progress-reporter): Use it.  We cannot use
527         `tramp-message-show-message' here, because this suppresses also
528         error buffers.
529         (tramp-error-with-buffer): Suppress buffer view, if
530         `tramp-message-show-message' is nil.
531         Use `tramp-get-connection-buffer'.
532         (tramp-cleanup): New defun.
533         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
534         (tramp-file-name-handler): If `debug-on-error' is set, propagate
535         an error unchanged.
536         (tramp-completion-handle-file-name-all-completions): Handle hops.
537         Fix an error when called from ido.
538         (tramp-completion-dissect-file-name): Use better local variable
539         name.  Add hop to the vector.
540         (tramp-handle-insert-file-contents): Use progress-reporter for the
541         whole scenario.
542         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
543         to `t'.
544         (tramp-check-for-regexp): Simplify search.
545         (tramp-enter-password): Remove it.  Move implementation ...
546         (tramp-action-password): ... here.
547         (tramp-mode-string-to-int, tramp-local-host-p)
548         (tramp-make-tramp-temp-file, tramp-read-passwd)
549         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
550         Set tramp-autoload cookie.
552         * net/trampver.el: Update release number.
554 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
555             Michael Albinus  <michael.albinus@gmx.de>
557         * net/tramp.el (tramp-set-completion-function): Fix docstring.
558         (tramp-parse-group, tramp-parse-file)
559         (tramp-parse-shostkeys-sknownhosts): New defuns.
560         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
561         (tramp-parse-shosts-group, tramp-parse-sconfig)
562         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
563         (tramp-parse-sknownhosts, tramp-parse-hosts)
564         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
565         Use them.
566         (tramp-parse-passwd-group, tramp-parse-netrc-group)
567         (tramp-parse-putty-group): Don't narrow.
568         (tramp-parse-putty): Make a loop.
569         (tramp-file-name-handler): Catch the `suppress' signal.
571 2012-06-11  Chong Yidong  <cyd@gnu.org>
573         * image.el (imagemagick-register-types): Put the ImageMagick entry
574         at the end of image-type-file-name-regexps.
576 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
578         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
579         (pcase, pcase-let*, pcase-dolist): Use them.
581 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
583         * emacs-lisp/pcase.el (pcase--let*): New function.
584         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
585         (pcase--expand): Use macroexp-let².
587 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
589         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
590         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
591         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
592         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
593         * emacs-lisp/derived.el: Use pcase instead of `cl'.
594         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
596 2012-06-10  Glenn Morris  <rgm@gnu.org>
598         * mail/rmail.el (rmail-yank-current-message): Leave point at
599         correct position.  (Bug#11660)
601 2012-06-10  Chong Yidong  <cyd@gnu.org>
603         * allout-widgets.el: Fix code header.
605 2012-06-10  Chong Yidong  <cyd@gnu.org>
607         * cus-edit.el (customize-changed-options-previous-release):
608         Bump to 24.1.
610 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
612         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
614 2012-06-09  Chong Yidong  <cyd@gnu.org>
616         * ebuff-menu.el (electric-buffer-list): Preserve header line.
618 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
620         * window.el (special-display-popup-frame): Don't use
621         window--display-buffer (Bug#11651).
623 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
625         Fix parallel builds: make sure loaddefs.el is not being written
626         while Lisp files are compiled.
627         (compile): Don't depend on 'mh-autoloads'.
628         (compile-CMD, compile-SH): Depend on 'autoloads'.
629         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
631         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
633 2012-06-09  Chong Yidong  <cyd@gnu.org>
635         * face-remap.el (face-remap-add-relative, face-remap-set-base)
636         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
637         Doc fixes (Bug#11225).
639 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
641         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
642         a function if there's a clear indication that it has a compiler-macro.
643         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
644         (macro-declarations-alist): Add arglist to declaration functions.
645         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
646         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
647         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
648         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
649         Also add autoload to find the compiler macro.
650         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
651         (cl--compiler-macro-member, cl--compiler-macro-assoc)
652         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
653         (cl--compiler-macro-get): New functions, replacing calls to
654         cl-define-compiler-macro.
655         (cl-typep) [compiler-macro]: Use macroexp-let².
657 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
659         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
660         string properly, fixes Bug#11473.
662 2012-06-08  Chong Yidong  <cyd@gnu.org>
664         * faces.el (set-face-attribute): Doc fix.
665         (modify-face): Don't use :bold and :italic.
666         (error, warning, success): Tweak definitions.
668         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
669         (custom-modified, custom-set, custom-changed, custom-themed)
670         (custom-saved, custom-button, custom-button-mouse)
671         (custom-button-pressed, custom-state, custom-comment-tag)
672         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
673         (custom-group-subtitle): Use new-style face specs.
674         (custom-invalid-face, custom-rogue-face, custom-modified-face)
675         (custom-set-face, custom-changed-face, custom-saved-face)
676         (custom-button-face, custom-button-pressed-face)
677         (custom-documentation-face, custom-state-face)
678         (custom-comment-face, custom-comment-tag-face)
679         (custom-variable-tag-face, custom-variable-button-face)
680         (custom-face-tag-face, custom-group-tag-face-1)
681         (custom-group-tag-face): Remove obsolete face alias.
683         * epa.el (epa-validity-high, epa-validity-medium)
684         (epa-validity-low, epa-mark, epa-field-name, epa-string)
685         (epa-field-name, epa-field-body):
686         * font-lock.el (font-lock-comment-face, font-lock-string-face)
687         (font-lock-keyword-face, font-lock-builtin-face)
688         (font-lock-function-name-face, font-lock-variable-name-face)
689         (font-lock-type-face, font-lock-constant-face):
690         * ido.el (ido-first-match, ido-only-match, ido-subdir)
691         (ido-virtual, ido-indicator, ido-incomplete-regexp):
692         * speedbar.el (speedbar-button-face, speedbar-file-face)
693         (speedbar-directory-face, speedbar-tag-face)
694         (speedbar-selected-face, speedbar-highlight-face)
695         (speedbar-separator-face):
696         * whitespace.el (whitespace-newline, whitespace-space)
697         (whitespace-hspace, whitespace-tab, whitespace-trailing)
698         (whitespace-line, whitespace-space-before-tab)
699         (whitespace-space-after-tab, whitespace-indentation)
700         (whitespace-empty):
701         * emulation/cua-base.el (cua-global-mark):
702         * eshell/em-prompt.el (eshell-prompt):
703         * net/newst-plainview.el (newsticker-new-item-face)
704         (newsticker-old-item-face, newsticker-immortal-item-face)
705         (newsticker-obsolete-item-face, newsticker-date-face)
706         (newsticker-statistics-face, newsticker-default-face):
707         * net/newst-reader.el (newsticker-feed-face)
708         (newsticker-extra-face, newsticker-enclosure-face):
709         * net/newst-treeview.el (newsticker-treeview-face)
710         (newsticker-treeview-new-face, newsticker-treeview-old-face)
711         (newsticker-treeview-immortal-face)
712         (newsticker-treeview-obsolete-face)
713         (newsticker-treeview-selection-face):
714         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
715         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
716         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
717         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
718         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
719         (nxml-outline-active-indicator, nxml-outline-ellipsis):
720         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
721         (mpuz-text):
722         * progmodes/vera-mode.el (vera-font-lock-number)
723         (vera-font-lock-function, vera-font-lock-interface):
724         * textmodes/table.el (table-cell): Use new-style face specs, and
725         don't use the old :bold and :italic attributes.
727         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
728         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
729         (ebrowse-member-class, ebrowse-progress): Likewise.
730         (ebrowse-tree-mark-face, ebrowse-root-class-face)
731         (ebrowse-file-name-face, ebrowse-default-face)
732         (ebrowse-member-attribute-face, ebrowse-member-class-face)
733         (ebrowse-progress-face): Remove obsolete faces.
735         * progmodes/flymake.el (flymake-errline, flymake-warnline):
736         Inherit from error and warning faces respectively.
738         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
739         Likewise.
740         (flyspell-incorrect-face, flyspell-duplicate-face):
741         Remove obsolete aliases.
743 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
745         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
746         Avoid infloop.
748 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
750         * startup.el (argv, argi): Make lexically scoped.
751         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
752         * emacs-lisp/cl-macs.el: Use lexical-binding.
753         Rename cl-bind-* to cl--bind-*.
754         * files.el: Don't require `cl' since it doesn't use it.
755         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
757 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
759         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of revno:89810).
760         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
761         instead of calling external sort utility.
762         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
764 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
766         * descr-text.el (describe-char): Mention how to insert the
767         character, if the current input method doesn't support it.
768         See the discussion in this thread for the details:
769         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
771 2012-06-08  Sam Steingold  <sds@gnu.org>
773         * bindings.el (global-map): Bind XF86Forward to next-buffer and
774         XF86Back to previous-buffer.
775         (minibuffer-local-map): Bind them to next-history-element and
776         previous-history-element respectively.
777         * help-mode.el (help-mode-map): Bind them to help-go-forward and
778         help-go-back respectively.
779         * info.el (Info-mode-map): Bind them to Info-history-forward and
780         Info-history-back respectively.
781         These are the keys next to Up on the ThinkPad keyboard.
783 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
785         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
786         * emacs-lisp/cl-macs.el: Provide itself.
787         (cl--labels-convert-cache): New var.
788         (cl--labels-convert): New function.
789         (cl-flet, cl-labels): New implementation with new semantics, relying on
790         lexical-binding.
791         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
792         (cl-closure-vars, cl--function-convert-cache)
793         (cl--function-convert): Move from cl-macs.el.
794         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
795         rename by removing the "cl-" prefix.
796         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
798 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
800         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
801         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
802         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
803         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
804         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
805         (cl-hash-table-count): Add old compatibility aliases.
807         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
808         Use macroexpand-all-environment instead.
809         (cl--old-macroexpand): New var.
810         (cl--sm-macroexpand): New function.
811         (cl-symbol-macrolet): Use it during macro expansion.
812         (cl--function-convert-cache): New var.
813         (cl--function-convert): New function, extracted from
814         cl-macroexpand-all.
815         (cl-lexical-let): Use it.
817         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
818         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
819         (cl-member): Remove old alias.
821         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
822         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
823         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
824         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
825         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
826         (cl-macroexpand-cmacs): Remove var.
827         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
828         Use macroexpand-all instead.
830 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
832         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
833         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
834         (macroexp-copyable-p): New functions and macros.
835         * emacs-lisp/edebug.el (edebug-unwrap):
836         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
837         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
838         (pcase--let*): Remove.
839         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
840         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
841         macroexp-const-p instead.
842         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
844         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
845         instead of "cl-" for internal definitions.  Use macroexp-const-p.
846         (cl-old-bc-file-form): Remove var.
847         (cl-const-exprs-p): Remove fun.
848         (cl-labels, cl-macrolet): Use backquote.
849         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
850         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
851         (cl-define-setf-expander): Rename from cl-define-setf-method.
852         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
854         * international/mule-cmds.el: Don't require CL.
855         (view-hello-file): Don't use `letf'.
857 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
859         * tmm.el (tmm-prompt): Use string-prefix-p.
860         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
861         (tmm-add-prompt): Use minibuffer-completion-help.
862         (tmm-delete-map): Remove.
864         * subr.el (kbd): Make it its own function.
866 2012-06-07  Stefan Merten  <smerten@oekonux.de>
868         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
869         Silence compiler warnings.  Fix versions.
870         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
871         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
872         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
873         (rst-package-emacs-version-alist): Correct Emacs version to
874         represent major merge with upstream.
875         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
877 2012-06-06  Glenn Morris  <rgm@gnu.org>
879         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
880         Only print environment variables if set.
882 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
884         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
885         (macroexp--cons): Rename from maybe-cons.
886         (macroexp--accumulate): Rename from macroexp-accumulate.
887         (macroexp--all-forms): Rename from macroexpand-all-forms.
888         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
889         (macroexp--expand-all): Rename from macroexpand-all-1.
891 2012-06-06  Sam Steingold  <sds@gnu.org>
893         * calendar/calendar.el (calendar-in-read-only-buffer):
894         Call `special-mode' to enable the standard read-only keybindings.
896 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
898         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
899         with "loading" messages (bug#11635).
901 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
903         * files.el (enable-remote-dir-locals): New option.
904         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
906         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
907         Ensure, that the temp directory is local.
909         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
910         `temporary-file-directory'.
912         * progmodes/python.el (python-send-region): Ensure, that the
913         temporary file is created also in the remote case.
915 2012-06-06  Glenn Morris  <rgm@gnu.org>
917         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
918         (vc-rcs-update-changelog): Use it.
920         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
922         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
923         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
924         (vc-sccs-diff): Replace use of the external vcdiff script.
926 2012-06-05  Glenn Morris  <rgm@gnu.org>
928         * ledit.el: Move to obsolete/.
930 2012-06-05  Sam Steingold  <sds@gnu.org>
932         * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
933         patch (Bug#11140).
935 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
937         * emacs-list/cust-print.el: Move to obsolete.
939         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
940         compiler-macro expansion.
942         Add native compiler-macro support.
943         * emacs-lisp/macroexp.el (macroexpand-all-1):
944         Support compiler-macros directly.  Properly follow aliases and apply
945         the compiler macros more thoroughly.
946         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
947         macroexpand now properly follows aliases.
948         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
949         (cl-compiler-macroexpand): Use new prop.
950         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
952         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
954 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
956         * window.el (get-lru-window, get-mru-window, get-largest-window):
957         New argument NOT-SELECTED to avoid picking the selected window.
958         (window--display-buffer-1, window--display-buffer-2): Replace by
959         new function window--display-buffer
960         (display-buffer-same-window, display-buffer-reuse-window)
961         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
962         Use window--display-buffer.
963         (display-buffer-use-some-window): Remove temporary dedication
964         hack by calling get-lru-window and get-largest-window with
965         NOT-SELECTED argument non-nil.  Call window--display-buffer.
967 2012-06-05  Glenn Morris  <rgm@gnu.org>
969         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
970         Replace external vcdiff script.
972 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
974         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
976 2012-06-04  Chong Yidong  <cyd@gnu.org>
978         * image.el (imagemagick-types-inhibit): Revert last change.
979         Add INFO and M.
980         (imagemagick-enabled-types): Remove CIN and EPS*.
982 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
984         * emacs-lisp/cl-lib.el: Rename from cl.el.
985         * emacs-lisp/cl.el: New compatibility file.
986         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
987         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
988         to obey the "cl-" prefix.
989         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
991 2012-06-03  Glenn Morris  <rgm@gnu.org>
993         * emacs-lisp/authors.el (authors-aliases): Addition.
995         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
996         Fix :version.
998 2012-06-03  Stefan Merten  <smerten@oekonux.de>
1000         * textmodes/rst.el: Add comments.
1001         (rst-transition, rst-adornment): New faces.
1002         (rst-adornment-faces-alist): Make default safe to reevaluate.
1003         Fixes
1004         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1005         Improve customization tags.
1006         (rst-define-level-faces): Clarify meaning.
1008 2012-06-03  Chong Yidong  <cyd@gnu.org>
1010         * progmodes/compile.el (compilation-mode-line-fail)
1011         (compilation-mode-line-run, compilation-mode-line-exit):
1012         New faces.
1013         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1015 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
1017         * progmodes/which-func.el (which-func-update-ediff-windows):
1018         New function.  Use it in ediff-select-hook (Bug#11478).
1020 2012-06-03  Chong Yidong  <cyd@gnu.org>
1022         * bindings.el: Remove explicit help text from format-mode-line.
1023         It is now supplied by mode-line-default-help-echo.
1024         (mode-line-front-space, mode-line-end-spaces)
1025         (mode-line-misc-info): New variables.
1026         (mode-line-modes, mode-line-position): Move the default value to
1027         the variable definition.
1028         (mode-line-default-help-echo): New defcustom.
1029         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1030         (mode-line-modified-help-echo): New functions.
1031         (mode-line-mule-info, mode-line-modified): Use them.
1032         (mode-line-eol-desc, propertized-buffer-identification):
1033         Consistency fixes for help text.
1034         (mode-line-coding-system-map): Allow using mouse-3 to invoke
1035         set-buffer-file-coding-system (Bug#289).
1036         (mode-line-mule-info-help-echo): Update help text.
1038 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1040         * simple.el (execute-extended-command): Set real-this-command
1041         (bug#11506).
1043 2012-06-02  Chong Yidong  <cyd@gnu.org>
1045         Remove incorrect uses of "modeline" in comments, docstrings, and
1046         function/variable names (Bug#10329).
1048         * cus-edit.el (mode-line):
1049         * dframe.el (dframe-mouse-hscroll):
1050         * emacs-lisp/re-builder.el:
1051         * emacs-lisp/easy-mmode.el (define-minor-mode):
1052         * frame.el (set-frame-name):
1053         * help.el (lookup-minor-mode-from-indicator):
1054         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1055         * progmodes/cc-cmds.el (c-toggle-auto-newline)
1056         (c-toggle-hungry-state):
1057         * progmodes/antlr-mode.el (antlr-language-alist):
1058         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1059         * progmodes/vhdl-mode.el (vhdl-mode):
1060         * progmodes/which-func.el (which-func, which-func-cleanup-function):
1061         * term/ns-win.el (ns-face-at-pos):
1062         * term/sup-mouse.el (sup-mouse-report):
1063         * textmodes/flyspell.el (flyspell-mode-line-string):
1064         * textmodes/ispell.el (ispell-highlight-face):
1065         * textmodes/reftex-global.el:
1066         * vc/vc-arch.el (vc-arch-mode-line-string):
1067         * vc/vc-cvs.el (vc-cvs-mode-line-string):
1068         * vc/vc-git.el (vc-git-mode-line-string):
1069         * vc/vc-hooks.el (vc-display-status)
1070         (vc-default-mode-line-string):
1071         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1073         * ansi-color.el (ansi-color-faces-vector): Change default faces.
1075         * dired.el (dired-sort-set-mode-line): Rename from
1076         dired-sort-set-modeline.  All callers changed.
1078         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1079         eshell-status-in-modeline.
1081         * foldout.el (foldout-mode-line-string): Rename from
1082         foldout-modeline-string.  All callers changed.
1083         (foldout-update-mode-line): Rename from foldout-update-modeline.
1085         * subr.el (redraw-modeline): Make into obsolete alias.
1087         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1088         timeclock-modeline-display.  Make old name an alias.
1089         (timeclock-update-mode-line): Likewise.  All callers changed.
1090         (timeclock-mode-line-display): No need to check before using
1091         add-hook.
1092         (timeclock-relative, timeclock-day-over-hook)
1093         (timeclock-use-elapsed, timeclock-mode-string)
1094         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1096         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1097         crisp-mode-modeline-string.
1099         * play/solitaire.el (solitaire-build-mode-line): Rename from
1100         solitaire-build-modeline.  All callers changed.
1102         * play/zone.el (zone-hiding-mode-line): Rename from
1103         zone-hiding-modeline.  All callers changed.
1104         (zone): Remove unusued `modeline-hidden-level' property.
1106         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1107         xscheme-modeline-initialize.  All callers changed.
1109         * strokes.el (strokes-lighter): Rename from
1110         strokes-modeline-string.
1112         * textmodes/sgml-mode.el (html-face-tag-alist)
1113         (html-tag-face-alist): Use mode-line face instead of obsolete
1114         alias modeline.
1116 2012-06-02  Stefan Merten  <smerten@oekonux.de>
1118         * textmodes/rst.el: Always require `cl'.
1119         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1121 2012-06-02  Chong Yidong  <cyd@gnu.org>
1123         * image.el (imagemagick-enabled-types): Rename from
1124         imagemagick-types-enable.  Add many more types.
1125         (imagemagick-types-inhibit): Change default to nil.
1126         (imagemagick-filter-types): Caller changed.
1128 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1130         * emacs-lisp/cl-macs.el: Use backquotes.
1131         (cl-transform-function-property): Use eval-and-compile rather than
1132         abusing `require'.
1133         (defstruct): Use declare-function instead of with-no-warnings.
1135         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1136         (byte-compile-output-docform): Re-add the print-circle bindings.
1137         (byte-compile-fix-header): Use #$ just because it's shorter.
1138         (byte-compile-output-file-form): Remove defun/defmacro.
1140 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
1142         * simple.el (choose-completion): Remove now obsolete binding for
1143         owindow.
1145 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
1147         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1148         in order to avoid "Stack overflow in regexp matcher".
1150 2012-05-31  Glenn Morris  <rgm@gnu.org>
1152         * image.el: For clarity, call imagemagick-register-types at
1153         top-level, rather than relying on a custom :initialize.
1154         (imagemagick-types-enable): New option.  (Bug#11557)
1155         (imagemagick-filter-types): New function.  (Bug#7406)
1156         (imagemagick-register-types): Use imagemagick-filter-types.
1157         If disabling support, remove elements altogether rather
1158         than using an impossible regexp.
1159         (imagemagick-types-inhibit): Give it the default init function.
1161 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1163         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1164         Handle arbitrary file name lengths (Bug#11585).
1166 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
1168         * desktop.el (desktop-read): Clear previous and next buffers for
1169         all windows and bury *Messages* buffer (bug#11556).
1171 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1173         Add `declare' for `defun'.  Align `defmacro's with it.
1174         * emacs-lisp/easy-mmode.el (define-minor-mode)
1175         (define-globalized-minor-mode): Don't autoload the var definitions.
1176         * emacs-lisp/byte-run.el: Use lexical-binding.
1177         (defun-declarations-alist, macro-declarations-alist): New vars.
1178         (defmacro, defun): Use them.
1179         (make-obsolete, define-obsolete-function-alias)
1180         (make-obsolete-variable, define-obsolete-variable-alias):
1181         Use `declare'.
1182         (macro-declaration-function): Mark obsolete.
1183         * emacs-lisp/autoload.el: Use lexical-binding.
1184         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
1186 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1188         * textmodes/ispell.el (ispell-with-no-warnings):
1189         Define as a macro.
1190         (ispell-kill-ispell, ispell-change-dictionary):
1191         Use `called-interactively-p' for Emacs instead of obsolete
1192         `interactive-p'.
1194 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1196         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1197         (macro-declaration-function): Move var from C code.
1198         (macro-declaration-function): Define function with defalias.
1199         * emacs-lisp/macroexp.el (macroexpand-all-1):
1200         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1201         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1202         defun/defmacro any more.
1203         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1204         Provide fallback for unknown arglist.
1205         (byte-compile-arglist-warn): Change calling convention.
1206         (byte-compile-output-file-form): Move print-vars binding.
1207         (byte-compile-output-docform): Simplify accordingly.
1208         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1209         (byte-compile-defmacro-declaration): Remove.
1210         (byte-compile-file-form-defmumble): Generalize to defalias.
1211         (byte-compile-output-as-comment): Return byte-positions.
1212         Simplify callers accordingly.
1213         (byte-compile-lambda): Use `assert'.
1214         (byte-compile-defun, byte-compile-defmacro): Remove.
1215         (byte-compile-file-form-defalias):
1216         Use byte-compile-file-form-defmumble.
1217         (byte-compile-defalias-warn): Remove.
1219 2012-05-29  Stefan Merten  <smerten@oekonux.de>
1221         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1222         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
1224         (rst-mode-abbrev-table): Merge definition.
1225         (rst-mode): Make sure `font-lock-defaults' is buffer local.
1226         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1228 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
1230         * calendar/icalendar.el
1231         (icalendar-export-region): Export UID properly.
1233 2012-05-29 Leo <sdl.web@gmail.com>
1234         * calendar/icalendar.el (icalendar-import-format):
1235         Add `icalendar-import-format-uid' (Bug#11525).
1236         (icalendar-import-format-uid): New.
1237         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1238         Export UID.
1240 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1242         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1243         different alternative patterns.
1244         (pcase-codegen): Be more careful to preserve identity.
1245         (pcase--u1): Don't forget to mark vars as used.
1247         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1248         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1249         (byte-compile-from-buffer): ...rather than here.
1251         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1252         functions from byte-compile-function-environment.
1254 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
1256         * window.el (window-deletable-p): Avoid deleting the root window
1257         of a frame with an active minibuffer.
1259 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
1261         * simple.el (choose-completion): Use quit-window (Bug#11567).
1263 2012-05-29  Chong Yidong  <cyd@gnu.org>
1265         * whitespace.el (whitespace-cleanup): Fix usage of
1266         whitespace-empty-at-bob-regexp (Bug#11492).
1268 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1270         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1271         revert (Bug#11488).
1273 2012-05-29  Juri Linkov  <juri@jurta.org>
1275         * isearch.el (isearch-mode-map): Bind `M-s _' to
1276         `isearch-toggle-symbol'.  Bind `M-s c' to
1277         `isearch-toggle-case-fold'.
1278         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1279         (isearch-forward): Add `M-s _' to the docstring.
1280         (isearch-forward-symbol, isearch-toggle-case-fold)
1281         (isearch-symbol-regexp): New functions.  (Bug#11381)
1283 2012-05-29  Juri Linkov  <juri@jurta.org>
1285         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
1286         (isearch-occur, isearch-search-and-update): If `isearch-word' is
1287         a function, call it to get the regexp.
1288         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1289         property `isearch-message-prefix' instead of the string "word ".
1290         (isearch-search-fun-default): For the case of `isearch-word',
1291         return a lambda that calls re-search-forward/re-search-backward
1292         with a regexp returned by `word-search-regexp' or by the function
1293         in `isearch-word'.
1295 2012-05-29  Juri Linkov  <juri@jurta.org>
1297         * isearch.el (isearch-search-fun-default): New function.
1298         (isearch-search-fun): Move default part to the new function
1299         `isearch-search-fun-default'.
1300         (isearch-search-fun-function): Set the default value to
1301         `isearch-search-fun-default'.  (Bug#11381)
1303         * comint.el (comint-history-isearch-end):
1304         Use `isearch-search-fun-default'.
1305         (comint-history-isearch-search): Use `isearch-search-fun-default'
1306         and remove spacial case for `isearch-word'.
1307         (comint-history-isearch-wrap): Remove spacial case for
1308         `isearch-word'.
1310         * hexl.el (hexl-isearch-search-function):
1311         Use `isearch-search-fun-default'.
1313         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1314         Use `word-search-regexp' for `isearch-word'.
1316         * misearch.el (multi-isearch-search-fun):
1317         Use `isearch-search-fun-default'.
1319         * simple.el (minibuffer-history-isearch-search):
1320         Use `isearch-search-fun-default' and remove spacial case for
1321         `isearch-word'.
1322         (minibuffer-history-isearch-wrap): Remove spacial case for
1323         `isearch-word'.
1325         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1326         Remove spacial case for `isearch-word'.
1327         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1329 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1331         Decrease XEmacs incompatibilities.
1332         * textmodes/flyspell.el (flyspell-check-pre-word-p):
1333         Use `string-match'.
1334         (flyspell-delete-region-overlays): Use alternative definition for
1335         XEmacs.
1336         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1337         (flyspell-word): Use `process-kill-without-query' if XEmacs.
1338         (flyspell-mode-on): Use `interactive-p' if XEmacs.
1339         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1340         `define-obsolete-face-alias' under XEmacs, but old method.
1342         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1343         `with-no-warnings' definition or Emacs alias.
1344         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1345         (ispell-word): Do not use `region-p' if XEmacs.
1347 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1349         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1350         Check for `ispell-dictionary-base-alist' instead of full
1351         `ispell-dictionary-alist'.
1352         (ispell-init-process): Show spellchecker when starting new Ispell
1353         process.
1355 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1357         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1358         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1360 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
1362         * version.el (motif-version-string, gtk-version-string)
1363         (ns-version-string): Declare.
1365 2012-05-27  Juri Linkov  <juri@jurta.org>
1367         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1368         after the `eval-defun-1' specialcaseing
1369         like in `edebug-eval-defun' (bug#10181).
1371         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1372         like in `eval-defun-1'.
1374 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1376         * mail/sendmail.el (mail-yank-region):
1377         Recognize rmail-yank-current-message in addition to insert-buffer.
1378         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1379         a *mail* buffer created through rmail-start-mail with sendmail as
1380         mail-user-agent.
1382 2012-05-27  Chong Yidong  <cyd@gnu.org>
1384         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1385         Default to 256 (Bug#11267).
1387         * help.el (describe-mode): Doc fix.
1389 2012-05-26  Glenn Morris  <rgm@gnu.org>
1391         * w32-fns.el (w32-init-info): Remove.
1392         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1394         * info.el (info-initialize): For self-contained NS builds, put the
1395         included info/ directory at the front.  (Bug#2791)
1397         * paths.el (Info-default-directory-list): Make it a defcustom,
1398         mainly so that we can use custom-initialize-delay.
1400 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1402         * subr.el (buffer-has-markers-at): Mark obsolete.
1404         * subr.el (lambda): Use declare.
1406         * emacs-lisp/lisp-mode.el (lambda):
1407         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1409 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1411         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
1413 2012-05-26  Glenn Morris  <rgm@gnu.org>
1415         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1417 2012-05-25  Glenn Morris  <rgm@gnu.org>
1419         * paths.el: Remove no-byte-compile.
1420         * loadup.el: No need to load paths.el uncompiled.
1422         * image.el (imagemagick-types-inhibit): Doc fix.
1424         * version.el: Remove no-byte-compile and associated formatting.
1425         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
1426         is ancient code from when there was an "inc-vers.el".
1428 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1430         * progmodes/gdb-mi.el: Minor style changes.
1431         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1432         Turn into minor modes.
1433         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1434         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1435         (gdb-shell): Remove unneeded let-binding.
1436         (gdb-get-many-fields): Eliminate O(n²) behavior.
1438 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
1440         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1441         platforms that don't link in fontset.c.
1443 2012-05-25  Juri Linkov  <juri@jurta.org>
1445         Use the same diff color scheme as in modern VCSes (bug#10181).
1447         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1448         to avoid confusion with `diff-added' that now uses green colors.
1449         (diff-removed): Use shades of red.
1450         (diff-added): Use shades of green.
1451         (diff-changed): Leave just the yellow color.
1452         (diff-use-changed-face): New variable.
1453         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1454         how to highlight context diff changes.
1455         (diff-refine-change): Use shades of yellow.
1456         (diff-refine-removed): New face that uses shades of red.
1457         (diff-refine-added): New face that uses shades of green.
1458         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1459         `diff-refine-removed' in the call to `smerge-refine-subst'
1460         depending on the value of `diff-use-changed-face'.
1462         * vc/smerge-mode.el (smerge-mine): Use shades of red.
1463         (smerge-other): Use shades of green.
1464         (smerge-base): Use shades of yellow.
1465         (smerge-refined-change): Empty face.
1466         (smerge-refined-removed): New face that uses shades of red.
1467         (smerge-refined-added): New face that uses shades of green.
1468         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
1469         args `props-r' and `props-a', and use them.  Doc fix.
1470         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1471         on its value use different faces `smerge-refined-change',
1472         `smerge-refined-removed', `smerge-refined-added' in the call to
1473         `smerge-refine-subst'.
1475         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1476         Add face condition `min-colors 88' with shades of red.
1477         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1478         `min-colors 88' with shades of green.
1479         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1480         `min-colors 88' with shades of yellow.
1482 2012-05-24  Glenn Morris  <rgm@gnu.org>
1484         * paths.el (prune-directory-list, remote-shell-program): Move to...
1485         * files.el (prune-directory-list, remote-shell-program): ...here.
1486         For the latter, delay initialization, prefer ssh, just search PATH.
1488         * paths.el (term-file-prefix): Move to faces.el (the only user).
1489         * faces.el (term-file-prefix): Move here, make it a defcustom.
1491         * paths.el (news-directory, news-path, news-inews-program):
1492         Move to gnus/nnspool.el.
1494         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1496         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1497         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1498         Make the latter a defcustom, with a delayed initialization.
1500         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1501         These were deleted from Gnus itself late 2010.
1503 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
1505         * progmodes/which-func.el (which-func-ff-hook):
1506         Check against user-error, not error.
1508         * emacs-lisp/edebug.el (top): Do not load or set up loading of
1509         cl-specs.el, which no longer exists.
1511 2012-05-22  Glenn Morris  <rgm@gnu.org>
1513         * info.el (info-emacs-bug): New command.
1514         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1515         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1517 2012-05-21  Glenn Morris  <rgm@gnu.org>
1519         * makefile.w32-in (update-subdirs-SH):
1520         * Makefile.in (update-subdirs): Update for moved update-subdirs.
1522 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1524         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1526         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1527         Simplify Maven regexp, and make sure the file can't start with a space
1528         (bug#11517).
1530 2012-05-21  Glenn Morris  <rgm@gnu.org>
1532         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1533         Scrap superfluous subshells.
1535 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1537         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1538         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1540 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
1542         * calc/calc.el (calc-ensure-consistent-units): New variable.
1544         * calc/calc-units.el (math-consistent-units-p)
1545         (math-check-unit-consistency): New functions.
1546         (calc-quick-units, calc-convert-units):
1547         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1548         is non-nil.
1549         (calc-extract-units): Fix typo.
1551 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1553         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1555         * textmodes/flyspell.el: Commenting style, plus code simplifications.
1556         (flyspell-default-deplacement-commands): Don't spell check after
1557         repeated window/frame switches (e.g. triggered by mouse-movement).
1558         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1559         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1560         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1561         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1562         Remove unused vars.
1563         (flyspell-get-casechars, flyspell-get-not-casechars):
1564         Simplify; Don't bother removing a ] just to add it back.
1565         * textmodes/ispell.el (ispell-program-name): Use executable-find.
1567 2012-05-18  Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1569         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1570         New functions.
1571         (math-function-table): Add support for more C functions.
1573 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1575         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1576         (flyspell-debug-signal-word-checked): Protect delay handling for
1577         otherchars against empty otherchars.
1579 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1581         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1582         their respective macro declarations.
1583         * skeleton.el (define-skeleton):
1584         * progmodes/compile.el (define-compilation-mode):
1585         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1586         (define-ibuffer-filter):
1587         * emacs-lisp/generic.el (define-generic-mode):
1588         * emacs-lisp/easy-mmode.el (define-minor-mode)
1589         (define-globalized-minor-mode):
1590         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1591         * emacs-lisp/byte-run.el (defsubst):
1592         * custom.el (deftheme): Add doc-string metadata.
1594 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1596         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1598 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1600         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1602         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1603         * emacs-lisp/cl-macs.el: Idem.
1604         * emacs-lisp/cl-specs.el: Remove.
1606 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1608         Minor renaming of internal CL functions and variables.
1609         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1610         (cl--position): Rename from cl-position.
1611         (cl--delete-duplicates): Rename from cl-delete-duplicates.
1612         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1613         (cl--random-state): Rename from *random-state*.
1615 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1617         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1618         parens around the arg list (bug#11499).
1620 2012-05-17  Juri Linkov  <juri@jurta.org>
1622         * isearch.el (word-search-regexp, word-search-backward)
1623         (word-search-forward, word-search-backward-lax)
1624         (word-search-forward-lax): Move functions from search.c
1625         (bug#10145, bug#11381).
1627 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1629         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1630         (flyspell-debug-signal-word-checked): Delay for otherchars as for
1631         normal word components.
1633 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1635         * minibuffer.el (completion--sifn-requote): Fix last change.
1636         (minibuffer-local-must-match-filename-map):
1637         Move define-obsolete-variable-alias before its var.
1639 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1641         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1643         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1644         behavior.
1645         (completion--string-equal-p): New function.
1646         (completion--twq-all): Use it to get better assertion failure data.
1648         Only handle ".." and '..' quoting in shell-mode (bug#11466).
1649         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1650         (shell--requote-argument): New functions.
1651         (shell-completion-vars): Use them.
1652         (shell--parse-pcomplete-arguments): Rename from
1653         shell-parse-pcomplete-arguments.
1654         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
1655         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1656         Obey comint-file-name-quote-list.
1658         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1659         (smie-indent-keyword): Use it.
1661 2012-05-14  Stefan Merten  <smerten@oekonux.de>
1663         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1665 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1667         * net/rlogin.el (rlogin-mode-map): Fix last change.
1669 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
1671         * mail/smtpmail.el (smtpmail-send-command): Send the command and
1672         the following \r\n using a single `process-send-string', since the
1673         Lotus SMTP server refuses to accept any commands if they are sent
1674         with two `process-send-string's (Bug#11444).
1676 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1678         * shell.el (shell-parse-pcomplete-arguments):
1679         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1681 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
1683         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1684         (image-transform-scale, image-transform-right-angle-fudge): New vars.
1685         (image-transform-width, image-transform-fit-width): New functions.
1686         (image-transform-properties): Use them.
1687         (image-transform-check-size): New function.
1688         (image-toggle-display-image): Use it (for testing).
1689         (image-transform-set-rotation): Reduce angle mod 360.
1690         Delete obsolete comment.
1692 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
1694         * image-mode.el: Fix scaling (bug#11399).
1695         (image-transform-resize): Doc fix.
1696         (image-transform-properties): Default scale is 1 and height should
1697         be an integer.
1699 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
1701         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1702         than hard-coding `car', to fix misbehavior when moving forward.
1704 2012-05-13  Chong Yidong  <cyd@gnu.org>
1706         * emacs-lisp/tabulated-list.el (tabulated-list-format)
1707         (tabulated-list-entries, tabulated-list-padding)
1708         (tabulated-list-sort-key): Make permanent-local.
1710         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1711         (electric-buffer-list): Put electric buffer menu
1712         command descriptions in this docstring, instead of the docstring
1713         of electric-buffer-menu-mode.  Code cleanups.
1714         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
1715         Electric-buffer-menu-mode.
1716         (electric-buffer-update-highlight): Minor code cleanup.
1718 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
1720         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1721         (Bug#11447)
1723 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1725         Move define-obsolete-variable-alias before the var's definition.
1726         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1727         * tooltip.el (tooltip-hook):
1728         * textmodes/reftex-toc.el (reftex-toc-map):
1729         * textmodes/reftex-sel.el (reftex-select-label-map)
1730         (reftex-select-bib-map):
1731         * textmodes/reftex-index.el (reftex-index-map)
1732         (reftex-index-phrases-map):
1733         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1734         * progmodes/meta-mode.el (meta-mode-map):
1735         * novice.el (disabled-command-hook):
1736         * loadhist.el (unload-hook-features-list):
1737         * frame.el (blink-cursor):
1738         * files.el (find-file-not-found-hooks, write-file-hooks)
1739         (write-contents-hooks):
1740         * emulation/tpu-edt.el (GOLD-map):
1741         * emacs-lock.el (emacs-lock-from-exiting):
1742         * emacs-lisp/generic.el (generic-font-lock-defaults):
1743         * emacs-lisp/chart.el (chart-map):
1744         * dos-fns.el (register-name-alist):
1745         * dired-x.el (dired-omit-files-p):
1746         * desktop.el (desktop-enable):
1747         * cus-edit.el (custom-mode-hook):
1748         * buff-menu.el (buffer-menu-mode-hook):
1749         * bookmark.el (bookmark-read-annotation-text-func)
1750         (bookmark-exit-hooks):
1751         * allout.el (allout-mode-deactivate-hook)
1752         (allout-exposure-change-hook, allout-structure-added-hook)
1753         (allout-structure-deleted-hook, allout-structure-shifted-hook):
1754         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1755         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1756         comes before the corresponding variable's definition.
1758 2012-05-12  Chong Yidong  <cyd@gnu.org>
1760         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1761         (Buffer-menu-mouse-select): Restore function (Bug#11459).
1762         (Buffer-menu-mode-map): Bind it.
1763         (Buffer-menu--pretty-name): Add a mouse-face property.
1765 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1767         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
1768         (prolog-upper-case-string, prolog-lower-case-string)
1769         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1770         (prolog-use-smie, prolog-smie-grammar): New vars.
1771         (prolog-smie-forward-token, prolog-smie-backward-token)
1772         (prolog-smie-rules): New funs.
1773         (prolog-comment-indent): Remove.
1774         (prolog-mode-variables): Use default comment indentation instead.
1775         Setup SMIE.
1776         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1777         (prolog-mode): Don't call them any more.
1778         (prolog-electric-colon, prolog-electric-dash)
1779         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1781         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1783         * minibuffer.el (completion--twq-all): Again, allow case differences.
1785         * term.el: Move keymap initialization code to be more idiomatic.
1786         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1787         (term-terminal-menu): Move initialization into declaration.
1788         (term-escape-char): Let the user set it in her .emacs.
1790         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1791         Provide SMIE-based indentation (not enabled by default yet).
1792         (sh-mode-map): Don't bind electric keys.
1793         Use electric-pair-mode instead of skeleton-pair.
1794         (sh-assignment-regexp): Fit within 80 columns.
1795         (sh-indent-supported): Specify actual shell name instead of boolean.
1796         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1797         (sh-maybe-here-document): Use it.  Make obsolete.
1798         (sh-electric-here-document-mode) New minor mode.
1799         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
1800         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1801         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1802         (sh-smie-rc-grammar, sh-use-smie): New vars.
1803         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1804         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1805         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1806         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1807         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1808         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1809         (sh-set-shell): Use smie-setup if requested.
1811         * term.el (term-set-escape-char): Properly set term-escape-char.
1812         See http://stackoverflow.com/questions/10524656.
1814 2012-05-10  Chong Yidong  <cyd@gnu.org>
1816         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1817         Use url-generic-parse-url, and handle host names and Windows
1818         filenames properly.
1819         (ffap-url-unwrap-remote): Use url-generic-parse-url.
1820         (ffap-url-unwrap-remote): Accept list values, specifying a list of
1821         URL schemes to work on.
1822         (ffap--toggle-read-only): New function.
1823         (ffap-read-only, ffap-read-only-other-window)
1824         (ffap-read-only-other-frame): Use it.
1825         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1826         necessary for ffap-url-unwrap-remote.
1828 2012-05-10  Dave Abrahams  <dave@boostpro.com>
1830         * cus-start.el (create-lockfiles): Add it.
1832 2012-05-09  Chong Yidong  <cyd@gnu.org>
1834         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1835         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1837 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1839         * shell.el (shell-completion-vars): Fix last change (bug#11348).
1841 2012-05-09  Chong Yidong  <cyd@gnu.org>
1843         * ansi-color.el (ansi-color-process-output): Check for validity of
1844         comint-last-output-start before using it.  This avoids a bad
1845         interaction with gdb-mi's input/output buffer.
1847 2012-05-09  Glenn Morris  <rgm@gnu.org>
1849         * files.el (dir-locals-read-from-file):
1850         Mention dir-locals in any error message.
1852 2012-05-09  Chong Yidong  <cyd@gnu.org>
1854         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1855         package (Bug#11410).
1857         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1858         variables into description.
1860 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1862         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1863         shell-delimiter-argument-list (bug#11348).
1864         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1866 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
1868         * textmodes/rst.el: Silence byte-compiler warnings.
1869         (rst-re-alist, rst-reset-section-caches): Move around.
1870         (rst-re): Use `characterp', not `char-valid-p'.
1871         (font-lock-beg, font-lock-end): Declare.
1873         * progmodes/idlw-shell.el (specs): Remove reference to deleted
1874         variable `idlwave-shell-activate-alt-keybindings' and simplify.
1876         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1878 2012-05-08  Glenn Morris  <rgm@gnu.org>
1880         * files.el (auto-mode-alist): Treat ".make" like ".mk".
1882 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1884         * vc/log-edit.el: Add GNU coding standards highlighting.
1885         (log-edit-font-lock-gnu-style)
1886         (log-edit-font-lock-gnu-keywords): New vars.
1887         (log-edit-font-lock-keywords): New fun.
1888         (log-edit-mode): Don't fold case in font-lock.
1889         (log-edit-font-lock-keywords): Do not assume case-folding.
1891         * imenu.el: Misc cleanup.  Make docstrings out of comments.
1892         Use lexical-binding.
1893         (imenu--index-alist, imenu--last-menubar-index-alist)
1894         (imenu-menubar-modified-tick): Use defvar-local.
1895         (imenu--split-menu): Remove unused var.
1896         (imenu--cleanup-seen): Declare as global.
1897         (imenu--cleanup): Use dolist.
1899         * subr.el (defvar-local): Add debug spec and doc-string position.
1901 2012-05-08  Glenn Morris  <rgm@gnu.org>
1903         * lisp/language/burmese.el, language/cham.el, language/czech.el:
1904         * language/english.el, language/georgian.el, language/greek.el:
1905         * language/japanese.el, language/khmer.el, language/korean.el:
1906         * language/lao.el, language/misc-lang.el, language/romanian.el:
1907         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1908         * language/thai.el, language/utf-8-lang.el:
1909         Remove no-byte-compile setting.
1911         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
1913 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1915         * progmodes/make-mode.el (makefile-browse):
1916         Remove unnecessary interactive.  (Bug#11324)
1918 2012-05-07  Glenn Morris  <rgm@gnu.org>
1920         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1922         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1924 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1926         * loadup.el: Preload newcomment.el.
1927         * newcomment.el: Move autoload-only code to toplevel.
1929         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1930         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1931         Handle new :right-align column property.
1932         (tabulated-list-print-col): Idem, plus use `display' text-property to
1933         try and preserve alignment for variable pitch fonts.
1935 2012-05-07  Chong Yidong  <cyd@gnu.org>
1937         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1938         (tabulated-list-use-header-line): New var.
1939         (tabulated-list-init-header): Use it.
1940         (tabulated-list-print-fake-header): New function.
1941         (tabulated-list-print): Use it.
1942         (tabulated-list-sort-button-map): Add non-header-line commands.
1943         (tabulated-list-init-header): Add column name property to basic
1944         labels as well.
1945         (tabulated-list-col-sort): Handle non-header-line button case.
1946         (tabulated-list--sort-by-column-name): Fix a corner case.
1948         * buff-menu.el (list-buffers--refresh):
1949         Handle Buffer-menu-use-header-line.
1951 2012-05-06  Chong Yidong  <cyd@gnu.org>
1953         * buff-menu.el: Convert to Tabulated List mode.
1954         (Buffer-menu-buffer+size-width): Make obsolete.
1955         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1956         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1957         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
1958         documentation into docstring of buffer-menu.
1959         (Buffer-menu-toggle-files-only): Add an informative message.
1960         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1961         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1962         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1963         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1964         (Buffer-menu-execute, Buffer-menu-select)
1965         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1966         (Buffer-menu-bury): Use Tabulated List machinery.
1967         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1968         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1969         Delete.
1970         (list-buffers--refresh): New function.
1971         (list-buffers-noselect): Use it.
1972         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1973         (Buffer-menu--pretty-file-name): New helper functions.
1975         * loadup.el: Preload tabulated-list.
1977         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1978         tabulated-list-sort-column.
1979         (tabulated-list-init-header): Add the initial aligning space even
1980         if tabulated-list-padding is zero.
1982 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
1984         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1985         whose cdr is not a cons cell correctly (bug#11038).
1987 2012-05-06  Chong Yidong  <cyd@gnu.org>
1989         * emacs-lisp/tabulated-list.el (tabulated-list-format):
1990         Accept additional plist in column descriptors.
1991         (tabulated-list-init-header): Obey it.
1992         (tabulated-list-get-entry): New function.
1993         (tabulated-list-put-tag): Use it.  Use string-width instead of
1994         length.
1995         (tabulated-list--column-number): New function.
1996         (tabulated-list-print): Use it.
1997         (tabulated-list-print-col): New function.
1998         Set `tabulated-list-column-name' property on each column's text.
1999         (tabulated-list-print-entry): Use it.
2000         (tabulated-list-delete-entry, tabulated-list-set-col):
2001         New functions.
2002         (tabulated-list-sort-column): New command (Bug#11337).
2004         * buff-menu.el (list-buffers): Move C-x C-b binding from
2005         buff-menu.el to bindings.el.
2007         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2008         :advertised-binding feature.
2010 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
2012         * progmodes/compile.el (compilation-internal-error-properties):
2013         Calculate start position correctly when end-col is set but
2014         end-line is not (Bug#11382).
2016 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
2018         * man.el (Man-unindent): Use text-property-default-nonsticky to
2019         prevent untabify from inheriting face properties (Bug#11408).
2021 2012-05-05  Stefan Merten  <smerten@oekonux.de>
2023         * textmodes/rst.el: Major merge with upstream development up to
2024         Docutils SVN r7399 / rst.el V1.2.1.
2026         Clarify maintainership and authors.
2028         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2029         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2030         (rst-official-version, rst-official-cvs-rev, rst-version)
2031         (rst-package-emacs-version-alist): New functions and variables
2032         for version information.
2034         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2035         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2036         (rst-mode-syntax-table, rst-mode): New and corrected functions
2037         and variables representing reStructuredText features.
2039         (rst-re): New function for reStructuredText regexes.  Use in
2040         many places.
2042         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2043         (rst-mode-map): Rebind keys.
2045         (rst-mode-lazy, rst-font-lock-keywords)
2046         (rst-font-lock-extend-region)
2047         (rst-font-lock-extend-region-internal)
2048         (rst-font-lock-extend-region-extend)
2049         (rst-font-lock-find-unindented-line-limit)
2050         (rst-font-lock-find-unindented-line-match)
2051         (rst-adornment-level, rst-font-lock-adornment-level)
2052         (rst-font-lock-adornment-match)
2053         (rst-font-lock-handle-adornment-pre-match-form)
2054         (rst-font-lock-handle-adornment-matcher): Major revision of
2055         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
2057         (rst-preferred-adornments, rst-adjust-hook)
2058         (rst-new-adornment-down, rst-preferred-bullets)
2059         (rst-preferred-bullets, rst-indent, rst-indent-width)
2060         (rst-indent-field, rst-indent-literal-normal)
2061         (rst-indent-literal-minimized, rst-indent-comment): Change,
2062         extend and improve customization.
2064         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2065         (rst-normalize-cursor-position, rst-get-decoration)
2066         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2067         (rst-rstrip, rst-toc-insert-find-delete-contents)
2068         (rst-shift-fill-region, rst-compute-bullet-tabs)
2069         (rst-debug-print-tabs, rst-debug-mark-found)
2070         (rst-shift-region-guts, rst-shift-region-right)
2071         (rst-shift-region-left, rst-use-char-classes)
2072         (rst-font-lock-keywords-function)
2073         (rst-font-lock-indentation-point)
2074         (rst-font-lock-find-unindented-line-begin)
2075         (rst-font-lock-find-unindented-line-end)
2076         (rst-font-lock-find-unindented-line)
2077         (rst-font-lock-adornment-point, rst-font-lock-level)
2078         (rst-adornment-level-alist): Remove functions and variables.
2080         (rst-compare-adornments, rst-get-adornment-match)
2081         (rst-suggest-new-adornment, rst-get-adornments-around)
2082         (rst-adornment-complete-p, rst-get-next-adornment)
2083         (rst-adjust-adornment, rst-display-adornments-hierarchy)
2084         (rst-straighten-adornments): Standardize function names to
2085         use "adornment" instead of "decoration".  Correct callers.
2086         Similar standardizing in many places.
2088         (rst-update-section, rst-adjust, rst-promote-region)
2089         (rst-enumerate-region, rst-bullet-list-region)
2090         (rst-repeat-last-character): Correct use of `interactive'.
2092         (rst-classify-adornment, rst-find-all-adornments)
2093         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2094         (rst-find-leftmost-column, rst-repeat-last-character):
2095         Refactor functions.
2097         (rst-find-title-line, rst-reset-section-caches)
2098         (rst-get-adornments-around, rst-adjust-adornment-work)
2099         (rst-arabic-to-roman, rst-roman-to-arabic)
2100         (rst-insert-list-pos, rst-insert-list-new-item)
2101         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2102         New functions.
2104         (rst-all-sections, rst-section-hierarchy)
2105         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2106         New variables.
2108         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2109         configuration instead of only buffer.  Change where necessary.
2111         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2112         (rst-shift-region, rst-adaptive-fill): New functions for
2113         indentation and filling.
2115         (rst-comment-line-break, rst-comment-indent)
2116         (rst-comment-insert-comment, rst-comment-region)
2117         (rst-uncomment-region): New functions for handling comments.
2119         (rst-compile): Quote shell arguments.
2121         (rst-compile-pdf-preview, rst-compile-slides-preview):
2122         Delete temporary files after use.
2124 2012-05-05  Glenn Morris  <rgm@gnu.org>
2126         * calendar/cal-html.el: Optionally include holidays in the output.
2127         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2128         (cal-html-holidays): New option.
2129         (cal-html-css-default): Add holiday entry.
2130         (holiday-in-range): Autoload it.
2131         (cal-html-htmlify-entry): Add optional class argument.
2132         (cal-html-htmlify-list): Add optional holidays argument.
2133         (cal-html-insert-agenda-days): Include holidays in the output.
2134         (cal-html-one-month): Maybe include holidays.
2136         * calendar/holidays.el (holiday-in-range):
2137         Move here from cal-tex-list-holidays.
2138         * calendar/cal-tex.el (cal-tex-list-holidays):
2139         Make it an obsolete alias for holiday-in-range.  Update all callers.
2141 2012-05-05  Chong Yidong  <cyd@gnu.org>
2143         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2144         Nextstep.
2146 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
2148         * files.el (file-auto-mode-skip): New var.
2149         (set-auto-mode-1): Use it.
2151 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2153         * repeat.el: Use lexical-binding.
2154         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2155         (repeat-undo-count): Remove.
2156         (repeat):
2157         * progmodes/octave-mod.el (octave-abbrev-start):
2158         * progmodes/f90.el (f90-abbrev-start):
2159         * face-remap.el (text-scale-adjust):
2160         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2162         * emacs-lisp/pcase.el (pcase--let*): New function.
2163         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2164         a bit more.
2165         (pcase--split-pred): Be more clever about ruling out overlap between
2166         a predicate and some constant pattern.
2167         (pcase--q1): Use `null' instead of (eq foo nil).
2169         * subr.el (setq-local, defvar-local): New macros.
2170         (kbd): Redefine as an alias.
2171         (with-selected-window): Leave unrelated frames alone.
2172         (set-temporary-overlay-map): New function.
2174 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2176         * subr.el (user-error): New function.
2177         * window.el (switch-to-buffer):
2178         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2179         (smerge-match-conflict):
2180         * simple.el (previous-matching-history-element)
2181         (next-matching-history-element, goto-history-element, undo-more)
2182         (undo-start):
2183         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2184         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2185         (next-file, tags-loop-scan, list-tags, complete-tag):
2186         * progmodes/compile.el (compilation-loop):
2187         * mouse.el (mouse-minibuffer-check):
2188         * man.el (Man-bgproc-sentinel, Man-goto-page):
2189         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2190         (Info-history-forward, Info-follow-reference, Info-menu)
2191         (Info-extract-menu-item, Info-extract-menu-counting)
2192         (Info-forward-node, Info-backward-node, Info-next-menu-item)
2193         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2194         (Info-next-reference, Info-prev-reference, Info-index)
2195         (Info-index-next, Info-follow-nearest-node)
2196         (Info-copy-current-node-name):
2197         * imenu.el (imenu--make-index-alist)
2198         (imenu-default-create-index-function, imenu-add-to-menubar):
2199         * files.el (basic-save-buffer, recover-file):
2200         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2201         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2202         (checkdoc-message-text, checkdoc-defun):
2203         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2204         * cus-edit.el (customize-changed-options, customize-rogue)
2205         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2206         (custom-variable-mark-to-reset-standard)
2207         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2208         (custom-file):
2209         * completion.el (check-completion-length):
2210         * comint.el (comint-search-arg)
2211         (comint-previous-matching-input-string-position)
2212         (comint-previous-matching-input)
2213         (comint-replace-by-expanded-history-before-point, comint-send-input)
2214         (comint-copy-old-input, comint-backward-matching-input)
2215         (comint-goto-process-mark, comint-set-process-mark):
2216         * calendar/calendar.el (calendar-cursor-to-date): Use it.
2217         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2219 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2221         * dabbrev.el (dabbrev--ignore-case-p): New function.
2222         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2223         Use it.
2225         * files.el (automount-dir-prefix): Mark as obsolete.
2227 2012-05-04  Glenn Morris  <rgm@gnu.org>
2229         * patcomp.el, play/bruce.el: Move to obsolete/.
2231 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
2233         Fix minor Y10k bugs.
2234         * arc-mode.el (archive-unixdate):
2235         * autoinsert.el (auto-insert-alist):
2236         * calc/calc-forms.el (math-this-year):
2237         * emacs-lisp/copyright.el (copyright-current-year)
2238         (copyright-update-year, copyright):
2239         * tar-mode.el (tar-clip-time-string):
2240         * time.el (display-time-update):
2241         Don't assume years have 4 digits.
2243 2012-05-04  Chong Yidong  <cyd@gnu.org>
2245         * dos-w32.el (file-name-buffer-file-type-alist)
2246         (direct-print-region-use-command-dot-com):
2247         * ffap.el (ffap-menu-regexp):
2248         * find-file.el (ff-special-constructs):
2249         * follow.el (follow-debug):
2250         * forms.el (forms--debug):
2251         * iswitchb.el (iswitchb-all-frames):
2252         * ido.el (ido-all-frames):
2253         * emacs-lisp/timer.el (timer-max-repeats):
2254         * mail/feedmail.el (feedmail-mail-send-hook)
2255         (feedmail-mail-send-hook-queued):
2256         * mail/footnote.el (footnote-signature-separator):
2257         * mail/mailabbrev.el (mail-alias-separator-string)
2258         (mail-abbrev-mode-regexp):
2259         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2260         * progmodes/idlwave.el (idlwave-libinfo-file)
2261         (idlwave-default-completion-case-is-down)
2262         (idlwave-library-routines): Convert defvars to defcustoms.
2264         * mail/rmail.el (rmail-decode-mime-charset):
2265         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2266         (idlwave-shell-fix-inserted-breaks)
2267         (idlwave-shell-activate-alt-keybindings)
2268         (idlwave-shell-use-breakpoint-glyph):
2269         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2271 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2273         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2275 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
2277         * progmodes/verilog-mode.el (font-lock-keywords):
2278         Fix mis-highligting auto.  Reported by Craig Barner.
2279         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2280         defines from global name space. Reported by Dan Dever.
2281         (verilog-auto-reset, verilog-auto-reset-widths)
2282         (verilog-auto-tieoff): Support using unbased numbers for
2283         AUTORESET and AUTOTIEOFF.
2284         (verilog-submit-bug-report): Update variable list.
2285         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2286         parenthesis from not matching. Reported by Michael Rytting.
2287         (verilog-auto-template-lint): Fix hash error when linting modules
2288         with no used templates.
2289         (verilog-warn, verilog-warn-error)
2290         (verilog-warn-fatal): When non-interactive report multiple
2291         warnings before exiting.  Suggested by Brad Dobbie.
2292         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2293         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2294         to report unused template errors.  Reported by Brad Dobbie.
2295         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2296         nets, bug438. Reported by Vns Blore.
2297         (verilog-auto-inout-module, verilog-auto-reg)
2298         (verilog-read-decls, verilog-read-sub-decls-sig)
2299         (verilog-signals-edit-wire-reg, verilog-signals-with):
2300         Fix passing of Verilog data types in ANSI input/output ports
2301         such as "output logic" into the AUTOs. Special case "wire" and
2302         "reg" for backwards compatibility presuming Verilog 2001.
2303         (verilog-auto-ascii-enum): Add "auto enum" as alias.
2304         (verilog-preprocess): Fix replication of preprocess output.
2305         Reported by Brad Dobbie.
2306         (verilog-auto-inst-interfaced-ports):
2307         Create verilog-auto-inst-interfaced-ports, bug429.
2308         Reported by Julian Gorfajn.
2309         (verilog-after-save-font-hook)
2310         (verilog-before-save-font-hook): New variable.
2311         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2312         (verilog-save-font-mods): Wrap disabling fontification, reported
2313         by David Rogoff.
2314         (verilog-do-indent, verilog-pretty-declarations-auto)
2315         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2316         Reported by Pierre-David Pfister.
2317         (verilog-set-auto-endcomments): Fix endtask auto comments outside
2318         of class declarations, bug292.  Reported by Kevin Heilman.
2319         (verilog-read-decls): Fix 'parameter type' not appearing in
2320         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
2321         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2322         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2323         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2324         Reported by David Kravitz.
2326 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
2328         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2329         assignment with tests in ifs and for loops.
2330         (verilog-extended-complete-re, verilog-complete-reg): Change so
2331         that DPI inport functions don't look like fuction declarations.
2332         (verilog-pretty-expr): Don't line up assignment
2333         operations to the test and increment in if and for loops
2334         (verilog-extended-complete-re, verilog-complete-reg): Change so
2335         that DPI inport functions don't look like fuction declarations
2337 2012-05-03  Kenichi Handa  <handa@m17n.org>
2339         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2340         decoding, and show a warning message without signaling an error
2341         (Bug#11282).
2343 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2345         * emacs-lisp/bytecomp.el
2346         (byte-compile-file-form-custom-declare-variable): Compile all elements,
2347         since cconv.el might have introduced :fun-body, internal-make-closure,
2348         and friends for bytecomp to handle (bug#11391).
2349         * custom.el (defcustom): Avoid ((λ ..) ..).
2351 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2353         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2355 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
2357         * notifications.el (dbus-debug):
2358         * term/linux.el (gpm-mouse-enable):
2359         * term/screen.el (xterm-register-default-colors): Declare.
2361 2012-05-02  Chong Yidong  <cyd@gnu.org>
2363         * cus-start.el (gc-cons-percentage, exec-suffixes)
2364         (dos-display-scancodes, dos-hyper-key, dos-super-key)
2365         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2366         (make-cursor-line-fully-visible, void-text-area-pointer)
2367         (font-list-limit): Add customization data.
2369         * allout.el (allout-exposure-change-functions)
2370         (allout-structure-added-functions)
2371         (allout-structure-deleted-functions)
2372         (allout-structure-shifted-functions): Rename abnormal hooks from
2373         *-hook, and convert to defcustoms.
2374         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2375         Convert to defcustoms.
2376         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2378         * allout-widgets.el: Hook callers changed.
2380 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
2382         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2383         the yanked message in preference to the default value of
2384         buffer-file-coding-system.
2386 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
2388         * window.el (display-buffer--action-function-custom-type):
2389         Fix entry.
2391 2012-05-02  Alan Mackenzie  <acm@muc.de>
2393         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2395 2012-05-01  Glenn Morris  <rgm@gnu.org>
2397         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2399         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
2401         * cus-edit.el (custom-variable-documentation): Simplify with format.
2403 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2404             Stefan Monnier  <monnier@iro.umontreal.ca>
2406         * simple.el (suggest-key-bindings, execute-extended-command):
2407         Move from keyboard.c.
2409 2012-05-01  Chong Yidong  <cyd@gnu.org>
2411         * follow.el: Eliminate advice.
2412         (set-process-filter, process-filter, sit-for): Advice deleted.
2413         (follow-mode-off-hook): Obsolete hook removed.
2414         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2415         Vars deleted.
2416         (follow-auto): Use a :set function.
2417         (follow-mode): Rewritten.  Don't advise process filters.
2418         (follow-switch-to-current-buffer-all, follow-scroll-up)
2419         (follow-scroll-down): Assume follow-mode is bound.
2420         (follow-comint-scroll-to-bottom)
2421         (follow-align-compilation-windows): New functions.
2422         (follow--window-sorter): New function.
2423         (follow-all-followers): Use it to explicitly sort windows by their
2424         positions; don't make assumptions about next-window order.
2425         (follow-windows-start-end, follow-delete-other-windows-and-split)
2426         (follow-calc-win-start): Doc fix.
2427         (follow-windows-aligned-p, follow-select-if-visible): Don't call
2428         vertical-motion unnecessarily.
2429         (follow-adjust-window): New function.
2430         (follow-post-command-hook): Use it.
2431         (follow-call-set-process-filter, follow-call-process-filter)
2432         (follow-intercept-process-output, follow-tidy-process-filter-alist)
2433         (follow-stop-intercept-process-output, follow-generic-filter):
2434         Functions deleted.
2435         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2436         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2437         New functions, replacing advice on scroll-bar-* commands.
2438         (follow-mwheel-scroll): New function (Bug#4112).
2440         * comint.el (comint-adjust-point): New function.
2441         (comint-postoutput-scroll-to-bottom): Use it.
2442         Call follow-comint-scroll-to-bottom for Follow mode buffers.
2444 2012-05-01  Glenn Morris  <rgm@gnu.org>
2446         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2447         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2448         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2449         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2450         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2451         Remove no-byte-compile setting.
2453 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2455         * minibuffer.el (completion-table-with-quoting): Fix compatibility
2456         all-completions code to not return a number in the last cdr.
2458 2012-04-30  Leo Liu  <sdl.web@gmail.com>
2460         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2461         read-only error.
2463 2012-04-29  Chong Yidong  <cyd@gnu.org>
2465         * follow.el (follow-calc-win-end): Rewrite to handle partial
2466         screen lines correctly (Bug#8390).
2467         (follow-avoid-tail-recenter): Minor cleanup.
2469 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2471         Avoid the obsolete `assoc' package.
2472         * speedbar.el (speedbar-refresh): Avoid adelete.
2473         (speedbar-file-lists): Simplify and avoid aput.
2474         * man.el (Man--sections, Man--refpages): New vars, replacing
2475         Man-sections-alist and Man-refpages-alist.
2476         (Man-build-section-alist, Man-build-references-alist):
2477         Use them; avoid aput.
2478         (Man--last-section, Man--last-refpage): New vars.
2479         (Man-follow-manual-reference): Use them.
2480         Use the `default' arg of completing-read.
2481         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
2483 2012-04-27  Chong Yidong  <cyd@gnu.org>
2485         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2487         * startup.el (x-apply-session-resources): New function.
2489         * term/ns-win.el (ns-initialize-window-system):
2490         * term/w32-win.el (w32-initialize-window-system):
2491         * term/x-win.el (x-initialize-window-system): Use it to properly
2492         set menu-bar-mode and other vars from X resources, even if the
2493         initial frame is not a window-system frame (Bug#2299).
2495         * subr.el (read-key): Avoid running filter function when setting
2496         up temporary tool bar entries (Bug#9922).
2498 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
2500         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2501         (Bug#11344)
2503 2012-04-27  Chong Yidong  <cyd@gnu.org>
2505         * select.el (xselect--encode-string): New function, split from
2506         xselect-convert-to-string.
2507         (xselect-convert-to-string): Use it.
2508         (xselect-convert-to-filename, xselect-convert-to-os)
2509         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2510         returned strings are properly encoded (Bug#11315).
2512 2012-04-27  Chong Yidong  <cyd@gnu.org>
2514         * simple.el (delete-active-region): Move to killing custom group.
2516 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
2518         * progmodes/which-func.el (which-func-current): Quote %
2519         characters for mode-line processing.
2521 2012-04-27  Chong Yidong  <cyd@gnu.org>
2523         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2524         reaching eob (Bug#11286).
2526 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
2528         * progmodes/gdb-mi.el (gdb-control-level): New variable.
2529         (gdb): Make it buffer-local and init to zero.
2530         (gdb-control-commands-regexp): New variable.
2531         (gdb-send): Don't wrap in "-interpreter-exec console" if
2532         gdb-control-level is positive.  Increment gdb-control-level
2533         whenever the command matches gdb-control-commands-regexp, and
2534         decrement it each time the command is "end".  (Bug#11279)
2536 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
2538         * window.el (adjust-window-trailing-edge, enlarge-window)
2539         (shrink-window, window-resize):
2540         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2541         windows (Bug#11276).
2543 2012-04-27  Chong Yidong  <cyd@gnu.org>
2545         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2546         fix "missing prefix" warning.  All callers changed.
2548 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2550         * emacs-lisp/assoc.el: Move to obsolete/.
2552 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2554         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2556         * term/ns-win.el (ns-define-service):
2557         * progmodes/pascal.el (pascal-goto-defun):
2558         * progmodes/js.el (js--read-tab):
2559         * progmodes/etags.el (tags-lazy-completion-table):
2560         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2561         * emacs-lisp/ewoc.el (ewoc--wrap):
2562         * emacs-lisp/assoc.el (aput, adelete, amake):
2563         * doc-view.el (doc-view-convert-current-doc):
2564         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2566 2012-04-26  Chong Yidong  <cyd@gnu.org>
2568         * image.el (image-type-from-buffer): Only return supported image
2569         type (Bug#9045).
2571         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2572         value, for symmetry with diff-end-of-hunk.
2573         (diff-split-hunk, diff-find-source-location)
2574         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2575         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2576         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2577         compute the relevant hunk or file properly (Bug#6005).
2578         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2580 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2582         * vc/vc-mtn.el:
2583         * vc/vc-hg.el:
2584         * vc/vc-git.el:
2585         * vc/vc-dir.el:
2586         * vc/vc-cvs.el:
2587         * vc/vc-bzr.el:
2588         * vc/vc-arch.el:
2589         * vc/vc.el: Replace lexical-let by lexical-binding.
2590         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2591         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2592         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2594 2012-04-26  Chong Yidong  <cyd@gnu.org>
2596         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2597         (diff-mode-shared-map): Bind it to / and [remap undo].
2599         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2600         (ediff-window-setup-function): Use it as the default, to set up
2601         windows based on whether the current frame is graphical (Bug#2138).
2602         (ediff-choose-window-setup-function-automatically): Make obsolete.
2604         * vc/ediff-init.el: Always define ediff-pixel-width/height.
2606 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2608         * ffap.el: Remove old code for obsolete package.
2609         (ffap-complete-as-file-p): Remove.
2611         Use completion-table-with-quoting for comint and pcomplete.
2612         * comint.el (comint--unquote&requote-argument)
2613         (comint--unquote-argument, comint--requote-argument): New functions.
2614         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2615         (comint-quote-filename): Use regexp-opt-charset.
2616         (comint--common-suffix, comint--common-quoted-suffix)
2617         (comint--table-subvert): Remove.
2618         (comint-unquote-function, comint-requote-function): New vars.
2619         (comint--complete-file-name-data): Use them with
2620         completion-table-with-quoting.
2621         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2622         * pcomplete.el (pcomplete-arg-quote-list)
2623         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2624         (pcomplete-unquote-argument-function): Default to non-nil.
2625         (pcomplete-unquote-argument): Simplify.
2626         (pcomplete--common-quoted-suffix): Remove.
2627         (pcomplete-requote-argument-function): New var.
2628         (pcomplete--common-suffix): New function.
2629         (pcomplete-completions-at-point): Use completion-table-with-quoting
2630         and completion-table-subvert.
2632         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2633         (minibuffer--double-dollars): Preserve properties.
2634         (completion--sifn-requote): New function.
2635         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2637         * minibuffer.el: Add support for completion of quoted/escaped data.
2638         (completion-table-with-quoting, completion-table-subvert): New funs.
2639         (completion--twq-try, completion--twq-all): New functions.
2640         (completion--nth-completion): New function.
2641         (completion-try-completion, completion-all-completions): Use it.
2643 2012-04-25  Leo Liu  <sdl.web@gmail.com>
2645         * progmodes/python.el (python-pdbtrack-get-source-buffer):
2646         Use compilation-message if available to find real filename.
2648 2012-04-25  Chong Yidong  <cyd@gnu.org>
2650         * vc/diff-mode.el (diff-setup-whitespace): New function.
2651         (diff-mode): Use it.
2653         * vc/diff.el (diff-sentinel):
2654         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2655         Whitespace mode variables based on diff style (Bug#8612).
2657 2012-04-25  Leo Liu  <sdl.web@gmail.com>
2659         * progmodes/python.el (python-send-region): Add suffix .py to the
2660         temp file.
2662         * files.el (auto-mode-alist): Use javascript-mode instead.
2664 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
2666         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
2668         * soap-client.el (soap-resolve-references-for-sequence-type)
2669         (soap-resolve-references-for-array-type): Hack to prevent self
2670         references, see Bug#9.
2671         (soap-parse-envelope): Report the contents of the 'detail' node
2672         when receiving a fault reply.
2673         (soap-parse-envelope): Report the contents of the entire 'detail' node.
2675         * soap-inspect.el (soap-sample-value-for-simple-type)
2676         (soap-inspect-simple-type): New function.
2678         * soap-client.el (soap-simple-type): New struct.
2679         (soap-default-xsd-types, soap-default-soapenc-types)
2680         (soap-decode-basic-type, soap-encode-basic-type):
2681         support unsignedInt and double basic types.
2682         (soap-resolve-references-for-simple-type)
2683         (soap-parse-simple-type, soap-encode-simple-type): New function.
2684         (soap-parse-schema): Parse xsd:simpleType declarations.
2686         * soap-client.el (soap-default-xsd-types)
2687         (soap-default-soapenc-types): Add integer, byte and anyURI types.
2688         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2689         the local name of "soapenc:Array".
2690         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2691         decoding integer, byte and anyURI xsd types.
2693 2012-04-25  Chong Yidong  <cyd@gnu.org>
2695         * cus-edit.el (custom-buffer-create-internal): Update header text.
2697 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
2699         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2700         settings on 'system-type', not on 'window-system'.  On MS-Windows,
2701         set interactive-mode on in GDB.
2703 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2705         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2706         (ruby-syntax-propertize-regexp): Remove.
2707         (ruby-syntax-propertize-function): Split regexp into chunks.
2708         Match following code directly.
2710 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
2712         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2713         (ruby-syntax-propertize-regexp): New function.
2714         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2715         by a special keyword.
2717         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2718         (ruby-syntax-general-delimiters-goto-beg)
2719         (ruby-syntax-propertize-general-delimiters): New functions.
2720         (ruby-syntax-propertize-function): Use them to handle GDL.
2721         (ruby-font-lock-keywords): Move old handling of GDL...
2722         (ruby-font-lock-syntactic-keywords): .. to here.
2723         (ruby-calculate-indent): Adjust indentation for GDL.
2725 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
2727         * notifications.el (top): Remove unneeded declarations.
2728         (notifications-specification-version): Change to "1.2".
2729         (notifications-interface, notifications-notify-method)
2730         (notifications-close-notification-method): Fix docstring.
2731         (notifications-get-capabilities-method): New defconst.
2732         (notifications-notify): Add :action-items, :resident and
2733         :transient hints.  Change "image_data" to "image-data" and
2734         "image_path" to "image-path".
2735         (notifications-get-capabilities): New defun.
2737 2012-04-24  Leo Liu  <sdl.web@gmail.com>
2739         * progmodes/python.el: Move hideshow setup to the end.
2741 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
2743         * window.el (handle-select-window): Clear echo area since this is
2744         no more done by read_char (Bug#11304).
2746 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2748         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2749         and `/ M' to filter-derived-mode.
2750         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2751         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2752         (ibuffer-mark-by-mode): Use default rather than initial-input.
2753         (ibuffer-filter-by-derived-mode): Autoload and require-match.
2755 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
2757         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2758         (ibuffer-filter-by-derived-mode): New filter.
2759         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2761 2012-04-23  Andreas Politz  <politza@fh-trier.de>
2763         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2765 2012-04-23  Chong Yidong  <cyd@gnu.org>
2767         * cus-edit.el (customize-apropos, customize-apropos-options):
2768         Disable matching of non-option variables (Bug#11176).
2769         (customize-option, customize-option-other-window)
2770         (customize-changed-options): Doc fix.
2771         (customize-apropos-options, customize-apropos-faces)
2772         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2774         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2775         Fix word list splitting (Bug#11132).
2776         (apropos-symbol, apropos-keybinding, apropos-label)
2777         (apropos-property, apropos-function-button)
2778         (apropos-variable-button, apropos-misc-button): New faces.
2779         (apropos-symbol-face, apropos-keybinding-face)
2780         (apropos-label-face, apropos-property-face, apropos-match-face):
2781         Variables removed (Bug#8396).
2782         (apropos-library-button, apropos-format-plist, apropos-print)
2783         (apropos-print-doc, apropos-describe-plist): Callers changed.
2785 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
2787         * net/xesam.el (xesam-mode-map): Use let-bound map in
2788         initialization.  (Bug#11292)
2790 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2792         Preserve ispell session localwords when switching back to
2793         original buffer.
2795         * ispell.el (ispell-buffer-session-localwords): New buffer-local
2796         variable to hold buffer session localwords.
2797         (ispell-kill-ispell): add option 'clear to delete session
2798         localwords.
2799         (ispell-command-loop, ispell-change-dictionary)
2800         (ispell-buffer-local-words): Preserve session localwords when
2801         needed.
2803         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2804         Preserve session localwords when needed.
2806 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2808         * ispell.el (ispell-insert-word) Remove unneeded function using
2809         obsolete `translation-table-for-input'.
2810         (ispell-word, ispell-process-line, ispell-complete-word):
2811         Use plain `insert' instead of removed `ispell-insert-word'.
2813 2012-04-22  Chong Yidong  <cyd@gnu.org>
2815         * cus-edit.el (custom-variable-menu)
2816         (custom-variable-reset-saved, custom-face-menu)
2817         (custom-face-reset-saved): If there is no saved value, make the
2818         "reset-saved" operation bring back the default (Bug#9509).
2819         (custom-face-state): Properly detect themed faces.
2821         * faces.el (face-spec-set): Stop supporting deprecated form of
2822         third arg.
2824 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
2826         Move functions from C to Lisp.  Make non-blocking method calls
2827         the default.  Implement further D-Bus standard interfaces.
2829         * net/dbus.el (dbus-message-internal): Declare function.
2830         Remove unneeded function declarations.
2831         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2832         (dbus-message-type-method-return, dbus-message-type-error)
2833         (dbus-message-type-signal): Declare variables.  Remove local
2834         definitions.
2835         (dbus-interface-dbus, dbus-interface-peer)
2836         (dbus-interface-introspectable, dbus-interface-properties)
2837         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2838         Adapt docstring.
2839         (dbus-interface-objectmanager): New defconst.
2840         (dbus-call-method, dbus-call-method-asynchronously)
2841         (dbus-send-signal, dbus-method-return-internal)
2842         (dbus-method-error-internal, dbus-register-service)
2843         (dbus-register-signal, dbus-register-method): New defuns, moved
2844         from dbusbind.c
2845         (dbus-call-method-handler, dbus-setenv)
2846         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2847         New defuns.
2848         (dbus-call-method-non-blocking): Make it an obsolete function.
2849         (dbus-unregister-object, dbus-unregister-service)
2850         (dbus-handle-event, dbus-register-property)
2851         (dbus-property-handler): Obey the new structure of
2852         `bus-registered-objects'.
2853         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
2854         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2855         Use `dbus-call-method'.
2857 2012-04-22  Chong Yidong  <cyd@gnu.org>
2859         * cus-edit.el (custom-commands, custom-reset-menu)
2860         (Custom-reset-standard): Tweak labels.
2861         (custom-reset-button-menu): Change default to t.
2862         (custom-buffer-create-internal): For the custom-reset-button-menu
2863         case, put the revert button first.
2864         (custom-group-subtitle): New face.
2865         (custom-group-value-create): Align docstring to a specific column.
2867         * wid-edit.el (widget-documentation-link-add): Don't handle
2868         indentation in this function.
2869         (widget-documentation-string-indent-to): New function.
2870         (widget-documentation-string-value-create): Use it.
2872         * autorevert.el (auto-revert):
2873         * epg-config.el (epg):
2874         * ibuffer.el (ibuffer):
2875         * mpc.el (mpc):
2876         * ses.el (ses):
2877         * eshell/eshell.el (eshell):
2878         * net/ange-ftp.el (ange-ftp):
2879         * progmodes/ebnf2ps.el (postscript):
2880         * progmodes/flymake.el (flymake):
2881         * progmodes/prolog.el (prolog):
2882         * progmodes/verilog-mode.el (verilog-mode):
2883         * progmodes/which-func.el (which-func):
2884         * term/xterm.el (xterm):
2885         * textmodes/picture.el (picture):
2886         * textmodes/tildify.el (tildify):
2887         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2888         customization buffers.
2890 2012-04-22  Alan Mackenzie  <acm@muc.de>
2892         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2893         Adding a ) can hide the resulting (..) from searches.  Fix it.
2894         Bound the backward search to the position of the existing (.
2896 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
2898         * progmodes/verilog-mode.el (verilog-mode): Check whether
2899         which-func-modes is t before adding verilog-mode.
2900         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2902 2012-04-21  Leo Liu  <sdl.web@gmail.com>
2904         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2906 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
2908         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2909         filling of the last column of a table (Bug#5635).
2910         (woman-find-next-control-line): New arg, specifying an additional
2911         regexp component for the control line.
2912         (woman2-roff-buffer): Use it.
2913         (woman-break-table): New function.
2914         (woman2-TS): Use it.
2916 2012-04-21  Chong Yidong  <cyd@gnu.org>
2918         * woman.el (woman-set-buffer-display-table, woman-decode-region)
2919         (woman-horizontal-escapes, woman-negative-vertical-space)
2920         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2921         (WoMan-warn-ignored): Use ?\s instead of ?\ .
2923 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2925         * minibuffer.el (completion-file-name-table): Complete user names.
2927 2012-04-20  Leo Liu  <sdl.web@gmail.com>
2929         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2930         and pcase-let*.
2932 2012-04-20  Chong Yidong  <cyd@gnu.org>
2934         * server.el (server-execute): Respect initial-buffer-choice if it
2935         is a string and there are no files to open (Bug#2825).
2936         (server-create-window-system-frame, server-create-tty-frame):
2937         Don't switch buffers here.
2938         (server-process-filter): Only try to open a window system frame if
2939         compiled with graphical support (Bug#8314).
2941 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
2943         * battery.el (battery-echo-area-format): Display remaining time
2944         for sysfs backend too (Bug#11269).
2945         (battery-linux-sysfs): Fix conditional for the charge.
2947 2012-04-20  Chong Yidong  <cyd@gnu.org>
2949         * progmodes/gdb-mi.el (gdb): Revert previous change.
2950         (gdb-inferior-io--init-proc): New function.
2951         (gdb-init-1): Use it.
2952         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2953         responsible for allocating a new pty and hooking it to gdb when
2954         the old pty gets an EIO due to process exit.
2955         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
2956         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2957         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2959 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
2961         * window.el (window-min-size, window-sizable, window-min-delta)
2962         (window-max-delta, window--resizable, window-resizable)
2963         (window-total-size, window-full-height-p, window-full-width-p)
2964         (window-in-direction, window--resize-mini-window, window-resize)
2965         (window--resize-child-windows-normal)
2966         (window--resize-child-windows, window--resize-siblings)
2967         (window--resize-this-window, adjust-window-trailing-edge)
2968         (enlarge-window, shrink-window): Doc fixes.
2970 2012-04-20  Chong Yidong  <cyd@gnu.org>
2972         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2973         New function to call delete-process on the gdb-inferior buffer's pty.
2974         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2975         pty process (Bug#11273).
2976         (gdb-update): New arg to suppress talking to the gdb process.
2977         (gdb-done-or-error): Use it.
2978         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2979         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2980         sentinel not being called.
2982         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2984         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2986 2012-04-20  Glenn Morris  <rgm@gnu.org>
2988         * net/network-stream.el (open-network-stream): Doc fix.
2990 2012-04-20  Chong Yidong  <cyd@gnu.org>
2992         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2994 2012-04-20  Alan Mackenzie  <acm@muc.de>
2996         Ensure searching for keywords is case sensitive.
2998         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2999         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3000         (c-defun-name, c-mark-function, c-cpp-define-name)
3001         (c-comment-indent, c-scan-conditionals, c-indent-defun)
3002         (c-context-line-break): Bind case-fold-search to nil.
3004         * progmodes/cc-mode.el (c-font-lock-fontify-region):
3005         Bind case-fold-search to nil.
3007 2012-04-20  Chong Yidong  <cyd@gnu.org>
3009         * mail/sendmail.el (mail-bury): Call return action with the right
3010         Rmail buffer (Bug#11242).
3012         * server.el (server-process-filter): Handle corner case where both
3013         tty and nowait options are present (Bug#11102).
3015 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3017         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3018         (top level): Put into the executable the ident-style '$Id:' tag on
3019         windows-nt as well.
3021 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3023         * electric.el (electric-indent-post-self-insert-function): Check that
3024         electric-indent-mode is enabled in current buffer.
3026 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3028         * imenu.el (imenu-progress-message): Restore; it is "used" in
3029         erc/erc-imenu.el and net/snmp-mode.el.
3031 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
3033         * avoid.el (mouse-avoidance-mode): Mark unused arg.
3034         (mouse-avoidance-nudge-mouse): Remove unused binding.
3036         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3038         * descr-text.el (describe-char):
3039         * progmodes/python.el (python-describe-symbol):
3040         Don't call `toggle-read-only', set `buffer-read-only'.
3042         * imenu.el (imenu-default-goto-function): Mark unused args.
3043         (imenu-progress-message): Remove obsolete macro; all callers changed.
3045         * subr.el (keymap-canonicalize): Remove unused binding.
3046         (read-passwd): Mark unused arg.
3048         * tutorial.el (tutorial--display-changes): Remove unused binding.
3049         (tutorial--save-tutorial-to): Remove unused variable.
3051         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3052         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3053         (package-generate-autoloads, package-menu--generate)
3054         (package-menu--find-upgrades): Remove unused bindings.
3056         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3057         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
3058         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3059         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3060         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3061         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3062         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3063         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3064         (cua-delete-char-rectangle): Mark unused args.
3065         (cua-align-rectangle): Remove unused binding.
3067         * mail/rmail.el (compilation--message->loc)
3068         (epa--find-coding-system-for-mime-charset): Declare.
3070         * net/dbus.el (dbus-register-service): Declare.
3071         (dbus-name-owner-changed-handler): Remove unused binding.
3073         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3074         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3075         (nxml-scan-backward-within): Mark unused arg.
3076         (nxml-dynamic-markup-word): Remove unused binding.
3078         * mouse.el (mouse-menu-major-mode-map):
3079         * emacs-lisp/authors.el (authors-scan-change-log)
3080         (authors-add-to-author-list):
3081         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3082         * emacs-lisp/smie.el (smie-auto-fill):
3083         * mail/sendmail.el (mail-bury):
3084         * mail/unrmail.el (unrmail):
3085         * net/tls.el (open-tls-stream):
3086         * textmodes/picture.el (picture-mouse-set-point):
3087         Remove unused bindings.
3089 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
3091         * net/tramp.el (tramp-action-password): Let-bind
3092         `enable-recursive-minibuffers' to t.
3094 2012-04-18  Sam Steingold  <sds@gnu.org>
3096         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3097         instead of 'string to accommodate values like [f11].
3098         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3099         * progmodes/gdb-mi.el: Likewise.
3101 2012-04-18  Leo Liu  <sdl.web@gmail.com>
3103         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3104         current buffer.
3105         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3106         LOCAL is nil.
3108 2012-04-18  Chong Yidong  <cyd@gnu.org>
3110         * simple.el (line-move): Use forward-line if in batch mode
3111         (Bug#11053).
3113 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
3115         * files.el (after-find-file): Do not try to add a final newline if
3116         the buffer is read-only (Bug#11156).
3118 2012-04-17  Richard Stallman  <rms@gnu.org>
3120         * mail/rmail.el (rmail-start-mail):
3121         Pass (rmail-mail-return...) for the return-action.
3122         Pass (rmail-yank-current-message...) for the yank-action.
3123         (rmail-yank-current-message): New function.
3124         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3125         (rmail-reply): Likewise.
3126         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3128         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3129         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
3130         buffer, not newbuf.
3132 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
3134         * server.el (server-ensure-safe-dir): Simplify.
3136 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3138         * emacs-lisp/smie.el: Provide smarter auto-filling.
3139         (smie-auto-fill): New function.
3140         (smie-setup): Use it.
3142         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3144 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
3146         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3147         (comment-indent): Use it.
3149 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3151         * ses.el: The overall change is to add cell renaming, that is
3152         setting fancy names for cell symbols other than name matching
3153         "\\`[A-Z]+[0-9]+\\'" regexp .
3154         (ses-localvars): Add ses--renamed-cell-symb-list.
3155         (ses-create-cell-variable): New defun.
3156         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3157         (ses-relocate-formula): Relocate formulas only for cells the
3158         symbols of which are not renamed, i.e. symbols whose names do not
3159         match regexp "\\`[A-Z]+[0-9]+\\'".
3160         (ses-relocate-all): Relocate values only for cells the symbols of
3161         which are not renamed.
3162         (ses-load): Create cells variables as the (ses-cell ...) are read,
3163         in order to check row col consistency with cell symbol name only
3164         for cells that are not renamed.
3165         (ses-replace-name-in-formula): New defun.
3166         (ses-rename-cell): New defun.
3168 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
3170         * progmodes/perl-mode.el (perl-indent-parens-as-block):
3171         New option (bug#11118).
3172         (perl-calculate-indent): Respect it.
3174 2012-04-17  Glenn Morris  <rgm@gnu.org>
3176         * dired-aux.el (dired-mark-read-string): Doc fix.
3178 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
3180         * dired-aux.el (dired-mark-read-string): Offer optional completion.
3181         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
3183 2012-04-17  Glenn Morris  <rgm@gnu.org>
3185         * mouse.el (mouse-drag-track):
3186         * speedbar.el (speedbar-frame-mode):
3187         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3189 2012-04-16  Leo Liu  <sdl.web@gmail.com>
3191         * progmodes/python.el: Trivial cleanup.
3193 2012-04-16  Glenn Morris  <rgm@gnu.org>
3195         * vc/vc.el (vc-string-prefix-p):
3196         * vc/pcvs-util.el (cvs-string-prefix-p):
3197         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3198         * mpc.el (mpc-string-prefix-p):
3199         Make all of these into obsolete aliases for string-prefix-p.
3200         Update callers.
3201         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3203         * textmodes/two-column.el: Move custom options to the start.
3204         (frame-width): Remove compat definition.
3205         (2C-associate-buffer, 2C-dissociate):
3206         Use with-current-buffer rather than save-excursion.
3207         (2C-dissociate): Force a mode-line update.
3208         (2C-autoscroll): Use ignore-errors.
3210         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3211         Autoload trivia.
3213         * emacs-lisp/cl-extra.el (*random-state*):
3214         Remove unnecessary declaration.
3216         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3218         * play/cookie1.el (cookie-snarf):
3219         Give an explicit error if input file cannot be read.
3221         * play/yow.el (yow-file): Use expand-file-name rather than concat.
3223         * progmodes/perl-mode.el (c-macro-expand):
3224         Remove unnecessary autoload (it is in loaddefs.el).
3226         * textmodes/picture.el (picture-desired-column)
3227         (picture-update-desired-column): Convert comments to doc-strings.
3228         (picture-substitute): Remove function.
3229         (picture-mode-map): Initialize in the defvar.
3231         * woman.el: Remove eval-after-load for tar-mode.
3232         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3233         (woman-tar-extract-file): Autoload it.
3235         * frame.el (automatic-hscrolling): Make this alias obsolete.
3237 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3239         * ispell.el (ispell-set-spellchecker-params): Post-process
3240         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3241         (ispell-dictionary-base-alist): Revert to original XEmacs
3242         friendly version for default.  [:alpha:] will be added in
3243         `ispell-set-spellchecker-params' if needed
3245 2012-04-16  Chong Yidong  <cyd@gnu.org>
3247         * image.el (imagemagick--extension-regexp): New variable.
3248         (imagemagick-register-types): Use it.
3249         (imagemagick-types-inhibit): Add :set function.  Allow new value
3250         of t to inhibit all types.
3252         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3253         so we can preload it.
3255         * loadup.el (fboundp): Preload regexp-opt, needed by
3256         imagemagick-register-types.
3258 2012-04-15  Chong Yidong  <cyd@gnu.org>
3260         * frame.el (scrolling): Remove nearly unused customization group.
3262         * scroll-all.el (scroll-all-mode): Move to windows group.
3264 2012-04-15  Chong Yidong  <cyd@gnu.org>
3266         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3268 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3270         Avoid the use of ((lambda ...) ...) in lexical-binding code.
3271         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3273 2012-04-15  Glenn Morris  <rgm@gnu.org>
3275         * simple.el (process-file-side-effects): Doc fix.
3277 2012-04-15  Glenn Morris  <rgm@gnu.org>
3279         * international/mule-cmds.el (set-language-environment): Doc fix.
3281 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
3283         * server.el (server-auth-key, server-generate-key): Doc fixes.
3284         (server-get-auth-key): Doc fix.  Use `string-match-p'.
3285         (server-start): Reflow docstring.
3287 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
3289         * server.el (server-generate-key): `called-interactively-p'
3290         requires a parameter.
3292 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
3294         * server.el (server-auth-key): New variable.
3295         (server-generate-key, server-get-auth-key): New function.
3296         (server-start): Use the new variable and functions to allow
3297         setting a permanent server key (bug#9423).
3299 2012-04-14  Leo Liu  <sdl.web@gmail.com>
3301         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3303 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
3305         Spelling fixes.
3306         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3307         Emacs uses American spelling.
3309 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
3311         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3312         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
3313         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3314         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
3316 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3318         * progmodes/which-func.el (which-func-modes): Change default.
3320 2012-04-14  Kim F. Storm  <storm@cua.dk>
3322         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3323         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3325 2012-04-14  Chong Yidong  <cyd@gnu.org>
3327         * custom.el (custom-theme-set-variables): Doc fix.
3329 2012-04-14  Glenn Morris  <rgm@gnu.org>
3331         * international/mule.el (set-auto-coding-for-load): Doc fix.
3333 2012-04-14  Alan Mackenzie  <acm@muc.de>
3335         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3336         imenu work again for Objective C Mode.  Correct the *-index values,
3337         these having been disturbed by a previous change in 2011-08.
3339         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3340         Correct two search limits.
3342 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3344         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3346 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
3348         * international/characters.el: Fix sorting.
3350 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3352         * international/characters.el: Add more missing Latin case pairs.
3354 2012-04-14  Glenn Morris  <rgm@gnu.org>
3356         * files.el (dir-locals-set-class-variables): Doc fix.
3358 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3360         * international/characters.el: Add set-case-syntax-pair call for
3361         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3362         counterpart.  (Bug#11209)
3364         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
3366 2012-04-14  Glenn Morris  <rgm@gnu.org>
3368         * calendar/holidays.el (calendar-check-holidays): Doc fix.
3370 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3372         * textmodes/ispell.el (ispell-dictionary-base-alist):
3373         Add data for Hebrew.
3375 2012-04-14  Chong Yidong  <cyd@gnu.org>
3377         * net/rcirc.el (rcirc-cmd-quit):
3378         Revert 2012-03-18 change (Bug#11192).
3380 2012-04-14  Glenn Morris  <rgm@gnu.org>
3382         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3384 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
3386         * minibuffer.el (completion-in-region-mode-map):
3387         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
3389 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
3391         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3393 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
3395         * minibuffer.el (minibuffer-local-filename-syntax): New variable
3396         to allow `C-M-f' and `C-M-b' to move to the nearest path
3397         separator (bug#9511).
3399 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
3401         * avoid.el: Require cl when compiling.  And also move the
3402         `provide' to the end.
3404 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3406         * avoid.el (mouse-avoidance-banish-position): New variable.
3407         (mouse-avoidance-banish-destination): Use it (bug#10165).
3409 2012-04-13  Leo Liu  <sdl.web@gmail.com>
3411         * progmodes/which-func.el (which-func-modes): Add objc-mode.
3413 2012-04-13  Ken Brown  <kbrown@cornell.edu>
3415         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3416         this is no longer needed now that cygstart understands file:// URLs.
3417         (browse-url-filename-alist): For the same reason, don't modify
3418         file:// URLs on Cygwin.
3420 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3422         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3423         the region on shift if the binding is already shifted (bug#11221).
3425 2012-04-12  Glenn Morris  <rgm@gnu.org>
3427         * mail/mailpost.el: Move to obsolete/.
3429 2012-04-12  Drew Adams  <drew.adams@oracle.com>
3431         * imenu.el (imenu--generic-function): Ignore invisible definitions
3432         (bug#10123).
3434 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
3436         * hexl.el (hexl-bits): New variable.
3437         (hexl-options): Mention the variable in the doc string.
3438         (hexl-rulerise, hexl-line-displen): New functions.
3439         (hexl-mode): Mention the new variable.
3440         (hexl-mode, hexl-current-address, hexl-current-address):
3441         Use the displen.
3442         (hexl-ascii-start-column): New function.
3443         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3444         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3446 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3448         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3449         '("-i" ENCODING), in 2 separate command-line arguments, to specify
3450         the encoding, as expected by hunspell.
3452 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3454         * battery.el (battery--linux-sysfs-regexp): New const.
3455         (battery-status-function): Use it.  Remove yeeloong special case.
3456         (battery-yeeloong-sysfs): Remove.
3457         (battery-echo-area-format): Remove yeeloong special case.
3459 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3461         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3462         Reported by Noah Friedman.
3464         * subr.el (read-passwd): Use read-string.
3466 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3468         * vcursor.el (vcursor-move): Increase the priority of the overlay
3469         (bug#9663).
3471 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3473         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3474         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3476 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
3478         * textmodes/artist.el (artist-mode): Convert artist-mode to use
3479         define-minor-mode (bug#10760).
3481 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
3483         * progmodes/grep.el (rgrep): Tweak the find command line so
3484         that directories matching `grep-find-ignored-files' won't be
3485         pruned (bug#10351).
3487 2012-04-11  Chong Yidong  <cyd@gnu.org>
3489         * startup.el (command-line): Remove support for long-obsolete
3490         variable font-lock-face-attributes.
3492 2012-04-11  Glenn Morris  <rgm@gnu.org>
3494         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3496 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3498         * window.el (window--state-get-1): Obey window-point-insertion-type.
3500 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
3502         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3503         to previous function when point is on the first character of a
3504         function.  Take care of that in `narrow-to-defun' (bug#6157).
3506 2012-04-11  Glenn Morris  <rgm@gnu.org>
3508         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3509         not just file-errors.
3511         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3512         (vc-bzr-sha1): Use internal sha1.
3514 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3516         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3518 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
3520         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3521         that start in the middle of the line (bug#10496).
3523 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
3525         * battery.el (battery-linux-proc-acpi): Only one battery is
3526         discharged at a time, but that seems to confuse battery.el when
3527         computing `rate-type' for the battery not being discharged
3528         (bug#10332).
3530 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3532         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3534         * international/quail.el: Use dolist and simplify.
3535         (quail-define-package, quail-update-keyboard-layout)
3536         (quail-define-rules): Use dolist.
3537         (quail-insert-kbd-layout, quail-get-translation): CSE.
3539         * tmm.el: Use dolist, remove left over hook.
3540         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3541         Use dolist.
3542         (calendar-load-hook): Don't mess with it.
3544         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3545         Use derived-mode-p.  Run the diff asynchronously.
3547 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3549         * obsolete/mouse-sel.el: Add an Obsolete-since header.
3551 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
3553         * misc.el: Display absolute path of loaded DLLs (bug#10424).
3554         (list-dynamic-libraries--loaded): New function.
3555         (list-dynamic-libraries--refresh): Use it.
3557 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
3559         * progmodes/python.el (python-fill-paragraph):
3560         Make python-fill-region in a multiline string work when font-lock is
3561         disabled (bug#7018).
3563 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
3565         * language/european.el (cp775): Add oem/legacy (en)coding on
3566         DOS/MS Windows for the Baltic languages.  There are still plenty
3567         of texts written in this encoding/codepage (bug#6519).
3569 2012-04-10  Glenn Morris  <rgm@gnu.org>
3571         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3572         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3574 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
3576         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3577         next-line "n" and previous-line "p" in order to make recentf more
3578         consistent with ibuffer, dired or org-mode (bug#9387).
3580 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3582         * image.el (put-image): Return the overlay created instead of the
3583         optional input string (bug#7834).  Note that this may break code
3584         that is (for some reason or other) depending on `put-image'
3585         returning the string.
3587         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3589         * simple.el (zap-to-char): Allow zapping using input methods
3590         (bug#1580).
3592         * textmodes/fill.el (fill-region): Leave point and mark where they
3593         were before filling (bug#5399).
3595 2012-04-09  Glenn Morris  <rgm@gnu.org>
3597         * version.el (emacs-bzr-get-version):
3598         Handle lightweight checkouts of local branches.
3600 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
3602         * international/characters.el: Recover lost case pairs.  (Bug#11209)
3604 2012-04-09  Chong Yidong  <cyd@gnu.org>
3606         * custom.el (custom-variable-p): Return nil for non-symbol
3607         arguments instead of signaling an error.
3608         (user-variable-p): Obsolete alias for custom-variable-p.
3610         * apropos.el (apropos-variable):
3611         * files-x.el (read-file-local-variable):
3612         * simple.el (set-variable):
3613         * woman.el (woman-mini-help):
3614         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3616 2012-04-09  Glenn Morris  <rgm@gnu.org>
3618         * startup.el (normal-top-level): Don't look for leim-list.el
3619         in places where it will not be found.  (Bug#910)
3621         * international/mule-cmds.el (set-default-coding-systems):
3622         * files.el (normal-mode):
3623         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
3624         This function was removed with ucs-tables.el in 2008.
3626 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
3628         * textmodes/ispell.el (ispell-check-version): For hunspell, set
3629         ispell-encoding8-command to "-i", without a trailing space.
3630         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3631         separate command-line arguments, to specify the encoding, since
3632         that's how hunspell expects it.
3634 2012-04-08  Glenn Morris  <rgm@gnu.org>
3636         * loadup.el: Load bindings before cus-start.
3637         This reduces somewhat the number of "rogue" settings in emacs -Q.
3639 2012-04-07  Glenn Morris  <rgm@gnu.org>
3641         * version.el (emacs-bzr-get-version): New function.
3642         (emacs-bzr-version): New variable.
3643         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
3644         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3646 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
3648         * international/uni-bidi.el, international/uni-category.el:
3649         * international/uni-combining.el, international/uni-decimal.el:
3650         * international/uni-decomposition.el, international/uni-digit.el:
3651         * international/uni-lowercase.el, international/uni-mirrored.el:
3652         * international/uni-name.el, international/uni-numeric.el:
3653         * international/uni-titlecase.el, international/uni-uppercase.el:
3654         Update for Unicode 6.1.
3656 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
3658         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3660 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3662         * window.el (shrink-window): Mention the `window-min-height'
3663         variable in the doc string.
3665 2012-04-05  Bastien Guerry  <bzg@altern.org>
3667         * color.el (color-lighten-name): Fix typo.
3669 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3671         * server.el (server--on-display-p): New function.
3672         (server--on-display-p): Use it.
3674 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
3676         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3677         (bug#11145).
3679 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3681         * comint.el (comint--common-quoted-suffix): Check string boundary
3682         before comparing (bug#11158).
3683         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3685 2012-04-04  Chong Yidong  <cyd@gnu.org>
3687         * minibuffer.el (completion-extra-properties): Doc fix.
3689         * subr.el (delayed-warnings-hook): Doc fix.
3691 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
3693         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3694         selection (Bug#11159).
3695         (epa-insert-keys): Inform that the default public key will be
3696         exported if no key is selected.
3698 2012-04-04  Richard Stallman  <rms@gnu.org>
3700         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3702 2012-04-03  Chong Yidong  <cyd@gnu.org>
3704         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3705         mail-insert-file, not its obsolete alias mail-attach-file.
3707 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
3709         * notifications.el (notifications-notify): Fix docstring.
3711 2012-04-02  Glenn Morris  <rgm@gnu.org>
3713         * emacs-lisp/authors.el (authors-aliases): Another addition.
3715 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
3717         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3718         `tramp-compat-call-process' instead of `tramp-local-call-process'.
3719         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3721 2012-04-01  Chong Yidong  <cyd@gnu.org>
3723         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3724         Handle root directory properly.
3725         (copy-directory): Caller changed.
3727         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3728         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3730 2012-03-31  Glenn Morris  <rgm@gnu.org>
3732         * term/xterm.el (xterm-extra-capabilities): Doc fix.
3734         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
3736         * calendar/calendar.el (calendar-window-list)
3737         (calendar-hide-window): Restore.  (Bug#11140)
3738         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3740         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3742 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3744         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3745         Check if file is a symlink (Bug#10489).
3747         * files.el (copy-directory): Likewise.
3749 2012-03-30  Chong Yidong  <cyd@gnu.org>
3751         * image.el (imagemagick-types-inhibit)
3752         (imagemagick-register-types): Doc fix.
3754 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3756         * ispell.el (ispell-get-extended-character-mode):
3757         Disable extended-char-mode for hunspell.  hunspell does not support it
3758         and treats ~word as ordinary words in pipe mode.
3760 2012-03-30  Glenn Morris  <rgm@gnu.org>
3762         * tutorial.el (help-with-tutorial): Ensure local variables don't
3763         happen to make the buffer read-only.  (Bug#11127)
3765 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3767         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3768         (perl-calculate-indent): Return `noindent' in strings.
3770 2012-03-28  Sam Steingold  <sds@gnu.org>
3772         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3773         instead of the broken adhockery which does not prevent calendar
3774         buffers from being displayed at random after exit.
3775         (calendar-window-list, calendar-hide-window): Remove the broken
3776         adhockery.
3778 2012-03-28  Glenn Morris  <rgm@gnu.org>
3780         * replace.el (query-replace-map): Doc fix.
3782 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
3784         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3785         contents.  (Bug#11109)
3787 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3789         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3790         (bug#11077).
3791         (avl-tree--check, avl-tree--check-node): New funs.
3793 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
3795         * window.el (switch-to-visible-buffer): New option.
3796         (switch-to-prev-buffer, switch-to-next-buffer):
3797         Observe switch-to-visible-buffer.  Make sure that checking for a window
3798         showing a buffer already is done on the same frame.
3800 2012-03-27  Glenn Morris  <rgm@gnu.org>
3802         * startup.el (mail-host-address): Doc fix.
3804 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3806         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3807         than 197 variables.
3809 2012-03-26  Ami Fischman  <ami@fischman.org>
3811         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3813 2012-03-26  Glenn Morris  <rgm@gnu.org>
3815         * files.el (save-buffers-kill-emacs): Doc fix.
3817         * startup.el (normal-top-level, command-line, command-line-1):
3818         Give them doc strings.
3820 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
3822         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3823         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3825 2012-03-25  Chong Yidong  <cyd@gnu.org>
3827         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3828         theme if it was previously enabled before (Bug#11031).
3830         * cus-theme.el (custom-theme-write-faces): Retrieve current face
3831         spec with custom-face-get-current-spec if its :shown-value is not
3832         determined yet (Bug#9337).
3833         (customize-create-theme, custom-theme-revert): Doc fixes.
3835         * button.el (button-at): Minor addition to docstring.
3837 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
3839         * vc/vc.el (vc-merge): Fix a prompt.
3841 2012-03-24  Chong Yidong  <cyd@gnu.org>
3843         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3844         point (Bug#9623).
3846         * button.el (button-at): Minor addition to docstring.
3848 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3850         * newcomment.el (comment-choose-indent): No space after BOL.
3852 2012-03-22  Sam Steingold  <sds@gnu.org>
3854         * window.el (switch-to-prev-buffer): Revert last patch because the
3855         bug turned out to be an advertised feature (Elisp manual 28.14).
3857 2012-03-22  Glenn Morris  <rgm@gnu.org>
3859         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
3860         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3862 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3864         * net/network-stream.el (network-stream-open-starttls): Make error
3865         message under Windows be less misleading.
3867 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
3869         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3870         understands (bug#9942).
3872 2012-03-22  Chong Yidong  <cyd@gnu.org>
3874         * simple.el (end-of-visible-line): Handle return value of
3875         next-single-property-change properly (Bug#9371).
3877 2012-03-22  Kenichi Handa  <handa@m17n.org>
3879         * international/quail.el (quail-insert-kbd-layout): Fix previous
3880         change.  To avoid unwanted bidi reordering, use
3881         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3883 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
3885         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3886         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3887         (ruby-beginning-of-indent): Be more careful with the difference
3888         between word-boundary and symbol boundary.
3889         (ruby-mode-syntax-table): Make : a symbol constituent.
3891 2012-03-21  Andreas Politz  <politza@fh-trier.de>
3893         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3895 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3897         * progmodes/etags.el (tags-completion-at-point-function):
3898         Improve last fix.
3900         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3902 2012-03-21  Sam Steingold  <sds@gnu.org>
3904         * progmodes/etags.el (tags-completion-at-point-function):
3905         Avoid the error when point is inside the pattern.
3907 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
3909         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3910         line (Bug#10855).
3912 2012-03-21  Drew Adams  <drew.adams@oracle.com>
3914         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3916 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
3918         * ido.el (ido-set-current-directory, ido-read-internal)
3919         (ido-choose-completion-string, ido-completion-help): Handle nil
3920         value of ido-completion-buffer (Bug#11008).
3922 2012-03-21  Sam Steingold  <sds@gnu.org>
3924         * window.el (switch-to-prev-buffer): Do not switch to a visible
3925         window previous buffer, just like with the frame previous buffers.
3927 2012-03-21  Chong Yidong  <cyd@gnu.org>
3929         * faces.el (make-face, make-empty-face, copy-face):
3930         * face-remap.el (face-remap-add-relative, face-remap-set-base):
3931         Doc fixes.
3933 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3935         * wid-edit.el (widget-complete-field): Remove (bug#11051).
3936         (widget-complete): Remove broken use of it.
3938 2012-03-20  Chong Yidong  <cyd@gnu.org>
3940         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3941         Use string-width and truncate-string-width to handle arbitrary
3942         characters.
3944 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
3946         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3947         to draw rectangles, not squares.  (Regression introduced by revno
3948         103471)
3950 2012-03-18  Chong Yidong  <cyd@gnu.org>
3952         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3953         it is not yet defined (for temacs).
3955 2012-03-18  Leo Liu  <sdl.web@gmail.com>
3957         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3959 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
3961         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3962         (ispell-choices-win-default-height, ispell-silently-savep)
3963         (ispell-dictionary-alist, ispell-encoding8-command)
3964         (ispell-check-version, ispell-aspell-find-dictionary)
3965         (ispell-valid-dictionary-list, ispell-words-keyword)
3966         (ispell-get-word, ispell-internal-change-dictionary)
3967         (ispell-region, ispell-skip-region-list)
3968         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3969         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3970         (ispell-message-text-end, ispell-message)
3971         (ispell-buffer-local-parsing): Doc fix.
3973 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
3975         * htmlfontify.el: Add support for code block fontification for ODT
3976         export (Bug #9914).
3977         (hfy-optimisations): Define new option
3978         `body-text-only'
3979         (hfy-fontify-buffer): Honor above setting.
3980         (hfy-begin-span, hfy-end-span): New routines factored out form
3981         `hfy-fontify-buffer'.
3982         (hfy-begin-span-handler, hfy-end-span-handler): New variables
3983         that permit insertion of custom tags.
3984         (hfy-fontify-buffer): Use above handlers.
3985         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3986         (hfy-face-to-css): Re-defined to be a variable.
3987         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
3988         over multiple runs.  This is made possible by having the caller let
3989         bind a special variable `hfy-user-sheet-assoc'.
3990         (htmlfontify-string): New defun.
3991         (hfy-compile-face-map): Make sure that the last char in the
3992         buffer is correctly fontified.
3993         (hfy-face-resolve-face): Whitespace only change.
3995 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
3997         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3998         message more clear.
4000 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4002         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4004 2012-03-16  Alan Mackenzie  <acm@muc.de>
4006         Further optimise the handling of large macros.
4008         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4009         limit to a call of `c-literal-limits'.
4010         (c-determine-+ve-limit): New function.
4011         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4012         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4013         In CASE 5B, restrict a search limit to 500.
4014         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4016         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4017         Restrict macro bounds to +-500 from after-change's BEG END.
4019 2012-03-16  Leo Liu  <sdl.web@gmail.com>
4021         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4023 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
4025         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4026         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
4028 2012-03-16  Glenn Morris  <rgm@gnu.org>
4030         * view.el (view-buffer, view-buffer-other-window)
4031         (view-buffer-other-frame): Doc fixes re special mode-class.
4033         * subr.el (eval-after-load): If named feature is provided not from
4034         a file, run after-load forms.  (Bug#10946)
4036         * calendar/calendar.el (calendar-insert-at-column):
4037         Handle non-unit-width characters a bit better.  (Bug#10978)
4039 2012-03-15  Chong Yidong  <cyd@gnu.org>
4041         * emacs-lisp/ring.el (ring-extend): New function.
4042         (ring-insert+extend): Extend the ring correctly (Bug#11019).
4044         * comint.el (comint-read-input-ring)
4045         (comint-add-to-input-history): Grow comint-input-ring lazily.
4047 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4049         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4050         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4052         * imenu.el: Fix multiple inheritance breakage (bug#9199).
4053         (imenu-add-to-menubar): Don't add a redundant index.
4054         (imenu-update-menubar): Handle a dynamically composed keymap.
4056 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
4058         * mail/sendmail.el (mail-encode-header):
4059         Bind rfc2047-encode-encoded-words to nil.
4061 2012-03-13  Glenn Morris  <rgm@gnu.org>
4063         * calendar/calendar.el (calendar-string-spread):
4064         Handle non-unit-width characters a bit better.  (Bug#10978)
4066 2012-03-13  Leo Liu  <sdl.web@gmail.com>
4068         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4069         directory and file as argument (Bug#10822).
4071 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
4073         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4074         For dynamically generated code, follow $PC.
4075         (gdb-disassembly-handler-custom): Handle no function name case.
4077 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
4079         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4080         * emulation/ws-mode.el (ws-query-replace):
4081         * sort.el (sort-regexp-fields):
4082         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
4084 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4086         * dabbrev.el: Fix cycle completion order (bug#10963).
4087         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4088         (dabbrev-completion): Don't use an obarray; provide
4089         a cycle-sort-function.
4091 2012-03-12  Leo Liu  <sdl.web@gmail.com>
4093         * simple.el (kill-new): Use equal-including-properties for comparison.
4094         (kill-do-not-save-duplicates): Doc fix.
4096 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4098         * dabbrev.el: Fix cycle completion (bug#10963).
4099         Use lexical binding and wrap to 80 columns.
4100         (dabbrev-completion): Delay computing the list of completions.
4102 2012-03-12  Kenichi Handa  <handa@m17n.org>
4104         * international/quail.el (quail-insert-kbd-layout): Surround each
4105         row by LRO and PDF instead of inserting many LRMs.  Pad the left
4106         and right of each non-spacing marks.  Insert invisible space
4107         between lower and upper characters to prevent composition.
4109 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4111         * minibuffer.el (minibuffer-complete): Don't get confused when the
4112         function is run twice via different commands (bug#10958).
4113         (complete-with-action): Fix docstring.
4115 2012-03-12  Chong Yidong  <cyd@gnu.org>
4117         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4118         (nxml-completion-at-point-function): New function.
4119         (nxml-mode): Use it.
4120         (nxml-bind-meta-tab-to-complete-flag): Default to t.
4122         * emacs-lisp/package.el (package-unpack, package-unpack-single):
4123         Load generated autoloads file before byte compiling (Bug#10970).
4124         (package--make-autoloads-and-compile): New helper fun.
4126 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
4128         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4130 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
4132         * autorevert.el (auto-revert-handler): Ensure, that
4133         file-readable-p is applied only for local files or in
4134         auto-revert-tail-mode.
4136 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
4138         * server.el (server-eval-at): Handle non-tcp connections.
4139         Decode result string.
4141         * server.el (server-msg-size): New constant.
4142         (server-reply-print): New function.
4143         (server-eval-and-print): Use it.
4144         (server-eval-at): Use server-quote-arg and server-unquote-arg.
4145         Handle -print-nonl.
4147 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
4149         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4150         (Bug#10987).
4152 2012-03-11  Chong Yidong  <cyd@gnu.org>
4154         * simple.el (goto-line): Doc fix (Bug#9938).
4156         * subr.el (save-window-excursion): Doc fix (Bug#9979).
4158         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4159         when finished (Bug#10963).
4161 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
4163         * window.el (split-window-below): Fix bug in case where
4164         split-window-keep-point is nil (Bug#10971).
4166 2012-03-11  Juri Linkov  <juri@jurta.org>
4168         * replace.el (replace-highlight): Set isearch-word to nil
4169         unconditionally.  (Bug#10887)
4171 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
4173         * net/mairix.el (mairix-replace-invalid-chars): Rename from
4174         mairix-replace-illegal-chars; all callers changed.  Don't remove
4175         ^, ~, and = characters: they are meaningful in mairix search specs.
4176         (mairix-widget-create-query): Add usage information about mairix
4177         search forms: negating words, searching for substrings, etc.
4179 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
4181         * international/fontset.el (font-encoding-alist): Add an entry for
4182         ksx1001 (Bug#5667).
4184 2012-03-10  Richard Stallman  <rms@gnu.org>
4186         * mail/sendmail.el (mail-encode-header):
4187         Set rfc2047-encode-encoded-words.
4189         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4191         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4192         view buffer means not swapped.
4193         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4194         (rmail-write-region-annotate): Error if real text has disappeared.
4196         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4198 2012-03-10  Chong Yidong  <cyd@gnu.org>
4200         * emulation/cua-rect.el (cua--init-rectangles):
4201         * emulation/cua-base.el (cua--init-keymaps):
4202         Add delete-forward-char to remappings (Bug#9666).
4204 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
4206         * speedbar.el (speedbar-unhighlight-one-tag-line):
4207         Avoid unhighlighting due to frame switching (Bug#10275).
4209 2012-03-10  Chong Yidong  <cyd@gnu.org>
4211         * minibuffer.el (completion-in-region, completion-help-at-point):
4212         Give the completion field overlay a high priority (Bug#6830).
4214         * dired.el (dired-goto-file): Recognize absolute file name
4215         listings (Bug#7126).
4216         (dired-goto-file-1): New helper function.
4217         (dired-toggle-read-only): Inhibit warnings.
4219 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
4221         * net/dbus.el (dbus-property-handler): Return empty array if
4222         there are no properties.
4224 2012-03-09  Leo Liu  <sdl.web@gmail.com>
4226         * savehist.el (savehist-printable): Stricter check for string
4227         value (Bug#10937).
4229 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
4231         * mail/smtpmail.el (smtpmail-send-it):
4232         Bind coding-system-for-write to *-unix, so that FCC files are kept in
4233         valid mbox format.
4235 2012-03-09  Glenn Morris  <rgm@gnu.org>
4237         * files.el (dir-locals-find-file):
4238         Don't check result is regular, readable.
4239         (dir-locals-read-from-file): Demote errors.
4241 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
4243         * international/quail.el (quail-insert-kbd-layout):
4244         Insert invisible LRM characters before each character in a keyboard
4245         layout cell, to prevent their reordering by bidi display engine.
4246         For details, see the discussion in
4247         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4249 2012-03-08  Alan Mackenzie  <acm@muc.de>
4251         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4252         the starting position; make it extend the marked region when
4253         invoked repeatedly - all under appropriate circumstances.
4254         Fixes bugs #5525, #10906.
4256 2012-03-08  Glenn Morris  <rgm@gnu.org>
4258         * files.el (locate-dominating-file, dir-locals-find-file):
4259         Undo 2012-03-06 change.
4261 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
4263         * international/quail.el (quail-help):
4264         Force bidi-paragraph-direction be left-to-right.  See discussion in
4265         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4266         for the reason.
4268 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
4270         Avoid superfluous registering of signals.  (Bug#10807)
4272         * notifications.el (notifications-on-action-object)
4273         (notifications-on-close-object): New defvars.
4274         (notifications-on-action-signal, notifications-on-closed-signal):
4275         Unregister the signal if not needed any longer.
4276         (notifications-notify): Register `notifications-action-signal' or
4277         `notifications-closed-signal', if :on-action or :on-close has been
4278         passed as argument.
4280 2012-03-07  Chong Yidong  <cyd@gnu.org>
4282         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4283         non-X platforms.
4285 2012-03-06  Glenn Morris  <rgm@gnu.org>
4287         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4288         (x-disown-selection-internal, x-get-selection-internal):
4289         Doc fix (add arglist signatures).  (Bug#10783)
4291 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
4293         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4294         Handle breakpoints with no "type".
4296 2012-03-06  Glenn Morris  <rgm@gnu.org>
4298         * files.el (locate-dominating-file): Add optional predicate argument.
4299         (dir-locals-find-file): Make use of above change.
4301 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
4303         * info.el (Info-insert-dir): Also try "dir.gz".
4305 2012-03-06  Glenn Morris  <rgm@gnu.org>
4307         * files.el (dir-locals-find-file):
4308         Ignore non-readable or non-regular files.  (Bug#10928)
4310         * files.el (locate-dominating-file): Doc fix.
4312 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
4314         * calendar/calendar.el (calendar-set-mode-line):
4315         `getenv' returns a string.  (Bug#10951)
4317 2012-03-05  Leo Liu  <sdl.web@gmail.com>
4319         * simple.el (backward-delete-char-untabify): Constrain point to
4320         field (Bug#10939).
4322         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4324 2012-03-05  Chong Yidong  <cyd@gnu.org>
4326         * simple.el (count-words): If called from Lisp, return the word
4327         count, for symmetry with `count-lines'.  Arglist changed.
4328         (count-words--message): Args changed.  Consolidate counting code
4329         from count-words and count-words-region.
4330         (count-words-region): Caller changed.
4331         (count-lines-region): Make it an obsolete alias.
4333 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
4335         * saveplace.el (save-place-to-alist)
4336         (save-place-ignore-files-regexp): Allow value nil to disable this
4337         feature.
4339 2012-03-04  Chong Yidong  <cyd@gnu.org>
4341         * faces.el (face-spec-reset-face): For the default face, reset the
4342         attributes to default values (Bug#10748).
4344 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4346         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4347         previous patch: Check `message-send-mail-function', and not the
4348         default function (bug#10897).
4350 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
4352         * notifications.el (notifications-on-action-signal)
4353         (notifications-on-closed-signal): Check for unique service name of
4354         incoming event.  Fix error in removing entry.
4355         (top): Register for signals with wildcard service name.
4356         (notifications-notify): Use daemon unique service name for map entries.
4358 2012-03-04  Chong Yidong  <cyd@gnu.org>
4360         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4362 2012-03-04  Glenn Morris  <rgm@gnu.org>
4364         * abbrev.el (copy-abbrev-table, abbrev-table-p)
4365         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4366         (expand-abbrev, define-abbrev-table): Doc fixes.
4368 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4370         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4371         `message-default-send-mail-function' and not `send-mail-function'
4372         when doing the prompting for `sendmail-query-once' before sending
4373         in Message buffers (bug#10897).
4375         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4376         This is inconsistent with all the other stream functions, which leave
4377         the setting up to the higher levels (if so wanted) (bug#10931).
4379 2012-03-02  Alan Mackenzie  <acm@muc.de>
4381         Depessimize the handling of very large macros.
4383         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4384         (c-macro-cache-syntactic): New variables to implement a one
4385         element macro cache.
4386         (c-invalidate-macro-cache): New function.
4387         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4388         Adapt to use the new cache.
4389         (c-state-safe-place): Use better the cache of safe positions.
4390         (c-state-semi-nonlit-pos-cache)
4391         (c-state-semi-nonlit-pos-cache-limit):
4392         New variables for...
4393         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
4394         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4395         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4396         Use c-state-semi-safe-place.
4398         * progmodes/cc-langs.el (c-get-state-before-change-functions):
4399         Add c-invalidate-macro-cache to the C, C++, Obj entries.
4401 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
4403         * jka-compr.el (jka-compr-call-process):
4404         Apply `file-accessible-directory-p' only when the default directory is
4405         not remote.
4407 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
4409         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
4410         access of FILE2, if FILE1 does not exist.
4412         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4413         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4415         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4416         Add "PAGER=" to `process-environment'.
4418 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
4420         * progmodes/sql.el: Bug fix
4421         (sql-get-login-ext): Save login values in globals.
4422         (sql-get-login): Use new version of `sql-get-login-ext'.
4423         (sql-interactive-mode): Set global `sql-connection' to nil.
4424         (sql-connect): Set global values for connection.
4425         (sql-product-interactive): Save global values as buffer local.
4427 2012-02-29  Leo Liu  <sdl.web@gmail.com>
4429         * abbrev.el (define-abbrevs): Reset sys to nil.
4431 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4433         * files.el (file-equal-p): Rename from `files-equal-p'.
4434         Return nil when one or both files don't exist.
4435         (file-subdir-of-p): Now only top directory must exists,
4436         return nil if it doesn't.
4437         (copy-directory): No need to test with `file-subdir-of-p' after
4438         creating dir.
4439         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4440         to `file-equal-p'.
4442 2012-02-28  Glenn Morris  <rgm@gnu.org>
4444         * shell.el (shell-mode):
4445         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4446         * play/landmark.el (landmark-font-lock-face-O):
4447         * play/handwrite.el (handwrite):
4448         * play/gomoku.el (gomoku-O):
4449         * net/browse-url.el (browse-url-browser-display):
4450         * international/mule.el (define-charset):
4451         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4452         * filesets.el (filesets-find-file-delay):
4453         * eshell/em-xtra.el (eshell-xtra):
4454         * eshell/em-unix.el (eshell-grep):
4455         * emulation/viper.el (viper-mode):
4456         * emacs-lisp/regexp-opt.el (regexp-opt-group):
4457         * emacs-lisp/easymenu.el (easy-menu-define):
4458         * calendar/timeclock.el (timeclock-use-display-time):
4459         * bs.el (bs-mode):
4460         * bookmark.el (bookmark-save-flag):
4461         Doc fix (standardize possessive apostrophe usage).
4463 2012-02-27  Chong Yidong  <cyd@gnu.org>
4465         * emulation/viper-cmd.el (viper-intercept-ESC-key):
4466         Fix key-binding lookup for ESC key (Bug#9146).
4468         * font-lock.el (font-lock-specified-p): Rename from
4469         font-lock-spec-present.  Callers changed.
4471 2012-02-27  Daniel Hackney  <dan@haxney.org>
4473         * emacs-lisp/package.el (package-compute-transaction):
4474         Handle holding a package version to t in package-load-list.
4476 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
4478         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4479         (tramp-get-inode, tramp-get-device): Use cached values.
4481 2012-02-26  Alan Mackenzie  <acm@muc.de>
4483         Check there is a font-lock specification before doing initial
4484         fontification.
4486         * font-core.el (font-lock-mode): Move the conditional from
4487         :after-hook to font-lock-initial-fontify.
4488         (font-lock-default-function): Move the check for a specification
4489         to font-lock-spec-present.
4491         * font-lock.el (font-lock-initial-fontify): Call ...
4492         (font-lock-spec-present): New function.
4494 2012-02-26  Jim Blandy  <jimb@red-bean.com>
4496         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4497         (gdb-send): Apply it to the operand of the '-interpreter-exec
4498         console' command, so that we can pass arguments with (say) quotes
4499         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
4501 2012-02-26  Chong Yidong  <cyd@gnu.org>
4503         * help-fns.el (describe-function-1): Clarify description of
4504         remapping (Bug#10844).
4506         * files.el (files-equal-p): Doc fix.
4507         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
4508         and quit the loop once a mismatch is found.
4510 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
4512         * bs.el (bs--show-with-configuration): Don't throw an error
4513         if the window cannot be split; otherwise, subsequent calls to
4514         bs-show fail, restoring a stale window config.  (Bug#10882)
4516 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
4518         * term/ns-win.el (global-map): Bind ns-drag-file to
4519         ns-find-file (Bug#5855, Bug#10050).
4521 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
4523         * calendar/parse-time.el (parse-time-string): Allow extractor to
4524         return nil.
4526 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
4528         * net/tramp.el (tramp-file-name-for-operation):
4529         Add `files-equal-p' and `file-subdir-of-p'.
4531         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4532         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4533         Add COPY-CONTENTS argument.
4535 2012-02-25  Chong Yidong  <cyd@gnu.org>
4537         Add custom groups for VC backends, for consistency with vc-bzr.
4539         * vc/vc-arch.el (vc-arch):
4540         * vc/vc-cvs.el (vc-cvs):
4541         * vc/vc-git.el (vc-git):
4542         * vc/vc-hg.el (vc-hg):
4543         * vc/vc-mtn.el (vc-mtn):
4544         * vc/vc-rcs.el (vc-rcs):
4545         * vc/vc-sccs.el (vc-sccs):
4546         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4547         All relevant defcustoms reassigned.
4549 2012-02-25  Chong Yidong  <cyd@gnu.org>
4551         * newcomment.el (comment-styles): Add autoload (Bug#10868).
4553         * term/x-win.el (x-initialize-window-system): Reduce default for
4554         x-selection-timeout to 5 seconds (Bug#8869).
4556 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4558         * files.el (files-equal-p, file-subdir-of-p): New functions.
4559         (copy-directory): Error when trying to copy a directory on itself.
4560         Add missing copy-contents arg to tramp handler.
4561         * dired-aux.el (dired-copy-file-recursive): Same.
4562         (dired-create-files): Modify destination when source is equal to
4563         dest when copying files.
4564         Return also when dest is a subdir of source.  (Bug#10489)
4566 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
4568         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4569         (Bug#10874)
4571 2012-02-23  Alan Mackenzie  <acm@muc.de>
4573         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4574         parameter "after-hook:" to allow the expansion to run code after
4575         the execution of the mode hooks.
4577         * font-lock.el (font-lock-initial-fontify): New function extracted
4578         from font-lock-mode-internal.
4580         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4581         :after-hook.
4583 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4585         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4586         (completion--cache-all-sorted-completions): New function.
4587         (completion-all-sorted-completions): Use it.
4588         (completion--do-completion, minibuffer-force-complete):
4589         Use it to re-instate the flush hook.
4591         * icomplete.el (icomplete-completions): Replace last fix with a better
4592         one (bug#10850).
4594 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
4596         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4597         when it might call us back infinitely (bug#10797).
4599 2012-02-23  Glenn Morris  <rgm@gnu.org>
4601         * minibuffer.el (completion-category-overrides): Doc fix.
4603 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4605         * minibuffer.el (completion-table-with-context): Fix inf-loop.
4606         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4608 2012-02-23  Glenn Morris  <rgm@gnu.org>
4610         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4611         (authors-obsolete-files-regexps, authors-ignored-files)
4612         (authors-ambiguous-files, authors-renamed-files-alist):
4613         Add more entries.
4615 2012-02-23  Juri Linkov  <juri@jurta.org>
4617         * isearch.el (isearch-occur): Sync interactive spec with occur's
4618         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
4620         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4622 2012-02-22  Juri Linkov  <juri@jurta.org>
4624         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4625         (ucs-insert): Doc fix.  Check for hex digits in the string.
4626         Don't display `nil' in the error message.  (Bug#10857)
4628 2012-02-22  Alan Mackenzie  <acm@muc.de>
4630         * progmodes/cc-mode.el: Revert change #107149 from 2012-02-06.
4632 2012-02-22  Glenn Morris  <rgm@gnu.org>
4634         * ffap.el (ffap-c-path):
4635         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
4637 2012-02-22  Chong Yidong  <cyd@gnu.org>
4639         * custom.el (load-theme): Doc fix.
4641 2012-02-22  Glenn Morris  <rgm@gnu.org>
4643         * dired-x.el (dired-guess-shell-alist-default):
4644         Remove escape sequences from nroff output.  (Bug#172)
4646 2012-02-21  Glenn Morris  <rgm@gnu.org>
4648         * vc/emerge.el (emerge-defvar-local):
4649         Set `permanent-local' property rather than unused `preserved'.
4651         * textmodes/picture.el (picture-delete-char): New alias.
4652         (picture-mode-map): Use it.  (Bug#10860)
4653         (picture-mode): Doc fix.
4655 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
4657         * newcomment.el (uncomment-region-default): Remove unused binding.
4659 2012-02-21  Glenn Morris  <rgm@gnu.org>
4661         * textmodes/picture.el (picture-motion, picture-motion-reverse)
4662         (picture-self-insert, picture-tab-chars): Doc fix.
4663         (picture-mode-map): Fix C-a, C-e.
4665 2012-02-20  Glenn Morris  <rgm@gnu.org>
4667         * emacs-lisp/authors.el (authors-aliases): Add another entry.
4669 2012-02-20  Leo Liu  <sdl.web@gmail.com>
4671         * icomplete.el (icomplete-completions): Check FROM arg before
4672         passing to substring (Bug#10850).
4674 2012-02-19  Chong Yidong  <cyd@gnu.org>
4676         * comint.el: Require ansi-color.
4677         (comint-output-filter-functions): Add ansi-color-process-output.
4679         * ansi-color.el: Don't set comint-output-filter-functions; it is
4680         now in the initial value defined in comint.el.
4681         (ansi-color-apply-face-function): New variable.
4682         (ansi-color-apply-on-region): Use it.
4683         (ansi-color-apply-overlay-face): New function.
4685         * shell.el (shell): No need to require ansi-color.
4686         (shell-mode): Use ansi-color-apply-face-function to highlight
4687         color escapes using font-lock-face property (Bug#10835).
4689 2012-02-19  Chong Yidong  <cyd@gnu.org>
4691         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4692         mode-line formats (Bug#10839).
4694 2012-02-18  Glenn Morris  <rgm@gnu.org>
4696         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4698         * mail/undigest.el (unforward-rmail-message): Doc fix.
4700         * saveplace.el (save-place-ignore-files-regexp): Add :version.
4702 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
4704         * international/characters.el (script-list): Sync with the latest
4705         Unicode Character Database.
4707 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
4709         * international/titdic-cnv.el: Remove duplicate coding tag.
4710         * language/cham.el: Likewise.
4711         * language/tai-viet.el: Likewise.
4713 2012-02-18  Glenn Morris  <rgm@gnu.org>
4715         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4716         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4717         (calendar-bahai-all-holidays-flag, calendar-other-dates):
4718         * calendar/diary-lib.el (diary-abbreviated-year-flag):
4719         * calendar/holidays.el (holiday-bahai-holidays)
4720         (calendar-holidays, list-holidays):
4721         Use utf-8 Bahá'í in doc-strings, menus, etc.
4723 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
4725         * saveplace.el (save-place-ignore-files-regexp): New variable
4726         allowing for excluding files from saving their location of point.
4727         The default value matches the temporary commit message editing
4728         files from Git, SVN, Bazaar, and Mercurial.
4729         (save-place-to-alist): Use it.
4731 2012-02-17  Lawrence Mitchell <wence@gmx.li>
4732             Stefan Monnier  <monnier@iro.umontreal.ca>
4734         * newcomment.el (uncomment-region-default): Don't leave extra space
4735         when an arg is provided (bug#8150).
4737 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
4739         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4741 2012-02-17  Glenn Morris  <rgm@gnu.org>
4743         * net/socks.el: Require network-stream.  (Bug#10599)
4745 2012-02-17  Kenichi Handa  <handa@m17n.org>
4747         * international/charprop.el:
4748         * international/uni-name.el:
4749         * international/uni-old-name.el:
4750         * international/uni-comment.el: Regenerate.
4752 2012-02-16  Glenn Morris  <rgm@gnu.org>
4754         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4755         Interactively in calendar buffer, give an error if not on a date.
4757 2012-02-15  Glenn Morris  <rgm@gnu.org>
4759         * shell.el (shell-delimiter-argument-list):
4760         Revert 2011-02-17 change.  (Bug#8027)
4762 2012-02-15  Chong Yidong  <cyd@gnu.org>
4764         * minibuffer.el (completion-at-point-functions): Doc fix.
4766         * custom.el (defcustom): Doc fix; note use of defvar.
4768 2012-02-15  Glenn Morris  <rgm@gnu.org>
4770         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4771         Doc fixes.
4773 2012-02-14  Glenn Morris  <rgm@gnu.org>
4775         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4777 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
4779         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4780         way the ports list is computed.
4781         (smtpmail-query-smtp-server): Prompt the user for a port number if
4782         we can't connect to any of the standard ports (bug#10810).
4784 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
4786         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4788 2012-02-13  Glenn Morris  <rgm@gnu.org>
4790         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
4792 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
4794         * net/gnutls.el (gnutls-trustfiles): New variable.
4795         (gnutls-negotiate): Use it.
4797 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
4799         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4800         does its stuff if Gnus is running.
4802 2012-02-13  Alan Mackenzie  <acm@muc.de>
4804         Fix a loop in c-set-fl-decl-start.
4806         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4807         c-backward-syntactic-ws actually moves backwards.
4809 2012-02-13  Leo Liu  <sdl.web@gmail.com>
4811         * net/rcirc.el (rcirc-markup-attributes): Move point to the
4812         beginning so that all \C-o chars are removed.
4814 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
4816         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4818 2012-02-12  Alan Mackenzie  <acm@muc.de>
4820         Fix infinite loop with long macros.
4821         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4823 2012-02-12  Chong Yidong  <cyd@gnu.org>
4825         * window.el (display-buffer): Doc fix (Bug#10785).
4827 2012-02-12  Glenn Morris  <rgm@gnu.org>
4829         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4830         (x-disown-selection-internal, x-get-selection-internal):
4831         Sync docs with the xselect.c versions.
4833         * allout-widgets.el: Add missing license notice.
4835 2012-02-11  Glenn Morris  <rgm@gnu.org>
4837         * select.el (x-get-selection-internal, x-own-selection-internal)
4838         (x-disown-selection-internal):
4839         * x-dnd.el (x-get-selection-internal): Update declarations.
4841         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4843         * window.el (window-sides-slots):
4844         * tool-bar.el (tool-bar-position):
4845         * term/xterm.el (xterm-extra-capabilities):
4846         * ses.el (ses-self-reference-early-detection):
4847         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4848         (verilog-auto-wire-type)
4849         (verilog-auto-delete-trailing-whitespace)
4850         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4851         (verilog-auto-tieoff-declaration):
4852         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4853         (sql-oracle-statement-starters, sql-oracle-scan-on):
4854         * progmodes/prolog.el (prolog-align-comments-flag)
4855         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4856         (prolog-left-indent-regexp, prolog-paren-indent-p)
4857         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4858         (prolog-types, prolog-mode-specificators)
4859         (prolog-determinism-specificators, prolog-directives)
4860         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4861         (prolog-electric-dot-flag)
4862         (prolog-electric-dot-full-predicate-template)
4863         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4864         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4865         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4866         (prolog-program-switches, prolog-prompt-regexp)
4867         (prolog-debug-on-string, prolog-debug-off-string)
4868         (prolog-trace-on-string, prolog-trace-off-string)
4869         (prolog-zip-on-string, prolog-zip-off-string)
4870         (prolog-use-standard-consult-compile-method-flag)
4871         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4872         (prolog-imenu-max-lines, prolog-info-predicate-index)
4873         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4874         (prolog-char-quote-workaround):
4875         * progmodes/cc-vars.el (c-defun-tactic):
4876         * net/tramp.el (tramp-encoding-command-interactive)
4877         (tramp-local-end-of-line):
4878         * net/soap-client.el (soap-client):
4879         * net/netrc.el (netrc-file):
4880         * net/gnutls.el (gnutls):
4881         * minibuffer.el (completion-category-overrides)
4882         (completion-cycle-threshold)
4883         (completion-pcm-complete-word-inserts-delimiters):
4884         * man.el (Man-name-local-regexp):
4885         * mail/feedmail.el (feedmail-display-full-frame):
4886         * international/characters.el (glyphless-char-display-control):
4887         * eshell/em-ls.el (eshell-ls-date-format):
4888         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4889         (lisp-lambda-list-keyword-parameter-indentation)
4890         (lisp-lambda-list-keyword-parameter-alignment):
4891         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4892         * dired-x.el (dired-omit-verbose):
4893         * cus-theme.el (custom-theme-allow-multiple-selections):
4894         * calc/calc.el (calc-highlight-selections-with-faces)
4895         (calc-lu-field-reference, calc-lu-power-reference)
4896         (calc-note-threshold):
4897         * battery.el (battery-mode-line-limit):
4898         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4899         (archive-7z-update):
4900         * allout.el (allout-prefixed-keybindings)
4901         (allout-unprefixed-keybindings)
4902         (allout-inhibit-auto-fill-on-headline)
4903         (allout-flattened-numbering-abbreviation):
4904         * allout-widgets.el (allout-widgets-auto-activation)
4905         (allout-widgets-icons-dark-subdir)
4906         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4907         (allout-widgets-theme-dark-background)
4908         (allout-widgets-theme-light-background)
4909         (allout-widgets-item-image-properties-emacs)
4910         (allout-widgets-item-image-properties-xemacs)
4911         (allout-widgets-run-unit-tests-on-load)
4912         (allout-widgets-time-decoration-activity)
4913         (allout-widgets-hook-error-post-time)
4914         (allout-widgets-track-decoration):
4915         Add missing :version tags to new defcustoms and defgroups.
4917         * progmodes/sql.el (sql-ansi-statement-starters)
4918         (sql-oracle-statement-starters): Add custom type.
4920         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4921         (prolog-system-version): Give it a type.
4923 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
4925         * term/pc-win.el (x-select-text, x-selection-owner-p)
4926         (x-own-selection-internal, x-disown-selection-internal)
4927         (x-get-selection-internal): Sync doc strings and argument lists
4928         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
4930 2012-02-11  Leo Liu  <sdl.web@gmail.com>
4932         * progmodes/python.el (python-end-of-statement): Fix infinite
4933         loop.  (Bug#10788)
4935 2012-02-10  Glenn Morris  <rgm@gnu.org>
4937         * international/mule-cmds.el (unify-8859-on-encoding-mode)
4938         (unify-8859-on-decoding-mode): Properly mark as obsolete.
4940 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
4942         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4943         about SMTP before checking the From header.
4945         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4946         into own function for reuse by emacsbug.el.
4948 2012-02-10  Leo Liu  <sdl.web@gmail.com>
4950         * subr.el (condition-case-unless-debug): Rename from
4951         condition-case-no-debug.  All callers changed.
4952         (with-demoted-errors): Fix caller.
4954         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4955         * nxml/rng-valid.el (rng-do-some-validation):
4956         * emacs-lisp/package.el (package-refresh-contents)
4957         (package-menu-execute):
4958         * desktop.el (desktop-create-buffer):
4959         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4961 2012-02-10  Glenn Morris  <rgm@gnu.org>
4963         * textmodes/bibtex.el:
4964         Add missing :version tags for new/changed defcustoms.
4966         * files.el (remote-file-name-inhibit-cache): Doc fixes.
4968 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
4970         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4971         (smtpmail-via-smtp): Use it, or fall back on the From address.
4972         (smtpmail-send-it): Ditto.
4974 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4976         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4977         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
4978         (byte-compile-tmp-var): New const.
4979         (byte-compile-defvar): Use it to minimize .elc size.
4980         Just use `defvar' rather than simulate it (bug#10761).
4982 2012-02-09  Glenn Morris  <rgm@gnu.org>
4984         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
4986         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4987         Add :version tags.
4989         * progmodes/compile.el (compilation-error-screen-columns)
4990         (compilation-first-column, compilation-filter-start): Doc fixes.
4992         * vc/log-view.el (log-view-toggle-entry-display):
4993         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4995         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4996         (report-emacs-bug-can-use-xdg-email):
4997         (report-emacs-bug-insert-to-mailer): Doc fixes.
4998         (report-emacs-bug): Message fix.
5000         * net/browse-url.el (browse-url-can-use-xdg-open)
5001         (browse-url-xdg-open): Doc fixes.
5003         * electric.el (electric-indent-mode, electric-pair-mode)
5004         (electric-layout-rules, electric-layout-mode): Doc fixes.
5005         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5007 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
5009         * server.el (server-unselect-display): Don't inadvertently kill
5010         the current buffer.  (Bug#10729)
5012 2012-02-08  Glenn Morris  <rgm@gnu.org>
5014         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5015         (sql-list-table): Doc fixes.
5017         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5018         Comment out (does nothing).
5020         * completion.el (dynamic-completion-mode):
5021         * dirtrack.el (dirtrack-debug-mode):
5022         * electric.el (electric-layout-mode):
5023         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5024         * face-remap.el (text-scale-mode, buffer-face-mode):
5025         * iimage.el (iimage-mode):
5026         * image-mode.el (image-transform-mode):
5027         * minibuffer.el (completion-in-region-mode):
5028         * scroll-lock.el (scroll-lock-mode):
5029         * simple.el (next-error-follow-minor-mode):
5030         * tar-mode.el (tar-subfile-mode):
5031         * tooltip.el (tooltip-mode):
5032         * vcursor.el (vcursor-use-vcursor-map):
5033         * wid-browse.el (widget-minor-mode):
5034         * emulation/tpu-edt.el (tpu-edt-mode):
5035         * emulation/tpu-extras.el (tpu-cursor-free-mode):
5036         * international/iso-ascii.el (iso-ascii-mode):
5037         * language/thai-util.el (thai-word-mode):
5038         * mail/supercite.el (sc-minor-mode):
5039         * net/goto-addr.el (goto-address-mode):
5040         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5041         * progmodes/cwarn.el (cwarn-mode):
5042         * progmodes/flymake.el (flymake-mode):
5043         * progmodes/glasses.el (glasses-mode):
5044         * progmodes/hideshow.el (hs-minor-mode):
5045         * progmodes/pascal.el (pascal-outline-mode):
5046         * textmodes/enriched.el (enriched-mode):
5047         * vc/smerge-mode.el (smerge-mode):
5048         Doc fixes (minor mode argument).
5050 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
5052         * ls-lisp.el (ls-lisp-sanitize): New function.
5053         (ls-lisp-insert-directory): Use it to fix or remove any elements
5054         in file-alist with missing attributes.  (Bug#4673)
5056 2012-02-07  Alan Mackenzie  <acm@muc.de>
5058         Fix spurious recognition of c-in-knr-argdecl.
5060         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5061         putative K&R region.
5063 2012-02-07  Alan Mackenzie  <acm@muc.de>
5065         * progmodes/cc-engine.el (c-forward-objc-directive):
5066         Prevent looping in "#pragma mark @implementation".
5068 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
5070         * notifications.el (notifications-on-closed-signal): Make `reason'
5071         optional.  (Bug#10744)
5073 2012-02-07  Glenn Morris  <rgm@gnu.org>
5075         * emacs-lisp/easy-mmode.el (define-minor-mode):
5076         Doc fixes for the macro and the mode it defines.
5078         * image.el (imagemagick-types-inhibit): Doc fix.
5080         * cus-start.el (imagemagick-render-type): Add it.
5082 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
5084         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5085         Set the default at load time, too, so that `font-lock-fontify-buffer'
5086         can be called without setting up the entire mode first.  This fixes
5087         a bug in `mm-inline-text' with C MIME parts.
5089 2012-02-06  Chong Yidong  <cyd@gnu.org>
5091         * simple.el (list-processes--refresh): Delete exited processes
5092         (Bug#8094).
5094         * comint.el (comint-next-prompt): next-single-char-property-change
5095         and prev-single-char-property-change never return nil (Bug#8657).
5097         * custom.el (defcustom): Doc fix (Bug#9711).
5099 2012-02-05  Chong Yidong  <cyd@gnu.org>
5101         * cus-edit.el (custom-variable-reset-backup): Quote the value
5102         before storing it in the customized-value property (Bug#6712).
5103         (custom-display): Add a customization type tag.
5104         (custom-buffer-create-internal): Improve tooltip message.
5106         * wid-edit.el (widget-field-value-get): New optional arg to
5107         suppress trailing whitespace truncation.
5108         (character): Use it (Bug#2689).
5110 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
5112         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5113         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5115 2012-02-05  Chong Yidong  <cyd@gnu.org>
5117         * cus-edit.el (custom-variable-value-create): For mismatched
5118         types, show the current value (Bug#7600).
5120         * custom.el (defcustom): Doc fix.
5122 2012-02-05  Glenn Morris  <rgm@gnu.org>
5124         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5126 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
5128         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5129         (pp-buffer): Use `ignore-errors', `looking-at-p'.
5130         (pp-last-sexp): Use `looking-at-p'.
5132 2012-02-04  Glenn Morris  <rgm@gnu.org>
5134         * files.el (revert-buffer):
5135         Doc fix (mention revert-buffer-in-progress-p).
5137         * emacs-lisp/ert-x.el (ert-simulate-command):
5138         Check deferred-action-list (which is obsolete) is bound.
5140         * subr.el (with-wrapper-hook): Doc fixes.
5142         * simple.el (filter-buffer-substring-functions)
5143         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5145 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
5147         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5148         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
5150 2012-02-04  Leo Liu  <sdl.web@gmail.com>
5152         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5154 2012-02-04  Glenn Morris  <rgm@gnu.org>
5156         * image.el (image-extension-data): Add obsolete alias.
5158         * isearch.el (isearch-update): Doc fix.
5160         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5162         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5164 2012-02-03  Glenn Morris  <rgm@gnu.org>
5166         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
5167         (image-animate-timeout): Doc fix.
5169         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5171 2012-02-02  Glenn Morris  <rgm@gnu.org>
5173         * server.el (server-auth-dir): Doc fix.
5174         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
5176         * subr.el (run-mode-hooks): Doc fix.
5178 2012-02-02  Juri Linkov  <juri@jurta.org>
5180         * image-mode.el (image-toggle-display-image): Remove tautological
5181         `major-mode' from the `derived-mode-p' test.
5183 2012-02-02  Kenichi Handa  <handa@m17n.org>
5185         * composite.el (compose-region): Cancel previous change.
5187 2012-02-02  Kenichi Handa  <handa@m17n.org>
5189         * composite.el (compose-region, compose-string): Signal error for
5190         a null string component (Bug#6988).
5192 2012-02-01  Chong Yidong  <cyd@gnu.org>
5194         * view.el (view-buffer-other-window, view-buffer-other-frame):
5195         Handle special modes like view-buffer (Bug#10650).
5196         (view-buffer): Simplify.
5198         * frame.el (set-frame-font): Tweak meaning of third argument.
5200         * dynamic-setting.el (font-setting-change-default-font):
5201         Use set-frame-font (Bug#9982).
5203 2012-02-01  Glenn Morris  <rgm@gnu.org>
5205         * progmodes/compile.el (compilation-internal-error-properties):
5206         Respect compilation-first-column in the "*compilation*" buffer.
5208         * emacs-lisp/easy-mmode.el (define-minor-mode):
5209         Relax :variable's test for a named function.
5211 2012-01-31  Alan Mackenzie  <acm@muc.de>
5213         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5214         off by one error.
5216 2012-01-31  Chong Yidong  <cyd@gnu.org>
5218         * frame.el (set-frame-font): New arg ALL-FRAMES.
5220         * menu-bar.el (menu-set-font): Use set-frame-font.
5222         * faces.el (face-spec-reset-face): Don't apply unspecified
5223         attribute values to the default face.
5225 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
5227         * progmodes/cwarn.el (cwarn): Remove dead link.
5228         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5229         Remove * from defcustom docstrings.
5230         (turn-on-cwarn-mode): Make obsolete.
5231         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5232         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5234 2012-01-31  Glenn Morris  <rgm@gnu.org>
5236         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5237         Fix :variable handling of mode a symbol not equal to modefun.
5238         Allow named functions to be used as the cdr of :variable.
5240 2012-01-30  Glenn Morris  <rgm@gnu.org>
5242         * emacs-lisp/authors.el (authors-fixed-entries):
5243         Remove reference to deleted file rnewspost.el.
5245 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
5247         * window.el (window-with-parameter): Remove unused variable `windows'.
5248         (window--side-check): Remove unused variable `code'.
5249         (window--resize-siblings): Remove unused variable `first'.
5250         (adjust-window-trailing-edge): Remove unused variable `failed'.
5251         (window-deletable-p, window--delete): Remove unused variable `buffer'.
5252         Use `let', not `let*'.
5253         (balance-windows-2): Remove unused variable `found'.
5254         (window--state-put-2): Remove unused variable `splits'.
5255         (window-state-put): Remove unused variable `selected'.
5256         (same-window-p): Use `string-match-p'.
5257         (display-buffer-assq-regexp): Remove unused variable `value'.
5258         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5259         Mark argument ALIST as ignored.
5260         (pop-to-buffer): Remove unused variable `old-window'.
5262 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
5264         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5265         and .lzma compressed files.
5267 2012-01-29  Chong Yidong  <cyd@gnu.org>
5269         * frame.el (window-system-default-frame-alist): Doc fix.
5271         * dynamic-setting.el (font-setting-change-default-font): Don't
5272         change the default face if SET-FONT argument is non-nil (Bug#9982).
5274 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
5276         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5278 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
5280         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5281         breakpoints in files outside current directory (Bug#6098).
5283 2012-01-29  Chong Yidong  <cyd@gnu.org>
5285         * progmodes/python.el: Require ansi-color at top-level.
5287         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5288         Define and use in Emacs Lisp mode (Bug#9360).
5289         (lisp-mode-abbrev-table): Add doc.
5290         (lisp-mode-variables): Don't set local-abbrev-table.
5291         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5293 2012-01-28  Roland Winkler  <winkler@gnu.org>
5295         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5297 2012-01-28  Roland Winkler  <winkler@gnu.org>
5299         * textmodes/bibtex.el (bibtex-entry-alist): New function.
5300         (bibtex-set-dialect): Use it.  Either set global values of
5301         dialect-dependent variables or bind these variables buffer-locally
5302         (Bug#10254).
5303         (bibtex-mode): Call bibtex-set-dialect via
5304         hack-local-variables-hook.
5305         (bibtex-dialect): Update docstring.
5306         Add safe-local-variable predicate.
5307         (bibtex-entry-alist, bibtex-field-alist): Initialize via
5308         bibtex-set-dialect.
5309         (bibtex-mode-map): Define menu for each dialect.
5310         (bibtex-entry): Fix docstring.
5312 2012-01-28  Chong Yidong  <cyd@gnu.org>
5314         * eshell/esh-arg.el (eshell-quote-argument): New function.
5316         * eshell/esh-ext.el (eshell-invoke-batch-file):
5317         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5318         first arg to eshell-parse-command (Bug#10523).
5320 2012-01-28  Drew Adams  <drew.adams@oracle.com>
5322         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5323         `default-directory' is non-nil.
5325 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
5327         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5328         line that displays system-configuration-options.  (Bug#9924)
5330 2012-01-28  Drew Adams  <drew.adams@oracle.com>
5332         * descr-text.el (describe-char): Show information about POS, in
5333         addition to information about the character at POS.  Improve and
5334         update the doc string.  Change "code point" to "code point in
5335         charset", to avoid confusion with the character's Unicode code
5336         point shown above that.  (Bug#10129)
5338 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
5340         * descr-text.el (describe-char): Show the raw character, not only
5341         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
5342         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5343         for the reasons.
5345 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
5347         * emacs-lisp/package.el (package-install):
5348         Run package-refresh-contents if there is no archive yet (Bug#9798).
5350 2012-01-28  Chong Yidong  <cyd@gnu.org>
5352         * emacs-lisp/package.el (package-maybe-load-descriptor):
5353         New function, split from package-maybe-load-descriptor.
5354         (package-maybe-load-descriptor): Use it.
5355         (package-download-transaction): Fully load required packages
5356         inside the loop, so that `require' calls work (Bug#10593).
5357         (package-install): No need to call package-initialize now.
5359 2012-01-28  Chong Yidong  <cyd@gnu.org>
5361         * simple.el (deactivate-mark): Doc fix (Bug#8614).
5363         * tooltip.el (tooltip-mode): Doc fix.
5364         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5366         * frame.el (set-cursor-color): Doc fix (Bug#352).
5368         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5369         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5371         * cus-edit.el (custom-buffer-create-internal): Fix search button
5372         action (Bug#10542).
5373         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5375 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
5377         * dired.el (dired-mark-files-regexp):
5378         Include any subdirectory components.  (Bug#10445)
5380 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
5382         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5383         Handle [host]:port syntax.  (Bug#10533)
5385 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
5387         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5389 2012-01-26  Glenn Morris  <rgm@gnu.org>
5391         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5392         * term.el (term-raw-escape-map): Use Control-X-prefix.
5393         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
5395 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
5397         * window.el (window-state-get, window--state-get-1): Don't deal
5398         with fixed-sizeness of windows.  Simplify code.
5400 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
5402         * window.el (window--state-get-1, window--state-put-2):
5403         Don't save and restore the mark.
5405 2012-01-25  Chong Yidong  <cyd@gnu.org>
5407         * custom.el (custom-variable-p): Doc fix.
5409 2012-01-25  Glenn Morris  <rgm@gnu.org>
5411         * dired.el (dired-goto-file): Handle some of the more common
5412         characters that `ls -b' escapes.  (Bug#10596)
5414         * progmodes/compile.el (compilation-next-error-function):
5415         Respect compilation-first-column in the "*compilation*" buffer.
5416         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
5418         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
5420 2012-01-24  Glenn Morris  <rgm@gnu.org>
5422         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
5424 2012-01-24  Julien Danjou  <julien@danjou.info>
5426         * color.el (color-rgb-to-hsl): Fix value computing.
5427         (color-hue-to-rgb): New function.
5428         (color-hsl-to-rgb): New function.
5429         (color-clamp, color-saturate-hsl, color-saturate-name)
5430         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5431         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5433 2012-01-24  Glenn Morris  <rgm@gnu.org>
5435         * vc/vc-rcs.el (vc-rcs-create-tag):
5436         * vc/vc-sccs.el (vc-sccs-create-tag):
5437         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
5439 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
5441         * eshell/esh-util.el (eshell-read-hosts-file):
5442         Skip comment lines.  (Bug#10549)
5444         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
5446 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
5448         * subr.el (display-delayed-warnings): Doc fix.
5449         (collapse-delayed-warnings): New function to collapse identical
5450         adjacent warnings.
5451         (delayed-warnings-hook): Add it.
5453 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
5455         * net/tramp.el (tramp-action-login): Set connection property "login-as".
5457         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5458         (tramp-default-user-alist): Don't add "pscp".
5459         (tramp-do-copy-or-rename-file-out-of-band): Use connection
5460         property "login-as", if set.  (Bug#10530)
5462 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
5464         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5465         "plink1" and "psftp".  (Bug#10530)
5467 2012-01-21  Kenichi Handa  <handa@m17n.org>
5469         * international/mule-cmds.el (prefer-coding-system): Show a
5470         warning message if the default value of file-name-coding-system
5471         was not changed.
5473 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
5475         * windmove.el (windmove-reference-loc):
5476         Fix windmove-reference-loc miscalculation.
5478 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
5480         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5481         default unit.
5483 2012-01-21  Glenn Morris  <rgm@gnu.org>
5485         * international/mule.el (auto-coding-alist): Add .tbz.
5487         * files.el (local-enable-local-variables): Doc fix.
5488         (inhibit-local-variables-regexps): Rename from
5489         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
5490         Doc fix.  Add some extensions from auto-coding-alist.
5491         (inhibit-local-variables-suffixes):
5492         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
5493         (inhibit-local-variables-p):
5494         New function, extracted from set-auto-mode-1.
5495         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
5496         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
5497         (hack-local-variables): Doc fix.  Make the mode-only case
5498         respect enable-local-variables and friends.
5499         Respect inhibit-local-variables-regexps for file-locals, but
5500         not for directory-locals.
5501         (set-visited-file-name):
5502         Take account of inhibit-local-variables-regexps.
5503         Whether it applies may change as the file name is changed.
5504         * jka-cmpr-hook.el (jka-compr-install):
5505         * jka-compr.el (jka-compr-uninstall):
5506         Update for inhibit-first-line-modes-suffixes name change.
5508 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
5510         * help-macro.el (make-help-screen): Temporarily restore original
5511         binding for minor-mode-map-alist (Bug#10454).
5513 2012-01-19  Julien Danjou  <julien@danjou.info>
5515         * color.el (color-name-to-rgb): Use the white color to find the max
5516         color component value and return correctly computed values.
5517         (color-name-to-rgb): Add missing float conversion for max value.
5519 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
5521         * window.el (window--state-get-1, window-state-get): Do not use
5522         special state value for window-persistent-parameters.
5523         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
5524         (window--state-put-2): Reset all window parameters to nil before
5525         assigning values of persistent parameters.
5527 2012-01-18  Alan Mackenzie  <acm@muc.de>
5529         Eliminate sluggishness and hangs in fontification of "semicolon
5530         deserts".
5532         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5533         Change value 10000 -> 3000.
5534         (c-state-safe-place): Reformulate so it doesn't stack up an
5535         infinite number of wrong entries in c-state-nonlit-pos-cache.
5536         (c-determine-limit-get-base, c-determine-limit): New functions to
5537         determine backward search limits disregarding literals.
5538         (c-find-decl-spots): Amend commenting.
5539         (c-cheap-inside-bracelist-p): New function which detects "={".
5541         * progmodes/cc-fonts.el
5542         (c-make-font-lock-BO-decl-search-function): Give a limit to a
5543         backward search.
5544         (c-font-lock-declarations): Fix an occurrence of point being
5545         undefined.  Check additionally for point being in a bracelist or
5546         near a macro invocation without a semicolon so as to avoid a
5547         fruitless time consuming search for a declarator.  Give a more
5548         precise search limit for declarators using the new
5549         c-determine-limit.
5551 2012-01-18  Glenn Morris  <rgm@gnu.org>
5553         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5554         (set-auto-mode): Doc fixes.
5556 2012-01-17  Glenn Morris  <rgm@gnu.org>
5558         * isearch.el (search-nonincremental-instead): Fix doc typo.
5560         * dired.el (dired-insert-directory): Handle newlines in directory name.
5561         (dired-build-subdir-alist): Unescape newlines in directory name.
5563 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
5565         * net/tramp.el (tramp-local-end-of-line): New defcustom.
5566         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5567         (tramp-action-terminal): Use it.  (Bug#10530)
5569 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5571         * minibuffer.el (completion--replace): Strip properties (bug#10062).
5573 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
5575         * window.el (window-state-ignored-parameters): Remove variable.
5576         (window--state-get-1): Rename argument MARKERS to IGNORE.
5577         Handle persistent window parameters.  Make copy of clone-of
5578         parameter only if requested.  (Bug#10348)
5579         (window--state-put-2): Install a window parameter only if it has
5580         a non-nil value or an existing parameter shall be overwritten.
5582 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
5584         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5586 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
5588         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5589         don't pass the (nil) value of `upnode' to string-match.
5591 2012-01-14  Chong Yidong  <cyd@gnu.org>
5593         * startup.el (command-line): Fix X resource class for cursorColor.
5594         Fix values recognized by the cursorBlink resource.
5596 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
5598         * epg.el (epg--make-temp-file): Avoid permission race condition
5599         when running on old Emacs versions (bug#10403).
5601 2012-01-14  Glenn Morris  <rgm@gnu.org>
5603         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5605 2012-01-13  Alan Mackenzie  <acm@muc.de>
5607         Fix filling for when filladapt mode is enabled.
5609         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5610         c-mask-paragraph, pass in `fill-paragraph' rather than
5611         `fill-region-as-paragraph'.  (This is a reversion of a previous
5612         change.)
5613         * progmodes/cc-mode.el (c-basic-common-init):
5614         Make fill-paragraph-handle-comment buffer local and set it to nil.
5616 2012-01-13  Glenn Morris  <rgm@gnu.org>
5618         * dired.el (dired-switches-escape-p): New function.
5619         (dired-insert-directory): Use dired-switches-escape-p.
5620         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
5622         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
5624 2012-01-12  Glenn Morris  <rgm@gnu.org>
5626         * mail/sendmail.el (mail-mode): Update paragraph-separate for
5627         changes in adaptive-fill-regexp.  (Bug#10276)
5629 2012-01-11  Alan Mackenzie  <acm@muc.de>
5631         Fix Emacs bug #10463 - put `widen's around the critical spots.
5633         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5634         widen around each invocation of c-state-pp-to-literal.  Remove an
5635         unused let variable.
5637 2012-01-11  Glenn Morris  <rgm@gnu.org>
5639         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
5640         Doc fix.
5642 2012-01-10  Chong Yidong  <cyd@gnu.org>
5644         * net/network-stream.el (network-stream-open-starttls):
5645         Avoid emitting a confusing error message when the server gives a bad
5646         response to the capability command.
5648 2012-01-10  Glenn Morris  <rgm@gnu.org>
5650         * mail/unrmail.el (unrmail): Tweak previous change.
5652 2012-01-09  Chong Yidong  <cyd@gnu.org>
5654         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5656 2012-01-08  Alan Mackenzie  <acm@muc.de>
5658         Optimise font locking in long enum definitions.
5660         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5661         arm to a cond form to handle enums.
5662         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5663         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5665 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5667         * files.el (move-file-to-trash): Preserve default file modes on error.
5668         (Bug#10401)
5670 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5672         * faces.el (set-face-attribute): Clarify the meaning of the nil
5673         frame (bug#10294).
5675         * subr.el (with-selected-frame): Mention that the selected frame
5676         is restored (bug#9980).
5678         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5679         (bug#9759).
5681         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5682         (password-read): Don't autoload unused function.
5684 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
5686         * progmodes/which-func.el (which-func-mode): Turn into a
5687         non-interactive function and mark as obsolete (bug#10428).
5689 2012-01-06  Chong Yidong  <cyd@gnu.org>
5691         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5692         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5693         functions, along with 1 and -1.
5695 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
5697         * time.el (display-time-load-average)
5698         (display-time-default-load-average): Doc fixes.  See the thread
5699         starting at
5700         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5701         for the details.
5703 2012-01-06  Glenn Morris  <rgm@gnu.org>
5705         * mail/unrmail.el (unrmail): Give an explicit error if the input file
5706         has no messages.  (Bug#10377)
5708         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5709         than Info-edit.  (Bug#10385)
5711         * time.el (display-time-load-average, display-time-next-load-average):
5712         Doc fixes.
5714         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5715         local setting of buffer-read-only to the input buffer.  (Bug#10419)
5717         * calendar/calendar.el (calendar-mode):
5718         Locally set scroll-margin to 0.  (Bug#10379)
5720 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
5722         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
5724 2012-01-05  Glenn Morris  <rgm@gnu.org>
5726         * eshell/em-unix.el (diff-no-select): Autoload it.
5727         (eshell/diff): Use diff-no-select.  (Bug#10420)
5729 2012-01-05  Chong Yidong  <cyd@gnu.org>
5731         * shell.el (shell-dynamic-complete-functions): Revert last change.
5732         (shell-command-completion-function): New function.
5733         (shell-completion-vars): Use it to implement
5734         shell-completion-execonly (Bug#10417).
5736         * custom.el (enable-theme): Don't set custom-safe-themes.
5738         * cus-theme.el (custom-theme-merge-theme):
5739         Ignore custom-enabled-themes and custom-safe-themes.
5741 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
5743         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5744         first prompt in `sql-interacive-mode'.
5745         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5746         keywords.
5747         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5748         (sql-product-interactive): Bug fix: Set `sql-buffer' in
5749         context of original buffer.  Invoke `sql-login-hook'.
5751 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
5753         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5754         letters in cite-prefix.
5756 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5758         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5760 2012-01-03  Chong Yidong  <cyd@gnu.org>
5762         * shell.el (shell-dynamic-complete-functions):
5763         Put pcomplete-completions-at-point, so as to try
5764         comint-filename-completion first (Bug#10417).
5766 2012-01-02  Richard Stallman  <rms@gnu.org>
5768         * battery.el (battery-status-function):
5769         Detect when to use battery-yeeloong-sysfs.
5770         (battery-echo-area-format): Add string for Yeeloong.
5771         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5772         (battery-yeeloong-sysfs): New function.
5774 2012-01-02  Chong Yidong  <cyd@gnu.org>
5776         * dirtrack.el (dirtrack-list): Eliminate unused third element.
5777         (dirtrack): Merge code for handling relative filenames in prompt
5778         from shell-dir-cookie-watcher.
5779         (dirtrack-debug-message): New arg to avoid excess format calls.
5781         * shell.el (shell-dir-cookie-re): Variable deleted.
5782         (shell-dir-cookie-watcher): Function deleted.
5783         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5784         with dirtrack-mode.
5786 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
5788         * term/w32-win.el (dynamic-library-alist) <gnutls>:
5789         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5790         libgnutls-26.dll.
5792 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
5794         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5796 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
5798         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5799         headers of non-MIME messages, when rmail-enable-mime is non-nil.
5801 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
5803         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5804         also for alternative shells.
5805         (tramp-open-connection-setup-interactive-shell): Check, whether
5806         the shell is a busybox.
5807         (tramp-send-command): Don't suppress multiple prompts for
5808         busyboxes, it hurts.
5810 2011-12-28  Chong Yidong  <cyd@gnu.org>
5812         * progmodes/gdb-mi.el (gdb-get-source-file-list)
5813         (gdb-get-source-file): Move mode line update to
5814         gdb-get-source-file (Bug#10087).
5816 2011-12-25  Chong Yidong  <cyd@gnu.org>
5818         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5819         gud-gdb-marker-filter without taking it as an argument.
5820         (gud-gdb-run-command-fetch-lines): Caller changed.
5821         (gud-gdb-completion-function): New variable.
5822         (gud-gdb-completion-at-point): Use it.
5823         (gud-gdb-completions-1): Split from gud-gdb-completions.
5825         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5826         function as separate arguments.
5827         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5828         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5829         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5830         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5831         (gdb-stopped, def-gdb-auto-update-trigger)
5832         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5833         (gdb-get-changed-registers, gdb-get-main-selected-frame):
5834         Callers changed.
5835         (gud-gdbmi-completions): New function.
5836         (gdb): Use it for generating the completion table.
5838 2011-12-24  Alan Mackenzie  <acm@muc.de>
5840         Introduce a mechanism to widen the region used in context font
5841         locking.  Use this to protect declarations from losing their contexts.
5843         * progmodes/cc-langs.el (c-before-font-lock-functions):
5844         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5845         (c-before-context-fontification-functions): New defvar, a list of
5846         functions to be run just before context (etc.) font locking.
5848         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5849         New, functionality extracted from
5850         c-neutralize-syntax-in-and-mark-CPP.
5851         (c-in-after-change-fontification): New variable.
5852         (c-after-change): Set c-in-after-change-fontification.
5853         (c-set-fl-decl-start): Rejig its interface, so it can be called
5854         from both after-change and context fontifying.
5855         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5856         New functions.
5857         (c-standard-font-lock-fontify-region-function): New variable.
5858         (c-font-lock-fontify-region): New function.
5860 2011-12-24  Juri Linkov  <juri@jurta.org>
5862         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5863         (Bug#10348)
5865 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
5867         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5868         existence of source file.  (Bug#10325)
5870 2011-12-23  Alan Mackenzie  <acm@muc.de>
5872         Fix unstable fontification inside templates.
5874         * progmodes/cc-langs.el (c-before-font-lock-functions):
5875         Newly created from the singular version.  The (c c++ objc) entry now
5876         additionally has c-set-fl-decl-start.  The other languages (apart
5877         from AWK) have that as a single entry.
5879         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5880         The functionality for "local" declarations has been extracted to
5881         c-set-fl-decl-start.
5883         * progmodes/cc-mode.el (c-common-init, c-after-change):
5884         Changes due to pluralisation of c-before-font-lock-functions.
5885         (c-set-fl-decl-start): New function, extracted from
5886         c-font-lock-enclosing-decls and enhanced.
5888 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
5890         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5892 2011-12-22  Juri Linkov  <juri@jurta.org>
5894         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
5896 2011-12-22  Chong Yidong  <cyd@gnu.org>
5898         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5900 2011-12-21  Drew Adams  <drew.adams@oracle.com>
5902         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
5904 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
5906         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5908 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
5910         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
5911         highlighting and support.  Fix up comments for capitalization.
5912         (cfengine-mode-debug): New var.
5913         (cfengine3-mode): Change the modeline indicator to "CFE3".
5914         (cfengine3-font-lock-keywords): Improve defun highlighting.
5915         (cfengine2-actions): Rename from `cfengine-actions'.
5916         (cfengine2-font-lock-keywords): Rename from
5917         `cfengine-font-lock-keywords'.
5918         (cfengine2-imenu-expression): Rename from
5919         `cfengine-imenu-expression'.
5920         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5921         (cfengine2-beginning-of-defun): Rename from
5922         `cfengine-beginning-of-defun'.
5923         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5924         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5925         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
5926         modeline indicator to "CFE2".
5927         (cfengine-mode): Defalias to `cfengine-auto-mode'.
5928         (cfengine-mode-abbrevs): Mark obsolete.
5930 2011-12-21  Chong Yidong  <cyd@gnu.org>
5932         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5933         filename argument.
5935 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
5937         * window.el (window-normalize-buffer-to-display): Remove.
5938         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5940 2011-12-19  Chong Yidong  <cyd@gnu.org>
5942         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5943         Don't signal an error in a predicate function; return non-nil.
5944         (vc-dir-mark-file): Move the error here.
5945         (vc-dir-mark-unmark): If acting on the region, keep going if one
5946         of the entries cannot be marked/unmarked.
5947         (vc-dir-mark-all-files): If current entry is a directory, mark
5948         only child files, as documented.
5950 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5952         * ses.el: Ooops... undo changes of revision 106664, as trunk
5953         branch is feature frozen, and revision 106664 was a feature
5954         addition.
5956 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
5958         * term/ns-win.el (ns-get-selection-internal)
5959         (ns-store-selection-internal): Declare.
5960         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5961         Declare as obsolete.
5962         (ns-get-pasteboard, ns-paste-secondary):
5963         Use ns-get-selection-internal.
5964         (ns-set-pasteboard,  ns-copy-including-secondary):
5965         Use ns-store-selection-internal.
5967 2011-12-17  Chong Yidong  <cyd@gnu.org>
5969         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5970         (vc-deduce-fileset): Doc fix.
5972 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
5974         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5976 2011-12-13  Sam Steingold  <sds@gnu.org>
5978         * man.el (Man-getpage-in-background): When running under a
5979         window-system, ignore $MANWIDTH and $COLUMNS.
5981 2011-12-15  Kenichi Handa  <handa@m17n.org>
5983         * language/ethio-util.el: Change coding tag to utf-8-emacs.
5984         (setup-ethiopic-environment-internal): Comment out key-binding for
5985         ethio-toggle-punctuation.
5987 2011-12-13  Alan Mackenzie  <acm@muc.de>
5989         Add the switch statement to AWK Mode.
5991         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5992         "default" to the keywords regexp.
5994         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5995         expression as the rest.
5996         (c-nonlabel-token-key): Allow string literals for AWK.
5997         Refactor for the other modes.
5999         Large brace-block initialisation makes CC Mode slow: Fix.
6000         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6001         routines.  Limit backward searching in c-font-lock-enclosing.decl.
6003         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6004         pp-state and literal type in addition to the limits.
6005         (c-state-safe-place): New defun, extracted from c-state-literal-at.
6006         (c-state-literal-at): Use the above new defun.
6007         (c-slow-in-literal, c-fast-in-literal): Remove.
6008         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6010         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6011         being in a literal.  Add a limit for backward searching.
6013         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6014         c-slow-in-literal.
6016 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6018         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6020 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
6022         * window.el (delete-other-windows): Use correct frame in call to
6023         window-with-parameter.
6025 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
6027         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6028         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6029         (makefile-gmake-statements, makefile-makepp-statements):
6030         Use it and add new makepp keywords.
6031         (makefile-makepp-font-lock-keywords): Add new patterns.
6032         (makefile-match-function-end): Match new [...] and [[...]].
6034 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
6036         * ses.el (ses-call-printer-return, ses-cell-property-get)
6037         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6038         (ses-create-cell-variable, ses-reset-header-string)
6039         (ses-cell-set-formula, ses-repair-cell-reference-all)
6040         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6041         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6042         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6043         (ses-aset-with-undo, ses-load, ses-truncate-cell)
6044         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6045         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6046         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6047         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6048         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6049         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6050         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6051         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6053 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6055         * ses.el: The overall change is to add cell renaming, that is
6056         setting fancy names for cell symbols other than name matching
6057         "\\`[A-Z]+[0-9]+\\'" regexp .
6058         (ses-create-cell-variable): New defun.
6059         (ses-relocate-formula): Relocate formulas only for cells the
6060         symbols of which are not renamed, i.e. symbols whose names do not
6061         match regexp "\\`[A-Z]+[0-9]+\\'".
6062         (ses-relocate-all): Relocate values only for cells the symbols of
6063         which are not renamed.
6064         (ses-load): Create cells variables as the (ses-cell ...) are read,
6065         in order to check row col consistency with cell symbol name only
6066         for cells that are not renamed.
6067         (ses-replace-name-in-formula): New defun.
6068         (ses-rename-cell): New defun.
6070 2011-12-11  Chong Yidong  <cyd@gnu.org>
6072         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6073         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6075 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
6077         * window.el (other-window): Fix docstring.
6079 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
6081         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6082         `from' or `to' address before taking its substring.
6083         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6084         encoded name is chopped in the middle of the encoded string, and
6085         thus displayed encoded.
6087 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
6089         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6091 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
6093         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
6094         to use texinfo-update-node and commands that call it if the
6095         Texinfo file uses @node lines without next/prev/up pointers.
6096         Correct outdated description about texinfo-master-menu.
6097         (texinfo-all-menus-update, texinfo-master-menu)
6098         (texinfo-update-node, texinfo-every-node-update)
6099         (texinfo-multiple-files-update): Doc fix.  Warn against updating
6100         all the @node lines.
6101         (texinfo-master-menu): Only call texinfo-update-node if the prefix
6102         argument is numeric.  Explain better in the doc string what the
6103         function really does.
6104         (texinfo-insert-master-menu-list): Improve the error message
6105         displayed if there's no menu in the Top node.
6106         (Bug#2975)  See also this thread:
6107         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6109 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
6111         * speedbar.el (speedbar-supported-extension-expressions):
6112         Add .adb and .ads, commonly used for Ada source code (bug#10256).
6114 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
6116         * printing.el (pr-mode-alist):
6117         * simple.el (filter-buffer-substring-functions)
6118         (completion-list-insert-choice-function):
6119         * window.el (window-with-parameter, window-atom-root)
6120         (window-sides-slots, window-size-fixed, window-min-delta)
6121         (window-max-delta, window--resize-mini-window)
6122         (window--resize-child-windows-normal, window-tree)
6123         (delete-other-windows, quit-window, split-window)
6124         (display-buffer-record-window, special-display-buffer-names)
6125         (special-display-regexps, special-display-popup-frame)
6126         (same-window-p, split-window-sensibly)
6127         (display-buffer-overriding-action, display-buffer-alist)
6128         (display-buffer-base-action, display-buffer, switch-to-buffer)
6129         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6130         (fit-window-to-buffer, recenter-positions)
6131         (mouse-autoselect-window-state, mouse-autoselect-window-select):
6132         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6133         and remove unneeded backslashes in docstrings.
6135 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6137         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6139         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6140         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6141         end in ".mk".
6142         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6143         when reading the makefile (bug#10116).
6145 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6147         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6148         (bug#10116).
6150 2011-12-06  Glenn Morris  <rgm@gnu.org>
6152         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6154 2011-12-06  Chong Yidong  <cyd@gnu.org>
6156         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6158 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
6160         * textmodes/table.el (table-shorten-cell): Fix typo.
6162 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
6164         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6166 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
6168         * descr-text.el (describe-char): Fix display of strong
6169         right-to-left characters and directional embeddings and overrides.
6171         * simple.el (what-cursor-position): Fix display of codepoints of
6172         strong right-to-left characters.
6174 2011-12-05  Chong Yidong  <cyd@gnu.org>
6176         * faces.el (read-color): Doc fix.
6178 2011-12-05  Glenn Morris  <rgm@gnu.org>
6180         * align.el (align--set-marker): Add doc-string.
6181         Don't try to move something that is not a marker.  (Bug#10216)
6183 2011-12-04  Glenn Morris  <rgm@gnu.org>
6185         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6186         overly zealous deletion of trailing whitespace.
6188 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
6190         * server.el (server-delete-client): On Windows, do not try to delete
6191         the only terminal.
6192         (server-process-filter): On Windows, treat requests for a tty frame as
6193         if they were for a GUI frame if the running server is in GUI mode.
6195 2011-12-03  Glenn Morris  <rgm@gnu.org>
6197         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
6199 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6201         * electric.el: Streamline electric-indent's hook.
6202         (electric-indent-chars): Revert to simple list.
6203         (electric-indent-functions): New var.
6204         (electric-indent-post-self-insert-function): Use it.
6206         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6207         there's no inferior buffer (bug#10196).
6208         (prolog-consult-compile): Don't use toggle-read-only.
6210 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
6212         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6213         interrupt.  (Bug#10187)
6215 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6217         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6218         (bug#9160).
6220         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6221         (bug#10191).
6223 2011-12-02  Juri Linkov  <juri@jurta.org>
6225         * info.el (Info-search): Display "end of manual" when Isearch
6226         reaches the end of single-file Info manual.  (Bug#9918)
6228 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
6230         * isearch.el (isearch-message-prefix): Run the input method part
6231         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
6233 2011-12-02  Juri Linkov  <juri@jurta.org>
6235         * isearch.el (isearch-occur): Use `word-search-regexp' for
6236         `isearch-word'.
6237         (isearch-search-and-update): Add condition for `isearch-word' and
6238         call `word-search-regexp'.  (Bug#10145)
6240 2011-12-01  Glenn Morris  <rgm@gnu.org>
6242         * eshell/em-hist.el (eshell-hist-initialize):
6243         Handle eshell-history-size nil and HISTSIZE set or unset.
6244         (eshell-history-file-name, eshell-history-size): Fix custom type.
6246 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6248         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6250 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
6252         * progmodes/verilog-mode.el (verilog-pretty-expr):
6253         Rework verilog-pretty-expr to handle new assignment operators in system
6254         verilog, such as += *= and the like.
6255         (verilog-assignment-operator-re): Regular expression to find the
6256         assigment operator in a verilog assignment.
6257         (verilog-assignment-operation-re): Regular expression to find an
6258         assignment statement for pretty-expr.
6259         (verilog-in-attribute-p): Query returns true if point is in an
6260         attribute context; used to skip these for expression line up from
6261         pretty-expr.
6262         (verilog-in-parameter-p): Query returns true if point is in an
6263         parameter definition context; used to skip these for expression
6264         line up from pretty-expr.
6265         (verilog-in-parenthesis-p): Query returns true if point is in a
6266         parenthetical expression, specifically ( ) but not [ ] or { };
6267         used by pretty-expr.
6268         (verilog-just-one-space): If there is no space, don't add one.
6269         (verilog-get-lineup-indent-2): Specifically skip just attribute
6270         contexts for expression lineup, rather than skipping all
6271         parenthetical expressions.
6272         (verilog-calculate-indent): Fix comment, and fix indent.
6273         (verilog-do-indent): Indent declarations in lists (suggested by
6274         Joachim Lechner).
6275         (verilog-mode-abbrev-table): Populate abbrev mode with the various
6276         skeleton items.
6277         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6278         by Alain Mellan).
6280 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
6282         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6283         parameters with embedded comments.  Reported by Ray Stevens.
6284         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6285         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6286         Reported by Tim Holt.
6287         (verilog-auto): Fix AUTOing a upper module then AUTOing module
6288         instantiated by upper module causing wrong expansion until AUTOed a
6289         second time.  Reported by K C Buckenmaier.
6290         (verilog-diff-auto): Fix showing .* as a difference when
6291         `verilog-auto-star-save' off.  Reported by Dan Dever.
6292         (verilog-auto-reset, verilog-read-always-signals)
6293         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6294         temporary signals in reset list if
6295         verilog-auto-reset-blocking-in-non is nil, and match assignment
6296         style to each signal's assignment type, bug381.
6297         Reported by Thomas Esposito.
6298         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6299         (verilog-uvm-statement-re): Support UVM indentation and
6300         highlighting, with old OVM keywords only.
6301         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6302         Support AUTOTIEOFF creating non-wire data types.
6303         Suggested by Jonathan Greenlaw.
6304         (verilog-auto-insert-lisp, verilog-delete-to-paren)
6305         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6306         (verilog-inject-sense, verilog-read-inst-pins)
6307         (verilog-read-sub-decls, verilog-read-sub-decls-line):
6308         Fix mismatching parenthesis inside commented out code when deleting
6309         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
6310         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6311         non-numeric vector width.  Reported by Alex Reed.
6312         (verilog-auto-ascii-enum): Add "onehot" option to work around not
6313         detecting signals with parameter widths.  Reported by Alex Reed.
6314         (verilog-auto-delete-trailing-whitespace):
6315         With `verilog-auto-delete-trailing-whitespace' remove trailing
6316         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
6317         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6318         Fix verilog-scan-cache corruption when running user AUTO expansion
6319         hooks that call indentation routines.
6320         (verilog-simplify-range-expression): Fix typo ignoring lower case
6321         identifiers.
6322         (verilog-delete-auto): Fix delete-autos to also remove user created
6323         automatics, as long as they start with AUTO.
6324         (verilog-batch-diff-auto, verilog-diff-auto)
6325         (verilog-diff-function): Add `verilog-diff-auto' and bind to
6326         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
6327         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6328         (verilog-in-paren-quick, verilog-re-search-backward-quick)
6329         (verilog-re-search-forward-quick, verilog-syntax-ppss):
6330         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6331         is disabled and its cache will get corrupt, causing AUTOS not to
6332         expand.  Instead use only -quick functions.
6333         (verilog-scan-region): Fix scanning over escaped quotes.
6334         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6335         (verilog-re-search-backward-quick)
6336         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6337         related functions now ignore strings, to fix misparsing of strings
6338         with magic comments embedded in them.
6339         (verilog-read-auto-template):
6340         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6341         Reported by Brad Dobbie.
6342         (verilog-read-auto-template):
6343         Fix 'verilog-auto-inst-template-numbers' with comments.
6344         Reported by Brad Dobbie.
6345         (verilog-auto-inst, verilog-auto-inst-param)
6346         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6347         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
6348         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6349         debugging templates without merge conflicts, bug357.
6350         Reported by Brad Dobbie.
6351         (verilog-read-auto-template):
6352         Fix verilog-auto-inst-template-numbers with multiple templates.
6353         Reported by Brad Dobbie.
6354         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6355         abbrevs so user won't be asked to save.
6356         (verilog-read-auto-lisp-present): Fix to start at beginning of
6357         buffer in case called outside of verilog-auto.
6358         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6359         to "X-2".  Reported by Matthew Myers.
6360         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6361         all inputs from module templates.  Reported by Leith Johnson.
6362         (verilog-module-inside-filename-p): Fix locating programs as with
6363         modules.
6364         (verilog-auto-inst-port): Fix vl-width expressions when using
6365         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
6366         (verilog-decls-get-regs, verilog-decls-get-signals,
6367         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6368         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6369         verilog-read-decls): Combine reg and wire structures into one var
6370         structure to represent SystemVerilog concepts.
6371         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6372         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6373         (verilog-auto-wire-type, verilog-insert-definition):
6374         Add verilog-auto-wire-type and AUTOLOGIC to support using
6375         SystemVerilog "logic" keyword instead of "wire"/"reg".
6376         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6377         to declares outputs that also have assignments (presumably in an
6378         ifdef or generate if so there's not a driver conflict).
6379         Reported by Matthew Myers.
6380         (verilog-auto-declare-nettype, verilog-insert-definition):
6381         Add verilog-auto-declare-nettype to fix declarations using
6382         `default_nettype none.  Reported by Julian Gorfajn.
6383         (verilog-read-always-signals-recurse, verilog-read-decls)
6384         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6385         malformed end statement, bug325.  Reported by Joshua Wise and
6386         Andrew Drake.
6387         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6388         (verilog-inst-comment-re): Fix not deleting Interfaced comment
6389         when expanding .* in interfaces, bug320.
6390         Reported by Pierre-David Pfister.
6391         (verilog-read-module-name): Fix import statements between module
6392         name and open parenthesis, bug317.
6393         Reported by Pierre-David Pfister.
6394         (verilog-simplify-range-expression): Fix simplification of
6395         multiplications inside AUTOWIRE connections, bug303.
6396         (verilog-auto-inst-port): Support parameter expansion in
6397         multidimensional arrays.
6398         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6399         after "assert property".  Reported by Julian Gorfajn.
6400         (verilog-simplify-range-expression): Fix "couldn't merge" errors
6401         with multiplication, bug303.
6402         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6403         Reported by Jan Frode Lonnum.
6405 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
6407         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6408         (hfy-shell-file-name, hfy-shell):
6409         * international/fontset.el (x-decompose-font-name): Fix typos.
6411 2011-11-29  Ken Brown  <kbrown@cornell.edu>
6413         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6414         (gdb-version): Remove defvar.
6415         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6416         (gdb-gud-context-command, gdb-non-stop-handler)
6417         (gdb-current-context-command, gdb-stopped): Use it.
6418         (gdb-init-1): Enable pretty printing here.
6419         (gdb-non-stop-handler): Don't enable pretty-printing here.
6420         Check to see if the target supports non-stop mode; if not, turn off
6421         non-stop mode.  Use the following.
6422         (gdb-check-target-async): New defun.
6423         (gud-watch, gdb-stopped): Fix whitespace.
6424         (gdb-get-source-file): Don't try to display the source file if
6425         `gdb-main-file' is nil.
6427 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6429         * align.el: Try to generate fewer markers (bug#10047).
6430         (align--set-marker): New macro.
6431         (align-region): Use it.
6433 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6435         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6437 2011-11-29  Chong Yidong  <cyd@gnu.org>
6439         * indent.el (indent-for-tab-command, indent-according-to-mode):
6440         Doc fix.
6441         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
6443 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
6445         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6446         aware of remote file names.  (Bug#10124)
6448 2011-11-29  Chong Yidong  <cyd@gnu.org>
6450         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6452 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6454         * files.el (find-file): Don't use force-same-window (bug#10144).
6455         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6456         use pop-to-buffer if the selected window can't be used.
6457         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6459 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
6461         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6462         special-mode-map.
6464 2011-11-28  Chong Yidong  <cyd@gnu.org>
6466         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6468 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
6470         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6471           gdb-get-source-file-list on gdb-create-source-file-list.
6473 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
6475         * whitespace.el (whitespace-newline): Use a different foreground
6476         color for 16-color light-background displays.
6478 2011-11-24  Chong Yidong  <cyd@gnu.org>
6480         * window.el (display-buffer--special-action): Doc fix.
6482 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
6484         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6485         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6486         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6487         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6488         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6489         (avl-tree-stack-first):
6490         * emacs-lisp/cconv.el (cconv--analyse-use):
6491         * net/gnutls.el (gnutls-negotiate): Fix typos.
6493 2011-11-24  Glenn Morris  <rgm@gnu.org>
6495         * lpr.el (lpr-windows-system, lpr-lp-system):
6496         * mail/binhex.el (binhex-begin-line):
6497         * progmodes/grep.el (grep-history, grep-find-history):
6498         * textmodes/flyspell.el:
6499         * vc/pcvs-defs.el (cvs-global-menu):
6500         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6501         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6502         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6504         * net/tls.el: Fix case of "GnuTLS".
6506         * paths.el (rmail-file-name): Format doc-string for make-docfile.
6508         * version.el (emacs-build-system): Give it a doc-string.
6510 2011-11-24  Juri Linkov  <juri@jurta.org>
6512         * view.el (view-buffer): Revert revno:105285 from 2011-07-19 (bug#8615).
6514 2011-11-24  Glenn Morris  <rgm@gnu.org>
6516         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6517         if called on a non-mime message just toggle the headers.  (Bug#8006)
6519 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
6521         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6522         (allout-lead-with-comment-string, allout-structure-deleted-hook)
6523         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6524         (allout-rebullet-heading, allout-open-sibtopic)
6525         (allout-toggle-current-subtree-encryption)
6526         (allout-toggle-subtree-encryption, allout-encrypt-string)
6527         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6528         (allout-distinctive-bullets-string, allout-auto-activation):
6529         * window.el (window-normalize-buffer-to-display):
6530         * progmodes/verilog-mode.el (verilog-batch-indent):
6531         * textmodes/bibtex.el (bibtex-field-braces-opt)
6532         (bibtex-field-strings-opt):
6533         * vc/cvs-status.el (cvs-tree-merge):
6534         Fix typos.
6536 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
6538         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6539         `non-essential' to t, in order to avoid remote connections.
6541 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
6543         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6544         On MS-DOS and MS-Windows, compare with loaddefs.el
6545         case-insensitively.
6547 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
6549         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
6551 2011-11-23  Glenn Morris  <rgm@gnu.org>
6553         * paths.el (rmail-file-name): Reformat the doc-string so that it
6554         is picked up.
6556         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6557         (rmail-auto-file): Ignore case in the "special" field names,
6558         as mail-fetch-field does for all others.
6560         * mail/rmail.el (rmail-forward):
6561         * mail/rmailkwd.el (rmail-set-label):
6562         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6563         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
6565         * mail/rmail.el (rmail-current-message): Doc fix.
6567         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
6569 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6571         * server.el (server-eval-and-print): Allow C-g (bug#6585).
6573 2011-11-22  Glenn Morris  <rgm@gnu.org>
6575         * mail/rmailmm.el (test-rmail-mime-handler)
6576         (test-rmail-mime-bulk-handler)
6577         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6579 2011-11-21  Juri Linkov  <juri@jurta.org>
6581         * calc/calc.el (calc-read-key-sequence):
6582         Let-bind `input-method-function' to nil.  (Bug#10018)
6584 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6586         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6587         Tell the caller that the next line needs recomputation, even
6588         though it doesn't start a sexp (bug#10094).
6590 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6592         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6594 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6596         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6597         Use force-same-window.
6599 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
6601         * descr-text.el (describe-char-unicode-data):
6602         * json.el (json-string-escape):
6603         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6604         (Footnote-unicode, Footnote-style-p):
6605         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6607 2011-11-20  Chong Yidong  <cyd@gnu.org>
6609         * window.el (replace-buffer-in-windows): Restore interactive spec.
6611 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6613         * electric.el (electric-indent-mode): Fix last change (too optimistic).
6615         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6616         (byte-compile-global-not-obsolete-vars): New var.
6617         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6618         Use it.
6619         (byte-compile-warn-obsolete): Align text with the one in *Help*.
6621 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
6623         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6624         * progmodes/pascal.el (electric-pascal-equal):
6625         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6626         * xml.el (xml-substitute-special): Fix typos.
6628 2011-11-20  Glenn Morris  <rgm@gnu.org>
6630         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6631         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6632         Doc fixes.
6633         (rmail-decode-mime-charset): Mark as obsolete.
6635         * mail/rmailsum.el (rmail-message-regexp-p-1):
6636         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6637         Before using mime functions, check they are set.  (Bug#10077)
6639 2011-11-19  Juri Linkov  <juri@jurta.org>
6641         * info.el (Info-finder-find-node): Use `package--builtins' instead
6642         of `package-alist'.  Use node names formed by the pattern "Keyword "
6643         and the keyword name.
6645 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
6647         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6649 2011-11-19  Juri Linkov  <juri@jurta.org>
6651         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6652         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
6653         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6654         `old-history', `old-history-forward'.  Add let-binding
6655         `window-selected'.  Remove calls to `kill-buffer',
6656         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
6657         before calling `Info-find-node', so `Info-find-node-2' will reread
6658         the Info file.  Restore window positions only when `window-selected'
6659         is non-nil.
6661 2011-11-19  Juri Linkov  <juri@jurta.org>
6663         * isearch.el (isearch-lazy-highlight-new-loop):
6664         Remove condition `(not isearch-error)'.  (Bug#9918)
6666         * misearch.el (multi-isearch-search-fun): Add condition
6667         `(not bound)' to ignore lazy-highlighting search.
6668         Add the search-failed message "end of multi" when the end of
6669         multi-sequence is reached.  Uncapitalize the search-failed
6670         message "Repeat for next buffer".
6672         * info.el (Info-search): Add the search-failed message
6673         "end of the manual" when the end of the manual is reached
6674         in Isearch mode.
6676 2011-11-19  Juri Linkov  <juri@jurta.org>
6678         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6679         Use non-destructive `remove' instead of `delete' because
6680         `Info-history-list' stored to `Info-isearch-initial-history-list' in
6681         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6683 2011-11-19  Juri Linkov  <juri@jurta.org>
6685         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6686         to nil instead of binding `search-ring' and `regexp-search-ring'.
6687         (Bug#9185)
6689 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
6691         * simple.el (line-move): Force movement by logical lines for any
6692         hscrolled window, not only when auto-hscroll-mode is on.
6693         (line-move-visual): Update doc string to that effect.  (Bug#10076)
6695 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
6697         * language/european.el (macintosh): Define as alias for mac-roman.
6699 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
6701         * mail/rmailmm.el (rmail-mime-display-header)
6702         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6703         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6704         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6705         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6706         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6707         of a raw aref.
6708         (rmail-mime-entity-segment): To get past the tagline, move forward
6709         2 more lines, to account for the 2 empty lines that precede and
6710         follow the line with the buttons.
6711         (rmail-mime-update-tagline): Move one more line, to get past the
6712         empty line that follows the buttons in the tagline.  (Bug#9520)
6714 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
6716         * window.el (window-max-delta-1, window-min-delta-1)
6717         (window-min-size-1, window-state-get-1, window-state-put-1)
6718         (window-state-put-2): Use "window--" prefix.
6720 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6722         * emacs-lisp/smie.el: Improve warnings and conflict detection.
6723         (smie-warning-count): New var.
6724         (smie-set-prec2tab): Use it.
6725         (smie-bnf->prec2): Improve warnings.  Add docstring.
6726         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6727         (smie-bnf--set-class): New function.
6728         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
6729         corner case.
6731         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6732         (compilation-error-properties, compilation-move-to-column):
6733         Handle compilation-first-column while in the target buffer.
6735         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6736         Don't hardcode point-min==1.
6738         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6739         (eshell-rewrite-for-command): Remove workaround.
6740         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6741         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6742         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6744         * files-x.el (modify-file-local-variable): Obey commenting conventions.
6746 2011-11-17  Glenn Morris  <rgm@gnu.org>
6748         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6749         Ignore buffer-local generated-autoload-file if it is the same
6750         as the global value.  (Bug#10049)
6752 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
6754         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6755         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6756         (reftex-toc-previous-heading, reftex-toc-max-level)
6757         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6758         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6759         (reftex-toc-do-promote, reftex-toc-promote-prepare)
6760         (reftex-toc-promote-action, reftex-toc-extract-section-number)
6761         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6762         (reftex-toc-rename-label, reftex-toc-visit-location)
6763         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6764         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6765         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6766         leaving "*toc*" only for references to the buffer.
6768 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
6770         * window.el (window-resize, delete-window, split-window):
6771         Replace window-splits by window-combination-resize.
6772         * cus-start.el (window-splits): Replace by window-combination-resize.
6774 2011-11-17  Glenn Morris  <rgm@gnu.org>
6776         * progmodes/sh-script.el (sh-font-lock-keywords-var):
6777         Make bash entry derive from sh entry, not shell entry.
6779 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
6781         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6782         local file name.
6784 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
6786         * menu-bar.el (menu-bar-file-menu):
6787         * printing.el (pr-ps-utility):
6788         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6789         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6790         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6791         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6792         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6793         (icalendar--convert-cyclic-to-ical)
6794         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6795         (icalendar--convert-ical-to-diary)
6796         (icalendar--convert-recurring-to-diary)
6797         (icalendar--convert-non-recurring-all-day-to-diary)
6798         (icalendar-import-format-sample):
6799         * progmodes/idlw-shell.el (idlwave-shell-mode):
6800         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6801         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6802         (vhdl-ps-print-init): Fix typos.
6804 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
6806         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6807         FSF and collapse date sequence, obscure author/maintainer email address
6808         better, remove extra version line, track relocation of author's webpage.
6810         * progmodes/python.el (python-pdbtrack-input-prompt)
6811         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6812         regular python pdb prompts.  Adjustments shamelessly taken exactly as
6813         suggested in EmacsWiki page (tiny change):
6814         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6816 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
6818         * expand.el (expand-pos, expand-index, expand-point):
6819         Remove redundant info from docstring.
6820         (expand-add-abbrevs): Doc fix.
6821         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6822         (expand-sample-perl-mode-expand-list): Fix typos.
6824         * net/dbus.el (dbus-event-member-name):
6825         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6826         * term/pc-win.el (msdos-create-frame-with-faces):
6827         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6829 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
6831         * window.el (split-window, window-state-get-1)
6832         (window-state-put-1, window-state-put-2): Rename occurrences of
6833         window-nest to window-combination-limit.
6834         * cus-start.el (window-nest): Rename to window-combination-limit.
6836 2011-11-16  Chong Yidong  <cyd@gnu.org>
6838         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6839         regexp (Bug#10033).
6841 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6843         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6844         `completing-read' will remove *Completions* and will preserve
6845         current-buffer for us.
6846         (tmm-add-prompt): Users of *Completions* will always (re)set its
6847         major mode.
6848         (tmm-old-comp-map): Remove.
6850 2011-11-16  Glenn Morris  <rgm@gnu.org>
6852         * mail/rmailedit.el: Require rmailmm when compiling.
6853         (rmail-old-mime-state): New declaration.
6854         (rmail-edit-current-message): If editing a mime message,
6855         edit the "raw" message from the mbox buffer.
6856         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
6858 2011-11-15  Glenn Morris  <rgm@gnu.org>
6860         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6861         which wasn't being used.  Add optional arg to force given state.
6862         (rmail-mime): Add optional arg to force given state.
6864 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
6866         * allout.el (allout-encryption-plaintext-sanitization-regexps):
6867         * frame.el (display-mm-dimensions-alist):
6868         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6869         (outline-move-subtree-down):
6870         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6871         (newsticker--treeview-do-get-node):
6872         * net/quickurl.el (quickurl-list-buffer-name):
6873         * progmodes/dcl-mode.el (dcl-mode):
6874         * progmodes/gdb-mi.el (gdb-mapcar*):
6875         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6877 2011-11-15  Glenn Morris  <rgm@gnu.org>
6879         * mail/rmail.el (rmail-file-coding-system): It's only ever used
6880         in a boolean sense, so just make it a boolean, and fix the doc.
6881         (rmail-show-mime-function, rmail-mime-feature)
6882         (rmail-require-mime-maybe): Doc fixes.
6883         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6885         * mail/rmailmm.el (rmail-show-mime): Doc fix.
6887 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
6889         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6890         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6891         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6892         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6894 2011-11-15  Glenn Morris  <rgm@gnu.org>
6896         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6897         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6898         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6899         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6900         (rmail-mime, rmail-show-mime): Doc fixes.
6902         * term/ns-win.el (mode-line-frame-identification):
6903         Leave it alone.  (Bug#10051)
6905         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
6907         * mail/rmailout.el (rmail-output-to-rmail-buffer):
6908         Handle empty buffers.  (Bug#9978)
6910 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
6912         * international/mule.el (define-charset):
6913         * mail/rmailmm.el (rmail-mime-find-header-encoding):
6914         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6915         * progmodes/verilog-mode.el (verilog-backward-token):
6916         * textmodes/ispell.el (lookup-words):
6917         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6919 2011-11-14  Glenn Morris  <rgm@gnu.org>
6921         * progmodes/executable.el
6922         (executable-make-buffer-file-executable-if-script-p):
6923         Handle file-modes returning nil.
6925         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6926         message - not necessary, and causes problems.  (Bug#9831)
6928         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6930         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6932         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6933         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
6934         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6936 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
6938         * window.el (window-resize, delete-window): Use window-splits
6939         variable instead of function.
6940         (window-state-get-1, window-state-put-2, window-state-put):
6941         Don't deal with windows' splits status.
6943 2011-11-12  Glenn Morris  <rgm@gnu.org>
6945         * apropos.el (apropos-do-all, apropos-library, apropos-value)
6946         (apropos-documentation): Doc fixes.
6948 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
6950         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6951         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6953 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6955         * electric.el (electric-indent-post-self-insert-function): Make it
6956         possible for a char to only indent in some circumstances.
6957         (electric-indent-mode): Simplify.
6959 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
6961         * window.el (windows-with-parameter): Remove unused function.
6962         (windows-at-side): Rename to window-at-side-list.
6963         (window-check, window-atom-check, window-atom-check-1)
6964         (window-side-check, window-size-ignore, window-size-fixed-1)
6965         (window-in-direction-2): Prefix with "window--".
6966         (window-tree-1): Rename to window--subtree, fix doc-string.
6968 2011-11-11  Glenn Morris  <rgm@gnu.org>
6970         * subr.el (eval-after-load): If FILE is already loaded,
6971         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
6973 2011-11-10  Glenn Morris  <rgm@gnu.org>
6975         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6976         Call svn via vc-svn-command rather than vc-do-command.
6977         (vc-svn-command): Add --non-interactive.  (Bug#9993)
6978         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6980         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6981         Add toggle-read-only.  (Bug#7292)
6982         * files.el (toggle-read-only): Mention that it should only
6983         be used interactively.  (Bug#10006)
6985 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6987         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6988         Adjust regexp for OCaml warnings.
6990         * electric.el (electric-pair-post-self-insert-function): Let user
6991         turn it off buffer-locally (bug#9932).
6993         * progmodes/python.el (python-beginning-of-statement):
6994         Rewrite (bug#2703).
6996         * progmodes/compile.el: Better handle TABs (bug#9749).
6997         (compilation-internal-error-properties)
6998         (compilation-next-error-function): Obey the target buffer's
6999         compilation-error-screen-columns.
7001 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
7003         * progmodes/meta-mode.el: Remove obsolete comments.
7004         (meta-right-comment-regexp, meta-ignore-comment-regexp):
7005         Fix typos in docstrings.
7007 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
7009         * window.el (window-size-fixed-p): Rewrite doc-string.
7010         (window-resizable-p): Rename to window--resizable-p.  Update callers.
7011         (window--resizable): New function.  Make all callers of
7012         window-resizable call window--resizable instead.
7013         (window-resizable): Rewrite in terms of window--resizable.
7015 2011-11-08  Glenn Morris  <rgm@gnu.org>
7017         * progmodes/delphi.el (delphi-mode-syntax-table):
7018         Let define-derived-mode define a proper syntax table.  (Bug#9994)
7020 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7022         * window.el: Stay away from defsubst.
7023         (window-list-no-nils): Remove.
7024         (window-state-get-1, window-state-get): Use backquote instead.
7026 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7028         * emacs-lisp/find-func.el (find-function-read):
7029         Fix incorrect use of default argument in `completing-read'.
7031 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
7033         * window.el (display-buffer-function, special-display-function):
7034         Mention display-buffer-record-window but do not mention
7035         help-setup parameter in doc-strings.
7036         (window-min-delta): Fix doc-string typo.
7038 2011-11-08  Chong Yidong  <cyd@gnu.org>
7040         * window.el (window-total-height, window-total-width): Doc fix.
7041         (window-body-size): Move from C.
7042         (window-body-height, window-body-width): Move to C.
7044 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7046         * window.el: Make special-display like display-buffer-alist (bug#9532).
7047         (display-buffer--special-action): New function, morphed
7048         from display-buffer--special.
7049         (display-buffer): Use it to handle special-display-buffers at higher
7050         priority (just after display-buffer-alist).
7051         (display-buffer-fallback-action, display-buffer--other-frame-action)
7052         (pop-to-buffer-same-window): Remove display-buffer--special.
7054 2011-11-07  Glenn Morris  <rgm@gnu.org>
7056         * calendar/cal-menu.el (cal-menu-set-date-title):
7057         Do nothing if not in a calendar.  (Bug#9976)
7059 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7061         * files.el (find-file): Always use selected-window.
7063 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
7065         * window.el (window-combinations): Make WINDOW argument
7066         mandatory.  Rewrite doc-string.
7067         (walk-window-subtree, window-atom-check, window-min-delta)
7068         (window-max-delta, window--resize-this-window)
7069         (window--resize-root-window-vertically, window-tree)
7070         (balance-windows, window-state-put): Rewrite doc-strings as to
7071         not mention the term "subwindow".
7072         (window--resize-subwindows-skip-p): Rename to
7073         window--resize-child-windows-skip-p.
7074         (window--resize-subwindows-normal): Rename to
7075         window--resize-child-windows-normal.
7076         (window--resize-subwindows): Rename to
7077         window--resize-child-windows.
7078         (window-or-subwindow-p): Rename to window--in-subtree-p.
7080 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7082         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7083         Ensure that mbox format messages end in two newlines (Bug#9974).
7085 2011-11-06  Chong Yidong  <cyd@gnu.org>
7087         * window.el (window-combination-p): Function deleted; its
7088         side-effect is not used in any existing code.
7089         (window-combinations, window-combined-p): Call window-*-child
7090         directly.
7092 2011-11-05  Chong Yidong  <cyd@gnu.org>
7094         * window.el (window-valid-p): Rename from window-any-p.
7095         (window-size-ignore, window-state-get): Callers changed.
7096         (window-normalize-window): Rename from window-normalize-any-window.
7097         New arg LIVE-ONLY, replacing window-normalize-live-window.
7098         (window-normalize-live-window): Delete.
7099         (window-combination-p, window-combined-p, window-combinations)
7100         (walk-window-subtree, window-atom-root, window-min-size)
7101         (window-sizable, window-sizable-p, window-size-fixed-p)
7102         (window-min-delta, window-max-delta, window-resizable)
7103         (window-resizable-p, window-full-height-p, window-full-width-p)
7104         (window-current-scroll-bars, window-point-1, set-window-point-1)
7105         (window-at-side-p, window-in-direction, window-resize)
7106         (adjust-window-trailing-edge, maximize-window, minimize-window)
7107         (window-deletable-p, delete-window, delete-other-windows)
7108         (record-window-buffer, unrecord-window-buffer)
7109         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7110         (quit-window, split-window, window-state-put)
7111         (set-window-text-height, fit-window-to-buffer)
7112         (shrink-window-if-larger-than-buffer): Callers changed.
7114 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
7116         * mail/rmail.el (rmail-simplified-subject): Decode subject with
7117         rfc2047-decode-string.
7118         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7119         warnings.
7121         * window.el (window-body-height, window-body-width): Mention in
7122         the doc string that the return values are in frame's canonical
7123         units.  (Bug#9949)
7125 2011-11-03  Alan Mackenzie  <acm@muc.de>
7127         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7128         change in cc-engine.el.
7130 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7132         * window.el (switch-to-buffer): Use `force-same-window' interactively.
7134 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
7136         * window.el (quit-window): Call unrecord-window-buffer after
7137         showing another buffer in the window.  (Bug#9937)
7138         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7140 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
7142         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7143         Accept status with more than 9 shelves.  (Bug#9935)
7144         Reported by Colin D Bennett <colin@gibibit.com>.
7146 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
7148         * help.el (with-help-window): Don't reference
7149         temp-buffer-show-specifiers in doc-string.
7151 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7153         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7154         menu-item.
7156 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7158         * whitespace.el: New version 13.2.2.
7159         (whitespace-newline-mode): Disable properly.  Reported by Sarah
7160         <EmacsWiki>.
7162 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
7164         * net/newst-treeview.el: Remove "Time-stamp".
7165         (newsticker--group-manage-orphan-feeds): Do not call
7166         newsticker--treeview-tree-update.
7167         (newsticker-treeview-update, newsticker-treeview):
7168         Call newsticker--treeview-tree-update if necessary.
7170 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
7172         * window.el (window-iso-combination-p, window-iso-combined-p)
7173         (window-iso-combinations): Remove "iso-" infix.
7174         Suggested by Chong Yidong.
7175         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7176         (window-max-delta-1, window-resize, window--resize-siblings)
7177         (window--resize-this-window, adjust-window-trailing-edge)
7178         (split-window, balance-windows-1)
7179         (shrink-window-if-larger-than-buffer):
7180         * calendar/calendar.el (calendar-generate-window):
7181         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7183 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7185         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7186         in place (bug#9907).
7187         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7188         (eshell-rewrite-if-command, eshell-rewrite-for-command)
7189         (eshell-structure-basic-command, eshell-rewrite-while-command)
7190         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7191         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7192         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7193         (eshell-do-pipelines-synchronously, eshell-eval-command):
7194         Use backquotes and prefer setq to set.
7195         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7196         (eshell-macrop): Use functionp.
7197         (eshell-do-eval): Handle multiple expressions in `while' body.
7199 2011-10-30  Chong Yidong  <cyd@gnu.org>
7201         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7202         instead of set-mark (Bug#9810).
7204 2011-10-30  Chong Yidong  <cyd@gnu.org>
7206         * window.el (split-window-below, split-window-right): Rename from
7207         split-window-above-each-other and split-window-side-by-side
7208         respectively.  All callers changed.
7209         (split-window-sensibly, split-window-sensibly): Use them.
7210         (split-window-keep-point): Doc fix.
7212         * isearch.el: Add isearch-scroll property to split-window-below
7213         and split-window-right.
7215         * follow.el (follow-mode):
7216         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7217         * progmodes/ada-xref.el (ada-gdb-application):
7218         * emulation/vip.el (vip-buffer-in-two-windows):
7219         * image-dired.el (image-dired-dired-with-window-configuration):
7220         * dired-x.el (dired-do-find-marked-files):
7221         * dired.el (dired-pop-to-buffer):
7222         * bs.el (bs--show-with-configuration):
7223         * vc/emerge.el (emerge-setup-windows):
7224         * textmodes/two-column.el (2C-two-columns):
7225         * textmodes/reftex-toc.el (reftex-toc):
7226         * progmodes/gdb-mi.el (gdb-setup-windows):
7227         * progmodes/fortran.el (fortran-window-create):
7228         * net/newst-treeview.el (newsticker--treeview-window-init):
7229         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7230         * emulation/tpu-edt.el (tpu-gold-map):
7231         * emulation/crisp.el (crisp-mode-map):
7232         * calendar/calendar.el (calendar-basic-setup): Callers changed.
7234 2011-10-29  Chong Yidong  <cyd@gnu.org>
7236         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7238         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7240         * textmodes/flyspell.el (flyspell-word): Fix char offset for
7241         forged Ispell output (Bug#7904).
7243         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7245 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7247         * doc-view.el: Avoid ugly errors about not finding nil.
7248         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7249         (doc-view-dvipdf-program, doc-view-unoconv-program)
7250         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7251         Avoid nil or absolute file name as default value.
7252         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7254 2011-10-28  Alan Mackenzie  <acm@muc.de>
7256         * progmodes/cc-defs.el (c-version): -> 5.32.2.
7258 2011-10-28  Alan Mackenzie  <acm@muc.de>
7260         Amend the handling of c-beginning/end-of-defun in nested declaration
7261         scopes.
7263         * progmodes/cc-vars.el (c-defun-tactic): Move here from
7264         cc-langs.el.  Change it to a defcustom.
7266         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7267         cc-vars.el.
7269         * progmodes/cc-engine.el (c-beginning-of-statement-1):
7270         Prevent "class foo : bar" being spuriously recognized as a label.
7272         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7273         Add parameter `inclusive' (to include enclosing braces in the region).
7274         (c-widen-to-enclosing-decl-scope): New function.
7275         (c-while-widening-to-decl-block): New macro.
7276         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7277         outward for defun boundaries, and correspondingly change symbol
7278         `respect-enclosure' to `go-outward'.
7279         (c-declaration-limits): Change algorithm to report only the "innermost"
7280         defun's boundaries.
7282 2011-10-28  Deniz Dogan  <deniz@dogan.se>
7284         * net/rcirc.el (rcirc-mode): Use hard newlines.
7286 2011-10-28  Alan Mackenzie  <acm@muc.de>
7288         Amend to indent and fontify macros "which include their own semicolon"
7289         correctly, using the "virtual semicolon" mechanism.
7291         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7293         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7294         Recode to scan one line at a time rather than having \n and \r
7295         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7296         (c-forward-label): Amend for virtual semicolons.
7297         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7299         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7300         of the new C macros.
7302         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7303         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7304         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7305         (c-opt-cpp-macro-define): Make into a full language variable.
7306         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7307         AWK Mode (including \n, \r) removed, no longer needed.
7309         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7310         Invoke c-make-macro-with-semi-re.
7312         * progmodes/cc-vars.el (c-macro-with-semi-re):
7313         (c-macro-names-with-semicolon): New variables.
7314         (c-make-macro-with-semi-re): New function.
7316 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7318         * vc/log-edit.el: Fill empty field rather than adding new one.
7319         (log-edit-add-field): New function.
7320         (log-edit-insert-changelog): Use it.
7322 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
7324         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7326 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7328         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7329         (gdb--check-interpreter): New function.
7330         (gdb): Use it.
7332 2011-10-27  Glenn Morris  <rgm@gnu.org>
7334         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7335         (least-positive-float, least-negative-float)
7336         (least-positive-normalized-float, least-negative-normalized-float)
7337         (float-epsilon, float-negative-epsilon):
7338         Remove unnecessary declarations.
7340         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7341         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7342         (least-positive-float, least-negative-float)
7343         (least-positive-normalized-float, least-negative-normalized-float)
7344         (float-epsilon, float-negative-epsilon): Add doc-strings,
7345         based on those in cl.texi.
7347         * files.el (set-visited-file-name): If the major-mode changed,
7348         reload the local variables.  (Bug#9796)
7350 2011-10-27  Chong Yidong  <cyd@gnu.org>
7352         * subr.el (change-major-mode-after-body-hook): New hook.
7353         (run-mode-hooks): Run it.
7355         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7356         Use change-major-mode-before-body-hook.
7358         * simple.el (fundamental-mode):
7359         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7360         change introducing fundamental-mode-hook.
7362 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
7364         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7366 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
7368         * ido.el (ido-file-name-all-completions-1): Do not require
7369         tramp.el explicitly.  (Bug#7583)
7371 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7373         * progmodes/octave-mod.el:
7374         * progmodes/octave-inf.el: Update maintainer.
7376 2011-10-26  Chong Yidong  <cyd@gnu.org>
7378         * subr.el (with-wrapper-hook): Rewrite doc.
7380 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
7382         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7383         filenames "/method:foo:".  (Bug#9793)
7385 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7387         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7388         (bug#9865).
7390 2011-10-24  Glenn Morris  <rgm@gnu.org>
7392         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
7394 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
7396         * notifications.el: Add the requirement of a running D-Bus session
7397         bus to the Commentary.
7399 2011-10-24  Juri Linkov  <juri@jurta.org>
7401         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7402         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7403         (Bug#9364)
7405 2011-10-24  Juri Linkov  <juri@jurta.org>
7407         * info.el (Info-following-node-name-re): Add newline to the list
7408         of allowed characters for leading space.  (Bug#9824)
7410 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7412         * progmodes/octave-inf.el (inferior-octave-mode-map):
7413         Fix C-c C-h binding.
7414         * progmodes/octave-mod.el (octave-help): Remove.
7416 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
7418         Sync with Tramp 2.2.3.
7420         * net/tramp-cache.el (top): Pacify byte-compiler using
7421         `init-file-user' and `site-run-file'.
7423         * net/trampver.el: Update release number.
7425 2011-10-23  Chong Yidong  <cyd@gnu.org>
7427         * files.el (toggle-read-only): Remove obsolete comment about
7428         version control.
7430         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7431         for toggle-read-only.  Note that this hasn't called vc-next-action
7432         since 2008-05-02, though it wasn't documented at the time.
7434         * vc/ediff-init.el (ediff-toggle-read-only-function):
7435         Use toggle-read-only.
7437 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
7439         Fix bug #9560, sporadic wrong indentation; improve instrumentation
7440         of c-parse-state.
7442         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7443         correct faulty logical expression.
7444         (c-parse-state-state, c-record-parse-state-state):
7445         (c-replay-parse-state-state): New defvar/defuns.
7446         (c-debug-parse-state): Use new functions.
7448 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
7450         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7451         last fix.  Use window-in-direction correctly.
7453 2011-10-21  Chong Yidong  <cyd@gnu.org>
7455         * progmodes/idlwave.el (idlwave-mode):
7456         * progmodes/vera-mode.el (vera-mode): No need to set
7457         require-final-newline; that's done in prog-mode.
7458         Suggested by Stefan Monnier.
7460 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
7462         * mouse.el (mouse-drag-window-above)
7463         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7464         (mouse-drag-mode-line-1, mouse-drag-header-line)
7465         (mouse-drag-vertical-line-rightward-window): Remove.
7466         (mouse-drag-line): New function.
7467         (mouse-drag-mode-line, mouse-drag-header-line)
7468         (mouse-drag-vertical-line): Call mouse-drag-line.
7469         * window.el (window-at-side-p, windows-at-side): New functions.
7471 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
7473         * tar-mode.el (tar-grind-file-mode):
7474         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
7476 2011-10-21  Chong Yidong  <cyd@gnu.org>
7478         * progmodes/idlwave.el (idlwave-mode):
7479         * progmodes/vera-mode.el (vera-mode):
7480         Use mode-require-final-newline.
7482 2011-10-20  Glenn Morris  <rgm@gnu.org>
7484         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
7486 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
7488         * emulation/cua-base.el (cua-set-mark): Fix case of string.
7490 2011-10-20  Chong Yidong  <cyd@gnu.org>
7492         * emulation/cua-base.el (cua-mode):
7493         * mail/footnote.el (footnote-mode):
7494         * mail/mailabbrev.el (mail-abbrevs-mode):
7495         * net/xesam.el (xesam-minor-mode):
7496         * progmodes/bug-reference.el (bug-reference-mode):
7497         * progmodes/cap-words.el (capitalized-words-mode):
7498         * progmodes/compile.el (compilation-minor-mode)
7499         (compilation-shell-minor-mode):
7500         * progmodes/gud.el (gud-tooltip-mode):
7501         * progmodes/hideif.el (hide-ifdef-mode):
7502         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7503         * progmodes/subword.el (subword-mode):
7504         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7505         * progmodes/which-func.el (which-function-mode):
7506         * term/tvi970.el (tvi970-set-keypad-mode):
7507         * term/vt100.el (vt100-wide-mode):
7508         * textmodes/flyspell.el (flyspell-mode):
7509         * textmodes/ispell.el (ispell-minor-mode):
7510         * textmodes/nroff-mode.el (nroff-electric-mode):
7511         * textmodes/paragraphs.el (use-hard-newlines):
7512         * textmodes/refill.el (refill-mode):
7513         * textmodes/reftex.el (reftex-mode):
7514         * textmodes/rst.el (rst-minor-mode):
7515         * textmodes/sgml-mode.el (html-autoview-mode)
7516         (sgml-electric-tag-pair-mode):
7517         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7518         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7519         * emulation/crisp.el (crisp-mode):
7520         * emacs-lisp/eldoc.el (eldoc-mode):
7521         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7522         minor mode behavior.
7524 2011-10-19  Juri Linkov  <juri@jurta.org>
7526         * descr-text.el (describe-char): Add #x2010 and #x2011 to
7527         the list of hard-coded chars with escape-glyph face.
7529 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7531         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7533 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
7535         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7536         running process.
7538 2011-10-19  Glenn Morris  <rgm@gnu.org>
7540         * vc/vc-bzr.el (vc-bzr-after-dir-status):
7541         Ignore ignored files.  (Bug#9726)
7543 2011-10-19  Chong Yidong  <cyd@gnu.org>
7545         Doc fix for minor modes, stating that an omitted argument enables
7546         the mode unconditionally when called from Lisp.
7548         * abbrev.el (abbrev-mode):
7549         * allout.el (allout-mode):
7550         * autoinsert.el (auto-insert-mode):
7551         * autoarg.el (autoarg-mode, autoarg-kp-mode):
7552         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7553         (global-auto-revert-mode):
7554         * battery.el (display-battery-mode):
7555         * composite.el (global-auto-composition-mode)
7556         (auto-composition-mode):
7557         * delsel.el (delete-selection-mode):
7558         * desktop.el (desktop-save-mode):
7559         * dired-x.el (dired-omit-mode):
7560         * dirtrack.el (dirtrack-mode):
7561         * doc-view.el (doc-view-minor-mode):
7562         * double.el (double-mode):
7563         * electric.el (electric-indent-mode, electric-pair-mode):
7564         * emacs-lock.el (emacs-lock-mode):
7565         * epa-hook.el (auto-encryption-mode):
7566         * follow.el (follow-mode):
7567         * font-core.el (font-lock-mode):
7568         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7569         * help.el (temp-buffer-resize-mode):
7570         * hilit-chg.el (highlight-changes-mode)
7571         (highlight-changes-visible-mode):
7572         * hi-lock.el (hi-lock-mode):
7573         * hl-line.el (hl-line-mode, global-hl-line-mode):
7574         * icomplete.el (icomplete-mode):
7575         * ido.el (ido-everywhere):
7576         * image-file.el (auto-image-file-mode):
7577         * image-mode.el (image-minor-mode):
7578         * iswitchb.el (iswitchb-mode):
7579         * jka-cmpr-hook.el (auto-compression-mode):
7580         * linum.el (linum-mode):
7581         * longlines.el (longlines-mode):
7582         * master.el (master-mode):
7583         * mb-depth.el (minibuffer-depth-indicate-mode):
7584         * menu-bar.el (menu-bar-mode):
7585         * minibuf-eldef.el (minibuffer-electric-default-mode):
7586         * mouse-sel.el (mouse-sel-mode):
7587         * msb.el (msb-mode):
7588         * mwheel.el (mouse-wheel-mode):
7589         * outline.el (outline-minor-mode):
7590         * paren.el (show-paren-mode):
7591         * recentf.el (recentf-mode):
7592         * reveal.el (reveal-mode, global-reveal-mode):
7593         * rfn-eshadow.el (file-name-shadow-mode):
7594         * ruler-mode.el (ruler-mode):
7595         * savehist.el (savehist-mode):
7596         * scroll-all.el (scroll-all-mode):
7597         * scroll-bar.el (scroll-bar-mode):
7598         * server.el (server-mode):
7599         * shell.el (shell-dirtrack-mode):
7600         * simple.el (auto-fill-mode, transient-mark-mode)
7601         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7602         (line-number-mode, column-number-mode, size-indication-mode)
7603         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7604         * strokes.el (strokes-mode):
7605         * time.el (display-time-mode):
7606         * t-mouse.el (gpm-mouse-mode):
7607         * tool-bar.el (tool-bar-mode):
7608         * tooltip.el (tooltip-mode):
7609         * type-break.el (type-break-mode-line-message-mode)
7610         (type-break-query-mode):
7611         * view.el (view-mode):
7612         * whitespace.el (whitespace-mode, whitespace-newline-mode)
7613         (global-whitespace-mode, global-whitespace-newline-mode):
7614         * xt-mouse.el (xterm-mouse-mode): Doc fix.
7616         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7617         Fix autogenerated docstring.
7619 2011-10-19  Juri Linkov  <juri@jurta.org>
7621         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7622         by checking environment variables "DESKTOP_SESSION" and
7623         "XDG_CURRENT_DESKTOP".  (Bug#9779)
7625 2011-10-19  Juri Linkov  <juri@jurta.org>
7627         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7628         (browse-url-chromium-program, browse-url-chromium-arguments):
7629         New defcustoms.
7630         (browse-url-default-browser): Check for `browse-url-chromium' and
7631         call `browse-url-chromium-program'.
7632         (browse-url-chromium): New command.  (Bug#9779)
7634 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
7636         * facemenu.el (list-colors-duplicates): On Windows, detect more
7637         duplicates by assuming that only colors matching "^System" are
7638         special "system colors".  (Bug#9722)
7640 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7642         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7643         to distinguish the author from the committer.
7645 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
7647         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7649 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
7651         * international/mule.el (sgml-html-meta-auto-coding-function):
7652         Add support for detecting encoding in HTML5 specified only as
7653         <meta charset="UTF-8">.  Implementation just makes http-equiv and
7654         content-type parts from HTML4 encoding string optional.  (Bug#9716)
7656 2011-10-18  Glenn Morris  <rgm@gnu.org>
7658         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
7660 2011-10-18  Chong Yidong  <cyd@gnu.org>
7662         * faces.el (cursor): Doc fix.
7664 2011-10-17  Chong Yidong  <cyd@gnu.org>
7666         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7668 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
7670         * dirtrack.el (dirtrack): Support shell buffers with path
7671         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
7673 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
7675         * json.el: Bump version to 1.3 and note change in History.
7676         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7678 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7680         * comint.el (comint-insert-input, comint-send-input)
7681         (comint-get-old-input-default, comint-backward-matching-input)
7682         (comint-next-prompt): Use nil instead of `input' for field property of
7683         past user input (bug#114).
7685         * minibuffer.el (completion--replace): Inherit surrounding properties
7686         (bug#114).
7687         (minibuffer-complete-and-exit): Use it.
7689         * comint.el (comint--table-subvert): Quote the all-completions output
7690         (bug#9160).
7692 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
7694         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7696         * menu-bar.el (menu-bar-file-menu): Add entry for making new
7697         window on right of selected.  (Bug#9350) Reword other window
7698         entries and separate them from frame entries.
7700 2011-10-15  Glenn Morris  <rgm@gnu.org>
7702         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7703         Doc fixes.
7705 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
7707         * net/network-stream.el (network-stream-open-starttls):
7708         Improve detection of failure due to lack of TLS support.
7710         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7711         putting the input text in front and in bold.
7713 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7715         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7717         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7718         empty buffer.
7720         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7721         unread-command-events rather than pushing yet-another event.
7723 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
7725         * mail/sendmail.el (sendmail-query-once): Improve the wording of
7726         the explanation of the possible choices.  Make the options passed
7727         to completing-read shorter.
7729 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7731         * textmodes/flyspell.el (flyspell-large-region): Make sure
7732         extended character mode is used if defined (Bug#1339).
7734 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
7736         * simple.el (what-cursor-position): Fix the display of the
7737         character info for LRE, LRO, RLE, and RLO characters by appending
7738         an invisible PDF.
7740 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7742         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7743         even in case of error; add debug spec; simplify data flow.
7744         (with-timeout-handler): Remove.
7746 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
7748         Fix Bug#6019, Bug#9315.
7750         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7751         complete `buffer-file-name', the local file name part could look
7752         remotely (for example on VMS).
7754         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7755         `tramp-run-real-handler'.
7756         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7757         already quoted by '"'.
7759         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7760         Let `file-name-handler-alist' be nil, the local file name part
7761         could look remotely (for example on VMS).
7763 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7765         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7766         from here...
7767         (flyspell-post-command-hook): ...to here.
7769 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7771         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7772         if not needed.
7773         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
7774         using completion.  Protect against "slow" callers.
7775         Remove the "message hack".
7777 2011-10-11  Juri Linkov  <juri@jurta.org>
7779         * isearch.el (isearch-lazy-highlight-word): New variable.
7780         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7781         Use it.  (Bug#9727)
7783 2011-10-11  Glenn Morris  <rgm@gnu.org>
7785         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7786         like f90-previous-statement does.
7788 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7790         * eshell/eshell.el (eshell-command): History should be saved
7791         only in interactive use, to avoid error.
7793 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7795         * minibuffer.el (completion-file-name-table): Fix last change,
7796         i.e. ignore normal errors but not the other ones.
7798 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
7800         * window.el (special-display-buffer-names)
7801         (special-display-regexps): Remove some remnants of earlier
7802         changes from doc-strings.
7803         (quit-windows-on): New function.
7805         * vc/vc.el (vc-revert, vc-rollback):
7806         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7807         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
7808         (Bug#6183) (Bug#7074) (Bug#7447)
7810 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
7812         * window.el (frame-auto-hide-function): Add version tag.
7813         (Bug#9699)
7815 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
7817         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7818         condition.
7820 2011-10-09  Leo Liu  <sdl.web@gmail.com>
7822         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7823         (Bug#9701)
7825 2011-10-08  Glenn Morris  <rgm@gnu.org>
7827         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7828         before the first code statement zero indent.  (Bug#9690)
7830 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
7832         * simple.el (count-words-region): Always count in the region.
7833         Report the number of lines and characters too.
7834         (count-words): New command, which counts in the buffer if the
7835         region is inactive, as count-words-region used to.
7836         (count-words--message): New function.  Handle plurals.
7837         (count-lines-region): Make it an alias for count-words-region.
7839         * bindings.el (esc-map): Replace count-lines-region with
7840         count-words-region.
7842 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
7844         * window.el (window--delete): Delete dedicated frame
7845         unconditionally when argument KILL is non-nil.  (Bug#9699)
7846         (switch-to-buffer): Fix doc-string typo.
7848 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7850         * eshell/eshell.el (eshell-command): Avoid using hooks.
7852 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
7854         * bindings.el ([M-left],[M-right]): Bind to left-word and
7855         right-word respectively.
7857 2011-10-07  Glenn Morris  <rgm@gnu.org>
7859         * cus-start.el (debug-on-quit): Fix custom type.
7861 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7863         * subr.el (define-key-after): Clarify that the function is not
7864         useful for non-menu keymaps.
7866         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7868 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7870         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7871         in current minibuffer (Fix bug with recursive minibuffers).
7873 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
7875         * progmodes/gdb-mi.el (gdb): Doc fix.
7877 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
7879         * window.el (frame-auto-hide-function): New option replacing
7880         frame-auto-delete.  Suggested by Stefan Monnier.
7881         (window--delete): Call frame-auto-hide-function instead of
7882         investigating frame-auto-delete.
7883         (window-point-1, set-window-point-1): New functions.
7884         (window-in-direction, record-window-buffer, window-state-get-1)
7885         (display-buffer-record-window): Use window-point-1 instead of
7886         window-point.
7887         (set-window-buffer-start-and-point): Use set-window-point-1.
7889 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7891         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7893 2011-10-05  Glenn Morris  <rgm@gnu.org>
7895         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7896         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
7898 2011-10-05  Leo Liu  <sdl.web@gmail.com>
7900         * subr.el (read-char-choice): Fix argument to buffer-live-p which
7901         works with buffer object.
7903 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7905         * mpc.el (mpc-tool-bar-map): Add labels.
7907 2011-10-04  Glenn Morris  <rgm@gnu.org>
7909         * calendar/holidays.el (calendar-check-holidays): Doc fix.
7911 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
7913         * window.el (window--delete): New function.
7914         (frame-auto-delete): Resuscitate option.
7915         (bury-buffer, replace-buffer-in-windows)
7916         (quit-window): Rewrite using window--delete.
7917         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7918         Pass display-buffer-mark-dedicated to window--display-buffer-2
7919         (Bug#9639).
7921 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7923         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7924         returns a list (bug#9554).  Add remote file name completion.
7925         * comint.el (comint--table-subvert): Curry and get quote&unquote
7926         functions as arguments.
7927         (comint--complete-file-name-data): Adjust call accordingly.
7928         * pcomplete.el (pcomplete--table-subvert): Remove.
7929         (pcomplete-completions-at-point): Use comint--table-subvert instead.
7931         * minibuffer.el (completion-table-case-fold): Use currying.
7932         (completion--styles-type, completion--cycling-threshold-type):
7933         New constants.
7934         (completion-styles, completion-category-overrides)
7935         (completion-cycle-threshold): Use them.
7936         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7937         completion-table-case-fold.
7939 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
7941         * minibuffer.el (completion-category-overrides): Fix type of styles
7942         and add more user friendly tags (bug#9660).
7944 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7946         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7947         (mule-input-method-string): New widget.
7948         (default-input-method, language-info-custom-alist): Use it.
7950 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7952         * pcomplete.el: Require comint.
7953         (pcomplete--common-suffix): Remove.
7954         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7955         (pcomplete--table-subvert): Sync with comint--table-subvert.
7956         (pcomplete--entries): Use comint-completion-file-name-table.
7957         * comint.el (comint-unquote-filename): Simplify.
7958         (comint-completion-file-name-table): New function (bug#9616).
7959         (comint--complete-file-name-data): Use it.
7961         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7962         (pcmpl-gnu-tar-buffer): Remove.
7963         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7964         around.  Make sure pcomplete-suffix-list is only changed temporarily.
7965         Don't look inside the tar's file if it's too large.
7967 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
7969         * cus-edit.el (custom-mode-map):
7970         * epa.el (epa-key-list-mode-map):
7971         * man.el (Man-mode-map):
7972         * startup.el (splash-screen-keymap):
7973         * simple.el (special-mode-map): Use scroll-up-command and
7974         scroll-down-command.
7976         * progmodes/idlw-help.el (idlwave-help-mode-map):
7977         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7978         * net/newst-plainview.el (newsticker-mode-map):
7979         * emulation/ws-mode.el (wordstar-mode-map):
7980         * emulation/vi.el (vi-com-map):
7981         * calc/calc-graph.el (calc-graph-show-dumb):
7982         * term/sun.el (terminal-init-sun):
7983         * term/ns-win.el (global-map):
7984         * progmodes/grep.el (grep-mode-map):
7985         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7986         * mail/rmail.el (rmail-mode-map):
7987         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7989         * custom.el (custom-safe-themes, load-theme): Treat value of t for
7990         custom-safe-themes as special.
7992 2011-10-01  Julien Danjou  <julien@danjou.info>
7994         * notifications.el (notifications-notify): Fix docstring.
7996 2011-10-01  Per Starbäck  <per@starback.se>
7998         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
8000 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
8002         * startup.el (command-line-1): Fix last fix by inserting
8003         initial-scratch-message into *scratch* before displaying it.
8004         (Bug#9605) and (Bug#9636)
8006 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
8008         * simple.el (line-move): If auto-hscroll-mode is disabled and the
8009         window is hscrolled, move by logical lines.  (Bug#9607)
8010         (line-move-visual): Update the doc string to the above effect.
8012 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
8014         * window.el (display-buffer-record-window): When WINDOW is the
8015         selected window use `point' instead of `window-point'.  (Bug#9626)
8017         * startup.el (command-line-1): Use insert-before-markers when
8018         inserting initial-scratch-message.  (Bug#9605)
8020         * help.el (help-window): Remove variable.
8022 2011-09-29  Glenn Morris  <rgm@gnu.org>
8024         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8026 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
8028         * descr-text.el (describe-char-categories): Accept category
8029         descriptions more than one line long.
8031 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8033         * simple.el (delete-trailing-whitespace): Fix last change.
8035         * progmodes/perl-mode.el (perl-syntax-propertize-function):
8036         Don't confuse "y => 3" as the beginning of a `y' operation.
8038         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8039         object has more than 4 slots (bug#9613).
8041 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
8043         * subr.el (with-output-to-temp-buffer):
8044         * net/quickurl.el (quickurl, quickurl-browse-url):
8045         Fix typos in docstrings.
8047 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
8049         * minibuffer.el (completion-styles)
8050         (completion-category-overrides): Cross reference each other in doc
8051         strings.
8053 2011-09-27  Glenn Morris  <rgm@gnu.org>
8055         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8056         to split-string.  (Bug#9606)
8058 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8060         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8061         (bug#9615).
8063 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
8065         * emacs-lisp/package.el (list-packages): Fix echo area message.
8067 2011-09-27  Leo Liu  <sdl.web@gmail.com>
8069         * ido.el (ido-read-internal): Accept cons cell HIST arg.
8071 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
8073         * net/dbus.el (dbus-unregister-object): Don't release services for
8074         registered signals.  (Bug#9581)
8076 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
8078         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8079         function that picks between cfengine 2 and 3 support
8080         automatically.  Update docs accordingly.
8082 2011-09-22  Kenichi Handa  <handa@m17n.org>
8084         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8085         ZERO.
8086         (indian-itrans-v5-table-for-tamil): New variable.
8087         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8089 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
8091         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8092         that's true if the current command involved collapsing of text.
8093         It's reset to false at the beginning of the next command.
8094         (allout-post-command-business): Move the cursor to the beginning
8095         of entry if the cursor is hidden and collapsing activity just
8096         happened.
8098 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
8100         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8101         tracking (Bug#9541).
8103 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
8105         * net/newst-reader.el (newsticker-html-renderer)
8106         (newsticker-show-news): Automatically load html rendering package
8107         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
8108         because w3m-fill-column is let-bound" and the error "Symbol's value
8109         as variable is void: w3m-fill-column".
8111 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
8113         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8114         Release services only if they are defined.  (Bug#9581)
8116 2011-09-23  Richard Stallman  <rms@gnu.org>
8118         * textmodes/paragraphs.el (forward-sentence): For backwards case,
8119         distinguish start of paragraph from start of its text.
8121         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8123         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8124         (rmail-generate-viewer-buffer): Put that hook on view buffer.
8125         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8127 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
8129         * international/mule-diag.el (mule-diag): Insert a newline after
8130         each fontset description.
8132 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8134         * simple.el (delete-trailing-whitespace):
8135         Document last change; simplify.
8137 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
8139         * simple.el (delete-trailing-whitespace): Also delete
8140         extra newlines at the end of the buffer.
8142         * textmodes/picture.el: Make motion commands obey shift-select-mode.
8143         (picture-newline): Use forward-line so as to ignore fields.
8145 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8147         * subr.el (with-wrapper-hook): Fix edebug spec.
8149 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8151         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8152         (bug#4538).
8154 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
8156         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8157         Fix nasty bug using wrong cached values.
8159 2011-09-23  Alan Mackenzie  <acm@muc.de>
8161         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8163 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
8165         * window.el (pop-to-buffer): Ensure right window is selected if we
8166         chose another frame.
8168 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
8170         * simple.el (what-cursor-position): Use get-char-property-change
8171         and next-single-char-property-change, to be able to show display
8172         properties that come from overlays as well as text properties.
8174 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
8176         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8178         * cmuscheme.el (run-scheme, switch-to-scheme):
8179         * cus-edit.el (customize-group, custom-buffer-create)
8180         (customize-browse):
8181         * info.el (info):
8182         * shell.el (shell):
8183         * mail/sendmail.el (mail):
8184         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8186 2011-09-22  Richard Stallman  <rms@gnu.org>
8188         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8189         move back only to line beg, don't move back over blank lines.
8191 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
8193         * files.el (copy-directory): Set directory attributes only in case
8194         they could be retrieved from the source directory.  (Bug#9565)
8196 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
8198         * progmodes/hideshow.el (hs-looking-at-block-start-p)
8199         (hs-find-block-beginning, hs-hide-level-recursive):
8200         Ignore strings as well as comments.  (Bug#9502)
8202 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
8204         * progmodes/sql.el (sql-comint-postgres):
8205         Convert port number to a string.  (Bug#9566)
8207 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
8209         * window.el (quit-window): Undedicate window when switching to
8210         previous buffer.  Reported by Thierry Volpiatto
8211         <thierry.volpiatto@gmail.com>.
8212         (special-display-popup-frame): When popping up a new frame reset
8213         its previous buffers to nil.  Simplify code.
8215 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
8217         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8218         and process filter, as done also in `shell-command'.
8220 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
8222         * window.el (set-window-buffer-start-and-point):
8223         Call set-window-start with NOFORCE argument t.
8224         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8225         (quit-window): Reword doc-string.  Handle new format of
8226         quit-restore parameter.  Don't delete window if it has a
8227         previous buffer we can show instead of the present one.
8228         (display-buffer-record-window): Rewrite using a new format for
8229         the quit-restore window parameter
8230         (special-display-popup-frame, display-buffer-same-window)
8231         (display-buffer-reuse-window, display-buffer-pop-up-frame)
8232         (display-buffer-pop-up-window, display-buffer-use-some-window):
8233         Adapt symbol passed to display-buffer-record-window.
8234         * help.el (help-window-setup): Handle new format of quit-restore
8235         parameter.
8237 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8239         * faces.el (face-list): Fix docstring (bug#9564).
8241         * window.el (display-buffer--action-function-custom-type):
8242         Don't include internal functions in the Custom interface.
8244 2011-09-20  Juri Linkov  <juri@jurta.org>
8246         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8247         (Info-forward-node, Info-backward-node, Info-next-preorder)
8248         (Info-last-preorder): Use it.  (Bug#9528)
8250 2011-09-20  Juri Linkov  <juri@jurta.org>
8252         * info.el (Info-last-preorder): Visit last menu item only when
8253         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8255 2011-09-20  Julien Danjou  <julien@danjou.info>
8257         * password-cache.el (password-cache-remove): Remove entries even if the
8258         value is nil, so that password with a nil value (negative caching) is
8259         possible to invalidate.
8261 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
8263         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8264         all whitespace around breakpoint.  (Bug#9553)
8265         (f90-find-breakpoint): Only break at whitespace inside a comment.
8267 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8269         * minibuffer.el (completion-file-name-table): Keep track of errors.
8270         (completion-table-with-predicate): Handle the case where pred1 is nil.
8271         * pcomplete.el (pcomplete-completions-at-point): Simplify.
8273 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8275         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8276         (debugger-return-value): Signal an error if the debugging context does
8277         not await any return value.
8279         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8280         * image-mode.el (image-toggle-display-text)
8281         (image-toggle-display-image): Stay away from evil `intangible'.
8283 2011-09-19  Leo Liu  <sdl.web@gmail.com>
8285         * replace.el (occur-revert-arguments): Make it permanent-local.
8286         (occur-mode): Don't call font-lock-defontify.
8288 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
8290         * net/ldap.el (ldap-search-internal): Don't push empty search
8291         result (Bug#9508).
8293 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8295         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8297 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
8299         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8300         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8302 2011-09-18  Juri Linkov  <juri@jurta.org>
8304         * buff-menu.el (Buffer-menu-mode-map):
8305         * dired.el (dired-mode-map):
8306         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8307         (lisp-interaction-mode-map):
8308         * emacs-lisp/package.el (package-menu-mode-map):
8309         * epa.el (epa-key-list-mode-map):
8310         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8311         (menu-bar-options-menu):
8312         * outline.el (outline-mode-menu-bar-map):
8313         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8314         * vc/vc-dir.el (vc-dir-menu-map):
8315         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8316         Capitalize non-function content words in menu item strings.
8318         * dired.el (dired-mode-map): Add menu item for
8319         `image-dired-dired-toggle-marked-thumbs'.
8321 2011-09-18  Juri Linkov  <juri@jurta.org>
8323         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8324         to `isearch-case-fold-search' and restore its original value
8325         after the `isearch-mode' call.
8327 2011-09-18  Juri Linkov  <juri@jurta.org>
8329         * progmodes/grep.el (grep-process-setup): Don't check code for 1
8330         because `zgrep' returns 1 for successful matches (bug#9226).
8332 2011-09-18  Juri Linkov  <juri@jurta.org>
8334         * info.el (Info-extract-menu-node-name): Check the second match
8335         for empty string (second test-case of bug#9528).
8336         (Info-last-preorder): Let-bind `Info-history' to nil to not add
8337         intermediate nodes to the history (first test-case of bug#9528).
8339 2011-09-18  Juri Linkov  <juri@jurta.org>
8341         * info.el (Info-mode-syntax-table): New variable.
8342         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8344 2011-09-18  Juri Linkov  <juri@jurta.org>
8346         * info.el (Info-file-supports-index-cookies):
8347         Increment line-beginning-position's arg from 3 to 4 because makeinfo
8348         outputs one more line for long file names (bug#4142).
8350 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
8352         * newcomment.el (comment-normalize-vars): If prompting for
8353         comment-start, set comment-start-skip too (Bug#8424).
8355 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
8357         * icomplete.el: Fix previous fix of Bug#5849.
8358         (icomplete-mode): Don't set completion-show-inline-help.
8359         (icomplete-minibuffer-setup): Set completion-show-inline-help
8360         locally during icompletion.
8362 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
8364         * woman.el (woman2-process-escapes): Don't delete unrecognized
8365         escapes (Bug#7843).
8367         * files.el (inhibit-first-line-modes-regexps): Add image files.
8368         (hack-local-variables-prop-line): Return nil for malformed
8369         prop-lines (Bug#9044).
8371 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
8373         * net/tramp.el (top): Don't require 'shell.
8374         (tramp-methods): Fix docstring.
8375         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8376         Return complete remote file name.  Handle "smb" case.
8377         Use `tramp-tmpdir', if defined for the respective method.
8378         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8380         * net/tramp-compat.el (top): Require 'shell.
8382         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8383         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8384         `tramp-current-host'.
8385         (tramp-get-remote-tmpdir): Remove.
8387         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8388         `tramp-tmpdir' entries.
8389         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8390         (tramp-smb-handle-file-attributes): Ignore errors.
8391         (tramp-smb-wait-for-output): Check also for process end.
8393 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8395         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8396         when sending QUIT (bug#9312).
8398 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
8400         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8401         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8402         occur-mode-display-occurrence.
8403         (occur-edit-mode): Add usage message.
8404         (occur-cease-edit): New command.
8405         (occur-after-change-function): Use text properties to find the
8406         position of the prefix text.
8407         (occur-engine): Set stickiness of prefix text properties.
8409 2011-09-17  Glenn Morris  <rgm@gnu.org>
8411         * progmodes/etags.el (complete-tag):
8412         Fix call to completion-in-region.  (Bug#9526)
8414 2011-09-17  Juri Linkov  <juri@jurta.org>
8416         * textmodes/ispell.el (ispell-word): Add to the error message
8417         the word, ispell program name and current dictionary (bug#9121).
8418         (ispell-tex-arg-end): Capitalize "error" in the error message.
8420 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
8422         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8423         check.  (Bug#4251)
8425 2011-09-17  Juri Linkov  <juri@jurta.org>
8427         * window.el (window-safe-min-height, window-safe-min-width):
8428         Fix typos (followup to bug#9522).
8430 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
8432         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8434 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
8436         * simple.el (line-move): If goal-column is set, move by logical
8437         lines, not by display lines.  (Bug#971)
8438         (next-line, previous-line, goal-column, line-move-visual): Doc fix
8439         to reflect the above change.
8441 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8443         * image.el (imagemagick-register-types): Use regexp-opt.
8445 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
8447         * window.el (display-buffer-base-action): Rename from
8448         display-buffer-default-action.  Make default value empty.
8449         (display-buffer-overriding-action): Convert to defvar.
8450         (display-buffer-fallback-action): New var.
8452 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
8454         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8455         declaration.
8456         (package--add-to-archive-contents): If there is a duplicate entry
8457         with an older version, remove it.
8458         (package-menu-mark-delete, package-menu-mark-install)
8459         (package-menu-mark-unmark): Make unused args optional.
8460         (package-menu-mark-obsolete-for-deletion):
8461         Use package-menu-get-status instead of a regexp search.
8462         (package-menu-get-status): Use tabulated-list-entry.
8463         (package-menu-mark-upgrades): New command.
8464         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
8465         (package-menu-execute): Do installation before deletion.
8466         (package-menu-refresh, package-menu-execute): Use derived-mode-p
8467         instead of checking major-mode.
8468         (package-menu--find-upgrades): New function.
8470 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8472         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8473         passwords in the log buffer.
8474         (smtpmail-process-filter): Update the process marker so that the
8475         "broken by peer" status message is inserted in the right place.
8477 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8479         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8480         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8481         bibtex-completion-at-point-function.
8482         (bibtex-completion-at-point-function): Use them.
8484         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8486         * mpc.el (mpc-constraints-tag-lookup): New function.
8487         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8488         also to browser "album|playlist".
8490 2011-09-14  Juri Linkov  <juri@jurta.org>
8492         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
8493         (isearch-edit-string): Use length of `isearch-string' when
8494         `isearch-fail-pos' returns nil.
8495         (isearch-message): Remove duplicate code and call
8496         `isearch-fail-pos' with arg `t'.
8498 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
8500         * replace.el (occur-mode-goto-occurrence): Don't force using other
8501         window (Bug#9499).
8503         * dired-aux.el (dired-do-chmod): Don't provide initial input.
8505 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
8507         * window.el (display-buffer-window): Remove.
8508         (display-buffer-record-window): Use help-setup window parameter
8509         instead of variable display-buffer-window.
8510         (display-buffer-function, special-display-buffer-names)
8511         (special-display-function): Mention help-setup parameter instead
8512         of display-buffer-window in doc-string.
8513         * help.el (help-window-setup): New argument help-window.
8514         Use help-window-setup parameter instead of display-buffer-window.
8515         Reword some messages.
8516         (with-help-window): Pass window used for displaying the buffer
8517         to help-window-setup.  Don't set display-buffer-window.
8519 2011-09-13  Glenn Morris  <rgm@gnu.org>
8521         * emacs-lisp/debug.el (debugger-make-xrefs):
8522         Preserve point.  (Bug#9462)
8524 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
8526         * window.el (window-deletable-p): Use next-frame.
8528 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
8530         * window.el (window-auto-delete): Remove.
8531         (window-deletable-p): Remove argument FORCE.  Don't deal with
8532         dedication and previous buffers.
8533         (switch-to-prev-buffer): Don't delete window.
8534         (delete-windows-on): Delete a window's frame if and only if the
8535         window is dedicated.
8536         (replace-buffer-in-windows): Delete buffer's window or frame if
8537         and only if window is dedicated.
8538         (quit-window): Handle quit-restore as before last change.
8539         (bury-buffer): Delete window only if window-deletable-p returns t.
8541 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
8543         * window.el (window-deletable-p): Never delete the last frame on a
8544         given terminal.
8546 2011-09-13  Glenn Morris  <rgm@gnu.org>
8548         * help.el (describe-key-briefly): Copy previous standard-output change.
8550 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
8552         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
8554 2011-09-13  Glenn Morris  <rgm@gnu.org>
8556         * emacs-lisp/lisp-mode.el (lisp-indent-function):
8557         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8559 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
8561         * dired-aux.el (dired-mark-read-string): Don't return default
8562         value on empty input (Bug#9361).
8563         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8564         Omit initial minibuffer contents.
8565         (dired-do-chmod): Signal an error on empty input.
8566         (dired-mark-read-string): Don't return default on empty input.
8568         * files.el (file-modes-symbolic-to-number): Doc fix.
8570 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8572         * international/mule-cmds.el (ucs-completions): Remove.
8573         (read-char-by-name): Use complete-with-action instead; add metadata.
8575 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
8577         * window.el (display-buffer--action-function-custom-type)
8578         (display-buffer--action-custom-type): New vars.
8579         (display-buffer-alist, display-buffer-default-action)
8580         (display-buffer-overriding-action): Add defcustom types.
8582         * frame.el (delete-other-frames): Doc fix (Bug#276).
8584 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8586         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8588 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
8590         Change modes that used same-window-* vars to use switch-to-buffer.
8592         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8593         Use switch-to-buffer.
8595         * cus-edit.el (customize-group, custom-buffer-create)
8596         (customize-browse, custom-buffer-create-other-window):
8597         Use switch-to-buffer or switch-to-buffer-other-window.
8599         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8600         (Info-prev, Info-up, Info-speedbar-goto-node)
8601         (info-display-manual): Use switch-to-buffer.
8602         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8604         * mail/sendmail.el (mail): Use switch-to-buffer.
8605         (mail-recover): Use switch-to-buffer-other-window.
8607         * cmuscheme.el (run-scheme, switch-to-scheme):
8608         * ielm.el (ielm):
8609         * shell.el (shell):
8610         * net/rlogin.el (rlogin):
8611         * net/telnet.el (telnet, rsh):
8612         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8614 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
8616         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8618 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8620         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8621         so don't mention it (bug#9301).
8622         (dired-sort-toggle-or-edit): Clarify string further.
8624         * faces.el (face-spec-set-match-display): Make `(type graphic)'
8625         match `x', `w32' and `ns', like the manual says (bug#9029).
8627         * subr.el (eval-after-load): Doc string clarification (bug#9125).
8628         (process-kill-buffer-query-function): Mention the buffer name in
8629         the query.
8631         * image-mode.el (image-next-line): The line parameter is mandatory
8632         (bug#9258).
8634         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8635         which can be useful (bug#9301).
8637         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8639         * subr.el (match-string): Mention that the current buffer should
8640         be the same as the search was done in (bug#9282).
8642         * facemenu.el: Disable the remove-* commands if the mark isn't
8643         active (bug#9162).
8645 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
8647         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8648         of display-buffer.
8649         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8651         * replace.el (occur-mode-goto-occurrence)
8652         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8653         and display-buffer.
8655         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8656         display-buffer.
8658         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8659         special-display and same-window variables.
8660         (mail-other-window): Use switch-to-buffer-other-window.
8661         (mail-other-frame): USe switch-to-buffer-other-frame.
8663         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8664         Use display-buffer-other-frame.
8665         (gdb-display-gdb-buffer): Use pop-to-buffer.
8667         * progmodes/gud.el (gud-goto-info): Use info-other-window.
8669         * progmodes/python.el: Don't set same-window-buffer-names.
8671         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8673         * window.el (display-buffer-alist): Add *Python*.
8675 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
8677         * window.el (display-buffer-alist): Add entry for buffers
8678         previously handled same-window-*.
8679         (display-buffer-alist, display-buffer-default-action)
8680         (display-buffer-overriding-action): Mark as risky.
8681         (display-buffer-alist): Document action function changes.
8682         (display-buffer--same-window-action)
8683         (display-buffer--other-frame-action): New variables.
8684         (switch-to-buffer, display-buffer-other-frame): Use them.
8685         (display-buffer): Rename reuse-frame entry to reusable-frames.
8686         (display-buffer-reuse-selected-window): Function deleted.
8687         (display-buffer-reuse-window): Handle reusable-frames alist entry.
8688         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8689         (display-buffer-special): New function.
8690         (display-buffer--maybe-pop-up-frame-or-window): Rename from
8691         display-buffer-reuse-or-pop-window.  Split off special-display
8692         part into display-buffer-special.
8693         (display-buffer-use-some-window): Don't perform any special
8694         pop-up-frames handling.
8695         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8696         (display-buffer--maybe-same-window): Rename from
8697         display-buffer-maybe-same-window.
8699         * info.el: Don't set same-window-regexps.
8700         (info-setup): New function.
8701         (info-other-window, info): Call it.
8703         * cus-edit.el: Don't set same-window-regexps.
8704         (customize-group): New argument.
8705         (customize-group-other-window): Use it.
8706         (customize-face, customize-face-other-window): Likewise.
8707         (custom-buffer-create-other-window): Use pop-to-buffer directly.
8709         * net/rlogin.el:
8710         * net/telnet.el:
8711         * progmodes/gud.el: Don't set same-window-regexps.
8713         * cmuscheme.el:
8714         * ielm.el:
8715         * shell.el:
8716         * mail/sendmail.el:
8717         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8719 2011-09-10  Juri Linkov  <juri@jurta.org>
8721         * isearch.el (isearch-edit-string): Remove obsolete mention of
8722         `C-w' (`isearch-yank-word-or-char') from docstring.
8723         (isearch-query-replace): Fix typo in docstring (bug#9466).
8725 2011-09-10  Juri Linkov  <juri@jurta.org>
8727         * paren.el (show-paren-function): Don't show escaped parens.
8728         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
8730 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
8732         * mail/sendmail.el (mml-to-mime, mml-attach-file)
8733         (mm-default-file-encoding): Remove autoload forms, they are
8734         replaced with autoload cookies in mml.el and mm-encode.el.
8735         (mail-add-attachment): New command.
8736         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8737         (mail-mode): Mention mail-insert-file and mail-add-attachment in
8738         the doc string.
8739         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8741 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
8743         * simple.el (count-words-region): Use buffer if there's no region
8744         (bug#9429).
8746 2011-09-09  Juri Linkov  <juri@jurta.org>
8748         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8749         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8750         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
8752 2011-09-09  Alan Mackenzie  <acm@muc.de>
8754         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8755         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
8757 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
8759         Fix for Savannah bug#9392.
8760         * simple.el (mail-encode-mml): New defvar.
8762         * mail/rmail.el (mail-encode-mml): Add a defvar.
8763         (rmail-enable-mime-composing): Default to t.
8764         (rmail-forward): Use MIME method of forwarding only if both
8765         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8766         Set mail-encode-mml non-nil if the MIME method was used.
8768         * mail/sendmail.el (mml-to-mime): Add autoload form.
8769         (mail-encode-mml): Add a defvar.
8770         (mail-mode): Make mail-encode-mml buffer-local and initialize it
8771         to nil.
8772         (mail-send): If mail-encode-mml is non-nil, run the outgoing
8773         message through mml-to-mime, and reset mail-encode-mml to nil.
8775 2011-09-09  Glenn Morris  <rgm@gnu.org>
8777         * woman.el (woman-if-body): When processing an .el block,
8778         do not delete the next .el block as well.  (Bug#9447)
8779         (woman-special-characters): Add oq, cq, and hy characters.
8781 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
8783         * window.el (window-deletable-p): Make sure window is live before
8784         invoking window-prev-buffers.
8786 2011-09-08  Leo Liu  <sdl.web@gmail.com>
8788         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
8790 2011-09-08  Juri Linkov  <juri@jurta.org>
8792         * progmodes/compile.el (compilation-environment): Make it
8793         a defcustom (bug#8340).
8795 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
8797         * window.el (frame-auto-delete): Rename to window-auto-delete.
8798         Make it control auto-deletion of windows and/or frames.
8799         (window-deletable-p): New argument FORCE.  Rewrite conditions
8800         for deleting window/frame.  (Bug#9419)
8801         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8802         Rewrite handling of case when window/frame can be deleted.
8803         (delete-windows-on): Call window-deletable-p with new FORCE
8804         argument t.  (Bug#9456)
8806 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
8808         * help-mode.el (help-mode): Restore autoload.
8810 2011-09-07  Juri Linkov  <juri@jurta.org>
8812         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8813         `compilation-environment'.  Set buffer-local
8814         `compilation-environment' to `thisenv' later after (funcall mode).
8815         (Bug#8340)
8817         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
8818         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8819         instead of replacing its value.  (Bug#8340)
8821 2011-09-07  Juri Linkov  <juri@jurta.org>
8823         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8824         based on text properties put by `grep-filter' instead of matching
8825         escape sequences.
8826         (grep-mode): Set buffer-local `compilation-error-screen-columns'
8827         to the value of `grep-error-screen-columns' (bug#9438).
8829 2011-09-07  Juri Linkov  <juri@jurta.org>
8831         * simple.el (next-error-highlight, next-error-highlight-no-select):
8832         Doc fix (bug#9432).
8834 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
8836         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8837         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
8839 2011-09-07  Leo Liu  <sdl.web@gmail.com>
8841         * net/rcirc.el (rcirc-mode): Conditionally initialize
8842         rcirc-input-ring.
8844 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8846         * emacs-lisp/find-func.el (find-function-C-source): Only set
8847         find-function-C-source-directory after checking that we found a source
8848         file there (bug#9440).
8850 2011-09-06  Alan Mackenzie  <acm@muc.de>
8852         * isearch.el (isearch-other-meta-char): Wherever a key list is
8853         unread, "unread" the prefix arg, too.  This fixes bug #8901.
8855 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
8857         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8859 2011-09-05  Juri Linkov  <juri@jurta.org>
8861         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8863 2011-09-05  Juri Linkov  <juri@jurta.org>
8865         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8866         keeping point where processing of grep matches begins, and
8867         continue to delete remaining escape sequences from the same point.
8868         (grep-filter): Make leading zero optional in "0?1;31m" because
8869         git-grep emits "\033[1;31m" escape sequences unlike expected
8870         "\033[01;31m" as GNU Grep does (bug#9408).
8871         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8873 2011-09-05  Juri Linkov  <juri@jurta.org>
8875         * subr.el (y-or-n-p): Capitalize "yes".
8877 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
8879         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
8880         `tramp-cache-unload-hook' where appropriate.
8881         (tramp-methods): Rename `tramp-remote-sh' to
8882         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
8883         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8885         * net/tramp-sh.el (top): Don't require 'shell.
8886         (tramp-methods): Add `tramp-remote-shell' and
8887         `tramp-remote-shell-args' entries.
8888         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8889         (tramp-sh-handle-shell-command): Remove.
8890         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8891         Use `tramp-remote-shell'.
8893 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
8895         * mail/sendmail.el (sendmail-query-once-function): Delete.
8896         (sendmail-query-once): Save directly to send-mail-function.
8897         Update message-send-mail-function too.
8899         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8901 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
8903         * progmodes/python.el (python-mode-map): Use correct function to
8904         start python interpreter from menu-bar (as reported by Geert
8905         Kloosterman).
8906         (inferior-python-mode-map): Fix typo.
8907         (python-shell-map): Remove.
8909 2011-09-03  Deniz Dogan  <deniz@dogan.se>
8911         * net/rcirc.el (rcirc-print): Simplify code for
8912         rcirc-scroll-show-maximum-output.  There is no need to walk
8913         through all windows to find the right one.
8915 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
8917         * help.el (help-return-method): Doc fix.
8919 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
8921         * window.el (window-deletable-p): Don't return a non-nil value
8922         when there's a buffer that was shown in the window before.
8923         (Bug#9419)
8924         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8925         Set window's previous buffers to nil.
8927 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
8929         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8930         newline before and after the tag line, so it doesn't interfere
8931         with determining the paragraph direction of bidirectional text.
8933 2011-09-03  Leo Liu  <sdl.web@gmail.com>
8935         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
8937 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
8939         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8940         (pop-to-buffer): Change interactive spec.  Pass second argument
8941         directly to display-buffer.
8942         (display-buffer): Fix interactive spec.  Use functionp to
8943         distinguish between a function and a list of functions.
8945         * abbrev.el (edit-abbrevs):
8946         * arc-mode.el (archive-extract):
8947         * autoinsert.el (auto-insert):
8948         * bookmark.el (bookmark-bmenu-list):
8949         * files.el (find-file):
8950         * view.el (view-buffer):
8951         * progmodes/compile.el (compilation-goto-locus):
8952         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8954 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
8956         * window.el (display-buffer-alist): Doc fix.
8957         (display-buffer): Add docstring.  Don't treat
8958         display-buffer-default specially.
8959         (display-buffer-reuse-selected-window)
8960         (display-buffer-same-window, display-buffer-maybe-same-window)
8961         (display-buffer-reuse-window, display-buffer-pop-up-frame)
8962         (display-buffer-pop-up-window)
8963         (display-buffer-reuse-or-pop-window)
8964         (display-buffer-use-some-window): New functions.
8965         (display-buffer-default-action): Use them.
8966         (display-buffer-default): Delete.
8967         (pop-to-buffer-1): Fix choice of actions.
8969 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8971         * minibuffer.el (completion--insert-strings): Don't get confused by
8972         completion entries that end with an LF char.
8974 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
8976         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8978 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
8980         * window.el (display-buffer): Restore interactive spec.
8981         (display-buffer-same-window, display-buffer-other-window):
8982         New functions.
8983         (pop-to-buffer-1): New function.  Use the above.
8984         (pop-to-buffer, pop-to-buffer-same-window): Use it.
8985         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8987         * view.el (view-buffer-other-window, view-buffer-other-frame):
8988         Just use pop-to-buffer.
8990 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8992         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
8994 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
8996         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
8998 2011-08-31  Richard Stallman  <rms@gnu.org>
9000         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9001         of the separation of rmail-view-buffer from rmail-buffer.
9002         If you say no to "replace original", the decrypt is in the
9003         view buffer.  If you say yes, the decrypt goes into the
9004         rmail buffer also.
9006 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
9008         * window.el (display-buffer-window): Rewrite doc-string.
9009         (display-buffer-record-window): New function.
9010         (display-buffer-macro-specifiers)
9011         (display-buffer-even-window-sizes, display-buffer-set-height)
9012         (display-buffer-set-width, display-buffer-in-window)
9013         (display-buffer-reuse-window, display-buffer-split-specifiers)
9014         (display-buffer-side-specifiers, display-buffer-split-window-1)
9015         (display-buffer-split-window, display-buffer-split-atom-window)
9016         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9017         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9018         (display-buffer-other-window-means-other-frame)
9019         (display-buffer-normalize-special)
9020         (display-buffer-normalize-default)
9021         (display-buffer-normalize-argument)
9022         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9023         (display-buffer-normalize-specifiers, display-buffer-frame)
9024         (display-buffer-same-window, display-buffer-same-frame)
9025         (display-buffer-other-window)
9026         (display-buffer-same-frame-other-window)
9027         (display-buffer-other-frame, pop-to-buffer-same-window)
9028         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9029         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9030         (switch-to-buffer-same-frame)
9031         (switch-to-buffer-other-window-same-frame)
9032         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9033         (display-buffer-alist-set-1, display-buffer-alist-set-2)
9034         (display-buffer-alist-set): Remove.
9035         (display-buffer-function, special-display-buffer-names)
9036         (special-display-regexps, special-display-function):
9037         In doc-string refer to display-buffer-window and quit-restore
9038         parameter.
9039         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9040         (special-display-frame-alist, special-display-popup-frame)
9041         (same-window-buffer-names, same-window-regexps, same-window-p)
9042         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9043         (split-window-preferred-function, split-height-threshold)
9044         (split-width-threshold, window-splittable-p)
9045         (split-window-sensibly, window--try-to-split-window)
9046         (window--frame-usable-p, even-window-heights)
9047         (window--even-window-heights, window--display-buffer-1)
9048         (window--display-buffer-2, display-buffer-other-frame):
9049         Restore old Emacs 23 code, order and doc-strings where applicable.
9050         (display-buffer-default, display-buffer-assq-regexp): New functions.
9051         (display-buffer-alist): Rewrite doc-string.
9052         (display-buffer-default-action)
9053         (display-buffer-overriding-action): New variables.
9054         (display-buffer, switch-to-buffer): Rewrite.
9055         (pop-to-buffer): Restore Emacs 23 behavior but use
9056         window-normalize-buffer-to-display.
9057         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9058         Restore Emacs 23 behavior but use
9059         window-normalize-buffer-to-switch-to.
9060         (pop-to-buffer-same-window): Rewrite.
9061         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9062         Rewrite using Emacs 23 options.
9064 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
9066         * net/tramp.el (tramp-root-regexp): Remove.
9067         (tramp-completion-file-name-regexp-unified)
9068         (tramp-completion-file-name-regexp-separate)
9069         (tramp-completion-file-name-regexp-url): Don't use leading volume
9070         letter on win32 systems.  (Bug#5303, Bug#9311)
9071         (tramp-drop-volume-letter): Simplify definition.
9072         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9074 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9076         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9077         (bug#9356).
9079 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
9081         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9083 2011-08-29  Juri Linkov  <juri@jurta.org>
9085         * isearch.el (isearch-done): Don't display message "Mark saved"
9086         when arg `edit' is non-nil to prevent its flicker in the echo area.
9088 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
9090         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9091         obsolete packages for deletion.
9093 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
9095         * help-mode.el (help-mode-map): Add special-mode-map to parent.
9096         (help-mode): Derive help-mode from special-mode.  Don't invoke
9097         view-mode from help-mode.
9098         (help-xref-override-view-map): Remove.
9099         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9100         view-mode is not used anymore.
9102 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
9104         * server.el (server-port): Doc fix.
9106         * cus-theme.el (custom-theme-choose-mode): Inherit from
9107         special-mode (Bug#9124).
9108         (custom-theme-choose-mode-map): Add special-mode to parent.
9110 2011-08-28  Alan Mackenzie  <acm@muc.de>
9112         * progmodes/cc-fonts.el
9113         (c-make-font-lock-BO-decl-search-function): New function.
9114         (c-basic-matchers-after - "Fontify the clauses after various
9115         keywords"): Extract the three keyword lists for the 3 erroneous
9116         constructs from the list of four, and use the new function above
9117         in place of an old one.
9119 2011-08-28  Deniz Dogan  <deniz@dogan.se>
9121         * net/rcirc.el (rcirc-insert-prev-input)
9122         (rcirc-insert-next-input): Remove unused argument.
9124 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9126         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9128 2011-08-27  Alan Mackenzie  <acm@muc.de>
9130         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9131         handle function pointer parameters properly.
9133 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
9135         * window.el (display-buffer-reuse-window): Fix case where
9136         selected window was reused with non-nil OTHER-WINDOW argument.
9137         (Bug#9381)
9139 2011-08-27  Deniz Dogan  <deniz@dogan.se>
9141         * net/rcirc.el (rcirc-check-auth-status): Adding support for
9142         oftc's NickServ messages.
9144 2011-08-27  Glenn Morris  <rgm@gnu.org>
9146         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
9148 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
9150         * emacs-lisp/package.el (package-install): Call package-initialize
9151         if called interactively.
9153 2011-08-26  Leo Liu  <sdl.web@gmail.com>
9155         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
9157 2011-08-25  Juri Linkov  <juri@jurta.org>
9159         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9160         `search-whitespace-regexp' (bug#9364).
9162 2011-08-25  Juri Linkov  <juri@jurta.org>
9164         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9165         `regexp-search-ring' to their global values to protect from
9166         updating by `read-from-minibuffer' (bug#9185).
9168 2011-08-25  Juri Linkov  <juri@jurta.org>
9170         * textmodes/ispell.el (ispell-command-loop): Add newline
9171         at the end of the "Use option `i'..." line.
9173 2011-08-25  Juri Linkov  <juri@jurta.org>
9175         * battery.el (display-battery-mode): If `battery-status-function'
9176         or `battery-mode-line-format' is nil, display the message and set
9177         `display-battery-mode' to nil (bug#9363).
9179 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
9181         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9182         bidi-string-mark-left-to-right; they are unnecessary now.
9184 2011-08-25  Deniz Dogan  <deniz@dogan.se>
9186         * net/quickurl.el: Documentation typo fixes.
9188 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
9190         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9192 2011-08-25  Glenn Morris  <rgm@gnu.org>
9194         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9196         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9197         (smtpmail-via-smtp): Handle nil response from smtp.
9199 2011-08-24  Juri Linkov  <juri@jurta.org>
9201         * proced.el (proced-marked): Inherit from `error' instead of
9202         `font-lock-warning-face'.
9204         * ibuffer.el (ibuffer-marked-face): Change default face from
9205         `font-lock-warning-face' to `warning'.
9206         (ibuffer-deletion-face): Change default face from
9207         `font-lock-type-face' to `error'.
9209         * battery.el (battery-update): Use the face `error' instead of
9210         `font-lock-warning-face' (bug#6117).
9212 2011-08-24  Juri Linkov  <juri@jurta.org>
9214         * faces.el (success): Change face color from "Green3" to
9215         "ForestGreen" on light background (bug#9353).
9217 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
9219         * window.el (quit-window): Rename from quit-restore-window.
9220         Use same arglist as old quit-window.
9221         (frame-auto-delete): Doc fix.
9223         * view.el (view-mode-exit): Use quit-window.
9225 2011-08-24  Juri Linkov  <juri@jurta.org>
9227         * isearch.el (isearch-ring-adjust1): Start visiting previous
9228         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9229         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9230         for empty search string (when the last search string is reused
9231         automatically) to adjust the isearch ring to the last element and
9232         prepare the correct index for further M-p commands (bug#9185).
9234 2011-08-24  Kenichi Handa  <handa@m17n.org>
9236         * international/ucs-normalize.el: If decomposition property of
9237         CHAR is the default one (i.e. a list of CHAR itself), treat it as
9238         nil.
9239         (nfd, nfkd): Likewise.
9241 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9243         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9244         from process filters aren't reliably transmitted to the surrounding
9245         accept-process-output.
9246         (mpc-proc-check): New function.
9247         (mpc-proc-sync): Use it (bug#8293)
9249 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9251         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9252         Add compatibility functions (bug#9313).
9254 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
9256         * cus-start.el (all): Add entry for bidi-paragraph-direction.
9258         * international/uni-bidi.el: Regenerate.
9260 2011-08-23  Kenichi Handa  <handa@m17n.org>
9262         * international/charprop.el:
9263         * international/uni-bidi.el:
9264         * international/uni-category.el:
9265         * international/uni-combining.el:
9266         * international/uni-comment.el:
9267         * international/uni-decimal.el:
9268         * international/uni-decomposition.el:
9269         * international/uni-digit.el:
9270         * international/uni-lowercase.el:
9271         * international/uni-mirrored.el:
9272         * international/uni-name.el:
9273         * international/uni-numeric.el:
9274         * international/uni-old-name.el:
9275         * international/uni-titlecase.el:
9276         * international/uni-uppercase.el: Regenerate.
9278 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
9280         * help.el (help-window-setup): Fix message displayed when other
9281         window is reused.  (Bug#9341)
9283 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9285         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9286         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9288         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9289         Mark obsolete.
9290         * shell.el (shell-parse-pcomplete-arguments): New function.
9291         (shell-completion-vars): Use it instead (bug#9160).
9293 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9295         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9296         strings and comments (bug#9333).
9298         * emacs-lisp/debug.el (debug-arglist): New function.
9299         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
9300         (debug-on-entry-1): Handle interpreted closures (bug#9120).
9302 2011-08-22  Juri Linkov  <juri@jurta.org>
9304         * progmodes/compile.el (compilation-mode-font-lock-keywords):
9305         Revert regexp that highlights output switches to its old
9306         pre-2010-10-28 value and remove one `?' from it (bug#9319).
9308         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9309         to check for empty output (bug#9226).
9311 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
9313         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9314         symbol-constituent as the default, as that stops font-lock from
9315         working properly (Bug#8843).
9317 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9319         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9320         `coding-system-for-*' around the process open call to avoid
9321         auth-source side effects.
9322         (smtpmail-try-auth-methods): Expand the secret password.
9323         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9324         probe hangs.
9326 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
9328         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9330         * emacs-lisp/find-func.el (find-function-noselect): New arg
9331         lisp-only.
9333         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9334         signal an error for built-in functions (Bug#6664).
9336 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9338         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9339         (smtpmail-try-auth-methods): Use it.
9341 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
9343         * font-lock.el (font-lock-fontify-region)
9344         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9345         (font-lock-default-unfontify-buffer)
9346         (font-lock-default-fontify-region)
9347         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9349         * progmodes/compile.el (compilation-error-properties):
9350         Fix confusion between file struct and message struct (Bug#9319).
9351         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9352         `ant' regexp.
9354         * net/browse-url.el (browse-url-firefox): Don't call
9355         browse-url-firefox-sentinel unless using -remote (Bug#9328).
9357 2011-08-20  Glenn Morris  <rgm@gnu.org>
9359         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9361         * tutorial.el (tutorial--default-keys): Update some default bindings.
9363         * files.el (hack-local-variables): Fully ignore case for "mode:".
9365 2011-08-20  Alan Mackenzie  <acm@muc.de>
9367         Resolve invalid use of a regexp in regexp-opt.
9369         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9370         detection for a java annotation.
9372         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9373         detection for a java annotation.
9375         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9376         handling for java.
9377         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9379 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
9381         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9382         (Bug#9274).
9384 2011-08-20  Alan Mackenzie  <acm@muc.de>
9386         Fontify CPP expressions correctly when starting in the middle of
9387         such a construct.  Mainly for when jit-lock etc. starts a chunk
9388         here.
9390         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9391         variable.
9392         (c-make-font-lock-search-form): New function, extracted from
9393         c-make-font-lock-search-function.
9394         (c-make-font-lock-search-function): Use the above function.
9395         (c-make-font-lock-context-search-function): New function.
9396         (c-cpp-matchers): Enhance the preprocessor expression case with
9397         the above function
9398         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9399         which takes an expression.
9401         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9403 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
9405         * window.el (display-buffer-reuse-window)
9406         (display-buffer-pop-up-window): Don't reuse or split a side
9407         window.
9409 2011-08-19  Glenn Morris  <rgm@gnu.org>
9411         * files.el (hack-local-variables-prop-line, hack-local-variables):
9412         Downcase "Mode:".  (Bug#9331)
9414 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
9416         * international/characters.el: Add L and R categories.
9418         * subr.el (bidi-string-mark-left-to-right): Rename from
9419         string-mark-left-to-right.  Use category search.
9421         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9423 2011-08-18  Juri Linkov  <juri@jurta.org>
9425         * faces.el (error, warning, success): New faces with definitions
9426         copied from old default values of `font-lock-warning-face',
9427         `compilation-warning', `compilation-info' (bug#6117).
9429         * font-lock.el (font-lock-warning-face): Inherit from `error'.
9431         * progmodes/compile.el (compilation-error): Inherit from `error'.
9432         (compilation-warning): Inherit from `warning'.
9433         (compilation-info): Inherit from `success'.
9435         * dired.el (dired-marked): Inherit from `warning'.
9436         (dired-flagged): Inherit from `error'.
9438 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9440         * mail/smtpmail.el (auth-source): Require to avoid problems with
9441         binding variables (bug#9298).  Also clean up some unused
9442         autoloads.
9444         * net/network-stream.el (network-stream-open-starttls):
9445         Support using starttls.el without using gnutls-cli.
9447 2011-08-17  Juri Linkov  <juri@jurta.org>
9449         * progmodes/grep.el (rgrep): Handle the case when
9450         `grep-find-command' is a cons cell (bug#9278).
9452 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
9454         * window.el (display-buffer-pop-up-frame): Run frame creation
9455         function with BUFFER current (as special-display-popup-frame
9456         does).  Reported by Drew Adams.
9458 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
9460         * epa-mail.el: Simplify GnuPG group expansion using
9461         epg-expand-group.
9462         (epa-mail-group-alist, epa-mail-group-modtime)
9463         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9464         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9465         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9466         Remove.
9468 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
9470         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9472 2011-08-16  Alan Mackenzie  <acm@muc.de>
9474         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9475         Correct, to avoid the inside of macros.
9477 2011-08-16  Richard Stallman  <rms@gnu.org>
9479         * epa-mail.el: Handle GnuPG group definitions.
9480         (epa-mail-group-alist, epa-mail-group-modtime)
9481         (epa-mail-gnupg-conf-file): New variables.
9482         (epa-mail-parse-groups, epa-mail-sync-groups)
9483         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9484         (epa-mail-expand-recipients): New functions.
9485         (epa-mail-encrypt): Call epa-mail-expand-recipients.
9487         * mail/rmail.el (rmail-epa-decrypt): New command.
9489         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9490         Don't bind buffer-read-only, just inhibit-read-only.
9491         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9492         (epa-decrypt-armor-in-region): Make error message clearer.
9494 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9496         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9497         and "a2b" to "ab" for `prefix'.
9499 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
9501         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9502         filter groups.
9503         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
9504         Fourquet (Bug#8804).
9506 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
9508         * startup.el (argi): Declare as global variable (bug#9275).
9510 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
9512         * subr.el (string-mark-left-to-right): Search the entire string
9513         for RTL script, not just the terminating character.  Doc fix.
9515 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9517         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9518         New function.
9519         (js--regexp-literal, js-syntax-propertize-function): Remove.
9520         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9521         (js-mode-map): Don't rebind electric keys.
9522         (js-insert-and-indent): Remove.
9523         (js-mode): Setup electric-layout and electric-indent instead.
9525         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9527 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
9529         * epa.el (epa-progress-callback-function): Fix the logic of
9530         displaying progress.
9531         * epa-file.el (epa-file-insert-file-contents): Make progress
9532         display more user-friendly.
9533         (epa-file-write-region): Ditto.
9535 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
9537         * subr.el (string-mark-left-to-right): New function.
9539         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9540         Use string-mark-left-to-right.
9541         (list-buffers-noselect): Caller changed.
9543         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9544         Use string-mark-left-to-right.
9545         (tabulated-list-print): Recenter after moving point.
9547 2011-08-10  Juri Linkov  <juri@jurta.org>
9549         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9550         This finishes incomplete reversion of revno:104787 (2011-06-30)
9551         intended by revno:104988 (2011-07-06).
9553 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
9555         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9556         (Bug#7554).
9558 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9560         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9561         character.  (Bug#6594)
9563 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
9565         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9566         (image-dired--with-db-file): New macro.
9567         (image-dired-write-tags, image-dired-remove-tag)
9568         (image-dired-create-gallery-lists, image-dired-write-comments)
9569         (image-dired-get-comment, image-dired-mark-tagged-files)
9570         (image-dired-list-tags, image-dired-gallery-generate): Use it.
9571         (image-dired-gallery-generate): Use insert-file-contents.
9573         * time.el (display-time-world-list, display-time-world-display):
9574         * time-stamp.el (time-stamp-string):
9575         * vc/add-log.el (add-change-log-entry): Use setenv instead of
9576         set-time-zone-rule (Bug#7337).
9578 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
9580         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9581         (epg-error-to-string, epg-errors-to-string): New function.
9582         (epg-wait-for-completion): Reverse errors list.
9583         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9584         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9585         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9586         (epg-sign-keys, epg-generate-key-from-file)
9587         (epg-generate-key-from-string): Format errors by using
9588         epg-errors-to-string (bug#9255).
9589         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9591 2011-08-07  Juri Linkov  <juri@jurta.org>
9593         * faces.el (list-faces-display): Remove extra angle bracket
9594         from `help-mode-map'.
9596         * info.el (Info-history-toc-nodes): Doc fix.
9598         * longlines.el (longlines-mode): Doc fix.
9600 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9602         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9603         of statements and in a few more cases (bug#9183).
9605         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9606         New functions.
9607         (cl-transform-lambda): Use them (bug#9239).
9609 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
9611         * window.el (display-buffer-same-window)
9612         (display-buffer-same-frame, display-buffer-other-window)
9613         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9614         (pop-to-buffer-other-window)
9615         (pop-to-buffer-same-frame-other-window)
9616         (pop-to-buffer-other-frame): Make them defuns.
9617         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9619 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9621         * subr.el (make-composed-keymap): Move from C.  Change calling
9622         convention, and improve docstring to bring attention to a subtle point.
9623         * minibuffer.el (completing-read-default): Adjust accordingly.
9625 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
9627         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9628         (tramp-open-shell): Use `tramp-shell-quote-argument'.
9630         * net/trampver.el: Update release number.
9632 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9634         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9635         "in" (bug#9190).
9637 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9639         * mail/sendmail.el (sendmail-query-once): Restore the current
9640         buffer after querying (bug#9074).
9642         * dired.el (dired-flagged): Use different faces for marked and
9643         flagged files (bug#6117).
9645         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9646         (bug#4433).
9648         * ido.el (ido-mode): Switch off the message if called
9649         non-interactively.
9651         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9652         before 587, since it appears that that's more likely to work for
9653         more people.
9655         * cus-edit.el (custom-file): When running under emacs -q, always
9656         refuse to save the customizations, even if the .emacs file doesn't
9657         exist.
9659         * info.el: Remove the `Info-beginning-of-buffer' function
9660         (bug#8325).
9662         * net/network-stream.el (network-stream-open-starttls):
9663         Use `starttls-available-p' to see whether starttls.el can be used.
9665 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
9667         * window.el (display-buffer-in-window): Don't set dedicated status
9668         of window here (Bug#9215).
9669         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9670         (display-buffer-pop-up-side-window)
9671         (display-buffer-in-side-window): Set dedicated status of window here.
9673 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9675         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9676         before binding generated-autoload-file.
9678 2011-08-01  Deniz Dogan  <deniz@dogan.se>
9680         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9682 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
9684         Sync with Tramp 2.2.2.
9686         * net/trampver.el: Update release number.
9688 2011-07-30  Juri Linkov  <juri@jurta.org>
9690         * dired-aux.el (dired-touch-initial): Remove function.
9691         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9692         current time, and `default' to the last modification time of the
9693         current marked file (bug#6887).
9695 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
9697         * simple.el (goto-line): Use string-to-number to provide a
9698         numeric argument to read-number (bug#9163).
9700 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
9702         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9703         connection process, it could be nil.
9705 2011-07-27  Leo Liu  <sdl.web@gmail.com>
9707         Simplify url handling in rcirc-mode.
9709         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9710         (rcirc-browse-url-at-mouse): Remove.
9711         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9713 2011-07-26  Alan Mackenzie  <acm@muc.de>
9715         Fontify bitfield declarations properly.
9717         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9718         (c-symbol-chars): Now exported as a lang variable.
9719         (c-not-primitive-type-keywords): New lang variable.
9721         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9722         QT keyword "more" to prevent "more slots: ...." being spuriously
9723         parsed as a bitfield declaration.
9725         * progmodes/cc-engine.el (c-beginning-of-statement-1):
9726         Refactor and enhance to handle bitfield declarations.
9727         (c-punctuation-in): New function.
9728         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9729         declarations properly.
9731 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
9733         * calendar/icalendar.el (icalendar--all-events): Take care of
9734         multiple vcalendars in a single file.
9735         (icalendar--convert-float-to-ical): Checkdoc fixes.
9737 2011-07-25  Deniz Dogan  <deniz@dogan.se>
9739         * image.el (insert-image): Clarifying docstring.
9741 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
9743         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9744         `tramp-send-command-and-check' if there is no error.
9745         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9747 2011-07-22  Alan Mackenzie  <acm@muc.de>
9749         Prevent cc-langs.elc being loaded at run time.
9751         * progmodes/cc-mode.el: Remove two autoload forms which loaded
9752         cc-langs.
9754         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9755         "(require 'cc-langs)".  Quote a form so it will evaluate at
9756         (cc-mode's) compilation time.
9758 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
9760         * net/tramp.el (tramp-file-name-handler): Avoid recursive
9761         loading.  (Bug#9114)
9763 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
9765         * window.el (display-buffer-pop-up-window)
9766         (display-buffer-pop-up-side-window)
9767         (display-buffer-in-side-window): Call display-buffer-set-height
9768         and display-buffer-set-width after setting the new window's
9769         buffer so `fit-window-to-buffer' and friends work on the right buffer.
9771 2011-07-20  Sam Steingold  <sds@gnu.org>
9773         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9774         (etags-tags-included-tables): Call `convert-standard-filename' on
9775         the file names contained in TAGS so that windows Emacs can handle
9776         TAGS files created by cygwin ctags.
9778 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9780         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9781         which apparently didn't work.
9783 2011-07-19  Roland Winkler  <winkler@gnu.org>
9785         * proced.el (proced-send-signal): For *Marked Processes* buffer
9786         put point at beginning of buffer.
9788 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
9790         * proced.el (proced-format): Make header lines align with the text
9791         (bug#1779).
9793 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9795         * view.el (view-buffer): Allow running in `special' modes if we're
9796         visiting a file (bug#8615).
9798 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
9800         * window.el (display-buffer-alist-of-strings-p)
9801         (display-buffer-alist-set-1, display-buffer-alist-set-2):
9802         New functions.
9803         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9804         more accurately.
9806 2011-07-18  Alan Mackenzie  <acm@muc.de>
9808         Fontify declarators properly when, e.g., a jit-lock chunk begins
9809         inside a declaration.
9811         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9813         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9814         New function.
9815         (c-complex-decl-matchers): Insert reference to
9816         c-font-lock-enclosing-decls.
9818         * progmodes/cc-engine.el (c-backward-single-comment):
9819         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9820         to nil around calls to (forward-comment -1).
9822 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9824         * image.el (put-image): Doc typo fix.
9826         * progmodes/etags.el (tags-search): Doc typo fix.
9828         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9829         password if we get errors 550 to 554.
9831 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9833         * net/gnutls.el (gnutls-log-level): Remove.
9835         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9836         indentation character (bug#6380).
9838         * files.el (buffer-offer-save): Made permanently local (bug#6241).
9840         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9841         to clarify what the problem is (bug#4291).
9843         * simple.el (current-kill): Clarify what
9844         `interprogram-paste-function' does (bug#7500).
9845         (auto-fill-mode): Document `auto-fill-function' in relation to
9846         `auto-fill-mode' (bug#2470).
9848 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
9850         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9851         method if slot is read-only (bug#9035).
9853 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
9855         * frame.el (select-frame-set-input-focus): New argument NORECORD.
9856         * window.el (pop-to-buffer): Select window used even if it was
9857         selected before, see discussion of (Bug#8615), (Bug#6954).
9858         Pass argument NORECORD on to select-frame-set-input-focus.
9860 2011-07-15  Glenn Morris  <rgm@gnu.org>
9862         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
9863         Respect help-form.
9865 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
9867         * net/gnutls.el (gnutls-min-prime-bits): New variable.
9868         (gnutls-negotiate): Use it.
9870 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9872         * net/gnutls.el (gnutls-negotiate):
9873         Upcase `gnutls-algorithm-priority'.
9875 2011-07-15  Glenn Morris  <rgm@gnu.org>
9877         * jka-compr.el (jka-compr-verbose): Move from here...
9878         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
9879         Add missing :version tag.
9880         * info.el: No need to require jka-compr when compiling.
9882 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9884         * net/gnutls.el (gnutls-algorithm-priority): New variable.
9885         (gnutls-negotiate): Use it.
9887         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9889         * info.el (Info-beginning-of-buffer): New command.
9890         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9891         announcing `b' as the key (bug#8325).
9892         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9894         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9896         * international/mule-cmds.el
9897         (describe-specified-language-support): Make the error message
9898         clearer (bug#8905).
9900         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9902         * isearch.el (isearch-barrier): Add a doc string, since it's
9903         mentioned in a function doc string (bug#8678).
9905 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
9907         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9908         buffer argument (Bug#9083) and self-identifying label argument.
9910 2011-07-15  Glenn Morris  <rgm@gnu.org>
9912         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
9914 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9916         * man.el (Man-fontify-manpage): Fix message when formatting the
9917         man page (bug#7929).
9919 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
9921         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9922         argument LRM; if non-nil, append an invisible LRM character to the
9923         buffer name.
9924         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9925         last argument non-nil, when formatting buffer names.
9926         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9927         paragraph direction.
9929 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9931         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9932         the man page name (bug#7929).
9934         * image.el (put-image): Mention the `put-image' overlay property
9935         (bug#7834).
9937         * scroll-bar.el (set-scroll-bar-mode): Mention that
9938         `scroll-bar-mode' lists the values (bug#7772).
9940         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9941         command (bug#7729).
9943         * rect.el (apply-on-rectangle): Return the point after the last
9944         operation.
9945         (string-rectangle): Go to the point after the last operation
9946         (bug#7522).
9948         * printing.el (pr-toggle-region): Clarify the documentation
9949         slightly (bug#7493).
9951         * time.el (display-time-update):
9952         Allow `display-time-mail-function' to return nil (bug#7158).
9953         Fix suggested by Detlev Zundel.
9955         * vc/diff.el (diff): Clarify the order the file names are read
9956         (bug#7111).
9958         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9959         the doc string (bug#7015).
9961         * font-lock.el (font-lock-maximum-decoration): Mention what
9962         numeric levels mean (bug#6935).
9964         * startup.el (initial-buffer-choice): Don't mention the `none'
9965         selection, which is against policy.
9967 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
9969         * window.el (display-buffer-normalize-special):
9970         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9972 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
9974         * subr.el (version<, version<=, version=): Mention "-CVS" and
9975         "-12345" alpha version numbers.
9977 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
9979         * bindings.el: Add advertised binding for set-mark-command
9980         (Bug#5772).
9982 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
9984         * bindings.el (mode-line-other-buffer):
9985         * bookmark.el (bookmark-bmenu-2-window):
9986         * bs.el (bs-cycle-next, bs-cycle-previous):
9987         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9988         switch-to-buffer.
9990         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9991         Delete.
9993 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
9995         * follow.el (follow-debug-message, follow-redisplay):
9996         * jka-cmpr-hook.el (with-auto-compression-mode):
9997         Fix typos in docstrings.
9999 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10001         * subr.el (with-silent-modifications): Clarify somewhat what the
10002         macro inhibits (bug#6525).
10004         * simple.el (eval-expression): Note what it does if called
10005         interactively (bug#6495).
10007 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10009         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10010         Use pop-to-buffer buffer-or-name if it is nil.
10012         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10013         Remove switch-to-buffer.
10015 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10017         * files.el (make-directory): Clarify that an error will be raised
10018         if there's an error (bug#6397).
10020         * startup.el (initial-buffer-choice): Add `none' as a choice
10021         (bug#6234).
10023         * subr.el (add-hook): Clarify section about buffer-local hooks
10024         (bug#6218).
10026         * dired.el (dired-flagged): Clarify doc string (bug#6117).
10028 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
10030         * tabify.el (untabify): Preserve the current column so that point
10031         doesn't move (bug#6032).
10033 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10035         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10036         Rewrite to avoid awkward possessive "s" (bug#5986).
10038 2011-07-13  Glenn Morris  <rgm@gnu.org>
10040         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
10041         (dired-insert-directory): Give a message the first time
10042         if ls is found not to support --dired.
10044 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10046         * simple.el (toggle-truncate-lines): Clarify what is toggled
10047         (bug#5580).  Text by Drew Adams.
10049 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
10051         * simple.el (blink-matching-open): Make the error message from the
10052         last change less verbose.
10054 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
10056         * font-lock.el (font-lock-comment-face): Use the high contrast
10057         "yellow" color for font-lock-comment-face on low color terminals
10058         using a dark background color (bug#4221).
10060 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10062         * dired.el (dired-insert-set-properties): Make the doc string
10063         reflect what it does now (bug#5325).
10065         * simple.el (blink-matching-open): Say that we were unable to find
10066         the match within the limit, if we're limited (bug#5122).
10068         * international/mule-cmds.el (prefer-coding-system): Add an
10069         example (bug#4869).
10071         * progmodes/etags.el (tags-search): Document `file-list-form'
10072         (bug#4731).
10074 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
10076         * net/browse-url.el (browse-url-default-browser)
10077         (browse-url-browser-function): Make the default browser choice a
10078         bit more logical (bug#4300).  Also clean up the doc string.
10080 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
10082         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10083         binary endings (bug#4440).
10085 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10087         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10088         which can be pretty annoying (bug#8971).
10090         * jka-compr.el (jka-compr-verbose): New variable, and use
10091         throughout (bug#8971).
10093         * info.el (Info-find-file): Fall back on the installation
10094         directory if we can't find the info node anywhere else.
10096 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
10098         * vc/vc.el (vc-revert-file):
10099         Don't set file time-stamp in the past.  (Bug#5181)
10101 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10103         * files.el (after-find-file): Give a better error message when
10104         trying to find a symlink that points to a file that doesn't exist
10105         (bug#4398).
10107         * progmodes/cc-vars.el: Remove (probably) misleading comment
10108         (bug#4396).
10110 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
10112         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10114 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
10116         * mouse-sel.el: Hack restoring functionality, while keeping
10117         compatibility with 2010-07-03 changes to mouse selection.
10118         (mouse-sel-primary-overlay): New var.
10119         (mouse-sel-selection-alist): Use it.
10120         (mouse-sel-mode): Doc fix; remove points that are default features
10121         of mouse.el.
10123 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
10125         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10126         Fix previous fix (bug#2490).
10128 2011-07-12  Roland Winkler  <winkler@gnu.org>
10130         * textmodes/bibtex.el (bibtex-initialize):
10131         Use pop-to-buffer-same-window.
10132         (bibtex-search-entries): Fix interactive call.
10134 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10136         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10137         Fontise bytecomp Error lines more correctly (bug#2490).
10138         Fix suggested by Johan Bockgård.
10140         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10142         * dired-x.el (dired-guess-default): Use `delete-dups'.
10144 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
10146         * dired.el (dired-mark-prompt):
10147         * dired-aux.el (dired-read-shell-command): Doc fix.
10149 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10151         * mail/sendmail.el (sendmail-query-once):
10152         Use `customize-save-variable' unconditionally, now that it works under
10153         emacs -Q.
10155         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10157         * cus-edit.el (custom-file): Take an optional no-error variable.
10158         (customize-save-variable): Set the variable, and give a warning if
10159         running under "emacs -q".
10161 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
10163         * loadhist.el (unload-feature-special-hooks):
10164         Add `auto-coding-functions', `fill-nobreak-predicate' and
10165         `find-directory-functions' (bug#5327).
10167 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10169         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10171         * cus-edit.el (custom-guess-name-alist): -alist variables should
10172         use the `alist' type (bug#3120).  Suggested by Drew Adams.
10174         * printing.el: Add documentation to all the `pr-toggle-' commands.
10176 2011-07-11  Leo Liu  <sdl.web@gmail.com>
10178         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10179         backends where it makes sense (bug#2623).
10181 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10183         * dired-x.el (dired-guess-default): Remove duplicate shell command
10184         entries (bug#2028).
10185         (dired-guess-default): Fix grammar in doc string (bug#2028).
10186         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10188         * subr.el (remove-duplicates): New conveniency function.
10190 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10192         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10193         (bug#1526).
10195 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
10197         * window.el (display-buffer-normalize-default): Don't invert
10198         meaning of even-window-heights.  Reported by Eli Zaretskii
10199         <eliz@gnu.org>.
10201 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
10203         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10205 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
10207         * window.el (display-buffer): Fix arguments to
10208         display-buffer-reuse-window in last change.
10210         * faces.el (link): Use a less saturated blue on light backgrounds.
10212         * startup.el (fancy-startup-text, fancy-about-text)
10213         (fancy-startup-tail): Use font-lock faces, for background safety.
10215 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
10217         * emulation/viper-cmd.el (viper-change-state-to-vi):
10218         Limit triggering of abbrev expansion (Bug#9038).
10220 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
10222         * window.el (display-buffer-default-specifiers): Remove.
10223         (display-buffer-macro-specifiers): Remove default specifiers.
10224         (display-buffer-alist): Default to nil.
10225         (display-buffer-reuse-window): New optional argument other-window.
10226         (display-buffer-pop-up-window): Allow splitting internal
10227         windows.  Check whether a live window was created.
10228         (display-buffer-other-window-means-other-frame)
10229         (display-buffer-normalize-arguments): Rename to
10230         display-buffer-normalize-argument and rewrite.  Set the
10231         other-window specifier.
10232         (display-buffer-normalize-special): New function.
10233         (display-buffer-normalize-options): Rename to
10234         display-buffer-normalize-default and rewrite.
10235         (display-buffer-normalize-options-inhibit): Remove.
10236         (display-buffer-normalize-specifiers): Rewrite.
10237         (display-buffer): Process other-window specifier and call
10238         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
10239         more faithfully.
10240         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10241         (display-buffer-alist-set): Don't handle 'unset default values.
10242         (display-buffer-in-window, display-buffer-alist-set):
10243         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
10244         <tassilo@member.fsf.org>.
10246 2011-07-09  Leo Liu  <sdl.web@gmail.com>
10248         * register.el (insert-register): Restore accidental change on
10249         2011-06-26.  (Bug#9028)
10251 2011-07-09  Glenn Morris  <rgm@gnu.org>
10253         * subr.el (remq): Handle the empty list.  (Bug#9024)
10255 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
10257         * mail/sendmail.el (send-mail-function): No longer delay custom
10258         initialization.
10259         * custom.el (custom-initialize-delay): Doc fix.
10261 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10263         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10265 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
10267         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10268         human-friendly prompt.
10270 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10272         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10273         provided by a particular plugin.
10275 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10277         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10278         save customizations (with "emacs -Q"), just set the variable
10279         instead of erroring out.
10281         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10283 2011-07-08  Juri Linkov  <juri@jurta.org>
10285         * arc-mode.el (archive-zip-expunge, archive-zip-update)
10286         (archive-zip-update-case): Use 7z if found by `executable-find'.
10287         The order of searching the available programs is the same as in
10288         `archive-zip-extract' (bug#8968).
10290 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10292         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10293         (menu-bar-options-menu): Tweak descriptions.
10295 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10297         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10298         menu items into verb phrases (bug#1421).  Also refill to fit under
10299         80 columns.
10301 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10303         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10304         (Info-read-node-name): Doc fix (Bug#1084).
10306         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10307         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10308         (end-of-sexp, beginning-of-sexp)
10309         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10310         (forward-symbol, forward-same-syntax, word-at-point)
10311         (sentence-at-point): Doc fix (Bug#1144).
10313 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10315         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10316         should cover it (bug#1281).
10318         * cus-edit.el (custom-show): Mark as obsolete.
10320         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10321         negotiation fails, then possibly try again with a non-encrypted
10322         connection (bug#9017).
10324         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10325         be used.
10327 2011-07-07  Richard Stallman  <rms@gnu.org>
10329         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10330         property, and handle its changed format.
10331         Look for the correct line number.
10332         Use file's line contents (but not past first =) to find
10333         correct line in message.
10335 2011-07-07  Kenichi Handa  <handa@m17n.org>
10337         * international/characters.el (build-unicode-category-table):
10338         Delete it.
10339         (unicode-category-table): Set it by unicode-property-table-internal.
10341         * international/mule-cmds.el (char-code-property-alist): Move to
10342         to src/chartab.c.
10343         (get-char-code-property): Call unicode-property-table-internal to
10344         load a file.  Call get-unicode-property-internal where necessary.
10345         (put-char-code-property): Call unicode-property-table-internal to
10346         load a file.  Call put-unicode-property-internal where necessary.
10347         put-unicode-property-internal where necessary.
10348         (char-code-property-description):
10349         Call unicode-property-table-internal to load a file.
10351         * international/charprop.el:
10352         * international/uni-bidi.el:
10353         * international/uni-category.el:
10354         * international/uni-combining.el:
10355         * international/uni-comment.el:
10356         * international/uni-decimal.el:
10357         * international/uni-decomposition.el:
10358         * international/uni-digit.el:
10359         * international/uni-lowercase.el:
10360         * international/uni-mirrored.el:
10361         * international/uni-name.el:
10362         * international/uni-numeric.el:
10363         * international/uni-old-name.el:
10364         * international/uni-titlecase.el:
10365         * international/uni-uppercase.el: Regenerate.
10367         * loadup.el: Load international/charprop.el before
10368         international/characters.
10370 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
10372         * window.el (next-buffer, previous-buffer): Signal an error if
10373         called from a minibuffer window.
10375         * bindings.el: Revert 2011-07-04 change.
10377 2011-07-06  Richard Stallman  <rms@gnu.org>
10379         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10380         (rmail-mime-insert-bulk, rmail-mime-insert-text):
10381         Treat markers like ints.
10382         (rmail-mime-entity): Doc fix.
10384 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10386         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10387         defcustom again for backwards compatibility.
10389         * simple.el (shell-command-on-region): Fill.
10391         * dired-aux.el (dired-kill-line): Add a doc string.
10393         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10394         to "\\sw\\|\\s_" (bug#358).
10396         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10397         (dired-unmark-backward): Ditto.
10398         (dired-flag-backup-files): Ditto.
10400         * dired-x.el (dired-mark-sexp): Ditto.
10402 2011-07-06  Richard Stallman  <rms@gnu.org>
10404         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10405         (rmail-mime-entity): New arg TRUNCATED.
10406         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10407         New functions.
10408         (rmail-mime-save): Warn if entity is truncated.
10409         (rmail-mime-toggle-hidden): Likewise, for showing.
10410         (rmail-mime-process-multipart): Record when an entity is truncated.
10412         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10413         if ENTITY is a string.
10415 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10417         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10418         of faces when `M-C-x'-ing their definitions (bug#8378).
10419         Also clean up the code slightly.
10421         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10422         because that makes the colors go away.
10424         * mail/sendmail.el (send-mail-function): Change the default to
10425         `sendmail-query-once'.
10426         (sendmail-query-once): Add an autoload cookie.
10428         * net/network-stream.el (network-stream-open-starttls): Try using
10429         a plain connection even if the server offered STARTTLS, and we
10430         kinda wanted to use it, if Emacs doesn't have any STARTTLS
10431         capability.  This should make smtpmail.el work in slightly more
10432         configurations.
10434 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
10436         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10437         New defun.
10438         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10440 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
10442         * progmodes/sql.el: Version 3.0
10443         (sql-product-alist): Add product :completion-object,
10444         :completion-column, and :statement attributes.
10445         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10446         (sql-mode-syntax-table): Mark all punctuation.
10447         (sql-font-lock-keywords-builder): Temporarily remove fallback on
10448         ansi keywords.
10449         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10450         (sql-mode-oracle-font-lock-keywords): Improve.
10451         (sql-oracle-show-reserved-words): New function for development.
10452         (sql-product-font-lock): Simplify for source code buffers.
10453         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10454         New functions.
10455         (sql-highlight-product): Set product specific syntax table.
10456         (sql-mode-map): Add statement movement functions.
10457         (sql-ansi-statement-starters, sql-oracle-statement-starters):
10458         New variable.
10459         (sql-statement-regexp, sql-beginning-of-statement)
10460         (sql-end-of-statement, sql-signum): New functions.
10461         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10462         (sql-show-sqli-buffer): Bug fix.
10463         (sql-interactive-mode): Store connection data as buffer local.
10464         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
10465         with sql-interactive-mode.
10466         (sql-save-connection): Save buffer local settings.
10467         (sql-connection-menu-filter): Change menu entry name.
10468         (sql-product-interactive): Bug fix.
10469         (sql-preoutput-hold): New variable.
10470         (sql-interactive-remove-continuation-prompt): Bug fixes.
10471         (sql-debug-redirect): New variable.
10472         (sql-str-literal): New function.
10473         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10474         Redesign.
10475         (sql-oracle-save-settings, sql-oracle-restore-settings)
10476         (sql-oracle-list-all, sql-oracle-list-table): New functions.
10477         (sql-completion-object, sql-completion-column)
10478         (sql-completion-sqlbuf): New variables.
10479         (sql-build-completions-1, sql-build-completions)
10480         (sql-try-completion): New functions.
10481         (sql-read-table-name): Use them.
10482         (sql-contains-names): New buffer local variable.
10483         (sql-list-all, sql-list-table): Use it.
10484         (sql-oracle-completion-types): New variable.
10485         (sql-oracle-completion-object, sql-sqlite-completion-object)
10486         (sql-postgres-completion-object): New functions.
10488 2011-07-06  Glenn Morris  <rgm@gnu.org>
10490         * window.el (pop-to-buffer): Doc fix.
10492 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
10494         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10496 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
10498         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10500         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10502 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
10504         * button.el (button): Inherit from link face.  Suggested by Dan
10505         Nicolaescu.
10507 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10509         * progmodes/gdb-mi.el: Fit in 80 columns.
10510         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10511         switch-to-buffer.
10513         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10514         if imenu is simply not configured (bug#8941).
10516 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
10518         * allout.el (allout-post-undo-hook): New allout outline-change
10519         event hook to signal undo activity.
10520         (allout-post-command-business): Run allout-post-undo-hook if an
10521         undo just occurred.
10522         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10523         * allout-widgets.el (allout-widgets-after-undo-function):
10524         Ensure the integrity of the current item's decoration after it has been
10525         in the vicinity of an undo.
10526         (allout-widgets-mode): Include allout-widgets-after-undo-function
10527         on the new allout-post-undo-hook.
10529 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10531         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10532         Let define-derived-mode define it.
10533         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10534         cycles of abbrev-table inheritance (bug#8998).
10536 2011-07-05  Roland Winkler  <winkler@gnu.org>
10538         * textmodes/bibtex.el: Add support for biblatex.
10539         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10540         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10541         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10542         (bibtex-entry-alist, bibtex-field-alist): New variables.
10543         (bibtex-entry-field-alist): Obsolete alias for
10544         bibtex-BibTeX-entry-alist.
10545         (bibtex-entry-alist, bibtex-field-alist): New widgets.
10546         (bibtex-set-dialect): New command.
10547         (bibtex-entry-type, bibtex-entry-head)
10548         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10549         Bind via bibtex-set-dialect.
10550         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10551         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10552         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10553         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10554         Define via bibtex-set-dialect.
10555         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10556         Obey bibtex-no-opt-remove-re.
10557         (bibtex-vec-push, bibtex-vec-incr): New functions.
10558         (bibtex-format-entry, bibtex-field-list)
10559         (bibtex-print-help-message, bibtex-validate)
10560         (bibtex-search-entries): Use new format of bibtex-entry-alist.
10562 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10564         * progmodes/compile.el (compilation-goto-locus):
10565         * net/tramp-cmds.el (tramp-append-tramp-buffers):
10566         * bs.el (bs-cycle-next, bs-cycle-previous):
10567         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10568         * bindings.el (mode-line-other-buffer):
10569         * autoinsert.el (auto-insert):
10570         * arc-mode.el (archive-extract):
10571         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10573 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10575         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10576         Fix check of `emacs-lock-unlockable-modes'.
10577         Coerce true values of `emacs-lock--try-unlocking' to t.
10579 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10581         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10582         * emacs-lock.el: New file.
10584 2011-07-05  Julien Danjou  <julien@danjou.info>
10586         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10587         than `boundp' to check if face is set.
10589 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10591         * register.el (registerv-make):
10592         * window.el (window-min-height): Fix typos in docstrings.
10594 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
10596         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10597         Update doc string.
10599 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
10601         * server.el (server-execute): Catch quit and call
10602         `server-return-error' to pass the error back to emacsclient and
10603         close the connection (bug#8942).
10605 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
10607         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10608         insecure exception for current topic.  Also note that auto-saves
10609         are handled differently.
10611         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10612         State variables for tracking auto-save inhibition situation.
10614         (allout-write-contents-hook-handler): Rename from
10615         'allout-write-file-hook-handler', and describe how it depends on
10616         write-contents-functions sensitivity to non-nil value to prevent
10617         file write.
10619         (allout-auto-save-hook-handler): Remove.  auto-save does not check
10620         this in individual buffers, only in the starting buffer, so this
10621         is not the right way for us to inhibit auto-save in a buffer
10622         according to its condition.
10624         (allout-mode): Use new allout-write-contents-hook-handler, and
10625         only with write-contents-functions.  Remove auto-save provisions -
10626         they're implemented elsewhere.
10628         (allout-before-change-handler): If undo is in progress, note that
10629         for attention of allout-post-command-business.
10631         (allout-post-command-business): If the command we're following was
10632         an undo, check for change in the status of encrypted items and
10633         adjust auto-save inhibitions accordingly.
10635         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10636         according to whether there are or aren't any plain-text topics
10637         pending encryption.
10639         (allout-inhibit-auto-save-info-for-decryption):
10640         Adjust buffer-saved-size and some allout state to inhibit auto-saves
10641         if there are plain-text topics pending encryption.
10643         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10644         buffer-saved-size and some allout state to not inhibit auto-saves
10645         if there are no longer any plain-text topics pending encryption.
10647         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10648         No longer provide for exemption of the current topic.
10650 2011-07-04  Juri Linkov  <juri@jurta.org>
10652         Add 7z operations to delete and save changed members (bug#8968).
10653         * arc-mode.el (archive-7z-expunge, archive-7z-update):
10654         New defcustoms.
10655         (archive-7z-write-file-member): New function.
10656         (archive-7z-summarize): Fix the number of dashes in the
10657         listing output.
10659 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10661         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10662         (bug#8958).
10664 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
10666         * bindings.el: Ignore next-buffer and previous-buffer in
10667         minibuffer-local-map.
10669         * font-lock.el (font-lock-builtin-face): Change light background
10670         color to dark slate blue (Bug#6693).
10672 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
10674         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10676 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10678         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10679         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10680         Add switch-to-buffer.
10682 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10684         * isearch.el (isearch-search-fun-function): Clarify further the
10685         meaning of the function returned.
10687 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
10689         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10691         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10692         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10693         Use it.
10694         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
10695         `tramp-default-remote-path' does not exist.
10696         (tramp-send-command-and-read): New optional argument NOERROR.
10697         (tramp-open-connection-setup-interactive-shell)
10698         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10699         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10700         (tramp-process-sentinel): Flush also process' connection property.
10701         (tramp-sh-handle-start-file-process): Do not set process
10702         sentinel.  It is done now ...
10703         (tramp-maybe-open-connection): ... here.  (Bug#8929)
10705 2011-07-04  MON KEY  <monkey@sandpframing.com>
10707         * play/animate.el (animate-string): Doc fixes and allow changing
10708         the buffer name (bug#5417).
10710 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10712         * play/animate.el (animation-buffer-name): Rename from *animate*.
10714 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
10716         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10717         This is simpler and helps future-proof the code.
10718         (timer-until): Use time-subtract and float-time.
10719         (timer--time-less-p): Use time-less-p.
10721 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
10723         * type-break.el (timep): Use the value of `float-time' to avoid a
10724         byte-compiler warning.
10726         * server.el (server-eval-and-print): Return any result, even nil.
10728 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
10730         * type-break.el: Accept time formats that the builtins accept.
10731         (timep, type-break-time-difference): Accept any format that
10732         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10733         This is simpler and helps future-proof the code.
10734         (type-break-time-difference): Round rather than ignoring
10735         subseconds components.
10737 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10739         * info.el (Info-apropos-matches): Make non-interactive, since it
10740         doesn't seem to do anything useful as a command (bug#8829).
10742 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
10744         * frame.el (frame-background-mode, frame-set-background-mode):
10745         Move from faces.el.
10746         (frame-default-terminal-background): New function.
10748         * custom.el (custom-push-theme): Don't record faces in `changed'
10749         theme; this doesn't work correctly for per-frame face settings.
10750         (disable-theme): Use face-set-after-frame-default to reset faces.
10751         (custom--frame-color-default): New function.
10753 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10755         * dired.el (dired-flagging-regexp): Remove unused variable
10756         (bug#8769).
10758 2011-03-29  Kevin Ryde  <user42@zip.com.au>
10760         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10761         `perl-Test2' extend to match possible "fail #N" rep count
10762         (bug#8377).
10764 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10766         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10767         `smtpmail-via-smtp' now returns the error instead of nil.
10769         * isearch.el (isearch-search-fun-function): Clarify the doc string
10770         (bug#8101).
10772 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
10774         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10775         unnecessary spaces (bug#8987).
10777 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10779         * net/network-stream.el (open-network-stream): Use the
10780         :end-of-capability command thoughout.
10782 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
10784         * net/network-stream.el (open-network-stream): Add the
10785         :end-of-capability command parameter, used by pop3.el.
10787 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10789         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10791         * fringe.el (fringe-query-style): Remove redundant text " (type ?
10792         for list)" (bug#6475).
10794         * files.el (file-expand-wildcards): Ignore non-readable
10795         sub-directories while trying to find matches instead of signaling
10796         an error (bug#6297).
10798         * man.el (Man-reference-regexp): Allow matching possible
10799         word-wrapped references (bug#6289).
10801         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10802         for consistency with the other vc buffers (bug#6197).
10803         (vc-checkin): Ditto.
10805         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10807         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10809 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10811         * custom.el (defcustom): Clarify that :set is only used in the
10812         Customize user interface (bug#6089).
10814         * progmodes/flymake.el (flymake-mode): If the buffer isn't
10815         associated with a file, refuse to run instead of erroring out
10816         (bug#6084).
10818         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10819         the doc string, since it appears that using `fill-column' always
10820         controls the width (bug#7845).
10822         * simple.el (shell-command-on-region): Say where the error output
10823         went if `shell-command-default-error-buffer' is set (bug#6857).
10825 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
10827         * allout.el (allout-yank-processing): Adjust cursor position for
10828         backwards-deleted space.
10830         (allout-rebullet-heading): Register changes with
10831         allout-exposure-changed-hook, so the modified topic is properly
10832         decorated.
10834 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10836         * minibuffer.el (completion-in-region): Document PREDICATE
10837         (bug#7136).
10839         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10840         of keyword/argument pairs (bug#6904).
10842         * replace.el (multi-occur):
10843         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10845 2011-07-02  Drew Adams  <drew.adams@oracle.com>
10847         * dired.el (dired-mark-if): Make the message about whether it's
10848         marking or unmarking clearer (bug#8523).
10850 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10852         * disp-table.el (display-table-print-array): New function.
10853         (describe-display-table): Use it to print the vectors more pretty
10854         (Bug#8859).
10856 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
10858         * window.el (window-state-get-1): Don't assign clone numbers.
10859         Add clone-of item to list of window parameters.
10860         (window-state-put-2): Don't process clone numbers.
10861         (display-buffer-alist): Fix doc-string.
10863 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10865         * subr.el (remq): Don't allocate if it's not needed.
10866         (keymap--menu-item-binding, keymap--menu-item-with-binding)
10867         (keymap--merge-bindings): New functions.
10868         (keymap-canonicalize): Use them to refine the canonicalization.
10869         * minibuffer.el (minibuffer-local-completion-map)
10870         (minibuffer-local-must-match-map): Move initialization from C.
10871         (minibuffer-local-filename-completion-map): Move initialization from C;
10872         don't inherit from anything here.
10873         (minibuffer-local-filename-must-match-map): Make obsolete.
10874         (completing-read-default): Use make-composed-keymap to combine
10875         minibuffer-local-filename-completion-map with either
10876         minibuffer-local-must-match-map or
10877         minibuffer-local-filename-completion-map.
10879 2011-07-01  Glenn Morris  <rgm@gnu.org>
10881         * type-break.el (type-break-time-sum): Use dolist.
10883         * textmodes/flyspell.el (flyspell-word-search-backward):
10884         Replace CL function.
10886 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10888         * mouse.el (mouse--strip-first-event): New function.
10889         (function-key-map): Use it to map fringe clicks to normal clicks
10890         by default.
10892         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10893         (vc-bzr-revision-completion-table): Add support for annotate and date.
10895         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10896         inherit from parent.
10898 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10900         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10901         (dired-show-file-type): Doc fixup (bug#8818).
10903         * dired.el (dired-mode): Fix up the doc string as suggested by
10904         Drew Adams (bug#8817).
10906         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10907         cookie, since the manual says that it should be possible to add
10908         this function to `find-file-hook' (bug#8709).
10910 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
10912         * progmodes/cfengine.el: Moved all cfengine3.el functionality
10913         here.  Noted Ted Zlatanov as the maintainer.
10914         (cfengine-common-settings, cfengine-common-syntax): New functions
10915         to set up common things between `cfengine-mode' and
10916         `cfengine3-mode'.
10917         (cfengine3-mode): New mode.
10918         (cfengine3-defuns cfengine3-defuns-regex
10919         (cfengine3-class-selector-regex cfengine3-category-regex)
10920         (cfengine3-vartypes cfengine3-font-lock-keywords)
10921         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10922         (cfengine3-indent-line): Add from cfengine3.el.
10924 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
10926         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10928         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10930 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
10932         * window.el (same-window-buffer-names, same-window-regexps)
10933         (same-window-p, special-display-frame-alist)
10934         (special-display-popup-frame, special-display-function)
10935         (special-display-buffer-names, special-display-regexps)
10936         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10937         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10938         (split-window-preferred-function, split-height-threshold)
10939         (split-width-threshold, even-window-heights)
10940         (display-buffer-mark-dedicated, window-splittable-p)
10941         (split-window-sensibly, window-safely-shrinkable-p):
10942         Un-obsolete.
10943         (display-buffer): Don't spread args with function specifier
10944         because special-display-popup-frame won't like it.
10946 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
10948         Time-stamp simplifications and fixes.
10949         These improve accuracy slightly, and future-proof the code
10950         against some potential changes to current-time format.
10952         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10953         by using time-since and float-time.
10955         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10956         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
10957         + NNN microseconds".
10959         * type-break.el (type-break-time-sum): Rewrite using time-add.
10961         * play/hanoi.el (hanoi-current-time-float): Remove.
10962         All uses replaced by float-time.
10964         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10965         This yields a more-accurate answer.
10966         (rng-time-to-float): Remove; no longer needed.
10968         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10970         * calendar/timeclock.el (timeclock-seconds-to-time):
10971         Defalias to seconds-to-time, since they're the same thing.
10973         * emacs-lisp/elp.el (elp-elapsed-time):
10974         * emacs-lisp/benchmark.el (benchmark-elapse):
10975         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10977 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10979         * window.el (bury-buffer): Don't iconify the only frame.
10980         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10981         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
10983 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
10985         * eshell/em-smart.el (eshell-smart-display-navigate-list):
10986         Add mouse-yank-primary.
10988 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
10990         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10992 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10994         * emacs-lisp/find-func.el (find-library--load-name): New fun.
10995         (find-library-name): Use it to find relative load names when provided
10996         absolute file name (bug#8803).
10998 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11000         * textmodes/flyspell.el (flyspell-word): Consider words that
11001         differ only in case as potential doublons (bug#5687).
11003         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11004         Remove two rather uninteresting debugging-like messages to make
11005         debbugs.el more silent.
11007         * comint.el (comint-password-prompt-regexp): Accept "Response" as
11008         a password-like phrase.
11010 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
11012         * progmodes/cc-guess.el: New file.
11014         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11016         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11017         derived from `c-basic-common-init'.
11019         * progmodes/cc-mode.el (top-level): Require cc-guess.
11020         (c-basic-common-init): Use `cc-choose-style-for-mode'.
11022 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
11024         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11026 2011-06-30  Alan Mackenzie  <acm@muc.de>
11028         * progmodes/cc-engine.el (c-guess-continued-construct):
11029         Correct the handling of template-args-cont, particularly for when font
11030         lock is disabled.  Name this case as "CASE G".
11032 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
11034         * allout.el (allout-yank-processing): Fix injection of extra space
11035         between bullet and non-whitespace character in first topic when
11036         pasting, ensuring that the actual spacing in the pasted topic
11037         following the bullet char is preserved.  This extra space was
11038         causing pasted encrypted topics to get a decrypted status even
11039         when the content was actually still encrypted.  Now the decryption
11040         status from before the paste is preserved.
11042         (allout-flag-region): Set all allout overlays so they evaporate
11043         when reduced to zero length (evanescent), to prevent overlay
11044         leakage.
11046 2011-06-30  Glenn Morris  <rgm@gnu.org>
11048         * w32-fns.el (w32-charset-info-alist): Declare.
11050         * find-dired.el (find-grep-options): Simplify.
11052         * term/ns-win.el (ns-set-resource): Declare.
11054         * ses.el (row, col): Declare dynamic variables honestly.
11056         * textmodes/reftex-parse.el (index-tags): Declare.
11058 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
11060         * cus-edit.el (customize-push-and-save): New function.
11062         * files.el (hack-local-variables-confirm): Use it.
11064         * custom.el (load-theme): New arg NO-CONFIRM.
11065         Use customize-push-and-save (Bug#8720).
11066         (custom-enabled-themes): Doc fix.
11068         * cus-theme.el (customize-create-theme)
11069         (custom-theme-merge-theme): Callers to load-theme changed.
11071 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11073         * thingatpt.el (thing-at-point-short-url-regexp): Require that
11074         short URLs have at least one dot in them (bug #7614).
11076         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11077         nil, because using a pty is apparently too slow (bug #895).
11079 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11081         * mail/sendmail.el (sendmail-query-once): New function.
11082         (sendmail-query-once-function): New variable.
11084 2011-06-29  Glenn Morris  <rgm@gnu.org>
11086         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11088         * ses.el (top-level): Require cl when compiling.
11089         (ses-set-localvars): Fix error statement.
11090         Call it at compile time to silence a storm of warnings.
11092 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
11094         * window.el (normalize-live-buffer): Rename to
11095         window-normalize-buffer.
11096         (normalize-live-frame): Rename to window-normalize-frame.
11097         (normalize-any-window): Rename to window-normalize-any-window.
11098         (normalize-live-window): Rename to window-normalize-live-window.
11099         (make-window-atom): Rename to window-make-atom.
11100         (window-resize-reset): Rename to window--resize-reset.
11101         (window-resize-reset-1): Rename to window--resize-reset-1.
11102         (resize-mini-window): Rename to window--resize-mini-window.
11103         (resize-subwindows-skip-p): Rename to
11104         window--resize-subwindows-skip-p.
11105         (resize-subwindows-normal): Rename to
11106         window--resize-subwindows-normal.
11107         (resize-subwindows): Rename to window--resize-subwindows.
11108         (resize-other-windows): Rename to window--resize-siblings.
11109         (resize-this-window): Rename to window--resize-this-window.
11110         (resize-root-window): Rename to window--resize-root-window.
11111         (resize-root-window-vertically): Rename to
11112         window--resize-root-window-vertically.
11113         (normalize-buffer-to-display): Rename to
11114         window-normalize-buffer-to-display.
11115         (normalize-buffer-to-switch-to): Rename to
11116         window-normalize-buffer-to-switch-to.
11117         Correspondingly update all callers of the functions listed
11118         above.
11119         (display-buffer-alist, display-buffer-normalize-arguments)
11120         (display-buffer-normalize-options, display-buffer)
11121         (display-buffer-alist-set): Use "function" instead of
11122         "fun-with-args".
11124 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
11126         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11127         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
11128         debbugs.gnu.org.  Mention acknowledgment email.
11130 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11132         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11133         buffer multibyteness, since it shouldn't matter.
11135 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
11137         * window.el (display-buffer-in-side-window): Handle dedicated
11138         windows as in display-buffer-reuse-window.
11139         (display-buffer-normalize-alist): Use value of override
11140         specifier.
11141         (display-buffer-normalize-specifiers): Use value of
11142         other-window-means-other-frame specifier.
11143         (display-buffer-alist): Rewrite some texts in widgets.
11144         (display-buffer): Spread arguments when calling function
11145         specified by fun-with-args.
11147 2011-06-28  Deniz Dogan  <deniz@dogan.se>
11149         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11150         Unnest `let'.
11152         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11153         selectors (Bug#5732).
11154         (css-proprietary-nmstart-re): Use `regexp-opt'.
11156 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
11158         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11159         (eshell-ls-date-format): New defcustom.
11160         (eshell-ls-file): Use it.
11162 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11164         * help-fns.el (describe-variable): Fix message for terminal-local vars.
11166 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
11168         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11169         (ange-ftp-make-tmp-name): New arg.
11170         (ange-ftp-file-local-copy): Use it.
11172 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
11174         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11175         no-conversion (Bug#8870).
11177 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
11179         * window.el (window-right, window-left, window-child)
11180         (window-child-count, window-last-child)
11181         (window-iso-combination-p, walk-window-tree-1)
11182         (window-atom-check-1, window-tree-1, delete-window)
11183         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11184         new naming conventions - window-vchild, window-hchild,
11185         window-next and window-prev are now called window-top-child,
11186         window-left-child, window-next-sibling and window-prev-sibling
11187         respectively.
11188         (resize-window-reset): Rename to window-resize-reset.
11189         (resize-window-reset-1): Rename to window-resize-reset-1.
11190         (resize-window): Rename to window-resize.
11191         (window-min-height, window-min-width)
11192         (resize-mini-window, resize-this-window, resize-root-window)
11193         (resize-root-window-vertically, adjust-window-trailing-edge)
11194         (enlarge-window, shrink-window, maximize-window)
11195         (minimize-window, delete-window, quit-restore-window)
11196         (split-window, balance-windows, balance-windows-area-adjust)
11197         (balance-windows-area, window-state-put-2)
11198         (display-buffer-even-window-sizes, display-buffer-set-height)
11199         (display-buffer-set-width, set-window-text-height)
11200         (fit-window-to-buffer): Rename all "resize-window" prefixed
11201         calls to use the "window-resize" prefix convention.
11202         (display-buffer-alist): Fix symbol for label specifier.
11203         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11204         corresponding specifier.
11205         Reported by Juanma Barranquero <lekktu@gmail.com>.
11207 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11209         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11210         convention.
11211         (ses-call-printer): Does not pass an empty string to formatter when the
11212         cell is empty to keep from barking printer Calc math-format-value.
11214 2011-06-27  Richard Stallman  <rms@gnu.org>
11216         * battery.el (battery-mode-line-limit): New variable.
11217         (battery-update): Handle it.
11219         * mail/rmailmm.el (rmail-mime-process-multipart):
11220         Handle truncated messages.
11222 2011-06-27  Glenn Morris  <rgm@gnu.org>
11224         * progmodes/flymake.el (flymake-err-line-patterns):
11225         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
11227 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11229         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11230         (ses--clean-!, ses--clean-_): New functions.
11231         (ses-range): Add configurability of readout order, and conversion
11232         to Calc vector.
11234         * ses.el (ses-repair-cell-reference-all): New function.
11235         (ses-cell-symbol): Set macro as safe, so that it can be used in
11236         formulas.
11238         * ses.el: Update cycle detection algorithm.
11239         (ses-localvars): Add ses--Dijkstra-attempt-nb and
11240         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11241         (ses-set-localvars): New function.
11242         (ses-make-cell): Add property-list as a cell element.
11243         (ses-cell-property-get-fun, ses-cell-property-get)
11244         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11245         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11246         New functions.
11247         (ses-cell-property-set, ses-cell-property-pop)
11248         (ses-cell-property-get-handle): New macro.
11249         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11250         New aliases, used for code readability.
11251         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11252         cycle detection.
11253         (ses-self-reference-early-detection): New defcustom.
11254         (ses-formula-references): Robustify against self-referring cells.
11255         (ses-mode): Use ses-set-localvars.
11256         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11257         before lauching the update processing.
11258         (ses-initialize-Dijkstra-attempt): New function.
11259         (ses-recalculate-cell): Update for cycle detection based on
11260         Dijkstra algorithm.
11262         * ses.el: Fix commenting and indenting convention.
11264 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11266         * bs.el (bs-cycle-next): Complete last change.
11268 2011-06-27  Drew Adams  <drew.adams@oracle.com>
11270         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11272 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11274         * net/network-stream.el (network-stream-open-starttls):
11275         Don't re-get capabilities unless we've reestablished connection.
11276         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11278         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11279         to binary to possibly avoid line encoding issues on Windows (among
11280         other things).
11282 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11284         * net/network-stream.el (open-network-stream): Return an :error
11285         saying what the problem was, if possible.
11287         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11288         server.
11290         * net/network-stream.el (network-stream-open-starttls): If we
11291         wanted to use STARTTLS, and the server offered it, but we weren't
11292         able to because we had no STARTTLS support, then close the connection.
11293         (open-network-stream): Return an :error element, if present.
11295 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
11297         * hl-line.el (hl-line-sticky-flag): Doc fix.
11298         (global-hl-line-sticky-flag): New option (Bug#8323).
11299         (global-hl-line-highlight): Obey it.
11301         * vc/vc.el (vc-revert-show-diff): Default to t.
11303 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
11305         * allout-widgets.el (allout-widgets-post-command-business):
11306         Stop decorating intermediate isearch matches.  They're not being
11307         undecorated when an isearch is continued past, and isearch
11308         automatically collapses them.  This leads to "widget leaks", where
11309         decorated items accumulate in collapsed areas.  Lines with lots of
11310         hidden widgets can slow down cursor travel, substantially.
11311         Too much complicated machinery would be needed to ensure undecoration,
11312         so we're doing without this nicety.
11314         (allout-widgets-tally-string): Don't try to do a hash-table-count
11315         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
11316         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11317         *Messages* when allout-widgets-maintain-tally is t.
11319 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
11321         * window.el (display-buffer-normalize-argument): Rename to
11322         display-buffer-normalize-arguments.  Handle special meaning of
11323         LABEL argument.  Respect special-display-function when popping up
11324         a new frame.  Fix code searching for a window showing the buffer
11325         on another frame.
11326         (display-buffer-normalize-specifiers):
11327         Call display-buffer-normalize-arguments.
11328         (display-buffer-in-window): Don't undedicate the window if its
11329         buffer remains the same.
11330         Reported by Drew Adams <drew.adams@oracle.com>.
11331         (display-buffer-alist): Add choice for same-window macro
11332         specfier.
11333         (display-buffer): Mention special meaning of LABEL argument in
11334         doc-string.  Fix quoting.  Don't pop up a new frame even as
11335         fallback.
11337 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
11339         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11340         avoid deleting the current window in some cases (bug#8911).
11342 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
11344         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11345         (Bug#8934)
11347 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11349         * net/network-stream.el (network-stream-open-starttls):
11350         Use built-in TLS support if `gnutls-available-p' is true.
11351         (network-stream-open-tls): Ditto.
11353 2011-06-26  Leo Liu  <sdl.web@gmail.com>
11355         * register.el (registerv): New struct.
11356         (registerv-make): New function.
11357         (jump-to-register, describe-register-1, insert-register):
11358         Support the jump-func, print-func and insert-func slot of a registerv
11359         struct.  (Bug#8415)
11361 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
11363         * vc/vc.el (vc-revert-show-diff): New defcustom.
11364         (vc-diff-internal): New arg specifying diff buffer.
11365         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
11366         reuse an existing *vc-diff* buffer (Bug#8927).
11368         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11370 2011-06-26  Glenn Morris  <rgm@gnu.org>
11372         * progmodes/f90.el (f90-critical-indent): New option.
11373         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11374         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11375         (f90-mode): Doc fix.
11376         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11377         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11378         (f90-beginning-of-block, f90-next-block, f90-indent-region)
11379         (f90-match-end): Handle block, critical.
11381 2011-06-25  Glenn Morris  <rgm@gnu.org>
11383         * calendar/diary-lib.el (diary-included-files): Doc fix.
11384         (diary-include-files): New function, extracted from
11385         diary-include-other-diary-files and diary-mark-included-diary-files.
11386         (diary-include-other-diary-files, diary-mark-included-diary-files):
11387         Just call diary-include-files.
11388         (diary-mark-entries): Reset diary-included-files on first call.
11390         * calendar/diary-lib.el (diary-mark-entries)
11391         (diary-mark-included-diary-files):
11392         Visit included diary-files in temp buffers.
11394         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11395         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11396         (f90-start-block-re, f90-imenu-generic-expression)
11397         (f90-looking-at-program-block-start, f90-no-block-limit):
11398         Add support for submodules.
11400         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11401         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11403 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
11405         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11406         buffer-file-type before setting its value, to avoid disastrous
11407         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
11409 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
11411         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11413         * ses.el (ses-unload-function):
11414         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11416         * proced.el (proced-unload-function):
11417         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11419 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
11421         * server.el (server-create-window-system-frame): Add parameters arg.
11422         (server-process-filter): Doc fix.  Handle frame-parameters.
11424 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
11426         Fix bug#8730, bug#8781.
11428         * loadhist.el (unload--set-major-mode): New function.
11429         (unload-feature): Use it.
11431         * progmodes/python.el (python-after-info-look): Add autoload cookie.
11432         (python-unload-function): New function.
11434 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11436         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11438 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
11440         * net/browse-url.el (browse-url-firefox-program): Add icecat to
11441         the candidates list.
11443 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
11445         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11447 2011-06-23  Richard Stallman  <rms@gnu.org>
11449         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11450         (rmail-variables): Set next-error-move-function.
11451         (rmail-what-message): Take argument POS.
11452         (rmail-next-error-move): New function.
11454 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11456         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11457         messages for adjacent non-terminals.
11459 2011-06-23  Richard Stallman  <rms@gnu.org>
11461         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11462         (rmail-show-message-1): Preserve buffer modified flag.
11463         (rmail-start-mail): Don't specify use of rmail-mail-return;
11464         that's done by mail-bury now.
11465         (rmail-mail-return): Handle arg NEWBUF.
11467 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
11469         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11470         SIZE is a number.
11472 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
11474         * window.el (get-lru-window, get-mru-window)
11475         (get-largest-window): Never return a minibuffer window.
11476         (display-buffer-pop-up-window): Fix a bug that could lead to
11477         reusing the minibuffer window.
11478         (display-buffer): Pass original specifier argument to
11479         display-buffer-function instead of the normalized one.
11480         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11482 2011-06-22  Leo Liu  <sdl.web@gmail.com>
11484         * minibuffer.el (completing-read-function)
11485         (completing-read-default): Move from minibuf.c
11487 2011-06-22  Richard Stallman  <rms@gnu.org>
11489         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11490         to Rmail even if not started by a special Rmail command.
11492         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11493         Copy the buffer currently showing just one message.
11495 2011-06-22  Roland Winkler  <winkler@gnu.org>
11497         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11498         (bibtex-clean-entry): First delete the old key so that a
11499         customized algorithm for generating the new key does not get
11500         confused by the old key.
11501         (bibtex-url): Obey regexp of first step.
11502         (bibtex-search-entries): Do not use add-to-list with local
11503         list-var.
11505 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11507         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11508         stored a user name, then query for the password first, instead of
11509         waiting for SMTP to give an error message and the trying again.
11511 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
11513         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11514         BUFFER in call-process.
11516 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11518         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11519         QUIT twice.
11520         (smtpmail-try-auth-methods): Require user name and password from
11521         auth-source.
11523 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
11525         * window.el (display-buffer-default-specifiers)
11526         (display-buffer-alist): Remove entries for pop-up-frame-alist.
11527         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11528         (split-window): Normalize SIDE argument (Bug#8916).
11530         * frame.el (pop-up-frame-alist, pop-up-frame-function)
11531         (special-display-frame-alist, special-display-popup-frame):
11532         Remove duplicate declarations.  These are now in window.el.
11534 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11536         * mail/smtpmail.el (smtpmail-via-smtp):
11537         Set :use-starttls-if-possible so that we always use STARTTLS if the
11538         server supports it.  SMTP servers that support STARTTLS commonly
11539         require it.
11541         * net/network-stream.el (network-stream-open-starttls): Support
11542         upgrading to STARTTLS always, even if we don't have built-in support.
11543         (open-network-stream): Add the :always-query-capabilities keyword.
11545         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11546         upgrades with `open-network-stream', and rely solely on
11547         auth-source for all credentials.  Big changes throughout the file,
11548         but in particular:
11549         (smtpmail-auth-credentials): Remove.
11550         (smtpmail-starttls-credentials): Remove.
11551         (smtpmail-via-smtp): Check for servers saying they want AUTH after
11552         MAIL FROM, too.
11554         * net/network-stream.el (network-stream-open-starttls):
11555         Provide support for client certificates both for external and built-in
11556         STARTTLS.
11557         (auth-source): Require.
11558         (open-network-stream): Document the :client-certificate keyword.
11559         (network-stream-certificate): Change cert-cert to cert and
11560         cert-key to key.
11562 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
11564         * net/tramp-cache.el (top): Don't load the persistency file when
11565         "emacs -Q" has been called.
11567 2011-06-21  Tim Harper  <timcharper@gmail.com>
11569         * term/ns-win.el (ns-initialize-window-system):
11570         Set application-specific `ApplePressAndHoldEnabled' system
11571         resource to NO as it is not yet supported by the NS port.
11573 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
11575         * misc.el (list-dynamic-libraries--refresh): Compute header here...
11576         (list-dynamic-libraries): ...not here.
11578 2011-06-21  Leo Liu  <sdl.web@gmail.com>
11580         * subr.el (sha1): Implement sha1 using secure-hash.
11582 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
11584         * window.el (display-buffer-alist): In default value do not
11585         enforce searching a window on any but the selected frame.
11586         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11587         (display-buffer-select-window): Remove function.
11588         (display-buffer-in-window): When a window on another frame gets
11589         reused, do not select it any more but just raise its frame if
11590         necessary (Bug#8851) and (Bug#8856).
11591         (display-buffer-normalize-options): Handle pop-up-frames related
11592         options more faithfully.
11593         (pop-to-buffer): Don't rely on `display-buffer' selecting the
11594         window if it is on another frame.
11595         (display-buffer-alist, display-buffer-default-specifiers):
11596         Don't make new frame unsplittable by default.
11597         (display-buffer-normalize-argument): Fix doc-string typo and use
11598         'same-frame-other-window instead of 'other-window when associating
11599         with display-buffer-macro-specifiers.
11601 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
11603         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11604         New functions.
11605         (5x5-mode-map, 5x5-mode-menu): Bind them.
11606         (5x5-draw-grid): Tweak the solver's rendering.
11608 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11610         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11611         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11613 2011-06-21  Drew Adams  <drew.adams@oracle.com>
11615         * menu-bar.el: Use function variable instead of switch-to-buffer.
11616         (menu-bar-select-buffer-function): New variable.
11617         (menu-bar-update-buffers): Use it (bug#8876).
11619 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11621         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11622         variable's status.
11624 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
11626         * x-dnd.el (x-dnd-version-from-flags)
11627         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11628         and long as number (Bug#8899).
11629         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11631 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11633         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11634         (completion-try-completion, completion-all-completions): Compute the
11635         metadata argument if it's missing; make it optional (bug#8795).
11637         * wid-edit.el: Use lex-bind and move towards completion-at-point.
11638         (widget-complete): Use new :completion-function property.
11639         (widget-completions-at-point): New function.
11640         (default): Use :completion-function instead of :complete.
11641         (widget-default-completions): Rename from widget-default-complete;
11642         Rewrite.
11643         (widget-string-complete, widget-file-complete, widget-color-complete):
11644         Remove functions.
11645         (file, symbol, function, variable, coding-system, color):
11646         * international/mule-cmds.el (default-input-method, charset)
11647         (language-info-custom-alist):
11648         * cus-edit.el (face): Use new property :completions.
11650         * progmodes/pascal.el (pascal-completions-at-point): New function.
11651         (pascal-mode): Use it.
11652         (pascal-mode-map): Use completion-at-point.
11653         (pascal-toggle-completions): Make obsolete.
11654         (pascal-complete-word, pascal-show-completions):
11655         * progmodes/octave-mod.el (octave-complete-symbol):
11656         Redefine as obsolete alias.
11657         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11658         Signal absence of completion info for old Octave,
11659         (inferior-octave-complete): Redefine as obsolete alias.
11660         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11661         (meta-completions-at-point): Rename from meta-complete-symbol and
11662         adapt it for use on completion-at-point-functions.
11663         (meta-common-mode): Use it.
11664         (meta-looking-at-backward, meta-match-buffer): Remove.
11665         (meta-complete-symbol): Redefine as obsolete alias.
11666         (meta-common-mode-map): Use completion-at-point.
11667         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11668         (makefile-mode-map): Use completion-at-point.
11669         (makefile-completions-at-point): Rename from makefile-complete and
11670         adapt it for use on completion-at-point-functions.
11671         (makefile-mode): Use it.
11672         (makefile-complete): Redefine as obsolete alias.
11674 2011-06-20  Deniz Dogan  <deniz@dogan.se>
11676         * net/rcirc.el: Delete trailing whitespaces once and for all.
11678 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
11680         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11682 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
11684         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11686         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11688 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
11690         * window.el (display-buffer-other-window-means-other-frame):
11691         Call display-buffer-normalize-alist.
11692         (display-buffer-normalize-specifiers-1): Rename to
11693         display-buffer-normalize-argument.  New argument other-frame.
11694         Rewrite.
11695         (display-buffer-normalize-specifiers-2): Rename to
11696         display-buffer-normalize-options.
11697         (display-buffer-normalize-alist-1): New function.
11698         (display-buffer-normalize-specifiers-3): Rename to
11699         display-buffer-normalize-alist.
11700         Call display-buffer-normalize-alist-1.
11701         (display-buffer-normalize-options-inhibit): New variable.
11702         (display-buffer-normalize-specifiers): Rewrite calling
11703         display-buffer-normalize-alist,
11704         display-buffer-normalize-argument, and
11705         display-buffer-normalize-options.  Don't call the latter if
11706         display-buffer-normalize-options-inhibit is non-nil.
11707         (frame-auto-delete): New option.
11708         (window-deletable-p): Use frame-auto-delete.
11709         (window-list-no-nils, window-state-ignored-parameters)
11710         (window-state-get-1, window-state-get, window-state-put-list)
11711         (window-state-put-1, window-state-put-2, window-state-put):
11712         New functions.
11713         (display-buffer-normalize-options): Move special-display-p group
11714         after pop-up-frame group (Bug#8851) and (Bug#8856).
11716 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
11718         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11719         groups (Bug#8776).
11720         (rx-submatch-n): New function.
11721         (rx): Document it.
11723         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11724         (Bug#8768).
11726         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11728         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11730         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11731         anytime existing face settings are present (Bug#8889).
11733         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11734         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11735         Remove unused argument.
11737 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
11739         * window.el (display-buffer-default-specifiers):
11740         Remove pop-up-frame.  Add pop-up-window-min-height,
11741         pop-up-window-min-width, and another reuse-window specifier
11742         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
11743         (display-buffer-normalize-specifiers-2):
11744         Handle split-height-threshold and split-width-threshold also when
11745         pop-up-windows is unset.  Add a reuse-window specifier for the
11746         case popping up a new window fails.
11747         (special-display-popup-frame): Remove double quoting.
11748         (display-buffer-normalize-specifiers-1): Fix thinko.
11750 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11752         * shell.el (shell-completion-vars): Set pcomplete-termination-string
11753         according to comint-completion-addsuffix.
11755         * pcomplete.el: Convert to lexical binding and fix bug#8819.
11756         (pcomplete-suffix-list): Mark as obsolete.
11757         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11758         pcomplete-seen in the closure.
11759         (pcomplete-comint-setup): Setup completion-at-point as well.
11760         (pcomplete--entries): New function.
11761         (pcomplete--env-regexp): New var.
11762         (pcomplete-entries): Rewrite to work with partial-completion and
11763         without relying on pcomplete-suffix-list.
11764         (pcomplete-pare-list): Remove, unused.
11766 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
11768         * window.el (display-buffer-alist): Set pop-up-window-min-height
11769         and pop-up-window-min-width in default value.  Reported by
11770         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
11771         other-window-means-other-frame.
11772         (display-buffer-macro-specifiers): Comment out entry for
11773         other-window specifier.
11774         (display-buffer-other-window-means-other-frame): New function.
11775         (display-buffer-normalize-specifiers-1): New arguments
11776         buffer-name and label.  Treat other-window case specially.
11777         (display-buffer-normalize-specifiers-2): Treat other-window case
11778         specially.
11779         (display-buffer-normalize-specifiers-3): New function.
11780         (display-buffer-normalize-specifiers):
11781         Call display-buffer-normalize-specifiers-3.
11783 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
11785         * window.el (same-window-p): Fix two typos introduced when
11786         adding with-no-warnings.
11787         (display-buffer-normalize-specifiers-1): Don't check
11788         pop-up-frames for 'unset initialization.
11789         (display-buffer-normalize-specifiers-2): Major rewrite using
11790         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11791         (pop-up-frames, display-buffer-reuse-frames)
11792         (display-buffer-mark-dedicated): Don't initialize to 'unset.
11793         Suggested by David Engster <deng@randomsample.de>.
11794         (even-window-heights): Initialize to 'unset.
11795         (display-buffer-alist-set): Handle new 'unset initializations.
11796         (display-buffer-macro-specifiers): Don't pop up a new frame in the
11797         other window case.
11799 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
11801         * window.el (display-buffer-normalize-specifiers-1):
11802         Respect current value of pop-up-frames for most reasonable values of
11803         second argument of display-buffer (Bug#8865).
11804         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11805         (switch-to-buffer-other-window-same-frame)
11806         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
11807         Adams (Bug#8875).
11808         (display-buffer): Don't check noninteractive when calling
11809         display-buffer-pop-up-frame.
11810         (display-buffer-pop-up-frame): Never pop up a frame in
11811         noninteractive mode (Bug#8857).
11812         (enlarge-window, shrink-window): Don't report an error when the
11813         window can't be resized as requested (Bug#8862).
11815 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11817         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11819         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11821         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11823 2011-06-15  Alan Mackenzie  <acm@muc.de>
11825         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11826         for declarators, disable knr checking to speed up for normal files.
11827         2: Refactor, replacing a sequence of nested if forms by a cond form.
11829 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11831         * net/network-stream.el (open-network-stream): Add the keyword
11832         :always-query-capabilities for the case where you want to force a
11833         `plain' network connection, but the protocol still requires the
11834         capabilitiy command (i.e., SMTP and EHLO).
11836         * subr.el (process-live-p): Rename from `process-alive-p' for
11837         consistency with other `-live-p' functions.
11839 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11841         * window.el (same-window-buffer-names, same-window-regexps)
11842         (special-display-frame-alist, special-display-popup-frame)
11843         (special-display-function, special-display-buffer-names)
11844         (special-display-regexps, pop-up-frame-alist)
11845         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11846         (pop-up-windows, split-window-preferred-function)
11847         (split-height-threshold, split-width-threshold, even-window-heights)
11848         (display-buffer-mark-dedicated): Don't encourage the use of
11849         display-buffer-alist from Elisp code.
11851 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
11853         * progmodes/python.el (python-mode): Derive from prog-mode.
11854         * progmodes/ps-mode.el (ps-mode):
11855         * progmodes/mixal-mode.el (mixal-mode):
11856         * progmodes/cfengine.el (cfengine-mode):
11857         * progmodes/ld-script.el (ld-script-mode): Likewise.
11859 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
11861         * window.el (display-buffer-alist): Trim default value to avoid
11862         popping up a new frame (Bug#8857) or reusing an arbitrary window
11863         on another frame.
11864         (display-buffer): Do not fall back on popping up a new frame in
11865         batch mode (Bug#8857).
11867 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
11869         * cus-theme.el (describe-theme-1): Use custom-theme-p.
11870         (custom-theme-summary): New function.
11871         (customize-themes): Use it.
11873 2011-06-13  Glenn Morris  <rgm@gnu.org>
11875         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11877 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
11879         * help.el (help-window): Remove variable.
11880         (help-window-point-marker, temp-buffer-max-height)
11881         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11882         (help-print-return-message): Don't set help-window.
11883         (resize-temp-buffer-window): Rewrite cod eand doc-string.
11884         (help-window-setup-finish): Remove.
11885         (help-window-display-message, help-window-setup)
11886         (with-help-window): Major rewrite based on new
11887         display-buffer-window variable.
11889         * help-mode.el (help-mode-finish): Remove help-window related
11890         code.
11892         * view.el (view-exits-all-viewing-windows): Remove reference to
11893         view-return-to-alist in doc-string.
11894         (view-return-to-alist): Make obsolete.
11895         (view-buffer): Call pop-to-buffer-same-window and remove
11896         undo-window code.
11897         (view-buffer-other-window): Call pop-to-buffer-other-window and
11898         simplify code.  Ignore second argument.
11899         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11900         simplify code.  Ignore second argument.
11901         (view-return-to-alist-update): Make obsolete.
11902         (view-mode-enter): Rename second argument to QUIT-RESTORE.
11903         Rewrite using quit-restore window parameters.
11904         (view-mode-exit): Rename second argument to EXIT-ONLY.
11905         Rewrite using quit-restore-window.
11906         (View-exit, View-exit-and-edit, View-leave, View-quit)
11907         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11908         appropriate arguments.
11909         (view-end-message): Use quit-restore window parameter.
11911         * window.el (display-buffer-function): Rewrite doc-string.
11912         (display-buffer-window, display-buffer-alist): New variables.
11913         (display-buffer-split-specifiers)
11914         (display-buffer-side-specifiers)
11915         (display-buffer-macro-specifiers): New constants.
11916         (display-buffer-even-window-sizes, display-buffer-set-height)
11917         (display-buffer-set-width, display-buffer-select-window)
11918         (display-buffer-in-window, display-buffer-reuse-window)
11919         (display-buffer-split-window-1, display-buffer-split-window)
11920         (display-buffer-split-atom-window, display-buffer-pop-up-window)
11921         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11922         (display-buffer-in-side-window, normalize-buffer-to-display)
11923         (display-buffer-normalize-specifiers-1)
11924         (display-buffer-normalize-specifiers-2)
11925         (display-buffer-normalize-specifiers, display-buffer-frame):
11926         New functions.
11927         (display-buffer): Major rewrite.
11928         (display-buffer-other-window, display-buffer-other-frame)
11929         (pop-to-buffer, switch-to-buffer-other-window)
11930         (switch-to-buffer-other-frame): Rewrite.
11931         (display-buffer-same-window, display-buffer-same-frame)
11932         (display-buffer-same-frame-other-window)
11933         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11934         (pop-to-buffer-other-window)
11935         (pop-to-buffer-same-frame-other-window)
11936         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11937         (switch-to-buffer-other-window-same-frame): New functions.
11938         (same-window-p, special-display-p): Rewrite disabling warnings.
11939         Make obsolete.
11940         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11941         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11942         Make obsolete
11943         (same-window-buffer-names, same-window-regexps)
11944         (special-display-frame-alist, special-display-popup-frame)
11945         (special-display-function, special-display-buffer-names)
11946         (special-display-regexps, pop-up-frame-alist)
11947         (pop-up-frame-function, split-window-preferred-function)
11948         (split-height-threshold, split-width-threshold)
11949         (even-window-heights): Make obsolete.
11951 2011-06-12  Glenn Morris  <rgm@gnu.org>
11953         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
11954         Misc simplifications.
11956 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
11958         * window.el (window-safely-shrinkable-p): Restore function which
11959         was inadvertently removed in change from 2011-06-11.  Declare as
11960         obsolete.
11962         * calendar/calendar.el (calendar-generate-window):
11963         Use window-iso-combined-p instead of combination of one-window-p and
11964         window-safely-shrinkable-p.
11966 2011-06-12  Glenn Morris  <rgm@gnu.org>
11968         * progmodes/fortran.el (fortran-mode-syntax-table):
11969         * progmodes/f90.el (f90-mode-syntax-table):
11970         Set % to punctuation.  (Bug#8820)
11971         (f90-find-tag-default): Remove, no longer needed.
11973 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
11975         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11977 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
11979         * image.el (image-animated-p): Return animation delay in seconds.
11980         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11981         (image-animate-timeout): Remove DELAY argument.  Don't assume
11982         every subimage has the same delay; get it from image-animated-p.
11983         (image-animate): Caller changed.
11985 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
11987         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11988         to ignored backtrace functions.
11990 2011-06-11  Glenn Morris  <rgm@gnu.org>
11992         * calendar/appt.el (appt-disp-window-function): Doc fix.
11993         (appt-check): Handle overlapping appointments.  (Bug#8337)
11995 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
11997         * window.el (window-tree-1, window-tree): New functions, moving
11998         the latter to window.el.
11999         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12000         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12001         (bw-refresh-edges): Remove.
12002         (balance-windows-1, balance-windows-2): New functions.
12003         (balance-windows): Rewrite in terms of window tree functions,
12004         balance-windows-1 and balance-windows-2.
12005         (bw-adjust-window): Remove.
12006         (balance-windows-area-adjust): New function with functionality of
12007         bw-adjust-window but using resize-window.
12008         (set-window-text-height): Rewrite doc-string.
12009         Use normalize-live-window and resize-window.
12010         (enlarge-window-horizontally, shrink-window-horizontally):
12011         Rename argument to DELTA.
12012         (window-buffer-height): New function.
12013         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12014         Rewrite using new window resize routines.
12015         (kill-buffer-and-window, mouse-autoselect-window-select):
12016         Use ignore-errors instead of condition-case.
12017         (quit-window): Call delete-frame instead of delete-windows-on
12018         for the only buffer on frame.
12020 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
12022         * loadup.el (top-level): Load window before files for the sake
12023         of replace-buffer-in-windows.
12025         * files.el (read-buffer-to-switch)
12026         (switch-to-buffer-other-window)
12027         (switch-to-buffer-other-frame, display-buffer-other-frame):
12028         Move to window.el.
12030         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12031         (previous-buffer): Move to window.el.
12033         * bindings.el (unbury-buffer): Move to window.el.
12035         * window.el (delete-other-windows-vertically): Move after
12036         definition of delete-other-windows.
12037         (other-window, delete-windows-on, replace-buffer-in-windows):
12038         Move here from window.c.
12039         (record-window-buffer, unrecord-window-buffer)
12040         (set-window-buffer-start-and-point, switch-to-prev-buffer)
12041         (switch-to-next-buffer): New functions.
12042         (get-next-valid-buffer, last-buffer, next-buffer): Move here
12043         from simple.el.  Call switch-to-next-buffer.
12044         (previous-buffer): Move here from simple.el.
12045         Call switch-to-prev-buffer.
12046         (bury-buffer): Move here from buffer.c.  Switch to previous
12047         buffer when window cannot be deleted.
12048         (unbury-buffer): Move here from bindings.el.
12049         (ctl-x-map): Move binding for other-window from window.c to
12050         here.
12051         (read-buffer-to-switch, switch-to-buffer-other-window)
12052         (switch-to-buffer-other-frame): Move here from files.el.
12053         (normalize-buffer-to-switch-to): New functions.
12054         (switch-to-buffer): Move here from buffer.c.
12055         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12057 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
12059         * window.el (window-min-height, window-min-width): Move here
12060         from window.c.  Add defcustoms and rewrite doc-strings.
12061         (resize-mini-window, resize-window): New functions.
12062         (adjust-window-trailing-edge, enlarge-window, shrink-window):
12063         Move here from window.c.
12064         (maximize-window, minimize-window): New functions.
12065         (delete-window, delete-other-windows, split-window): Move here
12066         from window.c.
12067         (window-split-min-size): New function.
12068         (split-window-keep-point): Mention split-window-above-each-other
12069         instead of split-window-vertically.
12070         (split-window-above-each-other, split-window-vertically):
12071         Rename split-window-vertically to split-window-above-each-other
12072         and provide defalias for old definition.
12073         (split-window-side-by-side, split-window-horizontally):
12074         Rename split-window-horizontally to split-window-side-by-side
12075         and provide defalias for the old definition.
12076         (ctl-x-map): Move bindings for delete-window,
12077         delete-other-windows and enlarge-window here from window.c.
12078         Replace bindings for split-window-vertically and
12079         split-window-horizontally by bindings for
12080         split-window-above-each-other and split-window-side-by-side.
12082         * cus-start.el (all): Remove entries for window-min-height and
12083         window-min-width.  Add entries for window-splits and
12084         window-nest.
12086 2011-06-09  Glenn Morris  <rgm@gnu.org>
12088         * calendar/appt.el (appt-mode-line): New function.
12089         (appt-check, appt-disp-window): Use it.
12091         * files.el (hack-one-local-variable-eval-safep):
12092         Allow minor-modes with explicit +/-1 arguments.
12094 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
12096         * term/xterm.el (xterm): Add defgroup.
12097         (xterm-extra-capabilities): Add defcustom to supply known xterm
12098         capabilities, skip querying them, or query them (default).
12099         (terminal-init-xterm): Use it.
12100         (terminal-init-xterm-modify-other-keys): New function to set up
12101         modifyOtherKeys support to simplify `terminal-init-xterm'.
12103 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
12105         * window.el (resize-window-reset, resize-window-reset-1)
12106         (resize-subwindows-skip-p, resize-subwindows-normal)
12107         (resize-subwindows, resize-other-windows, resize-this-window)
12108         (resize-root-window, resize-root-window-vertically)
12109         (window-deletable-p, window-or-subwindow-p)
12110         (frame-root-window-p): New functions.
12112 2011-06-09  Glenn Morris  <rgm@gnu.org>
12114         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12115         (ange-ftp-get-files): Use it.
12117 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
12119         * mail/sendmail.el (mail-recover-1, mail-recover):
12120         * files.el (recover-file, recover-session):
12121         Handle dired-listing-switches not being just a single short option.
12123 2011-06-09  Glenn Morris  <rgm@gnu.org>
12125         * calendar/appt.el (appt-display-message, appt-disp-window):
12126         Handle lists of appointments.
12128 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
12130         * window.el (one-window-p): Move down in code.
12131         Rewrite doc-string.
12132         (window-current-scroll-bars): Rewrite doc-string.
12133         Normalize live window argument.
12134         (walk-windows, get-window-with-predicate, count-windows):
12135         Rewrite doc-string.  Use window-list-1.
12136         (window-in-direction-2, window-in-direction, get-mru-window):
12137         New functions.
12139 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
12141         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12142         Doc fix (Bug#8713).
12144 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
12146         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12148 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
12150         * loadhist.el (unload-feature-special-hooks):
12151         Add `comint-output-filter-functions'.
12153 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
12155         * calendar/appt.el (appt-check): Move some initializations into the let.
12157 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
12159         * window.el (window-height): Defalias to window-total-height.
12160         (window-width): Defalias to window-body-width.
12162 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
12164         * image-mode.el (image-toggle-animation): New command.
12165         (image-mode-map): Bind it to RET.
12166         (image-mode): Update message.
12167         (image-toggle-display-image): Avoid a spurious cache flush.
12168         (image-transform-rotation): Doc fix.
12169         (image-transform-properties): Return quickly in the normal case.
12170         (image-animate-loop): Rename from image-animate-max-time.
12172         * image.el (image-animate-max-time): Move to image-mode.el.
12173         (create-animated-image): Remove unnecessary function.
12174         (image-animate): Rename from image-animate-start.  New arg.
12175         (image-animate-stop): Remove; just use image-animate-timer.
12176         (image-animate-timer): Use car-safe.
12177         (image-animate-timeout): Rename argument.
12179 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
12181         * window.el (get-lru-window, get-largest-window): Move here from
12182         window.c.  Rename first argument to ALL-FRAMES.
12183         Rephrase doc-strings.
12184         (get-buffer-window-list): Rewrite using window-list-1.
12185         Rephrase doc-string.
12186         (window-safe-min-height, window-safe-min-width): New constants.
12187         (window-size-ignore, window-min-size, window-min-size-1)
12188         (window-sizable, window-sizable-p, window-size-fixed-1)
12189         (window-size-fixed-p, window-min-delta-1, window-min-delta)
12190         (window-max-delta-1, window-max-delta, window-resizable)
12191         (window-resizable-p, window-total-height, window-total-width)
12192         (window-body-width): New functions.
12193         (window-full-height-p, window-full-width-p): Rewrite using
12194         window-total-size.
12195         (window-body-height): Rewrite using window-body-size.
12197 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
12199         * window.el (window-right, window-left, window-child)
12200         (window-child-count, window-last-child, window-any-p)
12201         (normalize-live-buffer, normalize-live-frame)
12202         (normalize-any-window, normalize-live-window)
12203         (window-iso-combination-p, window-iso-combined-p)
12204         (window-iso-combinations)
12205         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12206         (windows-with-parameter, window-with-parameter)
12207         (window-atom-root, make-window-atom, window-atom-check-1)
12208         (window-atom-check, window-side-check, window-check):
12209         New functions.
12210         (ignore-window-parameters, window-sides, window-sides-vertical)
12211         (window-sides-slots): New variables.
12212         (window-size-fixed): Move down in code.  Minor doc-string fix.
12214 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
12216         * comint.el (comint-dynamic-complete-as-filename)
12217         (comint-dynamic-complete-filename): Correctly call
12218         completion-in-region.
12220 2011-06-05  Deniz Dogan  <deniz@dogan.se>
12222         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12223         in last change.
12225 2011-06-05  Deniz Dogan  <deniz@dogan.se>
12227         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12228         (rcirc): Use it to prompt for encryption.
12230 2011-06-05  Roland Winkler  <winkler@gnu.org>
12232         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12233         (bibtex-search-entries): New command bound to C-c C-a.
12234         (bibtex-display-entries): New function.
12236 2011-06-05  Roland Winkler  <winkler@gnu.org>
12238         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12239         (bibtex-insert-kill): After yanking insert newline if necessary.
12240         (bibtex-initialize): Call bibtex-string-files-init only once.
12241         (bibtex-mode): Do not call easy-menu-add.
12242         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12243         (bibtex-yank): Set arg properly if nil.
12245 2011-06-05  Roland Winkler  <winkler@gnu.org>
12247         * textmodes/bibtex.el (bibtex-search-entry-globally):
12248         New variable.
12249         (bibtex-search-entry): Use it.
12251 2011-06-05  Roland Winkler  <winkler@gnu.org>
12253         * textmodes/bibtex.el (bibtex-entry-format): New option
12254         sort-fields.
12255         (bibtex-format-entry, bibtex-reformat): Honor this option.
12256         (bibtex-parse-entry): Return fields in proper order.
12258 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
12260         * doc-view.el (doc-view-remove-if): Move computation of result out
12261         of `dolist' to silence misleading lexical-binding warning.
12263 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
12265         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12266         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12268 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
12270         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12271         "SunOS 5.10".
12273 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
12275         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12276         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12277         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12278         (tramp-parse-putty):
12279         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12280         (tramp-completion-function-alist-ssh)
12281         (tramp-completion-function-alist-telnet)
12282         (tramp-completion-function-alist-su)
12283         (tramp-completion-function-alist-putty): Set `tramp-autoload'
12284         cookie.
12286         * net/tramp-ftp.el:
12287         * net/tramp-sh.el:
12288         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12289         load "tramp.el" `tramp-set-completion-function'.
12291 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12293         * shell.el: Require and use pcomplete.
12294         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12295         (shell-completion-vars): Set pcomplete-default-completion-function.
12297 2011-06-04  Deniz Dogan  <deniz@dogan.se>
12299         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12300         `memq' (Bug#8799).
12302 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12304         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12306 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
12308         * bs.el (bs--mark-unmark, bs--nth-wrapper):
12309         * mpc.el (mpc-select-extend, mpc-songpointer-context):
12310         * vc/log-view.el (log-view-beginning-of-defun):
12311         * vc/smerge-mode.el (smerge-apply-resolution-patch)
12312         (smerge-refine-forward, smerge-refine-chopup-region):
12313         Silence warning for unused `dotimes' counter variables.
12315 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12317         * net/tramp.el (tramp-with-progress-reporter): Rename from
12318         with-progress-reporter.  Use `declare'.
12319         * net/tramp-smb.el:
12320         * net/tramp-sh.el:
12321         * net/tramp-gvfs.el: Update all uses.
12323 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
12325         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12326         buffer isn't killed before making it current.
12328 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12330         Silence various byte-compiler warnings.
12331         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12332         `access-type' and new obsolescence format.
12333         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12334         new format.
12335         (byte-compile-check-variable): New `access-type' argument.
12336         Only warn if the access-type is obsolete.
12337         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12338         (byte-compile-variable-set): Adjust callers.
12339         * help-fns.el (describe-variable): Adjust to new obsolescence format.
12340         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12341         setting it as obsolete.
12342         * simple.el (minibuffer-completing-symbol):
12343         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12344         access as obsolete.
12345         * minibuffer.el (minibuffer-completing-file-name): Don't make it
12346         obsolete yet.
12347         * international/quail.el (quail-mouse-choose-completion): Remove unused
12348         code referring to obsolete var.
12349         (quail-choose-completion-string): Remove.
12350         * server.el (server-clients-with, server-kill-buffer-query-function)
12351         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12352         * proced.el (proced-send-signal):
12353         * emacs-lisp/lisp.el (lisp-complete-symbol):
12354         Replace completion-annotate-function with completion-extra-properties.
12356 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12358         * simple.el (goto-line): Use read-number.
12359         (overriding-map-is-bound): Remove.
12360         (saved-overriding-map): Change default.
12361         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12362         Take the map as argument.
12363         (universal-argument, negative-argument, digit-argument): Use it.
12364         (restore-overriding-map): Adjust.
12365         (do-auto-fill): Use fill-forward-paragraph.
12366         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12368         * minibuffer.el (minibuffer-inactive-mode-map): New var.
12369         (minibuffer-inactive-mode): New major mode.
12370         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12371         the *Messages* buffer" hack.
12372         (mouse-popup-menubar): Don't burp if the event is a normal key.
12374         Miscellaneous tweaks.
12375         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12376         lexical scoping as in subr.el's dolist and dotimes.
12377         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12378         Silence compiler warning.
12379         * thingatpt.el (forward-whitespace): Trivial coding style fix.
12380         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12381         * international/ccl.el (ccl-compile): Trivial simplification.
12382         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12383         * emacs-lisp/testcover.el (testcover-end): Remove spurious
12384         `printflag' argument.
12385         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12386         Purecopy the whole obsolescence data.
12388 2011-06-01  Leo Liu  <sdl.web@gmail.com>
12390         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12391         improve doc-string as suggested by Marco Pessotto
12392         <melmothx@gmail.com>.
12393         (rcirc-print): Fix last change.
12395 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12397         * minibuffer.el (complete-with-action): Return nil for the metadata and
12398         boundaries of non-functional tables.
12399         (completion-table-dynamic): Return nil for the metadata.
12400         (completion-table-with-terminator): Add default case, using
12401         complete-with-action.
12402         (completion--metadata): New function.
12403         (completion-all-sorted-completions, minibuffer-completion-help): Use it
12404         to try and avoid pathological performance problems.
12405         (completion--embedded-envvar-table): Return `category' metadata.
12407 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12409         * subr.el (process-alive-p): New tiny convenience function.
12411 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12413         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12414         content but also its previous major mode.
12416 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
12418         * emacs-lisp/debug.el (debug): Restore the previous content of the
12419         *Backtrace* buffer when we exit with C-M-c.
12421 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12423         * minibuffer.el: Add metadata method to completion tables.
12424         (completion-category-overrides): New defcustom.
12425         (completion-metadata, completion--field-metadata)
12426         (completion-metadata-get, completion--styles)
12427         (completion--cycle-threshold): New functions.
12428         (completion-try-completion, completion-all-completions):
12429         Add `metadata' argument to choose completion-styles.
12430         (completion--do-completion): Use metadata to choose cycling.
12431         (completion-all-sorted-completions): Use metadata for sorting.
12432         Remove :completion-cycle-penalty which is not needed any more.
12433         (completion--try-word-completion): Add `metadata' argument.
12434         (minibuffer-completion-help): Check metadata for annotation function
12435         and sorting.
12436         (completion-file-name-table): Return `category' metadata.
12437         (minibuffer-completing-file-name): Make obsolete.
12438         * simple.el (minibuffer-completing-symbol): Make obsolete.
12439         * icomplete.el (icomplete-completions): Pass new `metadata' param to
12440         completion-try-completion.
12442 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12444         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12446 2011-05-30  Leo Liu  <sdl.web@gmail.com>
12448         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12449         (rcirc-print): Decode all incoming messages (bug#8744).
12450         (rcirc-decode-coding-system): Allow value nil for automatic coding
12451         system detection.
12453 2011-06-01  Glenn Morris  <rgm@gnu.org>
12455         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12457 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12459         * image.el (image-animate-max-time): Allow nil and t values.
12460         Default to nil.
12461         (create-animated-image): Doc fix.
12462         (image-animate-start): Remove second arg; just use
12463         image-animate-max-time.
12464         (image-animate-timeout): Doc fix.  Args changed.
12466         * image-mode.el (image-toggle-display-image): Ensure that the
12467         image spec passed to the animate timer is the same object as in
12468         the buffer's display property (Bug#6981).
12469         (image-transform-properties): Doc fix.
12471         * image.el (image-animate-max-time): Default to nil.
12473 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
12475         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12476         entire buffer list (Bug#8184).
12478 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12480         * image.el (imagemagick-types-inhibit)
12481         (imagemagick-register-types): Doc fix.
12483 2011-05-29  Deniz Dogan  <deniz@dogan.se>
12485         * net/rcirc.el (rcirc): Use the user's stored encryption method by
12486         default.
12488 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
12490         * select.el: Don't perform clipboard-manager saving in hooks;
12491         leave the hooks empty.
12493 2011-05-28  Leo Liu  <sdl.web@gmail.com>
12495         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12496         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
12497         (occur-edit-mode): New major mode (Bug#8463).
12498         (occur-after-change-function): New function.
12499         (occur-engine): Give Occur tags a read-only property.
12501 2011-05-28  Kevin Ryde  <user42@zip.com.au>
12503         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12505 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12507         * bindings.el (help-echo): Make the initial non-indicator dash
12508         empty on graphical terminals (Bug#7295).
12510         * files.el (auto-mode-alist): Move config rule after the
12511         in-stripping one (Bug#8547).
12513         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12515         * startup.el (normal-splash-screen): Remove gratuitous mode-line
12516         setting (Bug#8740).
12518 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
12520         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12521         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12522         (Bug#8539).
12524 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12526         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12528 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
12530         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12531         (hs-hide-block-at-point, hs-find-block-beginning)
12532         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12533         (Bug#8279).
12535 2011-05-28  Glenn Morris  <rgm@gnu.org>
12537         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
12539 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
12541         * help-fns.el (describe-function-1): If the function is a derived
12542         major mode, print the parent mode.
12544         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12545         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12547 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12549         * minibuffer.el (completion--capf-wrapper): Check applicability before
12550         returning non-nil for non-exclusive completion data.
12551         * progmodes/etags.el (tags-completion-at-point-function):
12552         * info-look.el (info-lookup-completions-at-point): Mark as
12553         non-exclusive.
12554         (info-complete): Adjust accordingly.
12556         * info-look.el: Convert to lexical-binding and completion-at-point.
12557         (info-lookup-completions-at-point): New function.
12558         (info-complete): Use it and completion-in-region.
12560 2011-05-28  Drew Adams  <drew.adams@oracle.com>
12562         * isearch.el: Let M-e start with point at the first mismatched char.
12563         (isearch-fail-pos): New function.
12564         (isearch-edit-string): Use it.
12566 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
12568         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12570 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
12572         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
12573         traversal functions for avl-trees.
12574         (avl-tree--stack): New struct.
12575         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12576         (avl-tree-enter): Add optional `updatefun' arg.
12577         (avl-tree--do-enter): Add optional `updatefun' arg.
12578         Change return value.
12579         (avl-tree-delete): Add optional `test' and `nilflag' args.
12580         (avl-tree--do-delete): Add `test' and `nilflag' args.
12581         Change return value.
12582         (avl-tree-member): Add optional `nilflag'
12583         (avl-tree-member-p): New function.
12584         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12585         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12586         (avl-tree-stack-empty-p): New functions.
12588         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12589         avl-tree--del-balance1 and make it work both ways.
12590         (avl-tree--del-balance2): Remove.
12591         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12592         make it work both ways.
12593         (avl-tree--enter-balance2): Remove.
12594         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12595         New macros.
12596         (avl-tree--mapc, avl-tree-map): Add direction argument.
12598 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
12600         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12602 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
12604         * select.el: Support clipboard managers with built-in function
12605         x-clipboard-manager-save, via delete-frame-functions and
12606         kill-emacs-hook.
12607         (xselect-convert-to-targets): Add MULTIPLE target to list.
12608         (xselect-convert-to-save-targets): New function.
12610 2011-05-27  Kenichi Handa  <handa@m17n.org>
12612         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12613         let-binding rfc2047-encode-encoded-words to nil.
12615 2011-05-27  Glenn Morris  <rgm@gnu.org>
12617         * mail/emacsbug.el: Don't require url-util.
12619         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
12621         * files.el (set-auto-mode):
12622         Also respect mode: entries at the end of the file.  (Bug#8586)
12624 2011-05-26  Glenn Morris  <rgm@gnu.org>
12626         * files.el (hack-local-variables-prop-line, hack-local-variables):
12627         Downcase mode names, as seems to be traditional.
12628         (hack-local-variables, hack-local-variables-apply): Doc fixes.
12630         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12631         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
12633 2011-05-25  Julien Danjou  <julien@danjou.info>
12635         * textmodes/rst.el (rst-define-level-faces): Do not define face
12636         symbol if it is already defined.
12638 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12640         * play/5x5.el (5x5-new-game, 5x5-randomize):
12641         Reset 5x5-solver-output to nil when a new grid is cast.
12642         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12643         these debugging traces, as defmacro breaks the compiled code.
12645 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
12647         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12649 2011-05-24  Leo Liu  <sdl.web@gmail.com>
12651         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12652         (vc-bzr-sha1): Adapt.
12654         * sha1.el: Remove.  Function `sha1' is now builtin.
12656         * bindings.el: Provide sha1 feature.
12658 2011-05-24  Kenichi Handa  <handa@m17n.org>
12660         * mail/sendmail.el: Require `rfc2047'.
12661         (mail-insert-from-field): Do not perform RFC2047 encoding.
12662         (mail-encode-header): New function.
12663         (sendmail-send-it): Set buffer-file-coding-system of the work
12664         buffer to the return value of select-message-coding-system.
12665         Call mail-encode-header.
12667         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12669 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
12671         * mail/supercite.el (sc-default-cite-frame):
12672         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12674 2011-05-24  Glenn Morris  <rgm@gnu.org>
12676         * progmodes/python.el (brm-menu): Declare.
12678         * emulation/viper.el (viper-set-hooks): Declare.
12680         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12681         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12682         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12683         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12684         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12685         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12687 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12689         Add an :exit-function for completion-at-point.
12691         * minibuffer.el (completion--done): New fun.
12692         (completion--do-completion): Use it.  New arg `expect-exact'.
12693         (minibuffer-complete, minibuffer-complete-word): Don't output message,
12694         since completion--do-completion does it for us now.
12695         (minibuffer-force-complete): Use completion--done and
12696         completion--replace.  Handle sole-completion case with more care.
12697         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12698         (completion-extra-properties): New var.
12699         (completion-annotate-function): Make obsolete.
12700         (minibuffer-completion-help): Adjust accordingly.
12701         Use completion-list-insert-choice-function.
12702         (completion-at-point, completion-help-at-point):
12703         Bind completion-extra-properties.
12704         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12705         * simple.el (completion-list-insert-choice-function): New var.
12706         (completion-setup-function): Preserve it.
12707         (choose-completion): Pay attention to it, shuffle the code a bit.
12708         (choose-completion-string): New arg `insert-function'.
12710         * textmodes/bibtex.el: Convert to lexical binding.
12711         (bibtex-mode-map): Use completion-at-point.
12712         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12713         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12714         (bibtex-complete): Define as obsolete alias.
12715         (bibtex-complete-internal): Remove.
12716         (bibtex-format-entry): Remove unused sub-group in regexp.
12717         * shell.el (shell--command-completion-data)
12718         (shell-environment-variable-completion):
12719         * pcomplete.el (pcomplete-completions-at-point):
12720         * comint.el (comint--complete-file-name-data): Use :exit-function
12721         instead of completion-table-with-terminator so it also works for
12722         choose-completion.
12724 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12726         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12728         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12729         (bug#8710).
12731         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12733 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
12735         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12736         customization variable and implement: If non-nil, auto-fill will
12737         be inhibited while on topic's header line.
12739 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12741         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12742         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
12743         always have a solution in grid size = 5 cases.
12744         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12745         (5x5-solver-output, 5x5-log-buffer): New vars.
12746         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12747         Make these variables buffer local to achieve 5x5 multi-session-ness.
12748         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12749         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12750         (5x5-solve-suggest): New funs.
12751         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12752         randomize a grid so that we ensure that there is always a solution.
12753         (5x5-make-random-grid): Allow other movement than flipping.
12755 2011-05-23  Kevin Ryde  <user42@zip.com.au>
12757         * emacs-lisp/advice.el (ad-read-advised-function):
12758         Use `function-called-at-point' as the default, if it has
12759         advice and passes PREDICATE.
12761 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12763         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12764         byte-compile-lambda if it's actually a lambda.
12766         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12767         Fix function quoting.  Use backquote better.
12769 2011-05-22  Yuanle Song  <sylecn@gmail.com>
12771         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12772         matching (Bug#8516).
12774 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
12776         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12777         different face (Bug#8178).
12779 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
12781         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12782         defface (Bug#8144).
12784 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12786         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12787         funcall as well (bug#8712).  Warn when performing those conversions.
12788         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12790         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12792 2011-05-22  Glenn Morris  <rgm@gnu.org>
12794         * files.el (hack-local-variables-prop-line): Small simplifications.
12795         (hack-local-variables, hack-local-variables-prop-line):
12796         If MODE-ONLY, return the mode, rather than just `t'.
12798 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12800         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12802 2011-05-21  Glenn Morris  <rgm@gnu.org>
12804         * files.el (hack-local-variables-prop-line, hack-local-variables):
12805         If only interested in the mode, don't bother doing the other stuff.
12807         * image-mode.el (image-after-revert-hook):
12808         Redraw all frames on which the image is visible.  (Bug#8567)
12810         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
12812         * wid-edit.el (widget-checklist-match-inline):
12813         Fix 2011-04-19 change.  (Bug#8649)
12815 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12817         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12818         Also allow singlespace after single-letter capitals followed by a dot.
12820         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12821         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12823 2011-05-20  Nix  <nix@esperi.org.uk>
12825         * files.el (basic-save-buffer-2):
12826         Fix handling of break-hardlink-on-save with non-existent files.
12828 2011-05-19  Deniz Dogan  <deniz@dogan.se>
12830         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12831         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12833 2011-05-19  Glenn Morris  <rgm@gnu.org>
12835         * progmodes/f90.el (f90-type-def-re):
12836         Handle "type, bind(c)".  (Bug#8691)
12838         * emacs-lisp/autoload.el (batch-update-autoloads):
12839         Set autoload-excludes by parsing loadup.el rather than Makefiles.
12841 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
12843         * net/tramp.el (tramp-process-actions): Set "first-password-request"
12844         property for the correct connection in case of multihops.
12846 2011-05-18  Glenn Morris  <rgm@gnu.org>
12848         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12849         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12851         Rationalize calendar handling of day and month abbrev-arrays.
12852         * calendar/calendar.el (calendar-customized-p): New function.
12853         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12854         (calendar-day-name-array, calendar-month-name-array): Doc fix.
12855         Add :set function.
12856         (calendar-abbrev-length, calendar-day-abbrev-array)
12857         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12858         (calendar-day-abbrev-array, calendar-month-abbrev-array):
12859         Elements may no longer be nil.
12860         (calendar-day-name, calendar-month-name):
12861         Update for changed nature of abbrev arrays.
12862         * calendar/diary-lib.el (diary-name-pattern):
12863         Update for changed nature of abbrev arrays.
12864         (diary-mark-entries-1): Update calendar-make-alist calls.
12865         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12866         * calendar/cal-html.el (cal-html-day-abbrev-array):
12867         Simply inherit from calendar-day-abbrev-array.
12869 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12871         * progmodes/grep.el (grep-mode): Disable default
12872         compilation-directory-matcher setting (bug#8684).
12874 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
12876         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12877         instead of "head" and "tail".  There were problems with SunOS 5.9,
12878         and it performs better.
12880 2011-05-17  Glenn Morris  <rgm@gnu.org>
12882         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12884         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12885         Replace obsolete function.
12887         * shell.el (pcomplete-parse-arguments-function): Declare.
12889         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12890         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12891         (appt-check): Doc fixes.
12892         (appt-disp-window-function, appt-delete-window-function):
12893         Remove needless special case in custom :type.
12894         (appt-display-count): Default to 0, not nil.
12895         (appt-check): Reset appt-display-count to 0, not nil.
12897 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
12899         * progmodes/python.el (python-font-lock-keywords):
12900         Add the Python 3.X keyword "nonlocal" (bug#8639).
12902 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12904         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12906 2011-05-16  Kevin Ryde  <user42@zip.com.au>
12908         * info-look.el (makefile-automake-mode): New setups, looking in
12909         automake manual, then makefile-mode.
12910         (makefile-mode): Remove automake manual, have it just in
12911         makefile-automake-mode since there's various things different or
12912         not relevant to plain make.
12913         (makefile-mode): Remove "other-modes" non-existent automake-mode,
12914         believe a hypothetical automake-mode would go to makefile-mode,
12915         not the other way around.
12917 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
12919         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12920         hunk-end tags (Bug#8672).
12922         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12923         vc-annotate-show-diff-revision-at-line (Bug#8671).
12925 2011-05-14  Glenn Morris  <rgm@gnu.org>
12927         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12928         in the middle of an existing one with multiple authors.  (Bug#8645)
12929         (change-log-font-lock-keywords): Also handle multiple author lines
12930         with leading tabs.  (Bug#8644)
12932         * calendar/appt.el (appt-check): Rename some local variables.
12933         Some simplification/reordering.
12935         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12936         (feedmail-sendmail-f-doesnt-sell-me-out)
12937         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12938         (feedmail-debug-sit-for, feedmail-queue-express-hook)
12939         (feedmail-queue-runner-message-sender): Set :version.
12940         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12941         (bbdb-dwim-net-address, vm-mail): Declare.
12942         (feedmail-binmail-gnulinuxish-template):
12943         Rename from feedmail-binmail-linuxish-template.
12944         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12945         Use insert-buffer-substring.
12947 2011-05-14  Bill Carpenter  <bill@carpenter.org>
12949         * mail/feedmail.el (feedmail-patch-level): Increase.
12950         (feedmail-debug): New custom group.
12951         (feedmail-confirm-outgoing-timeout)
12952         (feedmail-sendmail-f-doesnt-sell-me-out)
12953         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12954         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12955         (feedmail-sender-line, feedmail-from-line)
12956         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12957         (feedmail-spray-this-address)
12958         (feedmail-spray-address-fiddle-plex-list)
12959         (feedmail-queue-use-send-time-for-date)
12960         (feedmail-queue-use-send-time-for-message-id)
12961         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12962         (feedmail-buffer-eating-function):
12963         Doc fixes.
12964         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12965         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12966         (feedmail-message-action-scroll-down): New functions.
12967         (feedmail-queue-directory, feedmail-queue-draft-directory):
12968         Use expand-file-name.
12969         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12970         Remove C-v help entry.
12971         (feedmail-queue-buffer-file-name): New variable.
12972         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12973         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12974         (feedmail-message-action-send-strong, feedmail-message-action-edit)
12975         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12976         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12977         (feedmail-message-action-toggle-spray)
12978         (feedmail-run-the-queue-no-prompts)
12979         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12980         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12981         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12982         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12983         (feedmail-envelope-deducer, feedmail-fiddle-from)
12984         (feedmail-fiddle-sender, feedmail-default-date-generator)
12985         (feedmail-fiddle-date, feedmail-fiddle-message-id)
12986         (feedmail-fiddle-spray-address)
12987         (feedmail-fiddle-list-of-spray-fiddle-plexes)
12988         (feedmail-fiddle-list-of-fiddle-plexes)
12989         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12990         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12991         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12992         Change default.  Doc fix.
12993         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12994         (feedmail-binmail-linuxish-template): New constant.
12995         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
12996         Respect feedmail-sendmail-f-doesnt-sell-me-out.
12997         (feedmail-send-it): Add debug call.
12998         Use feedmail-queue-buffer-file-name, and
12999         feedmail-send-it-immediately-wrapper.
13000         (feedmail-message-action-send): Add debug call.
13001         Use feedmail-send-it-immediately-wrapper.
13002         (feedmail-queue-express-to-queue): Add debug call.
13003         Run feedmail-queue-express-hook.
13004         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
13005         (feedmail-message-action-help-blat):
13006         Rename from feedmail-queue-send-edit-prompt-help-first.
13007         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
13008         Check line-endings.  Handle errors better.
13009         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13010         Doc fix.  Add debug call.
13011         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
13012         Use feedmail-queue-send-edit-prompt-inner.
13013         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13014         (feedmail-queue-send-edit-prompt-inner): New function, extracted
13015         from feedmail-queue-send-edit-prompt.
13016         (feedmail-queue-send-edit-prompt-help)
13017         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13018         (feedmail-tidy-up-slug): Add debug call.
13019         Respect feedmail-queue-slug-suspect-regexp.
13020         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13021         (feedmail-dump-message-to-queue): Add debug call.
13022         Expand queue-directory.
13023         (feedmail-dump-message-to-queue): Change message slightly.
13024         Use feedmail-say-chatter.
13025         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
13026         (feedmail-send-it-immediately-wrapper): New function.
13027         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
13028         Insert empty string rather than newline.  Handle full-frame case.
13029         Use catch/throw.  Use feedmail-say-chatter.
13030         (feedmail-fiddle-from): Try mail-host-address.
13031         (feedmail-default-message-id-generator): Doc fix.
13032         Bind system-time-locale.  Handle missing end.
13033         (feedmail-fiddle-x-mailer): Add debug call.
13034         Handle feedmail-x-mailer-line being nil.
13035         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13036         Add debug call.  Use buffer-substring-no-properties.
13037         (feedmail-say-debug, feedmail-say-chatter): New functions.
13038         (feedmail-find-eoh): Give an explicit error.
13040 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
13042         * net/newst-treeview.el (newsticker-treeview-face): Change default
13043         family from helvetica to sans.
13044         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13045         etc/images/newsticker.
13047         * net/newst-reader.el (newsticker-feed-face): Change default
13048         family from helvetica to sans.
13050         * net/newst-plainview.el (newsticker-new-item-face)
13051         (newsticker-old-item-face, newsticker-immortal-item-face)
13052         (newsticker-obsolete-item-face, newsticker-date-face)
13053         (newsticker-statistics-face): Change default family from
13054         helvetica to sans.
13055         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13056         etc/images/newsticker.
13058         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13059         (newsticker--process-auto-mark-filter-match): Tell user about
13060         auto-marking.
13062 2011-05-13  Didier Verna  <didier@xemacs.org>
13064         Common Lisp indentation improvements on defmethod and lambda-lists.
13065         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13066         TODO entries.
13067         (lisp-lambda-list-keyword-parameter-indentation)
13068         (lisp-lambda-list-keyword-parameter-alignment)
13069         (lisp-lambda-list-keyword-alignment): New customizable user options.
13070         (lisp-indent-defun-method): Improve docstring.
13071         (extended-loop-p): Fix comment.
13072         (lisp-indent-lambda-list-keywords-regexp): New variable.
13073         (lisp-indent-lambda-list): New function.
13074         (lisp-indent-259): Use it.
13075         (lisp-indent-defmethod): Support for more than one
13076         method qualifier and properly indent methods lambda-lists.
13077         (defgeneric): Provide a missing common-lisp-indent-function property.
13079 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13081         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13082         bounds for the empty string (bug#8667).
13084 2011-05-13  Glenn Morris  <rgm@gnu.org>
13086         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13088         * mail/sendmail.el (sendmail-program): Try executable-find first.
13089         (sendmail-send-it): `sendmail-program' cannot be unbound.
13091         * calendar/appt.el (appt-make-list): Simplify.
13092         (appt-time-msg-list): Doc fix.
13093         (appt-check): Change mode-line message at the time of the appointment.
13095 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13097         * progmodes/ld-script.el (ld-script-keywords)
13098         (ld-script-builtins): Update keywords list.
13100 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13102         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13104         * shell.el (shell-completion-vars): New function.
13105         (shell-mode):
13106         * simple.el (read-shell-command): Use it.
13107         (blink-matching-open): No need for " [...]" in minibuffer-message.
13109 2011-05-12  Glenn Morris  <rgm@gnu.org>
13111         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13112         (appt-check): Simplify.
13114 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
13116         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13117         literal "/dev/null".
13119 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13121         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13122         Fix typo.
13124 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
13126         * progmodes/which-func.el (which-function):
13127         Use add-log-current-defun instead of add-log-current-defun-function,
13128         which might not be defined (Bug#8260).
13130 2011-05-12  Glenn Morris  <rgm@gnu.org>
13132         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13133         Let byte-compile-initial-macro-environment always take precedence.
13135 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13137         * net/rcirc.el: Add support for SSL/TLS connections.
13138         (rcirc-server-alist): New field `encryption'.
13139         (rcirc): Check `encryption' settings.
13140         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
13141         Merge make-local-variable into `set'.
13142         (rcirc--connection-open-p): New function.
13143         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13144         the process is not a network process (e.g. running gnutls-cli).
13145         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13146         Make rcirc-(en|de)code-coding-system local here.
13147         (rcirc-mode): Merge make-local-variable into `set'.
13148         (rcirc-parent-buffer): Make permanent buffer-local.
13149         (rcirc-multiline-minor-mode): Don't do it here.
13150         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13151         there's no server buffer.
13153 2011-05-11  Glenn Morris  <rgm@gnu.org>
13155         * newcomment.el (comment-kill): Prefix "unused" local.
13157         * term/w32console.el (get-screen-color): Declare.
13159         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13160         Handle symbol elements of byte-compile-initial-macro-environment.
13162 2011-05-10  Leo Liu  <sdl.web@gmail.com>
13164         * bookmark.el (bookmark-bmenu-mode-map):
13165         Bind bookmark-bmenu-search to `/'.
13167         * mail/footnote.el: Convert to utf-8 encoding.
13168         (footnote-unicode-string, footnote-unicode-regexp): New variable.
13169         (Footnote-unicode): New function.
13170         (footnote-style-alist): Add unicode style to the list.
13171         (footnote-style): Doc fix.
13173 2011-05-10  Jim Meyering  <meyering@redhat.com>
13175         Fix doubled-word typos.
13176         * international/quail.el (quail-insert-kbd-layout): and and -> and
13177         * kermit.el: and and -> and
13178         * net/ldap.el (ldap-search-internal): to to -> to
13179         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13180         * progmodes/js.el (js-mode): and and -> and
13181         * textmodes/artist.el (artist-move-to-xy): at at -> at
13182         (artist-draw-region-trim-line-endings): if if -> if
13183         And Safetyc -> Safety.
13184         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13186 2011-05-10  Glenn Morris  <rgm@gnu.org>
13187             Stefan Monnier  <monnier@iro.umontreal.ca>
13189         * files.el (hack-one-local-variable-eval-safep):
13190         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
13192 2011-05-10  Glenn Morris  <rgm@gnu.org>
13194         * calendar/diary-lib.el (diary-list-entries-hook)
13195         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13196         (diary-nongregorian-marking-hook, diary-list-entries)
13197         (diary-include-other-diary-files, diary-mark-entries)
13198         (diary-mark-included-diary-files): Doc fixes.
13200 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
13202         * misc.el: Require tabulated-list.el during compilation.
13204 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
13206         * progmodes/compile.el (compilation-start):
13207         Run compilation-filter-hook for the async case too.
13208         (compilation-filter-hook): Doc fix.
13210 2011-05-09  Deniz Dogan  <deniz@dogan.se>
13212         * wdired.el: Remove outdated installation comment.  Fix usage
13213         comment.
13215 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
13217         * misc.el: Implement new command `list-dynamic-libraries'.
13218         (list-dynamic-libraries--loaded-only-p): New variable.
13219         (list-dynamic-libraries--refresh): New function.
13220         (list-dynamic-libraries): New command.
13222 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
13224         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13225         Fix the ant regexp to handle end-line and end-column info from jikes.
13226         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
13227         higher priority to avoid clobbering by gnu.
13229 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
13231         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13232         if the face has existing theme settings (Bug#8454).
13234 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
13236         * progmodes/perl-mode.el (perl-imenu-generic-expression):
13237         Only match variables declared via `my' or `our' (Bug#8261).
13239         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13240         special file names `.' and `..' (Bug#8259).
13242 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
13244         * progmodes/grep.el (grep-mode-font-lock-keywords):
13245         Remove buffer-changing entries.
13246         (grep-filter): New function.
13247         (grep-mode): Add it to compilation-filter-hook.
13249         * progmodes/compile.el (compilation-filter-hook)
13250         (compilation-filter-start): New defvars.
13251         (compilation-filter): Call compilation-filter-hook prior to
13252         updating the process mark.
13254 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13256         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13258 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
13260         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13261         mailclient-send-it even if window-system is nil.  (Bug#8595)
13263         * term/w32console.el (terminal-init-w32console):
13264         Call get-screen-color and use its output to set the frame
13265         background-mode.  (Bug#8597)
13267 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13269         Make bytecomp.el understand that defmethod defines funs (bug#8631).
13270         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13271         New functions.
13272         (defgeneric, eieio--defmethod): Use them.
13273         (eieio-defgeneric): Remove.
13274         (defmethod): Call defgeneric in a way visible to the byte-compiler.
13276 2011-05-07  Glenn Morris  <rgm@gnu.org>
13278         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13279         Use let rather than let*.
13280         (timeclock-find-discrep): Remove unused local.
13282         * calendar/diary-lib.el (diary-comment-start): Doc fix.
13284         * calendar/appt.el (appt-time-msg-list): Doc fix.
13286 2011-05-06  Noah Friedman  <friedman@splode.com>
13288         * apropos.el (apropos-print-doc): Only use
13289         emacs-lisp-docstring-fill-column when it is bound to an integer,
13290         per that variable's documentation.
13292 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13294         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13295         and warnings are not silently discarded (e.g. use -d instead of -P).
13297 2011-05-06  Glenn Morris  <rgm@gnu.org>
13299         * calendar/appt.el (appt-message-warning-time): Doc fix.
13300         (appt-warning-time-regexp): New option.
13301         (appt-make-list): Respect appt-message-warning-time.
13303         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13304         New options.
13305         (diary-add-to-list): Strip comments from the displayed string.
13306         (diary-mode): Set comment-start and comment-end.
13308         * vc/diff-mode.el (smerge-refine-subst): Declare.
13309         (diff-refine-hunk): Don't require smerge-mode when compiling.
13311 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
13313         * simple.el (list-processes): Return nil as the docstring says.
13315 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
13317         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13318         to "".
13319         (ange-ftp-write-region, ange-ftp-insert-file-contents)
13320         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13321         determining of binary transfer.  (Bug#7383)
13323 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
13325         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13326         Fix port computation bug.  (Bug#8618)
13328 2011-05-05  Glenn Morris  <rgm@gnu.org>
13330         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13332         * simple.el (shell-dynamic-complete-functions)
13333         (comint-dynamic-complete-functions): Declare.
13335         * net/network-stream.el (gnutls-negotiate):
13336         * simple.el (tabulated-list-print): Fix declarations.
13338         * progmodes/gud.el (syntax-symbol, syntax-point):
13339         Remove unnecessary and incorrect declarations.
13341         * emacs-lisp/check-declare.el (check-declare-scan):
13342         Handle byte-compile-initial-macro-environment in bytecomp.el
13344 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13346         Fix earlier half-done eieio-defmethod change (bug#8338).
13347         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13348         Streamline and change calling convention.
13349         (defmethod): Adjust accordingly and simplify.
13350         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13351         new eieio--defmethod.
13352         (slot-boundp): Minor CSE simplification.
13354 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
13356         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13357         (glasses-make-readable): Use glasses-separate-capital-groups.
13359 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
13361         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13362         (warning-series): Doc fix.
13363         (display-warning): Don't try to create the buffer if we just found it.
13365 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
13367         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13368         (autoload-find-generated-file): New function.
13369         (generate-file-autoloads): Bind generated-autoload-file to
13370         buffer-file-name.
13371         (update-file-autoloads, update-directory-autoloads):
13372         Use autoload-find-generated-file.  If called interactively, prompt for
13373         output file (Bug#7989).
13374         (batch-update-autoloads): Doc fix.
13376 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
13378         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13380 2011-05-04  Glenn Morris  <rgm@gnu.org>
13382         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13383         function, so it follows changes in calendar-date-style.
13384         (diary-fancy-date-matcher): New function.
13385         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13386         (diary-fancy-font-lock-fontify-region-function):
13387         Use diary-fancy-date-pattern as a function.
13389         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13390         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
13392 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
13394         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13395         instead of positional arguments.  Allow :keylist and :crlfiles
13396         arguments.
13397         (open-gnutls-stream): Call it.
13399         * net/network-stream.el (network-stream-open-starttls): Adjust to
13400         call `gnutls-negotiate' with :process and :hostname arguments.
13402 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13404         * minibuffer.el (completion--message): New function.
13405         (completion--do-completion, minibuffer-complete)
13406         (minibuffer-force-complete, minibuffer-complete-word): Use it.
13407         (completion--do-completion): Don't ignore completion-auto-help when in
13408         icomplete-mode.
13410         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13411         internal encoding (e.g. tibetan zero is not whitespace).
13412         (global-whitespace-mode): Prefer save-current-buffer.
13413         (whitespace-trailing-regexp): Remove useless save-match-data.
13414         (whitespace-empty-at-bob-regexp): Minor simplification.
13416 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
13418         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13420 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13422         * textmodes/ispell.el (ispell-add-per-file-word-list):
13423         Use `concat' to create string for insertion.
13425 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13427         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13428         Avoid open-line which runs post-self-insert-hook.
13429         (bibtex-fill-entry): Remove unused `end' var.
13431 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
13433         * textmodes/ispell.el (ispell-add-per-file-word-list):
13434         Protect against `nil' value of `comment-start' (Bug#8579).
13436 2011-05-03  Leo Liu  <sdl.web@gmail.com>
13438         * isearch.el (isearch-yank-pop): New command.
13439         (isearch-mode-map): Bind it to `M-y'.
13440         (isearch-forward): Mention it.
13442 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13444         * simple.el (minibuffer-complete-shell-command): Remove.
13445         (minibuffer-local-shell-command-map): Use completion-at-point.
13446         (read-shell-command): Setup completion vars here instead.
13447         (read-expression-map): Bind TAB to symbol completion.
13449         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13450         error directly rather via storing it into `results'.
13452 2011-05-02  Leo Liu  <sdl.web@gmail.com>
13454         * vc/diff.el: Fix description.
13456 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13458         * server.el (server-eval-at): New function.
13460 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13462         * net/network-stream.el (open-network-stream): Take a :nowait
13463         parameter and pass it on to `make-network-process'.
13464         (network-stream-open-plain): Ditto.
13466 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13468         * faces.el (face-spec-set-match-display): Don't match toolkit
13469         options on terminal frames.
13471 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13473         * progmodes/pascal.el: Use lexical binding.
13474         (pascal-mode-map): Remove author preferences.
13476         * pcomplete.el (pcomplete-std-complete): Don't abuse
13477         completion-at-point.
13479 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
13481         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13482         removing code that has been dead since 1991 or so.
13484         * startup.el (command-line): When warning about "_emacs", use a
13485         delayed warning to allow the user to filter it out.
13487 2011-04-28  Deniz Dogan  <deniz@dogan.se>
13489         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13490         user has not joined.
13492 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13494         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13495         aren't any completions at point.
13497 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
13499         * subr.el (display-delayed-warnings): New function.
13500         (delayed-warnings-hook): New variable.
13502 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13504         * minibuffer.el (completion-at-point, completion-help-at-point):
13505         Don't presume that a given completion-at-point-function will always
13506         use the same calling convention.
13508         * pcomplete.el (pcomplete-completions-at-point):
13509         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
13510         pcomplete-seen is non-nil.
13511         (pcomplete-comint-setup): Also recognize the new comint/shell
13512         completion functions.
13513         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13514         pcomplete-seen is non-nil.
13516 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
13518         * calendar/icalendar.el (diary-lib): Add require statement.
13519         (icalendar--create-uid): Read out a uid from a text-property on
13520         the first character in the entry.  This allows for code to add its
13521         own uid to the entry.
13522         (icalendar--convert-float-to-ical): Add export of
13523         `diary-float'-entries save for those with the optional DAY
13524         argument.
13526 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
13528         * subr.el (shell-quote-argument): Use alternate escaping strategy
13529         when we spot a variable reference in a string.
13531 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
13533         * cus-start.el (all): Define customization for debug-on-event.
13535 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
13537         * subr.el (shell-quote-argument): Escape correctly under Windows.
13539 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13541         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13543 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
13545         * net/tramp.el (tramp-process-actions): Add POS argument.
13546         Delete region between POS and (pos).
13548         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13549         Use `nil' position in `tramp-process-actions' call.
13550         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13552         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13553         position in `tramp-process-actions' call.
13555         * net/trampver.el: Update release number.
13557 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13559         * custom.el (defcustom): Obey lexical-binding.
13561         Fix octave-inf completion problems reported by Alexander Klimov.
13562         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13563         Inherit from octave-mode-syntax-table.
13564         (inferior-octave-mode): Set info-lookup-mode.
13565         (inferior-octave-completion-at-point): New function.
13566         (inferior-octave-complete): Use it and completion-in-region.
13567         (inferior-octave-dynamic-complete-functions): Use it as well, and use
13568         comint-filename-completion.
13569         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13570         symbol elements which shouldn't be word elements.
13571         (octave-font-lock-keywords, octave-beginning-of-defun)
13572         (octave-function-header-regexp): Adjust regexps accordingly.
13573         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13575 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
13577         * net/gnutls.el (gnutls-errorp): Declare before first use.
13579 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
13581         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13582         verify-error, and verify-hostname-error parameters.  Check whether
13583         default trustfile exists before going to use it.  Add missing
13584         argument to gnutls-message-maybe call.  Return value.
13585         Reported by Claudio Bley <claudio.bley@gmail.com>.
13586         (open-gnutls-stream): Add usage example.
13588         * net/network-stream.el (network-stream-open-starttls): Give host
13589         parameter to `gnutls-negotiate'.
13590         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13591         * subr.el (shell-quote-argument): Escape correctly under Windows.
13593 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
13595         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13596         Use correct match group (bug#8438).
13598 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
13600         * emacs-lisp/package.el (package-built-in-p): Fix typo.
13601         (package-menu--generate): New arg specifying packages to show.
13602         (package-menu-refresh, package-menu-execute, list-packages):
13603         Callers changed.
13604         (package-show-package-list): New function, replacing deleted
13605         package--list-packages (renamed because it is non-internal).
13607         * finder.el (finder-list-matches): Use package-show-package-list
13608         instead of deleted package--list-packages.
13610         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13611         Based on a previous implementation by Juanma Barranquero (Bug#8366).
13612         (vc-annotate-mode-map): Bind it to RET.
13614 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
13616         * progmodes/etags.el (next-file): Don't use set-buffer to change
13617         buffers (Bug#8478).
13619 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
13621         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13623         * apropos.el (apropos-label-face): Avoid variable-pitch face.
13624         (apropos-accumulator): Doc fix.
13625         (apropos-function, apropos-macro, apropos-command)
13626         (apropos-variable, apropos-face, apropos-group, apropos-widget)
13627         (apropos-plist): Add face property.
13628         (apropos-symbols-internal): Fix indentation.
13629         (apropos-print): Simplify help, and recognize apropos-multi-type.
13630         (apropos-print-doc): Use button-type-get to extract the button's
13631         face property.  Fill docstring (Bug#8352).
13633 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
13635         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13637         * play/mpuz.el (mpuz-silent): Doc fix.
13638         (mpuz-mode-map): Use mapc.
13639         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13640         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13641         Fix typos in docstrings.
13643         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13644         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13646         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13648 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
13650         * minibuffer.el (completion--do-completion): Avoid the "Next char
13651         not unique" prompt if icomplete-mode is enabled (Bug#5849).
13653         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13654         mouse-2 into unread-command-events, it is interpreted correctly.
13656         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13657         (image-toggle-display): Doc fix.
13659 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
13661         * textmodes/page.el (what-page): Use line-number-at-pos to
13662         calculate line number (Bug#6825).
13664 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
13666         * eshell/esh-mode.el (find-tag-interactive): Declare function.
13667         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13668         Pass argument NO-DEFAULT to `find-tag-interactive'.
13670 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
13672         Lexical-binding cleanup.
13674         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13675         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13676         * progmodes/ada-prj.el (ada-prj-initialize-values)
13677         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13678         (ada-prj-show-value):
13679         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13680         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13681         (antlr-invalidate-context-cache, antlr-options-menu-filter)
13682         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13683         * progmodes/bug-reference.el (bug-reference-push-button):
13684         * progmodes/fortran.el (fortran-line-length):
13685         * progmodes/glasses.el (glasses-change):
13686         * progmodes/octave-mod.el (octave-fill-paragraph):
13687         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13688         (python-pdbtrack-grub-for-buffer, python-sentinel):
13689         * progmodes/sql.el (sql-save-connection):
13690         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13691         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13692         Mark unused parameters.
13694         * progmodes/compile.el (compilation--flush-directory-cache)
13695         (compilation--flush-parse, compile-internal): Mark unused parameters.
13696         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13697         (compilation-next-error-function): Remove unused variable `timestamp'.
13699         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13700         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13702         * progmodes/dcl-mode.el (dcl-end-of-command):
13703         Remove unused variable `start'.
13704         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13705         (dcl-option-value-basic, dcl-option-value-offset)
13706         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13707         Mark unused parameters.
13708         (dcl-save-local-variable): Remove unused variable `val'.
13709         (mode): Declare.
13711         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13712         Mark unused parameters.
13713         (delphi-ignore-changes): Move before first use.
13714         (delphi-charset-token-at): Remove unused variable `start'.
13715         (delphi-else-start): Remove unused variable `if-count'.
13716         (delphi-comment-block-start, delphi-comment-block-end):
13717         Remove unused variable `kind'.
13718         (delphi-indent-line): Remove unused variable `new-point'.
13720         * progmodes/ebrowse.el (ebrowse-files-list)
13721         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13722         Mark unused parameters.  Don't quote `lambda'.
13723         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13724         Don't quote `lambda'.
13725         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13726         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13727         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13728         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13729         Use `ignore-errors'.
13730         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13731         (ebrowse-view/find-file-and-search-pattern)
13732         (ebrowse-view/find-member-declaration/definition):
13733         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13734         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13735         Rename parameter PREFIX-ARG to PREFIX.
13736         (ebrowse-tags-read-name): Remove unused variables `start' and
13737         `member-info'.
13738         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13739         to `tags-file'.
13741         * progmodes/etags.el (local-find-tag-hook): Declare.
13742         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13743         Mark unused parameters.
13745         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13746         (executable-interpret): Mark unused parameter.
13748         * progmodes/flymake.el (flymake-process-sentinel)
13749         (flymake-after-change-function)
13750         (flymake-create-temp-with-folder-structure)
13751         (flymake-get-include-dirs-dot): Mark unused parameters.
13752         (flymake-safe-delete-directory): Remove unused variable `err'.
13754         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13755         (speedbar-timer-fn, speedbar-line-text)
13756         (speedbar-change-expand-button-char, speedbar-delete-subblock)
13757         (speedbar-center-buffer-smartly): Declare functions.
13758         (gdb-find-watch-expression): Remove unused variable `array'.
13759         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13760         (gdb-starting): Mark unused parameters.
13761         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13762         (gdb-table-string): Remove unused variable `res'.
13763         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13764         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13765         (gdb-display-buffer): Remove unused variable `cur-size'.
13767         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13768         allow lexical-binding compilation.
13769         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13770         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13771         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13772         Mark unused parameters.
13773         (gud-gdb-marker-filter): Remove unused variable `match'.
13774         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13775         lambda expressions and funcall them, instead of using `fset'.
13777         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13778         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13780         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13781         variable `header-beg'; use `let'.
13783         * progmodes/icon.el (indent-icon-exp): Remove unused variables
13784         `restart', `last-sexp' and `at-do'.
13786         * progmodes/js.el (js--debug): Mark unused parameter.
13787         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13788         (js--splice-into-items): Remove unused variable `item'.
13789         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13791         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13792         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13793         (makefile-complete): Remove unused variable `try'.
13794         (makefile-fill-paragraph, makefile-match-function-end):
13795         Mark unused parameters.
13797         * progmodes/octave-inf.el (inferior-octave-complete):
13798         Remove unused variable `proc'.
13799         (inferior-octave-output-digest): Mark unused parameter.
13801         * progmodes/perl-mode.el (perl-calculate-indent):
13802         Remove unused variable `err'.
13804         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13805         (prolog-indent-line): Mark unused parameters.
13806         (prolog-indent-line): Remove unused variable `beg'.
13808         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13809         (reporter-dont-compact-list): Declare.
13811         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13812         Remove unused variable `char'.
13813         (sh-debug): Mark unused parameter.
13814         (sh-get-indent-info): Remove unused variable `start'.
13815         (sh-calculate-indent): Remove unused variable `var'.
13817         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13818         (simula-electric-keyword): Remove unused variable `null'.
13819         (simula-search-backward, simula-search-forward): Remove unused
13820         variables `begin' and `end'.
13822         * progmodes/vera-mode.el (vera-guess-basic-syntax):
13823         Remove unused variable `pos'.
13824         (vera-electric-tab, vera-comment-uncomment-region):
13825         Mark unused parameters.
13826         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13828 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
13830         * emacs-lisp/package.el (package--builtins, package-alist)
13831         (package-load-descriptor, package-built-in-p, package-activate)
13832         (define-package, package-installed-p)
13833         (package-compute-transaction, package-buffer-info)
13834         (package--push): Doc fix.  Distinguish more clearly between
13835         version strings and version lists.
13837 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
13839         Lexical-binding cleanup.
13841         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13842         (5x5-make-mutate-best):
13843         * play/fortune.el (fortune-in-buffer):
13844         * play/gomoku.el (gomoku-init-display):
13845         * play/solitaire.el (solitaire, solitaire-do-check):
13846         * play/tetris.el (tetris-default-update-speed-function):
13847         Mark unused parameters.
13849         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13850         (bubbles--shift): Remove unused variable `char-org'.
13851         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
13852         (bubbles--show-images): Remove unused variable `char'.
13854         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13855         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13856         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13857         (decipher-analyze-buffer): Use ?\s.
13858         (decipher-make-checkpoint): Remove unused variable `mapping'.
13860         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13862         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13863         Remove unused variable `result'; use `let'.
13865         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13866         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13867         (gametree-children-shown-p, gametree-compute-reduced-score):
13868         Use `ignore-errors'.
13870         * play/handwrite.el (ps-lpr-switches): Declare.
13871         (handwrite): Remove unused variables `pmin' and `lastp'.
13873         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13875         * play/landmark.el (landmark-init-display)
13876         (landmark-update-naught-weights): Mark unused parameters.
13877         (landmark-y): Remove unused variable `noise'.  Simplify.
13878         (landmark-human-plays): Remove unused variable `score'.
13880         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13881         (mpuz-try-proposal): Remove unused variable `game'.
13883         * play/zone.el (life-patterns): Declare.
13885 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
13887         * vc/vc.el (ediff-vc-internal): Declare function.
13889 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13891         * shell.el: Use lexical-binding and std completion UI.
13892         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13893         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13894         comint-preoutput-filter-functions rather than on
13895         comint-output-filter-functions.
13896         (shell-command-completion, shell--command-completion-data)
13897         (shell-filename-completion, shell-environment-variable-completion)
13898         (shell-c-a-p-replace-by-expanded-directory): New functions.
13899         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13900         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13901         (shell-dynamic-complete-environment-variable): Use them.
13902         (shell-dynamic-complete-as-environment-variable)
13903         (shell-dynamic-complete-as-command): Remove.
13904         (shell-match-partial-variable): Match past point.
13905         * comint.el: Clean up use of completion-at-point-functions.
13906         (comint-completion-at-point): New function.
13907         (comint-mode): Use it completion-at-point-functions.
13908         (comint-dynamic-complete): Make it obsolete.
13909         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13910         (comint-c-a-p-replace-by-expanded-history): New function.
13911         (comint-dynamic-complete-functions)
13912         (comint-replace-by-expanded-history): Use it.
13913         * minibuffer.el (completion-table-with-terminator): Allow dynamic
13914         termination strings.  Try harder to avoid second try-completion.
13915         (completion-in-region-mode-map): Disable bindings that don't work yet.
13917         * comint.el: Use lexical-binding.  Require CL.
13918         (comint-dynamic-complete-functions): Use comint-filename-completion.
13919         (comint-completion-addsuffix): Tweak custom type.
13920         (comint-filename-completion, comint--common-suffix)
13921         (comint--common-quoted-suffix, comint--table-subvert)
13922         (comint--complete-file-name-data): New functions.
13923         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13924         (comint-dynamic-list-filename-completions): Use them.
13925         (comint-dynamic-simple-complete): Make obsolete.
13927         * minibuffer.el (completion-in-region-mode):
13928         Keep completion-in-region-mode--predicate global.
13929         (completion-in-region--postch):
13930         Assume completion-in-region-mode--predicate is not null.
13932         * progmodes/flymake.el (flymake-start-syntax-check-process):
13933         Obey `dir'.  Simplify.
13935         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13936         we're in VC after all.
13938 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
13940         * vc/vc.el (vc-diff-build-argument-list-internal)
13941         (vc-version-ediff, vc-ediff): New commands.
13942         (vc-version-diff): Use vc-diff-build-argument-list-internal.
13944 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13946         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13947         add sanity check.
13949         * obsolete/erc-hecomplete.el: Make obsolete.
13950         * obsolete/: Standardize obsolescence info in the header.
13952 2011-04-20  Glenn Morris  <rgm@gnu.org>
13954         * calendar/solar.el (solar-horizontal-coordinates):
13955         Use the longitude argument rather than `calendar-longitude'.
13956         (solar-date-next-longitude): Remove unused locals.
13958 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13960         * whitespace.el: New version 13.2.1.
13962 2011-04-20  felix  <EmacsWiki>  (tiny change)
13964         * whitespace.el (global-whitespace-mode): Keep highlight when
13965         switching between major modes on a file.
13967 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13969         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13970         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13971         multi-line comments as well.
13973 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
13975         Lexical-binding cleanup.
13977         * arc-mode.el (archive-mode-revert):
13978         * cmuscheme.el (scheme-interactively-start-process):
13979         * custom.el (custom-initialize-delay):
13980         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13981         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13982         * emacs-lock.el (emacs-lock-clear-sentinel):
13983         * ezimage.el (defezimage):
13984         * follow.el (follow-avoid-tail-recenter):
13985         * fringe.el (set-fringe-mode-1):
13986         * generic-x.el (bat-generic-mode-compile):
13987         * help-mode.el (help-info-variable, help-do-xref)
13988         (help-mode-revert-buffer):
13989         * help.el (view-emacs-todo):
13990         * iswitchb.el (iswitchb-completion-help):
13991         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13992         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13993         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13994         * locate.el (locate-update):
13995         * longlines.el (longlines-encode-region)
13996         (longlines-after-change-function):
13997         * outline.el (outline-isearch-open-invisible):
13998         * ps-def.el (declare-function, charset-dimension, char-width)
13999         (encode-char):
14000         * ps-mule.el (ps-mule-plot-string):
14001         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14002         (recentf-edit-list-select, recentf-edit-list-validate)
14003         (recentf-open-files-action):
14004         * rect.el (delete-whitespace-rectangle-line)
14005         (rectangle-number-line-callback):
14006         * register.el (window-configuration-to-register)
14007         (frame-configuration-to-register):
14008         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14009         * select.el (xselect-convert-to-string, xselect-convert-to-length)
14010         (xselect-convert-to-targets, xselect-convert-to-delete)
14011         (xselect-convert-to-filename, xselect-convert-to-charpos)
14012         (xselect-convert-to-lineno, xselect-convert-to-colno)
14013         (xselect-convert-to-os, xselect-convert-to-host)
14014         (xselect-convert-to-user, xselect-convert-to-class)
14015         (xselect-convert-to-name, xselect-convert-to-integer)
14016         (xselect-convert-to-atom, xselect-convert-to-identity):
14017         * subr.el (declare, ignore, process-kill-without-query)
14018         (text-clone-maintain):
14019         * terminal.el (te-get-char, te-tic-sentinel):
14020         * tool-bar.el (tool-bar-make-keymap):
14021         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14022         * type-break.el (type-break-mode, type-break-noninteractive-query):
14023         * view.el (View-back-to-mark):
14024         * wid-browse.el (widget-browse-action, widget-browse-widget)
14025         (widget-browse-widgets, widget-browse-sexp):
14026         * widget.el (define-widget-keywords):
14027         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14028         Mark unused parameters.
14030         * align.el (align-adjust-col-for-rule): Mark unused parameter.
14031         (align-areas): Remove unused variable `look'.
14032         (align-region): Remove unused variables `real-end' and `pos-list'.
14034         * apropos.el (apropos-score-doc): Remove unused variable `i'.
14036         * bindings.el (mode-line-modified, mode-line-remote):
14037         Mark unused parameters.
14038         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14040         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14041         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14043         * comint.el (comint-history-isearch-pop-state)
14044         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14045         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14046         (comint-substitute-in-file-name): Doc fix.
14048         * completion.el (cmpl-statistics-block): Mark unused parameter.
14049         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14050         (save-completions-to-file, load-completions-from-file):
14051         Remove unused local variable `e'.
14053         * composite.el (compose-chars): Remove unused variable `len'.
14054         (lgstring-insert-glyph): Remove unused variable `g'.
14055         (compose-glyph-string): Remove unused variables `ascent',
14056         `descent', `lbearing' and `rbearing'.
14057         (compose-glyph-string-relative): Remove unused variables
14058         `lbearing', `rbearing' and `wadjust'.
14059         (compose-gstring-for-graphic): Remove unused variables `header',
14060         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
14061         (compose-gstring-for-terminal): Remove unused variables `header'
14062         and `nchars'.  Use `let', not `let*'.
14064         * cus-edit.el (Custom-set, Custom-save, custom-reset)
14065         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14066         (Custom-buffer-done, custom-buffer-create-internal)
14067         (custom-browse-visibility-action, custom-browse-group-tag-action)
14068         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14069         (widget-magic-mouse-down-action, custom-toggle-parent)
14070         (custom-add-parent-links, custom-toggle-hide-variable)
14071         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14072         (custom-toggle-hide-face, face, hook, custom-group-link-action)
14073         (custom-face-menu-create, custom-variable-menu-create, get)
14074         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14075         (custom-reset-standard-save-and-update): Remove unused variable `value'.
14076         (customize-apropos): Remove unused variable `tests'.
14077         (custom-group-value-create): Remove unused variable `hidden-p'.
14078         (sort-fold-case): Declare.
14080         * cus-theme.el (custom-reset-standard-faces-list)
14081         (custom-reset-standard-variables-list): Declare.
14082         (customize-create-theme, custom-theme-revert, custom-theme-write)
14083         (custom-theme-choose-mode, customize-themes, custom-theme-save):
14084         Mark unused parameters.
14086         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14088         * delim-col.el (delimit-columns-max): Move defvar before first use.
14090         * descr-text.el (describe-char-categories): Don't quote `lambda'.
14091         (describe-char): Don't quote `lambda'.  Mark unused parameter.
14093         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14094         (auto-insert): Declare.
14095         (desktop-restore-file-buffer): Rename desktop-* parameters;
14096         mark unused ones.
14097         (desktop-create-buffer): Rename desktop-* parameters and bind them.
14098         (desktop-buffer): Rename desktop-* parameters.
14100         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14101         (dframe-reposition-frame-xemacs, dframe-help-echo)
14102         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14103         Mark unused parameters.
14105         * dired-aux.el (backup-extract-version-start, overwrite-query)
14106         (overwrite-backup-query, rename-regexp-query)
14107         (rename-non-directory-query): Declare.
14108         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14109         (dired-add-entry): Remove unused variable `orig-file-name'.
14110         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14111         Use parameter PRESERVE-TIME instead of accessing dynamic variable
14112         `dired-copy-preserve-time' directly.
14113         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14114         (dired-insert-subdir-newpos): Rename unused variable `pos'.
14116         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14117         (dired-virtual-revert, dired-make-relative-symlink):
14118         Mark unused parameters.
14119         (manual-program): Declare.
14120         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14121         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14122         wrapped in `with-no-warnings' to avoid replacing one warning by another.
14124         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14126         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14128         * echistory.el (electric-history-in-progress, Helper-return-blurb):
14129         Declare.
14131         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14133         * electric.el (Electric-command-loop): Rename parameter
14134         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14136         * expand.el (expand-in-literal): Remove unused variable `here'.
14138         * facemenu.el (facemenu-add-new-color):
14139         Remove unused variable `docstring'.
14141         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14142         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14143         (face-attr-construct): Mark unused parameter.  Doc fix.
14144         (read-color): Remove unused variable `hex-string'.
14146         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14147         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14148         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14149         (display-buffer-other-frame): Remove unused variable `old-window'.
14150         (kill-buffer-hook): Declare.
14151         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14152         Mark unused parameters.
14153         (after-find-file): Pass 1 to `auto-save-mode', not t.
14155         * files-x.el (auto-insert): Declare.
14156         (modify-file-local-variable-prop-line): Remove unused variable `val'.
14158         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14159         variable `buf'.  Mark unused parameter.
14160         (find-lisp-insert-directory): Mark unused parameter.
14162         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14163         (format-encode-region): Remove unused variables `cur-buf' and `result'.
14164         (format-common-tail): Remove, unused.
14165         (format-deannotate-region): Remove unused variable `loc'.
14166         (format-annotate-region): Remove unused variable `p'.
14167         (format-annotate-single-property-change): Remove unused variables
14168         `default' and `tail'.
14170         * forms.el (read-file-filter): Declare.
14171         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14173         * frame.el (frame-creation-function-alist): Mark unused parameter.
14174         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14176         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14177         Remove unused parameters.
14178         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14179         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14181         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14182         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14183         (hfy-prepare-tag-map): Mark unused parameters.
14184         (htmlfontify-buffer): Use `called-interactively-p'.
14186         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14187         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14188         (ibuffer-do-occur): Mark unused parameters.
14189         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14190         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14192         * ibuffer.el: Don't quote `lambda'.
14193         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14194         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14195         Mark unused parameters.
14197         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14198         (ido-completing-read): Mark unused parameters.
14199         (ido-copy-current-word): Mark unused parameters;
14200         remove unused variable `name'.
14201         (ido-sort-merged-list): Remove unused parameter `dirs'.
14203         * ielm.el (ielm-input-sender): Mark unused parameter.
14204         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14205         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14206         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14207         `ielm-string' as a dynamic variable accessible from the IELM prompt.
14208         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
14210         * image-dired.el (image-dired-display-thumbs): Remove unused
14211         variables `curr-file' and `count'.
14212         (image-dired-remove-tag): Remove unused variable `start'.
14213         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14214         variable `curr-file'
14215         (image-dired-rotate-original): Remove unused variable `temp-file'.
14216         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14217         Remove unused variable `file'.
14218         (image-dired-gallery-generate): Remove unused variable `curr'.
14219         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14221         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14223         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14225         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14227         * isearch.el (minibuffer-history-symbol): Declare.
14228         (isearch-edit-string): Remove unused variable `err'.
14229         (isearch-message-prefix, isearch-message-suffix):
14230         Mark unused parameters.
14232         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14234         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14236         * makesum.el (double-column): Remove unused variable `cnt'.
14238         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14239         (ido-ignore-item-temp-list): Declare.
14241         * mouse-drag.el (mouse-drag-throw): Remove unused variables
14242         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14243         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14244         (mouse-drag-drag): Remove unused variables `mouse-delta' and
14245         `mouse-col-delta'.
14247         * mouse-sel.el (mouse-extend-internal):
14248         Remove unused variable `orig-window-frame'.
14250         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14251         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14252         Move declarations before first use.
14253         (pcomplete-opt): Mark unused parameters; doc fix.
14255         * proced.el (proced-revert): Mark unused parameter.
14256         (proced-send-signal): Remove unused variable `err'.
14258         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14259         Rename parameter PREFIX-ARG to ARG.
14260         (ps-basic-plot-string, ps-basic-plot-whitespace):
14261         Mark unused parameters.
14263         * replace.el (replace-count): Define.
14264         (occur-revert-function): Mark unused parameters.
14265         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14266         (isearch-case-fold-search, isearch-string): Declare.
14267         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14268         bind `case-fold-search'.  Remove unused variables `beg' and `end',
14269         and simplify.
14270         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14271         COUNT and bind `replace-count'.
14272         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14273         to COUNT.
14275         * savehist.el (print-readably, print-string-length): Declare.
14277         * shadowfile.el (shadow-expand-cluster-in-file-name):
14278         Remove unused variable `cluster'.
14279         (shadow-copy-file): Remove unused variable `i'.
14280         (shadow-noquery, shadow-clusters, shadow-site-cluster)
14281         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14282         (shadow-define-literal-group, shadow-define-regexp-group)
14283         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14285         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14286         (shell): Use `called-interactively-p'.
14287         (shell-directory-tracker): Remove unused variable `chdir-failure'.
14289         * simple.el (compilation-context-lines, comint-file-name-quote-list)
14290         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14291         (delete-backward-char): Remove unused variable `ocol'.
14292         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14293         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14294         (event-apply-hyper-modifier, event-apply-shift-modifier)
14295         (event-apply-control-modifier, event-apply-meta-modifier):
14296         Mark unused parameters.
14297         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14298         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14300         * speedbar.el (speedbar-ignored-directory-expressions)
14301         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14302         (speedbar-find-file, speedbar-dir-follow)
14303         (speedbar-directory-buttons-follow, speedbar-tag-find)
14304         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14305         (speedbar-buffers-line-directory, speedbar-buffer-click):
14306         Mark unused parameters.
14307         (speedbar-tag-file): Remove unused variable `mode'.
14308         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14310         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14312         * talk.el (talk): Remove unused variable `display'.
14314         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14315         (tar-write-region-annotate): Mark unused parameter.
14317         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14318         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14319         Declare them, wrapped in `with-no-warnings' to avoid replacing one
14320         warning by another.
14322         * time-stamp.el (time-stamp-string-preprocess):
14323         Remove unused variable `require-padding'.
14325         * tree-widget.el (widget-glyph-enable): Declare.
14326         (tree-widget-action): Mark unused parameter.
14328         * w32-fns.el (x-get-selection): Mark unused parameter.
14329         (autoload-make-program, generated-autoload-file): Declare.
14331         * wdired.el (wdired-revert): Mark unused parameters.
14332         (wdired-xcase-word): Remove unused variable `err'.
14334         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14335         (whitespace-help-scroll): Remove unused variable `data-help'.
14337         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14338         (widget-image-insert, widget-after-change, default)
14339         (widget-default-format-handler, widget-default-notify)
14340         (widget-default-prompt-value, widget-info-link-action)
14341         (widget-url-link-action, widget-function-link-action)
14342         (widget-variable-link-action, widget-file-link-action)
14343         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14344         (widget-field-prompt-internal, widget-field-action, widget-field-match)
14345         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14346         (widget-insert-button-action, widget-delete-button-action, visibility)
14347         (widget-documentation-link-action, widget-documentation-string-action)
14348         (widget-const-prompt-value, widget-regexp-match, symbol)
14349         (widget-coding-system-prompt-value)
14350         (widget-key-sequence-value-to-external, sexp)
14351         (widget-sexp-value-to-internal, character, vector, cons)
14352         (widget-choice-prompt-value, widget-boolean-prompt-value)
14353         (widget-color--choose-action): Mark unused parameters.
14354         (widget-item-match-inline, widget-choice-match-inline)
14355         (widget-checklist-match, widget-checklist-match-inline)
14356         (widget-group-match): Rename parameter VALUES to VALS.
14357         (widget-field-value-set): Remove unused variable `size'.
14358         (widget-color-action): Remove unused variables `value' and `start'.
14360         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14361         variable `dir'.  Doc fix.
14362         (windmove-find-other-window): Don't pass it.
14364         * window.el (count-windows): Mark unused parameter.
14365         (bw-adjust-window): Remove unused variable `err'.
14367         * woman.el (woman-file-name): Remove unused variable `default'.
14368         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14369         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14370         (global-font-lock-mode): Declare.
14371         (woman-decode-region): Mark unused parameter.
14372         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14374         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14375         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14376         (x-dnd-handle-moz-url): Remove unused variable `title'.
14377         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14379         * xml.el (xml-parse-tag, xml-parse-attlist):
14380         Remove unused variable `pos'.
14382 2011-04-19  Glenn Morris  <rgm@gnu.org>
14384         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14385         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14386         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14387         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14388         * calendar/cal-html.el (cal-html-insert-minical):
14389         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14390         (calendar-mark-date-pattern):
14391         Prefix "unused" locals.
14393         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14394         optional argument `style'.
14396         * calendar/appt.el (appt-make-list):
14397         * calendar/cal-china.el (calendar-chinese-date-string):
14398         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14399         (diary-hebrew-yahrzeit):
14400         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14401         * calendar/calendar.el (calendar-generate-window):
14402         * calendar/time-date.el (time-to-days):
14403         Remove unused local variables.
14405 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
14407         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14408         glyphless-char-display table.
14409         (tabulated-list-glyphless-char-display): New var.
14411 2011-04-18  Sam Steingold  <sds@gnu.org>
14413         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14414         to acknowledgments.
14416 2011-04-17  Glenn Morris  <rgm@gnu.org>
14418         * calendar/diary-lib.el (diary-sexp-entry):
14419         * calendar/holidays.el (holiday-sexp):
14420         Set debug-on-error rather than the removed stack-trace-on-error.
14422 2011-04-16  Glenn Morris  <rgm@gnu.org>
14424         * progmodes/f90.el: Use lexical-binding.
14425         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14427 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14429         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14430         (mail-mode): Setup mailalias completion here instead.
14431         * mail/mailalias.el: Use lexical-binding.
14432         (pattern, mailalias-done): Declare dynamic.
14433         (mail-completion-at-point-function): New function, from mail-complete.
14434         (mail-complete): Use it.
14435         (mail-completion-expand): New function.
14436         (mail-get-names): Use it.
14437         (mail-directory, mail-directory-process, mail-directory-stream):
14438         Don't use `pattern' for lexically bound arg.
14440         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14442         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14443         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14444         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14446         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14447         (byte-save-window-excursion, byte-temp-output-buffer-setup)
14448         (byte-interactive-p): Define them again, for use when inlining
14449         old code.
14451 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
14453         * loadup.el: Use `string-to-number', not `string-to-int'.
14455 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14457         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14458         gud-gdb-complete-command.
14459         (gud-gdb-completions): New function, from gud-gdb-complete-command.
14460         (gud-gdb-completion-at-point): New function.
14461         (gud-gdb-completions): Remove.
14463 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
14465         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14466         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
14467         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14468         whether `executable-find' is bound.
14470         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14472 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14474         * minibuffer.el (completion-in-region-mode-predicate)
14475         (completion-in-region-mode--predicate): New vars.
14476         (completion-in-region, completion-in-region--postch)
14477         (completion-in-region-mode): Use them.
14478         (completion--capf-wrapper): Also return the hook function.
14479         (completion-at-point, completion-help-at-point):
14480         Adjust and provide a predicate.
14482         Preserve arg names for advice of subr and lexical functions (bug#8457).
14483         * help-fns.el (help-function-arglist): Consolidate the subr and
14484         new-byte-code cases.  Add argument `preserve-names' to extract names
14485         from the docstring when needed.
14486         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14487         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14488         (ad-arglist): Use help-function-arglist's new arg.
14489         (ad-definition-type): Use cond.
14491 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
14493         * autorevert.el (auto-revert-handler):
14494         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14495         which was removed in revno:101730 (2010-10-02).
14496         Don't quote lambda.
14498         * image-mode.el (image-transform-set-scale):
14499         Fix change in revno:103877 (2011-04-09).
14501 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14503         * net/network-stream.el (network-stream-open-starttls): Only do
14504         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14505         Upgrades via gnutls-cli are too slow to be done opportunistically.
14507 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
14509         * dframe.el (dframe-current-frame): Remove spurious quote.
14511 2011-04-12  Glenn Morris  <rgm@gnu.org>
14513         * calendar/cal-tex.el (cal-tex-end-document):
14514         Try to automatically use latin1 input if needed.
14516         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14517         Don't try to cons a mark onto an empty element.
14519 2011-04-11  Leo Liu  <sdl.web@gmail.com>
14521         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14522         buffers.
14523         (ido-kill-buffer-at-head): Support killing virtual buffers.
14525 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
14527         * minibuffer.el (completion-show-inline-help): New var.
14528         (completion--do-completion, minibuffer-complete)
14529         (minibuffer-force-complete, minibuffer-complete-word):
14530         Inhibit minibuffer messages if completion-show-inline-help is nil.
14532         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14533         to avoid interference from inline help (Bug#5849).
14535 2011-04-10  Leo Liu  <sdl.web@gmail.com>
14537         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14538         Fix typo.
14540 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
14542         * image-mode.el (image-toggle-display-image): Signal an error if
14543         not in Image mode.
14544         (image-transform-mode, image-transform-resize)
14545         (image-transform-set-rotation): Doc fix.
14546         (image-transform-set-resize): Delete.
14547         (image-transform-set-scale, image-transform-fit-to-height)
14548         (image-transform-fit-to-width): Handle image-toggle-display-image
14549         and image-transform-resize directly.
14551 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
14553         * doc-view.el (doc-view-fit-width-to-window)
14554         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14555         New functions for fitting the shown image to the Emacs window size.
14556         (doc-view-mode-map): Add bindings for the new functions.
14558 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
14560         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14561         Fix typo in docstring.
14563 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
14565         * files.el (file-size-human-readable): Produce one digit after
14566         decimal, like "ls -lh" does.
14568         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14569         the file size representation.
14571         * simple.el (list-processes): If async subprocesses are not
14572         available, error out with a clear error message.
14574 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
14576         * help.el (help-form-show): New function, to be called from C.
14577         Put help-form output in a buffer named differently than *Help*.
14579 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
14581         * files.el (file-size-human-readable): New function.
14583         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14584         computing the representation inline.  Don't require `cl'.
14586 2011-04-08  Glenn Morris  <rgm@gnu.org>
14588         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14590         * net/browse-url.el (browse-url-firefox):
14591         Test system-type, not system-configuration.
14593         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14594         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14595         Use log-edit-empty-buffer-p.  (Bug#7598)
14597         * net/rlogin.el (rlogin-process-connection-type): Simplify.
14598         (rlogin-mode-map): Initialize in the defvar.
14599         (rlogin): Use ignore-errors.
14601         * replace.el (occur-mode-map): Some fixes for menu items.
14603 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14605         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
14607 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
14609         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14610         issuing unused warnings.
14612         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14613         macro directly.
14615         * simple.el: Lisp reimplement of list-processes.  Based on an
14616         earlier reimplementation by Leo Liu, but using tabulated-list.el.
14617         (process-menu-mode): New major mode.
14618         (list-processes--refresh, list-processes):
14619         (process-menu-visit-buffer): New functions.
14621         * files.el (save-buffers-kill-emacs): Don't assume any return
14622         value of list-processes, which is undocumented anyway.
14624 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
14626         * emacs-lisp/tabulated-list.el: New file.
14628         * emacs-lisp/package.el: Use Tabulated List mode.
14629         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14630         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
14631         table format using Tabulated List mode variables.
14632         (package--push): New macro, replacing package-list-maybe-add.
14633         (package-menu--generate): Use package--push.  Renamed from
14634         package--generate-package-list.
14635         (package-menu-refresh, list-packages): Use it.
14636         (package-menu--print-info): Rename from package-print-package.
14637         Return insertion data instead of inserting it directly.
14638         (package-menu-describe-package, package-menu-execute):
14639         Use tabulated-list-get-id.
14640         (package-menu-mark-delete, package-menu-mark-install)
14641         (package-menu-mark-unmark, package-menu-backup-unmark)
14642         (package-menu-mark-obsolete-for-deletion):
14643         Use tabulated-list-put-tag.
14644         (package--list-packages, package-menu-revert)
14645         (package-menu-get-package, package-menu-get-version)
14646         (package-menu-sort-by-column): Functions deleted.
14647         (package-menu-package-list, package-menu-sort-key): Vars deleted.
14648         (package-menu--status-predicate, package-menu--version-predicate)
14649         (package-menu--name-predicate)
14650         (package-menu--description-predicate): Handle arguments in the
14651         Tabulated List format.
14652         (package-list-packages-no-fetch): Call list-packages.
14654 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
14656         * files.el (after-find-file-from-revert-buffer): Remove variable.
14657         (after-find-file): Don't bind it.
14658         (revert-buffer-in-progress-p): New variable.
14659         (revert-buffer): Bind it.
14660         Pass nil for `after-find-file-from-revert-buffer'.
14662         * saveplace.el (save-place-find-file-hook): Use new variable
14663         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14665 2011-04-06  Glenn Morris  <rgm@gnu.org>
14667         * Makefile.in (AUTOGEN_VCS): New variable.
14668         (autoloads): Use $AUTOGEN_VCS.
14670         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14671         * calendar/calendar.el (calendar-mode-map):
14672         Check for toolkit scroll bars.  (Bug#8305)
14674 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
14676         * minibuffer.el (completion-in-region--postch)
14677         (completion-in-region-mode): Remove unnecessary messages.
14679 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
14681         * font-lock.el (font-lock-refresh-defaults):
14682         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14683         revno:99634.2.463 (2010-10-09) and revno:101913 (2010-10-12).
14685         * info.el (Info-directory-list, Info-read-node-name-2)
14686         (Info-split-parameter-string): Doc fixes.
14687         (Info-virtual-nodes): Reflow docstring.
14688         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14689         (Info-apropos-toc-nodes, info-finder, Info-get-token)
14690         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14691         Fix typos in docstrings.
14692         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14693         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14694         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14695         (Info-restore-desktop-buffer): Mark unused parameters.
14696         (Info-directory-find-file, Info-directory-find-node)
14697         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14698         (Info-virtual-index-find-node, Info-apropos-find-file)
14699         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14700         Mark unused parameters; fix typos in docstrings.
14701         (Info-virtual-index): Remove unused local variable `nodename'.
14703 2011-04-05  Deniz Dogan  <deniz@dogan.se>
14705         * net/rcirc.el: Update my e-mail address.
14706         (rcirc-mode-map): Remove M-o binding.
14708 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
14710         * startup.el (command-line): Save the cursor's theme-face
14711         directly, instead of using face-override-spec.
14713         * custom.el (load-theme): Minor optimization in assigning faces.
14715 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
14717         * help-fns.el (describe-variable): Complete all variables having
14718         documentation, including keywords.
14719         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14721 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
14723         Convert to lexical-binding.
14725         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14726         (bs--get-marked-string, bs--get-modified-string)
14727         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14728         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14729         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14731         * ehelp.el (electric-help-execute-extended)
14732         (electric-help-ctrl-x-prefix):
14733         * hexl.el (hexl-revert-buffer-function):
14734         * linum.el (linum-after-change, linum-after-scroll):
14735         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14737         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14739 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
14741         * epa-dired.el:
14742         * epa-mail.el:
14743         * epa-hook.el:
14744         * epa-file.el:
14745         * epa.el:
14746         * epg.el: Use lexical binding.
14748 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
14750         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14752         * textmodes/flyspell.el (flyspell-word): Recognize default
14753         dictionary case for flyspell-mark-duplications-exceptions.
14754         Use regexp matching for languages.
14755         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14756         default dictionary (Bug#7926).
14758 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
14760         * emacs-lisp/package.el (package--with-work-buffer):
14761         Recognize https URLs.
14763         * net/network-stream.el: Move from gnus/proto-stream.el.
14764         Change prefix to network-stream throughout.
14765         (open-protocol-stream): Merge into open-network-stream, leaving
14766         open-protocol-stream as an alias.  Handle nil BUFFER args.
14768         * subr.el (open-network-stream): Move to net/network-stream.el.
14770 2011-04-02  Glenn Morris  <rgm@gnu.org>
14772         * find-dired.el (find-exec-terminator): New option.
14773         (find-ls-option): Test for -ls support.
14774         (find-ls-subdir-switches): Test for -b in find-ls-option.
14775         (find-dired, find-grep-dired): Doc fixes.
14776         (find-dired): Use find-exec-terminator.
14778         * find-dired.el (find-ls-option, find-ls-subdir-switches)
14779         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14780         (find-name-arg): Remove purecopy.
14782         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14783         (grep-compute-defaults): Check for `-exec COMMAND +' support.
14784         Set grep-find-use-xargs, grep-find-command, and grep-find-template
14785         accordingly.  Don't add the null-device if not needed.
14787         * files.el (save-some-buffers): Doc fix.
14789 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
14791         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14793 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
14795         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14796         Use `dolist' rather than `mapcar'.
14798 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14800         Add lexical binding.
14802         * subr.el (apply-partially): Use new closures rather than CL.
14803         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14804         (dolist, dotimes): Use slightly different expansion for lexical code.
14805         (functionp): Move to C.
14806         (letrec): New macro.
14807         (with-wrapper-hook): Use it and apply-partially instead of CL.
14808         (eval-after-load): Preserve lexical-binding.
14809         (save-window-excursion, with-output-to-temp-buffer): Turn them
14810         into macros.
14812         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14814         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14815         than the arglist.
14816         (help-add-fundoc-usage): Don't add `Not documented'.
14817         (help-function-arglist): Handle closures, subroutines, and new
14818         byte-code-functions.
14819         (help-make-usage): Remove leading underscores.
14820         (describe-function-1): Handle closures.
14821         (describe-variable): Use special-variable-p for completion.
14823         * files.el (lexical-binding): Declare safe.
14825         * emacs-lisp/pcase.el: Don't use destructuring-bind.
14826         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
14827         (pcase): Add `let' pattern.
14828         Change memoization so it actually works.
14829         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14830         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14831         <let>: New case.
14833         * emacs-lisp/macroexp.el: Use lexical binding.
14834         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
14835         Don't convert ' to #' without checking that it's indeed quoting
14836         a lambda.
14838         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14839         Use eval-sexp-add-defvars.
14840         (eval-sexp-add-defvars): New fun.
14842         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14844         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14845         Don't autoload.
14846         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14847         than the internal `byte-compile-lambda'.
14848         (defmethod): Don't hide code under quotes.
14849         (eieio-defmethod): New `code' argument.
14851         * emacs-lisp/eieio-comp.el: Remove.
14853         * emacs-lisp/edebug.el (edebug-eval-defun)
14854         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14855         (edebug-toggle): Avoid `eval'.
14857         * emacs-lisp/disass.el (disassemble-internal): Handle new
14858         `closure' objects.
14859         (disassemble-1): Handle new byte codes.
14861         * emacs-lisp/cl.el (pushnew): Silence warning.
14863         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14864         (cl-byte-compile-throw): Remove.
14865         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14867         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14868         closures.
14870         * emacs-lisp/cconv.el: New file.
14872         * emacs-lisp/bytecomp.el: Use lexical binding instead of
14873         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
14874         (byte-compile-initial-macro-environment):
14875         Handle declare-function here.
14876         (byte-compile--lexical-environment): New var.
14877         (byte-stack-ref, byte-stack-set, byte-discardN)
14878         (byte-discardN-preserve-tos): New lap codes.
14879         (byte-interactive-p): Don't use any more.
14880         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14881         New macros.
14882         (byte-compile-lapcode): Use them and handle new lap codes.
14883         (byte-compile-obsolete): Remove.
14884         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14885         (byte-compile-arglist-warn): Check late def of inlinable funs.
14886         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14887         since they should have been expanded by now.
14888         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14889         (byte-compile-from-buffer): Remove unused second arg.
14890         (byte-compile-preprocess): New function.
14891         (byte-compile-toplevel-file-form): New function to distinguish
14892         file-form calls from outside from file-form calls from hunk-handlers.
14893         (byte-compile-file-form): Simplify.
14894         (byte-compile-file-form-defsubst): Remove.
14895         (byte-compile-file-form-defmumble): Simplify now that
14896         byte-compile-lambda always returns a byte-code-function.
14897         (byte-compile): Preprocess.
14898         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14899         Remove, not used any more.
14900         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14901         (byte-compile-make-args-desc): New funs.
14902         (byte-compile-lambda): Handle lexical functions.  Always return
14903         a byte-code-function.
14904         (byte-compile-reserved-constants): New var, to make up room for
14905         closed-over variables.
14906         (byte-compile-constants-vector): Obey it.
14907         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14908         (byte-compile-macroexpand-declare-function): New function.
14909         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14910         byte-code-functions.
14911         (byte-compile-form): Check obsolescence here.
14912         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14913         (byte-compile-variable-ref): Remove.
14914         (byte-compile-dynamic-variable-op): New fun.
14915         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14916         (byte-compile-variable-set): New funs.
14917         (byte-compile-discard): Add 2 args.
14918         (byte-compile-stack-ref, byte-compile-stack-set)
14919         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14920         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14921         macroexpand-all instead.
14922         (byte-compile-quote-form): Remove.
14923         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14924         (byte-compile-bind, byte-compile-unbind): New funs.
14925         (byte-compile-let): Handle let* and lexical binding.
14926         (byte-compile-let*): Remove.
14927         (byte-compile-catch, byte-compile-unwind-protect)
14928         (byte-compile-track-mouse, byte-compile-condition-case):
14929         Handle a new :fun-body form, used for lexical scoping.
14930         (byte-compile-save-window-excursion)
14931         (byte-compile-with-output-to-temp-buffer): Remove.
14932         (byte-compile-defun): Simplify.
14933         (byte-compile-stack-adjustment): New fun.
14934         (byte-compile-out): Use it.
14935         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14937         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14938         handler any more.
14940         * emacs-lisp/byte-opt.el: Use lexical binding.
14941         (byte-inline-lapcode): Remove (to bytecomp).
14942         (byte-compile-inline-expand): Pay attention to inlining to/from
14943         lexically bound code.
14944         (byte-compile-unfold-lambda): Don't handle byte-code-functions
14945         any more.
14946         (byte-optimize-form-code-walker): Don't handle save-window-excursion
14947         any more and don't call compiler-macros.
14948         (byte-compile-splice-in-already-compiled-code): Remove.
14949         (byte-code): Don't inline any more.
14950         (disassemble-offset): Receive `bytes' as argument rather than via
14951         dynamic scoping.
14952         (byte-compile-tag-number): Declare before first use.
14953         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14954         `return' even if make-spliceable.
14955         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14956         obsolete interactive-p.
14957         (byte-optimize-lapcode): Optimize new lap-codes.
14958         Don't trip up on new form of `byte-constant' lap code.
14960         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14962         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14964         * custom.el (custom-initialize-default, custom-declare-variable):
14965         Use `defvar'.
14967         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14968         New variables.
14969         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14970         (COMPILE_FIRST): Add macroexp and cconv.
14971         * makefile.w32-in: Mirror changes in Makefile.in.
14973         * vc/cvs-status.el:
14974         * vc/diff-mode.el:
14975         * vc/log-edit.el:
14976         * vc/log-view.el:
14977         * vc/smerge-mode.el:
14978         * textmodes/bibtex-style.el:
14979         * textmodes/css.el:
14980         * startup.el:
14981         * uniquify.el:
14982         * minibuffer.el:
14983         * newcomment.el:
14984         * reveal.el:
14985         * server.el:
14986         * mpc.el:
14987         * emacs-lisp/smie.el:
14988         * doc-view.el:
14989         * dired.el:
14990         * abbrev.el: Use lexical binding.
14992 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
14994         * info.el (info-display-manual): New function.
14996 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14998         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15000 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
15002         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15003         an entry for that server in rcirc-authinfo.  (Bug#8385)
15005 2011-03-31  Glenn Morris  <rgm@gnu.org>
15007         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15009         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15011 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
15013         * progmodes/python.el (python-default-interpreter)
15014         (python-python-command-args, python-jython-command-args)
15015         (python-which-shell, python-which-args, python-which-bufname)
15016         (python-file-queue, python-comint-output-filter-function)
15017         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15018         variables and functions.
15020 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15022         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15023         (completion-in-region-mode): New minor mode.
15024         (completion-in-region): Use it.
15025         (completion-in-region--data, completion-in-region-mode-map): New vars.
15026         (completion-in-region--postch): New function.
15027         (completion--capf-misbehave-funs, completion--capf-safe-funs):
15028         New vars.
15029         (completion--capf-wrapper): New function.
15030         (completion-at-point): Use it to track well-behavedness of
15031         hook functions.
15032         (completion-help-at-point): New command.
15034 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
15036         * vc/add-log.el (add-change-log-entry): Don't use whitespace
15037         syntax class to search for whitespace on a single line
15038         (Message-ID: <4D938140.4030905@redhat.com>).
15040 2011-03-30  Leo Liu  <sdl.web@gmail.com>
15042         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15043         New commands.
15044         (edit-abbrevs-map): Bind them here.
15045         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
15047 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
15049         * allout.el (allout-hide-by-annotation, allout-flag-region):
15050         Reduce possibility of overlay leakage by making them volatile.
15052         * allout-widgets.el (allout-widgets-tally): Define as nil so the
15053         hash is not shared between buffers.  Mode initialization is
15054         responsible for giving it a useful starting value.
15055         (allout-item-span): Reduce possibility of overlay leakage by
15056         making them volatile.
15057         (allout-widgets-count-buttons-in-region): Add diagnostic function
15058         for tracking down button overlay leaks.
15060 2011-03-29  Leo Liu  <sdl.web@gmail.com>
15062         * ido.el (ido-read-internal): Use the default history var
15063         minibuffer-history if no HISTORY is specified.
15065 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
15067         * net/imap.el (imap-shell-open, imap-process-connection-type):
15068         Use imap-process-connection-type for 'shell' streams as well as
15069         Kerberos, SSL, other subprocesses.
15071 2011-03-28  Leo Liu  <sdl.web@gmail.com>
15073         * abbrev.el (abbrev-table-empty-p): New function.
15074         (prepare-abbrev-list-buffer): Place empty abbrev tables after
15075         nonempty ones.  (Bug#5937)
15077 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
15079         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15081 2011-03-27  Leo Liu  <sdl.web@gmail.com>
15083         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15084         for foreground and background colors.
15085         (ansi-color-make-color-map): Adapt.
15087 2011-03-25  Leo Liu  <sdl.web@gmail.com>
15089         * midnight.el (midnight-time-float): Remove.  Note it calculates
15090         the microsecond component incorrectly and seconds-to-time does the
15091         same job.
15092         Remove redundant (require 'timer).
15094         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15095         (ido-completions): Remove unused arguments.  (Bug#8329)
15097 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15099         * minibuffer.el (completion--flush-all-sorted-completions):
15100         Remove itself from hook.
15101         (completion-at-point): Let the functions perform the completion
15102         immediately and return nil or t.
15103         * comint.el (comint-dynamic-complete-functions): Now identical to
15104         completion-at-point-functions.
15105         (comint-dynamic-list-input-ring): Remove unused var `index'.
15106         (comint--match-partial-filename, comint--unquote&expand-filename):
15107         New funs, split from comint-match-partial-filename.
15108         (comint-dynamic-complete): Use completion-at-point.
15109         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15111 2011-03-24  Drew Adams  <drew.adams@oracle.com>
15113         * thingatpt.el: Support `defun'.
15115 2011-03-23  Leo Liu  <sdl.web@gmail.com>
15117         * abbrevlist.el: Move to obsolete/abbrevlist.el.
15119         * help-mode.el (help-mode-finish): Tweak regexp.
15121 2011-03-23  Glenn Morris  <rgm@gnu.org>
15123         * eshell/esh-opt.el (eshell-eval-using-options):
15124         Do not bind unused local variable `eshell-option-stub'.
15126         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15128 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
15130         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15131         keymap variable in `with-no-warnings' to avoid a warning when the
15132         keymap has been already `defconst'ed.
15134 2011-03-22  Leo Liu  <sdl.web@gmail.com>
15136         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15137         encode all chars in abbrevs; otherwise use emacs-mule or
15138         utf-8-emacs.  (Bug#8308)
15140 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
15142         * simple.el (backward-delete-char-untabify):
15143         Avoid warning about using `delete-backward-char'.
15145         * image.el (image-type-file-name-regexps): Make it variable.
15146         `imagemagick-register-types' modifies it, and the user may want
15147         to add new extensions for known image types.
15148         (imagemagick-register-types): Throw error if not using ImageMagick.
15150 2011-03-22  Leo Liu  <sdl.web@gmail.com>
15152         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15153         located before rcirc-prompt-end-marker.
15154         (rcirc-complete): Error if point is not after rcirc prompt.
15155         Handle the case when table is nil.
15156         (rcirc-user-authenticated): Define to fix compiler warning.
15158 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
15160         * custom.el (custom--inhibit-theme-enable): Make it affect only
15161         custom-theme-set-variables and custom-theme-set-faces.
15162         (provide-theme): Ignore custom--inhibit-theme-enable.
15163         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15164         (custom-enabling-themes): Delete variable.
15165         (enable-theme): Accept only loaded themes as arguments.
15166         Ignore the special custom-enabled-themes variable.
15167         (custom-enabled-themes): Forbid themes from setting this.
15168         Eliminate use of custom-enabling-themes.
15169         (custom-push-theme): Quote "changed" custom var entry.
15171 2011-03-21  Leo Liu  <sdl.web@gmail.com>
15173         * ido.el (ido-read-internal): Add ido-selected to history instead
15174         of user input.
15176 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15178         * subr.el (deferred-action-list, deferred-action-function):
15179         Mark obsolete.
15181 2011-03-21  Leo Liu  <sdl.web@gmail.com>
15183         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15184         change on 2011-02-13 (bug#8309).
15186         * minibuffer.el (read-file-name-function): Change default value.
15187         (read-file-name--defaults): Rename from read-file-name-defaults.
15188         (read-file-name-default): Rename from read-file-name.
15189         (read-file-name): Call read-file-name-function.
15191 2011-03-21  Glenn Morris  <rgm@gnu.org>
15193         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15194         Doc fixes.
15196 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
15198         * cus-theme.el: Add missing provide statement.
15199         (customize-create-theme): Extract theme value correctly.
15200         (custom-theme-visit-theme): Autoload.
15201         (customize-create-theme): Prompt before inserting default faces.
15203 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
15205         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15206         units and musical notes.
15208 2011-03-20  Leo Liu  <sdl.web@gmail.com>
15210         * ido.el (ido-read-internal): Use completing-read-default.
15211         (ido-completing-read): Fix compatibility with completing-read.
15213 2011-03-20  Christian Ohler  <ohler@gnu.org>
15215         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15216         (ert-delete-all-tests): Use `called-interactively-p' rather than
15217         `interactive-p'.
15218         (ert--make-xrefs-region): Respect END.
15220 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
15222         * dired-aux.el (dired-create-directory): Signal an error if the
15223         directory already exists (Bug#8246).
15225         * facemenu.el (list-colors-display): Call list-faces-display
15226         inside with-help-window.
15227         (list-colors-print): Use display property to align the final
15228         column, instead of checking window-width.
15230 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
15232         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15233         windows-nt systems.
15234         (emerge-protect-metachars): Quote correctly for ms-dos and
15235         windows-nt systems.
15237 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
15239         * info.el (info-initialize): Replace all uses of `:' with
15240         path-separator for compatibility with non-Unix systems.
15241         Cache quoting of path-separator.  (Bug#8258)
15243 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
15245         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15246         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15247         (mouse-avoidance-mode): Fix typos in docstrings.
15249 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
15251         * startup.el (package-subdirectory-regexp): Move from package.el.
15252         Omit \\` and \\', and let callers add them.
15254         * emacs-lisp/package.el (package-strip-version)
15255         (package-load-all-descriptors): Add \\` and \\' to
15256         package-subdirectory-regexp before using it.
15257         (package-untar-buffer): New arg DIR; ensure that file untars only
15258         into this expected directory.  Remove superfluous delete-region.
15259         (package-unpack): Caller changed.
15260         (package-tar-file-info): Use package-subdirectory-regexp.
15262 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15264         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15265         diff-mode-shared-map (bug#8284).
15266         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15268 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15270         * calendar/time-date.el (format-seconds): Use assoc instead of
15271         assoc-string, since assoc-string doesn't exist in XEmacs.
15273 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
15275         * custom.el (custom-known-themes): Reflow docstring.
15276         (custom-theme-load-path): Fix typo in docstring.
15277         (load-theme): Fix typo in error message.
15278         (custom-available-themes, custom-variable-theme-value):
15279         Use `let', not `let*'.
15281 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
15283         * calc/README: Mention inclusion of musical notes.
15285         * calc/calc-units.el (calc-lu-quant): Rename from
15286         `calc-logunits-quantity'.
15287         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15288         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15289         (calc-db): Rename from `calc-dblevel'.
15290         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15291         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15292         (calc-np): Rename from `calc-nplevel'.
15293         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15294         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15295         (calc-lu-plus): Rename from `calc-logunits-add'.
15296         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15297         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15298         (calc-lu-minus): Rename from `calc-logunits-sub'.
15299         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15300         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15301         (calc-lu-times): Rename from `calc-logunits-mul'.
15302         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15303         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15304         (calc-lu-divide): Rename from `calc-logunits-div'.
15305         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15306         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15308         * calc/calc-ext.el (calc-init-extensions): Update the names of the
15309         functions being autoloaded.
15311         * calc/calc.el (calc-lu-power-reference): Rename from
15312         `calc-logunits-power-reference'.
15313         (calc-lu-field-reference): Rename from
15314         `calc-logunits-field-reference'.
15316         * calc/calc-help.el (calc-l-prefix-help):
15317         Mention musical note functions.
15319 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15321         * minibuffer.el (completion-all-sorted-completions):
15322         Use :completion-cycle-penalty text property if present.
15324 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
15326         * allout.el (allout-yank-processing): Adjust for new rebulleting
15327         regime so bullet being yanked is used without prompting the user
15328         for a choice.
15330 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
15332         * startup.el (command-line): Warn the user that _emacs is deprecated.
15334 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
15336         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15337         (delphi-verbose, delphi-comment-face, delphi-string-face)
15338         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15339         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15340         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15341         (delphi-new-comment-line, delphi-font-lock-defaults)
15342         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15343         Fix typos in docstrings.
15345 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
15347         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15348         Invert the roles of character and string values for INSTEAD, so a
15349         string is used for the more common case of a defaulting prompt.
15351 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15353         * progmodes/ruby-mode.el (ruby-backward-sexp):
15354         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15355         * play/gamegrid.el (gamegrid-make-face):
15356         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15357         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15358         * notifications.el (notifications-notify):
15359         * net/xesam.el (xesam-search-engines):
15360         * net/quickurl.el (quickurl-list-insert):
15361         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15363 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
15365         * startup.el (command-line): Update package subdirectory regexp.
15367 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15369         * allout.el (allout-abbreviate-flattened-numbering)
15370         (allout-mode-deactivate-hook): Fix up obsolescence "date".
15372         * subr.el (read-char-choice): Only show the cursor after the prompt,
15373         not after the answer.
15375 2011-03-15  Kevin Ryde  <user42@zip.com.au>
15377         * help-fns.el (variable-at-point): Skip leading quotes, if any
15378         (bug#8253).
15380 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15382         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15383         warning message.
15385 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
15387         * shell.el (shell): When called interactively, offer to change the
15388         shell file name on remote hosts.
15390 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
15392         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15393         integration for LDAP parameters.  The host, base, user or binddn,
15394         and secret tokens can be specified in a netrc file, for instance.
15395         This is optional because an `auth-source' parameter must be
15396         specified in the search attributes.
15398 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
15400         * help.el (describe-mode): Link to the mode's definition (bug#8185).
15402 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15404         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15405         into declaration.  Remove redundant and harmful binding.
15407 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
15409         * files.el (file-ownership-preserved-p): Pass `integer' as an
15410         explicit 2nd argument to `file-attributes'.  If the file's owner
15411         is the Administrators group on Windows, and the current user is
15412         Administrator, consider that a match.
15414         * server.el (server-ensure-safe-dir): Consider server directory
15415         safe on MS-Windows if its owner is the Administrators group while
15416         the current Emacs user is Administrator.  Use `=' to compare
15417         numerical UIDs, since they could be integers or floats.
15419 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
15421         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15423 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
15425         Sync with Tramp 2.2.1.
15427         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15429         * net/trampver.el: Update release number.
15431 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15433         * progmodes/compile.el (compilation--previous-directory): Fix up
15434         various nil/dead-marker mismatches (bug#8014).
15435         (compilation-directory-properties, compilation-error-properties):
15436         Don't call it at a position past the one we're about to change.
15438         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15439         Disable obsolescence warnings in the file that declares it.
15441 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
15443         * allout-widgets.el (allout-widgets-tally):
15444         Initialize allout-widgets-tally as a hash table rather than nil to
15445         prevent mode-line redisplay warnings.  Also, clarify the module
15446         description and fix a comment typo.
15448 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
15450         * help-fns.el (describe-variable): Don't complete keywords.
15451         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15453 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
15455         * emacs-lisp/package.el (package-version-join): Impose a standard
15456         string representation for pre/alpha/beta version lists.
15457         (package-unpack-single): Standardize the directory name by passing
15458         it through package-version-join.
15459         (package-strip-rcs-id): Accept any version string that does not
15460         signal an error in version-to-list.
15462 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
15464         * simple.el (delete-trailing-whitespace): Return nil for the
15465         benefit of `write-file-functions'.
15467 2011-03-10  Glenn Morris  <rgm@gnu.org>
15469         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15471         * vc/vc-git.el (vc-git-program): New option.
15472         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15473         (vc-git--call): Use it.
15475         * eshell/esh-util.el (eshell-condition-case): Doc fix.
15477         * cus-edit.el (Custom-newline): If no button at point, look
15478         for a subgroup button at start-of-line.  (Bug#2298)
15480         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15482 2011-03-10  Julien Danjou  <julien@danjou.info>
15484         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15485         `cursor-type' is nil.
15487 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
15489         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15491 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
15493         * allout.el: Change so yank of distinctive-bullet items
15494         preserves the existing header prefix, rebulleting it if necessary,
15495         rather than replacing it.  This is necessary for proper operation
15496         of cooperative addons like allout-widgets.
15497         (allout-make-topic-prefix, allout-rebullet-heading):
15498         Change SOLICIT arg to INSTEAD, and interpret additionally a string
15499         value as alternate bullet to be used, instead of prompting the user
15500         for a bullet character.
15502 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
15504         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15505         Do not use `tramp-file-name-port', because this returns also
15506         `tramp-default-port'.
15508 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
15510         * net/rcirc.el (rcirc-handler-001): Remove useless
15511         with-rcirc-process-buffer.
15512         (rcirc-check-auth-status): Swap arguments to string-match.
15514 2011-03-09  Glenn Morris  <rgm@gnu.org>
15516         * shell.el (shell-mode):
15517         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
15519         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15520         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
15522 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
15524         * emacs-lisp/package.el (package-refresh-contents)
15525         (package-menu-execute): Use condition-case-no-debug.
15527 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
15529         * simple.el (shell-command-to-string): Use `process-file'.
15531         * emacs-lisp/package.el (package-tar-file-info): Handle also
15532         remote files.
15534         * emacs-lisp/package-x.el (package-upload-buffer-internal):
15535         Use `equal' for upload base check.
15537 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
15539         * textmodes/texinfo.el (texinfo-environments):
15540         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
15542 2011-03-08  Glenn Morris  <rgm@gnu.org>
15544         * cus-start.el (cursor-in-non-selected-windows):
15545         Fix :set quoting oddness.  (Bug#8192)
15547         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15548         in some setf expressions.  (Bug#2159)
15550 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
15552         * custom.el (custom-available-themes): Return themes in
15553         alphabetical order.
15555 See ChangeLog.15 for earlier changes.
15557 ;; Local Variables:
15558 ;; coding: utf-8
15559 ;; End:
15561   Copyright (C) 2011-2012  Free Software Foundation, Inc.
15563   This file is part of GNU Emacs.
15565   GNU Emacs is free software: you can redistribute it and/or modify
15566   it under the terms of the GNU General Public License as published by
15567   the Free Software Foundation, either version 3 of the License, or
15568   (at your option) any later version.
15570   GNU Emacs is distributed in the hope that it will be useful,
15571   but WITHOUT ANY WARRANTY; without even the implied warranty of
15572   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15573   GNU General Public License for more details.
15575   You should have received a copy of the GNU General Public License
15576   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.