Replace the last use of the external vcdiff script
[emacs.git] / lisp / ChangeLog
blob075e0231c27eb17a7fb31ff2e8c2a0f5f74296ae
1 2012-06-06  Glenn Morris  <rgm@gnu.org>
3         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5         (vc-sccs-diff): Replace use of the external vcdiff script.
7 2012-06-05  Glenn Morris  <rgm@gnu.org>
9         * ledit.el: Move to obsolete/.
11 2012-06-05  Sam Steingold  <sds@gnu.org>
13         * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
14         patch (Bug#11140).
16 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18         * emacs-list/cust-print.el: Move to obsolete.
20         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
21         compiler-macro expansion.
23         Add native compiler-macro support.
24         * emacs-lisp/macroexp.el (macroexpand-all-1):
25         Support compiler-macros directly.  Properly follow aliases and apply
26         the compiler macros more thoroughly.
27         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
28         macroexpand now properly follows aliases.
29         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
30         (cl-compiler-macroexpand): Use new prop.
31         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
33         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
35 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
37         * window.el (get-lru-window, get-mru-window, get-largest-window):
38         New argument NOT-SELECTED to avoid picking the selected window.
39         (window--display-buffer-1, window--display-buffer-2): Replace by
40         new function window--display-buffer
41         (display-buffer-same-window, display-buffer-reuse-window)
42         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
43         Use window--display-buffer.
44         (display-buffer-use-some-window): Remove temporary dedication
45         hack by calling get-lru-window and get-largest-window with
46         NOT-SELECTED argument non-nil.  Call window--display-buffer.
48 2012-06-05  Glenn Morris  <rgm@gnu.org>
50         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
51         Replace external vcdiff script.
53 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
55         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
57 2012-06-04  Chong Yidong  <cyd@gnu.org>
59         * image.el (imagemagick-types-inhibit): Revert last change.
60         Add INFO and M.
61         (imagemagick-enabled-types): Remove CIN and EPS*.
63 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
65         * emacs-lisp/cl-lib.el: Rename from cl.el.
66         * emacs-lisp/cl.el: New compatibility file.
67         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
68         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
69         to obey the "cl-" prefix.
70         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
72 2012-06-03  Glenn Morris  <rgm@gnu.org>
74         * emacs-lisp/authors.el (authors-aliases): Addition.
76         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
77         Fix :version.
79 2012-06-03  Stefan Merten  <smerten@oekonux.de>
81         * textmodes/rst.el: Add comments.
82         (rst-transition, rst-adornment): New faces.
83         (rst-adornment-faces-alist): Make default safe to reevaluate.
84         Fixes
85         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
86         Improve customization tags.
87         (rst-define-level-faces): Clarify meaning.
89 2012-06-03  Chong Yidong  <cyd@gnu.org>
91         * progmodes/compile.el (compilation-mode-line-fail)
92         (compilation-mode-line-run, compilation-mode-line-exit):
93         New faces.
94         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
96 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
98         * progmodes/which-func.el (which-func-update-ediff-windows):
99         New function.  Use it in ediff-select-hook (Bug#11478).
101 2012-06-03  Chong Yidong  <cyd@gnu.org>
103         * bindings.el: Remove explicit help text from format-mode-line.
104         It is now supplied by mode-line-default-help-echo.
105         (mode-line-front-space, mode-line-end-spaces)
106         (mode-line-misc-info): New variables.
107         (mode-line-modes, mode-line-position): Move the default value to
108         the variable definition.
109         (mode-line-default-help-echo): New defcustom.
110         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
111         (mode-line-modified-help-echo): New functions.
112         (mode-line-mule-info, mode-line-modified): Use them.
113         (mode-line-eol-desc, propertized-buffer-identification):
114         Consistency fixes for help text.
115         (mode-line-coding-system-map): Allow using mouse-3 to invoke
116         set-buffer-file-coding-system (Bug#289).
117         (mode-line-mule-info-help-echo): Update help text.
119 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
121         * simple.el (execute-extended-command): Set real-this-command
122         (bug#11506).
124 2012-06-02  Chong Yidong  <cyd@gnu.org>
126         Remove incorrect uses of "modeline" in comments, docstrings, and
127         function/variable names (Bug#10329).
129         * cus-edit.el (mode-line):
130         * dframe.el (dframe-mouse-hscroll):
131         * emacs-lisp/re-builder.el:
132         * emacs-lisp/easy-mmode.el (define-minor-mode):
133         * frame.el (set-frame-name):
134         * help.el (lookup-minor-mode-from-indicator):
135         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
136         * progmodes/cc-cmds.el (c-toggle-auto-newline)
137         (c-toggle-hungry-state):
138         * progmodes/antlr-mode.el (antlr-language-alist):
139         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
140         * progmodes/vhdl-mode.el (vhdl-mode):
141         * progmodes/which-func.el (which-func, which-func-cleanup-function):
142         * term/ns-win.el (ns-face-at-pos):
143         * term/sup-mouse.el (sup-mouse-report):
144         * textmodes/flyspell.el (flyspell-mode-line-string):
145         * textmodes/ispell.el (ispell-highlight-face):
146         * textmodes/reftex-global.el:
147         * vc/vc-arch.el (vc-arch-mode-line-string):
148         * vc/vc-cvs.el (vc-cvs-mode-line-string):
149         * vc/vc-git.el (vc-git-mode-line-string):
150         * vc/vc-hooks.el (vc-display-status)
151         (vc-default-mode-line-string):
152         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
154         * ansi-color.el (ansi-color-faces-vector): Change default faces.
156         * dired.el (dired-sort-set-mode-line): Rename from
157         dired-sort-set-modeline.  All callers changed.
159         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
160         eshell-status-in-modeline.
162         * foldout.el (foldout-mode-line-string): Rename from
163         foldout-modeline-string.  All callers changed.
164         (foldout-update-mode-line): Rename from foldout-update-modeline.
166         * subr.el (redraw-modeline): Make into obsolete alias.
168         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
169         timeclock-modeline-display.  Make old name an alias.
170         (timeclock-update-mode-line): Likewise.  All callers changed.
171         (timeclock-mode-line-display): No need to check before using
172         add-hook.
173         (timeclock-relative, timeclock-day-over-hook)
174         (timeclock-use-elapsed, timeclock-mode-string)
175         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
177         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
178         crisp-mode-modeline-string.
180         * play/solitaire.el (solitaire-build-mode-line): Rename from
181         solitaire-build-modeline.  All callers changed.
183         * play/zone.el (zone-hiding-mode-line): Rename from
184         zone-hiding-modeline.  All callers changed.
185         (zone): Remove unusued `modeline-hidden-level' property.
187         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
188         xscheme-modeline-initialize.  All callers changed.
190         * strokes.el (strokes-lighter): Rename from
191         strokes-modeline-string.
193         * textmodes/sgml-mode.el (html-face-tag-alist)
194         (html-tag-face-alist): Use mode-line face instead of obsolete
195         alias modeline.
197 2012-06-02  Stefan Merten  <smerten@oekonux.de>
199         * textmodes/rst.el: Always require `cl'.
200         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
202 2012-06-02  Chong Yidong  <cyd@gnu.org>
204         * image.el (imagemagick-enabled-types): Rename from
205         imagemagick-types-enable.  Add many more types.
206         (imagemagick-types-inhibit): Change default to nil.
207         (imagemagick-filter-types): Caller changed.
209 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
211         * emacs-lisp/cl-macs.el: Use backquotes.
212         (cl-transform-function-property): Use eval-and-compile rather than
213         abusing `require'.
214         (defstruct): Use declare-function instead of with-no-warnings.
216         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
217         (byte-compile-output-docform): Re-add the print-circle bindings.
218         (byte-compile-fix-header): Use #$ just because it's shorter.
219         (byte-compile-output-file-form): Remove defun/defmacro.
221 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
223         * simple.el (choose-completion): Remove now obsolete binding for
224         owindow.
226 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
228         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
229         in order to avoid "Stack overflow in regexp matcher".
231 2012-05-31  Glenn Morris  <rgm@gnu.org>
233         * image.el: For clarity, call imagemagick-register-types at
234         top-level, rather than relying on a custom :initialize.
235         (imagemagick-types-enable): New option.  (Bug#11557)
236         (imagemagick-filter-types): New function.  (Bug#7406)
237         (imagemagick-register-types): Use imagemagick-filter-types.
238         If disabling support, remove elements altogether rather
239         than using an impossible regexp.
240         (imagemagick-types-inhibit): Give it the default init function.
242 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
244         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
245         Handle arbitrary file name lengths (Bug#11585).
247 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
249         * desktop.el (desktop-read): Clear previous and next buffers for
250         all windows and bury *Messages* buffer (bug#11556).
252 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
254         Add `declare' for `defun'.  Align `defmacro's with it.
255         * emacs-lisp/easy-mmode.el (define-minor-mode)
256         (define-globalized-minor-mode): Don't autoload the var definitions.
257         * emacs-lisp/byte-run.el: Use lexical-binding.
258         (defun-declarations-alist, macro-declarations-alist): New vars.
259         (defmacro, defun): Use them.
260         (make-obsolete, define-obsolete-function-alias)
261         (make-obsolete-variable, define-obsolete-variable-alias):
262         Use `declare'.
263         (macro-declaration-function): Mark obsolete.
264         * emacs-lisp/autoload.el: Use lexical-binding.
265         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
267 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
269         * textmodes/ispell.el (ispell-with-no-warnings):
270         Define as a macro.
271         (ispell-kill-ispell, ispell-change-dictionary):
272         Use `called-interactively-p' for Emacs instead of obsolete
273         `interactive-p'.
275 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
277         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
278         (macro-declaration-function): Move var from C code.
279         (macro-declaration-function): Define function with defalias.
280         * emacs-lisp/macroexp.el (macroexpand-all-1):
281         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
282         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
283         defun/defmacro any more.
284         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
285         Provide fallback for unknown arglist.
286         (byte-compile-arglist-warn): Change calling convention.
287         (byte-compile-output-file-form): Move print-vars binding.
288         (byte-compile-output-docform): Simplify accordingly.
289         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
290         (byte-compile-defmacro-declaration): Remove.
291         (byte-compile-file-form-defmumble): Generalize to defalias.
292         (byte-compile-output-as-comment): Return byte-positions.
293         Simplify callers accordingly.
294         (byte-compile-lambda): Use `assert'.
295         (byte-compile-defun, byte-compile-defmacro): Remove.
296         (byte-compile-file-form-defalias):
297         Use byte-compile-file-form-defmumble.
298         (byte-compile-defalias-warn): Remove.
300 2012-05-29  Stefan Merten  <smerten@oekonux.de>
302         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
303         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
305         (rst-mode-abbrev-table): Merge definition.
306         (rst-mode): Make sure `font-lock-defaults' is buffer local.
307         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
309 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
311         * calendar/icalendar.el
312         (icalendar-export-region): Export UID properly.
314 2012-05-29 Leo <sdl.web@gmail.com>
315         * calendar/icalendar.el (icalendar-import-format):
316         Add `icalendar-import-format-uid' (Bug#11525).
317         (icalendar-import-format-uid): New.
318         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
319         Export UID.
321 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
323         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
324         different alternative patterns.
325         (pcase-codegen): Be more careful to preserve identity.
326         (pcase--u1): Don't forget to mark vars as used.
328         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
329         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
330         (byte-compile-from-buffer): ...rather than here.
332         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
333         functions from byte-compile-function-environment.
335 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
337         * window.el (window-deletable-p): Avoid deleting the root window
338         of a frame with an active minibuffer.
340 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
342         * simple.el (choose-completion): Use quit-window (Bug#11567).
344 2012-05-29  Chong Yidong  <cyd@gnu.org>
346         * whitespace.el (whitespace-cleanup): Fix usage of
347         whitespace-empty-at-bob-regexp (Bug#11492).
349 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
351         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
352         revert (Bug#11488).
354 2012-05-29  Juri Linkov  <juri@jurta.org>
356         * isearch.el (isearch-mode-map): Bind `M-s _' to
357         `isearch-toggle-symbol'.  Bind `M-s c' to
358         `isearch-toggle-case-fold'.
359         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
360         (isearch-forward): Add `M-s _' to the docstring.
361         (isearch-forward-symbol, isearch-toggle-case-fold)
362         (isearch-symbol-regexp): New functions.  (Bug#11381)
364 2012-05-29  Juri Linkov  <juri@jurta.org>
366         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
367         (isearch-occur, isearch-search-and-update): If `isearch-word' is
368         a function, call it to get the regexp.
369         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
370         property `isearch-message-prefix' instead of the string "word ".
371         (isearch-search-fun-default): For the case of `isearch-word',
372         return a lambda that calls re-search-forward/re-search-backward
373         with a regexp returned by `word-search-regexp' or by the function
374         in `isearch-word'.
376 2012-05-29  Juri Linkov  <juri@jurta.org>
378         * isearch.el (isearch-search-fun-default): New function.
379         (isearch-search-fun): Move default part to the new function
380         `isearch-search-fun-default'.
381         (isearch-search-fun-function): Set the default value to
382         `isearch-search-fun-default'.  (Bug#11381)
384         * comint.el (comint-history-isearch-end):
385         Use `isearch-search-fun-default'.
386         (comint-history-isearch-search): Use `isearch-search-fun-default'
387         and remove spacial case for `isearch-word'.
388         (comint-history-isearch-wrap): Remove spacial case for
389         `isearch-word'.
391         * hexl.el (hexl-isearch-search-function):
392         Use `isearch-search-fun-default'.
394         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
395         Use `word-search-regexp' for `isearch-word'.
397         * misearch.el (multi-isearch-search-fun):
398         Use `isearch-search-fun-default'.
400         * simple.el (minibuffer-history-isearch-search):
401         Use `isearch-search-fun-default' and remove spacial case for
402         `isearch-word'.
403         (minibuffer-history-isearch-wrap): Remove spacial case for
404         `isearch-word'.
406         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
407         Remove spacial case for `isearch-word'.
408         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
410 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
412         Decrease XEmacs incompatibilities.
413         * textmodes/flyspell.el (flyspell-check-pre-word-p):
414         Use `string-match'.
415         (flyspell-delete-region-overlays): Use alternative definition for
416         XEmacs.
417         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
418         (flyspell-word): Use `process-kill-without-query' if XEmacs.
419         (flyspell-mode-on): Use `interactive-p' if XEmacs.
420         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
421         `define-obsolete-face-alias' under XEmacs, but old method.
423         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
424         `with-no-warnings' definition or Emacs alias.
425         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
426         (ispell-word): Do not use `region-p' if XEmacs.
428 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
430         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
431         Check for `ispell-dictionary-base-alist' instead of full
432         `ispell-dictionary-alist'.
433         (ispell-init-process): Show spellchecker when starting new Ispell
434         process.
436 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
438         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
439         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
441 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
443         * version.el (motif-version-string, gtk-version-string)
444         (ns-version-string): Declare.
446 2012-05-27  Juri Linkov  <juri@jurta.org>
448         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
449         after the `eval-defun-1' specialcaseing
450         like in `edebug-eval-defun' (bug#10181).
452         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
453         like in `eval-defun-1'.
455 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
457         * mail/sendmail.el (mail-yank-region):
458         Recognize rmail-yank-current-message in addition to insert-buffer.
459         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
460         a *mail* buffer created through rmail-start-mail with sendmail as
461         mail-user-agent.
463 2012-05-27  Chong Yidong  <cyd@gnu.org>
465         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
466         Default to 256 (Bug#11267).
468         * help.el (describe-mode): Doc fix.
470 2012-05-26  Glenn Morris  <rgm@gnu.org>
472         * w32-fns.el (w32-init-info): Remove.
473         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
475         * info.el (info-initialize): For self-contained NS builds, put the
476         included info/ directory at the front.  (Bug#2791)
478         * paths.el (Info-default-directory-list): Make it a defcustom,
479         mainly so that we can use custom-initialize-delay.
481 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
483         * subr.el (buffer-has-markers-at): Mark obsolete.
485         * subr.el (lambda): Use declare.
487         * emacs-lisp/lisp-mode.el (lambda):
488         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
490 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
492         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
494 2012-05-26  Glenn Morris  <rgm@gnu.org>
496         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
498 2012-05-25  Glenn Morris  <rgm@gnu.org>
500         * paths.el: Remove no-byte-compile.
501         * loadup.el: No need to load paths.el uncompiled.
503         * image.el (imagemagick-types-inhibit): Doc fix.
505         * version.el: Remove no-byte-compile and associated formatting.
506         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
507         is ancient code from when there was an "inc-vers.el".
509 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
511         * progmodes/gdb-mi.el: Minor style changes.
512         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
513         Turn into minor modes.
514         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
515         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
516         (gdb-shell): Remove unneeded let-binding.
517         (gdb-get-many-fields): Eliminate O(n²) behavior.
519 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
521         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
522         platforms that don't link in fontset.c.
524 2012-05-25  Juri Linkov  <juri@jurta.org>
526         Use the same diff color scheme as in modern VCSes (bug#10181).
528         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
529         to avoid confusion with `diff-added' that now uses green colors.
530         (diff-removed): Use shades of red.
531         (diff-added): Use shades of green.
532         (diff-changed): Leave just the yellow color.
533         (diff-use-changed-face): New variable.
534         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
535         how to highlight context diff changes.
536         (diff-refine-change): Use shades of yellow.
537         (diff-refine-removed): New face that uses shades of red.
538         (diff-refine-added): New face that uses shades of green.
539         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
540         `diff-refine-removed' in the call to `smerge-refine-subst'
541         depending on the value of `diff-use-changed-face'.
543         * vc/smerge-mode.el (smerge-mine): Use shades of red.
544         (smerge-other): Use shades of green.
545         (smerge-base): Use shades of yellow.
546         (smerge-refined-change): Empty face.
547         (smerge-refined-removed): New face that uses shades of red.
548         (smerge-refined-added): New face that uses shades of green.
549         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
550         args `props-r' and `props-a', and use them.  Doc fix.
551         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
552         on its value use different faces `smerge-refined-change',
553         `smerge-refined-removed', `smerge-refined-added' in the call to
554         `smerge-refine-subst'.
556         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
557         Add face condition `min-colors 88' with shades of red.
558         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
559         `min-colors 88' with shades of green.
560         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
561         `min-colors 88' with shades of yellow.
563 2012-05-24  Glenn Morris  <rgm@gnu.org>
565         * paths.el (prune-directory-list, remote-shell-program): Move to...
566         * files.el (prune-directory-list, remote-shell-program): ...here.
567         For the latter, delay initialization, prefer ssh, just search PATH.
569         * paths.el (term-file-prefix): Move to faces.el (the only user).
570         * faces.el (term-file-prefix): Move here, make it a defcustom.
572         * paths.el (news-directory, news-path, news-inews-program):
573         Move to gnus/nnspool.el.
575         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
577         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
578         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
579         Make the latter a defcustom, with a delayed initialization.
581         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
582         These were deleted from Gnus itself late 2010.
584 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
586         * progmodes/which-func.el (which-func-ff-hook):
587         Check against user-error, not error.
589         * emacs-lisp/edebug.el (top): Do not load or set up loading of
590         cl-specs.el, which no longer exists.
592 2012-05-22  Glenn Morris  <rgm@gnu.org>
594         * info.el (info-emacs-bug): New command.
595         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
596         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
598 2012-05-21  Glenn Morris  <rgm@gnu.org>
600         * makefile.w32-in (update-subdirs-SH):
601         * Makefile.in (update-subdirs): Update for moved update-subdirs.
603 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
605         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
607         * progmodes/compile.el (compilation-error-regexp-alist-alist):
608         Simplify Maven regexp, and make sure the file can't start with a space
609         (bug#11517).
611 2012-05-21  Glenn Morris  <rgm@gnu.org>
613         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
614         Scrap superfluous subshells.
616 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
618         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
619         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
621 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
623         * calc/calc.el (calc-ensure-consistent-units): New variable.
625         * calc/calc-units.el (math-consistent-units-p)
626         (math-check-unit-consistency): New functions.
627         (calc-quick-units, calc-convert-units):
628         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
629         is non-nil.
630         (calc-extract-units): Fix typo.
632 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
634         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
636         * textmodes/flyspell.el: Commenting style, plus code simplifications.
637         (flyspell-default-deplacement-commands): Don't spell check after
638         repeated window/frame switches (e.g. triggered by mouse-movement).
639         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
640         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
641         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
642         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
643         Remove unused vars.
644         (flyspell-get-casechars, flyspell-get-not-casechars):
645         Simplify; Don't bother removing a ] just to add it back.
646         * textmodes/ispell.el (ispell-program-name): Use executable-find.
648 2012-05-18  Rüdiger Sonderfeld <ruediger@c-plusplus.de>
650         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
651         New functions.
652         (math-function-table): Add support for more C functions.
654 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
656         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
657         (flyspell-debug-signal-word-checked): Protect delay handling for
658         otherchars against empty otherchars.
660 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
662         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
663         their respective macro declarations.
664         * skeleton.el (define-skeleton):
665         * progmodes/compile.el (define-compilation-mode):
666         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
667         (define-ibuffer-filter):
668         * emacs-lisp/generic.el (define-generic-mode):
669         * emacs-lisp/easy-mmode.el (define-minor-mode)
670         (define-globalized-minor-mode):
671         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
672         * emacs-lisp/byte-run.el (defsubst):
673         * custom.el (deftheme): Add doc-string metadata.
675 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
677         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
679 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
681         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
683         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
684         * emacs-lisp/cl-macs.el: Idem.
685         * emacs-lisp/cl-specs.el: Remove.
687 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
689         Minor renaming of internal CL functions and variables.
690         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
691         (cl--position): Rename from cl-position.
692         (cl--delete-duplicates): Rename from cl-delete-duplicates.
693         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
694         (cl--random-state): Rename from *random-state*.
696 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
698         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
699         parens around the arg list (bug#11499).
701 2012-05-17  Juri Linkov  <juri@jurta.org>
703         * isearch.el (word-search-regexp, word-search-backward)
704         (word-search-forward, word-search-backward-lax)
705         (word-search-forward-lax): Move functions from search.c
706         (bug#10145, bug#11381).
708 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
710         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
711         (flyspell-debug-signal-word-checked): Delay for otherchars as for
712         normal word components.
714 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
716         * minibuffer.el (completion--sifn-requote): Fix last change.
717         (minibuffer-local-must-match-filename-map):
718         Move define-obsolete-variable-alias before its var.
720 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
722         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
724         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
725         behavior.
726         (completion--string-equal-p): New function.
727         (completion--twq-all): Use it to get better assertion failure data.
729         Only handle ".." and '..' quoting in shell-mode (bug#11466).
730         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
731         (shell--requote-argument): New functions.
732         (shell-completion-vars): Use them.
733         (shell--parse-pcomplete-arguments): Rename from
734         shell-parse-pcomplete-arguments.
735         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
736         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
737         Obey comint-file-name-quote-list.
739         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
740         (smie-indent-keyword): Use it.
742 2012-05-14  Stefan Merten  <smerten@oekonux.de>
744         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
746 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
748         * net/rlogin.el (rlogin-mode-map): Fix last change.
750 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
752         * mail/smtpmail.el (smtpmail-send-command): Send the command and
753         the following \r\n using a single `process-send-string', since the
754         Lotus SMTP server refuses to accept any commands if they are sent
755         with two `process-send-string's (Bug#11444).
757 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
759         * shell.el (shell-parse-pcomplete-arguments):
760         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
762 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
764         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
765         (image-transform-scale, image-transform-right-angle-fudge): New vars.
766         (image-transform-width, image-transform-fit-width): New functions.
767         (image-transform-properties): Use them.
768         (image-transform-check-size): New function.
769         (image-toggle-display-image): Use it (for testing).
770         (image-transform-set-rotation): Reduce angle mod 360.
771         Delete obsolete comment.
773 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
775         * image-mode.el: Fix scaling (bug#11399).
776         (image-transform-resize): Doc fix.
777         (image-transform-properties): Default scale is 1 and height should
778         be an integer.
780 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
782         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
783         than hard-coding `car', to fix misbehavior when moving forward.
785 2012-05-13  Chong Yidong  <cyd@gnu.org>
787         * emacs-lisp/tabulated-list.el (tabulated-list-format)
788         (tabulated-list-entries, tabulated-list-padding)
789         (tabulated-list-sort-key): Make permanent-local.
791         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
792         (electric-buffer-list): Put electric buffer menu
793         command descriptions in this docstring, instead of the docstring
794         of electric-buffer-menu-mode.  Code cleanups.
795         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
796         Electric-buffer-menu-mode.
797         (electric-buffer-update-highlight): Minor code cleanup.
799 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
801         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
802         (Bug#11447)
804 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
806         Move define-obsolete-variable-alias before the var's definition.
807         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
808         * tooltip.el (tooltip-hook):
809         * textmodes/reftex-toc.el (reftex-toc-map):
810         * textmodes/reftex-sel.el (reftex-select-label-map)
811         (reftex-select-bib-map):
812         * textmodes/reftex-index.el (reftex-index-map)
813         (reftex-index-phrases-map):
814         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
815         * progmodes/meta-mode.el (meta-mode-map):
816         * novice.el (disabled-command-hook):
817         * loadhist.el (unload-hook-features-list):
818         * frame.el (blink-cursor):
819         * files.el (find-file-not-found-hooks, write-file-hooks)
820         (write-contents-hooks):
821         * emulation/tpu-edt.el (GOLD-map):
822         * emacs-lock.el (emacs-lock-from-exiting):
823         * emacs-lisp/generic.el (generic-font-lock-defaults):
824         * emacs-lisp/chart.el (chart-map):
825         * dos-fns.el (register-name-alist):
826         * dired-x.el (dired-omit-files-p):
827         * desktop.el (desktop-enable):
828         * cus-edit.el (custom-mode-hook):
829         * buff-menu.el (buffer-menu-mode-hook):
830         * bookmark.el (bookmark-read-annotation-text-func)
831         (bookmark-exit-hooks):
832         * allout.el (allout-mode-deactivate-hook)
833         (allout-exposure-change-hook, allout-structure-added-hook)
834         (allout-structure-deleted-hook, allout-structure-shifted-hook):
835         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
836         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
837         comes before the corresponding variable's definition.
839 2012-05-12  Chong Yidong  <cyd@gnu.org>
841         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
842         (Buffer-menu-mouse-select): Restore function (Bug#11459).
843         (Buffer-menu-mode-map): Bind it.
844         (Buffer-menu--pretty-name): Add a mouse-face property.
846 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
848         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
849         (prolog-upper-case-string, prolog-lower-case-string)
850         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
851         (prolog-use-smie, prolog-smie-grammar): New vars.
852         (prolog-smie-forward-token, prolog-smie-backward-token)
853         (prolog-smie-rules): New funs.
854         (prolog-comment-indent): Remove.
855         (prolog-mode-variables): Use default comment indentation instead.
856         Setup SMIE.
857         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
858         (prolog-mode): Don't call them any more.
859         (prolog-electric-colon, prolog-electric-dash)
860         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
862         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
864         * minibuffer.el (completion--twq-all): Again, allow case differences.
866         * term.el: Move keymap initialization code to be more idiomatic.
867         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
868         (term-terminal-menu): Move initialization into declaration.
869         (term-escape-char): Let the user set it in her .emacs.
871         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
872         Provide SMIE-based indentation (not enabled by default yet).
873         (sh-mode-map): Don't bind electric keys.
874         Use electric-pair-mode instead of skeleton-pair.
875         (sh-assignment-regexp): Fit within 80 columns.
876         (sh-indent-supported): Specify actual shell name instead of boolean.
877         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
878         (sh-maybe-here-document): Use it.  Make obsolete.
879         (sh-electric-here-document-mode) New minor mode.
880         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
881         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
882         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
883         (sh-smie-rc-grammar, sh-use-smie): New vars.
884         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
885         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
886         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
887         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
888         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
889         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
890         (sh-set-shell): Use smie-setup if requested.
892         * term.el (term-set-escape-char): Properly set term-escape-char.
893         See http://stackoverflow.com/questions/10524656.
895 2012-05-10  Chong Yidong  <cyd@gnu.org>
897         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
898         Use url-generic-parse-url, and handle host names and Windows
899         filenames properly.
900         (ffap-url-unwrap-remote): Use url-generic-parse-url.
901         (ffap-url-unwrap-remote): Accept list values, specifying a list of
902         URL schemes to work on.
903         (ffap--toggle-read-only): New function.
904         (ffap-read-only, ffap-read-only-other-window)
905         (ffap-read-only-other-frame): Use it.
906         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
907         necessary for ffap-url-unwrap-remote.
909 2012-05-10  Dave Abrahams  <dave@boostpro.com>
911         * cus-start.el (create-lockfiles): Add it.
913 2012-05-09  Chong Yidong  <cyd@gnu.org>
915         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
916         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
918 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
920         * shell.el (shell-completion-vars): Fix last change (bug#11348).
922 2012-05-09  Chong Yidong  <cyd@gnu.org>
924         * ansi-color.el (ansi-color-process-output): Check for validity of
925         comint-last-output-start before using it.  This avoids a bad
926         interaction with gdb-mi's input/output buffer.
928 2012-05-09  Glenn Morris  <rgm@gnu.org>
930         * files.el (dir-locals-read-from-file):
931         Mention dir-locals in any error message.
933 2012-05-09  Chong Yidong  <cyd@gnu.org>
935         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
936         package (Bug#11410).
938         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
939         variables into description.
941 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
943         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
944         shell-delimiter-argument-list (bug#11348).
945         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
947 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
949         * textmodes/rst.el: Silence byte-compiler warnings.
950         (rst-re-alist, rst-reset-section-caches): Move around.
951         (rst-re): Use `characterp', not `char-valid-p'.
952         (font-lock-beg, font-lock-end): Declare.
954         * progmodes/idlw-shell.el (specs): Remove reference to deleted
955         variable `idlwave-shell-activate-alt-keybindings' and simplify.
957         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
959 2012-05-08  Glenn Morris  <rgm@gnu.org>
961         * files.el (auto-mode-alist): Treat ".make" like ".mk".
963 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
965         * vc/log-edit.el: Add GNU coding standards highlighting.
966         (log-edit-font-lock-gnu-style)
967         (log-edit-font-lock-gnu-keywords): New vars.
968         (log-edit-font-lock-keywords): New fun.
969         (log-edit-mode): Don't fold case in font-lock.
970         (log-edit-font-lock-keywords): Do not assume case-folding.
972         * imenu.el: Misc cleanup.  Make docstrings out of comments.
973         Use lexical-binding.
974         (imenu--index-alist, imenu--last-menubar-index-alist)
975         (imenu-menubar-modified-tick): Use defvar-local.
976         (imenu--split-menu): Remove unused var.
977         (imenu--cleanup-seen): Declare as global.
978         (imenu--cleanup): Use dolist.
980         * subr.el (defvar-local): Add debug spec and doc-string position.
982 2012-05-08  Glenn Morris  <rgm@gnu.org>
984         * lisp/language/burmese.el, language/cham.el, language/czech.el:
985         * language/english.el, language/georgian.el, language/greek.el:
986         * language/japanese.el, language/khmer.el, language/korean.el:
987         * language/lao.el, language/misc-lang.el, language/romanian.el:
988         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
989         * language/thai.el, language/utf-8-lang.el:
990         Remove no-byte-compile setting.
992         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
994 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
996         * progmodes/make-mode.el (makefile-browse):
997         Remove unnecessary interactive.  (Bug#11324)
999 2012-05-07  Glenn Morris  <rgm@gnu.org>
1001         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1003         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1005 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1007         * loadup.el: Preload newcomment.el.
1008         * newcomment.el: Move autoload-only code to toplevel.
1010         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1011         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1012         Handle new :right-align column property.
1013         (tabulated-list-print-col): Idem, plus use `display' text-property to
1014         try and preserve alignment for variable pitch fonts.
1016 2012-05-07  Chong Yidong  <cyd@gnu.org>
1018         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1019         (tabulated-list-use-header-line): New var.
1020         (tabulated-list-init-header): Use it.
1021         (tabulated-list-print-fake-header): New function.
1022         (tabulated-list-print): Use it.
1023         (tabulated-list-sort-button-map): Add non-header-line commands.
1024         (tabulated-list-init-header): Add column name property to basic
1025         labels as well.
1026         (tabulated-list-col-sort): Handle non-header-line button case.
1027         (tabulated-list--sort-by-column-name): Fix a corner case.
1029         * buff-menu.el (list-buffers--refresh):
1030         Handle Buffer-menu-use-header-line.
1032 2012-05-06  Chong Yidong  <cyd@gnu.org>
1034         * buff-menu.el: Convert to Tabulated List mode.
1035         (Buffer-menu-buffer+size-width): Make obsolete.
1036         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1037         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1038         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
1039         documentation into docstring of buffer-menu.
1040         (Buffer-menu-toggle-files-only): Add an informative message.
1041         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1042         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1043         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1044         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1045         (Buffer-menu-execute, Buffer-menu-select)
1046         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1047         (Buffer-menu-bury): Use Tabulated List machinery.
1048         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1049         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1050         Delete.
1051         (list-buffers--refresh): New function.
1052         (list-buffers-noselect): Use it.
1053         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1054         (Buffer-menu--pretty-file-name): New helper functions.
1056         * loadup.el: Preload tabulated-list.
1058         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1059         tabulated-list-sort-column.
1060         (tabulated-list-init-header): Add the initial aligning space even
1061         if tabulated-list-padding is zero.
1063 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
1065         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1066         whose cdr is not a cons cell correctly (bug#11038).
1068 2012-05-06  Chong Yidong  <cyd@gnu.org>
1070         * emacs-lisp/tabulated-list.el (tabulated-list-format):
1071         Accept additional plist in column descriptors.
1072         (tabulated-list-init-header): Obey it.
1073         (tabulated-list-get-entry): New function.
1074         (tabulated-list-put-tag): Use it.  Use string-width instead of
1075         length.
1076         (tabulated-list--column-number): New function.
1077         (tabulated-list-print): Use it.
1078         (tabulated-list-print-col): New function.
1079         Set `tabulated-list-column-name' property on each column's text.
1080         (tabulated-list-print-entry): Use it.
1081         (tabulated-list-delete-entry, tabulated-list-set-col):
1082         New functions.
1083         (tabulated-list-sort-column): New command (Bug#11337).
1085         * buff-menu.el (list-buffers): Move C-x C-b binding from
1086         buff-menu.el to bindings.el.
1088         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1089         :advertised-binding feature.
1091 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
1093         * progmodes/compile.el (compilation-internal-error-properties):
1094         Calculate start position correctly when end-col is set but
1095         end-line is not (Bug#11382).
1097 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
1099         * man.el (Man-unindent): Use text-property-default-nonsticky to
1100         prevent untabify from inheriting face properties (Bug#11408).
1102 2012-05-05  Stefan Merten  <smerten@oekonux.de>
1104         * textmodes/rst.el: Major merge with upstream development up to
1105         Docutils SVN r7399 / rst.el V1.2.1.
1107         Clarify maintainership and authors.
1109         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1110         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1111         (rst-official-version, rst-official-cvs-rev, rst-version)
1112         (rst-package-emacs-version-alist): New functions and variables
1113         for version information.
1115         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1116         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1117         (rst-mode-syntax-table, rst-mode): New and corrected functions
1118         and variables representing reStructuredText features.
1120         (rst-re): New function for reStructuredText regexes.  Use in
1121         many places.
1123         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1124         (rst-mode-map): Rebind keys.
1126         (rst-mode-lazy, rst-font-lock-keywords)
1127         (rst-font-lock-extend-region)
1128         (rst-font-lock-extend-region-internal)
1129         (rst-font-lock-extend-region-extend)
1130         (rst-font-lock-find-unindented-line-limit)
1131         (rst-font-lock-find-unindented-line-match)
1132         (rst-adornment-level, rst-font-lock-adornment-level)
1133         (rst-font-lock-adornment-match)
1134         (rst-font-lock-handle-adornment-pre-match-form)
1135         (rst-font-lock-handle-adornment-matcher): Major revision of
1136         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
1138         (rst-preferred-adornments, rst-adjust-hook)
1139         (rst-new-adornment-down, rst-preferred-bullets)
1140         (rst-preferred-bullets, rst-indent, rst-indent-width)
1141         (rst-indent-field, rst-indent-literal-normal)
1142         (rst-indent-literal-minimized, rst-indent-comment): Change,
1143         extend and improve customization.
1145         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1146         (rst-normalize-cursor-position, rst-get-decoration)
1147         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1148         (rst-rstrip, rst-toc-insert-find-delete-contents)
1149         (rst-shift-fill-region, rst-compute-bullet-tabs)
1150         (rst-debug-print-tabs, rst-debug-mark-found)
1151         (rst-shift-region-guts, rst-shift-region-right)
1152         (rst-shift-region-left, rst-use-char-classes)
1153         (rst-font-lock-keywords-function)
1154         (rst-font-lock-indentation-point)
1155         (rst-font-lock-find-unindented-line-begin)
1156         (rst-font-lock-find-unindented-line-end)
1157         (rst-font-lock-find-unindented-line)
1158         (rst-font-lock-adornment-point, rst-font-lock-level)
1159         (rst-adornment-level-alist): Remove functions and variables.
1161         (rst-compare-adornments, rst-get-adornment-match)
1162         (rst-suggest-new-adornment, rst-get-adornments-around)
1163         (rst-adornment-complete-p, rst-get-next-adornment)
1164         (rst-adjust-adornment, rst-display-adornments-hierarchy)
1165         (rst-straighten-adornments): Standardize function names to
1166         use "adornment" instead of "decoration".  Correct callers.
1167         Similar standardizing in many places.
1169         (rst-update-section, rst-adjust, rst-promote-region)
1170         (rst-enumerate-region, rst-bullet-list-region)
1171         (rst-repeat-last-character): Correct use of `interactive'.
1173         (rst-classify-adornment, rst-find-all-adornments)
1174         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1175         (rst-find-leftmost-column, rst-repeat-last-character):
1176         Refactor functions.
1178         (rst-find-title-line, rst-reset-section-caches)
1179         (rst-get-adornments-around, rst-adjust-adornment-work)
1180         (rst-arabic-to-roman, rst-roman-to-arabic)
1181         (rst-insert-list-pos, rst-insert-list-new-item)
1182         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1183         New functions.
1185         (rst-all-sections, rst-section-hierarchy)
1186         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1187         New variables.
1189         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1190         configuration instead of only buffer.  Change where necessary.
1192         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1193         (rst-shift-region, rst-adaptive-fill): New functions for
1194         indentation and filling.
1196         (rst-comment-line-break, rst-comment-indent)
1197         (rst-comment-insert-comment, rst-comment-region)
1198         (rst-uncomment-region): New functions for handling comments.
1200         (rst-compile): Quote shell arguments.
1202         (rst-compile-pdf-preview, rst-compile-slides-preview):
1203         Delete temporary files after use.
1205 2012-05-05  Glenn Morris  <rgm@gnu.org>
1207         * calendar/cal-html.el: Optionally include holidays in the output.
1208         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1209         (cal-html-holidays): New option.
1210         (cal-html-css-default): Add holiday entry.
1211         (holiday-in-range): Autoload it.
1212         (cal-html-htmlify-entry): Add optional class argument.
1213         (cal-html-htmlify-list): Add optional holidays argument.
1214         (cal-html-insert-agenda-days): Include holidays in the output.
1215         (cal-html-one-month): Maybe include holidays.
1217         * calendar/holidays.el (holiday-in-range):
1218         Move here from cal-tex-list-holidays.
1219         * calendar/cal-tex.el (cal-tex-list-holidays):
1220         Make it an obsolete alias for holiday-in-range.  Update all callers.
1222 2012-05-05  Chong Yidong  <cyd@gnu.org>
1224         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1225         Nextstep.
1227 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
1229         * files.el (file-auto-mode-skip): New var.
1230         (set-auto-mode-1): Use it.
1232 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1234         * repeat.el: Use lexical-binding.
1235         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1236         (repeat-undo-count): Remove.
1237         (repeat):
1238         * progmodes/octave-mod.el (octave-abbrev-start):
1239         * progmodes/f90.el (f90-abbrev-start):
1240         * face-remap.el (text-scale-adjust):
1241         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1243         * emacs-lisp/pcase.el (pcase--let*): New function.
1244         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1245         a bit more.
1246         (pcase--split-pred): Be more clever about ruling out overlap between
1247         a predicate and some constant pattern.
1248         (pcase--q1): Use `null' instead of (eq foo nil).
1250         * subr.el (setq-local, defvar-local): New macros.
1251         (kbd): Redefine as an alias.
1252         (with-selected-window): Leave unrelated frames alone.
1253         (set-temporary-overlay-map): New function.
1255 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1257         * subr.el (user-error): New function.
1258         * window.el (switch-to-buffer):
1259         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1260         (smerge-match-conflict):
1261         * simple.el (previous-matching-history-element)
1262         (next-matching-history-element, goto-history-element, undo-more)
1263         (undo-start):
1264         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1265         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1266         (next-file, tags-loop-scan, list-tags, complete-tag):
1267         * progmodes/compile.el (compilation-loop):
1268         * mouse.el (mouse-minibuffer-check):
1269         * man.el (Man-bgproc-sentinel, Man-goto-page):
1270         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1271         (Info-history-forward, Info-follow-reference, Info-menu)
1272         (Info-extract-menu-item, Info-extract-menu-counting)
1273         (Info-forward-node, Info-backward-node, Info-next-menu-item)
1274         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1275         (Info-next-reference, Info-prev-reference, Info-index)
1276         (Info-index-next, Info-follow-nearest-node)
1277         (Info-copy-current-node-name):
1278         * imenu.el (imenu--make-index-alist)
1279         (imenu-default-create-index-function, imenu-add-to-menubar):
1280         * files.el (basic-save-buffer, recover-file):
1281         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1282         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1283         (checkdoc-message-text, checkdoc-defun):
1284         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1285         * cus-edit.el (customize-changed-options, customize-rogue)
1286         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1287         (custom-variable-mark-to-reset-standard)
1288         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1289         (custom-file):
1290         * completion.el (check-completion-length):
1291         * comint.el (comint-search-arg)
1292         (comint-previous-matching-input-string-position)
1293         (comint-previous-matching-input)
1294         (comint-replace-by-expanded-history-before-point, comint-send-input)
1295         (comint-copy-old-input, comint-backward-matching-input)
1296         (comint-goto-process-mark, comint-set-process-mark):
1297         * calendar/calendar.el (calendar-cursor-to-date): Use it.
1298         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1300 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1302         * dabbrev.el (dabbrev--ignore-case-p): New function.
1303         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1304         Use it.
1306         * files.el (automount-dir-prefix): Mark as obsolete.
1308 2012-05-04  Glenn Morris  <rgm@gnu.org>
1310         * patcomp.el, play/bruce.el: Move to obsolete/.
1312 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
1314         Fix minor Y10k bugs.
1315         * arc-mode.el (archive-unixdate):
1316         * autoinsert.el (auto-insert-alist):
1317         * calc/calc-forms.el (math-this-year):
1318         * emacs-lisp/copyright.el (copyright-current-year)
1319         (copyright-update-year, copyright):
1320         * tar-mode.el (tar-clip-time-string):
1321         * time.el (display-time-update):
1322         Don't assume years have 4 digits.
1324 2012-05-04  Chong Yidong  <cyd@gnu.org>
1326         * dos-w32.el (file-name-buffer-file-type-alist)
1327         (direct-print-region-use-command-dot-com):
1328         * ffap.el (ffap-menu-regexp):
1329         * find-file.el (ff-special-constructs):
1330         * follow.el (follow-debug):
1331         * forms.el (forms--debug):
1332         * iswitchb.el (iswitchb-all-frames):
1333         * ido.el (ido-all-frames):
1334         * emacs-lisp/timer.el (timer-max-repeats):
1335         * mail/feedmail.el (feedmail-mail-send-hook)
1336         (feedmail-mail-send-hook-queued):
1337         * mail/footnote.el (footnote-signature-separator):
1338         * mail/mailabbrev.el (mail-alias-separator-string)
1339         (mail-abbrev-mode-regexp):
1340         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1341         * progmodes/idlwave.el (idlwave-libinfo-file)
1342         (idlwave-default-completion-case-is-down)
1343         (idlwave-library-routines): Convert defvars to defcustoms.
1345         * mail/rmail.el (rmail-decode-mime-charset):
1346         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1347         (idlwave-shell-fix-inserted-breaks)
1348         (idlwave-shell-activate-alt-keybindings)
1349         (idlwave-shell-use-breakpoint-glyph):
1350         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1352 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1354         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1356 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
1358         * progmodes/verilog-mode.el (font-lock-keywords):
1359         Fix mis-highligting auto.  Reported by Craig Barner.
1360         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1361         defines from global name space. Reported by Dan Dever.
1362         (verilog-auto-reset, verilog-auto-reset-widths)
1363         (verilog-auto-tieoff): Support using unbased numbers for
1364         AUTORESET and AUTOTIEOFF.
1365         (verilog-submit-bug-report): Update variable list.
1366         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1367         parenthesis from not matching. Reported by Michael Rytting.
1368         (verilog-auto-template-lint): Fix hash error when linting modules
1369         with no used templates.
1370         (verilog-warn, verilog-warn-error)
1371         (verilog-warn-fatal): When non-interactive report multiple
1372         warnings before exiting.  Suggested by Brad Dobbie.
1373         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1374         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1375         to report unused template errors.  Reported by Brad Dobbie.
1376         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1377         nets, bug438. Reported by Vns Blore.
1378         (verilog-auto-inout-module, verilog-auto-reg)
1379         (verilog-read-decls, verilog-read-sub-decls-sig)
1380         (verilog-signals-edit-wire-reg, verilog-signals-with):
1381         Fix passing of Verilog data types in ANSI input/output ports
1382         such as "output logic" into the AUTOs. Special case "wire" and
1383         "reg" for backwards compatibility presuming Verilog 2001.
1384         (verilog-auto-ascii-enum): Add "auto enum" as alias.
1385         (verilog-preprocess): Fix replication of preprocess output.
1386         Reported by Brad Dobbie.
1387         (verilog-auto-inst-interfaced-ports):
1388         Create verilog-auto-inst-interfaced-ports, bug429.
1389         Reported by Julian Gorfajn.
1390         (verilog-after-save-font-hook)
1391         (verilog-before-save-font-hook): New variable.
1392         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1393         (verilog-save-font-mods): Wrap disabling fontification, reported
1394         by David Rogoff.
1395         (verilog-do-indent, verilog-pretty-declarations-auto)
1396         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1397         Reported by Pierre-David Pfister.
1398         (verilog-set-auto-endcomments): Fix endtask auto comments outside
1399         of class declarations, bug292.  Reported by Kevin Heilman.
1400         (verilog-read-decls): Fix 'parameter type' not appearing in
1401         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
1402         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1403         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1404         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1405         Reported by David Kravitz.
1407 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
1409         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1410         assignment with tests in ifs and for loops.
1411         (verilog-extended-complete-re, verilog-complete-reg): Change so
1412         that DPI inport functions don't look like fuction declarations.
1413         (verilog-pretty-expr): Don't line up assignment
1414         operations to the test and increment in if and for loops
1415         (verilog-extended-complete-re, verilog-complete-reg): Change so
1416         that DPI inport functions don't look like fuction declarations
1418 2012-05-03  Kenichi Handa  <handa@m17n.org>
1420         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1421         decoding, and show a warning message without signaling an error
1422         (Bug#11282).
1424 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1426         * emacs-lisp/bytecomp.el
1427         (byte-compile-file-form-custom-declare-variable): Compile all elements,
1428         since cconv.el might have introduced :fun-body, internal-make-closure,
1429         and friends for bytecomp to handle (bug#11391).
1430         * custom.el (defcustom): Avoid ((λ ..) ..).
1432 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1434         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1436 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
1438         * notifications.el (dbus-debug):
1439         * term/linux.el (gpm-mouse-enable):
1440         * term/screen.el (xterm-register-default-colors): Declare.
1442 2012-05-02  Chong Yidong  <cyd@gnu.org>
1444         * cus-start.el (gc-cons-percentage, exec-suffixes)
1445         (dos-display-scancodes, dos-hyper-key, dos-super-key)
1446         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1447         (make-cursor-line-fully-visible, void-text-area-pointer)
1448         (font-list-limit): Add customization data.
1450         * allout.el (allout-exposure-change-functions)
1451         (allout-structure-added-functions)
1452         (allout-structure-deleted-functions)
1453         (allout-structure-shifted-functions): Rename abnormal hooks from
1454         *-hook, and convert to defcustoms.
1455         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1456         Convert to defcustoms.
1457         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1459         * allout-widgets.el: Hook callers changed.
1461 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
1463         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1464         the yanked message in preference to the default value of
1465         buffer-file-coding-system.
1467 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
1469         * window.el (display-buffer--action-function-custom-type):
1470         Fix entry.
1472 2012-05-02  Alan Mackenzie  <acm@muc.de>
1474         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1476 2012-05-01  Glenn Morris  <rgm@gnu.org>
1478         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1480         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
1482         * cus-edit.el (custom-variable-documentation): Simplify with format.
1484 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1485             Stefan Monnier  <monnier@iro.umontreal.ca>
1487         * simple.el (suggest-key-bindings, execute-extended-command):
1488         Move from keyboard.c.
1490 2012-05-01  Chong Yidong  <cyd@gnu.org>
1492         * follow.el: Eliminate advice.
1493         (set-process-filter, process-filter, sit-for): Advice deleted.
1494         (follow-mode-off-hook): Obsolete hook removed.
1495         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1496         Vars deleted.
1497         (follow-auto): Use a :set function.
1498         (follow-mode): Rewritten.  Don't advise process filters.
1499         (follow-switch-to-current-buffer-all, follow-scroll-up)
1500         (follow-scroll-down): Assume follow-mode is bound.
1501         (follow-comint-scroll-to-bottom)
1502         (follow-align-compilation-windows): New functions.
1503         (follow--window-sorter): New function.
1504         (follow-all-followers): Use it to explicitly sort windows by their
1505         positions; don't make assumptions about next-window order.
1506         (follow-windows-start-end, follow-delete-other-windows-and-split)
1507         (follow-calc-win-start): Doc fix.
1508         (follow-windows-aligned-p, follow-select-if-visible): Don't call
1509         vertical-motion unnecessarily.
1510         (follow-adjust-window): New function.
1511         (follow-post-command-hook): Use it.
1512         (follow-call-set-process-filter, follow-call-process-filter)
1513         (follow-intercept-process-output, follow-tidy-process-filter-alist)
1514         (follow-stop-intercept-process-output, follow-generic-filter):
1515         Functions deleted.
1516         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1517         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1518         New functions, replacing advice on scroll-bar-* commands.
1519         (follow-mwheel-scroll): New function (Bug#4112).
1521         * comint.el (comint-adjust-point): New function.
1522         (comint-postoutput-scroll-to-bottom): Use it.
1523         Call follow-comint-scroll-to-bottom for Follow mode buffers.
1525 2012-05-01  Glenn Morris  <rgm@gnu.org>
1527         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1528         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1529         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1530         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1531         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1532         Remove no-byte-compile setting.
1534 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1536         * minibuffer.el (completion-table-with-quoting): Fix compatibility
1537         all-completions code to not return a number in the last cdr.
1539 2012-04-30  Leo Liu  <sdl.web@gmail.com>
1541         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1542         read-only error.
1544 2012-04-29  Chong Yidong  <cyd@gnu.org>
1546         * follow.el (follow-calc-win-end): Rewrite to handle partial
1547         screen lines correctly (Bug#8390).
1548         (follow-avoid-tail-recenter): Minor cleanup.
1550 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1552         Avoid the obsolete `assoc' package.
1553         * speedbar.el (speedbar-refresh): Avoid adelete.
1554         (speedbar-file-lists): Simplify and avoid aput.
1555         * man.el (Man--sections, Man--refpages): New vars, replacing
1556         Man-sections-alist and Man-refpages-alist.
1557         (Man-build-section-alist, Man-build-references-alist):
1558         Use them; avoid aput.
1559         (Man--last-section, Man--last-refpage): New vars.
1560         (Man-follow-manual-reference): Use them.
1561         Use the `default' arg of completing-read.
1562         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
1564 2012-04-27  Chong Yidong  <cyd@gnu.org>
1566         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1568         * startup.el (x-apply-session-resources): New function.
1570         * term/ns-win.el (ns-initialize-window-system):
1571         * term/w32-win.el (w32-initialize-window-system):
1572         * term/x-win.el (x-initialize-window-system): Use it to properly
1573         set menu-bar-mode and other vars from X resources, even if the
1574         initial frame is not a window-system frame (Bug#2299).
1576         * subr.el (read-key): Avoid running filter function when setting
1577         up temporary tool bar entries (Bug#9922).
1579 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
1581         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1582         (Bug#11344)
1584 2012-04-27  Chong Yidong  <cyd@gnu.org>
1586         * select.el (xselect--encode-string): New function, split from
1587         xselect-convert-to-string.
1588         (xselect-convert-to-string): Use it.
1589         (xselect-convert-to-filename, xselect-convert-to-os)
1590         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1591         returned strings are properly encoded (Bug#11315).
1593 2012-04-27  Chong Yidong  <cyd@gnu.org>
1595         * simple.el (delete-active-region): Move to killing custom group.
1597 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
1599         * progmodes/which-func.el (which-func-current): Quote %
1600         characters for mode-line processing.
1602 2012-04-27  Chong Yidong  <cyd@gnu.org>
1604         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1605         reaching eob (Bug#11286).
1607 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
1609         * progmodes/gdb-mi.el (gdb-control-level): New variable.
1610         (gdb): Make it buffer-local and init to zero.
1611         (gdb-control-commands-regexp): New variable.
1612         (gdb-send): Don't wrap in "-interpreter-exec console" if
1613         gdb-control-level is positive.  Increment gdb-control-level
1614         whenever the command matches gdb-control-commands-regexp, and
1615         decrement it each time the command is "end".  (Bug#11279)
1617 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
1619         * window.el (adjust-window-trailing-edge, enlarge-window)
1620         (shrink-window, window-resize):
1621         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1622         windows (Bug#11276).
1624 2012-04-27  Chong Yidong  <cyd@gnu.org>
1626         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1627         fix "missing prefix" warning.  All callers changed.
1629 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1631         * emacs-lisp/assoc.el: Move to obsolete/.
1633 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1635         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1637         * term/ns-win.el (ns-define-service):
1638         * progmodes/pascal.el (pascal-goto-defun):
1639         * progmodes/js.el (js--read-tab):
1640         * progmodes/etags.el (tags-lazy-completion-table):
1641         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1642         * emacs-lisp/ewoc.el (ewoc--wrap):
1643         * emacs-lisp/assoc.el (aput, adelete, amake):
1644         * doc-view.el (doc-view-convert-current-doc):
1645         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1647 2012-04-26  Chong Yidong  <cyd@gnu.org>
1649         * image.el (image-type-from-buffer): Only return supported image
1650         type (Bug#9045).
1652         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1653         value, for symmetry with diff-end-of-hunk.
1654         (diff-split-hunk, diff-find-source-location)
1655         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1656         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1657         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1658         compute the relevant hunk or file properly (Bug#6005).
1659         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1661 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1663         * vc/vc-mtn.el:
1664         * vc/vc-hg.el:
1665         * vc/vc-git.el:
1666         * vc/vc-dir.el:
1667         * vc/vc-cvs.el:
1668         * vc/vc-bzr.el:
1669         * vc/vc-arch.el:
1670         * vc/vc.el: Replace lexical-let by lexical-binding.
1671         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1672         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1673         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1675 2012-04-26  Chong Yidong  <cyd@gnu.org>
1677         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1678         (diff-mode-shared-map): Bind it to / and [remap undo].
1680         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1681         (ediff-window-setup-function): Use it as the default, to set up
1682         windows based on whether the current frame is graphical (Bug#2138).
1683         (ediff-choose-window-setup-function-automatically): Make obsolete.
1685         * vc/ediff-init.el: Always define ediff-pixel-width/height.
1687 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1689         * ffap.el: Remove old code for obsolete package.
1690         (ffap-complete-as-file-p): Remove.
1692         Use completion-table-with-quoting for comint and pcomplete.
1693         * comint.el (comint--unquote&requote-argument)
1694         (comint--unquote-argument, comint--requote-argument): New functions.
1695         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1696         (comint-quote-filename): Use regexp-opt-charset.
1697         (comint--common-suffix, comint--common-quoted-suffix)
1698         (comint--table-subvert): Remove.
1699         (comint-unquote-function, comint-requote-function): New vars.
1700         (comint--complete-file-name-data): Use them with
1701         completion-table-with-quoting.
1702         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1703         * pcomplete.el (pcomplete-arg-quote-list)
1704         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1705         (pcomplete-unquote-argument-function): Default to non-nil.
1706         (pcomplete-unquote-argument): Simplify.
1707         (pcomplete--common-quoted-suffix): Remove.
1708         (pcomplete-requote-argument-function): New var.
1709         (pcomplete--common-suffix): New function.
1710         (pcomplete-completions-at-point): Use completion-table-with-quoting
1711         and completion-table-subvert.
1713         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1714         (minibuffer--double-dollars): Preserve properties.
1715         (completion--sifn-requote): New function.
1716         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1718         * minibuffer.el: Add support for completion of quoted/escaped data.
1719         (completion-table-with-quoting, completion-table-subvert): New funs.
1720         (completion--twq-try, completion--twq-all): New functions.
1721         (completion--nth-completion): New function.
1722         (completion-try-completion, completion-all-completions): Use it.
1724 2012-04-25  Leo Liu  <sdl.web@gmail.com>
1726         * progmodes/python.el (python-pdbtrack-get-source-buffer):
1727         Use compilation-message if available to find real filename.
1729 2012-04-25  Chong Yidong  <cyd@gnu.org>
1731         * vc/diff-mode.el (diff-setup-whitespace): New function.
1732         (diff-mode): Use it.
1734         * vc/diff.el (diff-sentinel):
1735         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1736         Whitespace mode variables based on diff style (Bug#8612).
1738 2012-04-25  Leo Liu  <sdl.web@gmail.com>
1740         * progmodes/python.el (python-send-region): Add suffix .py to the
1741         temp file.
1743         * files.el (auto-mode-alist): Use javascript-mode instead.
1745 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1747         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
1749         * soap-client.el (soap-resolve-references-for-sequence-type)
1750         (soap-resolve-references-for-array-type): Hack to prevent self
1751         references, see Bug#9.
1752         (soap-parse-envelope): Report the contents of the 'detail' node
1753         when receiving a fault reply.
1754         (soap-parse-envelope): Report the contents of the entire 'detail' node.
1756         * soap-inspect.el (soap-sample-value-for-simple-type)
1757         (soap-inspect-simple-type): New function.
1759         * soap-client.el (soap-simple-type): New struct.
1760         (soap-default-xsd-types, soap-default-soapenc-types)
1761         (soap-decode-basic-type, soap-encode-basic-type):
1762         support unsignedInt and double basic types.
1763         (soap-resolve-references-for-simple-type)
1764         (soap-parse-simple-type, soap-encode-simple-type): New function.
1765         (soap-parse-schema): Parse xsd:simpleType declarations.
1767         * soap-client.el (soap-default-xsd-types)
1768         (soap-default-soapenc-types): Add integer, byte and anyURI types.
1769         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1770         the local name of "soapenc:Array".
1771         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1772         decoding integer, byte and anyURI xsd types.
1774 2012-04-25  Chong Yidong  <cyd@gnu.org>
1776         * cus-edit.el (custom-buffer-create-internal): Update header text.
1778 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
1780         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1781         settings on 'system-type', not on 'window-system'.  On MS-Windows,
1782         set interactive-mode on in GDB.
1784 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1786         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1787         (ruby-syntax-propertize-regexp): Remove.
1788         (ruby-syntax-propertize-function): Split regexp into chunks.
1789         Match following code directly.
1791 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
1793         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1794         (ruby-syntax-propertize-regexp): New function.
1795         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1796         by a special keyword.
1798         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1799         (ruby-syntax-general-delimiters-goto-beg)
1800         (ruby-syntax-propertize-general-delimiters): New functions.
1801         (ruby-syntax-propertize-function): Use them to handle GDL.
1802         (ruby-font-lock-keywords): Move old handling of GDL...
1803         (ruby-font-lock-syntactic-keywords): .. to here.
1804         (ruby-calculate-indent): Adjust indentation for GDL.
1806 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
1808         * notifications.el (top): Remove unneeded declarations.
1809         (notifications-specification-version): Change to "1.2".
1810         (notifications-interface, notifications-notify-method)
1811         (notifications-close-notification-method): Fix docstring.
1812         (notifications-get-capabilities-method): New defconst.
1813         (notifications-notify): Add :action-items, :resident and
1814         :transient hints.  Change "image_data" to "image-data" and
1815         "image_path" to "image-path".
1816         (notifications-get-capabilities): New defun.
1818 2012-04-24  Leo Liu  <sdl.web@gmail.com>
1820         * progmodes/python.el: Move hideshow setup to the end.
1822 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
1824         * window.el (handle-select-window): Clear echo area since this is
1825         no more done by read_char (Bug#11304).
1827 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1829         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1830         and `/ M' to filter-derived-mode.
1831         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1832         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1833         (ibuffer-mark-by-mode): Use default rather than initial-input.
1834         (ibuffer-filter-by-derived-mode): Autoload and require-match.
1836 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
1838         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1839         (ibuffer-filter-by-derived-mode): New filter.
1840         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1842 2012-04-23  Andreas Politz  <politza@fh-trier.de>
1844         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1846 2012-04-23  Chong Yidong  <cyd@gnu.org>
1848         * cus-edit.el (customize-apropos, customize-apropos-options):
1849         Disable matching of non-option variables (Bug#11176).
1850         (customize-option, customize-option-other-window)
1851         (customize-changed-options): Doc fix.
1852         (customize-apropos-options, customize-apropos-faces)
1853         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1855         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1856         Fix word list splitting (Bug#11132).
1857         (apropos-symbol, apropos-keybinding, apropos-label)
1858         (apropos-property, apropos-function-button)
1859         (apropos-variable-button, apropos-misc-button): New faces.
1860         (apropos-symbol-face, apropos-keybinding-face)
1861         (apropos-label-face, apropos-property-face, apropos-match-face):
1862         Variables removed (Bug#8396).
1863         (apropos-library-button, apropos-format-plist, apropos-print)
1864         (apropos-print-doc, apropos-describe-plist): Callers changed.
1866 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
1868         * net/xesam.el (xesam-mode-map): Use let-bound map in
1869         initialization.  (Bug#11292)
1871 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1873         Preserve ispell session localwords when switching back to
1874         original buffer.
1876         * ispell.el (ispell-buffer-session-localwords): New buffer-local
1877         variable to hold buffer session localwords.
1878         (ispell-kill-ispell): add option 'clear to delete session
1879         localwords.
1880         (ispell-command-loop, ispell-change-dictionary)
1881         (ispell-buffer-local-words): Preserve session localwords when
1882         needed.
1884         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1885         Preserve session localwords when needed.
1887 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1889         * ispell.el (ispell-insert-word) Remove unneeded function using
1890         obsolete `translation-table-for-input'.
1891         (ispell-word, ispell-process-line, ispell-complete-word):
1892         Use plain `insert' instead of removed `ispell-insert-word'.
1894 2012-04-22  Chong Yidong  <cyd@gnu.org>
1896         * cus-edit.el (custom-variable-menu)
1897         (custom-variable-reset-saved, custom-face-menu)
1898         (custom-face-reset-saved): If there is no saved value, make the
1899         "reset-saved" operation bring back the default (Bug#9509).
1900         (custom-face-state): Properly detect themed faces.
1902         * faces.el (face-spec-set): Stop supporting deprecated form of
1903         third arg.
1905 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
1907         Move functions from C to Lisp.  Make non-blocking method calls
1908         the default.  Implement further D-Bus standard interfaces.
1910         * net/dbus.el (dbus-message-internal): Declare function.
1911         Remove unneeded function declarations.
1912         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1913         (dbus-message-type-method-return, dbus-message-type-error)
1914         (dbus-message-type-signal): Declare variables.  Remove local
1915         definitions.
1916         (dbus-interface-dbus, dbus-interface-peer)
1917         (dbus-interface-introspectable, dbus-interface-properties)
1918         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1919         Adapt docstring.
1920         (dbus-interface-objectmanager): New defconst.
1921         (dbus-call-method, dbus-call-method-asynchronously)
1922         (dbus-send-signal, dbus-method-return-internal)
1923         (dbus-method-error-internal, dbus-register-service)
1924         (dbus-register-signal, dbus-register-method): New defuns, moved
1925         from dbusbind.c
1926         (dbus-call-method-handler, dbus-setenv)
1927         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1928         New defuns.
1929         (dbus-call-method-non-blocking): Make it an obsolete function.
1930         (dbus-unregister-object, dbus-unregister-service)
1931         (dbus-handle-event, dbus-register-property)
1932         (dbus-property-handler): Obey the new structure of
1933         `bus-registered-objects'.
1934         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
1935         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1936         Use `dbus-call-method'.
1938 2012-04-22  Chong Yidong  <cyd@gnu.org>
1940         * cus-edit.el (custom-commands, custom-reset-menu)
1941         (Custom-reset-standard): Tweak labels.
1942         (custom-reset-button-menu): Change default to t.
1943         (custom-buffer-create-internal): For the custom-reset-button-menu
1944         case, put the revert button first.
1945         (custom-group-subtitle): New face.
1946         (custom-group-value-create): Align docstring to a specific column.
1948         * wid-edit.el (widget-documentation-link-add): Don't handle
1949         indentation in this function.
1950         (widget-documentation-string-indent-to): New function.
1951         (widget-documentation-string-value-create): Use it.
1953         * autorevert.el (auto-revert):
1954         * epg-config.el (epg):
1955         * ibuffer.el (ibuffer):
1956         * mpc.el (mpc):
1957         * ses.el (ses):
1958         * eshell/eshell.el (eshell):
1959         * net/ange-ftp.el (ange-ftp):
1960         * progmodes/ebnf2ps.el (postscript):
1961         * progmodes/flymake.el (flymake):
1962         * progmodes/prolog.el (prolog):
1963         * progmodes/verilog-mode.el (verilog-mode):
1964         * progmodes/which-func.el (which-func):
1965         * term/xterm.el (xterm):
1966         * textmodes/picture.el (picture):
1967         * textmodes/tildify.el (tildify):
1968         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1969         customization buffers.
1971 2012-04-22  Alan Mackenzie  <acm@muc.de>
1973         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1974         Adding a ) can hide the resulting (..) from searches.  Fix it.
1975         Bound the backward search to the position of the existing (.
1977 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
1979         * progmodes/verilog-mode.el (verilog-mode): Check whether
1980         which-func-modes is t before adding verilog-mode.
1981         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1983 2012-04-21  Leo Liu  <sdl.web@gmail.com>
1985         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1987 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
1989         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1990         filling of the last column of a table (Bug#5635).
1991         (woman-find-next-control-line): New arg, specifying an additional
1992         regexp component for the control line.
1993         (woman2-roff-buffer): Use it.
1994         (woman-break-table): New function.
1995         (woman2-TS): Use it.
1997 2012-04-21  Chong Yidong  <cyd@gnu.org>
1999         * woman.el (woman-set-buffer-display-table, woman-decode-region)
2000         (woman-horizontal-escapes, woman-negative-vertical-space)
2001         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2002         (WoMan-warn-ignored): Use ?\s instead of ?\ .
2004 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2006         * minibuffer.el (completion-file-name-table): Complete user names.
2008 2012-04-20  Leo Liu  <sdl.web@gmail.com>
2010         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2011         and pcase-let*.
2013 2012-04-20  Chong Yidong  <cyd@gnu.org>
2015         * server.el (server-execute): Respect initial-buffer-choice if it
2016         is a string and there are no files to open (Bug#2825).
2017         (server-create-window-system-frame, server-create-tty-frame):
2018         Don't switch buffers here.
2019         (server-process-filter): Only try to open a window system frame if
2020         compiled with graphical support (Bug#8314).
2022 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
2024         * battery.el (battery-echo-area-format): Display remaining time
2025         for sysfs backend too (Bug#11269).
2026         (battery-linux-sysfs): Fix conditional for the charge.
2028 2012-04-20  Chong Yidong  <cyd@gnu.org>
2030         * progmodes/gdb-mi.el (gdb): Revert previous change.
2031         (gdb-inferior-io--init-proc): New function.
2032         (gdb-init-1): Use it.
2033         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2034         responsible for allocating a new pty and hooking it to gdb when
2035         the old pty gets an EIO due to process exit.
2036         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
2037         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2038         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2040 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
2042         * window.el (window-min-size, window-sizable, window-min-delta)
2043         (window-max-delta, window--resizable, window-resizable)
2044         (window-total-size, window-full-height-p, window-full-width-p)
2045         (window-in-direction, window--resize-mini-window, window-resize)
2046         (window--resize-child-windows-normal)
2047         (window--resize-child-windows, window--resize-siblings)
2048         (window--resize-this-window, adjust-window-trailing-edge)
2049         (enlarge-window, shrink-window): Doc fixes.
2051 2012-04-20  Chong Yidong  <cyd@gnu.org>
2053         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2054         New function to call delete-process on the gdb-inferior buffer's pty.
2055         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2056         pty process (Bug#11273).
2057         (gdb-update): New arg to suppress talking to the gdb process.
2058         (gdb-done-or-error): Use it.
2059         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2060         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2061         sentinel not being called.
2063         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2065         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2067 2012-04-20  Glenn Morris  <rgm@gnu.org>
2069         * net/network-stream.el (open-network-stream): Doc fix.
2071 2012-04-20  Chong Yidong  <cyd@gnu.org>
2073         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2075 2012-04-20  Alan Mackenzie  <acm@muc.de>
2077         Ensure searching for keywords is case sensitive.
2079         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2080         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2081         (c-defun-name, c-mark-function, c-cpp-define-name)
2082         (c-comment-indent, c-scan-conditionals, c-indent-defun)
2083         (c-context-line-break): Bind case-fold-search to nil.
2085         * progmodes/cc-mode.el (c-font-lock-fontify-region):
2086         Bind case-fold-search to nil.
2088 2012-04-20  Chong Yidong  <cyd@gnu.org>
2090         * mail/sendmail.el (mail-bury): Call return action with the right
2091         Rmail buffer (Bug#11242).
2093         * server.el (server-process-filter): Handle corner case where both
2094         tty and nowait options are present (Bug#11102).
2096 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
2098         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2099         (top level): Put into the executable the ident-style '$Id:' tag on
2100         windows-nt as well.
2102 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2104         * electric.el (electric-indent-post-self-insert-function): Check that
2105         electric-indent-mode is enabled in current buffer.
2107 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
2109         * imenu.el (imenu-progress-message): Restore; it is "used" in
2110         erc/erc-imenu.el and net/snmp-mode.el.
2112 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
2114         * avoid.el (mouse-avoidance-mode): Mark unused arg.
2115         (mouse-avoidance-nudge-mouse): Remove unused binding.
2117         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2119         * descr-text.el (describe-char):
2120         * progmodes/python.el (python-describe-symbol):
2121         Don't call `toggle-read-only', set `buffer-read-only'.
2123         * imenu.el (imenu-default-goto-function): Mark unused args.
2124         (imenu-progress-message): Remove obsolete macro; all callers changed.
2126         * subr.el (keymap-canonicalize): Remove unused binding.
2127         (read-passwd): Mark unused arg.
2129         * tutorial.el (tutorial--display-changes): Remove unused binding.
2130         (tutorial--save-tutorial-to): Remove unused variable.
2132         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2133         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2134         (package-generate-autoloads, package-menu--generate)
2135         (package-menu--find-upgrades): Remove unused bindings.
2137         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2138         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
2139         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2140         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2141         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2142         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2143         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2144         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2145         (cua-delete-char-rectangle): Mark unused args.
2146         (cua-align-rectangle): Remove unused binding.
2148         * mail/rmail.el (compilation--message->loc)
2149         (epa--find-coding-system-for-mime-charset): Declare.
2151         * net/dbus.el (dbus-register-service): Declare.
2152         (dbus-name-owner-changed-handler): Remove unused binding.
2154         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2155         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2156         (nxml-scan-backward-within): Mark unused arg.
2157         (nxml-dynamic-markup-word): Remove unused binding.
2159         * mouse.el (mouse-menu-major-mode-map):
2160         * emacs-lisp/authors.el (authors-scan-change-log)
2161         (authors-add-to-author-list):
2162         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2163         * emacs-lisp/smie.el (smie-auto-fill):
2164         * mail/sendmail.el (mail-bury):
2165         * mail/unrmail.el (unrmail):
2166         * net/tls.el (open-tls-stream):
2167         * textmodes/picture.el (picture-mouse-set-point):
2168         Remove unused bindings.
2170 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
2172         * net/tramp.el (tramp-action-password): Let-bind
2173         `enable-recursive-minibuffers' to t.
2175 2012-04-18  Sam Steingold  <sds@gnu.org>
2177         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2178         instead of 'string to accommodate values like [f11].
2179         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2180         * progmodes/gdb-mi.el: Likewise.
2182 2012-04-18  Leo Liu  <sdl.web@gmail.com>
2184         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2185         current buffer.
2186         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2187         LOCAL is nil.
2189 2012-04-18  Chong Yidong  <cyd@gnu.org>
2191         * simple.el (line-move): Use forward-line if in batch mode
2192         (Bug#11053).
2194 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
2196         * files.el (after-find-file): Do not try to add a final newline if
2197         the buffer is read-only (Bug#11156).
2199 2012-04-17  Richard Stallman  <rms@gnu.org>
2201         * mail/rmail.el (rmail-start-mail):
2202         Pass (rmail-mail-return...) for the return-action.
2203         Pass (rmail-yank-current-message...) for the yank-action.
2204         (rmail-yank-current-message): New function.
2205         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2206         (rmail-reply): Likewise.
2207         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2209         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2210         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
2211         buffer, not newbuf.
2213 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
2215         * server.el (server-ensure-safe-dir): Simplify.
2217 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2219         * emacs-lisp/smie.el: Provide smarter auto-filling.
2220         (smie-auto-fill): New function.
2221         (smie-setup): Use it.
2223         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2225 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
2227         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2228         (comment-indent): Use it.
2230 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2232         * ses.el: The overall change is to add cell renaming, that is
2233         setting fancy names for cell symbols other than name matching
2234         "\\`[A-Z]+[0-9]+\\'" regexp .
2235         (ses-localvars): Add ses--renamed-cell-symb-list.
2236         (ses-create-cell-variable): New defun.
2237         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2238         (ses-relocate-formula): Relocate formulas only for cells the
2239         symbols of which are not renamed, i.e. symbols whose names do not
2240         match regexp "\\`[A-Z]+[0-9]+\\'".
2241         (ses-relocate-all): Relocate values only for cells the symbols of
2242         which are not renamed.
2243         (ses-load): Create cells variables as the (ses-cell ...) are read,
2244         in order to check row col consistency with cell symbol name only
2245         for cells that are not renamed.
2246         (ses-replace-name-in-formula): New defun.
2247         (ses-rename-cell): New defun.
2249 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
2251         * progmodes/perl-mode.el (perl-indent-parens-as-block):
2252         New option (bug#11118).
2253         (perl-calculate-indent): Respect it.
2255 2012-04-17  Glenn Morris  <rgm@gnu.org>
2257         * dired-aux.el (dired-mark-read-string): Doc fix.
2259 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
2261         * dired-aux.el (dired-mark-read-string): Offer optional completion.
2262         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
2264 2012-04-17  Glenn Morris  <rgm@gnu.org>
2266         * mouse.el (mouse-drag-track):
2267         * speedbar.el (speedbar-frame-mode):
2268         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2270 2012-04-16  Leo Liu  <sdl.web@gmail.com>
2272         * progmodes/python.el: Trivial cleanup.
2274 2012-04-16  Glenn Morris  <rgm@gnu.org>
2276         * vc/vc.el (vc-string-prefix-p):
2277         * vc/pcvs-util.el (cvs-string-prefix-p):
2278         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2279         * mpc.el (mpc-string-prefix-p):
2280         Make all of these into obsolete aliases for string-prefix-p.
2281         Update callers.
2282         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2284         * textmodes/two-column.el: Move custom options to the start.
2285         (frame-width): Remove compat definition.
2286         (2C-associate-buffer, 2C-dissociate):
2287         Use with-current-buffer rather than save-excursion.
2288         (2C-dissociate): Force a mode-line update.
2289         (2C-autoscroll): Use ignore-errors.
2291         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2292         Autoload trivia.
2294         * emacs-lisp/cl-extra.el (*random-state*):
2295         Remove unnecessary declaration.
2297         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2299         * play/cookie1.el (cookie-snarf):
2300         Give an explicit error if input file cannot be read.
2302         * play/yow.el (yow-file): Use expand-file-name rather than concat.
2304         * progmodes/perl-mode.el (c-macro-expand):
2305         Remove unnecessary autoload (it is in loaddefs.el).
2307         * textmodes/picture.el (picture-desired-column)
2308         (picture-update-desired-column): Convert comments to doc-strings.
2309         (picture-substitute): Remove function.
2310         (picture-mode-map): Initialize in the defvar.
2312         * woman.el: Remove eval-after-load for tar-mode.
2313         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2314         (woman-tar-extract-file): Autoload it.
2316         * frame.el (automatic-hscrolling): Make this alias obsolete.
2318 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2320         * ispell.el (ispell-set-spellchecker-params): Post-process
2321         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2322         (ispell-dictionary-base-alist): Revert to original XEmacs
2323         friendly version for default.  [:alpha:] will be added in
2324         `ispell-set-spellchecker-params' if needed
2326 2012-04-16  Chong Yidong  <cyd@gnu.org>
2328         * image.el (imagemagick--extension-regexp): New variable.
2329         (imagemagick-register-types): Use it.
2330         (imagemagick-types-inhibit): Add :set function.  Allow new value
2331         of t to inhibit all types.
2333         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2334         so we can preload it.
2336         * loadup.el (fboundp): Preload regexp-opt, needed by
2337         imagemagick-register-types.
2339 2012-04-15  Chong Yidong  <cyd@gnu.org>
2341         * frame.el (scrolling): Remove nearly unused customization group.
2343         * scroll-all.el (scroll-all-mode): Move to windows group.
2345 2012-04-15  Chong Yidong  <cyd@gnu.org>
2347         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2349 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2351         Avoid the use of ((lambda ...) ...) in lexical-binding code.
2352         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2354 2012-04-15  Glenn Morris  <rgm@gnu.org>
2356         * simple.el (process-file-side-effects): Doc fix.
2358 2012-04-15  Glenn Morris  <rgm@gnu.org>
2360         * international/mule-cmds.el (set-language-environment): Doc fix.
2362 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
2364         * server.el (server-auth-key, server-generate-key): Doc fixes.
2365         (server-get-auth-key): Doc fix.  Use `string-match-p'.
2366         (server-start): Reflow docstring.
2368 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
2370         * server.el (server-generate-key): `called-interactively-p'
2371         requires a parameter.
2373 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
2375         * server.el (server-auth-key): New variable.
2376         (server-generate-key, server-get-auth-key): New function.
2377         (server-start): Use the new variable and functions to allow
2378         setting a permanent server key (bug#9423).
2380 2012-04-14  Leo Liu  <sdl.web@gmail.com>
2382         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2384 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
2386         Spelling fixes.
2387         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2388         Emacs uses American spelling.
2390 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
2392         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2393         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
2394         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2395         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
2397 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2399         * progmodes/which-func.el (which-func-modes): Change default.
2401 2012-04-14  Kim F. Storm  <storm@cua.dk>
2403         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2404         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2406 2012-04-14  Chong Yidong  <cyd@gnu.org>
2408         * custom.el (custom-theme-set-variables): Doc fix.
2410 2012-04-14  Glenn Morris  <rgm@gnu.org>
2412         * international/mule.el (set-auto-coding-for-load): Doc fix.
2414 2012-04-14  Alan Mackenzie  <acm@muc.de>
2416         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2417         imenu work again for Objective C Mode.  Correct the *-index values,
2418         these having been disturbed by a previous change in 2011-08.
2420         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2421         Correct two search limits.
2423 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2425         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2427 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
2429         * international/characters.el: Fix sorting.
2431 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2433         * international/characters.el: Add more missing Latin case pairs.
2435 2012-04-14  Glenn Morris  <rgm@gnu.org>
2437         * files.el (dir-locals-set-class-variables): Doc fix.
2439 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2441         * international/characters.el: Add set-case-syntax-pair call for
2442         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2443         counterpart.  (Bug#11209)
2445         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
2447 2012-04-14  Glenn Morris  <rgm@gnu.org>
2449         * calendar/holidays.el (calendar-check-holidays): Doc fix.
2451 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2453         * textmodes/ispell.el (ispell-dictionary-base-alist):
2454         Add data for Hebrew.
2456 2012-04-14  Chong Yidong  <cyd@gnu.org>
2458         * net/rcirc.el (rcirc-cmd-quit):
2459         Revert 2012-03-18 change (Bug#11192).
2461 2012-04-14  Glenn Morris  <rgm@gnu.org>
2463         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2465 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2467         * minibuffer.el (completion-in-region-mode-map):
2468         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
2470 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
2472         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2474 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
2476         * minibuffer.el (minibuffer-local-filename-syntax): New variable
2477         to allow `C-M-f' and `C-M-b' to move to the nearest path
2478         separator (bug#9511).
2480 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
2482         * avoid.el: Require cl when compiling.  And also move the
2483         `provide' to the end.
2485 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2487         * avoid.el (mouse-avoidance-banish-position): New variable.
2488         (mouse-avoidance-banish-destination): Use it (bug#10165).
2490 2012-04-13  Leo Liu  <sdl.web@gmail.com>
2492         * progmodes/which-func.el (which-func-modes): Add objc-mode.
2494 2012-04-13  Ken Brown  <kbrown@cornell.edu>
2496         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2497         this is no longer needed now that cygstart understands file:// URLs.
2498         (browse-url-filename-alist): For the same reason, don't modify
2499         file:// URLs on Cygwin.
2501 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2503         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2504         the region on shift if the binding is already shifted (bug#11221).
2506 2012-04-12  Glenn Morris  <rgm@gnu.org>
2508         * mail/mailpost.el: Move to obsolete/.
2510 2012-04-12  Drew Adams  <drew.adams@oracle.com>
2512         * imenu.el (imenu--generic-function): Ignore invisible definitions
2513         (bug#10123).
2515 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
2517         * hexl.el (hexl-bits): New variable.
2518         (hexl-options): Mention the variable in the doc string.
2519         (hexl-rulerise, hexl-line-displen): New functions.
2520         (hexl-mode): Mention the new variable.
2521         (hexl-mode, hexl-current-address, hexl-current-address):
2522         Use the displen.
2523         (hexl-ascii-start-column): New function.
2524         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2525         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2527 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2529         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2530         '("-i" ENCODING), in 2 separate command-line arguments, to specify
2531         the encoding, as expected by hunspell.
2533 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2535         * battery.el (battery--linux-sysfs-regexp): New const.
2536         (battery-status-function): Use it.  Remove yeeloong special case.
2537         (battery-yeeloong-sysfs): Remove.
2538         (battery-echo-area-format): Remove yeeloong special case.
2540 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2542         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2543         Reported by Noah Friedman.
2545         * subr.el (read-passwd): Use read-string.
2547 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2549         * vcursor.el (vcursor-move): Increase the priority of the overlay
2550         (bug#9663).
2552 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2554         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2555         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2557 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
2559         * textmodes/artist.el (artist-mode): Convert artist-mode to use
2560         define-minor-mode (bug#10760).
2562 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
2564         * progmodes/grep.el (rgrep): Tweak the find command line so
2565         that directories matching `grep-find-ignored-files' won't be
2566         pruned (bug#10351).
2568 2012-04-11  Chong Yidong  <cyd@gnu.org>
2570         * startup.el (command-line): Remove support for long-obsolete
2571         variable font-lock-face-attributes.
2573 2012-04-11  Glenn Morris  <rgm@gnu.org>
2575         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2577 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2579         * window.el (window--state-get-1): Obey window-point-insertion-type.
2581 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
2583         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2584         to previous function when point is on the first character of a
2585         function.  Take care of that in `narrow-to-defun' (bug#6157).
2587 2012-04-11  Glenn Morris  <rgm@gnu.org>
2589         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2590         not just file-errors.
2592         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2593         (vc-bzr-sha1): Use internal sha1.
2595 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2597         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2599 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
2601         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2602         that start in the middle of the line (bug#10496).
2604 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
2606         * battery.el (battery-linux-proc-acpi): Only one battery is
2607         discharged at a time, but that seems to confuse battery.el when
2608         computing `rate-type' for the battery not being discharged
2609         (bug#10332).
2611 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2613         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2615         * international/quail.el: Use dolist and simplify.
2616         (quail-define-package, quail-update-keyboard-layout)
2617         (quail-define-rules): Use dolist.
2618         (quail-insert-kbd-layout, quail-get-translation): CSE.
2620         * tmm.el: Use dolist, remove left over hook.
2621         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2622         Use dolist.
2623         (calendar-load-hook): Don't mess with it.
2625         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2626         Use derived-mode-p.  Run the diff asynchronously.
2628 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2630         * obsolete/mouse-sel.el: Add an Obsolete-since header.
2632 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
2634         * misc.el: Display absolute path of loaded DLLs (bug#10424).
2635         (list-dynamic-libraries--loaded): New function.
2636         (list-dynamic-libraries--refresh): Use it.
2638 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
2640         * progmodes/python.el (python-fill-paragraph):
2641         Make python-fill-region in a multiline string work when font-lock is
2642         disabled (bug#7018).
2644 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
2646         * language/european.el (cp775): Add oem/legacy (en)coding on
2647         DOS/MS Windows for the Baltic languages.  There are still plenty
2648         of texts written in this encoding/codepage (bug#6519).
2650 2012-04-10  Glenn Morris  <rgm@gnu.org>
2652         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2653         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2655 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
2657         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2658         next-line "n" and previous-line "p" in order to make recentf more
2659         consistent with ibuffer, dired or org-mode (bug#9387).
2661 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2663         * image.el (put-image): Return the overlay created instead of the
2664         optional input string (bug#7834).  Note that this may break code
2665         that is (for some reason or other) depending on `put-image'
2666         returning the string.
2668         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2670         * simple.el (zap-to-char): Allow zapping using input methods
2671         (bug#1580).
2673         * textmodes/fill.el (fill-region): Leave point and mark where they
2674         were before filling (bug#5399).
2676 2012-04-09  Glenn Morris  <rgm@gnu.org>
2678         * version.el (emacs-bzr-get-version):
2679         Handle lightweight checkouts of local branches.
2681 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
2683         * international/characters.el: Recover lost case pairs.  (Bug#11209)
2685 2012-04-09  Chong Yidong  <cyd@gnu.org>
2687         * custom.el (custom-variable-p): Return nil for non-symbol
2688         arguments instead of signaling an error.
2689         (user-variable-p): Obsolete alias for custom-variable-p.
2691         * apropos.el (apropos-variable):
2692         * files-x.el (read-file-local-variable):
2693         * simple.el (set-variable):
2694         * woman.el (woman-mini-help):
2695         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2697 2012-04-09  Glenn Morris  <rgm@gnu.org>
2699         * startup.el (normal-top-level): Don't look for leim-list.el
2700         in places where it will not be found.  (Bug#910)
2702         * international/mule-cmds.el (set-default-coding-systems):
2703         * files.el (normal-mode):
2704         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
2705         This function was removed with ucs-tables.el in 2008.
2707 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
2709         * textmodes/ispell.el (ispell-check-version): For hunspell, set
2710         ispell-encoding8-command to "-i", without a trailing space.
2711         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2712         separate command-line arguments, to specify the encoding, since
2713         that's how hunspell expects it.
2715 2012-04-08  Glenn Morris  <rgm@gnu.org>
2717         * loadup.el: Load bindings before cus-start.
2718         This reduces somewhat the number of "rogue" settings in emacs -Q.
2720 2012-04-07  Glenn Morris  <rgm@gnu.org>
2722         * version.el (emacs-bzr-get-version): New function.
2723         (emacs-bzr-version): New variable.
2724         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
2725         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2727 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
2729         * international/uni-bidi.el, international/uni-category.el:
2730         * international/uni-combining.el, international/uni-decimal.el:
2731         * international/uni-decomposition.el, international/uni-digit.el:
2732         * international/uni-lowercase.el, international/uni-mirrored.el:
2733         * international/uni-name.el, international/uni-numeric.el:
2734         * international/uni-titlecase.el, international/uni-uppercase.el:
2735         Update for Unicode 6.1.
2737 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
2739         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2741 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2743         * window.el (shrink-window): Mention the `window-min-height'
2744         variable in the doc string.
2746 2012-04-05  Bastien Guerry  <bzg@altern.org>
2748         * color.el (color-lighten-name): Fix typo.
2750 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2752         * server.el (server--on-display-p): New function.
2753         (server--on-display-p): Use it.
2755 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
2757         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2758         (bug#11145).
2760 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2762         * comint.el (comint--common-quoted-suffix): Check string boundary
2763         before comparing (bug#11158).
2764         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2766 2012-04-04  Chong Yidong  <cyd@gnu.org>
2768         * minibuffer.el (completion-extra-properties): Doc fix.
2770         * subr.el (delayed-warnings-hook): Doc fix.
2772 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
2774         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2775         selection (Bug#11159).
2776         (epa-insert-keys): Inform that the default public key will be
2777         exported if no key is selected.
2779 2012-04-04  Richard Stallman  <rms@gnu.org>
2781         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2783 2012-04-03  Chong Yidong  <cyd@gnu.org>
2785         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2786         mail-insert-file, not its obsolete alias mail-attach-file.
2788 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
2790         * notifications.el (notifications-notify): Fix docstring.
2792 2012-04-02  Glenn Morris  <rgm@gnu.org>
2794         * emacs-lisp/authors.el (authors-aliases): Another addition.
2796 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
2798         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2799         `tramp-compat-call-process' instead of `tramp-local-call-process'.
2800         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2802 2012-04-01  Chong Yidong  <cyd@gnu.org>
2804         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2805         Handle root directory properly.
2806         (copy-directory): Caller changed.
2808         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2809         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2811 2012-03-31  Glenn Morris  <rgm@gnu.org>
2813         * term/xterm.el (xterm-extra-capabilities): Doc fix.
2815         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
2817         * calendar/calendar.el (calendar-window-list)
2818         (calendar-hide-window): Restore.  (Bug#11140)
2819         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2821         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2823 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2825         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2826         Check if file is a symlink (Bug#10489).
2828         * files.el (copy-directory): Likewise.
2830 2012-03-30  Chong Yidong  <cyd@gnu.org>
2832         * image.el (imagemagick-types-inhibit)
2833         (imagemagick-register-types): Doc fix.
2835 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2837         * ispell.el (ispell-get-extended-character-mode):
2838         Disable extended-char-mode for hunspell.  hunspell does not support it
2839         and treats ~word as ordinary words in pipe mode.
2841 2012-03-30  Glenn Morris  <rgm@gnu.org>
2843         * tutorial.el (help-with-tutorial): Ensure local variables don't
2844         happen to make the buffer read-only.  (Bug#11127)
2846 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2848         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2849         (perl-calculate-indent): Return `noindent' in strings.
2851 2012-03-28  Sam Steingold  <sds@gnu.org>
2853         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2854         instead of the broken adhockery which does not prevent calendar
2855         buffers from being displayed at random after exit.
2856         (calendar-window-list, calendar-hide-window): Remove the broken
2857         adhockery.
2859 2012-03-28  Glenn Morris  <rgm@gnu.org>
2861         * replace.el (query-replace-map): Doc fix.
2863 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
2865         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2866         contents.  (Bug#11109)
2868 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2870         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2871         (bug#11077).
2872         (avl-tree--check, avl-tree--check-node): New funs.
2874 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
2876         * window.el (switch-to-visible-buffer): New option.
2877         (switch-to-prev-buffer, switch-to-next-buffer):
2878         Observe switch-to-visible-buffer.  Make sure that checking for a window
2879         showing a buffer already is done on the same frame.
2881 2012-03-27  Glenn Morris  <rgm@gnu.org>
2883         * startup.el (mail-host-address): Doc fix.
2885 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2887         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2888         than 197 variables.
2890 2012-03-26  Ami Fischman  <ami@fischman.org>
2892         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2894 2012-03-26  Glenn Morris  <rgm@gnu.org>
2896         * files.el (save-buffers-kill-emacs): Doc fix.
2898         * startup.el (normal-top-level, command-line, command-line-1):
2899         Give them doc strings.
2901 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
2903         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2904         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2906 2012-03-25  Chong Yidong  <cyd@gnu.org>
2908         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2909         theme if it was previously enabled before (Bug#11031).
2911         * cus-theme.el (custom-theme-write-faces): Retrieve current face
2912         spec with custom-face-get-current-spec if its :shown-value is not
2913         determined yet (Bug#9337).
2914         (customize-create-theme, custom-theme-revert): Doc fixes.
2916         * button.el (button-at): Minor addition to docstring.
2918 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
2920         * vc/vc.el (vc-merge): Fix a prompt.
2922 2012-03-24  Chong Yidong  <cyd@gnu.org>
2924         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2925         point (Bug#9623).
2927         * button.el (button-at): Minor addition to docstring.
2929 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2931         * newcomment.el (comment-choose-indent): No space after BOL.
2933 2012-03-22  Sam Steingold  <sds@gnu.org>
2935         * window.el (switch-to-prev-buffer): Revert last patch because the
2936         bug turned out to be an advertised feature (Elisp manual 28.14).
2938 2012-03-22  Glenn Morris  <rgm@gnu.org>
2940         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
2941         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2943 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2945         * net/network-stream.el (network-stream-open-starttls): Make error
2946         message under Windows be less misleading.
2948 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
2950         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2951         understands (bug#9942).
2953 2012-03-22  Chong Yidong  <cyd@gnu.org>
2955         * simple.el (end-of-visible-line): Handle return value of
2956         next-single-property-change properly (Bug#9371).
2958 2012-03-22  Kenichi Handa  <handa@m17n.org>
2960         * international/quail.el (quail-insert-kbd-layout): Fix previous
2961         change.  To avoid unwanted bidi reordering, use
2962         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2964 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
2966         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2967         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2968         (ruby-beginning-of-indent): Be more careful with the difference
2969         between word-boundary and symbol boundary.
2970         (ruby-mode-syntax-table): Make : a symbol constituent.
2972 2012-03-21  Andreas Politz  <politza@fh-trier.de>
2974         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2976 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2978         * progmodes/etags.el (tags-completion-at-point-function):
2979         Improve last fix.
2981         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2983 2012-03-21  Sam Steingold  <sds@gnu.org>
2985         * progmodes/etags.el (tags-completion-at-point-function):
2986         Avoid the error when point is inside the pattern.
2988 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
2990         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2991         line (Bug#10855).
2993 2012-03-21  Drew Adams  <drew.adams@oracle.com>
2995         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2997 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
2999         * ido.el (ido-set-current-directory, ido-read-internal)
3000         (ido-choose-completion-string, ido-completion-help): Handle nil
3001         value of ido-completion-buffer (Bug#11008).
3003 2012-03-21  Sam Steingold  <sds@gnu.org>
3005         * window.el (switch-to-prev-buffer): Do not switch to a visible
3006         window previous buffer, just like with the frame previous buffers.
3008 2012-03-21  Chong Yidong  <cyd@gnu.org>
3010         * faces.el (make-face, make-empty-face, copy-face):
3011         * face-remap.el (face-remap-add-relative, face-remap-set-base):
3012         Doc fixes.
3014 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3016         * wid-edit.el (widget-complete-field): Remove (bug#11051).
3017         (widget-complete): Remove broken use of it.
3019 2012-03-20  Chong Yidong  <cyd@gnu.org>
3021         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3022         Use string-width and truncate-string-width to handle arbitrary
3023         characters.
3025 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
3027         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3028         to draw rectangles, not squares.  (Regression introduced by revno
3029         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3031 2012-03-18  Chong Yidong  <cyd@gnu.org>
3033         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3034         it is not yet defined (for temacs).
3036 2012-03-18  Leo Liu  <sdl.web@gmail.com>
3038         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3040 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
3042         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3043         (ispell-choices-win-default-height, ispell-silently-savep)
3044         (ispell-dictionary-alist, ispell-encoding8-command)
3045         (ispell-check-version, ispell-aspell-find-dictionary)
3046         (ispell-valid-dictionary-list, ispell-words-keyword)
3047         (ispell-get-word, ispell-internal-change-dictionary)
3048         (ispell-region, ispell-skip-region-list)
3049         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3050         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3051         (ispell-message-text-end, ispell-message)
3052         (ispell-buffer-local-parsing): Doc fix.
3054 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
3056         * htmlfontify.el: Add support for code block fontification for ODT
3057         export (Bug #9914).
3058         (hfy-optimisations): Define new option
3059         `body-text-only'
3060         (hfy-fontify-buffer): Honor above setting.
3061         (hfy-begin-span, hfy-end-span): New routines factored out form
3062         `hfy-fontify-buffer'.
3063         (hfy-begin-span-handler, hfy-end-span-handler): New variables
3064         that permit insertion of custom tags.
3065         (hfy-fontify-buffer): Use above handlers.
3066         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3067         (hfy-face-to-css): Re-defined to be a variable.
3068         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
3069         over multiple runs.  This is made possible by having the caller let
3070         bind a special variable `hfy-user-sheet-assoc'.
3071         (htmlfontify-string): New defun.
3072         (hfy-compile-face-map): Make sure that the last char in the
3073         buffer is correctly fontified.
3074         (hfy-face-resolve-face): Whitespace only change.
3076 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
3078         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3079         message more clear.
3081 2012-03-16  Leo Liu  <sdl.web@gmail.com>
3083         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3085 2012-03-16  Alan Mackenzie  <acm@muc.de>
3087         Further optimise the handling of large macros.
3089         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3090         limit to a call of `c-literal-limits'.
3091         (c-determine-+ve-limit): New function.
3092         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3093         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3094         In CASE 5B, restrict a search limit to 500.
3095         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3097         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3098         Restrict macro bounds to +-500 from after-change's BEG END.
3100 2012-03-16  Leo Liu  <sdl.web@gmail.com>
3102         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3104 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
3106         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3107         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
3109 2012-03-16  Glenn Morris  <rgm@gnu.org>
3111         * view.el (view-buffer, view-buffer-other-window)
3112         (view-buffer-other-frame): Doc fixes re special mode-class.
3114         * subr.el (eval-after-load): If named feature is provided not from
3115         a file, run after-load forms.  (Bug#10946)
3117         * calendar/calendar.el (calendar-insert-at-column):
3118         Handle non-unit-width characters a bit better.  (Bug#10978)
3120 2012-03-15  Chong Yidong  <cyd@gnu.org>
3122         * emacs-lisp/ring.el (ring-extend): New function.
3123         (ring-insert+extend): Extend the ring correctly (Bug#11019).
3125         * comint.el (comint-read-input-ring)
3126         (comint-add-to-input-history): Grow comint-input-ring lazily.
3128 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3130         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3131         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3133         * imenu.el: Fix multiple inheritance breakage (bug#9199).
3134         (imenu-add-to-menubar): Don't add a redundant index.
3135         (imenu-update-menubar): Handle a dynamically composed keymap.
3137 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
3139         * mail/sendmail.el (mail-encode-header):
3140         Bind rfc2047-encode-encoded-words to nil.
3142 2012-03-13  Glenn Morris  <rgm@gnu.org>
3144         * calendar/calendar.el (calendar-string-spread):
3145         Handle non-unit-width characters a bit better.  (Bug#10978)
3147 2012-03-13  Leo Liu  <sdl.web@gmail.com>
3149         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3150         directory and file as argument (Bug#10822).
3152 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
3154         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3155         For dynamically generated code, follow $PC.
3156         (gdb-disassembly-handler-custom): Handle no function name case.
3158 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
3160         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3161         * emulation/ws-mode.el (ws-query-replace):
3162         * sort.el (sort-regexp-fields):
3163         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
3165 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3167         * dabbrev.el: Fix cycle completion order (bug#10963).
3168         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3169         (dabbrev-completion): Don't use an obarray; provide
3170         a cycle-sort-function.
3172 2012-03-12  Leo Liu  <sdl.web@gmail.com>
3174         * simple.el (kill-new): Use equal-including-properties for comparison.
3175         (kill-do-not-save-duplicates): Doc fix.
3177 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3179         * dabbrev.el: Fix cycle completion (bug#10963).
3180         Use lexical binding and wrap to 80 columns.
3181         (dabbrev-completion): Delay computing the list of completions.
3183 2012-03-12  Kenichi Handa  <handa@m17n.org>
3185         * international/quail.el (quail-insert-kbd-layout): Surround each
3186         row by LRO and PDF instead of inserting many LRMs.  Pad the left
3187         and right of each non-spacing marks.  Insert invisible space
3188         between lower and upper characters to prevent composition.
3190 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3192         * minibuffer.el (minibuffer-complete): Don't get confused when the
3193         function is run twice via different commands (bug#10958).
3194         (complete-with-action): Fix docstring.
3196 2012-03-12  Chong Yidong  <cyd@gnu.org>
3198         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3199         (nxml-completion-at-point-function): New function.
3200         (nxml-mode): Use it.
3201         (nxml-bind-meta-tab-to-complete-flag): Default to t.
3203         * emacs-lisp/package.el (package-unpack, package-unpack-single):
3204         Load generated autoloads file before byte compiling (Bug#10970).
3205         (package--make-autoloads-and-compile): New helper fun.
3207 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
3209         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3211 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
3213         * autorevert.el (auto-revert-handler): Ensure, that
3214         file-readable-p is applied only for local files or in
3215         auto-revert-tail-mode.
3217 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
3219         * server.el (server-eval-at): Handle non-tcp connections.
3220         Decode result string.
3222         * server.el (server-msg-size): New constant.
3223         (server-reply-print): New function.
3224         (server-eval-and-print): Use it.
3225         (server-eval-at): Use server-quote-arg and server-unquote-arg.
3226         Handle -print-nonl.
3228 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
3230         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3231         (Bug#10987).
3233 2012-03-11  Chong Yidong  <cyd@gnu.org>
3235         * simple.el (goto-line): Doc fix (Bug#9938).
3237         * subr.el (save-window-excursion): Doc fix (Bug#9979).
3239         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3240         when finished (Bug#10963).
3242 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
3244         * window.el (split-window-below): Fix bug in case where
3245         split-window-keep-point is nil (Bug#10971).
3247 2012-03-11  Juri Linkov  <juri@jurta.org>
3249         * replace.el (replace-highlight): Set isearch-word to nil
3250         unconditionally.  (Bug#10887)
3252 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
3254         * net/mairix.el (mairix-replace-invalid-chars): Rename from
3255         mairix-replace-illegal-chars; all callers changed.  Don't remove
3256         ^, ~, and = characters: they are meaningful in mairix search specs.
3257         (mairix-widget-create-query): Add usage information about mairix
3258         search forms: negating words, searching for substrings, etc.
3260 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
3262         * international/fontset.el (font-encoding-alist): Add an entry for
3263         ksx1001 (Bug#5667).
3265 2012-03-10  Richard Stallman  <rms@gnu.org>
3267         * mail/sendmail.el (mail-encode-header):
3268         Set rfc2047-encode-encoded-words.
3270         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3272         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3273         view buffer means not swapped.
3274         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3275         (rmail-write-region-annotate): Error if real text has disappeared.
3277         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3279 2012-03-10  Chong Yidong  <cyd@gnu.org>
3281         * emulation/cua-rect.el (cua--init-rectangles):
3282         * emulation/cua-base.el (cua--init-keymaps):
3283         Add delete-forward-char to remappings (Bug#9666).
3285 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
3287         * speedbar.el (speedbar-unhighlight-one-tag-line):
3288         Avoid unhighlighting due to frame switching (Bug#10275).
3290 2012-03-10  Chong Yidong  <cyd@gnu.org>
3292         * minibuffer.el (completion-in-region, completion-help-at-point):
3293         Give the completion field overlay a high priority (Bug#6830).
3295         * dired.el (dired-goto-file): Recognize absolute file name
3296         listings (Bug#7126).
3297         (dired-goto-file-1): New helper function.
3298         (dired-toggle-read-only): Inhibit warnings.
3300 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
3302         * net/dbus.el (dbus-property-handler): Return empty array if
3303         there are no properties.
3305 2012-03-09  Leo Liu  <sdl.web@gmail.com>
3307         * savehist.el (savehist-printable): Stricter check for string
3308         value (Bug#10937).
3310 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
3312         * mail/smtpmail.el (smtpmail-send-it):
3313         Bind coding-system-for-write to *-unix, so that FCC files are kept in
3314         valid mbox format.
3316 2012-03-09  Glenn Morris  <rgm@gnu.org>
3318         * files.el (dir-locals-find-file):
3319         Don't check result is regular, readable.
3320         (dir-locals-read-from-file): Demote errors.
3322 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
3324         * international/quail.el (quail-insert-kbd-layout):
3325         Insert invisible LRM characters before each character in a keyboard
3326         layout cell, to prevent their reordering by bidi display engine.
3327         For details, see the discussion in
3328         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3330 2012-03-08  Alan Mackenzie  <acm@muc.de>
3332         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3333         the starting position; make it extend the marked region when
3334         invoked repeatedly - all under appropriate circumstances.
3335         Fixes bugs #5525, #10906.
3337 2012-03-08  Glenn Morris  <rgm@gnu.org>
3339         * files.el (locate-dominating-file, dir-locals-find-file):
3340         Undo 2012-03-06 change.
3342 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
3344         * international/quail.el (quail-help):
3345         Force bidi-paragraph-direction be left-to-right.  See discussion in
3346         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3347         for the reason.
3349 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
3351         Avoid superfluous registering of signals.  (Bug#10807)
3353         * notifications.el (notifications-on-action-object)
3354         (notifications-on-close-object): New defvars.
3355         (notifications-on-action-signal, notifications-on-closed-signal):
3356         Unregister the signal if not needed any longer.
3357         (notifications-notify): Register `notifications-action-signal' or
3358         `notifications-closed-signal', if :on-action or :on-close has been
3359         passed as argument.
3361 2012-03-07  Chong Yidong  <cyd@gnu.org>
3363         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3364         non-X platforms.
3366 2012-03-06  Glenn Morris  <rgm@gnu.org>
3368         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3369         (x-disown-selection-internal, x-get-selection-internal):
3370         Doc fix (add arglist signatures).  (Bug#10783)
3372 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
3374         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3375         Handle breakpoints with no "type".
3377 2012-03-06  Glenn Morris  <rgm@gnu.org>
3379         * files.el (locate-dominating-file): Add optional predicate argument.
3380         (dir-locals-find-file): Make use of above change.
3382 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
3384         * info.el (Info-insert-dir): Also try "dir.gz".
3386 2012-03-06  Glenn Morris  <rgm@gnu.org>
3388         * files.el (dir-locals-find-file):
3389         Ignore non-readable or non-regular files.  (Bug#10928)
3391         * files.el (locate-dominating-file): Doc fix.
3393 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
3395         * calendar/calendar.el (calendar-set-mode-line):
3396         `getenv' returns a string.  (Bug#10951)
3398 2012-03-05  Leo Liu  <sdl.web@gmail.com>
3400         * simple.el (backward-delete-char-untabify): Constrain point to
3401         field (Bug#10939).
3403         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3405 2012-03-05  Chong Yidong  <cyd@gnu.org>
3407         * simple.el (count-words): If called from Lisp, return the word
3408         count, for symmetry with `count-lines'.  Arglist changed.
3409         (count-words--message): Args changed.  Consolidate counting code
3410         from count-words and count-words-region.
3411         (count-words-region): Caller changed.
3412         (count-lines-region): Make it an obsolete alias.
3414 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
3416         * saveplace.el (save-place-to-alist)
3417         (save-place-ignore-files-regexp): Allow value nil to disable this
3418         feature.
3420 2012-03-04  Chong Yidong  <cyd@gnu.org>
3422         * faces.el (face-spec-reset-face): For the default face, reset the
3423         attributes to default values (Bug#10748).
3425 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3427         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3428         previous patch: Check `message-send-mail-function', and not the
3429         default function (bug#10897).
3431 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
3433         * notifications.el (notifications-on-action-signal)
3434         (notifications-on-closed-signal): Check for unique service name of
3435         incoming event.  Fix error in removing entry.
3436         (top): Register for signals with wildcard service name.
3437         (notifications-notify): Use daemon unique service name for map entries.
3439 2012-03-04  Chong Yidong  <cyd@gnu.org>
3441         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3443 2012-03-04  Glenn Morris  <rgm@gnu.org>
3445         * abbrev.el (copy-abbrev-table, abbrev-table-p)
3446         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3447         (expand-abbrev, define-abbrev-table): Doc fixes.
3449 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3451         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3452         `message-default-send-mail-function' and not `send-mail-function'
3453         when doing the prompting for `sendmail-query-once' before sending
3454         in Message buffers (bug#10897).
3456         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3457         This is inconsistent with all the other stream functions, which leave
3458         the setting up to the higher levels (if so wanted) (bug#10931).
3460 2012-03-02  Alan Mackenzie  <acm@muc.de>
3462         Depessimize the handling of very large macros.
3464         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3465         (c-macro-cache-syntactic): New variables to implement a one
3466         element macro cache.
3467         (c-invalidate-macro-cache): New function.
3468         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3469         Adapt to use the new cache.
3470         (c-state-safe-place): Use better the cache of safe positions.
3471         (c-state-semi-nonlit-pos-cache)
3472         (c-state-semi-nonlit-pos-cache-limit):
3473         New variables for...
3474         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
3475         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3476         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3477         Use c-state-semi-safe-place.
3479         * progmodes/cc-langs.el (c-get-state-before-change-functions):
3480         Add c-invalidate-macro-cache to the C, C++, Obj entries.
3482 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
3484         * jka-compr.el (jka-compr-call-process):
3485         Apply `file-accessible-directory-p' only when the default directory is
3486         not remote.
3488 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
3490         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
3491         access of FILE2, if FILE1 does not exist.
3493         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3494         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3496         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3497         Add "PAGER=" to `process-environment'.
3499 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
3501         * progmodes/sql.el: Bug fix
3502         (sql-get-login-ext): Save login values in globals.
3503         (sql-get-login): Use new version of `sql-get-login-ext'.
3504         (sql-interactive-mode): Set global `sql-connection' to nil.
3505         (sql-connect): Set global values for connection.
3506         (sql-product-interactive): Save global values as buffer local.
3508 2012-02-29  Leo Liu  <sdl.web@gmail.com>
3510         * abbrev.el (define-abbrevs): Reset sys to nil.
3512 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3514         * files.el (file-equal-p): Rename from `files-equal-p'.
3515         Return nil when one or both files don't exist.
3516         (file-subdir-of-p): Now only top directory must exists,
3517         return nil if it doesn't.
3518         (copy-directory): No need to test with `file-subdir-of-p' after
3519         creating dir.
3520         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3521         to `file-equal-p'.
3523 2012-02-28  Glenn Morris  <rgm@gnu.org>
3525         * shell.el (shell-mode):
3526         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3527         * play/landmark.el (landmark-font-lock-face-O):
3528         * play/handwrite.el (handwrite):
3529         * play/gomoku.el (gomoku-O):
3530         * net/browse-url.el (browse-url-browser-display):
3531         * international/mule.el (define-charset):
3532         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3533         * filesets.el (filesets-find-file-delay):
3534         * eshell/em-xtra.el (eshell-xtra):
3535         * eshell/em-unix.el (eshell-grep):
3536         * emulation/viper.el (viper-mode):
3537         * emacs-lisp/regexp-opt.el (regexp-opt-group):
3538         * emacs-lisp/easymenu.el (easy-menu-define):
3539         * calendar/timeclock.el (timeclock-use-display-time):
3540         * bs.el (bs-mode):
3541         * bookmark.el (bookmark-save-flag):
3542         Doc fix (standardize possessive apostrophe usage).
3544 2012-02-27  Chong Yidong  <cyd@gnu.org>
3546         * emulation/viper-cmd.el (viper-intercept-ESC-key):
3547         Fix key-binding lookup for ESC key (Bug#9146).
3549         * font-lock.el (font-lock-specified-p): Rename from
3550         font-lock-spec-present.  Callers changed.
3552 2012-02-27  Daniel Hackney  <dan@haxney.org>
3554         * emacs-lisp/package.el (package-compute-transaction):
3555         Handle holding a package version to t in package-load-list.
3557 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
3559         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3560         (tramp-get-inode, tramp-get-device): Use cached values.
3562 2012-02-26  Alan Mackenzie  <acm@muc.de>
3564         Check there is a font-lock specification before doing initial
3565         fontification.
3567         * font-core.el (font-lock-mode): Move the conditional from
3568         :after-hook to font-lock-initial-fontify.
3569         (font-lock-default-function): Move the check for a specification
3570         to font-lock-spec-present.
3572         * font-lock.el (font-lock-initial-fontify): Call ...
3573         (font-lock-spec-present): New function.
3575 2012-02-26  Jim Blandy  <jimb@red-bean.com>
3577         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3578         (gdb-send): Apply it to the operand of the '-interpreter-exec
3579         console' command, so that we can pass arguments with (say) quotes
3580         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
3582 2012-02-26  Chong Yidong  <cyd@gnu.org>
3584         * help-fns.el (describe-function-1): Clarify description of
3585         remapping (Bug#10844).
3587         * files.el (files-equal-p): Doc fix.
3588         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
3589         and quit the loop once a mismatch is found.
3591 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
3593         * bs.el (bs--show-with-configuration): Don't throw an error
3594         if the window cannot be split; otherwise, subsequent calls to
3595         bs-show fail, restoring a stale window config.  (Bug#10882)
3597 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
3599         * term/ns-win.el (global-map): Bind ns-drag-file to
3600         ns-find-file (Bug#5855, Bug#10050).
3602 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
3604         * calendar/parse-time.el (parse-time-string): Allow extractor to
3605         return nil.
3607 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
3609         * net/tramp.el (tramp-file-name-for-operation):
3610         Add `files-equal-p' and `file-subdir-of-p'.
3612         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3613         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3614         Add COPY-CONTENTS argument.
3616 2012-02-25  Chong Yidong  <cyd@gnu.org>
3618         Add custom groups for VC backends, for consistency with vc-bzr.
3620         * vc/vc-arch.el (vc-arch):
3621         * vc/vc-cvs.el (vc-cvs):
3622         * vc/vc-git.el (vc-git):
3623         * vc/vc-hg.el (vc-hg):
3624         * vc/vc-mtn.el (vc-mtn):
3625         * vc/vc-rcs.el (vc-rcs):
3626         * vc/vc-sccs.el (vc-sccs):
3627         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3628         All relevant defcustoms reassigned.
3630 2012-02-25  Chong Yidong  <cyd@gnu.org>
3632         * newcomment.el (comment-styles): Add autoload (Bug#10868).
3634         * term/x-win.el (x-initialize-window-system): Reduce default for
3635         x-selection-timeout to 5 seconds (Bug#8869).
3637 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3639         * files.el (files-equal-p, file-subdir-of-p): New functions.
3640         (copy-directory): Error when trying to copy a directory on itself.
3641         Add missing copy-contents arg to tramp handler.
3642         * dired-aux.el (dired-copy-file-recursive): Same.
3643         (dired-create-files): Modify destination when source is equal to
3644         dest when copying files.
3645         Return also when dest is a subdir of source.  (Bug#10489)
3647 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
3649         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3650         (Bug#10874)
3652 2012-02-23  Alan Mackenzie  <acm@muc.de>
3654         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3655         parameter "after-hook:" to allow the expansion to run code after
3656         the execution of the mode hooks.
3658         * font-lock.el (font-lock-initial-fontify): New function extracted
3659         from font-lock-mode-internal.
3661         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3662         :after-hook.
3664 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3666         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3667         (completion--cache-all-sorted-completions): New function.
3668         (completion-all-sorted-completions): Use it.
3669         (completion--do-completion, minibuffer-force-complete):
3670         Use it to re-instate the flush hook.
3672         * icomplete.el (icomplete-completions): Replace last fix with a better
3673         one (bug#10850).
3675 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
3677         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3678         when it might call us back infinitely (bug#10797).
3680 2012-02-23  Glenn Morris  <rgm@gnu.org>
3682         * minibuffer.el (completion-category-overrides): Doc fix.
3684 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3686         * minibuffer.el (completion-table-with-context): Fix inf-loop.
3687         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3689 2012-02-23  Glenn Morris  <rgm@gnu.org>
3691         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3692         (authors-obsolete-files-regexps, authors-ignored-files)
3693         (authors-ambiguous-files, authors-renamed-files-alist):
3694         Add more entries.
3696 2012-02-23  Juri Linkov  <juri@jurta.org>
3698         * isearch.el (isearch-occur): Sync interactive spec with occur's
3699         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
3701         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3703 2012-02-22  Juri Linkov  <juri@jurta.org>
3705         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3706         (ucs-insert): Doc fix.  Check for hex digits in the string.
3707         Don't display `nil' in the error message.  (Bug#10857)
3709 2012-02-22  Alan Mackenzie  <acm@muc.de>
3711         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3713 2012-02-22  Glenn Morris  <rgm@gnu.org>
3715         * ffap.el (ffap-c-path):
3716         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
3718 2012-02-22  Chong Yidong  <cyd@gnu.org>
3720         * custom.el (load-theme): Doc fix.
3722 2012-02-22  Glenn Morris  <rgm@gnu.org>
3724         * dired-x.el (dired-guess-shell-alist-default):
3725         Remove escape sequences from nroff output.  (Bug#172)
3727 2012-02-21  Glenn Morris  <rgm@gnu.org>
3729         * vc/emerge.el (emerge-defvar-local):
3730         Set `permanent-local' property rather than unused `preserved'.
3732         * textmodes/picture.el (picture-delete-char): New alias.
3733         (picture-mode-map): Use it.  (Bug#10860)
3734         (picture-mode): Doc fix.
3736 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
3738         * newcomment.el (uncomment-region-default): Remove unused binding.
3740 2012-02-21  Glenn Morris  <rgm@gnu.org>
3742         * textmodes/picture.el (picture-motion, picture-motion-reverse)
3743         (picture-self-insert, picture-tab-chars): Doc fix.
3744         (picture-mode-map): Fix C-a, C-e.
3746 2012-02-20  Glenn Morris  <rgm@gnu.org>
3748         * emacs-lisp/authors.el (authors-aliases): Add another entry.
3750 2012-02-20  Leo Liu  <sdl.web@gmail.com>
3752         * icomplete.el (icomplete-completions): Check FROM arg before
3753         passing to substring (Bug#10850).
3755 2012-02-19  Chong Yidong  <cyd@gnu.org>
3757         * comint.el: Require ansi-color.
3758         (comint-output-filter-functions): Add ansi-color-process-output.
3760         * ansi-color.el: Don't set comint-output-filter-functions; it is
3761         now in the initial value defined in comint.el.
3762         (ansi-color-apply-face-function): New variable.
3763         (ansi-color-apply-on-region): Use it.
3764         (ansi-color-apply-overlay-face): New function.
3766         * shell.el (shell): No need to require ansi-color.
3767         (shell-mode): Use ansi-color-apply-face-function to highlight
3768         color escapes using font-lock-face property (Bug#10835).
3770 2012-02-19  Chong Yidong  <cyd@gnu.org>
3772         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3773         mode-line formats (Bug#10839).
3775 2012-02-18  Glenn Morris  <rgm@gnu.org>
3777         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3779         * mail/undigest.el (unforward-rmail-message): Doc fix.
3781         * saveplace.el (save-place-ignore-files-regexp): Add :version.
3783 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
3785         * international/characters.el (script-list): Sync with the latest
3786         Unicode Character Database.
3788 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
3790         * international/titdic-cnv.el: Remove duplicate coding tag.
3791         * language/cham.el: Likewise.
3792         * language/tai-viet.el: Likewise.
3794 2012-02-18  Glenn Morris  <rgm@gnu.org>
3796         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3797         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3798         (calendar-bahai-all-holidays-flag, calendar-other-dates):
3799         * calendar/diary-lib.el (diary-abbreviated-year-flag):
3800         * calendar/holidays.el (holiday-bahai-holidays)
3801         (calendar-holidays, list-holidays):
3802         Use utf-8 Bahá'í in doc-strings, menus, etc.
3804 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
3806         * saveplace.el (save-place-ignore-files-regexp): New variable
3807         allowing for excluding files from saving their location of point.
3808         The default value matches the temporary commit message editing
3809         files from Git, SVN, Bazaar, and Mercurial.
3810         (save-place-to-alist): Use it.
3812 2012-02-17  Lawrence Mitchell <wence@gmx.li>
3813             Stefan Monnier  <monnier@iro.umontreal.ca>
3815         * newcomment.el (uncomment-region-default): Don't leave extra space
3816         when an arg is provided (bug#8150).
3818 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
3820         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3822 2012-02-17  Glenn Morris  <rgm@gnu.org>
3824         * net/socks.el: Require network-stream.  (Bug#10599)
3826 2012-02-17  Kenichi Handa  <handa@m17n.org>
3828         * international/charprop.el:
3829         * international/uni-name.el:
3830         * international/uni-old-name.el:
3831         * international/uni-comment.el: Regenerate.
3833 2012-02-16  Glenn Morris  <rgm@gnu.org>
3835         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3836         Interactively in calendar buffer, give an error if not on a date.
3838 2012-02-15  Glenn Morris  <rgm@gnu.org>
3840         * shell.el (shell-delimiter-argument-list):
3841         Revert 2011-02-17 change.  (Bug#8027)
3843 2012-02-15  Chong Yidong  <cyd@gnu.org>
3845         * minibuffer.el (completion-at-point-functions): Doc fix.
3847         * custom.el (defcustom): Doc fix; note use of defvar.
3849 2012-02-15  Glenn Morris  <rgm@gnu.org>
3851         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3852         Doc fixes.
3854 2012-02-14  Glenn Morris  <rgm@gnu.org>
3856         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3858 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
3860         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3861         way the ports list is computed.
3862         (smtpmail-query-smtp-server): Prompt the user for a port number if
3863         we can't connect to any of the standard ports (bug#10810).
3865 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
3867         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3869 2012-02-13  Glenn Morris  <rgm@gnu.org>
3871         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
3873 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
3875         * net/gnutls.el (gnutls-trustfiles): New variable.
3876         (gnutls-negotiate): Use it.
3878 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
3880         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3881         does its stuff if Gnus is running.
3883 2012-02-13  Alan Mackenzie  <acm@muc.de>
3885         Fix a loop in c-set-fl-decl-start.
3887         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3888         c-backward-syntactic-ws actually moves backwards.
3890 2012-02-13  Leo Liu  <sdl.web@gmail.com>
3892         * net/rcirc.el (rcirc-markup-attributes): Move point to the
3893         beginning so that all \C-o chars are removed.
3895 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
3897         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3899 2012-02-12  Alan Mackenzie  <acm@muc.de>
3901         Fix infinite loop with long macros.
3902         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3904 2012-02-12  Chong Yidong  <cyd@gnu.org>
3906         * window.el (display-buffer): Doc fix (Bug#10785).
3908 2012-02-12  Glenn Morris  <rgm@gnu.org>
3910         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3911         (x-disown-selection-internal, x-get-selection-internal):
3912         Sync docs with the xselect.c versions.
3914         * allout-widgets.el: Add missing license notice.
3916 2012-02-11  Glenn Morris  <rgm@gnu.org>
3918         * select.el (x-get-selection-internal, x-own-selection-internal)
3919         (x-disown-selection-internal):
3920         * x-dnd.el (x-get-selection-internal): Update declarations.
3922         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3924         * window.el (window-sides-slots):
3925         * tool-bar.el (tool-bar-position):
3926         * term/xterm.el (xterm-extra-capabilities):
3927         * ses.el (ses-self-reference-early-detection):
3928         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3929         (verilog-auto-wire-type)
3930         (verilog-auto-delete-trailing-whitespace)
3931         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3932         (verilog-auto-tieoff-declaration):
3933         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3934         (sql-oracle-statement-starters, sql-oracle-scan-on):
3935         * progmodes/prolog.el (prolog-align-comments-flag)
3936         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3937         (prolog-left-indent-regexp, prolog-paren-indent-p)
3938         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3939         (prolog-types, prolog-mode-specificators)
3940         (prolog-determinism-specificators, prolog-directives)
3941         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3942         (prolog-electric-dot-flag)
3943         (prolog-electric-dot-full-predicate-template)
3944         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3945         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3946         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3947         (prolog-program-switches, prolog-prompt-regexp)
3948         (prolog-debug-on-string, prolog-debug-off-string)
3949         (prolog-trace-on-string, prolog-trace-off-string)
3950         (prolog-zip-on-string, prolog-zip-off-string)
3951         (prolog-use-standard-consult-compile-method-flag)
3952         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3953         (prolog-imenu-max-lines, prolog-info-predicate-index)
3954         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3955         (prolog-char-quote-workaround):
3956         * progmodes/cc-vars.el (c-defun-tactic):
3957         * net/tramp.el (tramp-encoding-command-interactive)
3958         (tramp-local-end-of-line):
3959         * net/soap-client.el (soap-client):
3960         * net/netrc.el (netrc-file):
3961         * net/gnutls.el (gnutls):
3962         * minibuffer.el (completion-category-overrides)
3963         (completion-cycle-threshold)
3964         (completion-pcm-complete-word-inserts-delimiters):
3965         * man.el (Man-name-local-regexp):
3966         * mail/feedmail.el (feedmail-display-full-frame):
3967         * international/characters.el (glyphless-char-display-control):
3968         * eshell/em-ls.el (eshell-ls-date-format):
3969         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3970         (lisp-lambda-list-keyword-parameter-indentation)
3971         (lisp-lambda-list-keyword-parameter-alignment):
3972         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3973         * dired-x.el (dired-omit-verbose):
3974         * cus-theme.el (custom-theme-allow-multiple-selections):
3975         * calc/calc.el (calc-highlight-selections-with-faces)
3976         (calc-lu-field-reference, calc-lu-power-reference)
3977         (calc-note-threshold):
3978         * battery.el (battery-mode-line-limit):
3979         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3980         (archive-7z-update):
3981         * allout.el (allout-prefixed-keybindings)
3982         (allout-unprefixed-keybindings)
3983         (allout-inhibit-auto-fill-on-headline)
3984         (allout-flattened-numbering-abbreviation):
3985         * allout-widgets.el (allout-widgets-auto-activation)
3986         (allout-widgets-icons-dark-subdir)
3987         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3988         (allout-widgets-theme-dark-background)
3989         (allout-widgets-theme-light-background)
3990         (allout-widgets-item-image-properties-emacs)
3991         (allout-widgets-item-image-properties-xemacs)
3992         (allout-widgets-run-unit-tests-on-load)
3993         (allout-widgets-time-decoration-activity)
3994         (allout-widgets-hook-error-post-time)
3995         (allout-widgets-track-decoration):
3996         Add missing :version tags to new defcustoms and defgroups.
3998         * progmodes/sql.el (sql-ansi-statement-starters)
3999         (sql-oracle-statement-starters): Add custom type.
4001         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4002         (prolog-system-version): Give it a type.
4004 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
4006         * term/pc-win.el (x-select-text, x-selection-owner-p)
4007         (x-own-selection-internal, x-disown-selection-internal)
4008         (x-get-selection-internal): Sync doc strings and argument lists
4009         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
4011 2012-02-11  Leo Liu  <sdl.web@gmail.com>
4013         * progmodes/python.el (python-end-of-statement): Fix infinite
4014         loop.  (Bug#10788)
4016 2012-02-10  Glenn Morris  <rgm@gnu.org>
4018         * international/mule-cmds.el (unify-8859-on-encoding-mode)
4019         (unify-8859-on-decoding-mode): Properly mark as obsolete.
4021 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
4023         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4024         about SMTP before checking the From header.
4026         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4027         into own function for reuse by emacsbug.el.
4029 2012-02-10  Leo Liu  <sdl.web@gmail.com>
4031         * subr.el (condition-case-unless-debug): Rename from
4032         condition-case-no-debug.  All callers changed.
4033         (with-demoted-errors): Fix caller.
4035         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4036         * nxml/rng-valid.el (rng-do-some-validation):
4037         * emacs-lisp/package.el (package-refresh-contents)
4038         (package-menu-execute):
4039         * desktop.el (desktop-create-buffer):
4040         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4042 2012-02-10  Glenn Morris  <rgm@gnu.org>
4044         * textmodes/bibtex.el:
4045         Add missing :version tags for new/changed defcustoms.
4047         * files.el (remote-file-name-inhibit-cache): Doc fixes.
4049 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
4051         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4052         (smtpmail-via-smtp): Use it, or fall back on the From address.
4053         (smtpmail-send-it): Ditto.
4055 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4057         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4058         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
4059         (byte-compile-tmp-var): New const.
4060         (byte-compile-defvar): Use it to minimize .elc size.
4061         Just use `defvar' rather than simulate it (bug#10761).
4063 2012-02-09  Glenn Morris  <rgm@gnu.org>
4065         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
4067         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4068         Add :version tags.
4070         * progmodes/compile.el (compilation-error-screen-columns)
4071         (compilation-first-column, compilation-filter-start): Doc fixes.
4073         * vc/log-view.el (log-view-toggle-entry-display):
4074         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4076         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4077         (report-emacs-bug-can-use-xdg-email):
4078         (report-emacs-bug-insert-to-mailer): Doc fixes.
4079         (report-emacs-bug): Message fix.
4081         * net/browse-url.el (browse-url-can-use-xdg-open)
4082         (browse-url-xdg-open): Doc fixes.
4084         * electric.el (electric-indent-mode, electric-pair-mode)
4085         (electric-layout-rules, electric-layout-mode): Doc fixes.
4086         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4088 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
4090         * server.el (server-unselect-display): Don't inadvertently kill
4091         the current buffer.  (Bug#10729)
4093 2012-02-08  Glenn Morris  <rgm@gnu.org>
4095         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4096         (sql-list-table): Doc fixes.
4098         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4099         Comment out (does nothing).
4101         * completion.el (dynamic-completion-mode):
4102         * dirtrack.el (dirtrack-debug-mode):
4103         * electric.el (electric-layout-mode):
4104         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4105         * face-remap.el (text-scale-mode, buffer-face-mode):
4106         * iimage.el (iimage-mode):
4107         * image-mode.el (image-transform-mode):
4108         * minibuffer.el (completion-in-region-mode):
4109         * scroll-lock.el (scroll-lock-mode):
4110         * simple.el (next-error-follow-minor-mode):
4111         * tar-mode.el (tar-subfile-mode):
4112         * tooltip.el (tooltip-mode):
4113         * vcursor.el (vcursor-use-vcursor-map):
4114         * wid-browse.el (widget-minor-mode):
4115         * emulation/tpu-edt.el (tpu-edt-mode):
4116         * emulation/tpu-extras.el (tpu-cursor-free-mode):
4117         * international/iso-ascii.el (iso-ascii-mode):
4118         * language/thai-util.el (thai-word-mode):
4119         * mail/supercite.el (sc-minor-mode):
4120         * net/goto-addr.el (goto-address-mode):
4121         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4122         * progmodes/cwarn.el (cwarn-mode):
4123         * progmodes/flymake.el (flymake-mode):
4124         * progmodes/glasses.el (glasses-mode):
4125         * progmodes/hideshow.el (hs-minor-mode):
4126         * progmodes/pascal.el (pascal-outline-mode):
4127         * textmodes/enriched.el (enriched-mode):
4128         * vc/smerge-mode.el (smerge-mode):
4129         Doc fixes (minor mode argument).
4131 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
4133         * ls-lisp.el (ls-lisp-sanitize): New function.
4134         (ls-lisp-insert-directory): Use it to fix or remove any elements
4135         in file-alist with missing attributes.  (Bug#4673)
4137 2012-02-07  Alan Mackenzie  <acm@muc.de>
4139         Fix spurious recognition of c-in-knr-argdecl.
4141         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4142         putative K&R region.
4144 2012-02-07  Alan Mackenzie  <acm@muc.de>
4146         * progmodes/cc-engine.el (c-forward-objc-directive):
4147         Prevent looping in "#pragma mark @implementation".
4149 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
4151         * notifications.el (notifications-on-closed-signal): Make `reason'
4152         optional.  (Bug#10744)
4154 2012-02-07  Glenn Morris  <rgm@gnu.org>
4156         * emacs-lisp/easy-mmode.el (define-minor-mode):
4157         Doc fixes for the macro and the mode it defines.
4159         * image.el (imagemagick-types-inhibit): Doc fix.
4161         * cus-start.el (imagemagick-render-type): Add it.
4163 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
4165         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4166         Set the default at load time, too, so that `font-lock-fontify-buffer'
4167         can be called without setting up the entire mode first.  This fixes
4168         a bug in `mm-inline-text' with C MIME parts.
4170 2012-02-06  Chong Yidong  <cyd@gnu.org>
4172         * simple.el (list-processes--refresh): Delete exited processes
4173         (Bug#8094).
4175         * comint.el (comint-next-prompt): next-single-char-property-change
4176         and prev-single-char-property-change never return nil (Bug#8657).
4178         * custom.el (defcustom): Doc fix (Bug#9711).
4180 2012-02-05  Chong Yidong  <cyd@gnu.org>
4182         * cus-edit.el (custom-variable-reset-backup): Quote the value
4183         before storing it in the customized-value property (Bug#6712).
4184         (custom-display): Add a customization type tag.
4185         (custom-buffer-create-internal): Improve tooltip message.
4187         * wid-edit.el (widget-field-value-get): New optional arg to
4188         suppress trailing whitespace truncation.
4189         (character): Use it (Bug#2689).
4191 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
4193         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4194         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4196 2012-02-05  Chong Yidong  <cyd@gnu.org>
4198         * cus-edit.el (custom-variable-value-create): For mismatched
4199         types, show the current value (Bug#7600).
4201         * custom.el (defcustom): Doc fix.
4203 2012-02-05  Glenn Morris  <rgm@gnu.org>
4205         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4207 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
4209         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4210         (pp-buffer): Use `ignore-errors', `looking-at-p'.
4211         (pp-last-sexp): Use `looking-at-p'.
4213 2012-02-04  Glenn Morris  <rgm@gnu.org>
4215         * files.el (revert-buffer):
4216         Doc fix (mention revert-buffer-in-progress-p).
4218         * emacs-lisp/ert-x.el (ert-simulate-command):
4219         Check deferred-action-list (which is obsolete) is bound.
4221         * subr.el (with-wrapper-hook): Doc fixes.
4223         * simple.el (filter-buffer-substring-functions)
4224         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4226 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
4228         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4229         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
4231 2012-02-04  Leo Liu  <sdl.web@gmail.com>
4233         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4235 2012-02-04  Glenn Morris  <rgm@gnu.org>
4237         * image.el (image-extension-data): Add obsolete alias.
4239         * isearch.el (isearch-update): Doc fix.
4241         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4243         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4245 2012-02-03  Glenn Morris  <rgm@gnu.org>
4247         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
4248         (image-animate-timeout): Doc fix.
4250         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4252 2012-02-02  Glenn Morris  <rgm@gnu.org>
4254         * server.el (server-auth-dir): Doc fix.
4255         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
4257         * subr.el (run-mode-hooks): Doc fix.
4259 2012-02-02  Juri Linkov  <juri@jurta.org>
4261         * image-mode.el (image-toggle-display-image): Remove tautological
4262         `major-mode' from the `derived-mode-p' test.
4264 2012-02-02  Kenichi Handa  <handa@m17n.org>
4266         * composite.el (compose-region): Cancel previous change.
4268 2012-02-02  Kenichi Handa  <handa@m17n.org>
4270         * composite.el (compose-region, compose-string): Signal error for
4271         a null string component (Bug#6988).
4273 2012-02-01  Chong Yidong  <cyd@gnu.org>
4275         * view.el (view-buffer-other-window, view-buffer-other-frame):
4276         Handle special modes like view-buffer (Bug#10650).
4277         (view-buffer): Simplify.
4279         * frame.el (set-frame-font): Tweak meaning of third argument.
4281         * dynamic-setting.el (font-setting-change-default-font):
4282         Use set-frame-font (Bug#9982).
4284 2012-02-01  Glenn Morris  <rgm@gnu.org>
4286         * progmodes/compile.el (compilation-internal-error-properties):
4287         Respect compilation-first-column in the "*compilation*" buffer.
4289         * emacs-lisp/easy-mmode.el (define-minor-mode):
4290         Relax :variable's test for a named function.
4292 2012-01-31  Alan Mackenzie  <acm@muc.de>
4294         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4295         off by one error.
4297 2012-01-31  Chong Yidong  <cyd@gnu.org>
4299         * frame.el (set-frame-font): New arg ALL-FRAMES.
4301         * menu-bar.el (menu-set-font): Use set-frame-font.
4303         * faces.el (face-spec-reset-face): Don't apply unspecified
4304         attribute values to the default face.
4306 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
4308         * progmodes/cwarn.el (cwarn): Remove dead link.
4309         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4310         Remove * from defcustom docstrings.
4311         (turn-on-cwarn-mode): Make obsolete.
4312         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4313         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4315 2012-01-31  Glenn Morris  <rgm@gnu.org>
4317         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4318         Fix :variable handling of mode a symbol not equal to modefun.
4319         Allow named functions to be used as the cdr of :variable.
4321 2012-01-30  Glenn Morris  <rgm@gnu.org>
4323         * emacs-lisp/authors.el (authors-fixed-entries):
4324         Remove reference to deleted file rnewspost.el.
4326 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
4328         * window.el (window-with-parameter): Remove unused variable `windows'.
4329         (window--side-check): Remove unused variable `code'.
4330         (window--resize-siblings): Remove unused variable `first'.
4331         (adjust-window-trailing-edge): Remove unused variable `failed'.
4332         (window-deletable-p, window--delete): Remove unused variable `buffer'.
4333         Use `let', not `let*'.
4334         (balance-windows-2): Remove unused variable `found'.
4335         (window--state-put-2): Remove unused variable `splits'.
4336         (window-state-put): Remove unused variable `selected'.
4337         (same-window-p): Use `string-match-p'.
4338         (display-buffer-assq-regexp): Remove unused variable `value'.
4339         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4340         Mark argument ALIST as ignored.
4341         (pop-to-buffer): Remove unused variable `old-window'.
4343 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
4345         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4346         and .lzma compressed files.
4348 2012-01-29  Chong Yidong  <cyd@gnu.org>
4350         * frame.el (window-system-default-frame-alist): Doc fix.
4352         * dynamic-setting.el (font-setting-change-default-font): Don't
4353         change the default face if SET-FONT argument is non-nil (Bug#9982).
4355 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
4357         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4359 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
4361         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4362         breakpoints in files outside current directory (Bug#6098).
4364 2012-01-29  Chong Yidong  <cyd@gnu.org>
4366         * progmodes/python.el: Require ansi-color at top-level.
4368         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4369         Define and use in Emacs Lisp mode (Bug#9360).
4370         (lisp-mode-abbrev-table): Add doc.
4371         (lisp-mode-variables): Don't set local-abbrev-table.
4372         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4374 2012-01-28  Roland Winkler  <winkler@gnu.org>
4376         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4378 2012-01-28  Roland Winkler  <winkler@gnu.org>
4380         * textmodes/bibtex.el (bibtex-entry-alist): New function.
4381         (bibtex-set-dialect): Use it.  Either set global values of
4382         dialect-dependent variables or bind these variables buffer-locally
4383         (Bug#10254).
4384         (bibtex-mode): Call bibtex-set-dialect via
4385         hack-local-variables-hook.
4386         (bibtex-dialect): Update docstring.
4387         Add safe-local-variable predicate.
4388         (bibtex-entry-alist, bibtex-field-alist): Initialize via
4389         bibtex-set-dialect.
4390         (bibtex-mode-map): Define menu for each dialect.
4391         (bibtex-entry): Fix docstring.
4393 2012-01-28  Chong Yidong  <cyd@gnu.org>
4395         * eshell/esh-arg.el (eshell-quote-argument): New function.
4397         * eshell/esh-ext.el (eshell-invoke-batch-file):
4398         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4399         first arg to eshell-parse-command (Bug#10523).
4401 2012-01-28  Drew Adams  <drew.adams@oracle.com>
4403         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4404         `default-directory' is non-nil.
4406 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
4408         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4409         line that displays system-configuration-options.  (Bug#9924)
4411 2012-01-28  Drew Adams  <drew.adams@oracle.com>
4413         * descr-text.el (describe-char): Show information about POS, in
4414         addition to information about the character at POS.  Improve and
4415         update the doc string.  Change "code point" to "code point in
4416         charset", to avoid confusion with the character's Unicode code
4417         point shown above that.  (Bug#10129)
4419 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
4421         * descr-text.el (describe-char): Show the raw character, not only
4422         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
4423         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4424         for the reasons.
4426 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
4428         * emacs-lisp/package.el (package-install):
4429         Run package-refresh-contents if there is no archive yet (Bug#9798).
4431 2012-01-28  Chong Yidong  <cyd@gnu.org>
4433         * emacs-lisp/package.el (package-maybe-load-descriptor):
4434         New function, split from package-maybe-load-descriptor.
4435         (package-maybe-load-descriptor): Use it.
4436         (package-download-transaction): Fully load required packages
4437         inside the loop, so that `require' calls work (Bug#10593).
4438         (package-install): No need to call package-initialize now.
4440 2012-01-28  Chong Yidong  <cyd@gnu.org>
4442         * simple.el (deactivate-mark): Doc fix (Bug#8614).
4444         * tooltip.el (tooltip-mode): Doc fix.
4445         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4447         * frame.el (set-cursor-color): Doc fix (Bug#352).
4449         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4450         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4452         * cus-edit.el (custom-buffer-create-internal): Fix search button
4453         action (Bug#10542).
4454         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4456 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
4458         * dired.el (dired-mark-files-regexp):
4459         Include any subdirectory components.  (Bug#10445)
4461 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
4463         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4464         Handle [host]:port syntax.  (Bug#10533)
4466 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
4468         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4470 2012-01-26  Glenn Morris  <rgm@gnu.org>
4472         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4473         * term.el (term-raw-escape-map): Use Control-X-prefix.
4474         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
4476 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
4478         * window.el (window-state-get, window--state-get-1): Don't deal
4479         with fixed-sizeness of windows.  Simplify code.
4481 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
4483         * window.el (window--state-get-1, window--state-put-2):
4484         Don't save and restore the mark.
4486 2012-01-25  Chong Yidong  <cyd@gnu.org>
4488         * custom.el (custom-variable-p): Doc fix.
4490 2012-01-25  Glenn Morris  <rgm@gnu.org>
4492         * dired.el (dired-goto-file): Handle some of the more common
4493         characters that `ls -b' escapes.  (Bug#10596)
4495         * progmodes/compile.el (compilation-next-error-function):
4496         Respect compilation-first-column in the "*compilation*" buffer.
4497         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
4499         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
4501 2012-01-24  Glenn Morris  <rgm@gnu.org>
4503         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
4505 2012-01-24  Julien Danjou  <julien@danjou.info>
4507         * color.el (color-rgb-to-hsl): Fix value computing.
4508         (color-hue-to-rgb): New function.
4509         (color-hsl-to-rgb): New function.
4510         (color-clamp, color-saturate-hsl, color-saturate-name)
4511         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4512         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4514 2012-01-24  Glenn Morris  <rgm@gnu.org>
4516         * vc/vc-rcs.el (vc-rcs-create-tag):
4517         * vc/vc-sccs.el (vc-sccs-create-tag):
4518         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
4520 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
4522         * eshell/esh-util.el (eshell-read-hosts-file):
4523         Skip comment lines.  (Bug#10549)
4525         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
4527 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
4529         * subr.el (display-delayed-warnings): Doc fix.
4530         (collapse-delayed-warnings): New function to collapse identical
4531         adjacent warnings.
4532         (delayed-warnings-hook): Add it.
4534 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
4536         * net/tramp.el (tramp-action-login): Set connection property "login-as".
4538         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4539         properties, when "login-as" is set.
4541         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4542         (tramp-default-user-alist): Don't add "pscp".
4543         (tramp-do-copy-or-rename-file-out-of-band): Use connection
4544         property "login-as", if set.  (Bug#10530)
4546 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
4548         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4549         "plink1" and "psftp".  (Bug#10530)
4551 2012-01-21  Kenichi Handa  <handa@m17n.org>
4553         * international/mule-cmds.el (prefer-coding-system): Show a
4554         warning message if the default value of file-name-coding-system
4555         was not changed.
4557 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
4559         * windmove.el (windmove-reference-loc):
4560         Fix windmove-reference-loc miscalculation.
4562 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
4564         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4565         default unit.
4567 2012-01-21  Glenn Morris  <rgm@gnu.org>
4569         * international/mule.el (auto-coding-alist): Add .tbz.
4571         * files.el (local-enable-local-variables): Doc fix.
4572         (inhibit-local-variables-regexps): Rename from
4573         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
4574         Doc fix.  Add some extensions from auto-coding-alist.
4575         (inhibit-local-variables-suffixes):
4576         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
4577         (inhibit-local-variables-p):
4578         New function, extracted from set-auto-mode-1.
4579         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
4580         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
4581         (hack-local-variables): Doc fix.  Make the mode-only case
4582         respect enable-local-variables and friends.
4583         Respect inhibit-local-variables-regexps for file-locals, but
4584         not for directory-locals.
4585         (set-visited-file-name):
4586         Take account of inhibit-local-variables-regexps.
4587         Whether it applies may change as the file name is changed.
4588         * jka-cmpr-hook.el (jka-compr-install):
4589         * jka-compr.el (jka-compr-uninstall):
4590         Update for inhibit-first-line-modes-suffixes name change.
4592 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
4594         * help-macro.el (make-help-screen): Temporarily restore original
4595         binding for minor-mode-map-alist (Bug#10454).
4597 2012-01-19  Julien Danjou  <julien@danjou.info>
4599         * color.el (color-name-to-rgb): Use the white color to find the max
4600         color component value and return correctly computed values.
4601         (color-name-to-rgb): Add missing float conversion for max value.
4603 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
4605         * window.el (window--state-get-1, window-state-get): Do not use
4606         special state value for window-persistent-parameters.
4607         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
4608         (window--state-put-2): Reset all window parameters to nil before
4609         assigning values of persistent parameters.
4611 2012-01-18  Alan Mackenzie  <acm@muc.de>
4613         Eliminate sluggishness and hangs in fontification of "semicolon
4614         deserts".
4616         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4617         Change value 10000 -> 3000.
4618         (c-state-safe-place): Reformulate so it doesn't stack up an
4619         infinite number of wrong entries in c-state-nonlit-pos-cache.
4620         (c-determine-limit-get-base, c-determine-limit): New functions to
4621         determine backward search limits disregarding literals.
4622         (c-find-decl-spots): Amend commenting.
4623         (c-cheap-inside-bracelist-p): New function which detects "={".
4625         * progmodes/cc-fonts.el
4626         (c-make-font-lock-BO-decl-search-function): Give a limit to a
4627         backward search.
4628         (c-font-lock-declarations): Fix an occurrence of point being
4629         undefined.  Check additionally for point being in a bracelist or
4630         near a macro invocation without a semicolon so as to avoid a
4631         fruitless time consuming search for a declarator.  Give a more
4632         precise search limit for declarators using the new
4633         c-determine-limit.
4635 2012-01-18  Glenn Morris  <rgm@gnu.org>
4637         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4638         (set-auto-mode): Doc fixes.
4640 2012-01-17  Glenn Morris  <rgm@gnu.org>
4642         * isearch.el (search-nonincremental-instead): Fix doc typo.
4644         * dired.el (dired-insert-directory): Handle newlines in directory name.
4645         (dired-build-subdir-alist): Unescape newlines in directory name.
4647 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
4649         * net/tramp.el (tramp-local-end-of-line): New defcustom.
4650         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4651         (tramp-action-terminal): Use it.  (Bug#10530)
4653 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4655         * minibuffer.el (completion--replace): Strip properties (bug#10062).
4657 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
4659         * window.el (window-state-ignored-parameters): Remove variable.
4660         (window--state-get-1): Rename argument MARKERS to IGNORE.
4661         Handle persistent window parameters.  Make copy of clone-of
4662         parameter only if requested.  (Bug#10348)
4663         (window--state-put-2): Install a window parameter only if it has
4664         a non-nil value or an existing parameter shall be overwritten.
4666 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
4668         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4670 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
4672         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4673         don't pass the (nil) value of `upnode' to string-match.
4675 2012-01-14  Chong Yidong  <cyd@gnu.org>
4677         * startup.el (command-line): Fix X resource class for cursorColor.
4678         Fix values recognized by the cursorBlink resource.
4680 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
4682         * epg.el (epg--make-temp-file): Avoid permission race condition
4683         when running on old Emacs versions (bug#10403).
4685 2012-01-14  Glenn Morris  <rgm@gnu.org>
4687         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4689 2012-01-13  Alan Mackenzie  <acm@muc.de>
4691         Fix filling for when filladapt mode is enabled.
4693         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4694         c-mask-paragraph, pass in `fill-paragraph' rather than
4695         `fill-region-as-paragraph'.  (This is a reversion of a previous
4696         change.)
4697         * progmodes/cc-mode.el (c-basic-common-init):
4698         Make fill-paragraph-handle-comment buffer local and set it to nil.
4700 2012-01-13  Glenn Morris  <rgm@gnu.org>
4702         * dired.el (dired-switches-escape-p): New function.
4703         (dired-insert-directory): Use dired-switches-escape-p.
4704         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
4706         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
4708 2012-01-12  Glenn Morris  <rgm@gnu.org>
4710         * mail/sendmail.el (mail-mode): Update paragraph-separate for
4711         changes in adaptive-fill-regexp.  (Bug#10276)
4713 2012-01-11  Alan Mackenzie  <acm@muc.de>
4715         Fix Emacs bug #10463 - put `widen's around the critical spots.
4717         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4718         widen around each invocation of c-state-pp-to-literal.  Remove an
4719         unused let variable.
4721 2012-01-11  Glenn Morris  <rgm@gnu.org>
4723         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
4724         Doc fix.
4726 2012-01-10  Chong Yidong  <cyd@gnu.org>
4728         * net/network-stream.el (network-stream-open-starttls):
4729         Avoid emitting a confusing error message when the server gives a bad
4730         response to the capability command.
4732 2012-01-10  Glenn Morris  <rgm@gnu.org>
4734         * mail/unrmail.el (unrmail): Tweak previous change.
4736 2012-01-09  Chong Yidong  <cyd@gnu.org>
4738         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4740 2012-01-08  Alan Mackenzie  <acm@muc.de>
4742         Optimise font locking in long enum definitions.
4744         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4745         arm to a cond form to handle enums.
4746         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4747         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4749 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4751         * files.el (move-file-to-trash): Preserve default file modes on error.
4752         (Bug#10401)
4754 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4756         * faces.el (set-face-attribute): Clarify the meaning of the nil
4757         frame (bug#10294).
4759         * subr.el (with-selected-frame): Mention that the selected frame
4760         is restored (bug#9980).
4762         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4763         (bug#9759).
4765         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4766         (password-read): Don't autoload unused function.
4768 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
4770         * progmodes/which-func.el (which-func-mode): Turn into a
4771         non-interactive function and mark as obsolete (bug#10428).
4773 2012-01-06  Chong Yidong  <cyd@gnu.org>
4775         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4776         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4777         functions, along with 1 and -1.
4779 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
4781         * time.el (display-time-load-average)
4782         (display-time-default-load-average): Doc fixes.  See the thread
4783         starting at
4784         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4785         for the details.
4787 2012-01-06  Glenn Morris  <rgm@gnu.org>
4789         * mail/unrmail.el (unrmail): Give an explicit error if the input file
4790         has no messages.  (Bug#10377)
4792         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4793         than Info-edit.  (Bug#10385)
4795         * time.el (display-time-load-average, display-time-next-load-average):
4796         Doc fixes.
4798         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4799         local setting of buffer-read-only to the input buffer.  (Bug#10419)
4801         * calendar/calendar.el (calendar-mode):
4802         Locally set scroll-margin to 0.  (Bug#10379)
4804 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
4806         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
4808 2012-01-05  Glenn Morris  <rgm@gnu.org>
4810         * eshell/em-unix.el (diff-no-select): Autoload it.
4811         (eshell/diff): Use diff-no-select.  (Bug#10420)
4813 2012-01-05  Chong Yidong  <cyd@gnu.org>
4815         * shell.el (shell-dynamic-complete-functions): Revert last change.
4816         (shell-command-completion-function): New function.
4817         (shell-completion-vars): Use it to implement
4818         shell-completion-execonly (Bug#10417).
4820         * custom.el (enable-theme): Don't set custom-safe-themes.
4822         * cus-theme.el (custom-theme-merge-theme):
4823         Ignore custom-enabled-themes and custom-safe-themes.
4825 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
4827         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4828         first prompt in `sql-interacive-mode'.
4829         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4830         keywords.
4831         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4832         (sql-product-interactive): Bug fix: Set `sql-buffer' in
4833         context of original buffer.  Invoke `sql-login-hook'.
4835 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
4837         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4838         letters in cite-prefix.
4840 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4842         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4844 2012-01-03  Chong Yidong  <cyd@gnu.org>
4846         * shell.el (shell-dynamic-complete-functions):
4847         Put pcomplete-completions-at-point, so as to try
4848         comint-filename-completion first (Bug#10417).
4850 2012-01-02  Richard Stallman  <rms@gnu.org>
4852         * battery.el (battery-status-function):
4853         Detect when to use battery-yeeloong-sysfs.
4854         (battery-echo-area-format): Add string for Yeeloong.
4855         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4856         (battery-yeeloong-sysfs): New function.
4858 2012-01-02  Chong Yidong  <cyd@gnu.org>
4860         * dirtrack.el (dirtrack-list): Eliminate unused third element.
4861         (dirtrack): Merge code for handling relative filenames in prompt
4862         from shell-dir-cookie-watcher.
4863         (dirtrack-debug-message): New arg to avoid excess format calls.
4865         * shell.el (shell-dir-cookie-re): Variable deleted.
4866         (shell-dir-cookie-watcher): Function deleted.
4867         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4868         with dirtrack-mode.
4870 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
4872         * term/w32-win.el (dynamic-library-alist) <gnutls>:
4873         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4874         libgnutls-26.dll.
4876 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
4878         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4880 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
4882         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4883         headers of non-MIME messages, when rmail-enable-mime is non-nil.
4885 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
4887         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4888         also for alternative shells.
4889         (tramp-open-connection-setup-interactive-shell): Check, whether
4890         the shell is a busybox.
4891         (tramp-send-command): Don't suppress multiple prompts for
4892         busyboxes, it hurts.
4894 2011-12-28  Chong Yidong  <cyd@gnu.org>
4896         * progmodes/gdb-mi.el (gdb-get-source-file-list)
4897         (gdb-get-source-file): Move mode line update to
4898         gdb-get-source-file (Bug#10087).
4900 2011-12-25  Chong Yidong  <cyd@gnu.org>
4902         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4903         gud-gdb-marker-filter without taking it as an argument.
4904         (gud-gdb-run-command-fetch-lines): Caller changed.
4905         (gud-gdb-completion-function): New variable.
4906         (gud-gdb-completion-at-point): Use it.
4907         (gud-gdb-completions-1): Split from gud-gdb-completions.
4909         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4910         function as separate arguments.
4911         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4912         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4913         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4914         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4915         (gdb-stopped, def-gdb-auto-update-trigger)
4916         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4917         (gdb-get-changed-registers, gdb-get-main-selected-frame):
4918         Callers changed.
4919         (gud-gdbmi-completions): New function.
4920         (gdb): Use it for generating the completion table.
4922 2011-12-24  Alan Mackenzie  <acm@muc.de>
4924         Introduce a mechanism to widen the region used in context font
4925         locking.  Use this to protect declarations from losing their contexts.
4927         * progmodes/cc-langs.el (c-before-font-lock-functions):
4928         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4929         (c-before-context-fontification-functions): New defvar, a list of
4930         functions to be run just before context (etc.) font locking.
4932         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4933         New, functionality extracted from
4934         c-neutralize-syntax-in-and-mark-CPP.
4935         (c-in-after-change-fontification): New variable.
4936         (c-after-change): Set c-in-after-change-fontification.
4937         (c-set-fl-decl-start): Rejig its interface, so it can be called
4938         from both after-change and context fontifying.
4939         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4940         New functions.
4941         (c-standard-font-lock-fontify-region-function): New variable.
4942         (c-font-lock-fontify-region): New function.
4944 2011-12-24  Juri Linkov  <juri@jurta.org>
4946         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4947         (Bug#10348)
4949 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
4951         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4952         existence of source file.  (Bug#10325)
4954 2011-12-23  Alan Mackenzie  <acm@muc.de>
4956         Fix unstable fontification inside templates.
4958         * progmodes/cc-langs.el (c-before-font-lock-functions):
4959         Newly created from the singular version.  The (c c++ objc) entry now
4960         additionally has c-set-fl-decl-start.  The other languages (apart
4961         from AWK) have that as a single entry.
4963         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4964         The functionality for "local" declarations has been extracted to
4965         c-set-fl-decl-start.
4967         * progmodes/cc-mode.el (c-common-init, c-after-change):
4968         Changes due to pluralisation of c-before-font-lock-functions.
4969         (c-set-fl-decl-start): New function, extracted from
4970         c-font-lock-enclosing-decls and enhanced.
4972 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
4974         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4976 2011-12-22  Juri Linkov  <juri@jurta.org>
4978         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
4980 2011-12-22  Chong Yidong  <cyd@gnu.org>
4982         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4984 2011-12-21  Drew Adams  <drew.adams@oracle.com>
4986         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
4988 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
4990         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4992 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
4994         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
4995         highlighting and support.  Fix up comments for capitalization.
4996         (cfengine-mode-debug): New var.
4997         (cfengine3-mode): Change the modeline indicator to "CFE3".
4998         (cfengine3-font-lock-keywords): Improve defun highlighting.
4999         (cfengine2-actions): Rename from `cfengine-actions'.
5000         (cfengine2-font-lock-keywords): Rename from
5001         `cfengine-font-lock-keywords'.
5002         (cfengine2-imenu-expression): Rename from
5003         `cfengine-imenu-expression'.
5004         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5005         (cfengine2-beginning-of-defun): Rename from
5006         `cfengine-beginning-of-defun'.
5007         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5008         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5009         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
5010         modeline indicator to "CFE2".
5011         (cfengine-mode): Defalias to `cfengine-auto-mode'.
5012         (cfengine-mode-abbrevs): Mark obsolete.
5014 2011-12-21  Chong Yidong  <cyd@gnu.org>
5016         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5017         filename argument.
5019 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
5021         * window.el (window-normalize-buffer-to-display): Remove.
5022         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5024 2011-12-19  Chong Yidong  <cyd@gnu.org>
5026         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5027         Don't signal an error in a predicate function; return non-nil.
5028         (vc-dir-mark-file): Move the error here.
5029         (vc-dir-mark-unmark): If acting on the region, keep going if one
5030         of the entries cannot be marked/unmarked.
5031         (vc-dir-mark-all-files): If current entry is a directory, mark
5032         only child files, as documented.
5034 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5036         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5037         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5038         addition.
5040 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
5042         * term/ns-win.el (ns-get-selection-internal)
5043         (ns-store-selection-internal): Declare.
5044         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5045         Declare as obsolete.
5046         (ns-get-pasteboard, ns-paste-secondary):
5047         Use ns-get-selection-internal.
5048         (ns-set-pasteboard,  ns-copy-including-secondary):
5049         Use ns-store-selection-internal.
5051 2011-12-17  Chong Yidong  <cyd@gnu.org>
5053         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5054         (vc-deduce-fileset): Doc fix.
5056 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
5058         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5060 2011-12-13  Sam Steingold  <sds@gnu.org>
5062         * man.el (Man-getpage-in-background): When running under a
5063         window-system, ignore $MANWIDTH and $COLUMNS.
5065 2011-12-15  Kenichi Handa  <handa@m17n.org>
5067         * language/ethio-util.el: Change coding tag to utf-8-emacs.
5068         (setup-ethiopic-environment-internal): Comment out key-binding for
5069         ethio-toggle-punctuation.
5071 2011-12-13  Alan Mackenzie  <acm@muc.de>
5073         Add the switch statement to AWK Mode.
5075         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5076         "default" to the keywords regexp.
5078         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5079         expression as the rest.
5080         (c-nonlabel-token-key): Allow string literals for AWK.
5081         Refactor for the other modes.
5083         Large brace-block initialisation makes CC Mode slow: Fix.
5084         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5085         routines.  Limit backward searching in c-font-lock-enclosing.decl.
5087         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5088         pp-state and literal type in addition to the limits.
5089         (c-state-safe-place): New defun, extracted from c-state-literal-at.
5090         (c-state-literal-at): Use the above new defun.
5091         (c-slow-in-literal, c-fast-in-literal): Remove.
5092         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5094         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5095         being in a literal.  Add a limit for backward searching.
5097         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5098         c-slow-in-literal.
5100 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5102         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5104 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
5106         * window.el (delete-other-windows): Use correct frame in call to
5107         window-with-parameter.
5109 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
5111         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5112         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5113         (makefile-gmake-statements, makefile-makepp-statements):
5114         Use it and add new makepp keywords.
5115         (makefile-makepp-font-lock-keywords): Add new patterns.
5116         (makefile-match-function-end): Match new [...] and [[...]].
5118 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
5120         * ses.el (ses-call-printer-return, ses-cell-property-get)
5121         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5122         (ses-create-cell-variable, ses-reset-header-string)
5123         (ses-cell-set-formula, ses-repair-cell-reference-all)
5124         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5125         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5126         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5127         (ses-aset-with-undo, ses-load, ses-truncate-cell)
5128         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5129         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5130         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5131         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5132         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5133         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5134         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5135         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5137 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5139         * ses.el: The overall change is to add cell renaming, that is
5140         setting fancy names for cell symbols other than name matching
5141         "\\`[A-Z]+[0-9]+\\'" regexp .
5142         (ses-create-cell-variable): New defun.
5143         (ses-relocate-formula): Relocate formulas only for cells the
5144         symbols of which are not renamed, i.e. symbols whose names do not
5145         match regexp "\\`[A-Z]+[0-9]+\\'".
5146         (ses-relocate-all): Relocate values only for cells the symbols of
5147         which are not renamed.
5148         (ses-load): Create cells variables as the (ses-cell ...) are read,
5149         in order to check row col consistency with cell symbol name only
5150         for cells that are not renamed.
5151         (ses-replace-name-in-formula): New defun.
5152         (ses-rename-cell): New defun.
5154 2011-12-11  Chong Yidong  <cyd@gnu.org>
5156         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5157         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5159 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
5161         * window.el (other-window): Fix docstring.
5163 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
5165         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5166         `from' or `to' address before taking its substring.
5167         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5168         encoded name is chopped in the middle of the encoded string, and
5169         thus displayed encoded.
5171 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
5173         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5175 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
5177         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
5178         to use texinfo-update-node and commands that call it if the
5179         Texinfo file uses @node lines without next/prev/up pointers.
5180         Correct outdated description about texinfo-master-menu.
5181         (texinfo-all-menus-update, texinfo-master-menu)
5182         (texinfo-update-node, texinfo-every-node-update)
5183         (texinfo-multiple-files-update): Doc fix.  Warn against updating
5184         all the @node lines.
5185         (texinfo-master-menu): Only call texinfo-update-node if the prefix
5186         argument is numeric.  Explain better in the doc string what the
5187         function really does.
5188         (texinfo-insert-master-menu-list): Improve the error message
5189         displayed if there's no menu in the Top node.
5190         (Bug#2975)  See also this thread:
5191         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5193 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
5195         * speedbar.el (speedbar-supported-extension-expressions):
5196         Add .adb and .ads, commonly used for Ada source code (bug#10256).
5198 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
5200         * printing.el (pr-mode-alist):
5201         * simple.el (filter-buffer-substring-functions)
5202         (completion-list-insert-choice-function):
5203         * window.el (window-with-parameter, window-atom-root)
5204         (window-sides-slots, window-size-fixed, window-min-delta)
5205         (window-max-delta, window--resize-mini-window)
5206         (window--resize-child-windows-normal, window-tree)
5207         (delete-other-windows, quit-window, split-window)
5208         (display-buffer-record-window, special-display-buffer-names)
5209         (special-display-regexps, special-display-popup-frame)
5210         (same-window-p, split-window-sensibly)
5211         (display-buffer-overriding-action, display-buffer-alist)
5212         (display-buffer-base-action, display-buffer, switch-to-buffer)
5213         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5214         (fit-window-to-buffer, recenter-positions)
5215         (mouse-autoselect-window-state, mouse-autoselect-window-select):
5216         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5217         and remove unneeded backslashes in docstrings.
5219 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5221         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5223         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5224         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5225         end in ".mk".
5226         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5227         when reading the makefile (bug#10116).
5229 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5231         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5232         (bug#10116).
5234 2011-12-06  Glenn Morris  <rgm@gnu.org>
5236         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5238 2011-12-06  Chong Yidong  <cyd@gnu.org>
5240         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5242 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
5244         * textmodes/table.el (table-shorten-cell): Fix typo.
5246 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
5248         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5250 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
5252         * descr-text.el (describe-char): Fix display of strong
5253         right-to-left characters and directional embeddings and overrides.
5255         * simple.el (what-cursor-position): Fix display of codepoints of
5256         strong right-to-left characters.
5258 2011-12-05  Chong Yidong  <cyd@gnu.org>
5260         * faces.el (read-color): Doc fix.
5262 2011-12-05  Glenn Morris  <rgm@gnu.org>
5264         * align.el (align--set-marker): Add doc-string.
5265         Don't try to move something that is not a marker.  (Bug#10216)
5267 2011-12-04  Glenn Morris  <rgm@gnu.org>
5269         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5270         overly zealous deletion of trailing whitespace.
5272 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
5274         * server.el (server-delete-client): On Windows, do not try to delete
5275         the only terminal.
5276         (server-process-filter): On Windows, treat requests for a tty frame as
5277         if they were for a GUI frame if the running server is in GUI mode.
5279 2011-12-03  Glenn Morris  <rgm@gnu.org>
5281         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
5283 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5285         * electric.el: Streamline electric-indent's hook.
5286         (electric-indent-chars): Revert to simple list.
5287         (electric-indent-functions): New var.
5288         (electric-indent-post-self-insert-function): Use it.
5290         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5291         there's no inferior buffer (bug#10196).
5292         (prolog-consult-compile): Don't use toggle-read-only.
5294 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
5296         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5297         interrupt.  (Bug#10187)
5299 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5301         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5302         (bug#9160).
5304         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5305         (bug#10191).
5307 2011-12-02  Juri Linkov  <juri@jurta.org>
5309         * info.el (Info-search): Display "end of manual" when Isearch
5310         reaches the end of single-file Info manual.  (Bug#9918)
5312 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
5314         * isearch.el (isearch-message-prefix): Run the input method part
5315         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
5317 2011-12-02  Juri Linkov  <juri@jurta.org>
5319         * isearch.el (isearch-occur): Use `word-search-regexp' for
5320         `isearch-word'.
5321         (isearch-search-and-update): Add condition for `isearch-word' and
5322         call `word-search-regexp'.  (Bug#10145)
5324 2011-12-01  Glenn Morris  <rgm@gnu.org>
5326         * eshell/em-hist.el (eshell-hist-initialize):
5327         Handle eshell-history-size nil and HISTSIZE set or unset.
5328         (eshell-history-file-name, eshell-history-size): Fix custom type.
5330 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5332         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5334 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
5336         * progmodes/verilog-mode.el (verilog-pretty-expr):
5337         Rework verilog-pretty-expr to handle new assignment operators in system
5338         verilog, such as += *= and the like.
5339         (verilog-assignment-operator-re): Regular expression to find the
5340         assigment operator in a verilog assignment.
5341         (verilog-assignment-operation-re): Regular expression to find an
5342         assignment statement for pretty-expr.
5343         (verilog-in-attribute-p): Query returns true if point is in an
5344         attribute context; used to skip these for expression line up from
5345         pretty-expr.
5346         (verilog-in-parameter-p): Query returns true if point is in an
5347         parameter definition context; used to skip these for expression
5348         line up from pretty-expr.
5349         (verilog-in-parenthesis-p): Query returns true if point is in a
5350         parenthetical expression, specifically ( ) but not [ ] or { };
5351         used by pretty-expr.
5352         (verilog-just-one-space): If there is no space, don't add one.
5353         (verilog-get-lineup-indent-2): Specifically skip just attribute
5354         contexts for expression lineup, rather than skipping all
5355         parenthetical expressions.
5356         (verilog-calculate-indent): Fix comment, and fix indent.
5357         (verilog-do-indent): Indent declarations in lists (suggested by
5358         Joachim Lechner).
5359         (verilog-mode-abbrev-table): Populate abbrev mode with the various
5360         skeleton items.
5361         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5362         by Alain Mellan).
5364 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
5366         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5367         parameters with embedded comments.  Reported by Ray Stevens.
5368         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5369         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5370         Reported by Tim Holt.
5371         (verilog-auto): Fix AUTOing a upper module then AUTOing module
5372         instantiated by upper module causing wrong expansion until AUTOed a
5373         second time.  Reported by K C Buckenmaier.
5374         (verilog-diff-auto): Fix showing .* as a difference when
5375         `verilog-auto-star-save' off.  Reported by Dan Dever.
5376         (verilog-auto-reset, verilog-read-always-signals)
5377         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5378         temporary signals in reset list if
5379         verilog-auto-reset-blocking-in-non is nil, and match assignment
5380         style to each signal's assignment type, bug381.
5381         Reported by Thomas Esposito.
5382         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5383         (verilog-uvm-statement-re): Support UVM indentation and
5384         highlighting, with old OVM keywords only.
5385         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5386         Support AUTOTIEOFF creating non-wire data types.
5387         Suggested by Jonathan Greenlaw.
5388         (verilog-auto-insert-lisp, verilog-delete-to-paren)
5389         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5390         (verilog-inject-sense, verilog-read-inst-pins)
5391         (verilog-read-sub-decls, verilog-read-sub-decls-line):
5392         Fix mismatching parenthesis inside commented out code when deleting
5393         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
5394         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5395         non-numeric vector width.  Reported by Alex Reed.
5396         (verilog-auto-ascii-enum): Add "onehot" option to work around not
5397         detecting signals with parameter widths.  Reported by Alex Reed.
5398         (verilog-auto-delete-trailing-whitespace):
5399         With `verilog-auto-delete-trailing-whitespace' remove trailing
5400         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
5401         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5402         Fix verilog-scan-cache corruption when running user AUTO expansion
5403         hooks that call indentation routines.
5404         (verilog-simplify-range-expression): Fix typo ignoring lower case
5405         identifiers.
5406         (verilog-delete-auto): Fix delete-autos to also remove user created
5407         automatics, as long as they start with AUTO.
5408         (verilog-batch-diff-auto, verilog-diff-auto)
5409         (verilog-diff-function): Add `verilog-diff-auto' and bind to
5410         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
5411         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5412         (verilog-in-paren-quick, verilog-re-search-backward-quick)
5413         (verilog-re-search-forward-quick, verilog-syntax-ppss):
5414         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5415         is disabled and its cache will get corrupt, causing AUTOS not to
5416         expand.  Instead use only -quick functions.
5417         (verilog-scan-region): Fix scanning over escaped quotes.
5418         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5419         (verilog-re-search-backward-quick)
5420         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5421         related functions now ignore strings, to fix misparsing of strings
5422         with magic comments embedded in them.
5423         (verilog-read-auto-template):
5424         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5425         Reported by Brad Dobbie.
5426         (verilog-read-auto-template):
5427         Fix 'verilog-auto-inst-template-numbers' with comments.
5428         Reported by Brad Dobbie.
5429         (verilog-auto-inst, verilog-auto-inst-param)
5430         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5431         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
5432         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5433         debugging templates without merge conflicts, bug357.
5434         Reported by Brad Dobbie.
5435         (verilog-read-auto-template):
5436         Fix verilog-auto-inst-template-numbers with multiple templates.
5437         Reported by Brad Dobbie.
5438         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5439         abbrevs so user won't be asked to save.
5440         (verilog-read-auto-lisp-present): Fix to start at beginning of
5441         buffer in case called outside of verilog-auto.
5442         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5443         to "X-2".  Reported by Matthew Myers.
5444         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5445         all inputs from module templates.  Reported by Leith Johnson.
5446         (verilog-module-inside-filename-p): Fix locating programs as with
5447         modules.
5448         (verilog-auto-inst-port): Fix vl-width expressions when using
5449         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
5450         (verilog-decls-get-regs, verilog-decls-get-signals,
5451         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5452         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5453         verilog-read-decls): Combine reg and wire structures into one var
5454         structure to represent SystemVerilog concepts.
5455         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5456         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5457         (verilog-auto-wire-type, verilog-insert-definition):
5458         Add verilog-auto-wire-type and AUTOLOGIC to support using
5459         SystemVerilog "logic" keyword instead of "wire"/"reg".
5460         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5461         to declares outputs that also have assignments (presumably in an
5462         ifdef or generate if so there's not a driver conflict).
5463         Reported by Matthew Myers.
5464         (verilog-auto-declare-nettype, verilog-insert-definition):
5465         Add verilog-auto-declare-nettype to fix declarations using
5466         `default_nettype none.  Reported by Julian Gorfajn.
5467         (verilog-read-always-signals-recurse, verilog-read-decls)
5468         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5469         malformed end statement, bug325.  Reported by Joshua Wise and
5470         Andrew Drake.
5471         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5472         (verilog-inst-comment-re): Fix not deleting Interfaced comment
5473         when expanding .* in interfaces, bug320.
5474         Reported by Pierre-David Pfister.
5475         (verilog-read-module-name): Fix import statements between module
5476         name and open parenthesis, bug317.
5477         Reported by Pierre-David Pfister.
5478         (verilog-simplify-range-expression): Fix simplification of
5479         multiplications inside AUTOWIRE connections, bug303.
5480         (verilog-auto-inst-port): Support parameter expansion in
5481         multidimensional arrays.
5482         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5483         after "assert property".  Reported by Julian Gorfajn.
5484         (verilog-simplify-range-expression): Fix "couldn't merge" errors
5485         with multiplication, bug303.
5486         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5487         Reported by Jan Frode Lonnum.
5489 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
5491         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5492         (hfy-shell-file-name, hfy-shell):
5493         * international/fontset.el (x-decompose-font-name): Fix typos.
5495 2011-11-29  Ken Brown  <kbrown@cornell.edu>
5497         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5498         (gdb-version): Remove defvar.
5499         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5500         (gdb-gud-context-command, gdb-non-stop-handler)
5501         (gdb-current-context-command, gdb-stopped): Use it.
5502         (gdb-init-1): Enable pretty printing here.
5503         (gdb-non-stop-handler): Don't enable pretty-printing here.
5504         Check to see if the target supports non-stop mode; if not, turn off
5505         non-stop mode.  Use the following.
5506         (gdb-check-target-async): New defun.
5507         (gud-watch, gdb-stopped): Fix whitespace.
5508         (gdb-get-source-file): Don't try to display the source file if
5509         `gdb-main-file' is nil.
5511 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5513         * align.el: Try to generate fewer markers (bug#10047).
5514         (align--set-marker): New macro.
5515         (align-region): Use it.
5517 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5519         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5521 2011-11-29  Chong Yidong  <cyd@gnu.org>
5523         * indent.el (indent-for-tab-command, indent-according-to-mode):
5524         Doc fix.
5525         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
5527 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
5529         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5530         aware of remote file names.  (Bug#10124)
5532 2011-11-29  Chong Yidong  <cyd@gnu.org>
5534         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5536 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5538         * files.el (find-file): Don't use force-same-window (bug#10144).
5539         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5540         use pop-to-buffer if the selected window can't be used.
5541         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5543 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
5545         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5546         special-mode-map.
5548 2011-11-28  Chong Yidong  <cyd@gnu.org>
5550         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5552 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
5554         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5555           gdb-get-source-file-list on gdb-create-source-file-list.
5557 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
5559         * whitespace.el (whitespace-newline): Use a different foreground
5560         color for 16-color light-background displays.
5562 2011-11-24  Chong Yidong  <cyd@gnu.org>
5564         * window.el (display-buffer--special-action): Doc fix.
5566 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
5568         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5569         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5570         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5571         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5572         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5573         (avl-tree-stack-first):
5574         * emacs-lisp/cconv.el (cconv--analyse-use):
5575         * net/gnutls.el (gnutls-negotiate): Fix typos.
5577 2011-11-24  Glenn Morris  <rgm@gnu.org>
5579         * lpr.el (lpr-windows-system, lpr-lp-system):
5580         * mail/binhex.el (binhex-begin-line):
5581         * progmodes/grep.el (grep-history, grep-find-history):
5582         * textmodes/flyspell.el:
5583         * vc/pcvs-defs.el (cvs-global-menu):
5584         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5585         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5586         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5588         * net/tls.el: Fix case of "GnuTLS".
5590         * paths.el (rmail-file-name): Format doc-string for make-docfile.
5592         * version.el (emacs-build-system): Give it a doc-string.
5594 2011-11-24  Juri Linkov  <juri@jurta.org>
5596         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5598 2011-11-24  Glenn Morris  <rgm@gnu.org>
5600         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5601         if called on a non-mime message just toggle the headers.  (Bug#8006)
5603 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
5605         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5606         (allout-lead-with-comment-string, allout-structure-deleted-hook)
5607         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5608         (allout-rebullet-heading, allout-open-sibtopic)
5609         (allout-toggle-current-subtree-encryption)
5610         (allout-toggle-subtree-encryption, allout-encrypt-string)
5611         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5612         (allout-distinctive-bullets-string, allout-auto-activation):
5613         * window.el (window-normalize-buffer-to-display):
5614         * progmodes/verilog-mode.el (verilog-batch-indent):
5615         * textmodes/bibtex.el (bibtex-field-braces-opt)
5616         (bibtex-field-strings-opt):
5617         * vc/cvs-status.el (cvs-tree-merge):
5618         Fix typos.
5620 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
5622         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5623         `non-essential' to t, in order to avoid remote connections.
5625 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
5627         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5628         On MS-DOS and MS-Windows, compare with loaddefs.el
5629         case-insensitively.
5631 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
5633         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
5635 2011-11-23  Glenn Morris  <rgm@gnu.org>
5637         * paths.el (rmail-file-name): Reformat the doc-string so that it
5638         is picked up.
5640         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5641         (rmail-auto-file): Ignore case in the "special" field names,
5642         as mail-fetch-field does for all others.
5644         * mail/rmail.el (rmail-forward):
5645         * mail/rmailkwd.el (rmail-set-label):
5646         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5647         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
5649         * mail/rmail.el (rmail-current-message): Doc fix.
5651         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
5653 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5655         * server.el (server-eval-and-print): Allow C-g (bug#6585).
5657 2011-11-22  Glenn Morris  <rgm@gnu.org>
5659         * mail/rmailmm.el (test-rmail-mime-handler)
5660         (test-rmail-mime-bulk-handler)
5661         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5663 2011-11-21  Juri Linkov  <juri@jurta.org>
5665         * calc/calc.el (calc-read-key-sequence):
5666         Let-bind `input-method-function' to nil.  (Bug#10018)
5668 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5670         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5671         Tell the caller that the next line needs recomputation, even
5672         though it doesn't start a sexp (bug#10094).
5674 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5676         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5678 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5680         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5681         Use force-same-window.
5683 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
5685         * descr-text.el (describe-char-unicode-data):
5686         * json.el (json-string-escape):
5687         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5688         (Footnote-unicode, Footnote-style-p):
5689         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5691 2011-11-20  Chong Yidong  <cyd@gnu.org>
5693         * window.el (replace-buffer-in-windows): Restore interactive spec.
5695 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5697         * electric.el (electric-indent-mode): Fix last change (too optimistic).
5699         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5700         (byte-compile-global-not-obsolete-vars): New var.
5701         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5702         Use it.
5703         (byte-compile-warn-obsolete): Align text with the one in *Help*.
5705 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
5707         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5708         * progmodes/pascal.el (electric-pascal-equal):
5709         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5710         * xml.el (xml-substitute-special): Fix typos.
5712 2011-11-20  Glenn Morris  <rgm@gnu.org>
5714         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5715         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5716         Doc fixes.
5717         (rmail-decode-mime-charset): Mark as obsolete.
5719         * mail/rmailsum.el (rmail-message-regexp-p-1):
5720         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5721         Before using mime functions, check they are set.  (Bug#10077)
5723 2011-11-19  Juri Linkov  <juri@jurta.org>
5725         * info.el (Info-finder-find-node): Use `package--builtins' instead
5726         of `package-alist'.  Use node names formed by the pattern "Keyword "
5727         and the keyword name.
5729 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
5731         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5733 2011-11-19  Juri Linkov  <juri@jurta.org>
5735         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5736         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
5737         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5738         `old-history', `old-history-forward'.  Add let-binding
5739         `window-selected'.  Remove calls to `kill-buffer',
5740         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
5741         before calling `Info-find-node', so `Info-find-node-2' will reread
5742         the Info file.  Restore window positions only when `window-selected'
5743         is non-nil.
5745 2011-11-19  Juri Linkov  <juri@jurta.org>
5747         * isearch.el (isearch-lazy-highlight-new-loop):
5748         Remove condition `(not isearch-error)'.  (Bug#9918)
5750         * misearch.el (multi-isearch-search-fun): Add condition
5751         `(not bound)' to ignore lazy-highlighting search.
5752         Add the search-failed message "end of multi" when the end of
5753         multi-sequence is reached.  Uncapitalize the search-failed
5754         message "Repeat for next buffer".
5756         * info.el (Info-search): Add the search-failed message
5757         "end of the manual" when the end of the manual is reached
5758         in Isearch mode.
5760 2011-11-19  Juri Linkov  <juri@jurta.org>
5762         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5763         Use non-destructive `remove' instead of `delete' because
5764         `Info-history-list' stored to `Info-isearch-initial-history-list' in
5765         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5767 2011-11-19  Juri Linkov  <juri@jurta.org>
5769         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5770         to nil instead of binding `search-ring' and `regexp-search-ring'.
5771         (Bug#9185)
5773 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
5775         * simple.el (line-move): Force movement by logical lines for any
5776         hscrolled window, not only when auto-hscroll-mode is on.
5777         (line-move-visual): Update doc string to that effect.  (Bug#10076)
5779 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
5781         * language/european.el (macintosh): Define as alias for mac-roman.
5783 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
5785         * mail/rmailmm.el (rmail-mime-display-header)
5786         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5787         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5788         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5789         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5790         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5791         of a raw aref.
5792         (rmail-mime-entity-segment): To get past the tagline, move forward
5793         2 more lines, to account for the 2 empty lines that precede and
5794         follow the line with the buttons.
5795         (rmail-mime-update-tagline): Move one more line, to get past the
5796         empty line that follows the buttons in the tagline.  (Bug#9520)
5798 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
5800         * window.el (window-max-delta-1, window-min-delta-1)
5801         (window-min-size-1, window-state-get-1, window-state-put-1)
5802         (window-state-put-2): Use "window--" prefix.
5804 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5806         * emacs-lisp/smie.el: Improve warnings and conflict detection.
5807         (smie-warning-count): New var.
5808         (smie-set-prec2tab): Use it.
5809         (smie-bnf->prec2): Improve warnings.  Add docstring.
5810         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5811         (smie-bnf--set-class): New function.
5812         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
5813         corner case.
5815         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5816         (compilation-error-properties, compilation-move-to-column):
5817         Handle compilation-first-column while in the target buffer.
5819         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5820         Don't hardcode point-min==1.
5822         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5823         (eshell-rewrite-for-command): Remove workaround.
5824         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5825         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5826         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5828         * files-x.el (modify-file-local-variable): Obey commenting conventions.
5830 2011-11-17  Glenn Morris  <rgm@gnu.org>
5832         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5833         Ignore buffer-local generated-autoload-file if it is the same
5834         as the global value.  (Bug#10049)
5836 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
5838         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5839         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5840         (reftex-toc-previous-heading, reftex-toc-max-level)
5841         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5842         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5843         (reftex-toc-do-promote, reftex-toc-promote-prepare)
5844         (reftex-toc-promote-action, reftex-toc-extract-section-number)
5845         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5846         (reftex-toc-rename-label, reftex-toc-visit-location)
5847         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5848         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5849         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5850         leaving "*toc*" only for references to the buffer.
5852 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
5854         * window.el (window-resize, delete-window, split-window):
5855         Replace window-splits by window-combination-resize.
5856         * cus-start.el (window-splits): Replace by window-combination-resize.
5858 2011-11-17  Glenn Morris  <rgm@gnu.org>
5860         * progmodes/sh-script.el (sh-font-lock-keywords-var):
5861         Make bash entry derive from sh entry, not shell entry.
5863 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
5865         * net/tramp-cache.el (tramp-flush-file-property): Flush also
5866         properties of linked files.  (Bug#9879)
5868         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5869         local file name.
5871 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
5873         * menu-bar.el (menu-bar-file-menu):
5874         * printing.el (pr-ps-utility):
5875         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5876         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5877         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5878         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5879         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5880         (icalendar--convert-cyclic-to-ical)
5881         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5882         (icalendar--convert-ical-to-diary)
5883         (icalendar--convert-recurring-to-diary)
5884         (icalendar--convert-non-recurring-all-day-to-diary)
5885         (icalendar-import-format-sample):
5886         * progmodes/idlw-shell.el (idlwave-shell-mode):
5887         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5888         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5889         (vhdl-ps-print-init): Fix typos.
5891 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
5893         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5894         FSF and collapse date sequence, obscure author/maintainer email address
5895         better, remove extra version line, track relocation of author's webpage.
5897         * progmodes/python.el (python-pdbtrack-input-prompt)
5898         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5899         regular python pdb prompts.  Adjustments shamelessly taken exactly as
5900         suggested in EmacsWiki page (tiny change):
5901         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5903 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
5905         * expand.el (expand-pos, expand-index, expand-point):
5906         Remove redundant info from docstring.
5907         (expand-add-abbrevs): Doc fix.
5908         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5909         (expand-sample-perl-mode-expand-list): Fix typos.
5911         * net/dbus.el (dbus-event-member-name):
5912         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5913         * term/pc-win.el (msdos-create-frame-with-faces):
5914         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5916 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
5918         * window.el (split-window, window-state-get-1)
5919         (window-state-put-1, window-state-put-2): Rename occurrences of
5920         window-nest to window-combination-limit.
5921         * cus-start.el (window-nest): Rename to window-combination-limit.
5923 2011-11-16  Chong Yidong  <cyd@gnu.org>
5925         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5926         regexp (Bug#10033).
5928 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5930         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5931         `completing-read' will remove *Completions* and will preserve
5932         current-buffer for us.
5933         (tmm-add-prompt): Users of *Completions* will always (re)set its
5934         major mode.
5935         (tmm-old-comp-map): Remove.
5937 2011-11-16  Glenn Morris  <rgm@gnu.org>
5939         * mail/rmailedit.el: Require rmailmm when compiling.
5940         (rmail-old-mime-state): New declaration.
5941         (rmail-edit-current-message): If editing a mime message,
5942         edit the "raw" message from the mbox buffer.
5943         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
5945 2011-11-15  Glenn Morris  <rgm@gnu.org>
5947         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5948         which wasn't being used.  Add optional arg to force given state.
5949         (rmail-mime): Add optional arg to force given state.
5951 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
5953         * allout.el (allout-encryption-plaintext-sanitization-regexps):
5954         * frame.el (display-mm-dimensions-alist):
5955         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5956         (outline-move-subtree-down):
5957         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5958         (newsticker--treeview-do-get-node):
5959         * net/quickurl.el (quickurl-list-buffer-name):
5960         * progmodes/dcl-mode.el (dcl-mode):
5961         * progmodes/gdb-mi.el (gdb-mapcar*):
5962         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5964 2011-11-15  Glenn Morris  <rgm@gnu.org>
5966         * mail/rmail.el (rmail-file-coding-system): It's only ever used
5967         in a boolean sense, so just make it a boolean, and fix the doc.
5968         (rmail-show-mime-function, rmail-mime-feature)
5969         (rmail-require-mime-maybe): Doc fixes.
5970         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5972         * mail/rmailmm.el (rmail-show-mime): Doc fix.
5974 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
5976         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5977         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5978         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5979         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5981 2011-11-15  Glenn Morris  <rgm@gnu.org>
5983         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5984         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5985         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5986         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5987         (rmail-mime, rmail-show-mime): Doc fixes.
5989         * term/ns-win.el (mode-line-frame-identification):
5990         Leave it alone.  (Bug#10051)
5992         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
5994         * mail/rmailout.el (rmail-output-to-rmail-buffer):
5995         Handle empty buffers.  (Bug#9978)
5997 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
5999         * international/mule.el (define-charset):
6000         * mail/rmailmm.el (rmail-mime-find-header-encoding):
6001         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6002         * progmodes/verilog-mode.el (verilog-backward-token):
6003         * textmodes/ispell.el (lookup-words):
6004         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6006 2011-11-14  Glenn Morris  <rgm@gnu.org>
6008         * progmodes/executable.el
6009         (executable-make-buffer-file-executable-if-script-p):
6010         Handle file-modes returning nil.
6012         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6013         message - not necessary, and causes problems.  (Bug#9831)
6015         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6017         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6019         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6020         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
6021         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6023 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
6025         * window.el (window-resize, delete-window): Use window-splits
6026         variable instead of function.
6027         (window-state-get-1, window-state-put-2, window-state-put):
6028         Don't deal with windows' splits status.
6030 2011-11-12  Glenn Morris  <rgm@gnu.org>
6032         * apropos.el (apropos-do-all, apropos-library, apropos-value)
6033         (apropos-documentation): Doc fixes.
6035 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
6037         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6038         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6040 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6042         * electric.el (electric-indent-post-self-insert-function): Make it
6043         possible for a char to only indent in some circumstances.
6044         (electric-indent-mode): Simplify.
6046 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
6048         * window.el (windows-with-parameter): Remove unused function.
6049         (windows-at-side): Rename to window-at-side-list.
6050         (window-check, window-atom-check, window-atom-check-1)
6051         (window-side-check, window-size-ignore, window-size-fixed-1)
6052         (window-in-direction-2): Prefix with "window--".
6053         (window-tree-1): Rename to window--subtree, fix doc-string.
6055 2011-11-11  Glenn Morris  <rgm@gnu.org>
6057         * subr.el (eval-after-load): If FILE is already loaded,
6058         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
6060 2011-11-10  Glenn Morris  <rgm@gnu.org>
6062         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6063         Call svn via vc-svn-command rather than vc-do-command.
6064         (vc-svn-command): Add --non-interactive.  (Bug#9993)
6065         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6067         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6068         Add toggle-read-only.  (Bug#7292)
6069         * files.el (toggle-read-only): Mention that it should only
6070         be used interactively.  (Bug#10006)
6072 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6074         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6075         Adjust regexp for OCaml warnings.
6077         * electric.el (electric-pair-post-self-insert-function): Let user
6078         turn it off buffer-locally (bug#9932).
6080         * progmodes/python.el (python-beginning-of-statement):
6081         Rewrite (bug#2703).
6083         * progmodes/compile.el: Better handle TABs (bug#9749).
6084         (compilation-internal-error-properties)
6085         (compilation-next-error-function): Obey the target buffer's
6086         compilation-error-screen-columns.
6088 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
6090         * progmodes/meta-mode.el: Remove obsolete comments.
6091         (meta-right-comment-regexp, meta-ignore-comment-regexp):
6092         Fix typos in docstrings.
6094 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
6096         * window.el (window-size-fixed-p): Rewrite doc-string.
6097         (window-resizable-p): Rename to window--resizable-p.  Update callers.
6098         (window--resizable): New function.  Make all callers of
6099         window-resizable call window--resizable instead.
6100         (window-resizable): Rewrite in terms of window--resizable.
6102 2011-11-08  Glenn Morris  <rgm@gnu.org>
6104         * progmodes/delphi.el (delphi-mode-syntax-table):
6105         Let define-derived-mode define a proper syntax table.  (Bug#9994)
6107 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6109         * window.el: Stay away from defsubst.
6110         (window-list-no-nils): Remove.
6111         (window-state-get-1, window-state-get): Use backquote instead.
6113 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6115         * emacs-lisp/find-func.el (find-function-read):
6116         Fix incorrect use of default argument in `completing-read'.
6118 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
6120         * window.el (display-buffer-function, special-display-function):
6121         Mention display-buffer-record-window but do not mention
6122         help-setup parameter in doc-strings.
6123         (window-min-delta): Fix doc-string typo.
6125 2011-11-08  Chong Yidong  <cyd@gnu.org>
6127         * window.el (window-total-height, window-total-width): Doc fix.
6128         (window-body-size): Move from C.
6129         (window-body-height, window-body-width): Move to C.
6131 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6133         * window.el: Make special-display like display-buffer-alist (bug#9532).
6134         (display-buffer--special-action): New function, morphed
6135         from display-buffer--special.
6136         (display-buffer): Use it to handle special-display-buffers at higher
6137         priority (just after display-buffer-alist).
6138         (display-buffer-fallback-action, display-buffer--other-frame-action)
6139         (pop-to-buffer-same-window): Remove display-buffer--special.
6141 2011-11-07  Glenn Morris  <rgm@gnu.org>
6143         * calendar/cal-menu.el (cal-menu-set-date-title):
6144         Do nothing if not in a calendar.  (Bug#9976)
6146 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6148         * files.el (find-file): Always use selected-window.
6150 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
6152         * window.el (window-combinations): Make WINDOW argument
6153         mandatory.  Rewrite doc-string.
6154         (walk-window-subtree, window-atom-check, window-min-delta)
6155         (window-max-delta, window--resize-this-window)
6156         (window--resize-root-window-vertically, window-tree)
6157         (balance-windows, window-state-put): Rewrite doc-strings as to
6158         not mention the term "subwindow".
6159         (window--resize-subwindows-skip-p): Rename to
6160         window--resize-child-windows-skip-p.
6161         (window--resize-subwindows-normal): Rename to
6162         window--resize-child-windows-normal.
6163         (window--resize-subwindows): Rename to
6164         window--resize-child-windows.
6165         (window-or-subwindow-p): Rename to window--in-subtree-p.
6167 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
6169         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6170         Ensure that mbox format messages end in two newlines (Bug#9974).
6172 2011-11-06  Chong Yidong  <cyd@gnu.org>
6174         * window.el (window-combination-p): Function deleted; its
6175         side-effect is not used in any existing code.
6176         (window-combinations, window-combined-p): Call window-*-child
6177         directly.
6179 2011-11-05  Chong Yidong  <cyd@gnu.org>
6181         * window.el (window-valid-p): Rename from window-any-p.
6182         (window-size-ignore, window-state-get): Callers changed.
6183         (window-normalize-window): Rename from window-normalize-any-window.
6184         New arg LIVE-ONLY, replacing window-normalize-live-window.
6185         (window-normalize-live-window): Delete.
6186         (window-combination-p, window-combined-p, window-combinations)
6187         (walk-window-subtree, window-atom-root, window-min-size)
6188         (window-sizable, window-sizable-p, window-size-fixed-p)
6189         (window-min-delta, window-max-delta, window-resizable)
6190         (window-resizable-p, window-full-height-p, window-full-width-p)
6191         (window-current-scroll-bars, window-point-1, set-window-point-1)
6192         (window-at-side-p, window-in-direction, window-resize)
6193         (adjust-window-trailing-edge, maximize-window, minimize-window)
6194         (window-deletable-p, delete-window, delete-other-windows)
6195         (record-window-buffer, unrecord-window-buffer)
6196         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6197         (quit-window, split-window, window-state-put)
6198         (set-window-text-height, fit-window-to-buffer)
6199         (shrink-window-if-larger-than-buffer): Callers changed.
6201 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
6203         * mail/rmail.el (rmail-simplified-subject): Decode subject with
6204         rfc2047-decode-string.
6205         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6206         warnings.
6208         * window.el (window-body-height, window-body-width): Mention in
6209         the doc string that the return values are in frame's canonical
6210         units.  (Bug#9949)
6212 2011-11-03  Alan Mackenzie  <acm@muc.de>
6214         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6215         change in cc-engine.el.
6217 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6219         * window.el (switch-to-buffer): Use `force-same-window' interactively.
6221 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
6223         * window.el (quit-window): Call unrecord-window-buffer after
6224         showing another buffer in the window.  (Bug#9937)
6225         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6227 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
6229         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6230         Accept status with more than 9 shelves.  (Bug#9935)
6231         Reported by Colin D Bennett <colin@gibibit.com>.
6233 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
6235         * help.el (with-help-window): Don't reference
6236         temp-buffer-show-specifiers in doc-string.
6238 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6240         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6241         menu-item.
6243 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6245         * whitespace.el: New version 13.2.2.
6246         (whitespace-newline-mode): Disable properly.  Reported by Sarah
6247         <EmacsWiki>.
6249 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
6251         * net/newst-treeview.el: Remove "Time-stamp".
6252         (newsticker--group-manage-orphan-feeds): Do not call
6253         newsticker--treeview-tree-update.
6254         (newsticker-treeview-update, newsticker-treeview):
6255         Call newsticker--treeview-tree-update if necessary.
6257 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
6259         * window.el (window-iso-combination-p, window-iso-combined-p)
6260         (window-iso-combinations): Remove "iso-" infix.
6261         Suggested by Chong Yidong.
6262         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6263         (window-max-delta-1, window-resize, window--resize-siblings)
6264         (window--resize-this-window, adjust-window-trailing-edge)
6265         (split-window, balance-windows-1)
6266         (shrink-window-if-larger-than-buffer):
6267         * calendar/calendar.el (calendar-generate-window):
6268         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6270 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6272         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6273         in place (bug#9907).
6274         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6275         (eshell-rewrite-if-command, eshell-rewrite-for-command)
6276         (eshell-structure-basic-command, eshell-rewrite-while-command)
6277         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6278         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6279         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6280         (eshell-do-pipelines-synchronously, eshell-eval-command):
6281         Use backquotes and prefer setq to set.
6282         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6283         (eshell-macrop): Use functionp.
6284         (eshell-do-eval): Handle multiple expressions in `while' body.
6286 2011-10-30  Chong Yidong  <cyd@gnu.org>
6288         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6289         instead of set-mark (Bug#9810).
6291 2011-10-30  Chong Yidong  <cyd@gnu.org>
6293         * window.el (split-window-below, split-window-right): Rename from
6294         split-window-above-each-other and split-window-side-by-side
6295         respectively.  All callers changed.
6296         (split-window-sensibly, split-window-sensibly): Use them.
6297         (split-window-keep-point): Doc fix.
6299         * isearch.el: Add isearch-scroll property to split-window-below
6300         and split-window-right.
6302         * follow.el (follow-mode):
6303         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6304         * progmodes/ada-xref.el (ada-gdb-application):
6305         * emulation/vip.el (vip-buffer-in-two-windows):
6306         * image-dired.el (image-dired-dired-with-window-configuration):
6307         * dired-x.el (dired-do-find-marked-files):
6308         * dired.el (dired-pop-to-buffer):
6309         * bs.el (bs--show-with-configuration):
6310         * vc/emerge.el (emerge-setup-windows):
6311         * textmodes/two-column.el (2C-two-columns):
6312         * textmodes/reftex-toc.el (reftex-toc):
6313         * progmodes/gdb-mi.el (gdb-setup-windows):
6314         * progmodes/fortran.el (fortran-window-create):
6315         * net/newst-treeview.el (newsticker--treeview-window-init):
6316         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6317         * emulation/tpu-edt.el (tpu-gold-map):
6318         * emulation/crisp.el (crisp-mode-map):
6319         * calendar/calendar.el (calendar-basic-setup): Callers changed.
6321 2011-10-29  Chong Yidong  <cyd@gnu.org>
6323         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6325         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6327         * textmodes/flyspell.el (flyspell-word): Fix char offset for
6328         forged Ispell output (Bug#7904).
6330         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6332 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6334         * doc-view.el: Avoid ugly errors about not finding nil.
6335         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6336         (doc-view-dvipdf-program, doc-view-unoconv-program)
6337         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6338         Avoid nil or absolute file name as default value.
6339         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6341 2011-10-28  Alan Mackenzie  <acm@muc.de>
6343         * progmodes/cc-defs.el (c-version): -> 5.32.2.
6345 2011-10-28  Alan Mackenzie  <acm@muc.de>
6347         Amend the handling of c-beginning/end-of-defun in nested declaration
6348         scopes.
6350         * progmodes/cc-vars.el (c-defun-tactic): Move here from
6351         cc-langs.el.  Change it to a defcustom.
6353         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6354         cc-vars.el.
6356         * progmodes/cc-engine.el (c-beginning-of-statement-1):
6357         Prevent "class foo : bar" being spuriously recognized as a label.
6359         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6360         Add parameter `inclusive' (to include enclosing braces in the region).
6361         (c-widen-to-enclosing-decl-scope): New function.
6362         (c-while-widening-to-decl-block): New macro.
6363         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6364         outward for defun boundaries, and correspondingly change symbol
6365         `respect-enclosure' to `go-outward'.
6366         (c-declaration-limits): Change algorithm to report only the "innermost"
6367         defun's boundaries.
6369 2011-10-28  Deniz Dogan  <deniz@dogan.se>
6371         * net/rcirc.el (rcirc-mode): Use hard newlines.
6373 2011-10-28  Alan Mackenzie  <acm@muc.de>
6375         Amend to indent and fontify macros "which include their own semicolon"
6376         correctly, using the "virtual semicolon" mechanism.
6378         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6380         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6381         Recode to scan one line at a time rather than having \n and \r
6382         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6383         (c-forward-label): Amend for virtual semicolons.
6384         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6386         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6387         of the new C macros.
6389         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6390         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6391         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6392         (c-opt-cpp-macro-define): Make into a full language variable.
6393         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6394         AWK Mode (including \n, \r) removed, no longer needed.
6396         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6397         Invoke c-make-macro-with-semi-re.
6399         * progmodes/cc-vars.el (c-macro-with-semi-re):
6400         (c-macro-names-with-semicolon): New variables.
6401         (c-make-macro-with-semi-re): New function.
6403 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6405         * vc/log-edit.el: Fill empty field rather than adding new one.
6406         (log-edit-add-field): New function.
6407         (log-edit-insert-changelog): Use it.
6409 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
6411         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6413 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6415         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6416         (gdb--check-interpreter): New function.
6417         (gdb): Use it.
6419 2011-10-27  Glenn Morris  <rgm@gnu.org>
6421         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6422         (least-positive-float, least-negative-float)
6423         (least-positive-normalized-float, least-negative-normalized-float)
6424         (float-epsilon, float-negative-epsilon):
6425         Remove unnecessary declarations.
6427         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6428         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6429         (least-positive-float, least-negative-float)
6430         (least-positive-normalized-float, least-negative-normalized-float)
6431         (float-epsilon, float-negative-epsilon): Add doc-strings,
6432         based on those in cl.texi.
6434         * files.el (set-visited-file-name): If the major-mode changed,
6435         reload the local variables.  (Bug#9796)
6437 2011-10-27  Chong Yidong  <cyd@gnu.org>
6439         * subr.el (change-major-mode-after-body-hook): New hook.
6440         (run-mode-hooks): Run it.
6442         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6443         Use change-major-mode-before-body-hook.
6445         * simple.el (fundamental-mode):
6446         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6447         change introducing fundamental-mode-hook.
6449 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
6451         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6453 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
6455         * ido.el (ido-file-name-all-completions-1): Do not require
6456         tramp.el explicitly.  (Bug#7583)
6458 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6460         * progmodes/octave-mod.el:
6461         * progmodes/octave-inf.el: Update maintainer.
6463 2011-10-26  Chong Yidong  <cyd@gnu.org>
6465         * subr.el (with-wrapper-hook): Rewrite doc.
6467 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
6469         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6470         filenames "/method:foo:".  (Bug#9793)
6472 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6474         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6475         (bug#9865).
6477 2011-10-24  Glenn Morris  <rgm@gnu.org>
6479         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
6481 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
6483         * notifications.el: Add the requirement of a running D-Bus session
6484         bus to the Commentary.
6486 2011-10-24  Juri Linkov  <juri@jurta.org>
6488         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6489         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6490         (Bug#9364)
6492 2011-10-24  Juri Linkov  <juri@jurta.org>
6494         * info.el (Info-following-node-name-re): Add newline to the list
6495         of allowed characters for leading space.  (Bug#9824)
6497 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6499         * progmodes/octave-inf.el (inferior-octave-mode-map):
6500         Fix C-c C-h binding.
6501         * progmodes/octave-mod.el (octave-help): Remove.
6503 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
6505         Sync with Tramp 2.2.3.
6507         * net/tramp-cache.el (top): Pacify byte-compiler using
6508         `init-file-user' and `site-run-file'.
6510         * net/trampver.el: Update release number.
6512 2011-10-23  Chong Yidong  <cyd@gnu.org>
6514         * files.el (toggle-read-only): Remove obsolete comment about
6515         version control.
6517         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6518         for toggle-read-only.  Note that this hasn't called vc-next-action
6519         since 2008-05-02, though it wasn't documented at the time.
6521         * vc/ediff-init.el (ediff-toggle-read-only-function):
6522         Use toggle-read-only.
6524 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
6526         Fix bug #9560, sporadic wrong indentation; improve instrumentation
6527         of c-parse-state.
6529         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6530         correct faulty logical expression.
6531         (c-parse-state-state, c-record-parse-state-state):
6532         (c-replay-parse-state-state): New defvar/defuns.
6533         (c-debug-parse-state): Use new functions.
6535 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
6537         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6538         last fix.  Use window-in-direction correctly.
6540 2011-10-21  Chong Yidong  <cyd@gnu.org>
6542         * progmodes/idlwave.el (idlwave-mode):
6543         * progmodes/vera-mode.el (vera-mode): No need to set
6544         require-final-newline; that's done in prog-mode.
6545         Suggested by Stefan Monnier.
6547 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
6549         * mouse.el (mouse-drag-window-above)
6550         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6551         (mouse-drag-mode-line-1, mouse-drag-header-line)
6552         (mouse-drag-vertical-line-rightward-window): Remove.
6553         (mouse-drag-line): New function.
6554         (mouse-drag-mode-line, mouse-drag-header-line)
6555         (mouse-drag-vertical-line): Call mouse-drag-line.
6556         * window.el (window-at-side-p, windows-at-side): New functions.
6558 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
6560         * tar-mode.el (tar-grind-file-mode):
6561         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
6563 2011-10-21  Chong Yidong  <cyd@gnu.org>
6565         * progmodes/idlwave.el (idlwave-mode):
6566         * progmodes/vera-mode.el (vera-mode):
6567         Use mode-require-final-newline.
6569 2011-10-20  Glenn Morris  <rgm@gnu.org>
6571         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
6573 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
6575         * emulation/cua-base.el (cua-set-mark): Fix case of string.
6577 2011-10-20  Chong Yidong  <cyd@gnu.org>
6579         * emulation/cua-base.el (cua-mode):
6580         * mail/footnote.el (footnote-mode):
6581         * mail/mailabbrev.el (mail-abbrevs-mode):
6582         * net/xesam.el (xesam-minor-mode):
6583         * progmodes/bug-reference.el (bug-reference-mode):
6584         * progmodes/cap-words.el (capitalized-words-mode):
6585         * progmodes/compile.el (compilation-minor-mode)
6586         (compilation-shell-minor-mode):
6587         * progmodes/gud.el (gud-tooltip-mode):
6588         * progmodes/hideif.el (hide-ifdef-mode):
6589         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6590         * progmodes/subword.el (subword-mode):
6591         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6592         * progmodes/which-func.el (which-function-mode):
6593         * term/tvi970.el (tvi970-set-keypad-mode):
6594         * term/vt100.el (vt100-wide-mode):
6595         * textmodes/flyspell.el (flyspell-mode):
6596         * textmodes/ispell.el (ispell-minor-mode):
6597         * textmodes/nroff-mode.el (nroff-electric-mode):
6598         * textmodes/paragraphs.el (use-hard-newlines):
6599         * textmodes/refill.el (refill-mode):
6600         * textmodes/reftex.el (reftex-mode):
6601         * textmodes/rst.el (rst-minor-mode):
6602         * textmodes/sgml-mode.el (html-autoview-mode)
6603         (sgml-electric-tag-pair-mode):
6604         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6605         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6606         * emulation/crisp.el (crisp-mode):
6607         * emacs-lisp/eldoc.el (eldoc-mode):
6608         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6609         minor mode behavior.
6611 2011-10-19  Juri Linkov  <juri@jurta.org>
6613         * descr-text.el (describe-char): Add #x2010 and #x2011 to
6614         the list of hard-coded chars with escape-glyph face.
6616 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6618         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6620 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
6622         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6623         running process.
6625 2011-10-19  Glenn Morris  <rgm@gnu.org>
6627         * vc/vc-bzr.el (vc-bzr-after-dir-status):
6628         Ignore ignored files.  (Bug#9726)
6630 2011-10-19  Chong Yidong  <cyd@gnu.org>
6632         Doc fix for minor modes, stating that an omitted argument enables
6633         the mode unconditionally when called from Lisp.
6635         * abbrev.el (abbrev-mode):
6636         * allout.el (allout-mode):
6637         * autoinsert.el (auto-insert-mode):
6638         * autoarg.el (autoarg-mode, autoarg-kp-mode):
6639         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6640         (global-auto-revert-mode):
6641         * battery.el (display-battery-mode):
6642         * composite.el (global-auto-composition-mode)
6643         (auto-composition-mode):
6644         * delsel.el (delete-selection-mode):
6645         * desktop.el (desktop-save-mode):
6646         * dired-x.el (dired-omit-mode):
6647         * dirtrack.el (dirtrack-mode):
6648         * doc-view.el (doc-view-minor-mode):
6649         * double.el (double-mode):
6650         * electric.el (electric-indent-mode, electric-pair-mode):
6651         * emacs-lock.el (emacs-lock-mode):
6652         * epa-hook.el (auto-encryption-mode):
6653         * follow.el (follow-mode):
6654         * font-core.el (font-lock-mode):
6655         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6656         * help.el (temp-buffer-resize-mode):
6657         * hilit-chg.el (highlight-changes-mode)
6658         (highlight-changes-visible-mode):
6659         * hi-lock.el (hi-lock-mode):
6660         * hl-line.el (hl-line-mode, global-hl-line-mode):
6661         * icomplete.el (icomplete-mode):
6662         * ido.el (ido-everywhere):
6663         * image-file.el (auto-image-file-mode):
6664         * image-mode.el (image-minor-mode):
6665         * iswitchb.el (iswitchb-mode):
6666         * jka-cmpr-hook.el (auto-compression-mode):
6667         * linum.el (linum-mode):
6668         * longlines.el (longlines-mode):
6669         * master.el (master-mode):
6670         * mb-depth.el (minibuffer-depth-indicate-mode):
6671         * menu-bar.el (menu-bar-mode):
6672         * minibuf-eldef.el (minibuffer-electric-default-mode):
6673         * mouse-sel.el (mouse-sel-mode):
6674         * msb.el (msb-mode):
6675         * mwheel.el (mouse-wheel-mode):
6676         * outline.el (outline-minor-mode):
6677         * paren.el (show-paren-mode):
6678         * recentf.el (recentf-mode):
6679         * reveal.el (reveal-mode, global-reveal-mode):
6680         * rfn-eshadow.el (file-name-shadow-mode):
6681         * ruler-mode.el (ruler-mode):
6682         * savehist.el (savehist-mode):
6683         * scroll-all.el (scroll-all-mode):
6684         * scroll-bar.el (scroll-bar-mode):
6685         * server.el (server-mode):
6686         * shell.el (shell-dirtrack-mode):
6687         * simple.el (auto-fill-mode, transient-mark-mode)
6688         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6689         (line-number-mode, column-number-mode, size-indication-mode)
6690         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6691         * strokes.el (strokes-mode):
6692         * time.el (display-time-mode):
6693         * t-mouse.el (gpm-mouse-mode):
6694         * tool-bar.el (tool-bar-mode):
6695         * tooltip.el (tooltip-mode):
6696         * type-break.el (type-break-mode-line-message-mode)
6697         (type-break-query-mode):
6698         * view.el (view-mode):
6699         * whitespace.el (whitespace-mode, whitespace-newline-mode)
6700         (global-whitespace-mode, global-whitespace-newline-mode):
6701         * xt-mouse.el (xterm-mouse-mode): Doc fix.
6703         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6704         Fix autogenerated docstring.
6706 2011-10-19  Juri Linkov  <juri@jurta.org>
6708         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6709         by checking environment variables "DESKTOP_SESSION" and
6710         "XDG_CURRENT_DESKTOP".  (Bug#9779)
6712 2011-10-19  Juri Linkov  <juri@jurta.org>
6714         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6715         (browse-url-chromium-program, browse-url-chromium-arguments):
6716         New defcustoms.
6717         (browse-url-default-browser): Check for `browse-url-chromium' and
6718         call `browse-url-chromium-program'.
6719         (browse-url-chromium): New command.  (Bug#9779)
6721 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
6723         * facemenu.el (list-colors-duplicates): On Windows, detect more
6724         duplicates by assuming that only colors matching "^System" are
6725         special "system colors".  (Bug#9722)
6727 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6729         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6730         to distinguish the author from the committer.
6732 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
6734         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6736 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
6738         * international/mule.el (sgml-html-meta-auto-coding-function):
6739         Add support for detecting encoding in HTML5 specified only as
6740         <meta charset="UTF-8">.  Implementation just makes http-equiv and
6741         content-type parts from HTML4 encoding string optional.  (Bug#9716)
6743 2011-10-18  Glenn Morris  <rgm@gnu.org>
6745         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
6747 2011-10-18  Chong Yidong  <cyd@gnu.org>
6749         * faces.el (cursor): Doc fix.
6751 2011-10-17  Chong Yidong  <cyd@gnu.org>
6753         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6755 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
6757         * dirtrack.el (dirtrack): Support shell buffers with path
6758         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
6760 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
6762         * json.el: Bump version to 1.3 and note change in History.
6763         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6765 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6767         * comint.el (comint-insert-input, comint-send-input)
6768         (comint-get-old-input-default, comint-backward-matching-input)
6769         (comint-next-prompt): Use nil instead of `input' for field property of
6770         past user input (bug#114).
6772         * minibuffer.el (completion--replace): Inherit surrounding properties
6773         (bug#114).
6774         (minibuffer-complete-and-exit): Use it.
6776         * comint.el (comint--table-subvert): Quote the all-completions output
6777         (bug#9160).
6779 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
6781         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6783         * menu-bar.el (menu-bar-file-menu): Add entry for making new
6784         window on right of selected.  (Bug#9350) Reword other window
6785         entries and separate them from frame entries.
6787 2011-10-15  Glenn Morris  <rgm@gnu.org>
6789         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6790         Doc fixes.
6792 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
6794         * net/network-stream.el (network-stream-open-starttls):
6795         Improve detection of failure due to lack of TLS support.
6797         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6798         putting the input text in front and in bold.
6800 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6802         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6804         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6805         empty buffer.
6807         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6808         unread-command-events rather than pushing yet-another event.
6810 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
6812         * mail/sendmail.el (sendmail-query-once): Improve the wording of
6813         the explanation of the possible choices.  Make the options passed
6814         to completing-read shorter.
6816 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6818         * textmodes/flyspell.el (flyspell-large-region): Make sure
6819         extended character mode is used if defined (Bug#1339).
6821 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
6823         * simple.el (what-cursor-position): Fix the display of the
6824         character info for LRE, LRO, RLE, and RLO characters by appending
6825         an invisible PDF.
6827 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6829         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6830         even in case of error; add debug spec; simplify data flow.
6831         (with-timeout-handler): Remove.
6833 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
6835         Fix Bug#6019, Bug#9315.
6837         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6838         complete `buffer-file-name', the local file name part could look
6839         remotely (for example on VMS).
6841         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6842         `tramp-run-real-handler'.
6843         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6844         already quoted by '"'.
6846         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6847         Let `file-name-handler-alist' be nil, the local file name part
6848         could look remotely (for example on VMS).
6850 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6852         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6853         from here...
6854         (flyspell-post-command-hook): ...to here.
6856 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6858         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6859         if not needed.
6860         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
6861         using completion.  Protect against "slow" callers.
6862         Remove the "message hack".
6864 2011-10-11  Juri Linkov  <juri@jurta.org>
6866         * isearch.el (isearch-lazy-highlight-word): New variable.
6867         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6868         Use it.  (Bug#9727)
6870 2011-10-11  Glenn Morris  <rgm@gnu.org>
6872         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6873         like f90-previous-statement does.
6875 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6877         * eshell/eshell.el (eshell-command): History should be saved
6878         only in interactive use, to avoid error.
6880 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6882         * minibuffer.el (completion-file-name-table): Fix last change,
6883         i.e. ignore normal errors but not the other ones.
6885 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
6887         * window.el (special-display-buffer-names)
6888         (special-display-regexps): Remove some remnants of earlier
6889         changes from doc-strings.
6890         (quit-windows-on): New function.
6892         * vc/vc.el (vc-revert, vc-rollback):
6893         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6894         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
6895         (Bug#6183) (Bug#7074) (Bug#7447)
6897 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
6899         * window.el (frame-auto-hide-function): Add version tag.
6900         (Bug#9699)
6902 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
6904         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6905         condition.
6907 2011-10-09  Leo Liu  <sdl.web@gmail.com>
6909         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6910         (Bug#9701)
6912 2011-10-08  Glenn Morris  <rgm@gnu.org>
6914         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6915         before the first code statement zero indent.  (Bug#9690)
6917 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
6919         * simple.el (count-words-region): Always count in the region.
6920         Report the number of lines and characters too.
6921         (count-words): New command, which counts in the buffer if the
6922         region is inactive, as count-words-region used to.
6923         (count-words--message): New function.  Handle plurals.
6924         (count-lines-region): Make it an alias for count-words-region.
6926         * bindings.el (esc-map): Replace count-lines-region with
6927         count-words-region.
6929 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
6931         * window.el (window--delete): Delete dedicated frame
6932         unconditionally when argument KILL is non-nil.  (Bug#9699)
6933         (switch-to-buffer): Fix doc-string typo.
6935 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6937         * eshell/eshell.el (eshell-command): Avoid using hooks.
6939 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
6941         * bindings.el ([M-left],[M-right]): Bind to left-word and
6942         right-word respectively.
6944 2011-10-07  Glenn Morris  <rgm@gnu.org>
6946         * cus-start.el (debug-on-quit): Fix custom type.
6948 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6950         * subr.el (define-key-after): Clarify that the function is not
6951         useful for non-menu keymaps.
6953         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6955 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6957         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6958         in current minibuffer (Fix bug with recursive minibuffers).
6960 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
6962         * progmodes/gdb-mi.el (gdb): Doc fix.
6964 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
6966         * window.el (frame-auto-hide-function): New option replacing
6967         frame-auto-delete.  Suggested by Stefan Monnier.
6968         (window--delete): Call frame-auto-hide-function instead of
6969         investigating frame-auto-delete.
6970         (window-point-1, set-window-point-1): New functions.
6971         (window-in-direction, record-window-buffer, window-state-get-1)
6972         (display-buffer-record-window): Use window-point-1 instead of
6973         window-point.
6974         (set-window-buffer-start-and-point): Use set-window-point-1.
6976 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6978         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6980 2011-10-05  Glenn Morris  <rgm@gnu.org>
6982         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6983         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
6985 2011-10-05  Leo Liu  <sdl.web@gmail.com>
6987         * subr.el (read-char-choice): Fix argument to buffer-live-p which
6988         works with buffer object.
6990 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6992         * mpc.el (mpc-tool-bar-map): Add labels.
6994 2011-10-04  Glenn Morris  <rgm@gnu.org>
6996         * calendar/holidays.el (calendar-check-holidays): Doc fix.
6998 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
7000         * window.el (window--delete): New function.
7001         (frame-auto-delete): Resuscitate option.
7002         (bury-buffer, replace-buffer-in-windows)
7003         (quit-window): Rewrite using window--delete.
7004         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7005         Pass display-buffer-mark-dedicated to window--display-buffer-2
7006         (Bug#9639).
7008 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7010         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7011         returns a list (bug#9554).  Add remote file name completion.
7012         * comint.el (comint--table-subvert): Curry and get quote&unquote
7013         functions as arguments.
7014         (comint--complete-file-name-data): Adjust call accordingly.
7015         * pcomplete.el (pcomplete--table-subvert): Remove.
7016         (pcomplete-completions-at-point): Use comint--table-subvert instead.
7018         * minibuffer.el (completion-table-case-fold): Use currying.
7019         (completion--styles-type, completion--cycling-threshold-type):
7020         New constants.
7021         (completion-styles, completion-category-overrides)
7022         (completion-cycle-threshold): Use them.
7023         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7024         completion-table-case-fold.
7026 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
7028         * minibuffer.el (completion-category-overrides): Fix type of styles
7029         and add more user friendly tags (bug#9660).
7031 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7033         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7034         (mule-input-method-string): New widget.
7035         (default-input-method, language-info-custom-alist): Use it.
7037 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7039         * pcomplete.el: Require comint.
7040         (pcomplete--common-suffix): Remove.
7041         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7042         (pcomplete--table-subvert): Sync with comint--table-subvert.
7043         (pcomplete--entries): Use comint-completion-file-name-table.
7044         * comint.el (comint-unquote-filename): Simplify.
7045         (comint-completion-file-name-table): New function (bug#9616).
7046         (comint--complete-file-name-data): Use it.
7048         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7049         (pcmpl-gnu-tar-buffer): Remove.
7050         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7051         around.  Make sure pcomplete-suffix-list is only changed temporarily.
7052         Don't look inside the tar's file if it's too large.
7054 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
7056         * cus-edit.el (custom-mode-map):
7057         * epa.el (epa-key-list-mode-map):
7058         * man.el (Man-mode-map):
7059         * startup.el (splash-screen-keymap):
7060         * simple.el (special-mode-map): Use scroll-up-command and
7061         scroll-down-command.
7063         * progmodes/idlw-help.el (idlwave-help-mode-map):
7064         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7065         * net/newst-plainview.el (newsticker-mode-map):
7066         * emulation/ws-mode.el (wordstar-mode-map):
7067         * emulation/vi.el (vi-com-map):
7068         * calc/calc-graph.el (calc-graph-show-dumb):
7069         * term/sun.el (terminal-init-sun):
7070         * term/ns-win.el (global-map):
7071         * progmodes/grep.el (grep-mode-map):
7072         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7073         * mail/rmail.el (rmail-mode-map):
7074         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7076         * custom.el (custom-safe-themes, load-theme): Treat value of t for
7077         custom-safe-themes as special.
7079 2011-10-01  Julien Danjou  <julien@danjou.info>
7081         * notifications.el (notifications-notify): Fix docstring.
7083 2011-10-01  Per Starbäck  <per@starback.se>
7085         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
7087 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
7089         * startup.el (command-line-1): Fix last fix by inserting
7090         initial-scratch-message into *scratch* before displaying it.
7091         (Bug#9605) and (Bug#9636)
7093 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
7095         * simple.el (line-move): If auto-hscroll-mode is disabled and the
7096         window is hscrolled, move by logical lines.  (Bug#9607)
7097         (line-move-visual): Update the doc string to the above effect.
7099 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
7101         * window.el (display-buffer-record-window): When WINDOW is the
7102         selected window use `point' instead of `window-point'.  (Bug#9626)
7104         * startup.el (command-line-1): Use insert-before-markers when
7105         inserting initial-scratch-message.  (Bug#9605)
7107         * help.el (help-window): Remove variable.
7109 2011-09-29  Glenn Morris  <rgm@gnu.org>
7111         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7113 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
7115         * descr-text.el (describe-char-categories): Accept category
7116         descriptions more than one line long.
7118 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7120         * simple.el (delete-trailing-whitespace): Fix last change.
7122         * progmodes/perl-mode.el (perl-syntax-propertize-function):
7123         Don't confuse "y => 3" as the beginning of a `y' operation.
7125         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7126         object has more than 4 slots (bug#9613).
7128 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
7130         * subr.el (with-output-to-temp-buffer):
7131         * net/quickurl.el (quickurl, quickurl-browse-url):
7132         Fix typos in docstrings.
7134 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
7136         * minibuffer.el (completion-styles)
7137         (completion-category-overrides): Cross reference each other in doc
7138         strings.
7140 2011-09-27  Glenn Morris  <rgm@gnu.org>
7142         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7143         to split-string.  (Bug#9606)
7145 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7147         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7148         (bug#9615).
7150 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
7152         * emacs-lisp/package.el (list-packages): Fix echo area message.
7154 2011-09-27  Leo Liu  <sdl.web@gmail.com>
7156         * ido.el (ido-read-internal): Accept cons cell HIST arg.
7158 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
7160         * net/dbus.el (dbus-unregister-object): Don't release services for
7161         registered signals.  (Bug#9581)
7163 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
7165         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7166         function that picks between cfengine 2 and 3 support
7167         automatically.  Update docs accordingly.
7169 2011-09-22  Kenichi Handa  <handa@m17n.org>
7171         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7172         ZERO.
7173         (indian-itrans-v5-table-for-tamil): New variable.
7174         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7176 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
7178         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7179         that's true if the current command involved collapsing of text.
7180         It's reset to false at the beginning of the next command.
7181         (allout-post-command-business): Move the cursor to the beginning
7182         of entry if the cursor is hidden and collapsing activity just
7183         happened.
7185 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
7187         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7188         tracking (Bug#9541).
7190 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
7192         * net/newst-reader.el (newsticker-html-renderer)
7193         (newsticker-show-news): Automatically load html rendering package
7194         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
7195         because w3m-fill-column is let-bound" and the error "Symbol's value
7196         as variable is void: w3m-fill-column".
7198 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
7200         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7201         Release services only if they are defined.  (Bug#9581)
7203 2011-09-23  Richard Stallman  <rms@gnu.org>
7205         * textmodes/paragraphs.el (forward-sentence): For backwards case,
7206         distinguish start of paragraph from start of its text.
7208         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7210         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7211         (rmail-generate-viewer-buffer): Put that hook on view buffer.
7212         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7214 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
7216         * international/mule-diag.el (mule-diag): Insert a newline after
7217         each fontset description.
7219 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7221         * simple.el (delete-trailing-whitespace):
7222         Document last change; simplify.
7224 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
7226         * simple.el (delete-trailing-whitespace): Also delete
7227         extra newlines at the end of the buffer.
7229         * textmodes/picture.el: Make motion commands obey shift-select-mode.
7230         (picture-newline): Use forward-line so as to ignore fields.
7232 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7234         * subr.el (with-wrapper-hook): Fix edebug spec.
7236 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7238         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7239         (bug#4538).
7241 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
7243         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7244         Fix nasty bug using wrong cached values.
7246 2011-09-23  Alan Mackenzie  <acm@muc.de>
7248         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7250 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
7252         * window.el (pop-to-buffer): Ensure right window is selected if we
7253         chose another frame.
7255 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
7257         * simple.el (what-cursor-position): Use get-char-property-change
7258         and next-single-char-property-change, to be able to show display
7259         properties that come from overlays as well as text properties.
7261 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
7263         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7265         * cmuscheme.el (run-scheme, switch-to-scheme):
7266         * cus-edit.el (customize-group, custom-buffer-create)
7267         (customize-browse):
7268         * info.el (info):
7269         * shell.el (shell):
7270         * mail/sendmail.el (mail):
7271         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7273 2011-09-22  Richard Stallman  <rms@gnu.org>
7275         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7276         move back only to line beg, don't move back over blank lines.
7278 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
7280         * files.el (copy-directory): Set directory attributes only in case
7281         they could be retrieved from the source directory.  (Bug#9565)
7283 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
7285         * progmodes/hideshow.el (hs-looking-at-block-start-p)
7286         (hs-find-block-beginning, hs-hide-level-recursive):
7287         Ignore strings as well as comments.  (Bug#9502)
7289 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
7291         * progmodes/sql.el (sql-comint-postgres):
7292         Convert port number to a string.  (Bug#9566)
7294 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
7296         * window.el (quit-window): Undedicate window when switching to
7297         previous buffer.  Reported by Thierry Volpiatto
7298         <thierry.volpiatto@gmail.com>.
7299         (special-display-popup-frame): When popping up a new frame reset
7300         its previous buffers to nil.  Simplify code.
7302 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
7304         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7305         and process filter, as done also in `shell-command'.
7307 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
7309         * window.el (set-window-buffer-start-and-point):
7310         Call set-window-start with NOFORCE argument t.
7311         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7312         (quit-window): Reword doc-string.  Handle new format of
7313         quit-restore parameter.  Don't delete window if it has a
7314         previous buffer we can show instead of the present one.
7315         (display-buffer-record-window): Rewrite using a new format for
7316         the quit-restore window parameter
7317         (special-display-popup-frame, display-buffer-same-window)
7318         (display-buffer-reuse-window, display-buffer-pop-up-frame)
7319         (display-buffer-pop-up-window, display-buffer-use-some-window):
7320         Adapt symbol passed to display-buffer-record-window.
7321         * help.el (help-window-setup): Handle new format of quit-restore
7322         parameter.
7324 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7326         * faces.el (face-list): Fix docstring (bug#9564).
7328         * window.el (display-buffer--action-function-custom-type):
7329         Don't include internal functions in the Custom interface.
7331 2011-09-20  Juri Linkov  <juri@jurta.org>
7333         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7334         (Info-forward-node, Info-backward-node, Info-next-preorder)
7335         (Info-last-preorder): Use it.  (Bug#9528)
7337 2011-09-20  Juri Linkov  <juri@jurta.org>
7339         * info.el (Info-last-preorder): Visit last menu item only when
7340         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7342 2011-09-20  Julien Danjou  <julien@danjou.info>
7344         * password-cache.el (password-cache-remove): Remove entries even if the
7345         value is nil, so that password with a nil value (negative caching) is
7346         possible to invalidate.
7348 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
7350         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7351         all whitespace around breakpoint.  (Bug#9553)
7352         (f90-find-breakpoint): Only break at whitespace inside a comment.
7354 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7356         * minibuffer.el (completion-file-name-table): Keep track of errors.
7357         (completion-table-with-predicate): Handle the case where pred1 is nil.
7358         * pcomplete.el (pcomplete-completions-at-point): Simplify.
7360 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7362         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7363         (debugger-return-value): Signal an error if the debugging context does
7364         not await any return value.
7366         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7367         * image-mode.el (image-toggle-display-text)
7368         (image-toggle-display-image): Stay away from evil `intangible'.
7370 2011-09-19  Leo Liu  <sdl.web@gmail.com>
7372         * replace.el (occur-revert-arguments): Make it permanent-local.
7373         (occur-mode): Don't call font-lock-defontify.
7375 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
7377         * net/ldap.el (ldap-search-internal): Don't push empty search
7378         result (Bug#9508).
7380 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7382         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7384 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
7386         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7387         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7389 2011-09-18  Juri Linkov  <juri@jurta.org>
7391         * buff-menu.el (Buffer-menu-mode-map):
7392         * dired.el (dired-mode-map):
7393         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7394         (lisp-interaction-mode-map):
7395         * emacs-lisp/package.el (package-menu-mode-map):
7396         * epa.el (epa-key-list-mode-map):
7397         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7398         (menu-bar-options-menu):
7399         * outline.el (outline-mode-menu-bar-map):
7400         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7401         * vc/vc-dir.el (vc-dir-menu-map):
7402         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7403         Capitalize non-function content words in menu item strings.
7405         * dired.el (dired-mode-map): Add menu item for
7406         `image-dired-dired-toggle-marked-thumbs'.
7408 2011-09-18  Juri Linkov  <juri@jurta.org>
7410         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7411         to `isearch-case-fold-search' and restore its original value
7412         after the `isearch-mode' call.
7414 2011-09-18  Juri Linkov  <juri@jurta.org>
7416         * progmodes/grep.el (grep-process-setup): Don't check code for 1
7417         because `zgrep' returns 1 for successful matches (bug#9226).
7419 2011-09-18  Juri Linkov  <juri@jurta.org>
7421         * info.el (Info-extract-menu-node-name): Check the second match
7422         for empty string (second test-case of bug#9528).
7423         (Info-last-preorder): Let-bind `Info-history' to nil to not add
7424         intermediate nodes to the history (first test-case of bug#9528).
7426 2011-09-18  Juri Linkov  <juri@jurta.org>
7428         * info.el (Info-mode-syntax-table): New variable.
7429         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7431 2011-09-18  Juri Linkov  <juri@jurta.org>
7433         * info.el (Info-file-supports-index-cookies):
7434         Increment line-beginning-position's arg from 3 to 4 because makeinfo
7435         outputs one more line for long file names (bug#4142).
7437 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
7439         * newcomment.el (comment-normalize-vars): If prompting for
7440         comment-start, set comment-start-skip too (Bug#8424).
7442 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
7444         * icomplete.el: Fix previous fix of Bug#5849.
7445         (icomplete-mode): Don't set completion-show-inline-help.
7446         (icomplete-minibuffer-setup): Set completion-show-inline-help
7447         locally during icompletion.
7449 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
7451         * woman.el (woman2-process-escapes): Don't delete unrecognized
7452         escapes (Bug#7843).
7454         * files.el (inhibit-first-line-modes-regexps): Add image files.
7455         (hack-local-variables-prop-line): Return nil for malformed
7456         prop-lines (Bug#9044).
7458 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
7460         * net/tramp.el (top): Don't require 'shell.
7461         (tramp-methods): Fix docstring.
7462         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7463         Return complete remote file name.  Handle "smb" case.
7464         Use `tramp-tmpdir', if defined for the respective method.
7465         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7467         * net/tramp-compat.el (top): Require 'shell.
7469         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7470         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7471         `tramp-current-host'.
7472         (tramp-get-remote-tmpdir): Remove.
7474         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7475         `tramp-tmpdir' entries.
7476         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7477         (tramp-smb-handle-file-attributes): Ignore errors.
7478         (tramp-smb-wait-for-output): Check also for process end.
7480 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7482         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7483         when sending QUIT (bug#9312).
7485 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
7487         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7488         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7489         occur-mode-display-occurrence.
7490         (occur-edit-mode): Add usage message.
7491         (occur-cease-edit): New command.
7492         (occur-after-change-function): Use text properties to find the
7493         position of the prefix text.
7494         (occur-engine): Set stickiness of prefix text properties.
7496 2011-09-17  Glenn Morris  <rgm@gnu.org>
7498         * progmodes/etags.el (complete-tag):
7499         Fix call to completion-in-region.  (Bug#9526)
7501 2011-09-17  Juri Linkov  <juri@jurta.org>
7503         * textmodes/ispell.el (ispell-word): Add to the error message
7504         the word, ispell program name and current dictionary (bug#9121).
7505         (ispell-tex-arg-end): Capitalize "error" in the error message.
7507 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
7509         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7510         check.  (Bug#4251)
7512 2011-09-17  Juri Linkov  <juri@jurta.org>
7514         * window.el (window-safe-min-height, window-safe-min-width):
7515         Fix typos (followup to bug#9522).
7517 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
7519         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7521 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
7523         * simple.el (line-move): If goal-column is set, move by logical
7524         lines, not by display lines.  (Bug#971)
7525         (next-line, previous-line, goal-column, line-move-visual): Doc fix
7526         to reflect the above change.
7528 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7530         * image.el (imagemagick-register-types): Use regexp-opt.
7532 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
7534         * window.el (display-buffer-base-action): Rename from
7535         display-buffer-default-action.  Make default value empty.
7536         (display-buffer-overriding-action): Convert to defvar.
7537         (display-buffer-fallback-action): New var.
7539 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
7541         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7542         declaration.
7543         (package--add-to-archive-contents): If there is a duplicate entry
7544         with an older version, remove it.
7545         (package-menu-mark-delete, package-menu-mark-install)
7546         (package-menu-mark-unmark): Make unused args optional.
7547         (package-menu-mark-obsolete-for-deletion):
7548         Use package-menu-get-status instead of a regexp search.
7549         (package-menu-get-status): Use tabulated-list-entry.
7550         (package-menu-mark-upgrades): New command.
7551         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
7552         (package-menu-execute): Do installation before deletion.
7553         (package-menu-refresh, package-menu-execute): Use derived-mode-p
7554         instead of checking major-mode.
7555         (package-menu--find-upgrades): New function.
7557 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7559         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7560         passwords in the log buffer.
7561         (smtpmail-process-filter): Update the process marker so that the
7562         "broken by peer" status message is inserted in the right place.
7564 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7566         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7567         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7568         bibtex-completion-at-point-function.
7569         (bibtex-completion-at-point-function): Use them.
7571         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7573         * mpc.el (mpc-constraints-tag-lookup): New function.
7574         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7575         also to browser "album|playlist".
7577 2011-09-14  Juri Linkov  <juri@jurta.org>
7579         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
7580         (isearch-edit-string): Use length of `isearch-string' when
7581         `isearch-fail-pos' returns nil.
7582         (isearch-message): Remove duplicate code and call
7583         `isearch-fail-pos' with arg `t'.
7585 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
7587         * replace.el (occur-mode-goto-occurrence): Don't force using other
7588         window (Bug#9499).
7590         * dired-aux.el (dired-do-chmod): Don't provide initial input.
7592 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
7594         * window.el (display-buffer-window): Remove.
7595         (display-buffer-record-window): Use help-setup window parameter
7596         instead of variable display-buffer-window.
7597         (display-buffer-function, special-display-buffer-names)
7598         (special-display-function): Mention help-setup parameter instead
7599         of display-buffer-window in doc-string.
7600         * help.el (help-window-setup): New argument help-window.
7601         Use help-window-setup parameter instead of display-buffer-window.
7602         Reword some messages.
7603         (with-help-window): Pass window used for displaying the buffer
7604         to help-window-setup.  Don't set display-buffer-window.
7606 2011-09-13  Glenn Morris  <rgm@gnu.org>
7608         * emacs-lisp/debug.el (debugger-make-xrefs):
7609         Preserve point.  (Bug#9462)
7611 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
7613         * window.el (window-deletable-p): Use next-frame.
7615 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
7617         * window.el (window-auto-delete): Remove.
7618         (window-deletable-p): Remove argument FORCE.  Don't deal with
7619         dedication and previous buffers.
7620         (switch-to-prev-buffer): Don't delete window.
7621         (delete-windows-on): Delete a window's frame if and only if the
7622         window is dedicated.
7623         (replace-buffer-in-windows): Delete buffer's window or frame if
7624         and only if window is dedicated.
7625         (quit-window): Handle quit-restore as before last change.
7626         (bury-buffer): Delete window only if window-deletable-p returns t.
7628 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
7630         * window.el (window-deletable-p): Never delete the last frame on a
7631         given terminal.
7633 2011-09-13  Glenn Morris  <rgm@gnu.org>
7635         * help.el (describe-key-briefly): Copy previous standard-output change.
7637 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
7639         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
7641 2011-09-13  Glenn Morris  <rgm@gnu.org>
7643         * emacs-lisp/lisp-mode.el (lisp-indent-function):
7644         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7646 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
7648         * dired-aux.el (dired-mark-read-string): Don't return default
7649         value on empty input (Bug#9361).
7650         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7651         Omit initial minibuffer contents.
7652         (dired-do-chmod): Signal an error on empty input.
7653         (dired-mark-read-string): Don't return default on empty input.
7655         * files.el (file-modes-symbolic-to-number): Doc fix.
7657 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7659         * international/mule-cmds.el (ucs-completions): Remove.
7660         (read-char-by-name): Use complete-with-action instead; add metadata.
7662 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
7664         * window.el (display-buffer--action-function-custom-type)
7665         (display-buffer--action-custom-type): New vars.
7666         (display-buffer-alist, display-buffer-default-action)
7667         (display-buffer-overriding-action): Add defcustom types.
7669         * frame.el (delete-other-frames): Doc fix (Bug#276).
7671 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7673         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7675 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
7677         Change modes that used same-window-* vars to use switch-to-buffer.
7679         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7680         Use switch-to-buffer.
7682         * cus-edit.el (customize-group, custom-buffer-create)
7683         (customize-browse, custom-buffer-create-other-window):
7684         Use switch-to-buffer or switch-to-buffer-other-window.
7686         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7687         (Info-prev, Info-up, Info-speedbar-goto-node)
7688         (info-display-manual): Use switch-to-buffer.
7689         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7691         * mail/sendmail.el (mail): Use switch-to-buffer.
7692         (mail-recover): Use switch-to-buffer-other-window.
7694         * cmuscheme.el (run-scheme, switch-to-scheme):
7695         * ielm.el (ielm):
7696         * shell.el (shell):
7697         * net/rlogin.el (rlogin):
7698         * net/telnet.el (telnet, rsh):
7699         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7701 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7703         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7705 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7707         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7708         so don't mention it (bug#9301).
7709         (dired-sort-toggle-or-edit): Clarify string further.
7711         * faces.el (face-spec-set-match-display): Make `(type graphic)'
7712         match `x', `w32' and `ns', like the manual says (bug#9029).
7714         * subr.el (eval-after-load): Doc string clarification (bug#9125).
7715         (process-kill-buffer-query-function): Mention the buffer name in
7716         the query.
7718         * image-mode.el (image-next-line): The line parameter is mandatory
7719         (bug#9258).
7721         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7722         which can be useful (bug#9301).
7724         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7726         * subr.el (match-string): Mention that the current buffer should
7727         be the same as the search was done in (bug#9282).
7729         * facemenu.el: Disable the remove-* commands if the mark isn't
7730         active (bug#9162).
7732 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
7734         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7735         of display-buffer.
7736         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7738         * replace.el (occur-mode-goto-occurrence)
7739         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7740         and display-buffer.
7742         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7743         display-buffer.
7745         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7746         special-display and same-window variables.
7747         (mail-other-window): Use switch-to-buffer-other-window.
7748         (mail-other-frame): USe switch-to-buffer-other-frame.
7750         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7751         Use display-buffer-other-frame.
7752         (gdb-display-gdb-buffer): Use pop-to-buffer.
7754         * progmodes/gud.el (gud-goto-info): Use info-other-window.
7756         * progmodes/python.el: Don't set same-window-buffer-names.
7758         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7760         * window.el (display-buffer-alist): Add *Python*.
7762 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
7764         * window.el (display-buffer-alist): Add entry for buffers
7765         previously handled same-window-*.
7766         (display-buffer-alist, display-buffer-default-action)
7767         (display-buffer-overriding-action): Mark as risky.
7768         (display-buffer-alist): Document action function changes.
7769         (display-buffer--same-window-action)
7770         (display-buffer--other-frame-action): New variables.
7771         (switch-to-buffer, display-buffer-other-frame): Use them.
7772         (display-buffer): Rename reuse-frame entry to reusable-frames.
7773         (display-buffer-reuse-selected-window): Function deleted.
7774         (display-buffer-reuse-window): Handle reusable-frames alist entry.
7775         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7776         (display-buffer-special): New function.
7777         (display-buffer--maybe-pop-up-frame-or-window): Rename from
7778         display-buffer-reuse-or-pop-window.  Split off special-display
7779         part into display-buffer-special.
7780         (display-buffer-use-some-window): Don't perform any special
7781         pop-up-frames handling.
7782         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7783         (display-buffer--maybe-same-window): Rename from
7784         display-buffer-maybe-same-window.
7786         * info.el: Don't set same-window-regexps.
7787         (info-setup): New function.
7788         (info-other-window, info): Call it.
7790         * cus-edit.el: Don't set same-window-regexps.
7791         (customize-group): New argument.
7792         (customize-group-other-window): Use it.
7793         (customize-face, customize-face-other-window): Likewise.
7794         (custom-buffer-create-other-window): Use pop-to-buffer directly.
7796         * net/rlogin.el:
7797         * net/telnet.el:
7798         * progmodes/gud.el: Don't set same-window-regexps.
7800         * cmuscheme.el:
7801         * ielm.el:
7802         * shell.el:
7803         * mail/sendmail.el:
7804         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7806 2011-09-10  Juri Linkov  <juri@jurta.org>
7808         * isearch.el (isearch-edit-string): Remove obsolete mention of
7809         `C-w' (`isearch-yank-word-or-char') from docstring.
7810         (isearch-query-replace): Fix typo in docstring (bug#9466).
7812 2011-09-10  Juri Linkov  <juri@jurta.org>
7814         * paren.el (show-paren-function): Don't show escaped parens.
7815         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
7817 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
7819         * mail/sendmail.el (mml-to-mime, mml-attach-file)
7820         (mm-default-file-encoding): Remove autoload forms, they are
7821         replaced with autoload cookies in mml.el and mm-encode.el.
7822         (mail-add-attachment): New command.
7823         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7824         (mail-mode): Mention mail-insert-file and mail-add-attachment in
7825         the doc string.
7826         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7828 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
7830         * simple.el (count-words-region): Use buffer if there's no region
7831         (bug#9429).
7833 2011-09-09  Juri Linkov  <juri@jurta.org>
7835         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7836         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7837         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
7839 2011-09-09  Alan Mackenzie  <acm@muc.de>
7841         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7842         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
7844 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
7846         Fix for Savannah bug#9392.
7847         * simple.el (mail-encode-mml): New defvar.
7849         * mail/rmail.el (mail-encode-mml): Add a defvar.
7850         (rmail-enable-mime-composing): Default to t.
7851         (rmail-forward): Use MIME method of forwarding only if both
7852         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7853         Set mail-encode-mml non-nil if the MIME method was used.
7855         * mail/sendmail.el (mml-to-mime): Add autoload form.
7856         (mail-encode-mml): Add a defvar.
7857         (mail-mode): Make mail-encode-mml buffer-local and initialize it
7858         to nil.
7859         (mail-send): If mail-encode-mml is non-nil, run the outgoing
7860         message through mml-to-mime, and reset mail-encode-mml to nil.
7862 2011-09-09  Glenn Morris  <rgm@gnu.org>
7864         * woman.el (woman-if-body): When processing an .el block,
7865         do not delete the next .el block as well.  (Bug#9447)
7866         (woman-special-characters): Add oq, cq, and hy characters.
7868 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
7870         * window.el (window-deletable-p): Make sure window is live before
7871         invoking window-prev-buffers.
7873 2011-09-08  Leo Liu  <sdl.web@gmail.com>
7875         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
7877 2011-09-08  Juri Linkov  <juri@jurta.org>
7879         * progmodes/compile.el (compilation-environment): Make it
7880         a defcustom (bug#8340).
7882 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
7884         * window.el (frame-auto-delete): Rename to window-auto-delete.
7885         Make it control auto-deletion of windows and/or frames.
7886         (window-deletable-p): New argument FORCE.  Rewrite conditions
7887         for deleting window/frame.  (Bug#9419)
7888         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7889         Rewrite handling of case when window/frame can be deleted.
7890         (delete-windows-on): Call window-deletable-p with new FORCE
7891         argument t.  (Bug#9456)
7893 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
7895         * help-mode.el (help-mode): Restore autoload.
7897 2011-09-07  Juri Linkov  <juri@jurta.org>
7899         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7900         `compilation-environment'.  Set buffer-local
7901         `compilation-environment' to `thisenv' later after (funcall mode).
7902         (Bug#8340)
7904         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
7905         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7906         instead of replacing its value.  (Bug#8340)
7908 2011-09-07  Juri Linkov  <juri@jurta.org>
7910         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7911         based on text properties put by `grep-filter' instead of matching
7912         escape sequences.
7913         (grep-mode): Set buffer-local `compilation-error-screen-columns'
7914         to the value of `grep-error-screen-columns' (bug#9438).
7916 2011-09-07  Juri Linkov  <juri@jurta.org>
7918         * simple.el (next-error-highlight, next-error-highlight-no-select):
7919         Doc fix (bug#9432).
7921 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
7923         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7924         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
7926 2011-09-07  Leo Liu  <sdl.web@gmail.com>
7928         * net/rcirc.el (rcirc-mode): Conditionally initialize
7929         rcirc-input-ring.
7931 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7933         * emacs-lisp/find-func.el (find-function-C-source): Only set
7934         find-function-C-source-directory after checking that we found a source
7935         file there (bug#9440).
7937 2011-09-06  Alan Mackenzie  <acm@muc.de>
7939         * isearch.el (isearch-other-meta-char): Wherever a key list is
7940         unread, "unread" the prefix arg, too.  This fixes bug #8901.
7942 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
7944         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7946 2011-09-05  Juri Linkov  <juri@jurta.org>
7948         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7950 2011-09-05  Juri Linkov  <juri@jurta.org>
7952         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7953         keeping point where processing of grep matches begins, and
7954         continue to delete remaining escape sequences from the same point.
7955         (grep-filter): Make leading zero optional in "0?1;31m" because
7956         git-grep emits "\033[1;31m" escape sequences unlike expected
7957         "\033[01;31m" as GNU Grep does (bug#9408).
7958         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7960 2011-09-05  Juri Linkov  <juri@jurta.org>
7962         * subr.el (y-or-n-p): Capitalize "yes".
7964 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
7966         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
7967         `tramp-cache-unload-hook' where appropriate.
7968         (tramp-methods): Rename `tramp-remote-sh' to
7969         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
7970         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7972         * net/tramp-sh.el (top): Don't require 'shell.
7973         (tramp-methods): Add `tramp-remote-shell' and
7974         `tramp-remote-shell-args' entries.
7975         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7976         (tramp-sh-handle-shell-command): Remove.
7977         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7978         Use `tramp-remote-shell'.
7980 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
7982         * mail/sendmail.el (sendmail-query-once-function): Delete.
7983         (sendmail-query-once): Save directly to send-mail-function.
7984         Update message-send-mail-function too.
7986         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7988 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
7990         * progmodes/python.el (python-mode-map): Use correct function to
7991         start python interpreter from menu-bar (as reported by Geert
7992         Kloosterman).
7993         (inferior-python-mode-map): Fix typo.
7994         (python-shell-map): Remove.
7996 2011-09-03  Deniz Dogan  <deniz@dogan.se>
7998         * net/rcirc.el (rcirc-print): Simplify code for
7999         rcirc-scroll-show-maximum-output.  There is no need to walk
8000         through all windows to find the right one.
8002 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
8004         * help.el (help-return-method): Doc fix.
8006 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
8008         * window.el (window-deletable-p): Don't return a non-nil value
8009         when there's a buffer that was shown in the window before.
8010         (Bug#9419)
8011         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8012         Set window's previous buffers to nil.
8014 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
8016         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8017         newline before and after the tag line, so it doesn't interfere
8018         with determining the paragraph direction of bidirectional text.
8020 2011-09-03  Leo Liu  <sdl.web@gmail.com>
8022         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
8024 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
8026         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8027         (pop-to-buffer): Change interactive spec.  Pass second argument
8028         directly to display-buffer.
8029         (display-buffer): Fix interactive spec.  Use functionp to
8030         distinguish between a function and a list of functions.
8032         * abbrev.el (edit-abbrevs):
8033         * arc-mode.el (archive-extract):
8034         * autoinsert.el (auto-insert):
8035         * bookmark.el (bookmark-bmenu-list):
8036         * files.el (find-file):
8037         * view.el (view-buffer):
8038         * progmodes/compile.el (compilation-goto-locus):
8039         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8041 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
8043         * window.el (display-buffer-alist): Doc fix.
8044         (display-buffer): Add docstring.  Don't treat
8045         display-buffer-default specially.
8046         (display-buffer-reuse-selected-window)
8047         (display-buffer-same-window, display-buffer-maybe-same-window)
8048         (display-buffer-reuse-window, display-buffer-pop-up-frame)
8049         (display-buffer-pop-up-window)
8050         (display-buffer-reuse-or-pop-window)
8051         (display-buffer-use-some-window): New functions.
8052         (display-buffer-default-action): Use them.
8053         (display-buffer-default): Delete.
8054         (pop-to-buffer-1): Fix choice of actions.
8056 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8058         * minibuffer.el (completion--insert-strings): Don't get confused by
8059         completion entries that end with an LF char.
8061 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
8063         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8065 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
8067         * window.el (display-buffer): Restore interactive spec.
8068         (display-buffer-same-window, display-buffer-other-window):
8069         New functions.
8070         (pop-to-buffer-1): New function.  Use the above.
8071         (pop-to-buffer, pop-to-buffer-same-window): Use it.
8072         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8074         * view.el (view-buffer-other-window, view-buffer-other-frame):
8075         Just use pop-to-buffer.
8077 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8079         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
8081 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
8083         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
8085 2011-08-31  Richard Stallman  <rms@gnu.org>
8087         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8088         of the separation of rmail-view-buffer from rmail-buffer.
8089         If you say no to "replace original", the decrypt is in the
8090         view buffer.  If you say yes, the decrypt goes into the
8091         rmail buffer also.
8093 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
8095         * window.el (display-buffer-window): Rewrite doc-string.
8096         (display-buffer-record-window): New function.
8097         (display-buffer-macro-specifiers)
8098         (display-buffer-even-window-sizes, display-buffer-set-height)
8099         (display-buffer-set-width, display-buffer-in-window)
8100         (display-buffer-reuse-window, display-buffer-split-specifiers)
8101         (display-buffer-side-specifiers, display-buffer-split-window-1)
8102         (display-buffer-split-window, display-buffer-split-atom-window)
8103         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8104         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8105         (display-buffer-other-window-means-other-frame)
8106         (display-buffer-normalize-special)
8107         (display-buffer-normalize-default)
8108         (display-buffer-normalize-argument)
8109         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8110         (display-buffer-normalize-specifiers, display-buffer-frame)
8111         (display-buffer-same-window, display-buffer-same-frame)
8112         (display-buffer-other-window)
8113         (display-buffer-same-frame-other-window)
8114         (display-buffer-other-frame, pop-to-buffer-same-window)
8115         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8116         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8117         (switch-to-buffer-same-frame)
8118         (switch-to-buffer-other-window-same-frame)
8119         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8120         (display-buffer-alist-set-1, display-buffer-alist-set-2)
8121         (display-buffer-alist-set): Remove.
8122         (display-buffer-function, special-display-buffer-names)
8123         (special-display-regexps, special-display-function):
8124         In doc-string refer to display-buffer-window and quit-restore
8125         parameter.
8126         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8127         (special-display-frame-alist, special-display-popup-frame)
8128         (same-window-buffer-names, same-window-regexps, same-window-p)
8129         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8130         (split-window-preferred-function, split-height-threshold)
8131         (split-width-threshold, window-splittable-p)
8132         (split-window-sensibly, window--try-to-split-window)
8133         (window--frame-usable-p, even-window-heights)
8134         (window--even-window-heights, window--display-buffer-1)
8135         (window--display-buffer-2, display-buffer-other-frame):
8136         Restore old Emacs 23 code, order and doc-strings where applicable.
8137         (display-buffer-default, display-buffer-assq-regexp): New functions.
8138         (display-buffer-alist): Rewrite doc-string.
8139         (display-buffer-default-action)
8140         (display-buffer-overriding-action): New variables.
8141         (display-buffer, switch-to-buffer): Rewrite.
8142         (pop-to-buffer): Restore Emacs 23 behavior but use
8143         window-normalize-buffer-to-display.
8144         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8145         Restore Emacs 23 behavior but use
8146         window-normalize-buffer-to-switch-to.
8147         (pop-to-buffer-same-window): Rewrite.
8148         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8149         Rewrite using Emacs 23 options.
8151 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
8153         * net/tramp.el (tramp-root-regexp): Remove.
8154         (tramp-completion-file-name-regexp-unified)
8155         (tramp-completion-file-name-regexp-separate)
8156         (tramp-completion-file-name-regexp-url): Don't use leading volume
8157         letter on win32 systems.  (Bug#5303, Bug#9311)
8158         (tramp-drop-volume-letter): Simplify definition.
8159         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8161 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8163         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8164         (bug#9356).
8166 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
8168         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8170 2011-08-29  Juri Linkov  <juri@jurta.org>
8172         * isearch.el (isearch-done): Don't display message "Mark saved"
8173         when arg `edit' is non-nil to prevent its flicker in the echo area.
8175 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
8177         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8178         obsolete packages for deletion.
8180 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
8182         * help-mode.el (help-mode-map): Add special-mode-map to parent.
8183         (help-mode): Derive help-mode from special-mode.  Don't invoke
8184         view-mode from help-mode.
8185         (help-xref-override-view-map): Remove.
8186         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8187         view-mode is not used anymore.
8189 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
8191         * server.el (server-port): Doc fix.
8193         * cus-theme.el (custom-theme-choose-mode): Inherit from
8194         special-mode (Bug#9124).
8195         (custom-theme-choose-mode-map): Add special-mode to parent.
8197 2011-08-28  Alan Mackenzie  <acm@muc.de>
8199         * progmodes/cc-fonts.el
8200         (c-make-font-lock-BO-decl-search-function): New function.
8201         (c-basic-matchers-after - "Fontify the clauses after various
8202         keywords"): Extract the three keyword lists for the 3 erroneous
8203         constructs from the list of four, and use the new function above
8204         in place of an old one.
8206 2011-08-28  Deniz Dogan  <deniz@dogan.se>
8208         * net/rcirc.el (rcirc-insert-prev-input)
8209         (rcirc-insert-next-input): Remove unused argument.
8211 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8213         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8215 2011-08-27  Alan Mackenzie  <acm@muc.de>
8217         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8218         handle function pointer parameters properly.
8220 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
8222         * window.el (display-buffer-reuse-window): Fix case where
8223         selected window was reused with non-nil OTHER-WINDOW argument.
8224         (Bug#9381)
8226 2011-08-27  Deniz Dogan  <deniz@dogan.se>
8228         * net/rcirc.el (rcirc-check-auth-status): Adding support for
8229         oftc's NickServ messages.
8231 2011-08-27  Glenn Morris  <rgm@gnu.org>
8233         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
8235 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
8237         * emacs-lisp/package.el (package-install): Call package-initialize
8238         if called interactively.
8240 2011-08-26  Leo Liu  <sdl.web@gmail.com>
8242         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
8244 2011-08-25  Juri Linkov  <juri@jurta.org>
8246         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8247         `search-whitespace-regexp' (bug#9364).
8249 2011-08-25  Juri Linkov  <juri@jurta.org>
8251         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8252         `regexp-search-ring' to their global values to protect from
8253         updating by `read-from-minibuffer' (bug#9185).
8255 2011-08-25  Juri Linkov  <juri@jurta.org>
8257         * textmodes/ispell.el (ispell-command-loop): Add newline
8258         at the end of the "Use option `i'..." line.
8260 2011-08-25  Juri Linkov  <juri@jurta.org>
8262         * battery.el (display-battery-mode): If `battery-status-function'
8263         or `battery-mode-line-format' is nil, display the message and set
8264         `display-battery-mode' to nil (bug#9363).
8266 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
8268         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8269         bidi-string-mark-left-to-right; they are unnecessary now.
8271 2011-08-25  Deniz Dogan  <deniz@dogan.se>
8273         * net/quickurl.el: Documentation typo fixes.
8275 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
8277         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8279 2011-08-25  Glenn Morris  <rgm@gnu.org>
8281         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8283         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8284         (smtpmail-via-smtp): Handle nil response from smtp.
8286 2011-08-24  Juri Linkov  <juri@jurta.org>
8288         * proced.el (proced-marked): Inherit from `error' instead of
8289         `font-lock-warning-face'.
8291         * ibuffer.el (ibuffer-marked-face): Change default face from
8292         `font-lock-warning-face' to `warning'.
8293         (ibuffer-deletion-face): Change default face from
8294         `font-lock-type-face' to `error'.
8296         * battery.el (battery-update): Use the face `error' instead of
8297         `font-lock-warning-face' (bug#6117).
8299 2011-08-24  Juri Linkov  <juri@jurta.org>
8301         * faces.el (success): Change face color from "Green3" to
8302         "ForestGreen" on light background (bug#9353).
8304 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
8306         * window.el (quit-window): Rename from quit-restore-window.
8307         Use same arglist as old quit-window.
8308         (frame-auto-delete): Doc fix.
8310         * view.el (view-mode-exit): Use quit-window.
8312 2011-08-24  Juri Linkov  <juri@jurta.org>
8314         * isearch.el (isearch-ring-adjust1): Start visiting previous
8315         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8316         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8317         for empty search string (when the last search string is reused
8318         automatically) to adjust the isearch ring to the last element and
8319         prepare the correct index for further M-p commands (bug#9185).
8321 2011-08-24  Kenichi Handa  <handa@m17n.org>
8323         * international/ucs-normalize.el: If decomposition property of
8324         CHAR is the default one (i.e. a list of CHAR itself), treat it as
8325         nil.
8326         (nfd, nfkd): Likewise.
8328 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8330         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8331         from process filters aren't reliably transmitted to the surrounding
8332         accept-process-output.
8333         (mpc-proc-check): New function.
8334         (mpc-proc-sync): Use it (bug#8293)
8336 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8338         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8339         Add compatibility functions (bug#9313).
8341 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
8343         * cus-start.el (all): Add entry for bidi-paragraph-direction.
8345         * international/uni-bidi.el: Regenerate.
8347 2011-08-23  Kenichi Handa  <handa@m17n.org>
8349         * international/charprop.el:
8350         * international/uni-bidi.el:
8351         * international/uni-category.el:
8352         * international/uni-combining.el:
8353         * international/uni-comment.el:
8354         * international/uni-decimal.el:
8355         * international/uni-decomposition.el:
8356         * international/uni-digit.el:
8357         * international/uni-lowercase.el:
8358         * international/uni-mirrored.el:
8359         * international/uni-name.el:
8360         * international/uni-numeric.el:
8361         * international/uni-old-name.el:
8362         * international/uni-titlecase.el:
8363         * international/uni-uppercase.el: Regenerate.
8365 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
8367         * help.el (help-window-setup): Fix message displayed when other
8368         window is reused.  (Bug#9341)
8370 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8372         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8373         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8375         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8376         Mark obsolete.
8377         * shell.el (shell-parse-pcomplete-arguments): New function.
8378         (shell-completion-vars): Use it instead (bug#9160).
8380 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8382         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8383         strings and comments (bug#9333).
8385         * emacs-lisp/debug.el (debug-arglist): New function.
8386         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
8387         (debug-on-entry-1): Handle interpreted closures (bug#9120).
8389 2011-08-22  Juri Linkov  <juri@jurta.org>
8391         * progmodes/compile.el (compilation-mode-font-lock-keywords):
8392         Revert regexp that highlights output switches to its old
8393         pre-2010-10-28 value and remove one `?' from it (bug#9319).
8395         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8396         to check for empty output (bug#9226).
8398 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
8400         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8401         symbol-constituent as the default, as that stops font-lock from
8402         working properly (Bug#8843).
8404 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8406         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8407         `coding-system-for-*' around the process open call to avoid
8408         auth-source side effects.
8409         (smtpmail-try-auth-methods): Expand the secret password.
8410         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8411         probe hangs.
8413 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
8415         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8417         * emacs-lisp/find-func.el (find-function-noselect): New arg
8418         lisp-only.
8420         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8421         signal an error for built-in functions (Bug#6664).
8423 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8425         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8426         (smtpmail-try-auth-methods): Use it.
8428 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
8430         * font-lock.el (font-lock-fontify-region)
8431         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8432         (font-lock-default-unfontify-buffer)
8433         (font-lock-default-fontify-region)
8434         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8436         * progmodes/compile.el (compilation-error-properties):
8437         Fix confusion between file struct and message struct (Bug#9319).
8438         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8439         `ant' regexp.
8441         * net/browse-url.el (browse-url-firefox): Don't call
8442         browse-url-firefox-sentinel unless using -remote (Bug#9328).
8444 2011-08-20  Glenn Morris  <rgm@gnu.org>
8446         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8448         * tutorial.el (tutorial--default-keys): Update some default bindings.
8450         * files.el (hack-local-variables): Fully ignore case for "mode:".
8452 2011-08-20  Alan Mackenzie  <acm@muc.de>
8454         Resolve invalid use of a regexp in regexp-opt.
8456         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8457         detection for a java annotation.
8459         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8460         detection for a java annotation.
8462         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8463         handling for java.
8464         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8466 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
8468         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8469         (Bug#9274).
8471 2011-08-20  Alan Mackenzie  <acm@muc.de>
8473         Fontify CPP expressions correctly when starting in the middle of
8474         such a construct.  Mainly for when jit-lock etc. starts a chunk
8475         here.
8477         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8478         variable.
8479         (c-make-font-lock-search-form): New function, extracted from
8480         c-make-font-lock-search-function.
8481         (c-make-font-lock-search-function): Use the above function.
8482         (c-make-font-lock-context-search-function): New function.
8483         (c-cpp-matchers): Enhance the preprocessor expression case with
8484         the above function
8485         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8486         which takes an expression.
8488         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8490 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
8492         * window.el (display-buffer-reuse-window)
8493         (display-buffer-pop-up-window): Don't reuse or split a side
8494         window.
8496 2011-08-19  Glenn Morris  <rgm@gnu.org>
8498         * files.el (hack-local-variables-prop-line, hack-local-variables):
8499         Downcase "Mode:".  (Bug#9331)
8501 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
8503         * international/characters.el: Add L and R categories.
8505         * subr.el (bidi-string-mark-left-to-right): Rename from
8506         string-mark-left-to-right.  Use category search.
8508         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8510 2011-08-18  Juri Linkov  <juri@jurta.org>
8512         * faces.el (error, warning, success): New faces with definitions
8513         copied from old default values of `font-lock-warning-face',
8514         `compilation-warning', `compilation-info' (bug#6117).
8516         * font-lock.el (font-lock-warning-face): Inherit from `error'.
8518         * progmodes/compile.el (compilation-error): Inherit from `error'.
8519         (compilation-warning): Inherit from `warning'.
8520         (compilation-info): Inherit from `success'.
8522         * dired.el (dired-marked): Inherit from `warning'.
8523         (dired-flagged): Inherit from `error'.
8525 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8527         * mail/smtpmail.el (auth-source): Require to avoid problems with
8528         binding variables (bug#9298).  Also clean up some unused
8529         autoloads.
8531         * net/network-stream.el (network-stream-open-starttls):
8532         Support using starttls.el without using gnutls-cli.
8534 2011-08-17  Juri Linkov  <juri@jurta.org>
8536         * progmodes/grep.el (rgrep): Handle the case when
8537         `grep-find-command' is a cons cell (bug#9278).
8539 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
8541         * window.el (display-buffer-pop-up-frame): Run frame creation
8542         function with BUFFER current (as special-display-popup-frame
8543         does).  Reported by Drew Adams.
8545 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
8547         * epa-mail.el: Simplify GnuPG group expansion using
8548         epg-expand-group.
8549         (epa-mail-group-alist, epa-mail-group-modtime)
8550         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8551         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8552         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8553         Remove.
8555 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
8557         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8559 2011-08-16  Alan Mackenzie  <acm@muc.de>
8561         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8562         Correct, to avoid the inside of macros.
8564 2011-08-16  Richard Stallman  <rms@gnu.org>
8566         * epa-mail.el: Handle GnuPG group definitions.
8567         (epa-mail-group-alist, epa-mail-group-modtime)
8568         (epa-mail-gnupg-conf-file): New variables.
8569         (epa-mail-parse-groups, epa-mail-sync-groups)
8570         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8571         (epa-mail-expand-recipients): New functions.
8572         (epa-mail-encrypt): Call epa-mail-expand-recipients.
8574         * mail/rmail.el (rmail-epa-decrypt): New command.
8576         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8577         Don't bind buffer-read-only, just inhibit-read-only.
8578         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8579         (epa-decrypt-armor-in-region): Make error message clearer.
8581 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8583         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8584         and "a2b" to "ab" for `prefix'.
8586 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
8588         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8589         filter groups.
8590         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
8591         Fourquet (Bug#8804).
8593 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
8595         * startup.el (argi): Declare as global variable (bug#9275).
8597 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
8599         * subr.el (string-mark-left-to-right): Search the entire string
8600         for RTL script, not just the terminating character.  Doc fix.
8602 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8604         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8605         New function.
8606         (js--regexp-literal, js-syntax-propertize-function): Remove.
8607         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8608         (js-mode-map): Don't rebind electric keys.
8609         (js-insert-and-indent): Remove.
8610         (js-mode): Setup electric-layout and electric-indent instead.
8612         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8614 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
8616         * epa.el (epa-progress-callback-function): Fix the logic of
8617         displaying progress.
8618         * epa-file.el (epa-file-insert-file-contents): Make progress
8619         display more user-friendly.
8620         (epa-file-write-region): Ditto.
8622 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
8624         * subr.el (string-mark-left-to-right): New function.
8626         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8627         Use string-mark-left-to-right.
8628         (list-buffers-noselect): Caller changed.
8630         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8631         Use string-mark-left-to-right.
8632         (tabulated-list-print): Recenter after moving point.
8634 2011-08-10  Juri Linkov  <juri@jurta.org>
8636         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8637         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8638         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8640 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
8642         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8643         (Bug#7554).
8645 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8647         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8648         character.  (Bug#6594)
8650 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
8652         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8653         (image-dired--with-db-file): New macro.
8654         (image-dired-write-tags, image-dired-remove-tag)
8655         (image-dired-create-gallery-lists, image-dired-write-comments)
8656         (image-dired-get-comment, image-dired-mark-tagged-files)
8657         (image-dired-list-tags, image-dired-gallery-generate): Use it.
8658         (image-dired-gallery-generate): Use insert-file-contents.
8660         * time.el (display-time-world-list, display-time-world-display):
8661         * time-stamp.el (time-stamp-string):
8662         * vc/add-log.el (add-change-log-entry): Use setenv instead of
8663         set-time-zone-rule (Bug#7337).
8665 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
8667         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8668         (epg-error-to-string, epg-errors-to-string): New function.
8669         (epg-wait-for-completion): Reverse errors list.
8670         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8671         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8672         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8673         (epg-sign-keys, epg-generate-key-from-file)
8674         (epg-generate-key-from-string): Format errors by using
8675         epg-errors-to-string (bug#9255).
8676         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8678 2011-08-07  Juri Linkov  <juri@jurta.org>
8680         * faces.el (list-faces-display): Remove extra angle bracket
8681         from `help-mode-map'.
8683         * info.el (Info-history-toc-nodes): Doc fix.
8685         * longlines.el (longlines-mode): Doc fix.
8687 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8689         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8690         of statements and in a few more cases (bug#9183).
8692         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8693         New functions.
8694         (cl-transform-lambda): Use them (bug#9239).
8696 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
8698         * window.el (display-buffer-same-window)
8699         (display-buffer-same-frame, display-buffer-other-window)
8700         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8701         (pop-to-buffer-other-window)
8702         (pop-to-buffer-same-frame-other-window)
8703         (pop-to-buffer-other-frame): Make them defuns.
8704         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8706 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8708         * subr.el (make-composed-keymap): Move from C.  Change calling
8709         convention, and improve docstring to bring attention to a subtle point.
8710         * minibuffer.el (completing-read-default): Adjust accordingly.
8712 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
8714         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8715         (tramp-open-shell): Use `tramp-shell-quote-argument'.
8717         * net/trampver.el: Update release number.
8719 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8721         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8722         "in" (bug#9190).
8724 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8726         * mail/sendmail.el (sendmail-query-once): Restore the current
8727         buffer after querying (bug#9074).
8729         * dired.el (dired-flagged): Use different faces for marked and
8730         flagged files (bug#6117).
8732         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8733         (bug#4433).
8735         * ido.el (ido-mode): Switch off the message if called
8736         non-interactively.
8738         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8739         before 587, since it appears that that's more likely to work for
8740         more people.
8742         * cus-edit.el (custom-file): When running under emacs -q, always
8743         refuse to save the customizations, even if the .emacs file doesn't
8744         exist.
8746         * info.el: Remove the `Info-beginning-of-buffer' function
8747         (bug#8325).
8749         * net/network-stream.el (network-stream-open-starttls):
8750         Use `starttls-available-p' to see whether starttls.el can be used.
8752 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
8754         * window.el (display-buffer-in-window): Don't set dedicated status
8755         of window here (Bug#9215).
8756         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8757         (display-buffer-pop-up-side-window)
8758         (display-buffer-in-side-window): Set dedicated status of window here.
8760 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8762         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8763         before binding generated-autoload-file.
8765 2011-08-01  Deniz Dogan  <deniz@dogan.se>
8767         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8769 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
8771         Sync with Tramp 2.2.2.
8773         * net/trampver.el: Update release number.
8775 2011-07-30  Juri Linkov  <juri@jurta.org>
8777         * dired-aux.el (dired-touch-initial): Remove function.
8778         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8779         current time, and `default' to the last modification time of the
8780         current marked file (bug#6887).
8782 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
8784         * simple.el (goto-line): Use string-to-number to provide a
8785         numeric argument to read-number (bug#9163).
8787 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
8789         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8790         connection process, it could be nil.
8792 2011-07-27  Leo Liu  <sdl.web@gmail.com>
8794         Simplify url handling in rcirc-mode.
8796         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8797         (rcirc-browse-url-at-mouse): Remove.
8798         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8800 2011-07-26  Alan Mackenzie  <acm@muc.de>
8802         Fontify bitfield declarations properly.
8804         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8805         (c-symbol-chars): Now exported as a lang variable.
8806         (c-not-primitive-type-keywords): New lang variable.
8808         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8809         QT keyword "more" to prevent "more slots: ...." being spuriously
8810         parsed as a bitfield declaration.
8812         * progmodes/cc-engine.el (c-beginning-of-statement-1):
8813         Refactor and enhance to handle bitfield declarations.
8814         (c-punctuation-in): New function.
8815         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8816         declarations properly.
8818 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
8820         * calendar/icalendar.el (icalendar--all-events): Take care of
8821         multiple vcalendars in a single file.
8822         (icalendar--convert-float-to-ical): Checkdoc fixes.
8824 2011-07-25  Deniz Dogan  <deniz@dogan.se>
8826         * image.el (insert-image): Clarifying docstring.
8828 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
8830         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8831         `tramp-send-command-and-check' if there is no error.
8832         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8834 2011-07-22  Alan Mackenzie  <acm@muc.de>
8836         Prevent cc-langs.elc being loaded at run time.
8838         * progmodes/cc-mode.el: Remove two autoload forms which loaded
8839         cc-langs.
8841         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8842         "(require 'cc-langs)".  Quote a form so it will evaluate at
8843         (cc-mode's) compilation time.
8845 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
8847         * net/tramp.el (tramp-file-name-handler): Avoid recursive
8848         loading.  (Bug#9114)
8850 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
8852         * window.el (display-buffer-pop-up-window)
8853         (display-buffer-pop-up-side-window)
8854         (display-buffer-in-side-window): Call display-buffer-set-height
8855         and display-buffer-set-width after setting the new window's
8856         buffer so `fit-window-to-buffer' and friends work on the right buffer.
8858 2011-07-20  Sam Steingold  <sds@gnu.org>
8860         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8861         (etags-tags-included-tables): Call `convert-standard-filename' on
8862         the file names contained in TAGS so that windows Emacs can handle
8863         TAGS files created by cygwin ctags.
8865 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8867         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8868         which apparently didn't work.
8870 2011-07-19  Roland Winkler  <winkler@gnu.org>
8872         * proced.el (proced-send-signal): For *Marked Processes* buffer
8873         put point at beginning of buffer.
8875 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
8877         * proced.el (proced-format): Make header lines align with the text
8878         (bug#1779).
8880 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8882         * view.el (view-buffer): Allow running in `special' modes if we're
8883         visiting a file (bug#8615).
8885 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
8887         * window.el (display-buffer-alist-of-strings-p)
8888         (display-buffer-alist-set-1, display-buffer-alist-set-2):
8889         New functions.
8890         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8891         more accurately.
8893 2011-07-18  Alan Mackenzie  <acm@muc.de>
8895         Fontify declarators properly when, e.g., a jit-lock chunk begins
8896         inside a declaration.
8898         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8900         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8901         New function.
8902         (c-complex-decl-matchers): Insert reference to
8903         c-font-lock-enclosing-decls.
8905         * progmodes/cc-engine.el (c-backward-single-comment):
8906         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8907         to nil around calls to (forward-comment -1).
8909 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8911         * image.el (put-image): Doc typo fix.
8913         * progmodes/etags.el (tags-search): Doc typo fix.
8915         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8916         password if we get errors 550 to 554.
8918 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8920         * net/gnutls.el (gnutls-log-level): Remove.
8922         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8923         indentation character (bug#6380).
8925         * files.el (buffer-offer-save): Made permanently local (bug#6241).
8927         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8928         to clarify what the problem is (bug#4291).
8930         * simple.el (current-kill): Clarify what
8931         `interprogram-paste-function' does (bug#7500).
8932         (auto-fill-mode): Document `auto-fill-function' in relation to
8933         `auto-fill-mode' (bug#2470).
8935 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
8937         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8938         method if slot is read-only (bug#9035).
8940 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
8942         * frame.el (select-frame-set-input-focus): New argument NORECORD.
8943         * window.el (pop-to-buffer): Select window used even if it was
8944         selected before, see discussion of (Bug#8615), (Bug#6954).
8945         Pass argument NORECORD on to select-frame-set-input-focus.
8947 2011-07-15  Glenn Morris  <rgm@gnu.org>
8949         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
8950         Respect help-form.
8952 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
8954         * net/gnutls.el (gnutls-min-prime-bits): New variable.
8955         (gnutls-negotiate): Use it.
8957 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8959         * net/gnutls.el (gnutls-negotiate):
8960         Upcase `gnutls-algorithm-priority'.
8962 2011-07-15  Glenn Morris  <rgm@gnu.org>
8964         * jka-compr.el (jka-compr-verbose): Move from here...
8965         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
8966         Add missing :version tag.
8967         * info.el: No need to require jka-compr when compiling.
8969 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8971         * net/gnutls.el (gnutls-algorithm-priority): New variable.
8972         (gnutls-negotiate): Use it.
8974         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8976         * info.el (Info-beginning-of-buffer): New command.
8977         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8978         announcing `b' as the key (bug#8325).
8979         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8981         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8983         * international/mule-cmds.el
8984         (describe-specified-language-support): Make the error message
8985         clearer (bug#8905).
8987         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8989         * isearch.el (isearch-barrier): Add a doc string, since it's
8990         mentioned in a function doc string (bug#8678).
8992 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
8994         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8995         buffer argument (Bug#9083) and self-identifying label argument.
8997 2011-07-15  Glenn Morris  <rgm@gnu.org>
8999         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
9001 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9003         * man.el (Man-fontify-manpage): Fix message when formatting the
9004         man page (bug#7929).
9006 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
9008         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9009         argument LRM; if non-nil, append an invisible LRM character to the
9010         buffer name.
9011         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9012         last argument non-nil, when formatting buffer names.
9013         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9014         paragraph direction.
9016 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9018         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9019         the man page name (bug#7929).
9021         * image.el (put-image): Mention the `put-image' overlay property
9022         (bug#7834).
9024         * scroll-bar.el (set-scroll-bar-mode): Mention that
9025         `scroll-bar-mode' lists the values (bug#7772).
9027         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9028         command (bug#7729).
9030         * rect.el (apply-on-rectangle): Return the point after the last
9031         operation.
9032         (string-rectangle): Go to the point after the last operation
9033         (bug#7522).
9035         * printing.el (pr-toggle-region): Clarify the documentation
9036         slightly (bug#7493).
9038         * time.el (display-time-update):
9039         Allow `display-time-mail-function' to return nil (bug#7158).
9040         Fix suggested by Detlev Zundel.
9042         * vc/diff.el (diff): Clarify the order the file names are read
9043         (bug#7111).
9045         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9046         the doc string (bug#7015).
9048         * font-lock.el (font-lock-maximum-decoration): Mention what
9049         numeric levels mean (bug#6935).
9051         * startup.el (initial-buffer-choice): Don't mention the `none'
9052         selection, which is against policy.
9054 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
9056         * window.el (display-buffer-normalize-special):
9057         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9059 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
9061         * subr.el (version<, version<=, version=): Mention "-CVS" and
9062         "-12345" alpha version numbers.
9064 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
9066         * bindings.el: Add advertised binding for set-mark-command
9067         (Bug#5772).
9069 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
9071         * bindings.el (mode-line-other-buffer):
9072         * bookmark.el (bookmark-bmenu-2-window):
9073         * bs.el (bs-cycle-next, bs-cycle-previous):
9074         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9075         switch-to-buffer.
9077         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9078         Delete.
9080 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
9082         * follow.el (follow-debug-message, follow-redisplay):
9083         * jka-cmpr-hook.el (with-auto-compression-mode):
9084         Fix typos in docstrings.
9086 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9088         * subr.el (with-silent-modifications): Clarify somewhat what the
9089         macro inhibits (bug#6525).
9091         * simple.el (eval-expression): Note what it does if called
9092         interactively (bug#6495).
9094 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
9096         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9097         Use pop-to-buffer buffer-or-name if it is nil.
9099         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9100         Remove switch-to-buffer.
9102 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9104         * files.el (make-directory): Clarify that an error will be raised
9105         if there's an error (bug#6397).
9107         * startup.el (initial-buffer-choice): Add `none' as a choice
9108         (bug#6234).
9110         * subr.el (add-hook): Clarify section about buffer-local hooks
9111         (bug#6218).
9113         * dired.el (dired-flagged): Clarify doc string (bug#6117).
9115 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
9117         * tabify.el (untabify): Preserve the current column so that point
9118         doesn't move (bug#6032).
9120 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9122         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9123         Rewrite to avoid awkward possessive "s" (bug#5986).
9125 2011-07-13  Glenn Morris  <rgm@gnu.org>
9127         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
9128         (dired-insert-directory): Give a message the first time
9129         if ls is found not to support --dired.
9131 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9133         * simple.el (toggle-truncate-lines): Clarify what is toggled
9134         (bug#5580).  Text by Drew Adams.
9136 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
9138         * simple.el (blink-matching-open): Make the error message from the
9139         last change less verbose.
9141 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
9143         * font-lock.el (font-lock-comment-face): Use the high contrast
9144         "yellow" color for font-lock-comment-face on low color terminals
9145         using a dark background color (bug#4221).
9147 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9149         * dired.el (dired-insert-set-properties): Make the doc string
9150         reflect what it does now (bug#5325).
9152         * simple.el (blink-matching-open): Say that we were unable to find
9153         the match within the limit, if we're limited (bug#5122).
9155         * international/mule-cmds.el (prefer-coding-system): Add an
9156         example (bug#4869).
9158         * progmodes/etags.el (tags-search): Document `file-list-form'
9159         (bug#4731).
9161 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
9163         * net/browse-url.el (browse-url-default-browser)
9164         (browse-url-browser-function): Make the default browser choice a
9165         bit more logical (bug#4300).  Also clean up the doc string.
9167 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
9169         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9170         binary endings (bug#4440).
9172 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9174         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9175         which can be pretty annoying (bug#8971).
9177         * jka-compr.el (jka-compr-verbose): New variable, and use
9178         throughout (bug#8971).
9180         * info.el (Info-find-file): Fall back on the installation
9181         directory if we can't find the info node anywhere else.
9183 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
9185         * vc/vc.el (vc-revert-file):
9186         Don't set file time-stamp in the past.  (Bug#5181)
9188 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9190         * files.el (after-find-file): Give a better error message when
9191         trying to find a symlink that points to a file that doesn't exist
9192         (bug#4398).
9194         * progmodes/cc-vars.el: Remove (probably) misleading comment
9195         (bug#4396).
9197 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
9199         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9201 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
9203         * mouse-sel.el: Hack restoring functionality, while keeping
9204         compatibility with 2010-07-03 changes to mouse selection.
9205         (mouse-sel-primary-overlay): New var.
9206         (mouse-sel-selection-alist): Use it.
9207         (mouse-sel-mode): Doc fix; remove points that are default features
9208         of mouse.el.
9210 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
9212         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9213         Fix previous fix (bug#2490).
9215 2011-07-12  Roland Winkler  <winkler@gnu.org>
9217         * textmodes/bibtex.el (bibtex-initialize):
9218         Use pop-to-buffer-same-window.
9219         (bibtex-search-entries): Fix interactive call.
9221 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9223         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9224         Fontise bytecomp Error lines more correctly (bug#2490).
9225         Fix suggested by Johan BockgÃ¥rd.
9227         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9229         * dired-x.el (dired-guess-default): Use `delete-dups'.
9231 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
9233         * dired.el (dired-mark-prompt):
9234         * dired-aux.el (dired-read-shell-command): Doc fix.
9236 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9238         * mail/sendmail.el (sendmail-query-once):
9239         Use `customize-save-variable' unconditionally, now that it works under
9240         emacs -Q.
9242         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9244         * cus-edit.el (custom-file): Take an optional no-error variable.
9245         (customize-save-variable): Set the variable, and give a warning if
9246         running under "emacs -q".
9248 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
9250         * loadhist.el (unload-feature-special-hooks):
9251         Add `auto-coding-functions', `fill-nobreak-predicate' and
9252         `find-directory-functions' (bug#5327).
9254 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9256         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9258         * cus-edit.el (custom-guess-name-alist): -alist variables should
9259         use the `alist' type (bug#3120).  Suggested by Drew Adams.
9261         * printing.el: Add documentation to all the `pr-toggle-' commands.
9263 2011-07-11  Leo Liu  <sdl.web@gmail.com>
9265         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9266         backends where it makes sense (bug#2623).
9268 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9270         * dired-x.el (dired-guess-default): Remove duplicate shell command
9271         entries (bug#2028).
9272         (dired-guess-default): Fix grammar in doc string (bug#2028).
9273         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9275         * subr.el (remove-duplicates): New conveniency function.
9277 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9279         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9280         (bug#1526).
9282 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
9284         * window.el (display-buffer-normalize-default): Don't invert
9285         meaning of even-window-heights.  Reported by Eli Zaretskii
9286         <eliz@gnu.org>.
9288 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
9290         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9292 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
9294         * window.el (display-buffer): Fix arguments to
9295         display-buffer-reuse-window in last change.
9297         * faces.el (link): Use a less saturated blue on light backgrounds.
9299         * startup.el (fancy-startup-text, fancy-about-text)
9300         (fancy-startup-tail): Use font-lock faces, for background safety.
9302 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
9304         * emulation/viper-cmd.el (viper-change-state-to-vi):
9305         Limit triggering of abbrev expansion (Bug#9038).
9307 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
9309         * window.el (display-buffer-default-specifiers): Remove.
9310         (display-buffer-macro-specifiers): Remove default specifiers.
9311         (display-buffer-alist): Default to nil.
9312         (display-buffer-reuse-window): New optional argument other-window.
9313         (display-buffer-pop-up-window): Allow splitting internal
9314         windows.  Check whether a live window was created.
9315         (display-buffer-other-window-means-other-frame)
9316         (display-buffer-normalize-arguments): Rename to
9317         display-buffer-normalize-argument and rewrite.  Set the
9318         other-window specifier.
9319         (display-buffer-normalize-special): New function.
9320         (display-buffer-normalize-options): Rename to
9321         display-buffer-normalize-default and rewrite.
9322         (display-buffer-normalize-options-inhibit): Remove.
9323         (display-buffer-normalize-specifiers): Rewrite.
9324         (display-buffer): Process other-window specifier and call
9325         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
9326         more faithfully.
9327         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9328         (display-buffer-alist-set): Don't handle 'unset default values.
9329         (display-buffer-in-window, display-buffer-alist-set):
9330         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
9331         <tassilo@member.fsf.org>.
9333 2011-07-09  Leo Liu  <sdl.web@gmail.com>
9335         * register.el (insert-register): Restore accidental change on
9336         2011-06-26.  (Bug#9028)
9338 2011-07-09  Glenn Morris  <rgm@gnu.org>
9340         * subr.el (remq): Handle the empty list.  (Bug#9024)
9342 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
9344         * mail/sendmail.el (send-mail-function): No longer delay custom
9345         initialization.
9346         * custom.el (custom-initialize-delay): Doc fix.
9348 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9350         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9352 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
9354         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9355         human-friendly prompt.
9357 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9359         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9360         provided by a particular plugin.
9362 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9364         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9365         save customizations (with "emacs -Q"), just set the variable
9366         instead of erroring out.
9368         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9370 2011-07-08  Juri Linkov  <juri@jurta.org>
9372         * arc-mode.el (archive-zip-expunge, archive-zip-update)
9373         (archive-zip-update-case): Use 7z if found by `executable-find'.
9374         The order of searching the available programs is the same as in
9375         `archive-zip-extract' (bug#8968).
9377 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
9379         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9380         (menu-bar-options-menu): Tweak descriptions.
9382 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9384         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9385         menu items into verb phrases (bug#1421).  Also refill to fit under
9386         80 columns.
9388 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
9390         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9391         (Info-read-node-name): Doc fix (Bug#1084).
9393         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9394         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9395         (end-of-sexp, beginning-of-sexp)
9396         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9397         (forward-symbol, forward-same-syntax, word-at-point)
9398         (sentence-at-point): Doc fix (Bug#1144).
9400 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9402         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9403         should cover it (bug#1281).
9405         * cus-edit.el (custom-show): Mark as obsolete.
9407         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9408         negotiation fails, then possibly try again with a non-encrypted
9409         connection (bug#9017).
9411         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9412         be used.
9414 2011-07-07  Richard Stallman  <rms@gnu.org>
9416         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9417         property, and handle its changed format.
9418         Look for the correct line number.
9419         Use file's line contents (but not past first =) to find
9420         correct line in message.
9422 2011-07-07  Kenichi Handa  <handa@m17n.org>
9424         * international/characters.el (build-unicode-category-table):
9425         Delete it.
9426         (unicode-category-table): Set it by unicode-property-table-internal.
9428         * international/mule-cmds.el (char-code-property-alist): Move to
9429         to src/chartab.c.
9430         (get-char-code-property): Call unicode-property-table-internal to
9431         load a file.  Call get-unicode-property-internal where necessary.
9432         (put-char-code-property): Call unicode-property-table-internal to
9433         load a file.  Call put-unicode-property-internal where necessary.
9434         put-unicode-property-internal where necessary.
9435         (char-code-property-description):
9436         Call unicode-property-table-internal to load a file.
9438         * international/charprop.el:
9439         * international/uni-bidi.el:
9440         * international/uni-category.el:
9441         * international/uni-combining.el:
9442         * international/uni-comment.el:
9443         * international/uni-decimal.el:
9444         * international/uni-decomposition.el:
9445         * international/uni-digit.el:
9446         * international/uni-lowercase.el:
9447         * international/uni-mirrored.el:
9448         * international/uni-name.el:
9449         * international/uni-numeric.el:
9450         * international/uni-old-name.el:
9451         * international/uni-titlecase.el:
9452         * international/uni-uppercase.el: Regenerate.
9454         * loadup.el: Load international/charprop.el before
9455         international/characters.
9457 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
9459         * window.el (next-buffer, previous-buffer): Signal an error if
9460         called from a minibuffer window.
9462         * bindings.el: Revert 2011-07-04 change.
9464 2011-07-06  Richard Stallman  <rms@gnu.org>
9466         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9467         (rmail-mime-insert-bulk, rmail-mime-insert-text):
9468         Treat markers like ints.
9469         (rmail-mime-entity): Doc fix.
9471 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9473         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9474         defcustom again for backwards compatibility.
9476         * simple.el (shell-command-on-region): Fill.
9478         * dired-aux.el (dired-kill-line): Add a doc string.
9480         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9481         to "\\sw\\|\\s_" (bug#358).
9483         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9484         (dired-unmark-backward): Ditto.
9485         (dired-flag-backup-files): Ditto.
9487         * dired-x.el (dired-mark-sexp): Ditto.
9489 2011-07-06  Richard Stallman  <rms@gnu.org>
9491         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9492         (rmail-mime-entity): New arg TRUNCATED.
9493         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9494         New functions.
9495         (rmail-mime-save): Warn if entity is truncated.
9496         (rmail-mime-toggle-hidden): Likewise, for showing.
9497         (rmail-mime-process-multipart): Record when an entity is truncated.
9499         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9500         if ENTITY is a string.
9502 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9504         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9505         of faces when `M-C-x'-ing their definitions (bug#8378).
9506         Also clean up the code slightly.
9508         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9509         because that makes the colors go away.
9511         * mail/sendmail.el (send-mail-function): Change the default to
9512         `sendmail-query-once'.
9513         (sendmail-query-once): Add an autoload cookie.
9515         * net/network-stream.el (network-stream-open-starttls): Try using
9516         a plain connection even if the server offered STARTTLS, and we
9517         kinda wanted to use it, if Emacs doesn't have any STARTTLS
9518         capability.  This should make smtpmail.el work in slightly more
9519         configurations.
9521 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
9523         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9524         New defun.
9525         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9527 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
9529         * progmodes/sql.el: Version 3.0
9530         (sql-product-alist): Add product :completion-object,
9531         :completion-column, and :statement attributes.
9532         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9533         (sql-mode-syntax-table): Mark all punctuation.
9534         (sql-font-lock-keywords-builder): Temporarily remove fallback on
9535         ansi keywords.
9536         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9537         (sql-mode-oracle-font-lock-keywords): Improve.
9538         (sql-oracle-show-reserved-words): New function for development.
9539         (sql-product-font-lock): Simplify for source code buffers.
9540         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9541         New functions.
9542         (sql-highlight-product): Set product specific syntax table.
9543         (sql-mode-map): Add statement movement functions.
9544         (sql-ansi-statement-starters, sql-oracle-statement-starters):
9545         New variable.
9546         (sql-statement-regexp, sql-beginning-of-statement)
9547         (sql-end-of-statement, sql-signum): New functions.
9548         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9549         (sql-show-sqli-buffer): Bug fix.
9550         (sql-interactive-mode): Store connection data as buffer local.
9551         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
9552         with sql-interactive-mode.
9553         (sql-save-connection): Save buffer local settings.
9554         (sql-connection-menu-filter): Change menu entry name.
9555         (sql-product-interactive): Bug fix.
9556         (sql-preoutput-hold): New variable.
9557         (sql-interactive-remove-continuation-prompt): Bug fixes.
9558         (sql-debug-redirect): New variable.
9559         (sql-str-literal): New function.
9560         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9561         Redesign.
9562         (sql-oracle-save-settings, sql-oracle-restore-settings)
9563         (sql-oracle-list-all, sql-oracle-list-table): New functions.
9564         (sql-completion-object, sql-completion-column)
9565         (sql-completion-sqlbuf): New variables.
9566         (sql-build-completions-1, sql-build-completions)
9567         (sql-try-completion): New functions.
9568         (sql-read-table-name): Use them.
9569         (sql-contains-names): New buffer local variable.
9570         (sql-list-all, sql-list-table): Use it.
9571         (sql-oracle-completion-types): New variable.
9572         (sql-oracle-completion-object, sql-sqlite-completion-object)
9573         (sql-postgres-completion-object): New functions.
9575 2011-07-06  Glenn Morris  <rgm@gnu.org>
9577         * window.el (pop-to-buffer): Doc fix.
9579 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
9581         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9583 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
9585         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9587         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9589 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
9591         * button.el (button): Inherit from link face.  Suggested by Dan
9592         Nicolaescu.
9594 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9596         * progmodes/gdb-mi.el: Fit in 80 columns.
9597         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9598         switch-to-buffer.
9600         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9601         if imenu is simply not configured (bug#8941).
9603 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
9605         * allout.el (allout-post-undo-hook): New allout outline-change
9606         event hook to signal undo activity.
9607         (allout-post-command-business): Run allout-post-undo-hook if an
9608         undo just occurred.
9609         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9610         * allout-widgets.el (allout-widgets-after-undo-function):
9611         Ensure the integrity of the current item's decoration after it has been
9612         in the vicinity of an undo.
9613         (allout-widgets-mode): Include allout-widgets-after-undo-function
9614         on the new allout-post-undo-hook.
9616 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9618         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9619         Let define-derived-mode define it.
9620         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9621         cycles of abbrev-table inheritance (bug#8998).
9623 2011-07-05  Roland Winkler  <winkler@gnu.org>
9625         * textmodes/bibtex.el: Add support for biblatex.
9626         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9627         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9628         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9629         (bibtex-entry-alist, bibtex-field-alist): New variables.
9630         (bibtex-entry-field-alist): Obsolete alias for
9631         bibtex-BibTeX-entry-alist.
9632         (bibtex-entry-alist, bibtex-field-alist): New widgets.
9633         (bibtex-set-dialect): New command.
9634         (bibtex-entry-type, bibtex-entry-head)
9635         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9636         Bind via bibtex-set-dialect.
9637         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9638         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9639         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9640         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9641         Define via bibtex-set-dialect.
9642         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9643         Obey bibtex-no-opt-remove-re.
9644         (bibtex-vec-push, bibtex-vec-incr): New functions.
9645         (bibtex-format-entry, bibtex-field-list)
9646         (bibtex-print-help-message, bibtex-validate)
9647         (bibtex-search-entries): Use new format of bibtex-entry-alist.
9649 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9651         * progmodes/compile.el (compilation-goto-locus):
9652         * net/tramp-cmds.el (tramp-append-tramp-buffers):
9653         * bs.el (bs-cycle-next, bs-cycle-previous):
9654         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9655         * bindings.el (mode-line-other-buffer):
9656         * autoinsert.el (auto-insert):
9657         * arc-mode.el (archive-extract):
9658         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9660 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
9662         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9663         Fix check of `emacs-lock-unlockable-modes'.
9664         Coerce true values of `emacs-lock--try-unlocking' to t.
9666 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
9668         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9669         * emacs-lock.el: New file.
9671 2011-07-05  Julien Danjou  <julien@danjou.info>
9673         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9674         than `boundp' to check if face is set.
9676 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
9678         * register.el (registerv-make):
9679         * window.el (window-min-height): Fix typos in docstrings.
9681 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
9683         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9684         Update doc string.
9686 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
9688         * server.el (server-execute): Catch quit and call
9689         `server-return-error' to pass the error back to emacsclient and
9690         close the connection (bug#8942).
9692 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
9694         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9695         insecure exception for current topic.  Also note that auto-saves
9696         are handled differently.
9698         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9699         State variables for tracking auto-save inhibition situation.
9701         (allout-write-contents-hook-handler): Rename from
9702         'allout-write-file-hook-handler', and describe how it depends on
9703         write-contents-functions sensitivity to non-nil value to prevent
9704         file write.
9706         (allout-auto-save-hook-handler): Remove.  auto-save does not check
9707         this in individual buffers, only in the starting buffer, so this
9708         is not the right way for us to inhibit auto-save in a buffer
9709         according to its condition.
9711         (allout-mode): Use new allout-write-contents-hook-handler, and
9712         only with write-contents-functions.  Remove auto-save provisions -
9713         they're implemented elsewhere.
9715         (allout-before-change-handler): If undo is in progress, note that
9716         for attention of allout-post-command-business.
9718         (allout-post-command-business): If the command we're following was
9719         an undo, check for change in the status of encrypted items and
9720         adjust auto-save inhibitions accordingly.
9722         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9723         according to whether there are or aren't any plain-text topics
9724         pending encryption.
9726         (allout-inhibit-auto-save-info-for-decryption):
9727         Adjust buffer-saved-size and some allout state to inhibit auto-saves
9728         if there are plain-text topics pending encryption.
9730         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9731         buffer-saved-size and some allout state to not inhibit auto-saves
9732         if there are no longer any plain-text topics pending encryption.
9734         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9735         No longer provide for exemption of the current topic.
9737 2011-07-04  Juri Linkov  <juri@jurta.org>
9739         Add 7z operations to delete and save changed members (bug#8968).
9740         * arc-mode.el (archive-7z-expunge, archive-7z-update):
9741         New defcustoms.
9742         (archive-7z-write-file-member): New function.
9743         (archive-7z-summarize): Fix the number of dashes in the
9744         listing output.
9746 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9748         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9749         (bug#8958).
9751 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
9753         * bindings.el: Ignore next-buffer and previous-buffer in
9754         minibuffer-local-map.
9756         * font-lock.el (font-lock-builtin-face): Change light background
9757         color to dark slate blue (Bug#6693).
9759 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
9761         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9763 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9765         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9766         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9767         Add switch-to-buffer.
9769 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9771         * isearch.el (isearch-search-fun-function): Clarify further the
9772         meaning of the function returned.
9774 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
9776         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9778         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9779         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9780         Use it.
9781         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
9782         `tramp-default-remote-path' does not exist.
9783         (tramp-send-command-and-read): New optional argument NOERROR.
9784         (tramp-open-connection-setup-interactive-shell)
9785         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9786         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9787         (tramp-process-sentinel): Flush also process' connection property.
9788         (tramp-sh-handle-start-file-process): Do not set process
9789         sentinel.  It is done now ...
9790         (tramp-maybe-open-connection): ... here.  (Bug#8929)
9792 2011-07-04  MON KEY  <monkey@sandpframing.com>
9794         * play/animate.el (animate-string): Doc fixes and allow changing
9795         the buffer name (bug#5417).
9797 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9799         * play/animate.el (animation-buffer-name): Rename from *animate*.
9801 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
9803         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9804         This is simpler and helps future-proof the code.
9805         (timer-until): Use time-subtract and float-time.
9806         (timer--time-less-p): Use time-less-p.
9808 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
9810         * type-break.el (timep): Use the value of `float-time' to avoid a
9811         byte-compiler warning.
9813         * server.el (server-eval-and-print): Return any result, even nil.
9815 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
9817         * type-break.el: Accept time formats that the builtins accept.
9818         (timep, type-break-time-difference): Accept any format that
9819         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9820         This is simpler and helps future-proof the code.
9821         (type-break-time-difference): Round rather than ignoring
9822         subseconds components.
9824 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9826         * info.el (Info-apropos-matches): Make non-interactive, since it
9827         doesn't seem to do anything useful as a command (bug#8829).
9829 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
9831         * frame.el (frame-background-mode, frame-set-background-mode):
9832         Move from faces.el.
9833         (frame-default-terminal-background): New function.
9835         * custom.el (custom-push-theme): Don't record faces in `changed'
9836         theme; this doesn't work correctly for per-frame face settings.
9837         (disable-theme): Use face-set-after-frame-default to reset faces.
9838         (custom--frame-color-default): New function.
9840 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9842         * dired.el (dired-flagging-regexp): Remove unused variable
9843         (bug#8769).
9845 2011-03-29  Kevin Ryde  <user42@zip.com.au>
9847         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9848         `perl-Test2' extend to match possible "fail #N" rep count
9849         (bug#8377).
9851 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9853         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9854         `smtpmail-via-smtp' now returns the error instead of nil.
9856         * isearch.el (isearch-search-fun-function): Clarify the doc string
9857         (bug#8101).
9859 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
9861         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9862         unnecessary spaces (bug#8987).
9864 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9866         * net/network-stream.el (open-network-stream): Use the
9867         :end-of-capability command thoughout.
9869 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
9871         * net/network-stream.el (open-network-stream): Add the
9872         :end-of-capability command parameter, used by pop3.el.
9874 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9876         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9878         * fringe.el (fringe-query-style): Remove redundant text " (type ?
9879         for list)" (bug#6475).
9881         * files.el (file-expand-wildcards): Ignore non-readable
9882         sub-directories while trying to find matches instead of signaling
9883         an error (bug#6297).
9885         * man.el (Man-reference-regexp): Allow matching possible
9886         word-wrapped references (bug#6289).
9888         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9889         for consistency with the other vc buffers (bug#6197).
9890         (vc-checkin): Ditto.
9892         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9894         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9896 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9898         * custom.el (defcustom): Clarify that :set is only used in the
9899         Customize user interface (bug#6089).
9901         * progmodes/flymake.el (flymake-mode): If the buffer isn't
9902         associated with a file, refuse to run instead of erroring out
9903         (bug#6084).
9905         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9906         the doc string, since it appears that using `fill-column' always
9907         controls the width (bug#7845).
9909         * simple.el (shell-command-on-region): Say where the error output
9910         went if `shell-command-default-error-buffer' is set (bug#6857).
9912 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
9914         * allout.el (allout-yank-processing): Adjust cursor position for
9915         backwards-deleted space.
9917         (allout-rebullet-heading): Register changes with
9918         allout-exposure-changed-hook, so the modified topic is properly
9919         decorated.
9921 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9923         * minibuffer.el (completion-in-region): Document PREDICATE
9924         (bug#7136).
9926         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9927         of keyword/argument pairs (bug#6904).
9929         * replace.el (multi-occur):
9930         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9932 2011-07-02  Drew Adams  <drew.adams@oracle.com>
9934         * dired.el (dired-mark-if): Make the message about whether it's
9935         marking or unmarking clearer (bug#8523).
9937 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9939         * disp-table.el (display-table-print-array): New function.
9940         (describe-display-table): Use it to print the vectors more pretty
9941         (Bug#8859).
9943 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
9945         * window.el (window-state-get-1): Don't assign clone numbers.
9946         Add clone-of item to list of window parameters.
9947         (window-state-put-2): Don't process clone numbers.
9948         (display-buffer-alist): Fix doc-string.
9950 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9952         * subr.el (remq): Don't allocate if it's not needed.
9953         (keymap--menu-item-binding, keymap--menu-item-with-binding)
9954         (keymap--merge-bindings): New functions.
9955         (keymap-canonicalize): Use them to refine the canonicalization.
9956         * minibuffer.el (minibuffer-local-completion-map)
9957         (minibuffer-local-must-match-map): Move initialization from C.
9958         (minibuffer-local-filename-completion-map): Move initialization from C;
9959         don't inherit from anything here.
9960         (minibuffer-local-filename-must-match-map): Make obsolete.
9961         (completing-read-default): Use make-composed-keymap to combine
9962         minibuffer-local-filename-completion-map with either
9963         minibuffer-local-must-match-map or
9964         minibuffer-local-filename-completion-map.
9966 2011-07-01  Glenn Morris  <rgm@gnu.org>
9968         * type-break.el (type-break-time-sum): Use dolist.
9970         * textmodes/flyspell.el (flyspell-word-search-backward):
9971         Replace CL function.
9973 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9975         * mouse.el (mouse--strip-first-event): New function.
9976         (function-key-map): Use it to map fringe clicks to normal clicks
9977         by default.
9979         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9980         (vc-bzr-revision-completion-table): Add support for annotate and date.
9982         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9983         inherit from parent.
9985 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9987         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9988         (dired-show-file-type): Doc fixup (bug#8818).
9990         * dired.el (dired-mode): Fix up the doc string as suggested by
9991         Drew Adams (bug#8817).
9993         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9994         cookie, since the manual says that it should be possible to add
9995         this function to `find-file-hook' (bug#8709).
9997 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
9999         * progmodes/cfengine.el: Moved all cfengine3.el functionality
10000         here.  Noted Ted Zlatanov as the maintainer.
10001         (cfengine-common-settings, cfengine-common-syntax): New functions
10002         to set up common things between `cfengine-mode' and
10003         `cfengine3-mode'.
10004         (cfengine3-mode): New mode.
10005         (cfengine3-defuns cfengine3-defuns-regex
10006         (cfengine3-class-selector-regex cfengine3-category-regex)
10007         (cfengine3-vartypes cfengine3-font-lock-keywords)
10008         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10009         (cfengine3-indent-line): Add from cfengine3.el.
10011 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
10013         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10015         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10017 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
10019         * window.el (same-window-buffer-names, same-window-regexps)
10020         (same-window-p, special-display-frame-alist)
10021         (special-display-popup-frame, special-display-function)
10022         (special-display-buffer-names, special-display-regexps)
10023         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10024         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10025         (split-window-preferred-function, split-height-threshold)
10026         (split-width-threshold, even-window-heights)
10027         (display-buffer-mark-dedicated, window-splittable-p)
10028         (split-window-sensibly, window-safely-shrinkable-p):
10029         Un-obsolete.
10030         (display-buffer): Don't spread args with function specifier
10031         because special-display-popup-frame won't like it.
10033 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
10035         Time-stamp simplifications and fixes.
10036         These improve accuracy slightly, and future-proof the code
10037         against some potential changes to current-time format.
10039         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10040         by using time-since and float-time.
10042         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10043         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
10044         + NNN microseconds".
10046         * type-break.el (type-break-time-sum): Rewrite using time-add.
10048         * play/hanoi.el (hanoi-current-time-float): Remove.
10049         All uses replaced by float-time.
10051         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10052         This yields a more-accurate answer.
10053         (rng-time-to-float): Remove; no longer needed.
10055         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10057         * calendar/timeclock.el (timeclock-seconds-to-time):
10058         Defalias to seconds-to-time, since they're the same thing.
10060         * emacs-lisp/elp.el (elp-elapsed-time):
10061         * emacs-lisp/benchmark.el (benchmark-elapse):
10062         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10064 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10066         * window.el (bury-buffer): Don't iconify the only frame.
10067         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10068         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
10070 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
10072         * eshell/em-smart.el (eshell-smart-display-navigate-list):
10073         Add mouse-yank-primary.
10075 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
10077         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10079 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10081         * emacs-lisp/find-func.el (find-library--load-name): New fun.
10082         (find-library-name): Use it to find relative load names when provided
10083         absolute file name (bug#8803).
10085 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10087         * textmodes/flyspell.el (flyspell-word): Consider words that
10088         differ only in case as potential doublons (bug#5687).
10090         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10091         Remove two rather uninteresting debugging-like messages to make
10092         debbugs.el more silent.
10094         * comint.el (comint-password-prompt-regexp): Accept "Response" as
10095         a password-like phrase.
10097 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
10099         * progmodes/cc-guess.el: New file.
10101         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10103         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10104         derived from `c-basic-common-init'.
10106         * progmodes/cc-mode.el (top-level): Require cc-guess.
10107         (c-basic-common-init): Use `cc-choose-style-for-mode'.
10109 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
10111         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10113 2011-06-30  Alan Mackenzie  <acm@muc.de>
10115         * progmodes/cc-engine.el (c-guess-continued-construct):
10116         Correct the handling of template-args-cont, particularly for when font
10117         lock is disabled.  Name this case as "CASE G".
10119 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
10121         * allout.el (allout-yank-processing): Fix injection of extra space
10122         between bullet and non-whitespace character in first topic when
10123         pasting, ensuring that the actual spacing in the pasted topic
10124         following the bullet char is preserved.  This extra space was
10125         causing pasted encrypted topics to get a decrypted status even
10126         when the content was actually still encrypted.  Now the decryption
10127         status from before the paste is preserved.
10129         (allout-flag-region): Set all allout overlays so they evaporate
10130         when reduced to zero length (evanescent), to prevent overlay
10131         leakage.
10133 2011-06-30  Glenn Morris  <rgm@gnu.org>
10135         * w32-fns.el (w32-charset-info-alist): Declare.
10137         * find-dired.el (find-grep-options): Simplify.
10139         * term/ns-win.el (ns-set-resource): Declare.
10141         * ses.el (row, col): Declare dynamic variables honestly.
10143         * textmodes/reftex-parse.el (index-tags): Declare.
10145 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
10147         * cus-edit.el (customize-push-and-save): New function.
10149         * files.el (hack-local-variables-confirm): Use it.
10151         * custom.el (load-theme): New arg NO-CONFIRM.
10152         Use customize-push-and-save (Bug#8720).
10153         (custom-enabled-themes): Doc fix.
10155         * cus-theme.el (customize-create-theme)
10156         (custom-theme-merge-theme): Callers to load-theme changed.
10158 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10160         * thingatpt.el (thing-at-point-short-url-regexp): Require that
10161         short URLs have at least one dot in them (bug #7614).
10163         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10164         nil, because using a pty is apparently too slow (bug #895).
10166 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10168         * mail/sendmail.el (sendmail-query-once): New function.
10169         (sendmail-query-once-function): New variable.
10171 2011-06-29  Glenn Morris  <rgm@gnu.org>
10173         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10175         * ses.el (top-level): Require cl when compiling.
10176         (ses-set-localvars): Fix error statement.
10177         Call it at compile time to silence a storm of warnings.
10179 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
10181         * window.el (normalize-live-buffer): Rename to
10182         window-normalize-buffer.
10183         (normalize-live-frame): Rename to window-normalize-frame.
10184         (normalize-any-window): Rename to window-normalize-any-window.
10185         (normalize-live-window): Rename to window-normalize-live-window.
10186         (make-window-atom): Rename to window-make-atom.
10187         (window-resize-reset): Rename to window--resize-reset.
10188         (window-resize-reset-1): Rename to window--resize-reset-1.
10189         (resize-mini-window): Rename to window--resize-mini-window.
10190         (resize-subwindows-skip-p): Rename to
10191         window--resize-subwindows-skip-p.
10192         (resize-subwindows-normal): Rename to
10193         window--resize-subwindows-normal.
10194         (resize-subwindows): Rename to window--resize-subwindows.
10195         (resize-other-windows): Rename to window--resize-siblings.
10196         (resize-this-window): Rename to window--resize-this-window.
10197         (resize-root-window): Rename to window--resize-root-window.
10198         (resize-root-window-vertically): Rename to
10199         window--resize-root-window-vertically.
10200         (normalize-buffer-to-display): Rename to
10201         window-normalize-buffer-to-display.
10202         (normalize-buffer-to-switch-to): Rename to
10203         window-normalize-buffer-to-switch-to.
10204         Correspondingly update all callers of the functions listed
10205         above.
10206         (display-buffer-alist, display-buffer-normalize-arguments)
10207         (display-buffer-normalize-options, display-buffer)
10208         (display-buffer-alist-set): Use "function" instead of
10209         "fun-with-args".
10211 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
10213         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10214         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
10215         debbugs.gnu.org.  Mention acknowledgment email.
10217 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10219         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10220         buffer multibyteness, since it shouldn't matter.
10222 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
10224         * window.el (display-buffer-in-side-window): Handle dedicated
10225         windows as in display-buffer-reuse-window.
10226         (display-buffer-normalize-alist): Use value of override
10227         specifier.
10228         (display-buffer-normalize-specifiers): Use value of
10229         other-window-means-other-frame specifier.
10230         (display-buffer-alist): Rewrite some texts in widgets.
10231         (display-buffer): Spread arguments when calling function
10232         specified by fun-with-args.
10234 2011-06-28  Deniz Dogan  <deniz@dogan.se>
10236         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10237         Unnest `let'.
10239         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10240         selectors (Bug#5732).
10241         (css-proprietary-nmstart-re): Use `regexp-opt'.
10243 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
10245         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10246         (eshell-ls-date-format): New defcustom.
10247         (eshell-ls-file): Use it.
10249 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10251         * help-fns.el (describe-variable): Fix message for terminal-local vars.
10253 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
10255         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10256         (ange-ftp-make-tmp-name): New arg.
10257         (ange-ftp-file-local-copy): Use it.
10259 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
10261         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10262         no-conversion (Bug#8870).
10264 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
10266         * window.el (window-right, window-left, window-child)
10267         (window-child-count, window-last-child)
10268         (window-iso-combination-p, walk-window-tree-1)
10269         (window-atom-check-1, window-tree-1, delete-window)
10270         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10271         new naming conventions - window-vchild, window-hchild,
10272         window-next and window-prev are now called window-top-child,
10273         window-left-child, window-next-sibling and window-prev-sibling
10274         respectively.
10275         (resize-window-reset): Rename to window-resize-reset.
10276         (resize-window-reset-1): Rename to window-resize-reset-1.
10277         (resize-window): Rename to window-resize.
10278         (window-min-height, window-min-width)
10279         (resize-mini-window, resize-this-window, resize-root-window)
10280         (resize-root-window-vertically, adjust-window-trailing-edge)
10281         (enlarge-window, shrink-window, maximize-window)
10282         (minimize-window, delete-window, quit-restore-window)
10283         (split-window, balance-windows, balance-windows-area-adjust)
10284         (balance-windows-area, window-state-put-2)
10285         (display-buffer-even-window-sizes, display-buffer-set-height)
10286         (display-buffer-set-width, set-window-text-height)
10287         (fit-window-to-buffer): Rename all "resize-window" prefixed
10288         calls to use the "window-resize" prefix convention.
10289         (display-buffer-alist): Fix symbol for label specifier.
10290         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10291         corresponding specifier.
10292         Reported by Juanma Barranquero <lekktu@gmail.com>.
10294 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10296         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10297         convention.
10298         (ses-call-printer): Does not pass an empty string to formatter when the
10299         cell is empty to keep from barking printer Calc math-format-value.
10301 2011-06-27  Richard Stallman  <rms@gnu.org>
10303         * battery.el (battery-mode-line-limit): New variable.
10304         (battery-update): Handle it.
10306         * mail/rmailmm.el (rmail-mime-process-multipart):
10307         Handle truncated messages.
10309 2011-06-27  Glenn Morris  <rgm@gnu.org>
10311         * progmodes/flymake.el (flymake-err-line-patterns):
10312         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
10314 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10316         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10317         (ses--clean-!, ses--clean-_): New functions.
10318         (ses-range): Add configurability of readout order, and conversion
10319         to Calc vector.
10321         * ses.el (ses-repair-cell-reference-all): New function.
10322         (ses-cell-symbol): Set macro as safe, so that it can be used in
10323         formulas.
10325         * ses.el: Update cycle detection algorithm.
10326         (ses-localvars): Add ses--Dijkstra-attempt-nb and
10327         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10328         (ses-set-localvars): New function.
10329         (ses-make-cell): Add property-list as a cell element.
10330         (ses-cell-property-get-fun, ses-cell-property-get)
10331         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10332         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10333         New functions.
10334         (ses-cell-property-set, ses-cell-property-pop)
10335         (ses-cell-property-get-handle): New macro.
10336         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10337         New aliases, used for code readability.
10338         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10339         cycle detection.
10340         (ses-self-reference-early-detection): New defcustom.
10341         (ses-formula-references): Robustify against self-referring cells.
10342         (ses-mode): Use ses-set-localvars.
10343         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10344         before lauching the update processing.
10345         (ses-initialize-Dijkstra-attempt): New function.
10346         (ses-recalculate-cell): Update for cycle detection based on
10347         Dijkstra algorithm.
10349         * ses.el: Fix commenting and indenting convention.
10351 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10353         * bs.el (bs-cycle-next): Complete last change.
10355 2011-06-27  Drew Adams  <drew.adams@oracle.com>
10357         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10359 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10361         * net/network-stream.el (network-stream-open-starttls):
10362         Don't re-get capabilities unless we've reestablished connection.
10363         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10365         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10366         to binary to possibly avoid line encoding issues on Windows (among
10367         other things).
10369 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10371         * net/network-stream.el (open-network-stream): Return an :error
10372         saying what the problem was, if possible.
10374         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10375         server.
10377         * net/network-stream.el (network-stream-open-starttls): If we
10378         wanted to use STARTTLS, and the server offered it, but we weren't
10379         able to because we had no STARTTLS support, then close the connection.
10380         (open-network-stream): Return an :error element, if present.
10382 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
10384         * hl-line.el (hl-line-sticky-flag): Doc fix.
10385         (global-hl-line-sticky-flag): New option (Bug#8323).
10386         (global-hl-line-highlight): Obey it.
10388         * vc/vc.el (vc-revert-show-diff): Default to t.
10390 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
10392         * allout-widgets.el (allout-widgets-post-command-business):
10393         Stop decorating intermediate isearch matches.  They're not being
10394         undecorated when an isearch is continued past, and isearch
10395         automatically collapses them.  This leads to "widget leaks", where
10396         decorated items accumulate in collapsed areas.  Lines with lots of
10397         hidden widgets can slow down cursor travel, substantially.
10398         Too much complicated machinery would be needed to ensure undecoration,
10399         so we're doing without this nicety.
10401         (allout-widgets-tally-string): Don't try to do a hash-table-count
10402         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
10403         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10404         *Messages* when allout-widgets-maintain-tally is t.
10406 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
10408         * window.el (display-buffer-normalize-argument): Rename to
10409         display-buffer-normalize-arguments.  Handle special meaning of
10410         LABEL argument.  Respect special-display-function when popping up
10411         a new frame.  Fix code searching for a window showing the buffer
10412         on another frame.
10413         (display-buffer-normalize-specifiers):
10414         Call display-buffer-normalize-arguments.
10415         (display-buffer-in-window): Don't undedicate the window if its
10416         buffer remains the same.
10417         Reported by Drew Adams <drew.adams@oracle.com>.
10418         (display-buffer-alist): Add choice for same-window macro
10419         specfier.
10420         (display-buffer): Mention special meaning of LABEL argument in
10421         doc-string.  Fix quoting.  Don't pop up a new frame even as
10422         fallback.
10424 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
10426         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10427         avoid deleting the current window in some cases (bug#8911).
10429 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
10431         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10432         (Bug#8934)
10434 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10436         * net/network-stream.el (network-stream-open-starttls):
10437         Use built-in TLS support if `gnutls-available-p' is true.
10438         (network-stream-open-tls): Ditto.
10440 2011-06-26  Leo Liu  <sdl.web@gmail.com>
10442         * register.el (registerv): New struct.
10443         (registerv-make): New function.
10444         (jump-to-register, describe-register-1, insert-register):
10445         Support the jump-func, print-func and insert-func slot of a registerv
10446         struct.  (Bug#8415)
10448 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
10450         * vc/vc.el (vc-revert-show-diff): New defcustom.
10451         (vc-diff-internal): New arg specifying diff buffer.
10452         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
10453         reuse an existing *vc-diff* buffer (Bug#8927).
10455         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10457 2011-06-26  Glenn Morris  <rgm@gnu.org>
10459         * progmodes/f90.el (f90-critical-indent): New option.
10460         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10461         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10462         (f90-mode): Doc fix.
10463         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10464         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10465         (f90-beginning-of-block, f90-next-block, f90-indent-region)
10466         (f90-match-end): Handle block, critical.
10468 2011-06-25  Glenn Morris  <rgm@gnu.org>
10470         * calendar/diary-lib.el (diary-included-files): Doc fix.
10471         (diary-include-files): New function, extracted from
10472         diary-include-other-diary-files and diary-mark-included-diary-files.
10473         (diary-include-other-diary-files, diary-mark-included-diary-files):
10474         Just call diary-include-files.
10475         (diary-mark-entries): Reset diary-included-files on first call.
10477         * calendar/diary-lib.el (diary-mark-entries)
10478         (diary-mark-included-diary-files):
10479         Visit included diary-files in temp buffers.
10481         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10482         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10483         (f90-start-block-re, f90-imenu-generic-expression)
10484         (f90-looking-at-program-block-start, f90-no-block-limit):
10485         Add support for submodules.
10487         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10488         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10490 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
10492         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10493         buffer-file-type before setting its value, to avoid disastrous
10494         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
10496 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
10498         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10500         * ses.el (ses-unload-function):
10501         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10503         * proced.el (proced-unload-function):
10504         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10506 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
10508         * server.el (server-create-window-system-frame): Add parameters arg.
10509         (server-process-filter): Doc fix.  Handle frame-parameters.
10511 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
10513         Fix bug#8730, bug#8781.
10515         * loadhist.el (unload--set-major-mode): New function.
10516         (unload-feature): Use it.
10518         * progmodes/python.el (python-after-info-look): Add autoload cookie.
10519         (python-unload-function): New function.
10521 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10523         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10525 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
10527         * net/browse-url.el (browse-url-firefox-program): Add icecat to
10528         the candidates list.
10530 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
10532         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10534 2011-06-23  Richard Stallman  <rms@gnu.org>
10536         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10537         (rmail-variables): Set next-error-move-function.
10538         (rmail-what-message): Take argument POS.
10539         (rmail-next-error-move): New function.
10541 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10543         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10544         messages for adjacent non-terminals.
10546 2011-06-23  Richard Stallman  <rms@gnu.org>
10548         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10549         (rmail-show-message-1): Preserve buffer modified flag.
10550         (rmail-start-mail): Don't specify use of rmail-mail-return;
10551         that's done by mail-bury now.
10552         (rmail-mail-return): Handle arg NEWBUF.
10554 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
10556         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10557         SIZE is a number.
10559 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
10561         * window.el (get-lru-window, get-mru-window)
10562         (get-largest-window): Never return a minibuffer window.
10563         (display-buffer-pop-up-window): Fix a bug that could lead to
10564         reusing the minibuffer window.
10565         (display-buffer): Pass original specifier argument to
10566         display-buffer-function instead of the normalized one.
10567         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10569 2011-06-22  Leo Liu  <sdl.web@gmail.com>
10571         * minibuffer.el (completing-read-function)
10572         (completing-read-default): Move from minibuf.c
10574 2011-06-22  Richard Stallman  <rms@gnu.org>
10576         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10577         to Rmail even if not started by a special Rmail command.
10579         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10580         Copy the buffer currently showing just one message.
10582 2011-06-22  Roland Winkler  <winkler@gnu.org>
10584         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10585         (bibtex-clean-entry): First delete the old key so that a
10586         customized algorithm for generating the new key does not get
10587         confused by the old key.
10588         (bibtex-url): Obey regexp of first step.
10589         (bibtex-search-entries): Do not use add-to-list with local
10590         list-var.
10592 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10594         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10595         stored a user name, then query for the password first, instead of
10596         waiting for SMTP to give an error message and the trying again.
10598 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
10600         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10601         BUFFER in call-process.
10603 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10605         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10606         QUIT twice.
10607         (smtpmail-try-auth-methods): Require user name and password from
10608         auth-source.
10610 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
10612         * window.el (display-buffer-default-specifiers)
10613         (display-buffer-alist): Remove entries for pop-up-frame-alist.
10614         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10615         (split-window): Normalize SIDE argument (Bug#8916).
10617         * frame.el (pop-up-frame-alist, pop-up-frame-function)
10618         (special-display-frame-alist, special-display-popup-frame):
10619         Remove duplicate declarations.  These are now in window.el.
10621 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10623         * mail/smtpmail.el (smtpmail-via-smtp):
10624         Set :use-starttls-if-possible so that we always use STARTTLS if the
10625         server supports it.  SMTP servers that support STARTTLS commonly
10626         require it.
10628         * net/network-stream.el (network-stream-open-starttls): Support
10629         upgrading to STARTTLS always, even if we don't have built-in support.
10630         (open-network-stream): Add the :always-query-capabilities keyword.
10632         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10633         upgrades with `open-network-stream', and rely solely on
10634         auth-source for all credentials.  Big changes throughout the file,
10635         but in particular:
10636         (smtpmail-auth-credentials): Remove.
10637         (smtpmail-starttls-credentials): Remove.
10638         (smtpmail-via-smtp): Check for servers saying they want AUTH after
10639         MAIL FROM, too.
10641         * net/network-stream.el (network-stream-open-starttls):
10642         Provide support for client certificates both for external and built-in
10643         STARTTLS.
10644         (auth-source): Require.
10645         (open-network-stream): Document the :client-certificate keyword.
10646         (network-stream-certificate): Change cert-cert to cert and
10647         cert-key to key.
10649 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
10651         * net/tramp-cache.el (top): Don't load the persistency file when
10652         "emacs -Q" has been called.
10654 2011-06-21  Tim Harper  <timcharper@gmail.com>
10656         * term/ns-win.el (ns-initialize-window-system):
10657         Set application-specific `ApplePressAndHoldEnabled' system
10658         resource to NO as it is not yet supported by the NS port.
10660 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
10662         * misc.el (list-dynamic-libraries--refresh): Compute header here...
10663         (list-dynamic-libraries): ...not here.
10665 2011-06-21  Leo Liu  <sdl.web@gmail.com>
10667         * subr.el (sha1): Implement sha1 using secure-hash.
10669 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
10671         * window.el (display-buffer-alist): In default value do not
10672         enforce searching a window on any but the selected frame.
10673         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10674         (display-buffer-select-window): Remove function.
10675         (display-buffer-in-window): When a window on another frame gets
10676         reused, do not select it any more but just raise its frame if
10677         necessary (Bug#8851) and (Bug#8856).
10678         (display-buffer-normalize-options): Handle pop-up-frames related
10679         options more faithfully.
10680         (pop-to-buffer): Don't rely on `display-buffer' selecting the
10681         window if it is on another frame.
10682         (display-buffer-alist, display-buffer-default-specifiers):
10683         Don't make new frame unsplittable by default.
10684         (display-buffer-normalize-argument): Fix doc-string typo and use
10685         'same-frame-other-window instead of 'other-window when associating
10686         with display-buffer-macro-specifiers.
10688 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
10690         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10691         New functions.
10692         (5x5-mode-map, 5x5-mode-menu): Bind them.
10693         (5x5-draw-grid): Tweak the solver's rendering.
10695 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10697         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10698         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10700 2011-06-21  Drew Adams  <drew.adams@oracle.com>
10702         * menu-bar.el: Use function variable instead of switch-to-buffer.
10703         (menu-bar-select-buffer-function): New variable.
10704         (menu-bar-update-buffers): Use it (bug#8876).
10706 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10708         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10709         variable's status.
10711 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
10713         * x-dnd.el (x-dnd-version-from-flags)
10714         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10715         and long as number (Bug#8899).
10716         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10718 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10720         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10721         (completion-try-completion, completion-all-completions): Compute the
10722         metadata argument if it's missing; make it optional (bug#8795).
10724         * wid-edit.el: Use lex-bind and move towards completion-at-point.
10725         (widget-complete): Use new :completion-function property.
10726         (widget-completions-at-point): New function.
10727         (default): Use :completion-function instead of :complete.
10728         (widget-default-completions): Rename from widget-default-complete;
10729         Rewrite.
10730         (widget-string-complete, widget-file-complete, widget-color-complete):
10731         Remove functions.
10732         (file, symbol, function, variable, coding-system, color):
10733         * international/mule-cmds.el (default-input-method, charset)
10734         (language-info-custom-alist):
10735         * cus-edit.el (face): Use new property :completions.
10737         * progmodes/pascal.el (pascal-completions-at-point): New function.
10738         (pascal-mode): Use it.
10739         (pascal-mode-map): Use completion-at-point.
10740         (pascal-toggle-completions): Make obsolete.
10741         (pascal-complete-word, pascal-show-completions):
10742         * progmodes/octave-mod.el (octave-complete-symbol):
10743         Redefine as obsolete alias.
10744         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10745         Signal absence of completion info for old Octave,
10746         (inferior-octave-complete): Redefine as obsolete alias.
10747         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10748         (meta-completions-at-point): Rename from meta-complete-symbol and
10749         adapt it for use on completion-at-point-functions.
10750         (meta-common-mode): Use it.
10751         (meta-looking-at-backward, meta-match-buffer): Remove.
10752         (meta-complete-symbol): Redefine as obsolete alias.
10753         (meta-common-mode-map): Use completion-at-point.
10754         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10755         (makefile-mode-map): Use completion-at-point.
10756         (makefile-completions-at-point): Rename from makefile-complete and
10757         adapt it for use on completion-at-point-functions.
10758         (makefile-mode): Use it.
10759         (makefile-complete): Redefine as obsolete alias.
10761 2011-06-20  Deniz Dogan  <deniz@dogan.se>
10763         * net/rcirc.el: Delete trailing whitespaces once and for all.
10765 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
10767         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10769 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
10771         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10773         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10775 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
10777         * window.el (display-buffer-other-window-means-other-frame):
10778         Call display-buffer-normalize-alist.
10779         (display-buffer-normalize-specifiers-1): Rename to
10780         display-buffer-normalize-argument.  New argument other-frame.
10781         Rewrite.
10782         (display-buffer-normalize-specifiers-2): Rename to
10783         display-buffer-normalize-options.
10784         (display-buffer-normalize-alist-1): New function.
10785         (display-buffer-normalize-specifiers-3): Rename to
10786         display-buffer-normalize-alist.
10787         Call display-buffer-normalize-alist-1.
10788         (display-buffer-normalize-options-inhibit): New variable.
10789         (display-buffer-normalize-specifiers): Rewrite calling
10790         display-buffer-normalize-alist,
10791         display-buffer-normalize-argument, and
10792         display-buffer-normalize-options.  Don't call the latter if
10793         display-buffer-normalize-options-inhibit is non-nil.
10794         (frame-auto-delete): New option.
10795         (window-deletable-p): Use frame-auto-delete.
10796         (window-list-no-nils, window-state-ignored-parameters)
10797         (window-state-get-1, window-state-get, window-state-put-list)
10798         (window-state-put-1, window-state-put-2, window-state-put):
10799         New functions.
10800         (display-buffer-normalize-options): Move special-display-p group
10801         after pop-up-frame group (Bug#8851) and (Bug#8856).
10803 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
10805         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10806         groups (Bug#8776).
10807         (rx-submatch-n): New function.
10808         (rx): Document it.
10810         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10811         (Bug#8768).
10813         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10815         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10817         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10818         anytime existing face settings are present (Bug#8889).
10820         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10821         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10822         Remove unused argument.
10824 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
10826         * window.el (display-buffer-default-specifiers):
10827         Remove pop-up-frame.  Add pop-up-window-min-height,
10828         pop-up-window-min-width, and another reuse-window specifier
10829         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
10830         (display-buffer-normalize-specifiers-2):
10831         Handle split-height-threshold and split-width-threshold also when
10832         pop-up-windows is unset.  Add a reuse-window specifier for the
10833         case popping up a new window fails.
10834         (special-display-popup-frame): Remove double quoting.
10835         (display-buffer-normalize-specifiers-1): Fix thinko.
10837 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10839         * shell.el (shell-completion-vars): Set pcomplete-termination-string
10840         according to comint-completion-addsuffix.
10842         * pcomplete.el: Convert to lexical binding and fix bug#8819.
10843         (pcomplete-suffix-list): Mark as obsolete.
10844         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10845         pcomplete-seen in the closure.
10846         (pcomplete-comint-setup): Setup completion-at-point as well.
10847         (pcomplete--entries): New function.
10848         (pcomplete--env-regexp): New var.
10849         (pcomplete-entries): Rewrite to work with partial-completion and
10850         without relying on pcomplete-suffix-list.
10851         (pcomplete-pare-list): Remove, unused.
10853 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
10855         * window.el (display-buffer-alist): Set pop-up-window-min-height
10856         and pop-up-window-min-width in default value.  Reported by
10857         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
10858         other-window-means-other-frame.
10859         (display-buffer-macro-specifiers): Comment out entry for
10860         other-window specifier.
10861         (display-buffer-other-window-means-other-frame): New function.
10862         (display-buffer-normalize-specifiers-1): New arguments
10863         buffer-name and label.  Treat other-window case specially.
10864         (display-buffer-normalize-specifiers-2): Treat other-window case
10865         specially.
10866         (display-buffer-normalize-specifiers-3): New function.
10867         (display-buffer-normalize-specifiers):
10868         Call display-buffer-normalize-specifiers-3.
10870 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
10872         * window.el (same-window-p): Fix two typos introduced when
10873         adding with-no-warnings.
10874         (display-buffer-normalize-specifiers-1): Don't check
10875         pop-up-frames for 'unset initialization.
10876         (display-buffer-normalize-specifiers-2): Major rewrite using
10877         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10878         (pop-up-frames, display-buffer-reuse-frames)
10879         (display-buffer-mark-dedicated): Don't initialize to 'unset.
10880         Suggested by David Engster <deng@randomsample.de>.
10881         (even-window-heights): Initialize to 'unset.
10882         (display-buffer-alist-set): Handle new 'unset initializations.
10883         (display-buffer-macro-specifiers): Don't pop up a new frame in the
10884         other window case.
10886 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
10888         * window.el (display-buffer-normalize-specifiers-1):
10889         Respect current value of pop-up-frames for most reasonable values of
10890         second argument of display-buffer (Bug#8865).
10891         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10892         (switch-to-buffer-other-window-same-frame)
10893         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
10894         Adams (Bug#8875).
10895         (display-buffer): Don't check noninteractive when calling
10896         display-buffer-pop-up-frame.
10897         (display-buffer-pop-up-frame): Never pop up a frame in
10898         noninteractive mode (Bug#8857).
10899         (enlarge-window, shrink-window): Don't report an error when the
10900         window can't be resized as requested (Bug#8862).
10902 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10904         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10906         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10908         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10910 2011-06-15  Alan Mackenzie  <acm@muc.de>
10912         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10913         for declarators, disable knr checking to speed up for normal files.
10914         2: Refactor, replacing a sequence of nested if forms by a cond form.
10916 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10918         * net/network-stream.el (open-network-stream): Add the keyword
10919         :always-query-capabilities for the case where you want to force a
10920         `plain' network connection, but the protocol still requires the
10921         capabilitiy command (i.e., SMTP and EHLO).
10923         * subr.el (process-live-p): Rename from `process-alive-p' for
10924         consistency with other `-live-p' functions.
10926 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10928         * window.el (same-window-buffer-names, same-window-regexps)
10929         (special-display-frame-alist, special-display-popup-frame)
10930         (special-display-function, special-display-buffer-names)
10931         (special-display-regexps, pop-up-frame-alist)
10932         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10933         (pop-up-windows, split-window-preferred-function)
10934         (split-height-threshold, split-width-threshold, even-window-heights)
10935         (display-buffer-mark-dedicated): Don't encourage the use of
10936         display-buffer-alist from Elisp code.
10938 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
10940         * progmodes/python.el (python-mode): Derive from prog-mode.
10941         * progmodes/ps-mode.el (ps-mode):
10942         * progmodes/mixal-mode.el (mixal-mode):
10943         * progmodes/cfengine.el (cfengine-mode):
10944         * progmodes/ld-script.el (ld-script-mode): Likewise.
10946 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
10948         * window.el (display-buffer-alist): Trim default value to avoid
10949         popping up a new frame (Bug#8857) or reusing an arbitrary window
10950         on another frame.
10951         (display-buffer): Do not fall back on popping up a new frame in
10952         batch mode (Bug#8857).
10954 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
10956         * cus-theme.el (describe-theme-1): Use custom-theme-p.
10957         (custom-theme-summary): New function.
10958         (customize-themes): Use it.
10960 2011-06-13  Glenn Morris  <rgm@gnu.org>
10962         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10964 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
10966         * help.el (help-window): Remove variable.
10967         (help-window-point-marker, temp-buffer-max-height)
10968         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10969         (help-print-return-message): Don't set help-window.
10970         (resize-temp-buffer-window): Rewrite cod eand doc-string.
10971         (help-window-setup-finish): Remove.
10972         (help-window-display-message, help-window-setup)
10973         (with-help-window): Major rewrite based on new
10974         display-buffer-window variable.
10976         * help-mode.el (help-mode-finish): Remove help-window related
10977         code.
10979         * view.el (view-exits-all-viewing-windows): Remove reference to
10980         view-return-to-alist in doc-string.
10981         (view-return-to-alist): Make obsolete.
10982         (view-buffer): Call pop-to-buffer-same-window and remove
10983         undo-window code.
10984         (view-buffer-other-window): Call pop-to-buffer-other-window and
10985         simplify code.  Ignore second argument.
10986         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10987         simplify code.  Ignore second argument.
10988         (view-return-to-alist-update): Make obsolete.
10989         (view-mode-enter): Rename second argument to QUIT-RESTORE.
10990         Rewrite using quit-restore window parameters.
10991         (view-mode-exit): Rename second argument to EXIT-ONLY.
10992         Rewrite using quit-restore-window.
10993         (View-exit, View-exit-and-edit, View-leave, View-quit)
10994         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10995         appropriate arguments.
10996         (view-end-message): Use quit-restore window parameter.
10998         * window.el (display-buffer-function): Rewrite doc-string.
10999         (display-buffer-window, display-buffer-alist): New variables.
11000         (display-buffer-split-specifiers)
11001         (display-buffer-side-specifiers)
11002         (display-buffer-macro-specifiers): New constants.
11003         (display-buffer-even-window-sizes, display-buffer-set-height)
11004         (display-buffer-set-width, display-buffer-select-window)
11005         (display-buffer-in-window, display-buffer-reuse-window)
11006         (display-buffer-split-window-1, display-buffer-split-window)
11007         (display-buffer-split-atom-window, display-buffer-pop-up-window)
11008         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11009         (display-buffer-in-side-window, normalize-buffer-to-display)
11010         (display-buffer-normalize-specifiers-1)
11011         (display-buffer-normalize-specifiers-2)
11012         (display-buffer-normalize-specifiers, display-buffer-frame):
11013         New functions.
11014         (display-buffer): Major rewrite.
11015         (display-buffer-other-window, display-buffer-other-frame)
11016         (pop-to-buffer, switch-to-buffer-other-window)
11017         (switch-to-buffer-other-frame): Rewrite.
11018         (display-buffer-same-window, display-buffer-same-frame)
11019         (display-buffer-same-frame-other-window)
11020         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11021         (pop-to-buffer-other-window)
11022         (pop-to-buffer-same-frame-other-window)
11023         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11024         (switch-to-buffer-other-window-same-frame): New functions.
11025         (same-window-p, special-display-p): Rewrite disabling warnings.
11026         Make obsolete.
11027         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11028         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11029         Make obsolete
11030         (same-window-buffer-names, same-window-regexps)
11031         (special-display-frame-alist, special-display-popup-frame)
11032         (special-display-function, special-display-buffer-names)
11033         (special-display-regexps, pop-up-frame-alist)
11034         (pop-up-frame-function, split-window-preferred-function)
11035         (split-height-threshold, split-width-threshold)
11036         (even-window-heights): Make obsolete.
11038 2011-06-12  Glenn Morris  <rgm@gnu.org>
11040         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
11041         Misc simplifications.
11043 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
11045         * window.el (window-safely-shrinkable-p): Restore function which
11046         was inadvertently removed in change from 2011-06-11.  Declare as
11047         obsolete.
11049         * calendar/calendar.el (calendar-generate-window):
11050         Use window-iso-combined-p instead of combination of one-window-p and
11051         window-safely-shrinkable-p.
11053 2011-06-12  Glenn Morris  <rgm@gnu.org>
11055         * progmodes/fortran.el (fortran-mode-syntax-table):
11056         * progmodes/f90.el (f90-mode-syntax-table):
11057         Set % to punctuation.  (Bug#8820)
11058         (f90-find-tag-default): Remove, no longer needed.
11060 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
11062         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11064 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
11066         * image.el (image-animated-p): Return animation delay in seconds.
11067         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11068         (image-animate-timeout): Remove DELAY argument.  Don't assume
11069         every subimage has the same delay; get it from image-animated-p.
11070         (image-animate): Caller changed.
11072 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
11074         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11075         to ignored backtrace functions.
11077 2011-06-11  Glenn Morris  <rgm@gnu.org>
11079         * calendar/appt.el (appt-disp-window-function): Doc fix.
11080         (appt-check): Handle overlapping appointments.  (Bug#8337)
11082 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
11084         * window.el (window-tree-1, window-tree): New functions, moving
11085         the latter to window.el.
11086         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11087         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11088         (bw-refresh-edges): Remove.
11089         (balance-windows-1, balance-windows-2): New functions.
11090         (balance-windows): Rewrite in terms of window tree functions,
11091         balance-windows-1 and balance-windows-2.
11092         (bw-adjust-window): Remove.
11093         (balance-windows-area-adjust): New function with functionality of
11094         bw-adjust-window but using resize-window.
11095         (set-window-text-height): Rewrite doc-string.
11096         Use normalize-live-window and resize-window.
11097         (enlarge-window-horizontally, shrink-window-horizontally):
11098         Rename argument to DELTA.
11099         (window-buffer-height): New function.
11100         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11101         Rewrite using new window resize routines.
11102         (kill-buffer-and-window, mouse-autoselect-window-select):
11103         Use ignore-errors instead of condition-case.
11104         (quit-window): Call delete-frame instead of delete-windows-on
11105         for the only buffer on frame.
11107 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
11109         * loadup.el (top-level): Load window before files for the sake
11110         of replace-buffer-in-windows.
11112         * files.el (read-buffer-to-switch)
11113         (switch-to-buffer-other-window)
11114         (switch-to-buffer-other-frame, display-buffer-other-frame):
11115         Move to window.el.
11117         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11118         (previous-buffer): Move to window.el.
11120         * bindings.el (unbury-buffer): Move to window.el.
11122         * window.el (delete-other-windows-vertically): Move after
11123         definition of delete-other-windows.
11124         (other-window, delete-windows-on, replace-buffer-in-windows):
11125         Move here from window.c.
11126         (record-window-buffer, unrecord-window-buffer)
11127         (set-window-buffer-start-and-point, switch-to-prev-buffer)
11128         (switch-to-next-buffer): New functions.
11129         (get-next-valid-buffer, last-buffer, next-buffer): Move here
11130         from simple.el.  Call switch-to-next-buffer.
11131         (previous-buffer): Move here from simple.el.
11132         Call switch-to-prev-buffer.
11133         (bury-buffer): Move here from buffer.c.  Switch to previous
11134         buffer when window cannot be deleted.
11135         (unbury-buffer): Move here from bindings.el.
11136         (ctl-x-map): Move binding for other-window from window.c to
11137         here.
11138         (read-buffer-to-switch, switch-to-buffer-other-window)
11139         (switch-to-buffer-other-frame): Move here from files.el.
11140         (normalize-buffer-to-switch-to): New functions.
11141         (switch-to-buffer): Move here from buffer.c.
11142         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11144 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
11146         * window.el (window-min-height, window-min-width): Move here
11147         from window.c.  Add defcustoms and rewrite doc-strings.
11148         (resize-mini-window, resize-window): New functions.
11149         (adjust-window-trailing-edge, enlarge-window, shrink-window):
11150         Move here from window.c.
11151         (maximize-window, minimize-window): New functions.
11152         (delete-window, delete-other-windows, split-window): Move here
11153         from window.c.
11154         (window-split-min-size): New function.
11155         (split-window-keep-point): Mention split-window-above-each-other
11156         instead of split-window-vertically.
11157         (split-window-above-each-other, split-window-vertically):
11158         Rename split-window-vertically to split-window-above-each-other
11159         and provide defalias for old definition.
11160         (split-window-side-by-side, split-window-horizontally):
11161         Rename split-window-horizontally to split-window-side-by-side
11162         and provide defalias for the old definition.
11163         (ctl-x-map): Move bindings for delete-window,
11164         delete-other-windows and enlarge-window here from window.c.
11165         Replace bindings for split-window-vertically and
11166         split-window-horizontally by bindings for
11167         split-window-above-each-other and split-window-side-by-side.
11169         * cus-start.el (all): Remove entries for window-min-height and
11170         window-min-width.  Add entries for window-splits and
11171         window-nest.
11173 2011-06-09  Glenn Morris  <rgm@gnu.org>
11175         * calendar/appt.el (appt-mode-line): New function.
11176         (appt-check, appt-disp-window): Use it.
11178         * files.el (hack-one-local-variable-eval-safep):
11179         Allow minor-modes with explicit +/-1 arguments.
11181 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
11183         * term/xterm.el (xterm): Add defgroup.
11184         (xterm-extra-capabilities): Add defcustom to supply known xterm
11185         capabilities, skip querying them, or query them (default).
11186         (terminal-init-xterm): Use it.
11187         (terminal-init-xterm-modify-other-keys): New function to set up
11188         modifyOtherKeys support to simplify `terminal-init-xterm'.
11190 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
11192         * window.el (resize-window-reset, resize-window-reset-1)
11193         (resize-subwindows-skip-p, resize-subwindows-normal)
11194         (resize-subwindows, resize-other-windows, resize-this-window)
11195         (resize-root-window, resize-root-window-vertically)
11196         (window-deletable-p, window-or-subwindow-p)
11197         (frame-root-window-p): New functions.
11199 2011-06-09  Glenn Morris  <rgm@gnu.org>
11201         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11202         (ange-ftp-get-files): Use it.
11204 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
11206         * mail/sendmail.el (mail-recover-1, mail-recover):
11207         * files.el (recover-file, recover-session):
11208         Handle dired-listing-switches not being just a single short option.
11210 2011-06-09  Glenn Morris  <rgm@gnu.org>
11212         * calendar/appt.el (appt-display-message, appt-disp-window):
11213         Handle lists of appointments.
11215 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
11217         * window.el (one-window-p): Move down in code.
11218         Rewrite doc-string.
11219         (window-current-scroll-bars): Rewrite doc-string.
11220         Normalize live window argument.
11221         (walk-windows, get-window-with-predicate, count-windows):
11222         Rewrite doc-string.  Use window-list-1.
11223         (window-in-direction-2, window-in-direction, get-mru-window):
11224         New functions.
11226 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
11228         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11229         Doc fix (Bug#8713).
11231 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
11233         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11235 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
11237         * loadhist.el (unload-feature-special-hooks):
11238         Add `comint-output-filter-functions'.
11240 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
11242         * calendar/appt.el (appt-check): Move some initializations into the let.
11244 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
11246         * window.el (window-height): Defalias to window-total-height.
11247         (window-width): Defalias to window-body-width.
11249 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
11251         * image-mode.el (image-toggle-animation): New command.
11252         (image-mode-map): Bind it to RET.
11253         (image-mode): Update message.
11254         (image-toggle-display-image): Avoid a spurious cache flush.
11255         (image-transform-rotation): Doc fix.
11256         (image-transform-properties): Return quickly in the normal case.
11257         (image-animate-loop): Rename from image-animate-max-time.
11259         * image.el (image-animate-max-time): Move to image-mode.el.
11260         (create-animated-image): Remove unnecessary function.
11261         (image-animate): Rename from image-animate-start.  New arg.
11262         (image-animate-stop): Remove; just use image-animate-timer.
11263         (image-animate-timer): Use car-safe.
11264         (image-animate-timeout): Rename argument.
11266 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
11268         * window.el (get-lru-window, get-largest-window): Move here from
11269         window.c.  Rename first argument to ALL-FRAMES.
11270         Rephrase doc-strings.
11271         (get-buffer-window-list): Rewrite using window-list-1.
11272         Rephrase doc-string.
11273         (window-safe-min-height, window-safe-min-width): New constants.
11274         (window-size-ignore, window-min-size, window-min-size-1)
11275         (window-sizable, window-sizable-p, window-size-fixed-1)
11276         (window-size-fixed-p, window-min-delta-1, window-min-delta)
11277         (window-max-delta-1, window-max-delta, window-resizable)
11278         (window-resizable-p, window-total-height, window-total-width)
11279         (window-body-width): New functions.
11280         (window-full-height-p, window-full-width-p): Rewrite using
11281         window-total-size.
11282         (window-body-height): Rewrite using window-body-size.
11284 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
11286         * window.el (window-right, window-left, window-child)
11287         (window-child-count, window-last-child, window-any-p)
11288         (normalize-live-buffer, normalize-live-frame)
11289         (normalize-any-window, normalize-live-window)
11290         (window-iso-combination-p, window-iso-combined-p)
11291         (window-iso-combinations)
11292         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11293         (windows-with-parameter, window-with-parameter)
11294         (window-atom-root, make-window-atom, window-atom-check-1)
11295         (window-atom-check, window-side-check, window-check):
11296         New functions.
11297         (ignore-window-parameters, window-sides, window-sides-vertical)
11298         (window-sides-slots): New variables.
11299         (window-size-fixed): Move down in code.  Minor doc-string fix.
11301 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
11303         * comint.el (comint-dynamic-complete-as-filename)
11304         (comint-dynamic-complete-filename): Correctly call
11305         completion-in-region.
11307 2011-06-05  Deniz Dogan  <deniz@dogan.se>
11309         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11310         in last change.
11312 2011-06-05  Deniz Dogan  <deniz@dogan.se>
11314         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11315         (rcirc): Use it to prompt for encryption.
11317 2011-06-05  Roland Winkler  <winkler@gnu.org>
11319         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11320         (bibtex-search-entries): New command bound to C-c C-a.
11321         (bibtex-display-entries): New function.
11323 2011-06-05  Roland Winkler  <winkler@gnu.org>
11325         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11326         (bibtex-insert-kill): After yanking insert newline if necessary.
11327         (bibtex-initialize): Call bibtex-string-files-init only once.
11328         (bibtex-mode): Do not call easy-menu-add.
11329         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11330         (bibtex-yank): Set arg properly if nil.
11332 2011-06-05  Roland Winkler  <winkler@gnu.org>
11334         * textmodes/bibtex.el (bibtex-search-entry-globally):
11335         New variable.
11336         (bibtex-search-entry): Use it.
11338 2011-06-05  Roland Winkler  <winkler@gnu.org>
11340         * textmodes/bibtex.el (bibtex-entry-format): New option
11341         sort-fields.
11342         (bibtex-format-entry, bibtex-reformat): Honor this option.
11343         (bibtex-parse-entry): Return fields in proper order.
11345 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
11347         * doc-view.el (doc-view-remove-if): Move computation of result out
11348         of `dolist' to silence misleading lexical-binding warning.
11350 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
11352         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11353         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11355 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
11357         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11358         "SunOS 5.10".
11360 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
11362         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11363         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11364         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11365         (tramp-parse-putty):
11366         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11367         (tramp-completion-function-alist-ssh)
11368         (tramp-completion-function-alist-telnet)
11369         (tramp-completion-function-alist-su)
11370         (tramp-completion-function-alist-putty): Set `tramp-autoload'
11371         cookie.
11373         * net/tramp-ftp.el:
11374         * net/tramp-sh.el:
11375         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11376         load "tramp.el" `tramp-set-completion-function'.
11378 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11380         * shell.el: Require and use pcomplete.
11381         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11382         (shell-completion-vars): Set pcomplete-default-completion-function.
11384 2011-06-04  Deniz Dogan  <deniz@dogan.se>
11386         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11387         `memq' (Bug#8799).
11389 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11391         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11393 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
11395         * bs.el (bs--mark-unmark, bs--nth-wrapper):
11396         * mpc.el (mpc-select-extend, mpc-songpointer-context):
11397         * vc/log-view.el (log-view-beginning-of-defun):
11398         * vc/smerge-mode.el (smerge-apply-resolution-patch)
11399         (smerge-refine-forward, smerge-refine-chopup-region):
11400         Silence warning for unused `dotimes' counter variables.
11402 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11404         * net/tramp.el (tramp-with-progress-reporter): Rename from
11405         with-progress-reporter.  Use `declare'.
11406         * net/tramp-smb.el:
11407         * net/tramp-sh.el:
11408         * net/tramp-gvfs.el: Update all uses.
11410 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
11412         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11413         buffer isn't killed before making it current.
11415 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11417         Silence various byte-compiler warnings.
11418         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11419         `access-type' and new obsolescence format.
11420         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11421         new format.
11422         (byte-compile-check-variable): New `access-type' argument.
11423         Only warn if the access-type is obsolete.
11424         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11425         (byte-compile-variable-set): Adjust callers.
11426         * help-fns.el (describe-variable): Adjust to new obsolescence format.
11427         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11428         setting it as obsolete.
11429         * simple.el (minibuffer-completing-symbol):
11430         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11431         access as obsolete.
11432         * minibuffer.el (minibuffer-completing-file-name): Don't make it
11433         obsolete yet.
11434         * international/quail.el (quail-mouse-choose-completion): Remove unused
11435         code referring to obsolete var.
11436         (quail-choose-completion-string): Remove.
11437         * server.el (server-clients-with, server-kill-buffer-query-function)
11438         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11439         * proced.el (proced-send-signal):
11440         * emacs-lisp/lisp.el (lisp-complete-symbol):
11441         Replace completion-annotate-function with completion-extra-properties.
11443 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11445         * simple.el (goto-line): Use read-number.
11446         (overriding-map-is-bound): Remove.
11447         (saved-overriding-map): Change default.
11448         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11449         Take the map as argument.
11450         (universal-argument, negative-argument, digit-argument): Use it.
11451         (restore-overriding-map): Adjust.
11452         (do-auto-fill): Use fill-forward-paragraph.
11453         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11455         * minibuffer.el (minibuffer-inactive-mode-map): New var.
11456         (minibuffer-inactive-mode): New major mode.
11457         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11458         the *Messages* buffer" hack.
11459         (mouse-popup-menubar): Don't burp if the event is a normal key.
11461         Miscellaneous tweaks.
11462         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11463         lexical scoping as in subr.el's dolist and dotimes.
11464         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11465         Silence compiler warning.
11466         * thingatpt.el (forward-whitespace): Trivial coding style fix.
11467         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11468         * international/ccl.el (ccl-compile): Trivial simplification.
11469         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11470         * emacs-lisp/testcover.el (testcover-end): Remove spurious
11471         `printflag' argument.
11472         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11473         Purecopy the whole obsolescence data.
11475 2011-06-01  Leo Liu  <sdl.web@gmail.com>
11477         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11478         improve doc-string as suggested by Marco Pessotto
11479         <melmothx@gmail.com>.
11480         (rcirc-print): Fix last change.
11482 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11484         * minibuffer.el (complete-with-action): Return nil for the metadata and
11485         boundaries of non-functional tables.
11486         (completion-table-dynamic): Return nil for the metadata.
11487         (completion-table-with-terminator): Add default case, using
11488         complete-with-action.
11489         (completion--metadata): New function.
11490         (completion-all-sorted-completions, minibuffer-completion-help): Use it
11491         to try and avoid pathological performance problems.
11492         (completion--embedded-envvar-table): Return `category' metadata.
11494 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11496         * subr.el (process-alive-p): New tiny convenience function.
11498 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11500         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11501         content but also its previous major mode.
11503 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
11505         * emacs-lisp/debug.el (debug): Restore the previous content of the
11506         *Backtrace* buffer when we exit with C-M-c.
11508 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11510         * minibuffer.el: Add metadata method to completion tables.
11511         (completion-category-overrides): New defcustom.
11512         (completion-metadata, completion--field-metadata)
11513         (completion-metadata-get, completion--styles)
11514         (completion--cycle-threshold): New functions.
11515         (completion-try-completion, completion-all-completions):
11516         Add `metadata' argument to choose completion-styles.
11517         (completion--do-completion): Use metadata to choose cycling.
11518         (completion-all-sorted-completions): Use metadata for sorting.
11519         Remove :completion-cycle-penalty which is not needed any more.
11520         (completion--try-word-completion): Add `metadata' argument.
11521         (minibuffer-completion-help): Check metadata for annotation function
11522         and sorting.
11523         (completion-file-name-table): Return `category' metadata.
11524         (minibuffer-completing-file-name): Make obsolete.
11525         * simple.el (minibuffer-completing-symbol): Make obsolete.
11526         * icomplete.el (icomplete-completions): Pass new `metadata' param to
11527         completion-try-completion.
11529 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11531         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11533 2011-05-30  Leo Liu  <sdl.web@gmail.com>
11535         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11536         (rcirc-print): Decode all incoming messages (bug#8744).
11537         (rcirc-decode-coding-system): Allow value nil for automatic coding
11538         system detection.
11540 2011-06-01  Glenn Morris  <rgm@gnu.org>
11542         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11544 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
11546         * image.el (image-animate-max-time): Allow nil and t values.
11547         Default to nil.
11548         (create-animated-image): Doc fix.
11549         (image-animate-start): Remove second arg; just use
11550         image-animate-max-time.
11551         (image-animate-timeout): Doc fix.  Args changed.
11553         * image-mode.el (image-toggle-display-image): Ensure that the
11554         image spec passed to the animate timer is the same object as in
11555         the buffer's display property (Bug#6981).
11556         (image-transform-properties): Doc fix.
11558         * image.el (image-animate-max-time): Default to nil.
11560 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
11562         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11563         entire buffer list (Bug#8184).
11565 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
11567         * image.el (imagemagick-types-inhibit)
11568         (imagemagick-register-types): Doc fix.
11570 2011-05-29  Deniz Dogan  <deniz@dogan.se>
11572         * net/rcirc.el (rcirc): Use the user's stored encryption method by
11573         default.
11575 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
11577         * select.el: Don't perform clipboard-manager saving in hooks;
11578         leave the hooks empty.
11580 2011-05-28  Leo Liu  <sdl.web@gmail.com>
11582         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11583         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
11584         (occur-edit-mode): New major mode (Bug#8463).
11585         (occur-after-change-function): New function.
11586         (occur-engine): Give Occur tags a read-only property.
11588 2011-05-28  Kevin Ryde  <user42@zip.com.au>
11590         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11592 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
11594         * bindings.el (help-echo): Make the initial non-indicator dash
11595         empty on graphical terminals (Bug#7295).
11597         * files.el (auto-mode-alist): Move config rule after the
11598         in-stripping one (Bug#8547).
11600         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11602         * startup.el (normal-splash-screen): Remove gratuitous mode-line
11603         setting (Bug#8740).
11605 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
11607         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11608         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11609         (Bug#8539).
11611 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
11613         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11615 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
11617         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11618         (hs-hide-block-at-point, hs-find-block-beginning)
11619         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11620         (Bug#8279).
11622 2011-05-28  Glenn Morris  <rgm@gnu.org>
11624         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
11626 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
11628         * help-fns.el (describe-function-1): If the function is a derived
11629         major mode, print the parent mode.
11631         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11632         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11634 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11636         * minibuffer.el (completion--capf-wrapper): Check applicability before
11637         returning non-nil for non-exclusive completion data.
11638         * progmodes/etags.el (tags-completion-at-point-function):
11639         * info-look.el (info-lookup-completions-at-point): Mark as
11640         non-exclusive.
11641         (info-complete): Adjust accordingly.
11643         * info-look.el: Convert to lexical-binding and completion-at-point.
11644         (info-lookup-completions-at-point): New function.
11645         (info-complete): Use it and completion-in-region.
11647 2011-05-28  Drew Adams  <drew.adams@oracle.com>
11649         * isearch.el: Let M-e start with point at the first mismatched char.
11650         (isearch-fail-pos): New function.
11651         (isearch-edit-string): Use it.
11653 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
11655         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11657 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
11659         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
11660         traversal functions for avl-trees.
11661         (avl-tree--stack): New struct.
11662         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11663         (avl-tree-enter): Add optional `updatefun' arg.
11664         (avl-tree--do-enter): Add optional `updatefun' arg.
11665         Change return value.
11666         (avl-tree-delete): Add optional `test' and `nilflag' args.
11667         (avl-tree--do-delete): Add `test' and `nilflag' args.
11668         Change return value.
11669         (avl-tree-member): Add optional `nilflag'
11670         (avl-tree-member-p): New function.
11671         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11672         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11673         (avl-tree-stack-empty-p): New functions.
11675         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11676         avl-tree--del-balance1 and make it work both ways.
11677         (avl-tree--del-balance2): Remove.
11678         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11679         make it work both ways.
11680         (avl-tree--enter-balance2): Remove.
11681         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11682         New macros.
11683         (avl-tree--mapc, avl-tree-map): Add direction argument.
11685 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
11687         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11689 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
11691         * select.el: Support clipboard managers with built-in function
11692         x-clipboard-manager-save, via delete-frame-functions and
11693         kill-emacs-hook.
11694         (xselect-convert-to-targets): Add MULTIPLE target to list.
11695         (xselect-convert-to-save-targets): New function.
11697 2011-05-27  Kenichi Handa  <handa@m17n.org>
11699         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11700         let-binding rfc2047-encode-encoded-words to nil.
11702 2011-05-27  Glenn Morris  <rgm@gnu.org>
11704         * mail/emacsbug.el: Don't require url-util.
11706         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
11708         * files.el (set-auto-mode):
11709         Also respect mode: entries at the end of the file.  (Bug#8586)
11711 2011-05-26  Glenn Morris  <rgm@gnu.org>
11713         * files.el (hack-local-variables-prop-line, hack-local-variables):
11714         Downcase mode names, as seems to be traditional.
11715         (hack-local-variables, hack-local-variables-apply): Doc fixes.
11717         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11718         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
11720 2011-05-25  Julien Danjou  <julien@danjou.info>
11722         * textmodes/rst.el (rst-define-level-faces): Do not define face
11723         symbol if it is already defined.
11725 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11727         * play/5x5.el (5x5-new-game, 5x5-randomize):
11728         Reset 5x5-solver-output to nil when a new grid is cast.
11729         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11730         these debugging traces, as defmacro breaks the compiled code.
11732 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
11734         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11736 2011-05-24  Leo Liu  <sdl.web@gmail.com>
11738         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11739         (vc-bzr-sha1): Adapt.
11741         * sha1.el: Remove.  Function `sha1' is now builtin.
11743         * bindings.el: Provide sha1 feature.
11745 2011-05-24  Kenichi Handa  <handa@m17n.org>
11747         * mail/sendmail.el: Require `rfc2047'.
11748         (mail-insert-from-field): Do not perform RFC2047 encoding.
11749         (mail-encode-header): New function.
11750         (sendmail-send-it): Set buffer-file-coding-system of the work
11751         buffer to the return value of select-message-coding-system.
11752         Call mail-encode-header.
11754         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11756 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
11758         * mail/supercite.el (sc-default-cite-frame):
11759         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11761 2011-05-24  Glenn Morris  <rgm@gnu.org>
11763         * progmodes/python.el (brm-menu): Declare.
11765         * emulation/viper.el (viper-set-hooks): Declare.
11767         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11768         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11769         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11770         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11771         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11772         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11774 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11776         Add an :exit-function for completion-at-point.
11778         * minibuffer.el (completion--done): New fun.
11779         (completion--do-completion): Use it.  New arg `expect-exact'.
11780         (minibuffer-complete, minibuffer-complete-word): Don't output message,
11781         since completion--do-completion does it for us now.
11782         (minibuffer-force-complete): Use completion--done and
11783         completion--replace.  Handle sole-completion case with more care.
11784         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11785         (completion-extra-properties): New var.
11786         (completion-annotate-function): Make obsolete.
11787         (minibuffer-completion-help): Adjust accordingly.
11788         Use completion-list-insert-choice-function.
11789         (completion-at-point, completion-help-at-point):
11790         Bind completion-extra-properties.
11791         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11792         * simple.el (completion-list-insert-choice-function): New var.
11793         (completion-setup-function): Preserve it.
11794         (choose-completion): Pay attention to it, shuffle the code a bit.
11795         (choose-completion-string): New arg `insert-function'.
11797         * textmodes/bibtex.el: Convert to lexical binding.
11798         (bibtex-mode-map): Use completion-at-point.
11799         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11800         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11801         (bibtex-complete): Define as obsolete alias.
11802         (bibtex-complete-internal): Remove.
11803         (bibtex-format-entry): Remove unused sub-group in regexp.
11804         * shell.el (shell--command-completion-data)
11805         (shell-environment-variable-completion):
11806         * pcomplete.el (pcomplete-completions-at-point):
11807         * comint.el (comint--complete-file-name-data): Use :exit-function
11808         instead of completion-table-with-terminator so it also works for
11809         choose-completion.
11811 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11813         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11815         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11816         (bug#8710).
11818         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11820 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
11822         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11823         customization variable and implement: If non-nil, auto-fill will
11824         be inhibited while on topic's header line.
11826 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11828         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11829         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
11830         always have a solution in grid size = 5 cases.
11831         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11832         (5x5-solver-output, 5x5-log-buffer): New vars.
11833         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11834         Make these variables buffer local to achieve 5x5 multi-session-ness.
11835         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11836         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11837         (5x5-solve-suggest): New funs.
11838         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11839         randomize a grid so that we ensure that there is always a solution.
11840         (5x5-make-random-grid): Allow other movement than flipping.
11842 2011-05-23  Kevin Ryde  <user42@zip.com.au>
11844         * emacs-lisp/advice.el (ad-read-advised-function):
11845         Use `function-called-at-point' as the default, if it has
11846         advice and passes PREDICATE.
11848 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11850         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11851         byte-compile-lambda if it's actually a lambda.
11853         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11854         Fix function quoting.  Use backquote better.
11856 2011-05-22  Yuanle Song  <sylecn@gmail.com>
11858         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11859         matching (Bug#8516).
11861 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
11863         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11864         different face (Bug#8178).
11866 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
11868         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11869         defface (Bug#8144).
11871 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11873         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11874         funcall as well (bug#8712).  Warn when performing those conversions.
11875         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11877         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11879 2011-05-22  Glenn Morris  <rgm@gnu.org>
11881         * files.el (hack-local-variables-prop-line): Small simplifications.
11882         (hack-local-variables, hack-local-variables-prop-line):
11883         If MODE-ONLY, return the mode, rather than just `t'.
11885 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11887         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11889 2011-05-21  Glenn Morris  <rgm@gnu.org>
11891         * files.el (hack-local-variables-prop-line, hack-local-variables):
11892         If only interested in the mode, don't bother doing the other stuff.
11894         * image-mode.el (image-after-revert-hook):
11895         Redraw all frames on which the image is visible.  (Bug#8567)
11897         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
11899         * wid-edit.el (widget-checklist-match-inline):
11900         Fix 2011-04-19 change.  (Bug#8649)
11902 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11904         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11905         Also allow singlespace after single-letter capitals followed by a dot.
11907         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11908         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11910 2011-05-20  Nix  <nix@esperi.org.uk>
11912         * files.el (basic-save-buffer-2):
11913         Fix handling of break-hardlink-on-save with non-existent files.
11915 2011-05-19  Deniz Dogan  <deniz@dogan.se>
11917         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11918         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11920 2011-05-19  Glenn Morris  <rgm@gnu.org>
11922         * progmodes/f90.el (f90-type-def-re):
11923         Handle "type, bind(c)".  (Bug#8691)
11925         * emacs-lisp/autoload.el (batch-update-autoloads):
11926         Set autoload-excludes by parsing loadup.el rather than Makefiles.
11928 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
11930         * net/tramp.el (tramp-process-actions): Set "first-password-request"
11931         property for the correct connection in case of multihops.
11933 2011-05-18  Glenn Morris  <rgm@gnu.org>
11935         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11936         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11938         Rationalize calendar handling of day and month abbrev-arrays.
11939         * calendar/calendar.el (calendar-customized-p): New function.
11940         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11941         (calendar-day-name-array, calendar-month-name-array): Doc fix.
11942         Add :set function.
11943         (calendar-abbrev-length, calendar-day-abbrev-array)
11944         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11945         (calendar-day-abbrev-array, calendar-month-abbrev-array):
11946         Elements may no longer be nil.
11947         (calendar-day-name, calendar-month-name):
11948         Update for changed nature of abbrev arrays.
11949         * calendar/diary-lib.el (diary-name-pattern):
11950         Update for changed nature of abbrev arrays.
11951         (diary-mark-entries-1): Update calendar-make-alist calls.
11952         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11953         * calendar/cal-html.el (cal-html-day-abbrev-array):
11954         Simply inherit from calendar-day-abbrev-array.
11956 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11958         * progmodes/grep.el (grep-mode): Disable default
11959         compilation-directory-matcher setting (bug#8684).
11961 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
11963         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11964         instead of "head" and "tail".  There were problems with SunOS 5.9,
11965         and it performs better.
11967 2011-05-17  Glenn Morris  <rgm@gnu.org>
11969         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11971         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11972         Replace obsolete function.
11974         * shell.el (pcomplete-parse-arguments-function): Declare.
11976         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11977         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11978         (appt-check): Doc fixes.
11979         (appt-disp-window-function, appt-delete-window-function):
11980         Remove needless special case in custom :type.
11981         (appt-display-count): Default to 0, not nil.
11982         (appt-check): Reset appt-display-count to 0, not nil.
11984 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
11986         * progmodes/python.el (python-font-lock-keywords):
11987         Add the Python 3.X keyword "nonlocal" (bug#8639).
11989 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11991         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11993 2011-05-16  Kevin Ryde  <user42@zip.com.au>
11995         * info-look.el (makefile-automake-mode): New setups, looking in
11996         automake manual, then makefile-mode.
11997         (makefile-mode): Remove automake manual, have it just in
11998         makefile-automake-mode since there's various things different or
11999         not relevant to plain make.
12000         (makefile-mode): Remove "other-modes" non-existent automake-mode,
12001         believe a hypothetical automake-mode would go to makefile-mode,
12002         not the other way around.
12004 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
12006         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12007         hunk-end tags (Bug#8672).
12009         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12010         vc-annotate-show-diff-revision-at-line (Bug#8671).
12012 2011-05-14  Glenn Morris  <rgm@gnu.org>
12014         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12015         in the middle of an existing one with multiple authors.  (Bug#8645)
12016         (change-log-font-lock-keywords): Also handle multiple author lines
12017         with leading tabs.  (Bug#8644)
12019         * calendar/appt.el (appt-check): Rename some local variables.
12020         Some simplification/reordering.
12022         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12023         (feedmail-sendmail-f-doesnt-sell-me-out)
12024         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12025         (feedmail-debug-sit-for, feedmail-queue-express-hook)
12026         (feedmail-queue-runner-message-sender): Set :version.
12027         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12028         (bbdb-dwim-net-address, vm-mail): Declare.
12029         (feedmail-binmail-gnulinuxish-template):
12030         Rename from feedmail-binmail-linuxish-template.
12031         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12032         Use insert-buffer-substring.
12034 2011-05-14  Bill Carpenter  <bill@carpenter.org>
12036         * mail/feedmail.el (feedmail-patch-level): Increase.
12037         (feedmail-debug): New custom group.
12038         (feedmail-confirm-outgoing-timeout)
12039         (feedmail-sendmail-f-doesnt-sell-me-out)
12040         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12041         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12042         (feedmail-sender-line, feedmail-from-line)
12043         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12044         (feedmail-spray-this-address)
12045         (feedmail-spray-address-fiddle-plex-list)
12046         (feedmail-queue-use-send-time-for-date)
12047         (feedmail-queue-use-send-time-for-message-id)
12048         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12049         (feedmail-buffer-eating-function):
12050         Doc fixes.
12051         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12052         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12053         (feedmail-message-action-scroll-down): New functions.
12054         (feedmail-queue-directory, feedmail-queue-draft-directory):
12055         Use expand-file-name.
12056         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12057         Remove C-v help entry.
12058         (feedmail-queue-buffer-file-name): New variable.
12059         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12060         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12061         (feedmail-message-action-send-strong, feedmail-message-action-edit)
12062         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12063         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12064         (feedmail-message-action-toggle-spray)
12065         (feedmail-run-the-queue-no-prompts)
12066         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12067         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12068         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12069         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12070         (feedmail-envelope-deducer, feedmail-fiddle-from)
12071         (feedmail-fiddle-sender, feedmail-default-date-generator)
12072         (feedmail-fiddle-date, feedmail-fiddle-message-id)
12073         (feedmail-fiddle-spray-address)
12074         (feedmail-fiddle-list-of-spray-fiddle-plexes)
12075         (feedmail-fiddle-list-of-fiddle-plexes)
12076         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12077         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12078         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12079         Change default.  Doc fix.
12080         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12081         (feedmail-binmail-linuxish-template): New constant.
12082         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
12083         Respect feedmail-sendmail-f-doesnt-sell-me-out.
12084         (feedmail-send-it): Add debug call.
12085         Use feedmail-queue-buffer-file-name, and
12086         feedmail-send-it-immediately-wrapper.
12087         (feedmail-message-action-send): Add debug call.
12088         Use feedmail-send-it-immediately-wrapper.
12089         (feedmail-queue-express-to-queue): Add debug call.
12090         Run feedmail-queue-express-hook.
12091         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
12092         (feedmail-message-action-help-blat):
12093         Rename from feedmail-queue-send-edit-prompt-help-first.
12094         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
12095         Check line-endings.  Handle errors better.
12096         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12097         Doc fix.  Add debug call.
12098         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
12099         Use feedmail-queue-send-edit-prompt-inner.
12100         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12101         (feedmail-queue-send-edit-prompt-inner): New function, extracted
12102         from feedmail-queue-send-edit-prompt.
12103         (feedmail-queue-send-edit-prompt-help)
12104         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12105         (feedmail-tidy-up-slug): Add debug call.
12106         Respect feedmail-queue-slug-suspect-regexp.
12107         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12108         (feedmail-dump-message-to-queue): Add debug call.
12109         Expand queue-directory.
12110         (feedmail-dump-message-to-queue): Change message slightly.
12111         Use feedmail-say-chatter.
12112         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
12113         (feedmail-send-it-immediately-wrapper): New function.
12114         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
12115         Insert empty string rather than newline.  Handle full-frame case.
12116         Use catch/throw.  Use feedmail-say-chatter.
12117         (feedmail-fiddle-from): Try mail-host-address.
12118         (feedmail-default-message-id-generator): Doc fix.
12119         Bind system-time-locale.  Handle missing end.
12120         (feedmail-fiddle-x-mailer): Add debug call.
12121         Handle feedmail-x-mailer-line being nil.
12122         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12123         Add debug call.  Use buffer-substring-no-properties.
12124         (feedmail-say-debug, feedmail-say-chatter): New functions.
12125         (feedmail-find-eoh): Give an explicit error.
12127 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
12129         * net/newst-treeview.el (newsticker-treeview-face): Change default
12130         family from helvetica to sans.
12131         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12132         etc/images/newsticker.
12134         * net/newst-reader.el (newsticker-feed-face): Change default
12135         family from helvetica to sans.
12137         * net/newst-plainview.el (newsticker-new-item-face)
12138         (newsticker-old-item-face, newsticker-immortal-item-face)
12139         (newsticker-obsolete-item-face, newsticker-date-face)
12140         (newsticker-statistics-face): Change default family from
12141         helvetica to sans.
12142         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12143         etc/images/newsticker.
12145         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12146         (newsticker--process-auto-mark-filter-match): Tell user about
12147         auto-marking.
12149 2011-05-13  Didier Verna  <didier@xemacs.org>
12151         Common Lisp indentation improvements on defmethod and lambda-lists.
12152         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12153         TODO entries.
12154         (lisp-lambda-list-keyword-parameter-indentation)
12155         (lisp-lambda-list-keyword-parameter-alignment)
12156         (lisp-lambda-list-keyword-alignment): New customizable user options.
12157         (lisp-indent-defun-method): Improve docstring.
12158         (extended-loop-p): Fix comment.
12159         (lisp-indent-lambda-list-keywords-regexp): New variable.
12160         (lisp-indent-lambda-list): New function.
12161         (lisp-indent-259): Use it.
12162         (lisp-indent-defmethod): Support for more than one
12163         method qualifier and properly indent methods lambda-lists.
12164         (defgeneric): Provide a missing common-lisp-indent-function property.
12166 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12168         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12169         bounds for the empty string (bug#8667).
12171 2011-05-13  Glenn Morris  <rgm@gnu.org>
12173         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12175         * mail/sendmail.el (sendmail-program): Try executable-find first.
12176         (sendmail-send-it): `sendmail-program' cannot be unbound.
12178         * calendar/appt.el (appt-make-list): Simplify.
12179         (appt-time-msg-list): Doc fix.
12180         (appt-check): Change mode-line message at the time of the appointment.
12182 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
12184         * progmodes/ld-script.el (ld-script-keywords)
12185         (ld-script-builtins): Update keywords list.
12187 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12189         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12191         * shell.el (shell-completion-vars): New function.
12192         (shell-mode):
12193         * simple.el (read-shell-command): Use it.
12194         (blink-matching-open): No need for " [...]" in minibuffer-message.
12196 2011-05-12  Glenn Morris  <rgm@gnu.org>
12198         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12199         (appt-check): Simplify.
12201 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
12203         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12204         literal "/dev/null".
12206 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12208         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12209         Fix typo.
12211 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
12213         * progmodes/which-func.el (which-function):
12214         Use add-log-current-defun instead of add-log-current-defun-function,
12215         which might not be defined (Bug#8260).
12217 2011-05-12  Glenn Morris  <rgm@gnu.org>
12219         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12220         Let byte-compile-initial-macro-environment always take precedence.
12222 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12224         * net/rcirc.el: Add support for SSL/TLS connections.
12225         (rcirc-server-alist): New field `encryption'.
12226         (rcirc): Check `encryption' settings.
12227         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
12228         Merge make-local-variable into `set'.
12229         (rcirc--connection-open-p): New function.
12230         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12231         the process is not a network process (e.g. running gnutls-cli).
12232         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12233         Make rcirc-(en|de)code-coding-system local here.
12234         (rcirc-mode): Merge make-local-variable into `set'.
12235         (rcirc-parent-buffer): Make permanent buffer-local.
12236         (rcirc-multiline-minor-mode): Don't do it here.
12237         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12238         there's no server buffer.
12240 2011-05-11  Glenn Morris  <rgm@gnu.org>
12242         * newcomment.el (comment-kill): Prefix "unused" local.
12244         * term/w32console.el (get-screen-color): Declare.
12246         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12247         Handle symbol elements of byte-compile-initial-macro-environment.
12249 2011-05-10  Leo Liu  <sdl.web@gmail.com>
12251         * bookmark.el (bookmark-bmenu-mode-map):
12252         Bind bookmark-bmenu-search to `/'.
12254         * mail/footnote.el: Convert to utf-8 encoding.
12255         (footnote-unicode-string, footnote-unicode-regexp): New variable.
12256         (Footnote-unicode): New function.
12257         (footnote-style-alist): Add unicode style to the list.
12258         (footnote-style): Doc fix.
12260 2011-05-10  Jim Meyering  <meyering@redhat.com>
12262         Fix doubled-word typos.
12263         * international/quail.el (quail-insert-kbd-layout): and and -> and
12264         * kermit.el: and and -> and
12265         * net/ldap.el (ldap-search-internal): to to -> to
12266         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12267         * progmodes/js.el (js-mode): and and -> and
12268         * textmodes/artist.el (artist-move-to-xy): at at -> at
12269         (artist-draw-region-trim-line-endings): if if -> if
12270         And Safetyc -> Safety.
12271         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12273 2011-05-10  Glenn Morris  <rgm@gnu.org>
12274             Stefan Monnier  <monnier@iro.umontreal.ca>
12276         * files.el (hack-one-local-variable-eval-safep):
12277         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
12279 2011-05-10  Glenn Morris  <rgm@gnu.org>
12281         * calendar/diary-lib.el (diary-list-entries-hook)
12282         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12283         (diary-nongregorian-marking-hook, diary-list-entries)
12284         (diary-include-other-diary-files, diary-mark-entries)
12285         (diary-mark-included-diary-files): Doc fixes.
12287 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
12289         * misc.el: Require tabulated-list.el during compilation.
12291 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
12293         * progmodes/compile.el (compilation-start):
12294         Run compilation-filter-hook for the async case too.
12295         (compilation-filter-hook): Doc fix.
12297 2011-05-09  Deniz Dogan  <deniz@dogan.se>
12299         * wdired.el: Remove outdated installation comment.  Fix usage
12300         comment.
12302 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
12304         * misc.el: Implement new command `list-dynamic-libraries'.
12305         (list-dynamic-libraries--loaded-only-p): New variable.
12306         (list-dynamic-libraries--refresh): New function.
12307         (list-dynamic-libraries): New command.
12309 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
12311         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12312         Fix the ant regexp to handle end-line and end-column info from jikes.
12313         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
12314         higher priority to avoid clobbering by gnu.
12316 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
12318         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12319         if the face has existing theme settings (Bug#8454).
12321 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
12323         * progmodes/perl-mode.el (perl-imenu-generic-expression):
12324         Only match variables declared via `my' or `our' (Bug#8261).
12326         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12327         special file names `.' and `..' (Bug#8259).
12329 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
12331         * progmodes/grep.el (grep-mode-font-lock-keywords):
12332         Remove buffer-changing entries.
12333         (grep-filter): New function.
12334         (grep-mode): Add it to compilation-filter-hook.
12336         * progmodes/compile.el (compilation-filter-hook)
12337         (compilation-filter-start): New defvars.
12338         (compilation-filter): Call compilation-filter-hook prior to
12339         updating the process mark.
12341 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12343         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12345 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
12347         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12348         mailclient-send-it even if window-system is nil.  (Bug#8595)
12350         * term/w32console.el (terminal-init-w32console):
12351         Call get-screen-color and use its output to set the frame
12352         background-mode.  (Bug#8597)
12354 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12356         Make bytecomp.el understand that defmethod defines funs (bug#8631).
12357         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12358         New functions.
12359         (defgeneric, eieio--defmethod): Use them.
12360         (eieio-defgeneric): Remove.
12361         (defmethod): Call defgeneric in a way visible to the byte-compiler.
12363 2011-05-07  Glenn Morris  <rgm@gnu.org>
12365         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12366         Use let rather than let*.
12367         (timeclock-find-discrep): Remove unused local.
12369         * calendar/diary-lib.el (diary-comment-start): Doc fix.
12371         * calendar/appt.el (appt-time-msg-list): Doc fix.
12373 2011-05-06  Noah Friedman  <friedman@splode.com>
12375         * apropos.el (apropos-print-doc): Only use
12376         emacs-lisp-docstring-fill-column when it is bound to an integer,
12377         per that variable's documentation.
12379 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12381         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12382         and warnings are not silently discarded (e.g. use -d instead of -P).
12384 2011-05-06  Glenn Morris  <rgm@gnu.org>
12386         * calendar/appt.el (appt-message-warning-time): Doc fix.
12387         (appt-warning-time-regexp): New option.
12388         (appt-make-list): Respect appt-message-warning-time.
12390         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12391         New options.
12392         (diary-add-to-list): Strip comments from the displayed string.
12393         (diary-mode): Set comment-start and comment-end.
12395         * vc/diff-mode.el (smerge-refine-subst): Declare.
12396         (diff-refine-hunk): Don't require smerge-mode when compiling.
12398 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
12400         * simple.el (list-processes): Return nil as the docstring says.
12402 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
12404         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12405         to "".
12406         (ange-ftp-write-region, ange-ftp-insert-file-contents)
12407         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12408         determining of binary transfer.  (Bug#7383)
12410 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
12412         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12413         Fix port computation bug.  (Bug#8618)
12415 2011-05-05  Glenn Morris  <rgm@gnu.org>
12417         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12419         * simple.el (shell-dynamic-complete-functions)
12420         (comint-dynamic-complete-functions): Declare.
12422         * net/network-stream.el (gnutls-negotiate):
12423         * simple.el (tabulated-list-print): Fix declarations.
12425         * progmodes/gud.el (syntax-symbol, syntax-point):
12426         Remove unnecessary and incorrect declarations.
12428         * emacs-lisp/check-declare.el (check-declare-scan):
12429         Handle byte-compile-initial-macro-environment in bytecomp.el
12431 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12433         Fix earlier half-done eieio-defmethod change (bug#8338).
12434         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12435         Streamline and change calling convention.
12436         (defmethod): Adjust accordingly and simplify.
12437         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12438         new eieio--defmethod.
12439         (slot-boundp): Minor CSE simplification.
12441 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
12443         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12444         (glasses-make-readable): Use glasses-separate-capital-groups.
12446 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
12448         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12449         (warning-series): Doc fix.
12450         (display-warning): Don't try to create the buffer if we just found it.
12452 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
12454         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12455         (autoload-find-generated-file): New function.
12456         (generate-file-autoloads): Bind generated-autoload-file to
12457         buffer-file-name.
12458         (update-file-autoloads, update-directory-autoloads):
12459         Use autoload-find-generated-file.  If called interactively, prompt for
12460         output file (Bug#7989).
12461         (batch-update-autoloads): Doc fix.
12463 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
12465         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12467 2011-05-04  Glenn Morris  <rgm@gnu.org>
12469         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12470         function, so it follows changes in calendar-date-style.
12471         (diary-fancy-date-matcher): New function.
12472         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12473         (diary-fancy-font-lock-fontify-region-function):
12474         Use diary-fancy-date-pattern as a function.
12476         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12477         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
12479 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
12481         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12482         instead of positional arguments.  Allow :keylist and :crlfiles
12483         arguments.
12484         (open-gnutls-stream): Call it.
12486         * net/network-stream.el (network-stream-open-starttls): Adjust to
12487         call `gnutls-negotiate' with :process and :hostname arguments.
12489 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12491         * minibuffer.el (completion--message): New function.
12492         (completion--do-completion, minibuffer-complete)
12493         (minibuffer-force-complete, minibuffer-complete-word): Use it.
12494         (completion--do-completion): Don't ignore completion-auto-help when in
12495         icomplete-mode.
12497         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12498         internal encoding (e.g. tibetan zero is not whitespace).
12499         (global-whitespace-mode): Prefer save-current-buffer.
12500         (whitespace-trailing-regexp): Remove useless save-match-data.
12501         (whitespace-empty-at-bob-regexp): Minor simplification.
12503 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
12505         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12507 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12509         * textmodes/ispell.el (ispell-add-per-file-word-list):
12510         Use `concat' to create string for insertion.
12512 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12514         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12515         Avoid open-line which runs post-self-insert-hook.
12516         (bibtex-fill-entry): Remove unused `end' var.
12518 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
12520         * textmodes/ispell.el (ispell-add-per-file-word-list):
12521         Protect against `nil' value of `comment-start' (Bug#8579).
12523 2011-05-03  Leo Liu  <sdl.web@gmail.com>
12525         * isearch.el (isearch-yank-pop): New command.
12526         (isearch-mode-map): Bind it to `M-y'.
12527         (isearch-forward): Mention it.
12529 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12531         * simple.el (minibuffer-complete-shell-command): Remove.
12532         (minibuffer-local-shell-command-map): Use completion-at-point.
12533         (read-shell-command): Setup completion vars here instead.
12534         (read-expression-map): Bind TAB to symbol completion.
12536         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12537         error directly rather via storing it into `results'.
12539 2011-05-02  Leo Liu  <sdl.web@gmail.com>
12541         * vc/diff.el: Fix description.
12543 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12545         * server.el (server-eval-at): New function.
12547 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12549         * net/network-stream.el (open-network-stream): Take a :nowait
12550         parameter and pass it on to `make-network-process'.
12551         (network-stream-open-plain): Ditto.
12553 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
12555         * faces.el (face-spec-set-match-display): Don't match toolkit
12556         options on terminal frames.
12558 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12560         * progmodes/pascal.el: Use lexical binding.
12561         (pascal-mode-map): Remove author preferences.
12563         * pcomplete.el (pcomplete-std-complete): Don't abuse
12564         completion-at-point.
12566 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
12568         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12569         removing code that has been dead since 1991 or so.
12571         * startup.el (command-line): When warning about "_emacs", use a
12572         delayed warning to allow the user to filter it out.
12574 2011-04-28  Deniz Dogan  <deniz@dogan.se>
12576         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12577         user has not joined.
12579 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12581         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12582         aren't any completions at point.
12584 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
12586         * subr.el (display-delayed-warnings): New function.
12587         (delayed-warnings-hook): New variable.
12589 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12591         * minibuffer.el (completion-at-point, completion-help-at-point):
12592         Don't presume that a given completion-at-point-function will always
12593         use the same calling convention.
12595         * pcomplete.el (pcomplete-completions-at-point):
12596         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
12597         pcomplete-seen is non-nil.
12598         (pcomplete-comint-setup): Also recognize the new comint/shell
12599         completion functions.
12600         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12601         pcomplete-seen is non-nil.
12603 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
12605         * calendar/icalendar.el (diary-lib): Add require statement.
12606         (icalendar--create-uid): Read out a uid from a text-property on
12607         the first character in the entry.  This allows for code to add its
12608         own uid to the entry.
12609         (icalendar--convert-float-to-ical): Add export of
12610         `diary-float'-entries save for those with the optional DAY
12611         argument.
12613 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
12615         * subr.el (shell-quote-argument): Use alternate escaping strategy
12616         when we spot a variable reference in a string.
12618 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
12620         * cus-start.el (all): Define customization for debug-on-event.
12622 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
12624         * subr.el (shell-quote-argument): Escape correctly under Windows.
12626 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12628         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12630 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
12632         * net/tramp.el (tramp-process-actions): Add POS argument.
12633         Delete region between POS and (pos).
12635         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12636         Use `nil' position in `tramp-process-actions' call.
12637         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12639         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12640         position in `tramp-process-actions' call.
12642         * net/trampver.el: Update release number.
12644 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12646         * custom.el (defcustom): Obey lexical-binding.
12648         Fix octave-inf completion problems reported by Alexander Klimov.
12649         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12650         Inherit from octave-mode-syntax-table.
12651         (inferior-octave-mode): Set info-lookup-mode.
12652         (inferior-octave-completion-at-point): New function.
12653         (inferior-octave-complete): Use it and completion-in-region.
12654         (inferior-octave-dynamic-complete-functions): Use it as well, and use
12655         comint-filename-completion.
12656         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12657         symbol elements which shouldn't be word elements.
12658         (octave-font-lock-keywords, octave-beginning-of-defun)
12659         (octave-function-header-regexp): Adjust regexps accordingly.
12660         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12662 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
12664         * net/gnutls.el (gnutls-errorp): Declare before first use.
12666 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
12668         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12669         verify-error, and verify-hostname-error parameters.  Check whether
12670         default trustfile exists before going to use it.  Add missing
12671         argument to gnutls-message-maybe call.  Return value.
12672         Reported by Claudio Bley <claudio.bley@gmail.com>.
12673         (open-gnutls-stream): Add usage example.
12675         * net/network-stream.el (network-stream-open-starttls): Give host
12676         parameter to `gnutls-negotiate'.
12677         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12678         * subr.el (shell-quote-argument): Escape correctly under Windows.
12680 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
12682         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12683         Use correct match group (bug#8438).
12685 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
12687         * emacs-lisp/package.el (package-built-in-p): Fix typo.
12688         (package-menu--generate): New arg specifying packages to show.
12689         (package-menu-refresh, package-menu-execute, list-packages):
12690         Callers changed.
12691         (package-show-package-list): New function, replacing deleted
12692         package--list-packages (renamed because it is non-internal).
12694         * finder.el (finder-list-matches): Use package-show-package-list
12695         instead of deleted package--list-packages.
12697         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12698         Based on a previous implementation by Juanma Barranquero (Bug#8366).
12699         (vc-annotate-mode-map): Bind it to RET.
12701 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
12703         * progmodes/etags.el (next-file): Don't use set-buffer to change
12704         buffers (Bug#8478).
12706 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
12708         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12710         * apropos.el (apropos-label-face): Avoid variable-pitch face.
12711         (apropos-accumulator): Doc fix.
12712         (apropos-function, apropos-macro, apropos-command)
12713         (apropos-variable, apropos-face, apropos-group, apropos-widget)
12714         (apropos-plist): Add face property.
12715         (apropos-symbols-internal): Fix indentation.
12716         (apropos-print): Simplify help, and recognize apropos-multi-type.
12717         (apropos-print-doc): Use button-type-get to extract the button's
12718         face property.  Fill docstring (Bug#8352).
12720 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
12722         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12724         * play/mpuz.el (mpuz-silent): Doc fix.
12725         (mpuz-mode-map): Use mapc.
12726         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12727         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12728         Fix typos in docstrings.
12730         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12731         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12733         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12735 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
12737         * minibuffer.el (completion--do-completion): Avoid the "Next char
12738         not unique" prompt if icomplete-mode is enabled (Bug#5849).
12740         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12741         mouse-2 into unread-command-events, it is interpreted correctly.
12743         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12744         (image-toggle-display): Doc fix.
12746 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
12748         * textmodes/page.el (what-page): Use line-number-at-pos to
12749         calculate line number (Bug#6825).
12751 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
12753         * eshell/esh-mode.el (find-tag-interactive): Declare function.
12754         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12755         Pass argument NO-DEFAULT to `find-tag-interactive'.
12757 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
12759         Lexical-binding cleanup.
12761         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12762         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12763         * progmodes/ada-prj.el (ada-prj-initialize-values)
12764         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12765         (ada-prj-show-value):
12766         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12767         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12768         (antlr-invalidate-context-cache, antlr-options-menu-filter)
12769         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12770         * progmodes/bug-reference.el (bug-reference-push-button):
12771         * progmodes/fortran.el (fortran-line-length):
12772         * progmodes/glasses.el (glasses-change):
12773         * progmodes/octave-mod.el (octave-fill-paragraph):
12774         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12775         (python-pdbtrack-grub-for-buffer, python-sentinel):
12776         * progmodes/sql.el (sql-save-connection):
12777         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12778         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12779         Mark unused parameters.
12781         * progmodes/compile.el (compilation--flush-directory-cache)
12782         (compilation--flush-parse, compile-internal): Mark unused parameters.
12783         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12784         (compilation-next-error-function): Remove unused variable `timestamp'.
12786         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12787         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12789         * progmodes/dcl-mode.el (dcl-end-of-command):
12790         Remove unused variable `start'.
12791         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12792         (dcl-option-value-basic, dcl-option-value-offset)
12793         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12794         Mark unused parameters.
12795         (dcl-save-local-variable): Remove unused variable `val'.
12796         (mode): Declare.
12798         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12799         Mark unused parameters.
12800         (delphi-ignore-changes): Move before first use.
12801         (delphi-charset-token-at): Remove unused variable `start'.
12802         (delphi-else-start): Remove unused variable `if-count'.
12803         (delphi-comment-block-start, delphi-comment-block-end):
12804         Remove unused variable `kind'.
12805         (delphi-indent-line): Remove unused variable `new-point'.
12807         * progmodes/ebrowse.el (ebrowse-files-list)
12808         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12809         Mark unused parameters.  Don't quote `lambda'.
12810         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12811         Don't quote `lambda'.
12812         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12813         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12814         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12815         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12816         Use `ignore-errors'.
12817         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12818         (ebrowse-view/find-file-and-search-pattern)
12819         (ebrowse-view/find-member-declaration/definition):
12820         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12821         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12822         Rename parameter PREFIX-ARG to PREFIX.
12823         (ebrowse-tags-read-name): Remove unused variables `start' and
12824         `member-info'.
12825         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12826         to `tags-file'.
12828         * progmodes/etags.el (local-find-tag-hook): Declare.
12829         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12830         Mark unused parameters.
12832         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12833         (executable-interpret): Mark unused parameter.
12835         * progmodes/flymake.el (flymake-process-sentinel)
12836         (flymake-after-change-function)
12837         (flymake-create-temp-with-folder-structure)
12838         (flymake-get-include-dirs-dot): Mark unused parameters.
12839         (flymake-safe-delete-directory): Remove unused variable `err'.
12841         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12842         (speedbar-timer-fn, speedbar-line-text)
12843         (speedbar-change-expand-button-char, speedbar-delete-subblock)
12844         (speedbar-center-buffer-smartly): Declare functions.
12845         (gdb-find-watch-expression): Remove unused variable `array'.
12846         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12847         (gdb-starting): Mark unused parameters.
12848         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12849         (gdb-table-string): Remove unused variable `res'.
12850         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12851         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12852         (gdb-display-buffer): Remove unused variable `cur-size'.
12854         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12855         allow lexical-binding compilation.
12856         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12857         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12858         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12859         Mark unused parameters.
12860         (gud-gdb-marker-filter): Remove unused variable `match'.
12861         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12862         lambda expressions and funcall them, instead of using `fset'.
12864         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12865         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12867         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12868         variable `header-beg'; use `let'.
12870         * progmodes/icon.el (indent-icon-exp): Remove unused variables
12871         `restart', `last-sexp' and `at-do'.
12873         * progmodes/js.el (js--debug): Mark unused parameter.
12874         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12875         (js--splice-into-items): Remove unused variable `item'.
12876         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12878         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12879         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12880         (makefile-complete): Remove unused variable `try'.
12881         (makefile-fill-paragraph, makefile-match-function-end):
12882         Mark unused parameters.
12884         * progmodes/octave-inf.el (inferior-octave-complete):
12885         Remove unused variable `proc'.
12886         (inferior-octave-output-digest): Mark unused parameter.
12888         * progmodes/perl-mode.el (perl-calculate-indent):
12889         Remove unused variable `err'.
12891         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12892         (prolog-indent-line): Mark unused parameters.
12893         (prolog-indent-line): Remove unused variable `beg'.
12895         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12896         (reporter-dont-compact-list): Declare.
12898         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12899         Remove unused variable `char'.
12900         (sh-debug): Mark unused parameter.
12901         (sh-get-indent-info): Remove unused variable `start'.
12902         (sh-calculate-indent): Remove unused variable `var'.
12904         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12905         (simula-electric-keyword): Remove unused variable `null'.
12906         (simula-search-backward, simula-search-forward): Remove unused
12907         variables `begin' and `end'.
12909         * progmodes/vera-mode.el (vera-guess-basic-syntax):
12910         Remove unused variable `pos'.
12911         (vera-electric-tab, vera-comment-uncomment-region):
12912         Mark unused parameters.
12913         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12915 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
12917         * emacs-lisp/package.el (package--builtins, package-alist)
12918         (package-load-descriptor, package-built-in-p, package-activate)
12919         (define-package, package-installed-p)
12920         (package-compute-transaction, package-buffer-info)
12921         (package--push): Doc fix.  Distinguish more clearly between
12922         version strings and version lists.
12924 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
12926         Lexical-binding cleanup.
12928         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12929         (5x5-make-mutate-best):
12930         * play/fortune.el (fortune-in-buffer):
12931         * play/gomoku.el (gomoku-init-display):
12932         * play/solitaire.el (solitaire, solitaire-do-check):
12933         * play/tetris.el (tetris-default-update-speed-function):
12934         Mark unused parameters.
12936         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12937         (bubbles--shift): Remove unused variable `char-org'.
12938         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
12939         (bubbles--show-images): Remove unused variable `char'.
12941         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12942         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12943         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12944         (decipher-analyze-buffer): Use ?\s.
12945         (decipher-make-checkpoint): Remove unused variable `mapping'.
12947         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12949         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12950         Remove unused variable `result'; use `let'.
12952         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12953         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12954         (gametree-children-shown-p, gametree-compute-reduced-score):
12955         Use `ignore-errors'.
12957         * play/handwrite.el (ps-lpr-switches): Declare.
12958         (handwrite): Remove unused variables `pmin' and `lastp'.
12960         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12962         * play/landmark.el (landmark-init-display)
12963         (landmark-update-naught-weights): Mark unused parameters.
12964         (landmark-y): Remove unused variable `noise'.  Simplify.
12965         (landmark-human-plays): Remove unused variable `score'.
12967         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12968         (mpuz-try-proposal): Remove unused variable `game'.
12970         * play/zone.el (life-patterns): Declare.
12972 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
12974         * vc/vc.el (ediff-vc-internal): Declare function.
12976 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12978         * shell.el: Use lexical-binding and std completion UI.
12979         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12980         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12981         comint-preoutput-filter-functions rather than on
12982         comint-output-filter-functions.
12983         (shell-command-completion, shell--command-completion-data)
12984         (shell-filename-completion, shell-environment-variable-completion)
12985         (shell-c-a-p-replace-by-expanded-directory): New functions.
12986         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12987         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12988         (shell-dynamic-complete-environment-variable): Use them.
12989         (shell-dynamic-complete-as-environment-variable)
12990         (shell-dynamic-complete-as-command): Remove.
12991         (shell-match-partial-variable): Match past point.
12992         * comint.el: Clean up use of completion-at-point-functions.
12993         (comint-completion-at-point): New function.
12994         (comint-mode): Use it completion-at-point-functions.
12995         (comint-dynamic-complete): Make it obsolete.
12996         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12997         (comint-c-a-p-replace-by-expanded-history): New function.
12998         (comint-dynamic-complete-functions)
12999         (comint-replace-by-expanded-history): Use it.
13000         * minibuffer.el (completion-table-with-terminator): Allow dynamic
13001         termination strings.  Try harder to avoid second try-completion.
13002         (completion-in-region-mode-map): Disable bindings that don't work yet.
13004         * comint.el: Use lexical-binding.  Require CL.
13005         (comint-dynamic-complete-functions): Use comint-filename-completion.
13006         (comint-completion-addsuffix): Tweak custom type.
13007         (comint-filename-completion, comint--common-suffix)
13008         (comint--common-quoted-suffix, comint--table-subvert)
13009         (comint--complete-file-name-data): New functions.
13010         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13011         (comint-dynamic-list-filename-completions): Use them.
13012         (comint-dynamic-simple-complete): Make obsolete.
13014         * minibuffer.el (completion-in-region-mode):
13015         Keep completion-in-region-mode--predicate global.
13016         (completion-in-region--postch):
13017         Assume completion-in-region-mode--predicate is not null.
13019         * progmodes/flymake.el (flymake-start-syntax-check-process):
13020         Obey `dir'.  Simplify.
13022         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13023         we're in VC after all.
13025 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
13027         * vc/vc.el (vc-diff-build-argument-list-internal)
13028         (vc-version-ediff, vc-ediff): New commands.
13029         (vc-version-diff): Use vc-diff-build-argument-list-internal.
13031 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13033         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13034         add sanity check.
13036         * obsolete/erc-hecomplete.el: Make obsolete.
13037         * obsolete/: Standardize obsolescence info in the header.
13039 2011-04-20  Glenn Morris  <rgm@gnu.org>
13041         * calendar/solar.el (solar-horizontal-coordinates):
13042         Use the longitude argument rather than `calendar-longitude'.
13043         (solar-date-next-longitude): Remove unused locals.
13045 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13047         * whitespace.el: New version 13.2.1.
13049 2011-04-20  felix  <EmacsWiki>  (tiny change)
13051         * whitespace.el (global-whitespace-mode): Keep highlight when
13052         switching between major modes on a file.
13054 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13056         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13057         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13058         multi-line comments as well.
13060 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
13062         Lexical-binding cleanup.
13064         * arc-mode.el (archive-mode-revert):
13065         * cmuscheme.el (scheme-interactively-start-process):
13066         * custom.el (custom-initialize-delay):
13067         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13068         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13069         * emacs-lock.el (emacs-lock-clear-sentinel):
13070         * ezimage.el (defezimage):
13071         * follow.el (follow-avoid-tail-recenter):
13072         * fringe.el (set-fringe-mode-1):
13073         * generic-x.el (bat-generic-mode-compile):
13074         * help-mode.el (help-info-variable, help-do-xref)
13075         (help-mode-revert-buffer):
13076         * help.el (view-emacs-todo):
13077         * iswitchb.el (iswitchb-completion-help):
13078         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13079         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13080         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13081         * locate.el (locate-update):
13082         * longlines.el (longlines-encode-region)
13083         (longlines-after-change-function):
13084         * outline.el (outline-isearch-open-invisible):
13085         * ps-def.el (declare-function, charset-dimension, char-width)
13086         (encode-char):
13087         * ps-mule.el (ps-mule-plot-string):
13088         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13089         (recentf-edit-list-select, recentf-edit-list-validate)
13090         (recentf-open-files-action):
13091         * rect.el (delete-whitespace-rectangle-line)
13092         (rectangle-number-line-callback):
13093         * register.el (window-configuration-to-register)
13094         (frame-configuration-to-register):
13095         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13096         * select.el (xselect-convert-to-string, xselect-convert-to-length)
13097         (xselect-convert-to-targets, xselect-convert-to-delete)
13098         (xselect-convert-to-filename, xselect-convert-to-charpos)
13099         (xselect-convert-to-lineno, xselect-convert-to-colno)
13100         (xselect-convert-to-os, xselect-convert-to-host)
13101         (xselect-convert-to-user, xselect-convert-to-class)
13102         (xselect-convert-to-name, xselect-convert-to-integer)
13103         (xselect-convert-to-atom, xselect-convert-to-identity):
13104         * subr.el (declare, ignore, process-kill-without-query)
13105         (text-clone-maintain):
13106         * terminal.el (te-get-char, te-tic-sentinel):
13107         * tool-bar.el (tool-bar-make-keymap):
13108         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13109         * type-break.el (type-break-mode, type-break-noninteractive-query):
13110         * view.el (View-back-to-mark):
13111         * wid-browse.el (widget-browse-action, widget-browse-widget)
13112         (widget-browse-widgets, widget-browse-sexp):
13113         * widget.el (define-widget-keywords):
13114         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13115         Mark unused parameters.
13117         * align.el (align-adjust-col-for-rule): Mark unused parameter.
13118         (align-areas): Remove unused variable `look'.
13119         (align-region): Remove unused variables `real-end' and `pos-list'.
13121         * apropos.el (apropos-score-doc): Remove unused variable `i'.
13123         * bindings.el (mode-line-modified, mode-line-remote):
13124         Mark unused parameters.
13125         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13127         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13128         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13130         * comint.el (comint-history-isearch-pop-state)
13131         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13132         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13133         (comint-substitute-in-file-name): Doc fix.
13135         * completion.el (cmpl-statistics-block): Mark unused parameter.
13136         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13137         (save-completions-to-file, load-completions-from-file):
13138         Remove unused local variable `e'.
13140         * composite.el (compose-chars): Remove unused variable `len'.
13141         (lgstring-insert-glyph): Remove unused variable `g'.
13142         (compose-glyph-string): Remove unused variables `ascent',
13143         `descent', `lbearing' and `rbearing'.
13144         (compose-glyph-string-relative): Remove unused variables
13145         `lbearing', `rbearing' and `wadjust'.
13146         (compose-gstring-for-graphic): Remove unused variables `header',
13147         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
13148         (compose-gstring-for-terminal): Remove unused variables `header'
13149         and `nchars'.  Use `let', not `let*'.
13151         * cus-edit.el (Custom-set, Custom-save, custom-reset)
13152         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13153         (Custom-buffer-done, custom-buffer-create-internal)
13154         (custom-browse-visibility-action, custom-browse-group-tag-action)
13155         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13156         (widget-magic-mouse-down-action, custom-toggle-parent)
13157         (custom-add-parent-links, custom-toggle-hide-variable)
13158         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13159         (custom-toggle-hide-face, face, hook, custom-group-link-action)
13160         (custom-face-menu-create, custom-variable-menu-create, get)
13161         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13162         (custom-reset-standard-save-and-update): Remove unused variable `value'.
13163         (customize-apropos): Remove unused variable `tests'.
13164         (custom-group-value-create): Remove unused variable `hidden-p'.
13165         (sort-fold-case): Declare.
13167         * cus-theme.el (custom-reset-standard-faces-list)
13168         (custom-reset-standard-variables-list): Declare.
13169         (customize-create-theme, custom-theme-revert, custom-theme-write)
13170         (custom-theme-choose-mode, customize-themes, custom-theme-save):
13171         Mark unused parameters.
13173         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13175         * delim-col.el (delimit-columns-max): Move defvar before first use.
13177         * descr-text.el (describe-char-categories): Don't quote `lambda'.
13178         (describe-char): Don't quote `lambda'.  Mark unused parameter.
13180         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13181         (auto-insert): Declare.
13182         (desktop-restore-file-buffer): Rename desktop-* parameters;
13183         mark unused ones.
13184         (desktop-create-buffer): Rename desktop-* parameters and bind them.
13185         (desktop-buffer): Rename desktop-* parameters.
13187         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13188         (dframe-reposition-frame-xemacs, dframe-help-echo)
13189         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13190         Mark unused parameters.
13192         * dired-aux.el (backup-extract-version-start, overwrite-query)
13193         (overwrite-backup-query, rename-regexp-query)
13194         (rename-non-directory-query): Declare.
13195         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13196         (dired-add-entry): Remove unused variable `orig-file-name'.
13197         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13198         Use parameter PRESERVE-TIME instead of accessing dynamic variable
13199         `dired-copy-preserve-time' directly.
13200         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13201         (dired-insert-subdir-newpos): Rename unused variable `pos'.
13203         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13204         (dired-virtual-revert, dired-make-relative-symlink):
13205         Mark unused parameters.
13206         (manual-program): Declare.
13207         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13208         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13209         wrapped in `with-no-warnings' to avoid replacing one warning by another.
13211         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13213         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13215         * echistory.el (electric-history-in-progress, Helper-return-blurb):
13216         Declare.
13218         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13220         * electric.el (Electric-command-loop): Rename parameter
13221         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13223         * expand.el (expand-in-literal): Remove unused variable `here'.
13225         * facemenu.el (facemenu-add-new-color):
13226         Remove unused variable `docstring'.
13228         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13229         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13230         (face-attr-construct): Mark unused parameter.  Doc fix.
13231         (read-color): Remove unused variable `hex-string'.
13233         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13234         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13235         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13236         (display-buffer-other-frame): Remove unused variable `old-window'.
13237         (kill-buffer-hook): Declare.
13238         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13239         Mark unused parameters.
13240         (after-find-file): Pass 1 to `auto-save-mode', not t.
13242         * files-x.el (auto-insert): Declare.
13243         (modify-file-local-variable-prop-line): Remove unused variable `val'.
13245         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13246         variable `buf'.  Mark unused parameter.
13247         (find-lisp-insert-directory): Mark unused parameter.
13249         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13250         (format-encode-region): Remove unused variables `cur-buf' and `result'.
13251         (format-common-tail): Remove, unused.
13252         (format-deannotate-region): Remove unused variable `loc'.
13253         (format-annotate-region): Remove unused variable `p'.
13254         (format-annotate-single-property-change): Remove unused variables
13255         `default' and `tail'.
13257         * forms.el (read-file-filter): Declare.
13258         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13260         * frame.el (frame-creation-function-alist): Mark unused parameter.
13261         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13263         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13264         Remove unused parameters.
13265         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13266         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13268         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13269         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13270         (hfy-prepare-tag-map): Mark unused parameters.
13271         (htmlfontify-buffer): Use `called-interactively-p'.
13273         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13274         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13275         (ibuffer-do-occur): Mark unused parameters.
13276         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13277         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13279         * ibuffer.el: Don't quote `lambda'.
13280         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13281         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13282         Mark unused parameters.
13284         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13285         (ido-completing-read): Mark unused parameters.
13286         (ido-copy-current-word): Mark unused parameters;
13287         remove unused variable `name'.
13288         (ido-sort-merged-list): Remove unused parameter `dirs'.
13290         * ielm.el (ielm-input-sender): Mark unused parameter.
13291         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13292         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13293         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13294         `ielm-string' as a dynamic variable accessible from the IELM prompt.
13295         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
13297         * image-dired.el (image-dired-display-thumbs): Remove unused
13298         variables `curr-file' and `count'.
13299         (image-dired-remove-tag): Remove unused variable `start'.
13300         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13301         variable `curr-file'
13302         (image-dired-rotate-original): Remove unused variable `temp-file'.
13303         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13304         Remove unused variable `file'.
13305         (image-dired-gallery-generate): Remove unused variable `curr'.
13306         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13308         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13310         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13312         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13314         * isearch.el (minibuffer-history-symbol): Declare.
13315         (isearch-edit-string): Remove unused variable `err'.
13316         (isearch-message-prefix, isearch-message-suffix):
13317         Mark unused parameters.
13319         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13321         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13323         * makesum.el (double-column): Remove unused variable `cnt'.
13325         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13326         (ido-ignore-item-temp-list): Declare.
13328         * mouse-drag.el (mouse-drag-throw): Remove unused variables
13329         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13330         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13331         (mouse-drag-drag): Remove unused variables `mouse-delta' and
13332         `mouse-col-delta'.
13334         * mouse-sel.el (mouse-extend-internal):
13335         Remove unused variable `orig-window-frame'.
13337         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13338         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13339         Move declarations before first use.
13340         (pcomplete-opt): Mark unused parameters; doc fix.
13342         * proced.el (proced-revert): Mark unused parameter.
13343         (proced-send-signal): Remove unused variable `err'.
13345         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13346         Rename parameter PREFIX-ARG to ARG.
13347         (ps-basic-plot-string, ps-basic-plot-whitespace):
13348         Mark unused parameters.
13350         * replace.el (replace-count): Define.
13351         (occur-revert-function): Mark unused parameters.
13352         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13353         (isearch-case-fold-search, isearch-string): Declare.
13354         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13355         bind `case-fold-search'.  Remove unused variables `beg' and `end',
13356         and simplify.
13357         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13358         COUNT and bind `replace-count'.
13359         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13360         to COUNT.
13362         * savehist.el (print-readably, print-string-length): Declare.
13364         * shadowfile.el (shadow-expand-cluster-in-file-name):
13365         Remove unused variable `cluster'.
13366         (shadow-copy-file): Remove unused variable `i'.
13367         (shadow-noquery, shadow-clusters, shadow-site-cluster)
13368         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13369         (shadow-define-literal-group, shadow-define-regexp-group)
13370         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13372         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13373         (shell): Use `called-interactively-p'.
13374         (shell-directory-tracker): Remove unused variable `chdir-failure'.
13376         * simple.el (compilation-context-lines, comint-file-name-quote-list)
13377         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13378         (delete-backward-char): Remove unused variable `ocol'.
13379         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13380         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13381         (event-apply-hyper-modifier, event-apply-shift-modifier)
13382         (event-apply-control-modifier, event-apply-meta-modifier):
13383         Mark unused parameters.
13384         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13385         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13387         * speedbar.el (speedbar-ignored-directory-expressions)
13388         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13389         (speedbar-find-file, speedbar-dir-follow)
13390         (speedbar-directory-buttons-follow, speedbar-tag-find)
13391         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13392         (speedbar-buffers-line-directory, speedbar-buffer-click):
13393         Mark unused parameters.
13394         (speedbar-tag-file): Remove unused variable `mode'.
13395         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13397         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13399         * talk.el (talk): Remove unused variable `display'.
13401         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13402         (tar-write-region-annotate): Mark unused parameter.
13404         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13405         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13406         Declare them, wrapped in `with-no-warnings' to avoid replacing one
13407         warning by another.
13409         * time-stamp.el (time-stamp-string-preprocess):
13410         Remove unused variable `require-padding'.
13412         * tree-widget.el (widget-glyph-enable): Declare.
13413         (tree-widget-action): Mark unused parameter.
13415         * w32-fns.el (x-get-selection): Mark unused parameter.
13416         (autoload-make-program, generated-autoload-file): Declare.
13418         * wdired.el (wdired-revert): Mark unused parameters.
13419         (wdired-xcase-word): Remove unused variable `err'.
13421         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13422         (whitespace-help-scroll): Remove unused variable `data-help'.
13424         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13425         (widget-image-insert, widget-after-change, default)
13426         (widget-default-format-handler, widget-default-notify)
13427         (widget-default-prompt-value, widget-info-link-action)
13428         (widget-url-link-action, widget-function-link-action)
13429         (widget-variable-link-action, widget-file-link-action)
13430         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13431         (widget-field-prompt-internal, widget-field-action, widget-field-match)
13432         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13433         (widget-insert-button-action, widget-delete-button-action, visibility)
13434         (widget-documentation-link-action, widget-documentation-string-action)
13435         (widget-const-prompt-value, widget-regexp-match, symbol)
13436         (widget-coding-system-prompt-value)
13437         (widget-key-sequence-value-to-external, sexp)
13438         (widget-sexp-value-to-internal, character, vector, cons)
13439         (widget-choice-prompt-value, widget-boolean-prompt-value)
13440         (widget-color--choose-action): Mark unused parameters.
13441         (widget-item-match-inline, widget-choice-match-inline)
13442         (widget-checklist-match, widget-checklist-match-inline)
13443         (widget-group-match): Rename parameter VALUES to VALS.
13444         (widget-field-value-set): Remove unused variable `size'.
13445         (widget-color-action): Remove unused variables `value' and `start'.
13447         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13448         variable `dir'.  Doc fix.
13449         (windmove-find-other-window): Don't pass it.
13451         * window.el (count-windows): Mark unused parameter.
13452         (bw-adjust-window): Remove unused variable `err'.
13454         * woman.el (woman-file-name): Remove unused variable `default'.
13455         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13456         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13457         (global-font-lock-mode): Declare.
13458         (woman-decode-region): Mark unused parameter.
13459         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13461         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13462         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13463         (x-dnd-handle-moz-url): Remove unused variable `title'.
13464         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13466         * xml.el (xml-parse-tag, xml-parse-attlist):
13467         Remove unused variable `pos'.
13469 2011-04-19  Glenn Morris  <rgm@gnu.org>
13471         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13472         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13473         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13474         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13475         * calendar/cal-html.el (cal-html-insert-minical):
13476         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13477         (calendar-mark-date-pattern):
13478         Prefix "unused" locals.
13480         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13481         optional argument `style'.
13483         * calendar/appt.el (appt-make-list):
13484         * calendar/cal-china.el (calendar-chinese-date-string):
13485         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13486         (diary-hebrew-yahrzeit):
13487         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13488         * calendar/calendar.el (calendar-generate-window):
13489         * calendar/time-date.el (time-to-days):
13490         Remove unused local variables.
13492 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
13494         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13495         glyphless-char-display table.
13496         (tabulated-list-glyphless-char-display): New var.
13498 2011-04-18  Sam Steingold  <sds@gnu.org>
13500         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13501         to acknowledgments.
13503 2011-04-17  Glenn Morris  <rgm@gnu.org>
13505         * calendar/diary-lib.el (diary-sexp-entry):
13506         * calendar/holidays.el (holiday-sexp):
13507         Set debug-on-error rather than the removed stack-trace-on-error.
13509 2011-04-16  Glenn Morris  <rgm@gnu.org>
13511         * progmodes/f90.el: Use lexical-binding.
13512         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13514 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13516         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13517         (mail-mode): Setup mailalias completion here instead.
13518         * mail/mailalias.el: Use lexical-binding.
13519         (pattern, mailalias-done): Declare dynamic.
13520         (mail-completion-at-point-function): New function, from mail-complete.
13521         (mail-complete): Use it.
13522         (mail-completion-expand): New function.
13523         (mail-get-names): Use it.
13524         (mail-directory, mail-directory-process, mail-directory-stream):
13525         Don't use `pattern' for lexically bound arg.
13527         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13529         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13530         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13531         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13533         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13534         (byte-save-window-excursion, byte-temp-output-buffer-setup)
13535         (byte-interactive-p): Define them again, for use when inlining
13536         old code.
13538 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
13540         * loadup.el: Use `string-to-number', not `string-to-int'.
13542 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13544         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13545         gud-gdb-complete-command.
13546         (gud-gdb-completions): New function, from gud-gdb-complete-command.
13547         (gud-gdb-completion-at-point): New function.
13548         (gud-gdb-completions): Remove.
13550 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
13552         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13553         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
13554         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13555         whether `executable-find' is bound.
13557         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13559 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13561         * minibuffer.el (completion-in-region-mode-predicate)
13562         (completion-in-region-mode--predicate): New vars.
13563         (completion-in-region, completion-in-region--postch)
13564         (completion-in-region-mode): Use them.
13565         (completion--capf-wrapper): Also return the hook function.
13566         (completion-at-point, completion-help-at-point):
13567         Adjust and provide a predicate.
13569         Preserve arg names for advice of subr and lexical functions (bug#8457).
13570         * help-fns.el (help-function-arglist): Consolidate the subr and
13571         new-byte-code cases.  Add argument `preserve-names' to extract names
13572         from the docstring when needed.
13573         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13574         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13575         (ad-arglist): Use help-function-arglist's new arg.
13576         (ad-definition-type): Use cond.
13578 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
13580         * autorevert.el (auto-revert-handler):
13581         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13582         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13583         Don't quote lambda.
13585         * image-mode.el (image-transform-set-scale):
13586         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13588 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13590         * net/network-stream.el (network-stream-open-starttls): Only do
13591         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13592         Upgrades via gnutls-cli are too slow to be done opportunistically.
13594 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
13596         * dframe.el (dframe-current-frame): Remove spurious quote.
13598 2011-04-12  Glenn Morris  <rgm@gnu.org>
13600         * calendar/cal-tex.el (cal-tex-end-document):
13601         Try to automatically use latin1 input if needed.
13603         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13604         Don't try to cons a mark onto an empty element.
13606 2011-04-11  Leo Liu  <sdl.web@gmail.com>
13608         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13609         buffers.
13610         (ido-kill-buffer-at-head): Support killing virtual buffers.
13612 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
13614         * minibuffer.el (completion-show-inline-help): New var.
13615         (completion--do-completion, minibuffer-complete)
13616         (minibuffer-force-complete, minibuffer-complete-word):
13617         Inhibit minibuffer messages if completion-show-inline-help is nil.
13619         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13620         to avoid interference from inline help (Bug#5849).
13622 2011-04-10  Leo Liu  <sdl.web@gmail.com>
13624         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13625         Fix typo.
13627 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
13629         * image-mode.el (image-toggle-display-image): Signal an error if
13630         not in Image mode.
13631         (image-transform-mode, image-transform-resize)
13632         (image-transform-set-rotation): Doc fix.
13633         (image-transform-set-resize): Delete.
13634         (image-transform-set-scale, image-transform-fit-to-height)
13635         (image-transform-fit-to-width): Handle image-toggle-display-image
13636         and image-transform-resize directly.
13638 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
13640         * doc-view.el (doc-view-fit-width-to-window)
13641         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13642         New functions for fitting the shown image to the Emacs window size.
13643         (doc-view-mode-map): Add bindings for the new functions.
13645 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
13647         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13648         Fix typo in docstring.
13650 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
13652         * files.el (file-size-human-readable): Produce one digit after
13653         decimal, like "ls -lh" does.
13655         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13656         the file size representation.
13658         * simple.el (list-processes): If async subprocesses are not
13659         available, error out with a clear error message.
13661 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
13663         * help.el (help-form-show): New function, to be called from C.
13664         Put help-form output in a buffer named differently than *Help*.
13666 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
13668         * files.el (file-size-human-readable): New function.
13670         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13671         computing the representation inline.  Don't require `cl'.
13673 2011-04-08  Glenn Morris  <rgm@gnu.org>
13675         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13677         * net/browse-url.el (browse-url-firefox):
13678         Test system-type, not system-configuration.
13680         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13681         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13682         Use log-edit-empty-buffer-p.  (Bug#7598)
13684         * net/rlogin.el (rlogin-process-connection-type): Simplify.
13685         (rlogin-mode-map): Initialize in the defvar.
13686         (rlogin): Use ignore-errors.
13688         * replace.el (occur-mode-map): Some fixes for menu items.
13690 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13692         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
13694 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
13696         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13697         issuing unused warnings.
13699         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13700         macro directly.
13702         * simple.el: Lisp reimplement of list-processes.  Based on an
13703         earlier reimplementation by Leo Liu, but using tabulated-list.el.
13704         (process-menu-mode): New major mode.
13705         (list-processes--refresh, list-processes):
13706         (process-menu-visit-buffer): New functions.
13708         * files.el (save-buffers-kill-emacs): Don't assume any return
13709         value of list-processes, which is undocumented anyway.
13711 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
13713         * emacs-lisp/tabulated-list.el: New file.
13715         * emacs-lisp/package.el: Use Tabulated List mode.
13716         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13717         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
13718         table format using Tabulated List mode variables.
13719         (package--push): New macro, replacing package-list-maybe-add.
13720         (package-menu--generate): Use package--push.  Renamed from
13721         package--generate-package-list.
13722         (package-menu-refresh, list-packages): Use it.
13723         (package-menu--print-info): Rename from package-print-package.
13724         Return insertion data instead of inserting it directly.
13725         (package-menu-describe-package, package-menu-execute):
13726         Use tabulated-list-get-id.
13727         (package-menu-mark-delete, package-menu-mark-install)
13728         (package-menu-mark-unmark, package-menu-backup-unmark)
13729         (package-menu-mark-obsolete-for-deletion):
13730         Use tabulated-list-put-tag.
13731         (package--list-packages, package-menu-revert)
13732         (package-menu-get-package, package-menu-get-version)
13733         (package-menu-sort-by-column): Functions deleted.
13734         (package-menu-package-list, package-menu-sort-key): Vars deleted.
13735         (package-menu--status-predicate, package-menu--version-predicate)
13736         (package-menu--name-predicate)
13737         (package-menu--description-predicate): Handle arguments in the
13738         Tabulated List format.
13739         (package-list-packages-no-fetch): Call list-packages.
13741 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
13743         * files.el (after-find-file-from-revert-buffer): Remove variable.
13744         (after-find-file): Don't bind it.
13745         (revert-buffer-in-progress-p): New variable.
13746         (revert-buffer): Bind it.
13747         Pass nil for `after-find-file-from-revert-buffer'.
13749         * saveplace.el (save-place-find-file-hook): Use new variable
13750         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13752 2011-04-06  Glenn Morris  <rgm@gnu.org>
13754         * Makefile.in (AUTOGEN_VCS): New variable.
13755         (autoloads): Use $AUTOGEN_VCS.
13757         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13758         * calendar/calendar.el (calendar-mode-map):
13759         Check for toolkit scroll bars.  (Bug#8305)
13761 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
13763         * minibuffer.el (completion-in-region--postch)
13764         (completion-in-region-mode): Remove unnecessary messages.
13766 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
13768         * font-lock.el (font-lock-refresh-defaults):
13769         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13770         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13772         * info.el (Info-directory-list, Info-read-node-name-2)
13773         (Info-split-parameter-string): Doc fixes.
13774         (Info-virtual-nodes): Reflow docstring.
13775         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13776         (Info-apropos-toc-nodes, info-finder, Info-get-token)
13777         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13778         Fix typos in docstrings.
13779         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13780         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13781         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13782         (Info-restore-desktop-buffer): Mark unused parameters.
13783         (Info-directory-find-file, Info-directory-find-node)
13784         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13785         (Info-virtual-index-find-node, Info-apropos-find-file)
13786         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13787         Mark unused parameters; fix typos in docstrings.
13788         (Info-virtual-index): Remove unused local variable `nodename'.
13790 2011-04-05  Deniz Dogan  <deniz@dogan.se>
13792         * net/rcirc.el: Update my e-mail address.
13793         (rcirc-mode-map): Remove M-o binding.
13795 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
13797         * startup.el (command-line): Save the cursor's theme-face
13798         directly, instead of using face-override-spec.
13800         * custom.el (load-theme): Minor optimization in assigning faces.
13802 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
13804         * help-fns.el (describe-variable): Complete all variables having
13805         documentation, including keywords.
13806         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13808 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
13810         Convert to lexical-binding.
13812         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13813         (bs--get-marked-string, bs--get-modified-string)
13814         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13815         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13816         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13818         * ehelp.el (electric-help-execute-extended)
13819         (electric-help-ctrl-x-prefix):
13820         * hexl.el (hexl-revert-buffer-function):
13821         * linum.el (linum-after-change, linum-after-scroll):
13822         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13824         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13826 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
13828         * epa-dired.el:
13829         * epa-mail.el:
13830         * epa-hook.el:
13831         * epa-file.el:
13832         * epa.el:
13833         * epg.el: Use lexical binding.
13835 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
13837         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13839         * textmodes/flyspell.el (flyspell-word): Recognize default
13840         dictionary case for flyspell-mark-duplications-exceptions.
13841         Use regexp matching for languages.
13842         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13843         default dictionary (Bug#7926).
13845 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
13847         * emacs-lisp/package.el (package--with-work-buffer):
13848         Recognize https URLs.
13850         * net/network-stream.el: Move from gnus/proto-stream.el.
13851         Change prefix to network-stream throughout.
13852         (open-protocol-stream): Merge into open-network-stream, leaving
13853         open-protocol-stream as an alias.  Handle nil BUFFER args.
13855         * subr.el (open-network-stream): Move to net/network-stream.el.
13857 2011-04-02  Glenn Morris  <rgm@gnu.org>
13859         * find-dired.el (find-exec-terminator): New option.
13860         (find-ls-option): Test for -ls support.
13861         (find-ls-subdir-switches): Test for -b in find-ls-option.
13862         (find-dired, find-grep-dired): Doc fixes.
13863         (find-dired): Use find-exec-terminator.
13865         * find-dired.el (find-ls-option, find-ls-subdir-switches)
13866         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13867         (find-name-arg): Remove purecopy.
13869         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13870         (grep-compute-defaults): Check for `-exec COMMAND +' support.
13871         Set grep-find-use-xargs, grep-find-command, and grep-find-template
13872         accordingly.  Don't add the null-device if not needed.
13874         * files.el (save-some-buffers): Doc fix.
13876 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
13878         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13880 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
13882         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13883         Use `dolist' rather than `mapcar'.
13885 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13887         Add lexical binding.
13889         * subr.el (apply-partially): Use new closures rather than CL.
13890         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13891         (dolist, dotimes): Use slightly different expansion for lexical code.
13892         (functionp): Move to C.
13893         (letrec): New macro.
13894         (with-wrapper-hook): Use it and apply-partially instead of CL.
13895         (eval-after-load): Preserve lexical-binding.
13896         (save-window-excursion, with-output-to-temp-buffer): Turn them
13897         into macros.
13899         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13901         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13902         than the arglist.
13903         (help-add-fundoc-usage): Don't add `Not documented'.
13904         (help-function-arglist): Handle closures, subroutines, and new
13905         byte-code-functions.
13906         (help-make-usage): Remove leading underscores.
13907         (describe-function-1): Handle closures.
13908         (describe-variable): Use special-variable-p for completion.
13910         * files.el (lexical-binding): Declare safe.
13912         * emacs-lisp/pcase.el: Don't use destructuring-bind.
13913         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
13914         (pcase): Add `let' pattern.
13915         Change memoization so it actually works.
13916         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13917         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13918         <let>: New case.
13920         * emacs-lisp/macroexp.el: Use lexical binding.
13921         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
13922         Don't convert ' to #' without checking that it's indeed quoting
13923         a lambda.
13925         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13926         Use eval-sexp-add-defvars.
13927         (eval-sexp-add-defvars): New fun.
13929         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13931         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13932         Don't autoload.
13933         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13934         than the internal `byte-compile-lambda'.
13935         (defmethod): Don't hide code under quotes.
13936         (eieio-defmethod): New `code' argument.
13938         * emacs-lisp/eieio-comp.el: Remove.
13940         * emacs-lisp/edebug.el (edebug-eval-defun)
13941         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13942         (edebug-toggle): Avoid `eval'.
13944         * emacs-lisp/disass.el (disassemble-internal): Handle new
13945         `closure' objects.
13946         (disassemble-1): Handle new byte codes.
13948         * emacs-lisp/cl.el (pushnew): Silence warning.
13950         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13951         (cl-byte-compile-throw): Remove.
13952         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13954         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13955         closures.
13957         * emacs-lisp/cconv.el: New file.
13959         * emacs-lisp/bytecomp.el: Use lexical binding instead of
13960         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
13961         (byte-compile-initial-macro-environment):
13962         Handle declare-function here.
13963         (byte-compile--lexical-environment): New var.
13964         (byte-stack-ref, byte-stack-set, byte-discardN)
13965         (byte-discardN-preserve-tos): New lap codes.
13966         (byte-interactive-p): Don't use any more.
13967         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13968         New macros.
13969         (byte-compile-lapcode): Use them and handle new lap codes.
13970         (byte-compile-obsolete): Remove.
13971         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13972         (byte-compile-arglist-warn): Check late def of inlinable funs.
13973         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13974         since they should have been expanded by now.
13975         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13976         (byte-compile-from-buffer): Remove unused second arg.
13977         (byte-compile-preprocess): New function.
13978         (byte-compile-toplevel-file-form): New function to distinguish
13979         file-form calls from outside from file-form calls from hunk-handlers.
13980         (byte-compile-file-form): Simplify.
13981         (byte-compile-file-form-defsubst): Remove.
13982         (byte-compile-file-form-defmumble): Simplify now that
13983         byte-compile-lambda always returns a byte-code-function.
13984         (byte-compile): Preprocess.
13985         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13986         Remove, not used any more.
13987         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13988         (byte-compile-make-args-desc): New funs.
13989         (byte-compile-lambda): Handle lexical functions.  Always return
13990         a byte-code-function.
13991         (byte-compile-reserved-constants): New var, to make up room for
13992         closed-over variables.
13993         (byte-compile-constants-vector): Obey it.
13994         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13995         (byte-compile-macroexpand-declare-function): New function.
13996         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13997         byte-code-functions.
13998         (byte-compile-form): Check obsolescence here.
13999         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14000         (byte-compile-variable-ref): Remove.
14001         (byte-compile-dynamic-variable-op): New fun.
14002         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14003         (byte-compile-variable-set): New funs.
14004         (byte-compile-discard): Add 2 args.
14005         (byte-compile-stack-ref, byte-compile-stack-set)
14006         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14007         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14008         macroexpand-all instead.
14009         (byte-compile-quote-form): Remove.
14010         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14011         (byte-compile-bind, byte-compile-unbind): New funs.
14012         (byte-compile-let): Handle let* and lexical binding.
14013         (byte-compile-let*): Remove.
14014         (byte-compile-catch, byte-compile-unwind-protect)
14015         (byte-compile-track-mouse, byte-compile-condition-case):
14016         Handle a new :fun-body form, used for lexical scoping.
14017         (byte-compile-save-window-excursion)
14018         (byte-compile-with-output-to-temp-buffer): Remove.
14019         (byte-compile-defun): Simplify.
14020         (byte-compile-stack-adjustment): New fun.
14021         (byte-compile-out): Use it.
14022         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14024         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14025         handler any more.
14027         * emacs-lisp/byte-opt.el: Use lexical binding.
14028         (byte-inline-lapcode): Remove (to bytecomp).
14029         (byte-compile-inline-expand): Pay attention to inlining to/from
14030         lexically bound code.
14031         (byte-compile-unfold-lambda): Don't handle byte-code-functions
14032         any more.
14033         (byte-optimize-form-code-walker): Don't handle save-window-excursion
14034         any more and don't call compiler-macros.
14035         (byte-compile-splice-in-already-compiled-code): Remove.
14036         (byte-code): Don't inline any more.
14037         (disassemble-offset): Receive `bytes' as argument rather than via
14038         dynamic scoping.
14039         (byte-compile-tag-number): Declare before first use.
14040         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14041         `return' even if make-spliceable.
14042         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14043         obsolete interactive-p.
14044         (byte-optimize-lapcode): Optimize new lap-codes.
14045         Don't trip up on new form of `byte-constant' lap code.
14047         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14049         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14051         * custom.el (custom-initialize-default, custom-declare-variable):
14052         Use `defvar'.
14054         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14055         New variables.
14056         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14057         (COMPILE_FIRST): Add macroexp and cconv.
14058         * makefile.w32-in: Mirror changes in Makefile.in.
14060         * vc/cvs-status.el:
14061         * vc/diff-mode.el:
14062         * vc/log-edit.el:
14063         * vc/log-view.el:
14064         * vc/smerge-mode.el:
14065         * textmodes/bibtex-style.el:
14066         * textmodes/css.el:
14067         * startup.el:
14068         * uniquify.el:
14069         * minibuffer.el:
14070         * newcomment.el:
14071         * reveal.el:
14072         * server.el:
14073         * mpc.el:
14074         * emacs-lisp/smie.el:
14075         * doc-view.el:
14076         * dired.el:
14077         * abbrev.el: Use lexical binding.
14079 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
14081         * info.el (info-display-manual): New function.
14083 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14085         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14087 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
14089         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14090         an entry for that server in rcirc-authinfo.  (Bug#8385)
14092 2011-03-31  Glenn Morris  <rgm@gnu.org>
14094         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14096         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14098 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
14100         * progmodes/python.el (python-default-interpreter)
14101         (python-python-command-args, python-jython-command-args)
14102         (python-which-shell, python-which-args, python-which-bufname)
14103         (python-file-queue, python-comint-output-filter-function)
14104         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14105         variables and functions.
14107 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14109         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14110         (completion-in-region-mode): New minor mode.
14111         (completion-in-region): Use it.
14112         (completion-in-region--data, completion-in-region-mode-map): New vars.
14113         (completion-in-region--postch): New function.
14114         (completion--capf-misbehave-funs, completion--capf-safe-funs):
14115         New vars.
14116         (completion--capf-wrapper): New function.
14117         (completion-at-point): Use it to track well-behavedness of
14118         hook functions.
14119         (completion-help-at-point): New command.
14121 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
14123         * vc/add-log.el (add-change-log-entry): Don't use whitespace
14124         syntax class to search for whitespace on a single line
14125         (Message-ID: <4D938140.4030905@redhat.com>).
14127 2011-03-30  Leo Liu  <sdl.web@gmail.com>
14129         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14130         New commands.
14131         (edit-abbrevs-map): Bind them here.
14132         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
14134 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
14136         * allout.el (allout-hide-by-annotation, allout-flag-region):
14137         Reduce possibility of overlay leakage by making them volatile.
14139         * allout-widgets.el (allout-widgets-tally): Define as nil so the
14140         hash is not shared between buffers.  Mode initialization is
14141         responsible for giving it a useful starting value.
14142         (allout-item-span): Reduce possibility of overlay leakage by
14143         making them volatile.
14144         (allout-widgets-count-buttons-in-region): Add diagnostic function
14145         for tracking down button overlay leaks.
14147 2011-03-29  Leo Liu  <sdl.web@gmail.com>
14149         * ido.el (ido-read-internal): Use the default history var
14150         minibuffer-history if no HISTORY is specified.
14152 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
14154         * net/imap.el (imap-shell-open, imap-process-connection-type):
14155         Use imap-process-connection-type for 'shell' streams as well as
14156         Kerberos, SSL, other subprocesses.
14158 2011-03-28  Leo Liu  <sdl.web@gmail.com>
14160         * abbrev.el (abbrev-table-empty-p): New function.
14161         (prepare-abbrev-list-buffer): Place empty abbrev tables after
14162         nonempty ones.  (Bug#5937)
14164 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
14166         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14168 2011-03-27  Leo Liu  <sdl.web@gmail.com>
14170         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14171         for foreground and background colors.
14172         (ansi-color-make-color-map): Adapt.
14174 2011-03-25  Leo Liu  <sdl.web@gmail.com>
14176         * midnight.el (midnight-time-float): Remove.  Note it calculates
14177         the microsecond component incorrectly and seconds-to-time does the
14178         same job.
14179         Remove redundant (require 'timer).
14181         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14182         (ido-completions): Remove unused arguments.  (Bug#8329)
14184 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14186         * minibuffer.el (completion--flush-all-sorted-completions):
14187         Remove itself from hook.
14188         (completion-at-point): Let the functions perform the completion
14189         immediately and return nil or t.
14190         * comint.el (comint-dynamic-complete-functions): Now identical to
14191         completion-at-point-functions.
14192         (comint-dynamic-list-input-ring): Remove unused var `index'.
14193         (comint--match-partial-filename, comint--unquote&expand-filename):
14194         New funs, split from comint-match-partial-filename.
14195         (comint-dynamic-complete): Use completion-at-point.
14196         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14198 2011-03-24  Drew Adams  <drew.adams@oracle.com>
14200         * thingatpt.el: Support `defun'.
14202 2011-03-23  Leo Liu  <sdl.web@gmail.com>
14204         * abbrevlist.el: Move to obsolete/abbrevlist.el.
14206         * help-mode.el (help-mode-finish): Tweak regexp.
14208 2011-03-23  Glenn Morris  <rgm@gnu.org>
14210         * eshell/esh-opt.el (eshell-eval-using-options):
14211         Do not bind unused local variable `eshell-option-stub'.
14213         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14215 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
14217         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14218         keymap variable in `with-no-warnings' to avoid a warning when the
14219         keymap has been already `defconst'ed.
14221 2011-03-22  Leo Liu  <sdl.web@gmail.com>
14223         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14224         encode all chars in abbrevs; otherwise use emacs-mule or
14225         utf-8-emacs.  (Bug#8308)
14227 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
14229         * simple.el (backward-delete-char-untabify):
14230         Avoid warning about using `delete-backward-char'.
14232         * image.el (image-type-file-name-regexps): Make it variable.
14233         `imagemagick-register-types' modifies it, and the user may want
14234         to add new extensions for known image types.
14235         (imagemagick-register-types): Throw error if not using ImageMagick.
14237 2011-03-22  Leo Liu  <sdl.web@gmail.com>
14239         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14240         located before rcirc-prompt-end-marker.
14241         (rcirc-complete): Error if point is not after rcirc prompt.
14242         Handle the case when table is nil.
14243         (rcirc-user-authenticated): Define to fix compiler warning.
14245 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
14247         * custom.el (custom--inhibit-theme-enable): Make it affect only
14248         custom-theme-set-variables and custom-theme-set-faces.
14249         (provide-theme): Ignore custom--inhibit-theme-enable.
14250         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14251         (custom-enabling-themes): Delete variable.
14252         (enable-theme): Accept only loaded themes as arguments.
14253         Ignore the special custom-enabled-themes variable.
14254         (custom-enabled-themes): Forbid themes from setting this.
14255         Eliminate use of custom-enabling-themes.
14256         (custom-push-theme): Quote "changed" custom var entry.
14258 2011-03-21  Leo Liu  <sdl.web@gmail.com>
14260         * ido.el (ido-read-internal): Add ido-selected to history instead
14261         of user input.
14263 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14265         * subr.el (deferred-action-list, deferred-action-function):
14266         Mark obsolete.
14268 2011-03-21  Leo Liu  <sdl.web@gmail.com>
14270         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14271         change on 2011-02-13 (bug#8309).
14273         * minibuffer.el (read-file-name-function): Change default value.
14274         (read-file-name--defaults): Rename from read-file-name-defaults.
14275         (read-file-name-default): Rename from read-file-name.
14276         (read-file-name): Call read-file-name-function.
14278 2011-03-21  Glenn Morris  <rgm@gnu.org>
14280         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14281         Doc fixes.
14283 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
14285         * cus-theme.el: Add missing provide statement.
14286         (customize-create-theme): Extract theme value correctly.
14287         (custom-theme-visit-theme): Autoload.
14288         (customize-create-theme): Prompt before inserting default faces.
14290 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
14292         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14293         units and musical notes.
14295 2011-03-20  Leo Liu  <sdl.web@gmail.com>
14297         * ido.el (ido-read-internal): Use completing-read-default.
14298         (ido-completing-read): Fix compatibility with completing-read.
14300 2011-03-20  Christian Ohler  <ohler@gnu.org>
14302         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14303         (ert-delete-all-tests): Use `called-interactively-p' rather than
14304         `interactive-p'.
14305         (ert--make-xrefs-region): Respect END.
14307 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
14309         * dired-aux.el (dired-create-directory): Signal an error if the
14310         directory already exists (Bug#8246).
14312         * facemenu.el (list-colors-display): Call list-faces-display
14313         inside with-help-window.
14314         (list-colors-print): Use display property to align the final
14315         column, instead of checking window-width.
14317 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
14319         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14320         windows-nt systems.
14321         (emerge-protect-metachars): Quote correctly for ms-dos and
14322         windows-nt systems.
14324 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
14326         * info.el (info-initialize): Replace all uses of `:' with
14327         path-separator for compatibility with non-Unix systems.
14328         Cache quoting of path-separator.  (Bug#8258)
14330 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
14332         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14333         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14334         (mouse-avoidance-mode): Fix typos in docstrings.
14336 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
14338         * startup.el (package-subdirectory-regexp): Move from package.el.
14339         Omit \\` and \\', and let callers add them.
14341         * emacs-lisp/package.el (package-strip-version)
14342         (package-load-all-descriptors): Add \\` and \\' to
14343         package-subdirectory-regexp before using it.
14344         (package-untar-buffer): New arg DIR; ensure that file untars only
14345         into this expected directory.  Remove superfluous delete-region.
14346         (package-unpack): Caller changed.
14347         (package-tar-file-info): Use package-subdirectory-regexp.
14349 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14351         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14352         diff-mode-shared-map (bug#8284).
14353         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14355 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14357         * calendar/time-date.el (format-seconds): Use assoc instead of
14358         assoc-string, since assoc-string doesn't exist in XEmacs.
14360 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
14362         * custom.el (custom-known-themes): Reflow docstring.
14363         (custom-theme-load-path): Fix typo in docstring.
14364         (load-theme): Fix typo in error message.
14365         (custom-available-themes, custom-variable-theme-value):
14366         Use `let', not `let*'.
14368 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
14370         * calc/README: Mention inclusion of musical notes.
14372         * calc/calc-units.el (calc-lu-quant): Rename from
14373         `calc-logunits-quantity'.
14374         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14375         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14376         (calc-db): Rename from `calc-dblevel'.
14377         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14378         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14379         (calc-np): Rename from `calc-nplevel'.
14380         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14381         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14382         (calc-lu-plus): Rename from `calc-logunits-add'.
14383         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14384         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14385         (calc-lu-minus): Rename from `calc-logunits-sub'.
14386         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14387         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14388         (calc-lu-times): Rename from `calc-logunits-mul'.
14389         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14390         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14391         (calc-lu-divide): Rename from `calc-logunits-div'.
14392         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14393         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14395         * calc/calc-ext.el (calc-init-extensions): Update the names of the
14396         functions being autoloaded.
14398         * calc/calc.el (calc-lu-power-reference): Rename from
14399         `calc-logunits-power-reference'.
14400         (calc-lu-field-reference): Rename from
14401         `calc-logunits-field-reference'.
14403         * calc/calc-help.el (calc-l-prefix-help):
14404         Mention musical note functions.
14406 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14408         * minibuffer.el (completion-all-sorted-completions):
14409         Use :completion-cycle-penalty text property if present.
14411 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
14413         * allout.el (allout-yank-processing): Adjust for new rebulleting
14414         regime so bullet being yanked is used without prompting the user
14415         for a choice.
14417 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
14419         * startup.el (command-line): Warn the user that _emacs is deprecated.
14421 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
14423         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14424         (delphi-verbose, delphi-comment-face, delphi-string-face)
14425         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14426         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14427         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14428         (delphi-new-comment-line, delphi-font-lock-defaults)
14429         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14430         Fix typos in docstrings.
14432 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
14434         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14435         Invert the roles of character and string values for INSTEAD, so a
14436         string is used for the more common case of a defaulting prompt.
14438 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14440         * progmodes/ruby-mode.el (ruby-backward-sexp):
14441         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14442         * play/gamegrid.el (gamegrid-make-face):
14443         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14444         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14445         * notifications.el (notifications-notify):
14446         * net/xesam.el (xesam-search-engines):
14447         * net/quickurl.el (quickurl-list-insert):
14448         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14450 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
14452         * startup.el (command-line): Update package subdirectory regexp.
14454 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14456         * allout.el (allout-abbreviate-flattened-numbering)
14457         (allout-mode-deactivate-hook): Fix up obsolescence "date".
14459         * subr.el (read-char-choice): Only show the cursor after the prompt,
14460         not after the answer.
14462 2011-03-15  Kevin Ryde  <user42@zip.com.au>
14464         * help-fns.el (variable-at-point): Skip leading quotes, if any
14465         (bug#8253).
14467 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14469         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14470         warning message.
14472 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
14474         * shell.el (shell): When called interactively, offer to change the
14475         shell file name on remote hosts.
14477 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
14479         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14480         integration for LDAP parameters.  The host, base, user or binddn,
14481         and secret tokens can be specified in a netrc file, for instance.
14482         This is optional because an `auth-source' parameter must be
14483         specified in the search attributes.
14485 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
14487         * help.el (describe-mode): Link to the mode's definition (bug#8185).
14489 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14491         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14492         into declaration.  Remove redundant and harmful binding.
14494 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
14496         * files.el (file-ownership-preserved-p): Pass `integer' as an
14497         explicit 2nd argument to `file-attributes'.  If the file's owner
14498         is the Administrators group on Windows, and the current user is
14499         Administrator, consider that a match.
14501         * server.el (server-ensure-safe-dir): Consider server directory
14502         safe on MS-Windows if its owner is the Administrators group while
14503         the current Emacs user is Administrator.  Use `=' to compare
14504         numerical UIDs, since they could be integers or floats.
14506 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
14508         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14510 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
14512         Sync with Tramp 2.2.1.
14514         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14516         * net/trampver.el: Update release number.
14518 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14520         * progmodes/compile.el (compilation--previous-directory): Fix up
14521         various nil/dead-marker mismatches (bug#8014).
14522         (compilation-directory-properties, compilation-error-properties):
14523         Don't call it at a position past the one we're about to change.
14525         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14526         Disable obsolescence warnings in the file that declares it.
14528 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
14530         * allout-widgets.el (allout-widgets-tally):
14531         Initialize allout-widgets-tally as a hash table rather than nil to
14532         prevent mode-line redisplay warnings.  Also, clarify the module
14533         description and fix a comment typo.
14535 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
14537         * help-fns.el (describe-variable): Don't complete keywords.
14538         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14540 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
14542         * emacs-lisp/package.el (package-version-join): Impose a standard
14543         string representation for pre/alpha/beta version lists.
14544         (package-unpack-single): Standardize the directory name by passing
14545         it through package-version-join.
14546         (package-strip-rcs-id): Accept any version string that does not
14547         signal an error in version-to-list.
14549 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
14551         * simple.el (delete-trailing-whitespace): Return nil for the
14552         benefit of `write-file-functions'.
14554 2011-03-10  Glenn Morris  <rgm@gnu.org>
14556         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14558         * vc/vc-git.el (vc-git-program): New option.
14559         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14560         (vc-git--call): Use it.
14562         * eshell/esh-util.el (eshell-condition-case): Doc fix.
14564         * cus-edit.el (Custom-newline): If no button at point, look
14565         for a subgroup button at start-of-line.  (Bug#2298)
14567         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14569 2011-03-10  Julien Danjou  <julien@danjou.info>
14571         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14572         `cursor-type' is nil.
14574 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
14576         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14578 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
14580         * allout.el: Change so yank of distinctive-bullet items
14581         preserves the existing header prefix, rebulleting it if necessary,
14582         rather than replacing it.  This is necessary for proper operation
14583         of cooperative addons like allout-widgets.
14584         (allout-make-topic-prefix, allout-rebullet-heading):
14585         Change SOLICIT arg to INSTEAD, and interpret additionally a string
14586         value as alternate bullet to be used, instead of prompting the user
14587         for a bullet character.
14589 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
14591         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14592         Do not use `tramp-file-name-port', because this returns also
14593         `tramp-default-port'.
14595 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
14597         * net/rcirc.el (rcirc-handler-001): Remove useless
14598         with-rcirc-process-buffer.
14599         (rcirc-check-auth-status): Swap arguments to string-match.
14601 2011-03-09  Glenn Morris  <rgm@gnu.org>
14603         * shell.el (shell-mode):
14604         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
14606         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14607         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
14609 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
14611         * emacs-lisp/package.el (package-refresh-contents)
14612         (package-menu-execute): Use condition-case-no-debug.
14614 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
14616         * simple.el (shell-command-to-string): Use `process-file'.
14618         * emacs-lisp/package.el (package-tar-file-info): Handle also
14619         remote files.
14621         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14622         Use `equal' for upload base check.
14624 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
14626         * textmodes/texinfo.el (texinfo-environments):
14627         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
14629 2011-03-08  Glenn Morris  <rgm@gnu.org>
14631         * cus-start.el (cursor-in-non-selected-windows):
14632         Fix :set quoting oddness.  (Bug#8192)
14634         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14635         in some setf expressions.  (Bug#2159)
14637 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
14639         * custom.el (custom-available-themes): Return themes in
14640         alphabetical order.
14642 See ChangeLog.15 for earlier changes.
14644 ;; Local Variables:
14645 ;; coding: utf-8
14646 ;; End:
14648   Copyright (C) 2011-2012  Free Software Foundation, Inc.
14650   This file is part of GNU Emacs.
14652   GNU Emacs is free software: you can redistribute it and/or modify
14653   it under the terms of the GNU General Public License as published by
14654   the Free Software Foundation, either version 3 of the License, or
14655   (at your option) any later version.
14657   GNU Emacs is distributed in the hope that it will be useful,
14658   but WITHOUT ANY WARRANTY; without even the implied warranty of
14659   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14660   GNU General Public License for more details.
14662   You should have received a copy of the GNU General Public License
14663   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.