Doc improvements for face remapping.
[emacs.git] / lisp / ChangeLog
blobd75a1d527994d18f94591b1dc7b2544f228f90ce
1 2012-06-09  Chong Yidong  <cyd@gnu.org>
3         * face-remap.el (face-remap-add-relative, face-remap-set-base)
4         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5         Doc fixes (Bug#11225).
7 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10         a function if there's a clear indication that it has a compiler-macro.
11         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12         (macro-declarations-alist): Add arglist to declaration functions.
13         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
14         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
15         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
16         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
17         Also add autoload to find the compiler macro.
18         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
19         (cl--compiler-macro-member, cl--compiler-macro-assoc)
20         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
21         (cl--compiler-macro-get): New functions, replacing calls to
22         cl-define-compiler-macro.
23         (cl-typep) [compiler-macro]: Use macroexp-let².
25 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
27         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
28         string properly, fixes Bug#11473.
30 2012-06-08  Chong Yidong  <cyd@gnu.org>
32         * faces.el (set-face-attribute): Doc fix.
33         (modify-face): Don't use :bold and :italic.
34         (error, warning, success): Tweak definitions.
36         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
37         (custom-modified, custom-set, custom-changed, custom-themed)
38         (custom-saved, custom-button, custom-button-mouse)
39         (custom-button-pressed, custom-state, custom-comment-tag)
40         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
41         (custom-group-subtitle): Use new-style face specs.
42         (custom-invalid-face, custom-rogue-face, custom-modified-face)
43         (custom-set-face, custom-changed-face, custom-saved-face)
44         (custom-button-face, custom-button-pressed-face)
45         (custom-documentation-face, custom-state-face)
46         (custom-comment-face, custom-comment-tag-face)
47         (custom-variable-tag-face, custom-variable-button-face)
48         (custom-face-tag-face, custom-group-tag-face-1)
49         (custom-group-tag-face): Remove obsolete face alias.
51         * epa.el (epa-validity-high, epa-validity-medium)
52         (epa-validity-low, epa-mark, epa-field-name, epa-string)
53         (epa-field-name, epa-field-body):
54         * font-lock.el (font-lock-comment-face, font-lock-string-face)
55         (font-lock-keyword-face, font-lock-builtin-face)
56         (font-lock-function-name-face, font-lock-variable-name-face)
57         (font-lock-type-face, font-lock-constant-face):
58         * ido.el (ido-first-match, ido-only-match, ido-subdir)
59         (ido-virtual, ido-indicator, ido-incomplete-regexp):
60         * speedbar.el (speedbar-button-face, speedbar-file-face)
61         (speedbar-directory-face, speedbar-tag-face)
62         (speedbar-selected-face, speedbar-highlight-face)
63         (speedbar-separator-face):
64         * whitespace.el (whitespace-newline, whitespace-space)
65         (whitespace-hspace, whitespace-tab, whitespace-trailing)
66         (whitespace-line, whitespace-space-before-tab)
67         (whitespace-space-after-tab, whitespace-indentation)
68         (whitespace-empty):
69         * emulation/cua-base.el (cua-global-mark):
70         * eshell/em-prompt.el (eshell-prompt):
71         * net/newst-plainview.el (newsticker-new-item-face)
72         (newsticker-old-item-face, newsticker-immortal-item-face)
73         (newsticker-obsolete-item-face, newsticker-date-face)
74         (newsticker-statistics-face, newsticker-default-face):
75         * net/newst-reader.el (newsticker-feed-face)
76         (newsticker-extra-face, newsticker-enclosure-face):
77         * net/newst-treeview.el (newsticker-treeview-face)
78         (newsticker-treeview-new-face, newsticker-treeview-old-face)
79         (newsticker-treeview-immortal-face)
80         (newsticker-treeview-obsolete-face)
81         (newsticker-treeview-selection-face):
82         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
83         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
84         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
85         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
86         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
87         (nxml-outline-active-indicator, nxml-outline-ellipsis):
88         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
89         (mpuz-text):
90         * progmodes/vera-mode.el (vera-font-lock-number)
91         (vera-font-lock-function, vera-font-lock-interface):
92         * textmodes/table.el (table-cell): Use new-style face specs, and
93         don't use the old :bold and :italic attributes.
95         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
96         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
97         (ebrowse-member-class, ebrowse-progress): Likewise.
98         (ebrowse-tree-mark-face, ebrowse-root-class-face)
99         (ebrowse-file-name-face, ebrowse-default-face)
100         (ebrowse-member-attribute-face, ebrowse-member-class-face)
101         (ebrowse-progress-face): Remove obsolete faces.
103         * progmodes/flymake.el (flymake-errline, flymake-warnline):
104         Inherit from error and warning faces respectively.
106         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
107         Likewise.
108         (flyspell-incorrect-face, flyspell-duplicate-face): Remove
109         obsolete aliases.
111 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
113         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
114         Avoid infloop.
116 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
118         * startup.el (argv, argi): Make lexically scoped.
119         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
120         * emacs-lisp/cl-macs.el: Use lexical-binding.
121         Rename cl-bind-* to cl--bind-*.
122         * files.el: Don't require `cl' since it doesn't use it.
123         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
125 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
127         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
128         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
129         instead of calling external sort utility.
130         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
132 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
134         * descr-text.el (describe-char): Mention how to insert the
135         character, if the current input method doesn't support it.
136         See the discussion in this thread for the details:
137         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
139 2012-06-08  Sam Steingold  <sds@gnu.org>
141         * bindings.el (global-map): Bind XF86Forward to next-buffer and
142         XF86Back to previous-buffer.
143         (minibuffer-local-map): Bind them to next-history-element and
144         previous-history-element respectively.
145         * help-mode.el (help-mode-map): Bind them to help-go-forward and
146         help-go-back respectively.
147         * info.el (Info-mode-map): Bind them to Info-history-forward and
148         Info-history-back respectively.
149         These are the keys next to Up on the ThinkPad keyboard.
151 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
153         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
154         * emacs-lisp/cl-macs.el: Provide itself.
155         (cl--labels-convert-cache): New var.
156         (cl--labels-convert): New function.
157         (cl-flet, cl-labels): New implementation with new semantics, relying on
158         lexical-binding.
159         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
160         (cl-closure-vars, cl--function-convert-cache)
161         (cl--function-convert): Move from cl-macs.el.
162         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
163         rename by removing the "cl-" prefix.
164         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
166 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
168         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
169         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
170         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
171         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
172         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
173         (cl-hash-table-count): Add old compatibility aliases.
175         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
176         Use macroexpand-all-environment instead.
177         (cl--old-macroexpand): New var.
178         (cl--sm-macroexpand): New function.
179         (cl-symbol-macrolet): Use it during macro expansion.
180         (cl--function-convert-cache): New var.
181         (cl--function-convert): New function, extracted from
182         cl-macroexpand-all.
183         (cl-lexical-let): Use it.
185         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
186         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
187         (cl-member): Remove old alias.
189         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
190         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
191         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
192         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
193         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
194         (cl-macroexpand-cmacs): Remove var.
195         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
196         Use macroexpand-all instead.
198 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
200         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
201         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
202         (macroexp-copyable-p): New functions and macros.
203         * emacs-lisp/edebug.el (edebug-unwrap):
204         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
205         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
206         (pcase--let*): Remove.
207         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
208         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
209         macroexp-const-p instead.
210         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
212         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
213         instead of "cl-" for internal definitions.  Use macroexp-const-p.
214         (cl-old-bc-file-form): Remove var.
215         (cl-const-exprs-p): Remove fun.
216         (cl-labels, cl-macrolet): Use backquote.
217         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
218         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
219         (cl-define-setf-expander): Rename from cl-define-setf-method.
220         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
222         * international/mule-cmds.el: Don't require CL.
223         (view-hello-file): Don't use `letf'.
225 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
227         * tmm.el (tmm-prompt): Use string-prefix-p.
228         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
229         (tmm-add-prompt): Use minibuffer-completion-help.
230         (tmm-delete-map): Remove.
232         * subr.el (kbd): Make it its own function.
234 2012-06-07  Stefan Merten  <smerten@oekonux.de>
236         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
237         Silence compiler warnings.  Fix versions.
238         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
239         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
240         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
241         (rst-package-emacs-version-alist): Correct Emacs version to
242         represent major merge with upstream.
243         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
245 2012-06-06  Glenn Morris  <rgm@gnu.org>
247         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
248         Only print environment variables if set.
250 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
252         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
253         (macroexp--cons): Rename from maybe-cons.
254         (macroexp--accumulate): Rename from macroexp-accumulate.
255         (macroexp--all-forms): Rename from macroexpand-all-forms.
256         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
257         (macroexp--expand-all): Rename from macroexpand-all-1.
259 2012-06-06  Sam Steingold  <sds@gnu.org>
261         * calendar/calendar.el (calendar-in-read-only-buffer):
262         Call `special-mode' to enable the standard read-only keybindings.
264 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
266         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
267         with "loading" messages (bug#11635).
269 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
271         * files.el (enable-remote-dir-locals): New option.
272         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
274         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
275         Ensure, that the temp directory is local.
277         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
278         `temporary-file-directory'.
280         * progmodes/python.el (python-send-region): Ensure, that the
281         temporary file is created also in the remote case.
283 2012-06-06  Glenn Morris  <rgm@gnu.org>
285         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
286         (vc-rcs-update-changelog): Use it.
288         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
290         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
291         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
292         (vc-sccs-diff): Replace use of the external vcdiff script.
294 2012-06-05  Glenn Morris  <rgm@gnu.org>
296         * ledit.el: Move to obsolete/.
298 2012-06-05  Sam Steingold  <sds@gnu.org>
300         * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
301         patch (Bug#11140).
303 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
305         * emacs-list/cust-print.el: Move to obsolete.
307         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
308         compiler-macro expansion.
310         Add native compiler-macro support.
311         * emacs-lisp/macroexp.el (macroexpand-all-1):
312         Support compiler-macros directly.  Properly follow aliases and apply
313         the compiler macros more thoroughly.
314         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
315         macroexpand now properly follows aliases.
316         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
317         (cl-compiler-macroexpand): Use new prop.
318         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
320         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
322 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
324         * window.el (get-lru-window, get-mru-window, get-largest-window):
325         New argument NOT-SELECTED to avoid picking the selected window.
326         (window--display-buffer-1, window--display-buffer-2): Replace by
327         new function window--display-buffer
328         (display-buffer-same-window, display-buffer-reuse-window)
329         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
330         Use window--display-buffer.
331         (display-buffer-use-some-window): Remove temporary dedication
332         hack by calling get-lru-window and get-largest-window with
333         NOT-SELECTED argument non-nil.  Call window--display-buffer.
335 2012-06-05  Glenn Morris  <rgm@gnu.org>
337         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
338         Replace external vcdiff script.
340 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
342         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
344 2012-06-04  Chong Yidong  <cyd@gnu.org>
346         * image.el (imagemagick-types-inhibit): Revert last change.
347         Add INFO and M.
348         (imagemagick-enabled-types): Remove CIN and EPS*.
350 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
352         * emacs-lisp/cl-lib.el: Rename from cl.el.
353         * emacs-lisp/cl.el: New compatibility file.
354         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
355         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
356         to obey the "cl-" prefix.
357         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
359 2012-06-03  Glenn Morris  <rgm@gnu.org>
361         * emacs-lisp/authors.el (authors-aliases): Addition.
363         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
364         Fix :version.
366 2012-06-03  Stefan Merten  <smerten@oekonux.de>
368         * textmodes/rst.el: Add comments.
369         (rst-transition, rst-adornment): New faces.
370         (rst-adornment-faces-alist): Make default safe to reevaluate.
371         Fixes
372         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
373         Improve customization tags.
374         (rst-define-level-faces): Clarify meaning.
376 2012-06-03  Chong Yidong  <cyd@gnu.org>
378         * progmodes/compile.el (compilation-mode-line-fail)
379         (compilation-mode-line-run, compilation-mode-line-exit):
380         New faces.
381         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
383 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
385         * progmodes/which-func.el (which-func-update-ediff-windows):
386         New function.  Use it in ediff-select-hook (Bug#11478).
388 2012-06-03  Chong Yidong  <cyd@gnu.org>
390         * bindings.el: Remove explicit help text from format-mode-line.
391         It is now supplied by mode-line-default-help-echo.
392         (mode-line-front-space, mode-line-end-spaces)
393         (mode-line-misc-info): New variables.
394         (mode-line-modes, mode-line-position): Move the default value to
395         the variable definition.
396         (mode-line-default-help-echo): New defcustom.
397         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
398         (mode-line-modified-help-echo): New functions.
399         (mode-line-mule-info, mode-line-modified): Use them.
400         (mode-line-eol-desc, propertized-buffer-identification):
401         Consistency fixes for help text.
402         (mode-line-coding-system-map): Allow using mouse-3 to invoke
403         set-buffer-file-coding-system (Bug#289).
404         (mode-line-mule-info-help-echo): Update help text.
406 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
408         * simple.el (execute-extended-command): Set real-this-command
409         (bug#11506).
411 2012-06-02  Chong Yidong  <cyd@gnu.org>
413         Remove incorrect uses of "modeline" in comments, docstrings, and
414         function/variable names (Bug#10329).
416         * cus-edit.el (mode-line):
417         * dframe.el (dframe-mouse-hscroll):
418         * emacs-lisp/re-builder.el:
419         * emacs-lisp/easy-mmode.el (define-minor-mode):
420         * frame.el (set-frame-name):
421         * help.el (lookup-minor-mode-from-indicator):
422         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
423         * progmodes/cc-cmds.el (c-toggle-auto-newline)
424         (c-toggle-hungry-state):
425         * progmodes/antlr-mode.el (antlr-language-alist):
426         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
427         * progmodes/vhdl-mode.el (vhdl-mode):
428         * progmodes/which-func.el (which-func, which-func-cleanup-function):
429         * term/ns-win.el (ns-face-at-pos):
430         * term/sup-mouse.el (sup-mouse-report):
431         * textmodes/flyspell.el (flyspell-mode-line-string):
432         * textmodes/ispell.el (ispell-highlight-face):
433         * textmodes/reftex-global.el:
434         * vc/vc-arch.el (vc-arch-mode-line-string):
435         * vc/vc-cvs.el (vc-cvs-mode-line-string):
436         * vc/vc-git.el (vc-git-mode-line-string):
437         * vc/vc-hooks.el (vc-display-status)
438         (vc-default-mode-line-string):
439         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
441         * ansi-color.el (ansi-color-faces-vector): Change default faces.
443         * dired.el (dired-sort-set-mode-line): Rename from
444         dired-sort-set-modeline.  All callers changed.
446         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
447         eshell-status-in-modeline.
449         * foldout.el (foldout-mode-line-string): Rename from
450         foldout-modeline-string.  All callers changed.
451         (foldout-update-mode-line): Rename from foldout-update-modeline.
453         * subr.el (redraw-modeline): Make into obsolete alias.
455         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
456         timeclock-modeline-display.  Make old name an alias.
457         (timeclock-update-mode-line): Likewise.  All callers changed.
458         (timeclock-mode-line-display): No need to check before using
459         add-hook.
460         (timeclock-relative, timeclock-day-over-hook)
461         (timeclock-use-elapsed, timeclock-mode-string)
462         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
464         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
465         crisp-mode-modeline-string.
467         * play/solitaire.el (solitaire-build-mode-line): Rename from
468         solitaire-build-modeline.  All callers changed.
470         * play/zone.el (zone-hiding-mode-line): Rename from
471         zone-hiding-modeline.  All callers changed.
472         (zone): Remove unusued `modeline-hidden-level' property.
474         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
475         xscheme-modeline-initialize.  All callers changed.
477         * strokes.el (strokes-lighter): Rename from
478         strokes-modeline-string.
480         * textmodes/sgml-mode.el (html-face-tag-alist)
481         (html-tag-face-alist): Use mode-line face instead of obsolete
482         alias modeline.
484 2012-06-02  Stefan Merten  <smerten@oekonux.de>
486         * textmodes/rst.el: Always require `cl'.
487         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
489 2012-06-02  Chong Yidong  <cyd@gnu.org>
491         * image.el (imagemagick-enabled-types): Rename from
492         imagemagick-types-enable.  Add many more types.
493         (imagemagick-types-inhibit): Change default to nil.
494         (imagemagick-filter-types): Caller changed.
496 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
498         * emacs-lisp/cl-macs.el: Use backquotes.
499         (cl-transform-function-property): Use eval-and-compile rather than
500         abusing `require'.
501         (defstruct): Use declare-function instead of with-no-warnings.
503         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
504         (byte-compile-output-docform): Re-add the print-circle bindings.
505         (byte-compile-fix-header): Use #$ just because it's shorter.
506         (byte-compile-output-file-form): Remove defun/defmacro.
508 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
510         * simple.el (choose-completion): Remove now obsolete binding for
511         owindow.
513 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
515         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
516         in order to avoid "Stack overflow in regexp matcher".
518 2012-05-31  Glenn Morris  <rgm@gnu.org>
520         * image.el: For clarity, call imagemagick-register-types at
521         top-level, rather than relying on a custom :initialize.
522         (imagemagick-types-enable): New option.  (Bug#11557)
523         (imagemagick-filter-types): New function.  (Bug#7406)
524         (imagemagick-register-types): Use imagemagick-filter-types.
525         If disabling support, remove elements altogether rather
526         than using an impossible regexp.
527         (imagemagick-types-inhibit): Give it the default init function.
529 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
531         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
532         Handle arbitrary file name lengths (Bug#11585).
534 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
536         * desktop.el (desktop-read): Clear previous and next buffers for
537         all windows and bury *Messages* buffer (bug#11556).
539 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
541         Add `declare' for `defun'.  Align `defmacro's with it.
542         * emacs-lisp/easy-mmode.el (define-minor-mode)
543         (define-globalized-minor-mode): Don't autoload the var definitions.
544         * emacs-lisp/byte-run.el: Use lexical-binding.
545         (defun-declarations-alist, macro-declarations-alist): New vars.
546         (defmacro, defun): Use them.
547         (make-obsolete, define-obsolete-function-alias)
548         (make-obsolete-variable, define-obsolete-variable-alias):
549         Use `declare'.
550         (macro-declaration-function): Mark obsolete.
551         * emacs-lisp/autoload.el: Use lexical-binding.
552         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
554 2012-05-30  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
556         * textmodes/ispell.el (ispell-with-no-warnings):
557         Define as a macro.
558         (ispell-kill-ispell, ispell-change-dictionary):
559         Use `called-interactively-p' for Emacs instead of obsolete
560         `interactive-p'.
562 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
564         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
565         (macro-declaration-function): Move var from C code.
566         (macro-declaration-function): Define function with defalias.
567         * emacs-lisp/macroexp.el (macroexpand-all-1):
568         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
569         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
570         defun/defmacro any more.
571         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
572         Provide fallback for unknown arglist.
573         (byte-compile-arglist-warn): Change calling convention.
574         (byte-compile-output-file-form): Move print-vars binding.
575         (byte-compile-output-docform): Simplify accordingly.
576         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
577         (byte-compile-defmacro-declaration): Remove.
578         (byte-compile-file-form-defmumble): Generalize to defalias.
579         (byte-compile-output-as-comment): Return byte-positions.
580         Simplify callers accordingly.
581         (byte-compile-lambda): Use `assert'.
582         (byte-compile-defun, byte-compile-defmacro): Remove.
583         (byte-compile-file-form-defalias):
584         Use byte-compile-file-form-defmumble.
585         (byte-compile-defalias-warn): Remove.
587 2012-05-29  Stefan Merten  <smerten@oekonux.de>
589         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
590         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
592         (rst-mode-abbrev-table): Merge definition.
593         (rst-mode): Make sure `font-lock-defaults' is buffer local.
594         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
596 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
598         * calendar/icalendar.el
599         (icalendar-export-region): Export UID properly.
601 2012-05-29 Leo <sdl.web@gmail.com>
602         * calendar/icalendar.el (icalendar-import-format):
603         Add `icalendar-import-format-uid' (Bug#11525).
604         (icalendar-import-format-uid): New.
605         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
606         Export UID.
608 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
610         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
611         different alternative patterns.
612         (pcase-codegen): Be more careful to preserve identity.
613         (pcase--u1): Don't forget to mark vars as used.
615         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
616         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
617         (byte-compile-from-buffer): ...rather than here.
619         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
620         functions from byte-compile-function-environment.
622 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
624         * window.el (window-deletable-p): Avoid deleting the root window
625         of a frame with an active minibuffer.
627 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
629         * simple.el (choose-completion): Use quit-window (Bug#11567).
631 2012-05-29  Chong Yidong  <cyd@gnu.org>
633         * whitespace.el (whitespace-cleanup): Fix usage of
634         whitespace-empty-at-bob-regexp (Bug#11492).
636 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
638         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
639         revert (Bug#11488).
641 2012-05-29  Juri Linkov  <juri@jurta.org>
643         * isearch.el (isearch-mode-map): Bind `M-s _' to
644         `isearch-toggle-symbol'.  Bind `M-s c' to
645         `isearch-toggle-case-fold'.
646         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
647         (isearch-forward): Add `M-s _' to the docstring.
648         (isearch-forward-symbol, isearch-toggle-case-fold)
649         (isearch-symbol-regexp): New functions.  (Bug#11381)
651 2012-05-29  Juri Linkov  <juri@jurta.org>
653         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
654         (isearch-occur, isearch-search-and-update): If `isearch-word' is
655         a function, call it to get the regexp.
656         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
657         property `isearch-message-prefix' instead of the string "word ".
658         (isearch-search-fun-default): For the case of `isearch-word',
659         return a lambda that calls re-search-forward/re-search-backward
660         with a regexp returned by `word-search-regexp' or by the function
661         in `isearch-word'.
663 2012-05-29  Juri Linkov  <juri@jurta.org>
665         * isearch.el (isearch-search-fun-default): New function.
666         (isearch-search-fun): Move default part to the new function
667         `isearch-search-fun-default'.
668         (isearch-search-fun-function): Set the default value to
669         `isearch-search-fun-default'.  (Bug#11381)
671         * comint.el (comint-history-isearch-end):
672         Use `isearch-search-fun-default'.
673         (comint-history-isearch-search): Use `isearch-search-fun-default'
674         and remove spacial case for `isearch-word'.
675         (comint-history-isearch-wrap): Remove spacial case for
676         `isearch-word'.
678         * hexl.el (hexl-isearch-search-function):
679         Use `isearch-search-fun-default'.
681         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
682         Use `word-search-regexp' for `isearch-word'.
684         * misearch.el (multi-isearch-search-fun):
685         Use `isearch-search-fun-default'.
687         * simple.el (minibuffer-history-isearch-search):
688         Use `isearch-search-fun-default' and remove spacial case for
689         `isearch-word'.
690         (minibuffer-history-isearch-wrap): Remove spacial case for
691         `isearch-word'.
693         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
694         Remove spacial case for `isearch-word'.
695         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
697 2012-05-28  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
699         Decrease XEmacs incompatibilities.
700         * textmodes/flyspell.el (flyspell-check-pre-word-p):
701         Use `string-match'.
702         (flyspell-delete-region-overlays): Use alternative definition for
703         XEmacs.
704         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
705         (flyspell-word): Use `process-kill-without-query' if XEmacs.
706         (flyspell-mode-on): Use `interactive-p' if XEmacs.
707         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
708         `define-obsolete-face-alias' under XEmacs, but old method.
710         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
711         `with-no-warnings' definition or Emacs alias.
712         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
713         (ispell-word): Do not use `region-p' if XEmacs.
715 2012-05-28  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
717         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
718         Check for `ispell-dictionary-base-alist' instead of full
719         `ispell-dictionary-alist'.
720         (ispell-init-process): Show spellchecker when starting new Ispell
721         process.
723 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
725         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
726         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
728 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
730         * version.el (motif-version-string, gtk-version-string)
731         (ns-version-string): Declare.
733 2012-05-27  Juri Linkov  <juri@jurta.org>
735         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
736         after the `eval-defun-1' specialcaseing
737         like in `edebug-eval-defun' (bug#10181).
739         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
740         like in `eval-defun-1'.
742 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
744         * mail/sendmail.el (mail-yank-region):
745         Recognize rmail-yank-current-message in addition to insert-buffer.
746         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
747         a *mail* buffer created through rmail-start-mail with sendmail as
748         mail-user-agent.
750 2012-05-27  Chong Yidong  <cyd@gnu.org>
752         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
753         Default to 256 (Bug#11267).
755         * help.el (describe-mode): Doc fix.
757 2012-05-26  Glenn Morris  <rgm@gnu.org>
759         * w32-fns.el (w32-init-info): Remove.
760         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
762         * info.el (info-initialize): For self-contained NS builds, put the
763         included info/ directory at the front.  (Bug#2791)
765         * paths.el (Info-default-directory-list): Make it a defcustom,
766         mainly so that we can use custom-initialize-delay.
768 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
770         * subr.el (buffer-has-markers-at): Mark obsolete.
772         * subr.el (lambda): Use declare.
774         * emacs-lisp/lisp-mode.el (lambda):
775         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
777 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
779         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
781 2012-05-26  Glenn Morris  <rgm@gnu.org>
783         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
785 2012-05-25  Glenn Morris  <rgm@gnu.org>
787         * paths.el: Remove no-byte-compile.
788         * loadup.el: No need to load paths.el uncompiled.
790         * image.el (imagemagick-types-inhibit): Doc fix.
792         * version.el: Remove no-byte-compile and associated formatting.
793         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
794         is ancient code from when there was an "inc-vers.el".
796 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
798         * progmodes/gdb-mi.el: Minor style changes.
799         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
800         Turn into minor modes.
801         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
802         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
803         (gdb-shell): Remove unneeded let-binding.
804         (gdb-get-many-fields): Eliminate O(n²) behavior.
806 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
808         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
809         platforms that don't link in fontset.c.
811 2012-05-25  Juri Linkov  <juri@jurta.org>
813         Use the same diff color scheme as in modern VCSes (bug#10181).
815         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
816         to avoid confusion with `diff-added' that now uses green colors.
817         (diff-removed): Use shades of red.
818         (diff-added): Use shades of green.
819         (diff-changed): Leave just the yellow color.
820         (diff-use-changed-face): New variable.
821         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
822         how to highlight context diff changes.
823         (diff-refine-change): Use shades of yellow.
824         (diff-refine-removed): New face that uses shades of red.
825         (diff-refine-added): New face that uses shades of green.
826         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
827         `diff-refine-removed' in the call to `smerge-refine-subst'
828         depending on the value of `diff-use-changed-face'.
830         * vc/smerge-mode.el (smerge-mine): Use shades of red.
831         (smerge-other): Use shades of green.
832         (smerge-base): Use shades of yellow.
833         (smerge-refined-change): Empty face.
834         (smerge-refined-removed): New face that uses shades of red.
835         (smerge-refined-added): New face that uses shades of green.
836         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
837         args `props-r' and `props-a', and use them.  Doc fix.
838         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
839         on its value use different faces `smerge-refined-change',
840         `smerge-refined-removed', `smerge-refined-added' in the call to
841         `smerge-refine-subst'.
843         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
844         Add face condition `min-colors 88' with shades of red.
845         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
846         `min-colors 88' with shades of green.
847         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
848         `min-colors 88' with shades of yellow.
850 2012-05-24  Glenn Morris  <rgm@gnu.org>
852         * paths.el (prune-directory-list, remote-shell-program): Move to...
853         * files.el (prune-directory-list, remote-shell-program): ...here.
854         For the latter, delay initialization, prefer ssh, just search PATH.
856         * paths.el (term-file-prefix): Move to faces.el (the only user).
857         * faces.el (term-file-prefix): Move here, make it a defcustom.
859         * paths.el (news-directory, news-path, news-inews-program):
860         Move to gnus/nnspool.el.
862         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
864         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
865         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
866         Make the latter a defcustom, with a delayed initialization.
868         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
869         These were deleted from Gnus itself late 2010.
871 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
873         * progmodes/which-func.el (which-func-ff-hook):
874         Check against user-error, not error.
876         * emacs-lisp/edebug.el (top): Do not load or set up loading of
877         cl-specs.el, which no longer exists.
879 2012-05-22  Glenn Morris  <rgm@gnu.org>
881         * info.el (info-emacs-bug): New command.
882         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
883         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
885 2012-05-21  Glenn Morris  <rgm@gnu.org>
887         * makefile.w32-in (update-subdirs-SH):
888         * Makefile.in (update-subdirs): Update for moved update-subdirs.
890 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
892         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
894         * progmodes/compile.el (compilation-error-regexp-alist-alist):
895         Simplify Maven regexp, and make sure the file can't start with a space
896         (bug#11517).
898 2012-05-21  Glenn Morris  <rgm@gnu.org>
900         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
901         Scrap superfluous subshells.
903 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
905         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
906         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
908 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
910         * calc/calc.el (calc-ensure-consistent-units): New variable.
912         * calc/calc-units.el (math-consistent-units-p)
913         (math-check-unit-consistency): New functions.
914         (calc-quick-units, calc-convert-units):
915         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
916         is non-nil.
917         (calc-extract-units): Fix typo.
919 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
921         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
923         * textmodes/flyspell.el: Commenting style, plus code simplifications.
924         (flyspell-default-deplacement-commands): Don't spell check after
925         repeated window/frame switches (e.g. triggered by mouse-movement).
926         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
927         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
928         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
929         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
930         Remove unused vars.
931         (flyspell-get-casechars, flyspell-get-not-casechars):
932         Simplify; Don't bother removing a ] just to add it back.
933         * textmodes/ispell.el (ispell-program-name): Use executable-find.
935 2012-05-18  RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
937         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
938         New functions.
939         (math-function-table): Add support for more C functions.
941 2012-05-18  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
943         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
944         (flyspell-debug-signal-word-checked): Protect delay handling for
945         otherchars against empty otherchars.
947 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
949         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
950         their respective macro declarations.
951         * skeleton.el (define-skeleton):
952         * progmodes/compile.el (define-compilation-mode):
953         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
954         (define-ibuffer-filter):
955         * emacs-lisp/generic.el (define-generic-mode):
956         * emacs-lisp/easy-mmode.el (define-minor-mode)
957         (define-globalized-minor-mode):
958         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
959         * emacs-lisp/byte-run.el (defsubst):
960         * custom.el (deftheme): Add doc-string metadata.
962 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
964         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
966 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
968         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
970         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
971         * emacs-lisp/cl-macs.el: Idem.
972         * emacs-lisp/cl-specs.el: Remove.
974 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
976         Minor renaming of internal CL functions and variables.
977         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
978         (cl--position): Rename from cl-position.
979         (cl--delete-duplicates): Rename from cl-delete-duplicates.
980         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
981         (cl--random-state): Rename from *random-state*.
983 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
985         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
986         parens around the arg list (bug#11499).
988 2012-05-17  Juri Linkov  <juri@jurta.org>
990         * isearch.el (word-search-regexp, word-search-backward)
991         (word-search-forward, word-search-backward-lax)
992         (word-search-forward-lax): Move functions from search.c
993         (bug#10145, bug#11381).
995 2012-05-16  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
997         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
998         (flyspell-debug-signal-word-checked): Delay for otherchars as for
999         normal word components.
1001 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1003         * minibuffer.el (completion--sifn-requote): Fix last change.
1004         (minibuffer-local-must-match-filename-map):
1005         Move define-obsolete-variable-alias before its var.
1007 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1009         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1011         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1012         behavior.
1013         (completion--string-equal-p): New function.
1014         (completion--twq-all): Use it to get better assertion failure data.
1016         Only handle ".." and '..' quoting in shell-mode (bug#11466).
1017         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1018         (shell--requote-argument): New functions.
1019         (shell-completion-vars): Use them.
1020         (shell--parse-pcomplete-arguments): Rename from
1021         shell-parse-pcomplete-arguments.
1022         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
1023         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1024         Obey comint-file-name-quote-list.
1026         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1027         (smie-indent-keyword): Use it.
1029 2012-05-14  Stefan Merten  <smerten@oekonux.de>
1031         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1033 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1035         * net/rlogin.el (rlogin-mode-map): Fix last change.
1037 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
1039         * mail/smtpmail.el (smtpmail-send-command): Send the command and
1040         the following \r\n using a single `process-send-string', since the
1041         Lotus SMTP server refuses to accept any commands if they are sent
1042         with two `process-send-string's (Bug#11444).
1044 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1046         * shell.el (shell-parse-pcomplete-arguments):
1047         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1049 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
1051         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1052         (image-transform-scale, image-transform-right-angle-fudge): New vars.
1053         (image-transform-width, image-transform-fit-width): New functions.
1054         (image-transform-properties): Use them.
1055         (image-transform-check-size): New function.
1056         (image-toggle-display-image): Use it (for testing).
1057         (image-transform-set-rotation): Reduce angle mod 360.
1058         Delete obsolete comment.
1060 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
1062         * image-mode.el: Fix scaling (bug#11399).
1063         (image-transform-resize): Doc fix.
1064         (image-transform-properties): Default scale is 1 and height should
1065         be an integer.
1067 2012-05-13  Johan BockgĂ¥rd  <bojohan@gnu.org>
1069         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1070         than hard-coding `car', to fix misbehavior when moving forward.
1072 2012-05-13  Chong Yidong  <cyd@gnu.org>
1074         * emacs-lisp/tabulated-list.el (tabulated-list-format)
1075         (tabulated-list-entries, tabulated-list-padding)
1076         (tabulated-list-sort-key): Make permanent-local.
1078         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1079         (electric-buffer-list): Put electric buffer menu
1080         command descriptions in this docstring, instead of the docstring
1081         of electric-buffer-menu-mode.  Code cleanups.
1082         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
1083         Electric-buffer-menu-mode.
1084         (electric-buffer-update-highlight): Minor code cleanup.
1086 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
1088         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1089         (Bug#11447)
1091 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1093         Move define-obsolete-variable-alias before the var's definition.
1094         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1095         * tooltip.el (tooltip-hook):
1096         * textmodes/reftex-toc.el (reftex-toc-map):
1097         * textmodes/reftex-sel.el (reftex-select-label-map)
1098         (reftex-select-bib-map):
1099         * textmodes/reftex-index.el (reftex-index-map)
1100         (reftex-index-phrases-map):
1101         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1102         * progmodes/meta-mode.el (meta-mode-map):
1103         * novice.el (disabled-command-hook):
1104         * loadhist.el (unload-hook-features-list):
1105         * frame.el (blink-cursor):
1106         * files.el (find-file-not-found-hooks, write-file-hooks)
1107         (write-contents-hooks):
1108         * emulation/tpu-edt.el (GOLD-map):
1109         * emacs-lock.el (emacs-lock-from-exiting):
1110         * emacs-lisp/generic.el (generic-font-lock-defaults):
1111         * emacs-lisp/chart.el (chart-map):
1112         * dos-fns.el (register-name-alist):
1113         * dired-x.el (dired-omit-files-p):
1114         * desktop.el (desktop-enable):
1115         * cus-edit.el (custom-mode-hook):
1116         * buff-menu.el (buffer-menu-mode-hook):
1117         * bookmark.el (bookmark-read-annotation-text-func)
1118         (bookmark-exit-hooks):
1119         * allout.el (allout-mode-deactivate-hook)
1120         (allout-exposure-change-hook, allout-structure-added-hook)
1121         (allout-structure-deleted-hook, allout-structure-shifted-hook):
1122         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1123         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1124         comes before the corresponding variable's definition.
1126 2012-05-12  Chong Yidong  <cyd@gnu.org>
1128         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1129         (Buffer-menu-mouse-select): Restore function (Bug#11459).
1130         (Buffer-menu-mode-map): Bind it.
1131         (Buffer-menu--pretty-name): Add a mouse-face property.
1133 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1135         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
1136         (prolog-upper-case-string, prolog-lower-case-string)
1137         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1138         (prolog-use-smie, prolog-smie-grammar): New vars.
1139         (prolog-smie-forward-token, prolog-smie-backward-token)
1140         (prolog-smie-rules): New funs.
1141         (prolog-comment-indent): Remove.
1142         (prolog-mode-variables): Use default comment indentation instead.
1143         Setup SMIE.
1144         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1145         (prolog-mode): Don't call them any more.
1146         (prolog-electric-colon, prolog-electric-dash)
1147         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1149         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1151         * minibuffer.el (completion--twq-all): Again, allow case differences.
1153         * term.el: Move keymap initialization code to be more idiomatic.
1154         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1155         (term-terminal-menu): Move initialization into declaration.
1156         (term-escape-char): Let the user set it in her .emacs.
1158         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1159         Provide SMIE-based indentation (not enabled by default yet).
1160         (sh-mode-map): Don't bind electric keys.
1161         Use electric-pair-mode instead of skeleton-pair.
1162         (sh-assignment-regexp): Fit within 80 columns.
1163         (sh-indent-supported): Specify actual shell name instead of boolean.
1164         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1165         (sh-maybe-here-document): Use it.  Make obsolete.
1166         (sh-electric-here-document-mode) New minor mode.
1167         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
1168         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1169         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1170         (sh-smie-rc-grammar, sh-use-smie): New vars.
1171         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1172         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1173         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1174         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1175         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1176         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1177         (sh-set-shell): Use smie-setup if requested.
1179         * term.el (term-set-escape-char): Properly set term-escape-char.
1180         See http://stackoverflow.com/questions/10524656.
1182 2012-05-10  Chong Yidong  <cyd@gnu.org>
1184         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1185         Use url-generic-parse-url, and handle host names and Windows
1186         filenames properly.
1187         (ffap-url-unwrap-remote): Use url-generic-parse-url.
1188         (ffap-url-unwrap-remote): Accept list values, specifying a list of
1189         URL schemes to work on.
1190         (ffap--toggle-read-only): New function.
1191         (ffap-read-only, ffap-read-only-other-window)
1192         (ffap-read-only-other-frame): Use it.
1193         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1194         necessary for ffap-url-unwrap-remote.
1196 2012-05-10  Dave Abrahams  <dave@boostpro.com>
1198         * cus-start.el (create-lockfiles): Add it.
1200 2012-05-09  Chong Yidong  <cyd@gnu.org>
1202         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1203         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1205 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1207         * shell.el (shell-completion-vars): Fix last change (bug#11348).
1209 2012-05-09  Chong Yidong  <cyd@gnu.org>
1211         * ansi-color.el (ansi-color-process-output): Check for validity of
1212         comint-last-output-start before using it.  This avoids a bad
1213         interaction with gdb-mi's input/output buffer.
1215 2012-05-09  Glenn Morris  <rgm@gnu.org>
1217         * files.el (dir-locals-read-from-file):
1218         Mention dir-locals in any error message.
1220 2012-05-09  Chong Yidong  <cyd@gnu.org>
1222         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1223         package (Bug#11410).
1225         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1226         variables into description.
1228 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1230         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1231         shell-delimiter-argument-list (bug#11348).
1232         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1234 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
1236         * textmodes/rst.el: Silence byte-compiler warnings.
1237         (rst-re-alist, rst-reset-section-caches): Move around.
1238         (rst-re): Use `characterp', not `char-valid-p'.
1239         (font-lock-beg, font-lock-end): Declare.
1241         * progmodes/idlw-shell.el (specs): Remove reference to deleted
1242         variable `idlwave-shell-activate-alt-keybindings' and simplify.
1244         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1246 2012-05-08  Glenn Morris  <rgm@gnu.org>
1248         * files.el (auto-mode-alist): Treat ".make" like ".mk".
1250 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1252         * vc/log-edit.el: Add GNU coding standards highlighting.
1253         (log-edit-font-lock-gnu-style)
1254         (log-edit-font-lock-gnu-keywords): New vars.
1255         (log-edit-font-lock-keywords): New fun.
1256         (log-edit-mode): Don't fold case in font-lock.
1257         (log-edit-font-lock-keywords): Do not assume case-folding.
1259         * imenu.el: Misc cleanup.  Make docstrings out of comments.
1260         Use lexical-binding.
1261         (imenu--index-alist, imenu--last-menubar-index-alist)
1262         (imenu-menubar-modified-tick): Use defvar-local.
1263         (imenu--split-menu): Remove unused var.
1264         (imenu--cleanup-seen): Declare as global.
1265         (imenu--cleanup): Use dolist.
1267         * subr.el (defvar-local): Add debug spec and doc-string position.
1269 2012-05-08  Glenn Morris  <rgm@gnu.org>
1271         * lisp/language/burmese.el, language/cham.el, language/czech.el:
1272         * language/english.el, language/georgian.el, language/greek.el:
1273         * language/japanese.el, language/khmer.el, language/korean.el:
1274         * language/lao.el, language/misc-lang.el, language/romanian.el:
1275         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1276         * language/thai.el, language/utf-8-lang.el:
1277         Remove no-byte-compile setting.
1279         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
1281 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1283         * progmodes/make-mode.el (makefile-browse):
1284         Remove unnecessary interactive.  (Bug#11324)
1286 2012-05-07  Glenn Morris  <rgm@gnu.org>
1288         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1290         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1292 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1294         * loadup.el: Preload newcomment.el.
1295         * newcomment.el: Move autoload-only code to toplevel.
1297         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1298         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1299         Handle new :right-align column property.
1300         (tabulated-list-print-col): Idem, plus use `display' text-property to
1301         try and preserve alignment for variable pitch fonts.
1303 2012-05-07  Chong Yidong  <cyd@gnu.org>
1305         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1306         (tabulated-list-use-header-line): New var.
1307         (tabulated-list-init-header): Use it.
1308         (tabulated-list-print-fake-header): New function.
1309         (tabulated-list-print): Use it.
1310         (tabulated-list-sort-button-map): Add non-header-line commands.
1311         (tabulated-list-init-header): Add column name property to basic
1312         labels as well.
1313         (tabulated-list-col-sort): Handle non-header-line button case.
1314         (tabulated-list--sort-by-column-name): Fix a corner case.
1316         * buff-menu.el (list-buffers--refresh):
1317         Handle Buffer-menu-use-header-line.
1319 2012-05-06  Chong Yidong  <cyd@gnu.org>
1321         * buff-menu.el: Convert to Tabulated List mode.
1322         (Buffer-menu-buffer+size-width): Make obsolete.
1323         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1324         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1325         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
1326         documentation into docstring of buffer-menu.
1327         (Buffer-menu-toggle-files-only): Add an informative message.
1328         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1329         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1330         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1331         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1332         (Buffer-menu-execute, Buffer-menu-select)
1333         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1334         (Buffer-menu-bury): Use Tabulated List machinery.
1335         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1336         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1337         Delete.
1338         (list-buffers--refresh): New function.
1339         (list-buffers-noselect): Use it.
1340         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1341         (Buffer-menu--pretty-file-name): New helper functions.
1343         * loadup.el: Preload tabulated-list.
1345         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1346         tabulated-list-sort-column.
1347         (tabulated-list-init-header): Add the initial aligning space even
1348         if tabulated-list-padding is zero.
1350 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
1352         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1353         whose cdr is not a cons cell correctly (bug#11038).
1355 2012-05-06  Chong Yidong  <cyd@gnu.org>
1357         * emacs-lisp/tabulated-list.el (tabulated-list-format):
1358         Accept additional plist in column descriptors.
1359         (tabulated-list-init-header): Obey it.
1360         (tabulated-list-get-entry): New function.
1361         (tabulated-list-put-tag): Use it.  Use string-width instead of
1362         length.
1363         (tabulated-list--column-number): New function.
1364         (tabulated-list-print): Use it.
1365         (tabulated-list-print-col): New function.
1366         Set `tabulated-list-column-name' property on each column's text.
1367         (tabulated-list-print-entry): Use it.
1368         (tabulated-list-delete-entry, tabulated-list-set-col):
1369         New functions.
1370         (tabulated-list-sort-column): New command (Bug#11337).
1372         * buff-menu.el (list-buffers): Move C-x C-b binding from
1373         buff-menu.el to bindings.el.
1375         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1376         :advertised-binding feature.
1378 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
1380         * progmodes/compile.el (compilation-internal-error-properties):
1381         Calculate start position correctly when end-col is set but
1382         end-line is not (Bug#11382).
1384 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
1386         * man.el (Man-unindent): Use text-property-default-nonsticky to
1387         prevent untabify from inheriting face properties (Bug#11408).
1389 2012-05-05  Stefan Merten  <smerten@oekonux.de>
1391         * textmodes/rst.el: Major merge with upstream development up to
1392         Docutils SVN r7399 / rst.el V1.2.1.
1394         Clarify maintainership and authors.
1396         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1397         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1398         (rst-official-version, rst-official-cvs-rev, rst-version)
1399         (rst-package-emacs-version-alist): New functions and variables
1400         for version information.
1402         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1403         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1404         (rst-mode-syntax-table, rst-mode): New and corrected functions
1405         and variables representing reStructuredText features.
1407         (rst-re): New function for reStructuredText regexes.  Use in
1408         many places.
1410         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1411         (rst-mode-map): Rebind keys.
1413         (rst-mode-lazy, rst-font-lock-keywords)
1414         (rst-font-lock-extend-region)
1415         (rst-font-lock-extend-region-internal)
1416         (rst-font-lock-extend-region-extend)
1417         (rst-font-lock-find-unindented-line-limit)
1418         (rst-font-lock-find-unindented-line-match)
1419         (rst-adornment-level, rst-font-lock-adornment-level)
1420         (rst-font-lock-adornment-match)
1421         (rst-font-lock-handle-adornment-pre-match-form)
1422         (rst-font-lock-handle-adornment-matcher): Major revision of
1423         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
1425         (rst-preferred-adornments, rst-adjust-hook)
1426         (rst-new-adornment-down, rst-preferred-bullets)
1427         (rst-preferred-bullets, rst-indent, rst-indent-width)
1428         (rst-indent-field, rst-indent-literal-normal)
1429         (rst-indent-literal-minimized, rst-indent-comment): Change,
1430         extend and improve customization.
1432         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1433         (rst-normalize-cursor-position, rst-get-decoration)
1434         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1435         (rst-rstrip, rst-toc-insert-find-delete-contents)
1436         (rst-shift-fill-region, rst-compute-bullet-tabs)
1437         (rst-debug-print-tabs, rst-debug-mark-found)
1438         (rst-shift-region-guts, rst-shift-region-right)
1439         (rst-shift-region-left, rst-use-char-classes)
1440         (rst-font-lock-keywords-function)
1441         (rst-font-lock-indentation-point)
1442         (rst-font-lock-find-unindented-line-begin)
1443         (rst-font-lock-find-unindented-line-end)
1444         (rst-font-lock-find-unindented-line)
1445         (rst-font-lock-adornment-point, rst-font-lock-level)
1446         (rst-adornment-level-alist): Remove functions and variables.
1448         (rst-compare-adornments, rst-get-adornment-match)
1449         (rst-suggest-new-adornment, rst-get-adornments-around)
1450         (rst-adornment-complete-p, rst-get-next-adornment)
1451         (rst-adjust-adornment, rst-display-adornments-hierarchy)
1452         (rst-straighten-adornments): Standardize function names to
1453         use "adornment" instead of "decoration".  Correct callers.
1454         Similar standardizing in many places.
1456         (rst-update-section, rst-adjust, rst-promote-region)
1457         (rst-enumerate-region, rst-bullet-list-region)
1458         (rst-repeat-last-character): Correct use of `interactive'.
1460         (rst-classify-adornment, rst-find-all-adornments)
1461         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1462         (rst-find-leftmost-column, rst-repeat-last-character):
1463         Refactor functions.
1465         (rst-find-title-line, rst-reset-section-caches)
1466         (rst-get-adornments-around, rst-adjust-adornment-work)
1467         (rst-arabic-to-roman, rst-roman-to-arabic)
1468         (rst-insert-list-pos, rst-insert-list-new-item)
1469         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1470         New functions.
1472         (rst-all-sections, rst-section-hierarchy)
1473         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1474         New variables.
1476         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1477         configuration instead of only buffer.  Change where necessary.
1479         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1480         (rst-shift-region, rst-adaptive-fill): New functions for
1481         indentation and filling.
1483         (rst-comment-line-break, rst-comment-indent)
1484         (rst-comment-insert-comment, rst-comment-region)
1485         (rst-uncomment-region): New functions for handling comments.
1487         (rst-compile): Quote shell arguments.
1489         (rst-compile-pdf-preview, rst-compile-slides-preview):
1490         Delete temporary files after use.
1492 2012-05-05  Glenn Morris  <rgm@gnu.org>
1494         * calendar/cal-html.el: Optionally include holidays in the output.
1495         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1496         (cal-html-holidays): New option.
1497         (cal-html-css-default): Add holiday entry.
1498         (holiday-in-range): Autoload it.
1499         (cal-html-htmlify-entry): Add optional class argument.
1500         (cal-html-htmlify-list): Add optional holidays argument.
1501         (cal-html-insert-agenda-days): Include holidays in the output.
1502         (cal-html-one-month): Maybe include holidays.
1504         * calendar/holidays.el (holiday-in-range):
1505         Move here from cal-tex-list-holidays.
1506         * calendar/cal-tex.el (cal-tex-list-holidays):
1507         Make it an obsolete alias for holiday-in-range.  Update all callers.
1509 2012-05-05  Chong Yidong  <cyd@gnu.org>
1511         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1512         Nextstep.
1514 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
1516         * files.el (file-auto-mode-skip): New var.
1517         (set-auto-mode-1): Use it.
1519 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1521         * repeat.el: Use lexical-binding.
1522         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1523         (repeat-undo-count): Remove.
1524         (repeat):
1525         * progmodes/octave-mod.el (octave-abbrev-start):
1526         * progmodes/f90.el (f90-abbrev-start):
1527         * face-remap.el (text-scale-adjust):
1528         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1530         * emacs-lisp/pcase.el (pcase--let*): New function.
1531         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1532         a bit more.
1533         (pcase--split-pred): Be more clever about ruling out overlap between
1534         a predicate and some constant pattern.
1535         (pcase--q1): Use `null' instead of (eq foo nil).
1537         * subr.el (setq-local, defvar-local): New macros.
1538         (kbd): Redefine as an alias.
1539         (with-selected-window): Leave unrelated frames alone.
1540         (set-temporary-overlay-map): New function.
1542 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1544         * subr.el (user-error): New function.
1545         * window.el (switch-to-buffer):
1546         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1547         (smerge-match-conflict):
1548         * simple.el (previous-matching-history-element)
1549         (next-matching-history-element, goto-history-element, undo-more)
1550         (undo-start):
1551         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1552         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1553         (next-file, tags-loop-scan, list-tags, complete-tag):
1554         * progmodes/compile.el (compilation-loop):
1555         * mouse.el (mouse-minibuffer-check):
1556         * man.el (Man-bgproc-sentinel, Man-goto-page):
1557         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1558         (Info-history-forward, Info-follow-reference, Info-menu)
1559         (Info-extract-menu-item, Info-extract-menu-counting)
1560         (Info-forward-node, Info-backward-node, Info-next-menu-item)
1561         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1562         (Info-next-reference, Info-prev-reference, Info-index)
1563         (Info-index-next, Info-follow-nearest-node)
1564         (Info-copy-current-node-name):
1565         * imenu.el (imenu--make-index-alist)
1566         (imenu-default-create-index-function, imenu-add-to-menubar):
1567         * files.el (basic-save-buffer, recover-file):
1568         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1569         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1570         (checkdoc-message-text, checkdoc-defun):
1571         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1572         * cus-edit.el (customize-changed-options, customize-rogue)
1573         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1574         (custom-variable-mark-to-reset-standard)
1575         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1576         (custom-file):
1577         * completion.el (check-completion-length):
1578         * comint.el (comint-search-arg)
1579         (comint-previous-matching-input-string-position)
1580         (comint-previous-matching-input)
1581         (comint-replace-by-expanded-history-before-point, comint-send-input)
1582         (comint-copy-old-input, comint-backward-matching-input)
1583         (comint-goto-process-mark, comint-set-process-mark):
1584         * calendar/calendar.el (calendar-cursor-to-date): Use it.
1585         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1587 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1589         * dabbrev.el (dabbrev--ignore-case-p): New function.
1590         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1591         Use it.
1593         * files.el (automount-dir-prefix): Mark as obsolete.
1595 2012-05-04  Glenn Morris  <rgm@gnu.org>
1597         * patcomp.el, play/bruce.el: Move to obsolete/.
1599 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
1601         Fix minor Y10k bugs.
1602         * arc-mode.el (archive-unixdate):
1603         * autoinsert.el (auto-insert-alist):
1604         * calc/calc-forms.el (math-this-year):
1605         * emacs-lisp/copyright.el (copyright-current-year)
1606         (copyright-update-year, copyright):
1607         * tar-mode.el (tar-clip-time-string):
1608         * time.el (display-time-update):
1609         Don't assume years have 4 digits.
1611 2012-05-04  Chong Yidong  <cyd@gnu.org>
1613         * dos-w32.el (file-name-buffer-file-type-alist)
1614         (direct-print-region-use-command-dot-com):
1615         * ffap.el (ffap-menu-regexp):
1616         * find-file.el (ff-special-constructs):
1617         * follow.el (follow-debug):
1618         * forms.el (forms--debug):
1619         * iswitchb.el (iswitchb-all-frames):
1620         * ido.el (ido-all-frames):
1621         * emacs-lisp/timer.el (timer-max-repeats):
1622         * mail/feedmail.el (feedmail-mail-send-hook)
1623         (feedmail-mail-send-hook-queued):
1624         * mail/footnote.el (footnote-signature-separator):
1625         * mail/mailabbrev.el (mail-alias-separator-string)
1626         (mail-abbrev-mode-regexp):
1627         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1628         * progmodes/idlwave.el (idlwave-libinfo-file)
1629         (idlwave-default-completion-case-is-down)
1630         (idlwave-library-routines): Convert defvars to defcustoms.
1632         * mail/rmail.el (rmail-decode-mime-charset):
1633         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1634         (idlwave-shell-fix-inserted-breaks)
1635         (idlwave-shell-activate-alt-keybindings)
1636         (idlwave-shell-use-breakpoint-glyph):
1637         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1639 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1641         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1643 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
1645         * progmodes/verilog-mode.el (font-lock-keywords):
1646         Fix mis-highligting auto.  Reported by Craig Barner.
1647         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1648         defines from global name space. Reported by Dan Dever.
1649         (verilog-auto-reset, verilog-auto-reset-widths)
1650         (verilog-auto-tieoff): Support using unbased numbers for
1651         AUTORESET and AUTOTIEOFF.
1652         (verilog-submit-bug-report): Update variable list.
1653         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1654         parenthesis from not matching. Reported by Michael Rytting.
1655         (verilog-auto-template-lint): Fix hash error when linting modules
1656         with no used templates.
1657         (verilog-warn, verilog-warn-error)
1658         (verilog-warn-fatal): When non-interactive report multiple
1659         warnings before exiting.  Suggested by Brad Dobbie.
1660         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1661         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1662         to report unused template errors.  Reported by Brad Dobbie.
1663         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1664         nets, bug438. Reported by Vns Blore.
1665         (verilog-auto-inout-module, verilog-auto-reg)
1666         (verilog-read-decls, verilog-read-sub-decls-sig)
1667         (verilog-signals-edit-wire-reg, verilog-signals-with):
1668         Fix passing of Verilog data types in ANSI input/output ports
1669         such as "output logic" into the AUTOs. Special case "wire" and
1670         "reg" for backwards compatibility presuming Verilog 2001.
1671         (verilog-auto-ascii-enum): Add "auto enum" as alias.
1672         (verilog-preprocess): Fix replication of preprocess output.
1673         Reported by Brad Dobbie.
1674         (verilog-auto-inst-interfaced-ports):
1675         Create verilog-auto-inst-interfaced-ports, bug429.
1676         Reported by Julian Gorfajn.
1677         (verilog-after-save-font-hook)
1678         (verilog-before-save-font-hook): New variable.
1679         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1680         (verilog-save-font-mods): Wrap disabling fontification, reported
1681         by David Rogoff.
1682         (verilog-do-indent, verilog-pretty-declarations-auto)
1683         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1684         Reported by Pierre-David Pfister.
1685         (verilog-set-auto-endcomments): Fix endtask auto comments outside
1686         of class declarations, bug292.  Reported by Kevin Heilman.
1687         (verilog-read-decls): Fix 'parameter type' not appearing in
1688         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
1689         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1690         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1691         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1692         Reported by David Kravitz.
1694 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
1696         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1697         assignment with tests in ifs and for loops.
1698         (verilog-extended-complete-re, verilog-complete-reg): Change so
1699         that DPI inport functions don't look like fuction declarations.
1700         (verilog-pretty-expr): Don't line up assignment
1701         operations to the test and increment in if and for loops
1702         (verilog-extended-complete-re, verilog-complete-reg): Change so
1703         that DPI inport functions don't look like fuction declarations
1705 2012-05-03  Kenichi Handa  <handa@m17n.org>
1707         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1708         decoding, and show a warning message without signaling an error
1709         (Bug#11282).
1711 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1713         * emacs-lisp/bytecomp.el
1714         (byte-compile-file-form-custom-declare-variable): Compile all elements,
1715         since cconv.el might have introduced :fun-body, internal-make-closure,
1716         and friends for bytecomp to handle (bug#11391).
1717         * custom.el (defcustom): Avoid ((λ ..) ..).
1719 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1721         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1723 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
1725         * notifications.el (dbus-debug):
1726         * term/linux.el (gpm-mouse-enable):
1727         * term/screen.el (xterm-register-default-colors): Declare.
1729 2012-05-02  Chong Yidong  <cyd@gnu.org>
1731         * cus-start.el (gc-cons-percentage, exec-suffixes)
1732         (dos-display-scancodes, dos-hyper-key, dos-super-key)
1733         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1734         (make-cursor-line-fully-visible, void-text-area-pointer)
1735         (font-list-limit): Add customization data.
1737         * allout.el (allout-exposure-change-functions)
1738         (allout-structure-added-functions)
1739         (allout-structure-deleted-functions)
1740         (allout-structure-shifted-functions): Rename abnormal hooks from
1741         *-hook, and convert to defcustoms.
1742         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1743         Convert to defcustoms.
1744         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1746         * allout-widgets.el: Hook callers changed.
1748 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
1750         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1751         the yanked message in preference to the default value of
1752         buffer-file-coding-system.
1754 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
1756         * window.el (display-buffer--action-function-custom-type):
1757         Fix entry.
1759 2012-05-02  Alan Mackenzie  <acm@muc.de>
1761         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1763 2012-05-01  Glenn Morris  <rgm@gnu.org>
1765         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1767         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
1769         * cus-edit.el (custom-variable-documentation): Simplify with format.
1771 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1772             Stefan Monnier  <monnier@iro.umontreal.ca>
1774         * simple.el (suggest-key-bindings, execute-extended-command):
1775         Move from keyboard.c.
1777 2012-05-01  Chong Yidong  <cyd@gnu.org>
1779         * follow.el: Eliminate advice.
1780         (set-process-filter, process-filter, sit-for): Advice deleted.
1781         (follow-mode-off-hook): Obsolete hook removed.
1782         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1783         Vars deleted.
1784         (follow-auto): Use a :set function.
1785         (follow-mode): Rewritten.  Don't advise process filters.
1786         (follow-switch-to-current-buffer-all, follow-scroll-up)
1787         (follow-scroll-down): Assume follow-mode is bound.
1788         (follow-comint-scroll-to-bottom)
1789         (follow-align-compilation-windows): New functions.
1790         (follow--window-sorter): New function.
1791         (follow-all-followers): Use it to explicitly sort windows by their
1792         positions; don't make assumptions about next-window order.
1793         (follow-windows-start-end, follow-delete-other-windows-and-split)
1794         (follow-calc-win-start): Doc fix.
1795         (follow-windows-aligned-p, follow-select-if-visible): Don't call
1796         vertical-motion unnecessarily.
1797         (follow-adjust-window): New function.
1798         (follow-post-command-hook): Use it.
1799         (follow-call-set-process-filter, follow-call-process-filter)
1800         (follow-intercept-process-output, follow-tidy-process-filter-alist)
1801         (follow-stop-intercept-process-output, follow-generic-filter):
1802         Functions deleted.
1803         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1804         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1805         New functions, replacing advice on scroll-bar-* commands.
1806         (follow-mwheel-scroll): New function (Bug#4112).
1808         * comint.el (comint-adjust-point): New function.
1809         (comint-postoutput-scroll-to-bottom): Use it.
1810         Call follow-comint-scroll-to-bottom for Follow mode buffers.
1812 2012-05-01  Glenn Morris  <rgm@gnu.org>
1814         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1815         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1816         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1817         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1818         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1819         Remove no-byte-compile setting.
1821 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1823         * minibuffer.el (completion-table-with-quoting): Fix compatibility
1824         all-completions code to not return a number in the last cdr.
1826 2012-04-30  Leo Liu  <sdl.web@gmail.com>
1828         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1829         read-only error.
1831 2012-04-29  Chong Yidong  <cyd@gnu.org>
1833         * follow.el (follow-calc-win-end): Rewrite to handle partial
1834         screen lines correctly (Bug#8390).
1835         (follow-avoid-tail-recenter): Minor cleanup.
1837 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1839         Avoid the obsolete `assoc' package.
1840         * speedbar.el (speedbar-refresh): Avoid adelete.
1841         (speedbar-file-lists): Simplify and avoid aput.
1842         * man.el (Man--sections, Man--refpages): New vars, replacing
1843         Man-sections-alist and Man-refpages-alist.
1844         (Man-build-section-alist, Man-build-references-alist):
1845         Use them; avoid aput.
1846         (Man--last-section, Man--last-refpage): New vars.
1847         (Man-follow-manual-reference): Use them.
1848         Use the `default' arg of completing-read.
1849         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
1851 2012-04-27  Chong Yidong  <cyd@gnu.org>
1853         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1855         * startup.el (x-apply-session-resources): New function.
1857         * term/ns-win.el (ns-initialize-window-system):
1858         * term/w32-win.el (w32-initialize-window-system):
1859         * term/x-win.el (x-initialize-window-system): Use it to properly
1860         set menu-bar-mode and other vars from X resources, even if the
1861         initial frame is not a window-system frame (Bug#2299).
1863         * subr.el (read-key): Avoid running filter function when setting
1864         up temporary tool bar entries (Bug#9922).
1866 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
1868         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1869         (Bug#11344)
1871 2012-04-27  Chong Yidong  <cyd@gnu.org>
1873         * select.el (xselect--encode-string): New function, split from
1874         xselect-convert-to-string.
1875         (xselect-convert-to-string): Use it.
1876         (xselect-convert-to-filename, xselect-convert-to-os)
1877         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1878         returned strings are properly encoded (Bug#11315).
1880 2012-04-27  Chong Yidong  <cyd@gnu.org>
1882         * simple.el (delete-active-region): Move to killing custom group.
1884 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
1886         * progmodes/which-func.el (which-func-current): Quote %
1887         characters for mode-line processing.
1889 2012-04-27  Chong Yidong  <cyd@gnu.org>
1891         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1892         reaching eob (Bug#11286).
1894 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
1896         * progmodes/gdb-mi.el (gdb-control-level): New variable.
1897         (gdb): Make it buffer-local and init to zero.
1898         (gdb-control-commands-regexp): New variable.
1899         (gdb-send): Don't wrap in "-interpreter-exec console" if
1900         gdb-control-level is positive.  Increment gdb-control-level
1901         whenever the command matches gdb-control-commands-regexp, and
1902         decrement it each time the command is "end".  (Bug#11279)
1904 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
1906         * window.el (adjust-window-trailing-edge, enlarge-window)
1907         (shrink-window, window-resize):
1908         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1909         windows (Bug#11276).
1911 2012-04-27  Chong Yidong  <cyd@gnu.org>
1913         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1914         fix "missing prefix" warning.  All callers changed.
1916 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1918         * emacs-lisp/assoc.el: Move to obsolete/.
1920 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1922         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1924         * term/ns-win.el (ns-define-service):
1925         * progmodes/pascal.el (pascal-goto-defun):
1926         * progmodes/js.el (js--read-tab):
1927         * progmodes/etags.el (tags-lazy-completion-table):
1928         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1929         * emacs-lisp/ewoc.el (ewoc--wrap):
1930         * emacs-lisp/assoc.el (aput, adelete, amake):
1931         * doc-view.el (doc-view-convert-current-doc):
1932         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1934 2012-04-26  Chong Yidong  <cyd@gnu.org>
1936         * image.el (image-type-from-buffer): Only return supported image
1937         type (Bug#9045).
1939         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1940         value, for symmetry with diff-end-of-hunk.
1941         (diff-split-hunk, diff-find-source-location)
1942         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1943         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1944         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1945         compute the relevant hunk or file properly (Bug#6005).
1946         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1948 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1950         * vc/vc-mtn.el:
1951         * vc/vc-hg.el:
1952         * vc/vc-git.el:
1953         * vc/vc-dir.el:
1954         * vc/vc-cvs.el:
1955         * vc/vc-bzr.el:
1956         * vc/vc-arch.el:
1957         * vc/vc.el: Replace lexical-let by lexical-binding.
1958         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1959         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1960         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1962 2012-04-26  Chong Yidong  <cyd@gnu.org>
1964         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1965         (diff-mode-shared-map): Bind it to / and [remap undo].
1967         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1968         (ediff-window-setup-function): Use it as the default, to set up
1969         windows based on whether the current frame is graphical (Bug#2138).
1970         (ediff-choose-window-setup-function-automatically): Make obsolete.
1972         * vc/ediff-init.el: Always define ediff-pixel-width/height.
1974 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1976         * ffap.el: Remove old code for obsolete package.
1977         (ffap-complete-as-file-p): Remove.
1979         Use completion-table-with-quoting for comint and pcomplete.
1980         * comint.el (comint--unquote&requote-argument)
1981         (comint--unquote-argument, comint--requote-argument): New functions.
1982         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1983         (comint-quote-filename): Use regexp-opt-charset.
1984         (comint--common-suffix, comint--common-quoted-suffix)
1985         (comint--table-subvert): Remove.
1986         (comint-unquote-function, comint-requote-function): New vars.
1987         (comint--complete-file-name-data): Use them with
1988         completion-table-with-quoting.
1989         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1990         * pcomplete.el (pcomplete-arg-quote-list)
1991         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1992         (pcomplete-unquote-argument-function): Default to non-nil.
1993         (pcomplete-unquote-argument): Simplify.
1994         (pcomplete--common-quoted-suffix): Remove.
1995         (pcomplete-requote-argument-function): New var.
1996         (pcomplete--common-suffix): New function.
1997         (pcomplete-completions-at-point): Use completion-table-with-quoting
1998         and completion-table-subvert.
2000         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2001         (minibuffer--double-dollars): Preserve properties.
2002         (completion--sifn-requote): New function.
2003         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2005         * minibuffer.el: Add support for completion of quoted/escaped data.
2006         (completion-table-with-quoting, completion-table-subvert): New funs.
2007         (completion--twq-try, completion--twq-all): New functions.
2008         (completion--nth-completion): New function.
2009         (completion-try-completion, completion-all-completions): Use it.
2011 2012-04-25  Leo Liu  <sdl.web@gmail.com>
2013         * progmodes/python.el (python-pdbtrack-get-source-buffer):
2014         Use compilation-message if available to find real filename.
2016 2012-04-25  Chong Yidong  <cyd@gnu.org>
2018         * vc/diff-mode.el (diff-setup-whitespace): New function.
2019         (diff-mode): Use it.
2021         * vc/diff.el (diff-sentinel):
2022         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2023         Whitespace mode variables based on diff style (Bug#8612).
2025 2012-04-25  Leo Liu  <sdl.web@gmail.com>
2027         * progmodes/python.el (python-send-region): Add suffix .py to the
2028         temp file.
2030         * files.el (auto-mode-alist): Use javascript-mode instead.
2032 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
2034         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
2036         * soap-client.el (soap-resolve-references-for-sequence-type)
2037         (soap-resolve-references-for-array-type): Hack to prevent self
2038         references, see Bug#9.
2039         (soap-parse-envelope): Report the contents of the 'detail' node
2040         when receiving a fault reply.
2041         (soap-parse-envelope): Report the contents of the entire 'detail' node.
2043         * soap-inspect.el (soap-sample-value-for-simple-type)
2044         (soap-inspect-simple-type): New function.
2046         * soap-client.el (soap-simple-type): New struct.
2047         (soap-default-xsd-types, soap-default-soapenc-types)
2048         (soap-decode-basic-type, soap-encode-basic-type):
2049         support unsignedInt and double basic types.
2050         (soap-resolve-references-for-simple-type)
2051         (soap-parse-simple-type, soap-encode-simple-type): New function.
2052         (soap-parse-schema): Parse xsd:simpleType declarations.
2054         * soap-client.el (soap-default-xsd-types)
2055         (soap-default-soapenc-types): Add integer, byte and anyURI types.
2056         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2057         the local name of "soapenc:Array".
2058         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2059         decoding integer, byte and anyURI xsd types.
2061 2012-04-25  Chong Yidong  <cyd@gnu.org>
2063         * cus-edit.el (custom-buffer-create-internal): Update header text.
2065 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
2067         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2068         settings on 'system-type', not on 'window-system'.  On MS-Windows,
2069         set interactive-mode on in GDB.
2071 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2073         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2074         (ruby-syntax-propertize-regexp): Remove.
2075         (ruby-syntax-propertize-function): Split regexp into chunks.
2076         Match following code directly.
2078 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
2080         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2081         (ruby-syntax-propertize-regexp): New function.
2082         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2083         by a special keyword.
2085         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2086         (ruby-syntax-general-delimiters-goto-beg)
2087         (ruby-syntax-propertize-general-delimiters): New functions.
2088         (ruby-syntax-propertize-function): Use them to handle GDL.
2089         (ruby-font-lock-keywords): Move old handling of GDL...
2090         (ruby-font-lock-syntactic-keywords): .. to here.
2091         (ruby-calculate-indent): Adjust indentation for GDL.
2093 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
2095         * notifications.el (top): Remove unneeded declarations.
2096         (notifications-specification-version): Change to "1.2".
2097         (notifications-interface, notifications-notify-method)
2098         (notifications-close-notification-method): Fix docstring.
2099         (notifications-get-capabilities-method): New defconst.
2100         (notifications-notify): Add :action-items, :resident and
2101         :transient hints.  Change "image_data" to "image-data" and
2102         "image_path" to "image-path".
2103         (notifications-get-capabilities): New defun.
2105 2012-04-24  Leo Liu  <sdl.web@gmail.com>
2107         * progmodes/python.el: Move hideshow setup to the end.
2109 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
2111         * window.el (handle-select-window): Clear echo area since this is
2112         no more done by read_char (Bug#11304).
2114 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2116         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2117         and `/ M' to filter-derived-mode.
2118         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2119         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2120         (ibuffer-mark-by-mode): Use default rather than initial-input.
2121         (ibuffer-filter-by-derived-mode): Autoload and require-match.
2123 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
2125         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2126         (ibuffer-filter-by-derived-mode): New filter.
2127         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2129 2012-04-23  Andreas Politz  <politza@fh-trier.de>
2131         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2133 2012-04-23  Chong Yidong  <cyd@gnu.org>
2135         * cus-edit.el (customize-apropos, customize-apropos-options):
2136         Disable matching of non-option variables (Bug#11176).
2137         (customize-option, customize-option-other-window)
2138         (customize-changed-options): Doc fix.
2139         (customize-apropos-options, customize-apropos-faces)
2140         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2142         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2143         Fix word list splitting (Bug#11132).
2144         (apropos-symbol, apropos-keybinding, apropos-label)
2145         (apropos-property, apropos-function-button)
2146         (apropos-variable-button, apropos-misc-button): New faces.
2147         (apropos-symbol-face, apropos-keybinding-face)
2148         (apropos-label-face, apropos-property-face, apropos-match-face):
2149         Variables removed (Bug#8396).
2150         (apropos-library-button, apropos-format-plist, apropos-print)
2151         (apropos-print-doc, apropos-describe-plist): Callers changed.
2153 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
2155         * net/xesam.el (xesam-mode-map): Use let-bound map in
2156         initialization.  (Bug#11292)
2158 2012-04-23  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
2160         Preserve ispell session localwords when switching back to
2161         original buffer.
2163         * ispell.el (ispell-buffer-session-localwords): New buffer-local
2164         variable to hold buffer session localwords.
2165         (ispell-kill-ispell): add option 'clear to delete session
2166         localwords.
2167         (ispell-command-loop, ispell-change-dictionary)
2168         (ispell-buffer-local-words): Preserve session localwords when
2169         needed.
2171         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2172         Preserve session localwords when needed.
2174 2012-04-23  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
2176         * ispell.el (ispell-insert-word) Remove unneeded function using
2177         obsolete `translation-table-for-input'.
2178         (ispell-word, ispell-process-line, ispell-complete-word):
2179         Use plain `insert' instead of removed `ispell-insert-word'.
2181 2012-04-22  Chong Yidong  <cyd@gnu.org>
2183         * cus-edit.el (custom-variable-menu)
2184         (custom-variable-reset-saved, custom-face-menu)
2185         (custom-face-reset-saved): If there is no saved value, make the
2186         "reset-saved" operation bring back the default (Bug#9509).
2187         (custom-face-state): Properly detect themed faces.
2189         * faces.el (face-spec-set): Stop supporting deprecated form of
2190         third arg.
2192 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
2194         Move functions from C to Lisp.  Make non-blocking method calls
2195         the default.  Implement further D-Bus standard interfaces.
2197         * net/dbus.el (dbus-message-internal): Declare function.
2198         Remove unneeded function declarations.
2199         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2200         (dbus-message-type-method-return, dbus-message-type-error)
2201         (dbus-message-type-signal): Declare variables.  Remove local
2202         definitions.
2203         (dbus-interface-dbus, dbus-interface-peer)
2204         (dbus-interface-introspectable, dbus-interface-properties)
2205         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2206         Adapt docstring.
2207         (dbus-interface-objectmanager): New defconst.
2208         (dbus-call-method, dbus-call-method-asynchronously)
2209         (dbus-send-signal, dbus-method-return-internal)
2210         (dbus-method-error-internal, dbus-register-service)
2211         (dbus-register-signal, dbus-register-method): New defuns, moved
2212         from dbusbind.c
2213         (dbus-call-method-handler, dbus-setenv)
2214         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2215         New defuns.
2216         (dbus-call-method-non-blocking): Make it an obsolete function.
2217         (dbus-unregister-object, dbus-unregister-service)
2218         (dbus-handle-event, dbus-register-property)
2219         (dbus-property-handler): Obey the new structure of
2220         `bus-registered-objects'.
2221         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
2222         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2223         Use `dbus-call-method'.
2225 2012-04-22  Chong Yidong  <cyd@gnu.org>
2227         * cus-edit.el (custom-commands, custom-reset-menu)
2228         (Custom-reset-standard): Tweak labels.
2229         (custom-reset-button-menu): Change default to t.
2230         (custom-buffer-create-internal): For the custom-reset-button-menu
2231         case, put the revert button first.
2232         (custom-group-subtitle): New face.
2233         (custom-group-value-create): Align docstring to a specific column.
2235         * wid-edit.el (widget-documentation-link-add): Don't handle
2236         indentation in this function.
2237         (widget-documentation-string-indent-to): New function.
2238         (widget-documentation-string-value-create): Use it.
2240         * autorevert.el (auto-revert):
2241         * epg-config.el (epg):
2242         * ibuffer.el (ibuffer):
2243         * mpc.el (mpc):
2244         * ses.el (ses):
2245         * eshell/eshell.el (eshell):
2246         * net/ange-ftp.el (ange-ftp):
2247         * progmodes/ebnf2ps.el (postscript):
2248         * progmodes/flymake.el (flymake):
2249         * progmodes/prolog.el (prolog):
2250         * progmodes/verilog-mode.el (verilog-mode):
2251         * progmodes/which-func.el (which-func):
2252         * term/xterm.el (xterm):
2253         * textmodes/picture.el (picture):
2254         * textmodes/tildify.el (tildify):
2255         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2256         customization buffers.
2258 2012-04-22  Alan Mackenzie  <acm@muc.de>
2260         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2261         Adding a ) can hide the resulting (..) from searches.  Fix it.
2262         Bound the backward search to the position of the existing (.
2264 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
2266         * progmodes/verilog-mode.el (verilog-mode): Check whether
2267         which-func-modes is t before adding verilog-mode.
2268         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2270 2012-04-21  Leo Liu  <sdl.web@gmail.com>
2272         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2274 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
2276         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2277         filling of the last column of a table (Bug#5635).
2278         (woman-find-next-control-line): New arg, specifying an additional
2279         regexp component for the control line.
2280         (woman2-roff-buffer): Use it.
2281         (woman-break-table): New function.
2282         (woman2-TS): Use it.
2284 2012-04-21  Chong Yidong  <cyd@gnu.org>
2286         * woman.el (woman-set-buffer-display-table, woman-decode-region)
2287         (woman-horizontal-escapes, woman-negative-vertical-space)
2288         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2289         (WoMan-warn-ignored): Use ?\s instead of ?\ .
2291 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2293         * minibuffer.el (completion-file-name-table): Complete user names.
2295 2012-04-20  Leo Liu  <sdl.web@gmail.com>
2297         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2298         and pcase-let*.
2300 2012-04-20  Chong Yidong  <cyd@gnu.org>
2302         * server.el (server-execute): Respect initial-buffer-choice if it
2303         is a string and there are no files to open (Bug#2825).
2304         (server-create-window-system-frame, server-create-tty-frame):
2305         Don't switch buffers here.
2306         (server-process-filter): Only try to open a window system frame if
2307         compiled with graphical support (Bug#8314).
2309 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
2311         * battery.el (battery-echo-area-format): Display remaining time
2312         for sysfs backend too (Bug#11269).
2313         (battery-linux-sysfs): Fix conditional for the charge.
2315 2012-04-20  Chong Yidong  <cyd@gnu.org>
2317         * progmodes/gdb-mi.el (gdb): Revert previous change.
2318         (gdb-inferior-io--init-proc): New function.
2319         (gdb-init-1): Use it.
2320         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2321         responsible for allocating a new pty and hooking it to gdb when
2322         the old pty gets an EIO due to process exit.
2323         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
2324         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2325         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2327 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
2329         * window.el (window-min-size, window-sizable, window-min-delta)
2330         (window-max-delta, window--resizable, window-resizable)
2331         (window-total-size, window-full-height-p, window-full-width-p)
2332         (window-in-direction, window--resize-mini-window, window-resize)
2333         (window--resize-child-windows-normal)
2334         (window--resize-child-windows, window--resize-siblings)
2335         (window--resize-this-window, adjust-window-trailing-edge)
2336         (enlarge-window, shrink-window): Doc fixes.
2338 2012-04-20  Chong Yidong  <cyd@gnu.org>
2340         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2341         New function to call delete-process on the gdb-inferior buffer's pty.
2342         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2343         pty process (Bug#11273).
2344         (gdb-update): New arg to suppress talking to the gdb process.
2345         (gdb-done-or-error): Use it.
2346         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2347         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2348         sentinel not being called.
2350         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2352         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2354 2012-04-20  Glenn Morris  <rgm@gnu.org>
2356         * net/network-stream.el (open-network-stream): Doc fix.
2358 2012-04-20  Chong Yidong  <cyd@gnu.org>
2360         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2362 2012-04-20  Alan Mackenzie  <acm@muc.de>
2364         Ensure searching for keywords is case sensitive.
2366         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2367         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2368         (c-defun-name, c-mark-function, c-cpp-define-name)
2369         (c-comment-indent, c-scan-conditionals, c-indent-defun)
2370         (c-context-line-break): Bind case-fold-search to nil.
2372         * progmodes/cc-mode.el (c-font-lock-fontify-region):
2373         Bind case-fold-search to nil.
2375 2012-04-20  Chong Yidong  <cyd@gnu.org>
2377         * mail/sendmail.el (mail-bury): Call return action with the right
2378         Rmail buffer (Bug#11242).
2380         * server.el (server-process-filter): Handle corner case where both
2381         tty and nowait options are present (Bug#11102).
2383 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
2385         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2386         (top level): Put into the executable the ident-style '$Id:' tag on
2387         windows-nt as well.
2389 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2391         * electric.el (electric-indent-post-self-insert-function): Check that
2392         electric-indent-mode is enabled in current buffer.
2394 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
2396         * imenu.el (imenu-progress-message): Restore; it is "used" in
2397         erc/erc-imenu.el and net/snmp-mode.el.
2399 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
2401         * avoid.el (mouse-avoidance-mode): Mark unused arg.
2402         (mouse-avoidance-nudge-mouse): Remove unused binding.
2404         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2406         * descr-text.el (describe-char):
2407         * progmodes/python.el (python-describe-symbol):
2408         Don't call `toggle-read-only', set `buffer-read-only'.
2410         * imenu.el (imenu-default-goto-function): Mark unused args.
2411         (imenu-progress-message): Remove obsolete macro; all callers changed.
2413         * subr.el (keymap-canonicalize): Remove unused binding.
2414         (read-passwd): Mark unused arg.
2416         * tutorial.el (tutorial--display-changes): Remove unused binding.
2417         (tutorial--save-tutorial-to): Remove unused variable.
2419         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2420         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2421         (package-generate-autoloads, package-menu--generate)
2422         (package-menu--find-upgrades): Remove unused bindings.
2424         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2425         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
2426         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2427         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2428         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2429         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2430         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2431         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2432         (cua-delete-char-rectangle): Mark unused args.
2433         (cua-align-rectangle): Remove unused binding.
2435         * mail/rmail.el (compilation--message->loc)
2436         (epa--find-coding-system-for-mime-charset): Declare.
2438         * net/dbus.el (dbus-register-service): Declare.
2439         (dbus-name-owner-changed-handler): Remove unused binding.
2441         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2442         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2443         (nxml-scan-backward-within): Mark unused arg.
2444         (nxml-dynamic-markup-word): Remove unused binding.
2446         * mouse.el (mouse-menu-major-mode-map):
2447         * emacs-lisp/authors.el (authors-scan-change-log)
2448         (authors-add-to-author-list):
2449         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2450         * emacs-lisp/smie.el (smie-auto-fill):
2451         * mail/sendmail.el (mail-bury):
2452         * mail/unrmail.el (unrmail):
2453         * net/tls.el (open-tls-stream):
2454         * textmodes/picture.el (picture-mouse-set-point):
2455         Remove unused bindings.
2457 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
2459         * net/tramp.el (tramp-action-password): Let-bind
2460         `enable-recursive-minibuffers' to t.
2462 2012-04-18  Sam Steingold  <sds@gnu.org>
2464         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2465         instead of 'string to accommodate values like [f11].
2466         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2467         * progmodes/gdb-mi.el: Likewise.
2469 2012-04-18  Leo Liu  <sdl.web@gmail.com>
2471         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2472         current buffer.
2473         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2474         LOCAL is nil.
2476 2012-04-18  Chong Yidong  <cyd@gnu.org>
2478         * simple.el (line-move): Use forward-line if in batch mode
2479         (Bug#11053).
2481 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
2483         * files.el (after-find-file): Do not try to add a final newline if
2484         the buffer is read-only (Bug#11156).
2486 2012-04-17  Richard Stallman  <rms@gnu.org>
2488         * mail/rmail.el (rmail-start-mail):
2489         Pass (rmail-mail-return...) for the return-action.
2490         Pass (rmail-yank-current-message...) for the yank-action.
2491         (rmail-yank-current-message): New function.
2492         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2493         (rmail-reply): Likewise.
2494         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2496         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2497         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
2498         buffer, not newbuf.
2500 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
2502         * server.el (server-ensure-safe-dir): Simplify.
2504 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2506         * emacs-lisp/smie.el: Provide smarter auto-filling.
2507         (smie-auto-fill): New function.
2508         (smie-setup): Use it.
2510         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2512 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
2514         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2515         (comment-indent): Use it.
2517 2012-04-17  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
2519         * ses.el: The overall change is to add cell renaming, that is
2520         setting fancy names for cell symbols other than name matching
2521         "\\`[A-Z]+[0-9]+\\'" regexp .
2522         (ses-localvars): Add ses--renamed-cell-symb-list.
2523         (ses-create-cell-variable): New defun.
2524         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2525         (ses-relocate-formula): Relocate formulas only for cells the
2526         symbols of which are not renamed, i.e. symbols whose names do not
2527         match regexp "\\`[A-Z]+[0-9]+\\'".
2528         (ses-relocate-all): Relocate values only for cells the symbols of
2529         which are not renamed.
2530         (ses-load): Create cells variables as the (ses-cell ...) are read,
2531         in order to check row col consistency with cell symbol name only
2532         for cells that are not renamed.
2533         (ses-replace-name-in-formula): New defun.
2534         (ses-rename-cell): New defun.
2536 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
2538         * progmodes/perl-mode.el (perl-indent-parens-as-block):
2539         New option (bug#11118).
2540         (perl-calculate-indent): Respect it.
2542 2012-04-17  Glenn Morris  <rgm@gnu.org>
2544         * dired-aux.el (dired-mark-read-string): Doc fix.
2546 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
2548         * dired-aux.el (dired-mark-read-string): Offer optional completion.
2549         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
2551 2012-04-17  Glenn Morris  <rgm@gnu.org>
2553         * mouse.el (mouse-drag-track):
2554         * speedbar.el (speedbar-frame-mode):
2555         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2557 2012-04-16  Leo Liu  <sdl.web@gmail.com>
2559         * progmodes/python.el: Trivial cleanup.
2561 2012-04-16  Glenn Morris  <rgm@gnu.org>
2563         * vc/vc.el (vc-string-prefix-p):
2564         * vc/pcvs-util.el (cvs-string-prefix-p):
2565         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2566         * mpc.el (mpc-string-prefix-p):
2567         Make all of these into obsolete aliases for string-prefix-p.
2568         Update callers.
2569         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2571         * textmodes/two-column.el: Move custom options to the start.
2572         (frame-width): Remove compat definition.
2573         (2C-associate-buffer, 2C-dissociate):
2574         Use with-current-buffer rather than save-excursion.
2575         (2C-dissociate): Force a mode-line update.
2576         (2C-autoscroll): Use ignore-errors.
2578         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2579         Autoload trivia.
2581         * emacs-lisp/cl-extra.el (*random-state*):
2582         Remove unnecessary declaration.
2584         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2586         * play/cookie1.el (cookie-snarf):
2587         Give an explicit error if input file cannot be read.
2589         * play/yow.el (yow-file): Use expand-file-name rather than concat.
2591         * progmodes/perl-mode.el (c-macro-expand):
2592         Remove unnecessary autoload (it is in loaddefs.el).
2594         * textmodes/picture.el (picture-desired-column)
2595         (picture-update-desired-column): Convert comments to doc-strings.
2596         (picture-substitute): Remove function.
2597         (picture-mode-map): Initialize in the defvar.
2599         * woman.el: Remove eval-after-load for tar-mode.
2600         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2601         (woman-tar-extract-file): Autoload it.
2603         * frame.el (automatic-hscrolling): Make this alias obsolete.
2605 2012-04-12  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
2607         * ispell.el (ispell-set-spellchecker-params): Post-process
2608         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2609         (ispell-dictionary-base-alist): Revert to original XEmacs
2610         friendly version for default.  [:alpha:] will be added in
2611         `ispell-set-spellchecker-params' if needed
2613 2012-04-16  Chong Yidong  <cyd@gnu.org>
2615         * image.el (imagemagick--extension-regexp): New variable.
2616         (imagemagick-register-types): Use it.
2617         (imagemagick-types-inhibit): Add :set function.  Allow new value
2618         of t to inhibit all types.
2620         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2621         so we can preload it.
2623         * loadup.el (fboundp): Preload regexp-opt, needed by
2624         imagemagick-register-types.
2626 2012-04-15  Chong Yidong  <cyd@gnu.org>
2628         * frame.el (scrolling): Remove nearly unused customization group.
2630         * scroll-all.el (scroll-all-mode): Move to windows group.
2632 2012-04-15  Chong Yidong  <cyd@gnu.org>
2634         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2636 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2638         Avoid the use of ((lambda ...) ...) in lexical-binding code.
2639         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2641 2012-04-15  Glenn Morris  <rgm@gnu.org>
2643         * simple.el (process-file-side-effects): Doc fix.
2645 2012-04-15  Glenn Morris  <rgm@gnu.org>
2647         * international/mule-cmds.el (set-language-environment): Doc fix.
2649 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
2651         * server.el (server-auth-key, server-generate-key): Doc fixes.
2652         (server-get-auth-key): Doc fix.  Use `string-match-p'.
2653         (server-start): Reflow docstring.
2655 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
2657         * server.el (server-generate-key): `called-interactively-p'
2658         requires a parameter.
2660 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
2662         * server.el (server-auth-key): New variable.
2663         (server-generate-key, server-get-auth-key): New function.
2664         (server-start): Use the new variable and functions to allow
2665         setting a permanent server key (bug#9423).
2667 2012-04-14  Leo Liu  <sdl.web@gmail.com>
2669         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2671 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
2673         Spelling fixes.
2674         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2675         Emacs uses American spelling.
2677 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
2679         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2680         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
2681         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2682         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
2684 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2686         * progmodes/which-func.el (which-func-modes): Change default.
2688 2012-04-14  Kim F. Storm  <storm@cua.dk>
2690         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2691         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2693 2012-04-14  Chong Yidong  <cyd@gnu.org>
2695         * custom.el (custom-theme-set-variables): Doc fix.
2697 2012-04-14  Glenn Morris  <rgm@gnu.org>
2699         * international/mule.el (set-auto-coding-for-load): Doc fix.
2701 2012-04-14  Alan Mackenzie  <acm@muc.de>
2703         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2704         imenu work again for Objective C Mode.  Correct the *-index values,
2705         these having been disturbed by a previous change in 2011-08.
2707         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2708         Correct two search limits.
2710 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2712         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2714 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
2716         * international/characters.el: Fix sorting.
2718 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2720         * international/characters.el: Add more missing Latin case pairs.
2722 2012-04-14  Glenn Morris  <rgm@gnu.org>
2724         * files.el (dir-locals-set-class-variables): Doc fix.
2726 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2728         * international/characters.el: Add set-case-syntax-pair call for
2729         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2730         counterpart.  (Bug#11209)
2732         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
2734 2012-04-14  Glenn Morris  <rgm@gnu.org>
2736         * calendar/holidays.el (calendar-check-holidays): Doc fix.
2738 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2740         * textmodes/ispell.el (ispell-dictionary-base-alist):
2741         Add data for Hebrew.
2743 2012-04-14  Chong Yidong  <cyd@gnu.org>
2745         * net/rcirc.el (rcirc-cmd-quit):
2746         Revert 2012-03-18 change (Bug#11192).
2748 2012-04-14  Glenn Morris  <rgm@gnu.org>
2750         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2752 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2754         * minibuffer.el (completion-in-region-mode-map):
2755         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
2757 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
2759         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2761 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
2763         * minibuffer.el (minibuffer-local-filename-syntax): New variable
2764         to allow `C-M-f' and `C-M-b' to move to the nearest path
2765         separator (bug#9511).
2767 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
2769         * avoid.el: Require cl when compiling.  And also move the
2770         `provide' to the end.
2772 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2774         * avoid.el (mouse-avoidance-banish-position): New variable.
2775         (mouse-avoidance-banish-destination): Use it (bug#10165).
2777 2012-04-13  Leo Liu  <sdl.web@gmail.com>
2779         * progmodes/which-func.el (which-func-modes): Add objc-mode.
2781 2012-04-13  Ken Brown  <kbrown@cornell.edu>
2783         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2784         this is no longer needed now that cygstart understands file:// URLs.
2785         (browse-url-filename-alist): For the same reason, don't modify
2786         file:// URLs on Cygwin.
2788 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2790         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2791         the region on shift if the binding is already shifted (bug#11221).
2793 2012-04-12  Glenn Morris  <rgm@gnu.org>
2795         * mail/mailpost.el: Move to obsolete/.
2797 2012-04-12  Drew Adams  <drew.adams@oracle.com>
2799         * imenu.el (imenu--generic-function): Ignore invisible definitions
2800         (bug#10123).
2802 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
2804         * hexl.el (hexl-bits): New variable.
2805         (hexl-options): Mention the variable in the doc string.
2806         (hexl-rulerise, hexl-line-displen): New functions.
2807         (hexl-mode): Mention the new variable.
2808         (hexl-mode, hexl-current-address, hexl-current-address):
2809         Use the displen.
2810         (hexl-ascii-start-column): New function.
2811         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2812         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2814 2012-04-12  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
2816         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2817         '("-i" ENCODING), in 2 separate command-line arguments, to specify
2818         the encoding, as expected by hunspell.
2820 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2822         * battery.el (battery--linux-sysfs-regexp): New const.
2823         (battery-status-function): Use it.  Remove yeeloong special case.
2824         (battery-yeeloong-sysfs): Remove.
2825         (battery-echo-area-format): Remove yeeloong special case.
2827 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2829         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2830         Reported by Noah Friedman.
2832         * subr.el (read-passwd): Use read-string.
2834 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2836         * vcursor.el (vcursor-move): Increase the priority of the overlay
2837         (bug#9663).
2839 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2841         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2842         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2844 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
2846         * textmodes/artist.el (artist-mode): Convert artist-mode to use
2847         define-minor-mode (bug#10760).
2849 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
2851         * progmodes/grep.el (rgrep): Tweak the find command line so
2852         that directories matching `grep-find-ignored-files' won't be
2853         pruned (bug#10351).
2855 2012-04-11  Chong Yidong  <cyd@gnu.org>
2857         * startup.el (command-line): Remove support for long-obsolete
2858         variable font-lock-face-attributes.
2860 2012-04-11  Glenn Morris  <rgm@gnu.org>
2862         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2864 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2866         * window.el (window--state-get-1): Obey window-point-insertion-type.
2868 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
2870         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2871         to previous function when point is on the first character of a
2872         function.  Take care of that in `narrow-to-defun' (bug#6157).
2874 2012-04-11  Glenn Morris  <rgm@gnu.org>
2876         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2877         not just file-errors.
2879         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2880         (vc-bzr-sha1): Use internal sha1.
2882 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2884         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2886 2012-04-10  SĂ©bastien Gross  <seb@chezwam.org>  (tiny change)
2888         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2889         that start in the middle of the line (bug#10496).
2891 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
2893         * battery.el (battery-linux-proc-acpi): Only one battery is
2894         discharged at a time, but that seems to confuse battery.el when
2895         computing `rate-type' for the battery not being discharged
2896         (bug#10332).
2898 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2900         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2902         * international/quail.el: Use dolist and simplify.
2903         (quail-define-package, quail-update-keyboard-layout)
2904         (quail-define-rules): Use dolist.
2905         (quail-insert-kbd-layout, quail-get-translation): CSE.
2907         * tmm.el: Use dolist, remove left over hook.
2908         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2909         Use dolist.
2910         (calendar-load-hook): Don't mess with it.
2912         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2913         Use derived-mode-p.  Run the diff asynchronously.
2915 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2917         * obsolete/mouse-sel.el: Add an Obsolete-since header.
2919 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
2921         * misc.el: Display absolute path of loaded DLLs (bug#10424).
2922         (list-dynamic-libraries--loaded): New function.
2923         (list-dynamic-libraries--refresh): Use it.
2925 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
2927         * progmodes/python.el (python-fill-paragraph):
2928         Make python-fill-region in a multiline string work when font-lock is
2929         disabled (bug#7018).
2931 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
2933         * language/european.el (cp775): Add oem/legacy (en)coding on
2934         DOS/MS Windows for the Baltic languages.  There are still plenty
2935         of texts written in this encoding/codepage (bug#6519).
2937 2012-04-10  Glenn Morris  <rgm@gnu.org>
2939         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2940         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2942 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
2944         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2945         next-line "n" and previous-line "p" in order to make recentf more
2946         consistent with ibuffer, dired or org-mode (bug#9387).
2948 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2950         * image.el (put-image): Return the overlay created instead of the
2951         optional input string (bug#7834).  Note that this may break code
2952         that is (for some reason or other) depending on `put-image'
2953         returning the string.
2955         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2957         * simple.el (zap-to-char): Allow zapping using input methods
2958         (bug#1580).
2960         * textmodes/fill.el (fill-region): Leave point and mark where they
2961         were before filling (bug#5399).
2963 2012-04-09  Glenn Morris  <rgm@gnu.org>
2965         * version.el (emacs-bzr-get-version):
2966         Handle lightweight checkouts of local branches.
2968 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
2970         * international/characters.el: Recover lost case pairs.  (Bug#11209)
2972 2012-04-09  Chong Yidong  <cyd@gnu.org>
2974         * custom.el (custom-variable-p): Return nil for non-symbol
2975         arguments instead of signaling an error.
2976         (user-variable-p): Obsolete alias for custom-variable-p.
2978         * apropos.el (apropos-variable):
2979         * files-x.el (read-file-local-variable):
2980         * simple.el (set-variable):
2981         * woman.el (woman-mini-help):
2982         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2984 2012-04-09  Glenn Morris  <rgm@gnu.org>
2986         * startup.el (normal-top-level): Don't look for leim-list.el
2987         in places where it will not be found.  (Bug#910)
2989         * international/mule-cmds.el (set-default-coding-systems):
2990         * files.el (normal-mode):
2991         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
2992         This function was removed with ucs-tables.el in 2008.
2994 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
2996         * textmodes/ispell.el (ispell-check-version): For hunspell, set
2997         ispell-encoding8-command to "-i", without a trailing space.
2998         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2999         separate command-line arguments, to specify the encoding, since
3000         that's how hunspell expects it.
3002 2012-04-08  Glenn Morris  <rgm@gnu.org>
3004         * loadup.el: Load bindings before cus-start.
3005         This reduces somewhat the number of "rogue" settings in emacs -Q.
3007 2012-04-07  Glenn Morris  <rgm@gnu.org>
3009         * version.el (emacs-bzr-get-version): New function.
3010         (emacs-bzr-version): New variable.
3011         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
3012         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3014 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
3016         * international/uni-bidi.el, international/uni-category.el:
3017         * international/uni-combining.el, international/uni-decimal.el:
3018         * international/uni-decomposition.el, international/uni-digit.el:
3019         * international/uni-lowercase.el, international/uni-mirrored.el:
3020         * international/uni-name.el, international/uni-numeric.el:
3021         * international/uni-titlecase.el, international/uni-uppercase.el:
3022         Update for Unicode 6.1.
3024 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
3026         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3028 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3030         * window.el (shrink-window): Mention the `window-min-height'
3031         variable in the doc string.
3033 2012-04-05  Bastien Guerry  <bzg@altern.org>
3035         * color.el (color-lighten-name): Fix typo.
3037 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3039         * server.el (server--on-display-p): New function.
3040         (server--on-display-p): Use it.
3042 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
3044         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3045         (bug#11145).
3047 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3049         * comint.el (comint--common-quoted-suffix): Check string boundary
3050         before comparing (bug#11158).
3051         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3053 2012-04-04  Chong Yidong  <cyd@gnu.org>
3055         * minibuffer.el (completion-extra-properties): Doc fix.
3057         * subr.el (delayed-warnings-hook): Doc fix.
3059 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
3061         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3062         selection (Bug#11159).
3063         (epa-insert-keys): Inform that the default public key will be
3064         exported if no key is selected.
3066 2012-04-04  Richard Stallman  <rms@gnu.org>
3068         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3070 2012-04-03  Chong Yidong  <cyd@gnu.org>
3072         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3073         mail-insert-file, not its obsolete alias mail-attach-file.
3075 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
3077         * notifications.el (notifications-notify): Fix docstring.
3079 2012-04-02  Glenn Morris  <rgm@gnu.org>
3081         * emacs-lisp/authors.el (authors-aliases): Another addition.
3083 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
3085         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3086         `tramp-compat-call-process' instead of `tramp-local-call-process'.
3087         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3089 2012-04-01  Chong Yidong  <cyd@gnu.org>
3091         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3092         Handle root directory properly.
3093         (copy-directory): Caller changed.
3095         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3096         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3098 2012-03-31  Glenn Morris  <rgm@gnu.org>
3100         * term/xterm.el (xterm-extra-capabilities): Doc fix.
3102         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
3104         * calendar/calendar.el (calendar-window-list)
3105         (calendar-hide-window): Restore.  (Bug#11140)
3106         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3108         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3110 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3112         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3113         Check if file is a symlink (Bug#10489).
3115         * files.el (copy-directory): Likewise.
3117 2012-03-30  Chong Yidong  <cyd@gnu.org>
3119         * image.el (imagemagick-types-inhibit)
3120         (imagemagick-register-types): Doc fix.
3122 2012-03-30  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
3124         * ispell.el (ispell-get-extended-character-mode):
3125         Disable extended-char-mode for hunspell.  hunspell does not support it
3126         and treats ~word as ordinary words in pipe mode.
3128 2012-03-30  Glenn Morris  <rgm@gnu.org>
3130         * tutorial.el (help-with-tutorial): Ensure local variables don't
3131         happen to make the buffer read-only.  (Bug#11127)
3133 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3135         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3136         (perl-calculate-indent): Return `noindent' in strings.
3138 2012-03-28  Sam Steingold  <sds@gnu.org>
3140         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3141         instead of the broken adhockery which does not prevent calendar
3142         buffers from being displayed at random after exit.
3143         (calendar-window-list, calendar-hide-window): Remove the broken
3144         adhockery.
3146 2012-03-28  Glenn Morris  <rgm@gnu.org>
3148         * replace.el (query-replace-map): Doc fix.
3150 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
3152         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3153         contents.  (Bug#11109)
3155 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3157         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3158         (bug#11077).
3159         (avl-tree--check, avl-tree--check-node): New funs.
3161 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
3163         * window.el (switch-to-visible-buffer): New option.
3164         (switch-to-prev-buffer, switch-to-next-buffer):
3165         Observe switch-to-visible-buffer.  Make sure that checking for a window
3166         showing a buffer already is done on the same frame.
3168 2012-03-27  Glenn Morris  <rgm@gnu.org>
3170         * startup.el (mail-host-address): Doc fix.
3172 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3174         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3175         than 197 variables.
3177 2012-03-26  Ami Fischman  <ami@fischman.org>
3179         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3181 2012-03-26  Glenn Morris  <rgm@gnu.org>
3183         * files.el (save-buffers-kill-emacs): Doc fix.
3185         * startup.el (normal-top-level, command-line, command-line-1):
3186         Give them doc strings.
3188 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
3190         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3191         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3193 2012-03-25  Chong Yidong  <cyd@gnu.org>
3195         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3196         theme if it was previously enabled before (Bug#11031).
3198         * cus-theme.el (custom-theme-write-faces): Retrieve current face
3199         spec with custom-face-get-current-spec if its :shown-value is not
3200         determined yet (Bug#9337).
3201         (customize-create-theme, custom-theme-revert): Doc fixes.
3203         * button.el (button-at): Minor addition to docstring.
3205 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
3207         * vc/vc.el (vc-merge): Fix a prompt.
3209 2012-03-24  Chong Yidong  <cyd@gnu.org>
3211         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3212         point (Bug#9623).
3214         * button.el (button-at): Minor addition to docstring.
3216 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3218         * newcomment.el (comment-choose-indent): No space after BOL.
3220 2012-03-22  Sam Steingold  <sds@gnu.org>
3222         * window.el (switch-to-prev-buffer): Revert last patch because the
3223         bug turned out to be an advertised feature (Elisp manual 28.14).
3225 2012-03-22  Glenn Morris  <rgm@gnu.org>
3227         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
3228         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3230 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3232         * net/network-stream.el (network-stream-open-starttls): Make error
3233         message under Windows be less misleading.
3235 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
3237         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3238         understands (bug#9942).
3240 2012-03-22  Chong Yidong  <cyd@gnu.org>
3242         * simple.el (end-of-visible-line): Handle return value of
3243         next-single-property-change properly (Bug#9371).
3245 2012-03-22  Kenichi Handa  <handa@m17n.org>
3247         * international/quail.el (quail-insert-kbd-layout): Fix previous
3248         change.  To avoid unwanted bidi reordering, use
3249         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3251 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
3253         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3254         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3255         (ruby-beginning-of-indent): Be more careful with the difference
3256         between word-boundary and symbol boundary.
3257         (ruby-mode-syntax-table): Make : a symbol constituent.
3259 2012-03-21  Andreas Politz  <politza@fh-trier.de>
3261         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3263 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3265         * progmodes/etags.el (tags-completion-at-point-function):
3266         Improve last fix.
3268         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3270 2012-03-21  Sam Steingold  <sds@gnu.org>
3272         * progmodes/etags.el (tags-completion-at-point-function):
3273         Avoid the error when point is inside the pattern.
3275 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
3277         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3278         line (Bug#10855).
3280 2012-03-21  Drew Adams  <drew.adams@oracle.com>
3282         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3284 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
3286         * ido.el (ido-set-current-directory, ido-read-internal)
3287         (ido-choose-completion-string, ido-completion-help): Handle nil
3288         value of ido-completion-buffer (Bug#11008).
3290 2012-03-21  Sam Steingold  <sds@gnu.org>
3292         * window.el (switch-to-prev-buffer): Do not switch to a visible
3293         window previous buffer, just like with the frame previous buffers.
3295 2012-03-21  Chong Yidong  <cyd@gnu.org>
3297         * faces.el (make-face, make-empty-face, copy-face):
3298         * face-remap.el (face-remap-add-relative, face-remap-set-base):
3299         Doc fixes.
3301 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3303         * wid-edit.el (widget-complete-field): Remove (bug#11051).
3304         (widget-complete): Remove broken use of it.
3306 2012-03-20  Chong Yidong  <cyd@gnu.org>
3308         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3309         Use string-width and truncate-string-width to handle arbitrary
3310         characters.
3312 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
3314         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3315         to draw rectangles, not squares.  (Regression introduced by revno
3316         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3318 2012-03-18  Chong Yidong  <cyd@gnu.org>
3320         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3321         it is not yet defined (for temacs).
3323 2012-03-18  Leo Liu  <sdl.web@gmail.com>
3325         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3327 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
3329         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3330         (ispell-choices-win-default-height, ispell-silently-savep)
3331         (ispell-dictionary-alist, ispell-encoding8-command)
3332         (ispell-check-version, ispell-aspell-find-dictionary)
3333         (ispell-valid-dictionary-list, ispell-words-keyword)
3334         (ispell-get-word, ispell-internal-change-dictionary)
3335         (ispell-region, ispell-skip-region-list)
3336         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3337         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3338         (ispell-message-text-end, ispell-message)
3339         (ispell-buffer-local-parsing): Doc fix.
3341 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
3343         * htmlfontify.el: Add support for code block fontification for ODT
3344         export (Bug #9914).
3345         (hfy-optimisations): Define new option
3346         `body-text-only'
3347         (hfy-fontify-buffer): Honor above setting.
3348         (hfy-begin-span, hfy-end-span): New routines factored out form
3349         `hfy-fontify-buffer'.
3350         (hfy-begin-span-handler, hfy-end-span-handler): New variables
3351         that permit insertion of custom tags.
3352         (hfy-fontify-buffer): Use above handlers.
3353         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3354         (hfy-face-to-css): Re-defined to be a variable.
3355         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
3356         over multiple runs.  This is made possible by having the caller let
3357         bind a special variable `hfy-user-sheet-assoc'.
3358         (htmlfontify-string): New defun.
3359         (hfy-compile-face-map): Make sure that the last char in the
3360         buffer is correctly fontified.
3361         (hfy-face-resolve-face): Whitespace only change.
3363 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
3365         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3366         message more clear.
3368 2012-03-16  Leo Liu  <sdl.web@gmail.com>
3370         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3372 2012-03-16  Alan Mackenzie  <acm@muc.de>
3374         Further optimise the handling of large macros.
3376         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3377         limit to a call of `c-literal-limits'.
3378         (c-determine-+ve-limit): New function.
3379         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3380         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3381         In CASE 5B, restrict a search limit to 500.
3382         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3384         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3385         Restrict macro bounds to +-500 from after-change's BEG END.
3387 2012-03-16  Leo Liu  <sdl.web@gmail.com>
3389         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3391 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
3393         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3394         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
3396 2012-03-16  Glenn Morris  <rgm@gnu.org>
3398         * view.el (view-buffer, view-buffer-other-window)
3399         (view-buffer-other-frame): Doc fixes re special mode-class.
3401         * subr.el (eval-after-load): If named feature is provided not from
3402         a file, run after-load forms.  (Bug#10946)
3404         * calendar/calendar.el (calendar-insert-at-column):
3405         Handle non-unit-width characters a bit better.  (Bug#10978)
3407 2012-03-15  Chong Yidong  <cyd@gnu.org>
3409         * emacs-lisp/ring.el (ring-extend): New function.
3410         (ring-insert+extend): Extend the ring correctly (Bug#11019).
3412         * comint.el (comint-read-input-ring)
3413         (comint-add-to-input-history): Grow comint-input-ring lazily.
3415 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3417         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3418         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3420         * imenu.el: Fix multiple inheritance breakage (bug#9199).
3421         (imenu-add-to-menubar): Don't add a redundant index.
3422         (imenu-update-menubar): Handle a dynamically composed keymap.
3424 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
3426         * mail/sendmail.el (mail-encode-header):
3427         Bind rfc2047-encode-encoded-words to nil.
3429 2012-03-13  Glenn Morris  <rgm@gnu.org>
3431         * calendar/calendar.el (calendar-string-spread):
3432         Handle non-unit-width characters a bit better.  (Bug#10978)
3434 2012-03-13  Leo Liu  <sdl.web@gmail.com>
3436         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3437         directory and file as argument (Bug#10822).
3439 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
3441         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3442         For dynamically generated code, follow $PC.
3443         (gdb-disassembly-handler-custom): Handle no function name case.
3445 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
3447         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3448         * emulation/ws-mode.el (ws-query-replace):
3449         * sort.el (sort-regexp-fields):
3450         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
3452 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3454         * dabbrev.el: Fix cycle completion order (bug#10963).
3455         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3456         (dabbrev-completion): Don't use an obarray; provide
3457         a cycle-sort-function.
3459 2012-03-12  Leo Liu  <sdl.web@gmail.com>
3461         * simple.el (kill-new): Use equal-including-properties for comparison.
3462         (kill-do-not-save-duplicates): Doc fix.
3464 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3466         * dabbrev.el: Fix cycle completion (bug#10963).
3467         Use lexical binding and wrap to 80 columns.
3468         (dabbrev-completion): Delay computing the list of completions.
3470 2012-03-12  Kenichi Handa  <handa@m17n.org>
3472         * international/quail.el (quail-insert-kbd-layout): Surround each
3473         row by LRO and PDF instead of inserting many LRMs.  Pad the left
3474         and right of each non-spacing marks.  Insert invisible space
3475         between lower and upper characters to prevent composition.
3477 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3479         * minibuffer.el (minibuffer-complete): Don't get confused when the
3480         function is run twice via different commands (bug#10958).
3481         (complete-with-action): Fix docstring.
3483 2012-03-12  Chong Yidong  <cyd@gnu.org>
3485         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3486         (nxml-completion-at-point-function): New function.
3487         (nxml-mode): Use it.
3488         (nxml-bind-meta-tab-to-complete-flag): Default to t.
3490         * emacs-lisp/package.el (package-unpack, package-unpack-single):
3491         Load generated autoloads file before byte compiling (Bug#10970).
3492         (package--make-autoloads-and-compile): New helper fun.
3494 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
3496         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3498 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
3500         * autorevert.el (auto-revert-handler): Ensure, that
3501         file-readable-p is applied only for local files or in
3502         auto-revert-tail-mode.
3504 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
3506         * server.el (server-eval-at): Handle non-tcp connections.
3507         Decode result string.
3509         * server.el (server-msg-size): New constant.
3510         (server-reply-print): New function.
3511         (server-eval-and-print): Use it.
3512         (server-eval-at): Use server-quote-arg and server-unquote-arg.
3513         Handle -print-nonl.
3515 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
3517         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3518         (Bug#10987).
3520 2012-03-11  Chong Yidong  <cyd@gnu.org>
3522         * simple.el (goto-line): Doc fix (Bug#9938).
3524         * subr.el (save-window-excursion): Doc fix (Bug#9979).
3526         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3527         when finished (Bug#10963).
3529 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
3531         * window.el (split-window-below): Fix bug in case where
3532         split-window-keep-point is nil (Bug#10971).
3534 2012-03-11  Juri Linkov  <juri@jurta.org>
3536         * replace.el (replace-highlight): Set isearch-word to nil
3537         unconditionally.  (Bug#10887)
3539 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
3541         * net/mairix.el (mairix-replace-invalid-chars): Rename from
3542         mairix-replace-illegal-chars; all callers changed.  Don't remove
3543         ^, ~, and = characters: they are meaningful in mairix search specs.
3544         (mairix-widget-create-query): Add usage information about mairix
3545         search forms: negating words, searching for substrings, etc.
3547 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
3549         * international/fontset.el (font-encoding-alist): Add an entry for
3550         ksx1001 (Bug#5667).
3552 2012-03-10  Richard Stallman  <rms@gnu.org>
3554         * mail/sendmail.el (mail-encode-header):
3555         Set rfc2047-encode-encoded-words.
3557         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3559         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3560         view buffer means not swapped.
3561         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3562         (rmail-write-region-annotate): Error if real text has disappeared.
3564         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3566 2012-03-10  Chong Yidong  <cyd@gnu.org>
3568         * emulation/cua-rect.el (cua--init-rectangles):
3569         * emulation/cua-base.el (cua--init-keymaps):
3570         Add delete-forward-char to remappings (Bug#9666).
3572 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
3574         * speedbar.el (speedbar-unhighlight-one-tag-line):
3575         Avoid unhighlighting due to frame switching (Bug#10275).
3577 2012-03-10  Chong Yidong  <cyd@gnu.org>
3579         * minibuffer.el (completion-in-region, completion-help-at-point):
3580         Give the completion field overlay a high priority (Bug#6830).
3582         * dired.el (dired-goto-file): Recognize absolute file name
3583         listings (Bug#7126).
3584         (dired-goto-file-1): New helper function.
3585         (dired-toggle-read-only): Inhibit warnings.
3587 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
3589         * net/dbus.el (dbus-property-handler): Return empty array if
3590         there are no properties.
3592 2012-03-09  Leo Liu  <sdl.web@gmail.com>
3594         * savehist.el (savehist-printable): Stricter check for string
3595         value (Bug#10937).
3597 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
3599         * mail/smtpmail.el (smtpmail-send-it):
3600         Bind coding-system-for-write to *-unix, so that FCC files are kept in
3601         valid mbox format.
3603 2012-03-09  Glenn Morris  <rgm@gnu.org>
3605         * files.el (dir-locals-find-file):
3606         Don't check result is regular, readable.
3607         (dir-locals-read-from-file): Demote errors.
3609 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
3611         * international/quail.el (quail-insert-kbd-layout):
3612         Insert invisible LRM characters before each character in a keyboard
3613         layout cell, to prevent their reordering by bidi display engine.
3614         For details, see the discussion in
3615         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3617 2012-03-08  Alan Mackenzie  <acm@muc.de>
3619         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3620         the starting position; make it extend the marked region when
3621         invoked repeatedly - all under appropriate circumstances.
3622         Fixes bugs #5525, #10906.
3624 2012-03-08  Glenn Morris  <rgm@gnu.org>
3626         * files.el (locate-dominating-file, dir-locals-find-file):
3627         Undo 2012-03-06 change.
3629 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
3631         * international/quail.el (quail-help):
3632         Force bidi-paragraph-direction be left-to-right.  See discussion in
3633         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3634         for the reason.
3636 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
3638         Avoid superfluous registering of signals.  (Bug#10807)
3640         * notifications.el (notifications-on-action-object)
3641         (notifications-on-close-object): New defvars.
3642         (notifications-on-action-signal, notifications-on-closed-signal):
3643         Unregister the signal if not needed any longer.
3644         (notifications-notify): Register `notifications-action-signal' or
3645         `notifications-closed-signal', if :on-action or :on-close has been
3646         passed as argument.
3648 2012-03-07  Chong Yidong  <cyd@gnu.org>
3650         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3651         non-X platforms.
3653 2012-03-06  Glenn Morris  <rgm@gnu.org>
3655         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3656         (x-disown-selection-internal, x-get-selection-internal):
3657         Doc fix (add arglist signatures).  (Bug#10783)
3659 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
3661         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3662         Handle breakpoints with no "type".
3664 2012-03-06  Glenn Morris  <rgm@gnu.org>
3666         * files.el (locate-dominating-file): Add optional predicate argument.
3667         (dir-locals-find-file): Make use of above change.
3669 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
3671         * info.el (Info-insert-dir): Also try "dir.gz".
3673 2012-03-06  Glenn Morris  <rgm@gnu.org>
3675         * files.el (dir-locals-find-file):
3676         Ignore non-readable or non-regular files.  (Bug#10928)
3678         * files.el (locate-dominating-file): Doc fix.
3680 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
3682         * calendar/calendar.el (calendar-set-mode-line):
3683         `getenv' returns a string.  (Bug#10951)
3685 2012-03-05  Leo Liu  <sdl.web@gmail.com>
3687         * simple.el (backward-delete-char-untabify): Constrain point to
3688         field (Bug#10939).
3690         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3692 2012-03-05  Chong Yidong  <cyd@gnu.org>
3694         * simple.el (count-words): If called from Lisp, return the word
3695         count, for symmetry with `count-lines'.  Arglist changed.
3696         (count-words--message): Args changed.  Consolidate counting code
3697         from count-words and count-words-region.
3698         (count-words-region): Caller changed.
3699         (count-lines-region): Make it an obsolete alias.
3701 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
3703         * saveplace.el (save-place-to-alist)
3704         (save-place-ignore-files-regexp): Allow value nil to disable this
3705         feature.
3707 2012-03-04  Chong Yidong  <cyd@gnu.org>
3709         * faces.el (face-spec-reset-face): For the default face, reset the
3710         attributes to default values (Bug#10748).
3712 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3714         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3715         previous patch: Check `message-send-mail-function', and not the
3716         default function (bug#10897).
3718 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
3720         * notifications.el (notifications-on-action-signal)
3721         (notifications-on-closed-signal): Check for unique service name of
3722         incoming event.  Fix error in removing entry.
3723         (top): Register for signals with wildcard service name.
3724         (notifications-notify): Use daemon unique service name for map entries.
3726 2012-03-04  Chong Yidong  <cyd@gnu.org>
3728         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3730 2012-03-04  Glenn Morris  <rgm@gnu.org>
3732         * abbrev.el (copy-abbrev-table, abbrev-table-p)
3733         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3734         (expand-abbrev, define-abbrev-table): Doc fixes.
3736 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3738         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3739         `message-default-send-mail-function' and not `send-mail-function'
3740         when doing the prompting for `sendmail-query-once' before sending
3741         in Message buffers (bug#10897).
3743         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3744         This is inconsistent with all the other stream functions, which leave
3745         the setting up to the higher levels (if so wanted) (bug#10931).
3747 2012-03-02  Alan Mackenzie  <acm@muc.de>
3749         Depessimize the handling of very large macros.
3751         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3752         (c-macro-cache-syntactic): New variables to implement a one
3753         element macro cache.
3754         (c-invalidate-macro-cache): New function.
3755         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3756         Adapt to use the new cache.
3757         (c-state-safe-place): Use better the cache of safe positions.
3758         (c-state-semi-nonlit-pos-cache)
3759         (c-state-semi-nonlit-pos-cache-limit):
3760         New variables for...
3761         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
3762         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3763         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3764         Use c-state-semi-safe-place.
3766         * progmodes/cc-langs.el (c-get-state-before-change-functions):
3767         Add c-invalidate-macro-cache to the C, C++, Obj entries.
3769 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
3771         * jka-compr.el (jka-compr-call-process):
3772         Apply `file-accessible-directory-p' only when the default directory is
3773         not remote.
3775 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
3777         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
3778         access of FILE2, if FILE1 does not exist.
3780         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3781         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3783         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3784         Add "PAGER=" to `process-environment'.
3786 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
3788         * progmodes/sql.el: Bug fix
3789         (sql-get-login-ext): Save login values in globals.
3790         (sql-get-login): Use new version of `sql-get-login-ext'.
3791         (sql-interactive-mode): Set global `sql-connection' to nil.
3792         (sql-connect): Set global values for connection.
3793         (sql-product-interactive): Save global values as buffer local.
3795 2012-02-29  Leo Liu  <sdl.web@gmail.com>
3797         * abbrev.el (define-abbrevs): Reset sys to nil.
3799 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3801         * files.el (file-equal-p): Rename from `files-equal-p'.
3802         Return nil when one or both files don't exist.
3803         (file-subdir-of-p): Now only top directory must exists,
3804         return nil if it doesn't.
3805         (copy-directory): No need to test with `file-subdir-of-p' after
3806         creating dir.
3807         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3808         to `file-equal-p'.
3810 2012-02-28  Glenn Morris  <rgm@gnu.org>
3812         * shell.el (shell-mode):
3813         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3814         * play/landmark.el (landmark-font-lock-face-O):
3815         * play/handwrite.el (handwrite):
3816         * play/gomoku.el (gomoku-O):
3817         * net/browse-url.el (browse-url-browser-display):
3818         * international/mule.el (define-charset):
3819         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3820         * filesets.el (filesets-find-file-delay):
3821         * eshell/em-xtra.el (eshell-xtra):
3822         * eshell/em-unix.el (eshell-grep):
3823         * emulation/viper.el (viper-mode):
3824         * emacs-lisp/regexp-opt.el (regexp-opt-group):
3825         * emacs-lisp/easymenu.el (easy-menu-define):
3826         * calendar/timeclock.el (timeclock-use-display-time):
3827         * bs.el (bs-mode):
3828         * bookmark.el (bookmark-save-flag):
3829         Doc fix (standardize possessive apostrophe usage).
3831 2012-02-27  Chong Yidong  <cyd@gnu.org>
3833         * emulation/viper-cmd.el (viper-intercept-ESC-key):
3834         Fix key-binding lookup for ESC key (Bug#9146).
3836         * font-lock.el (font-lock-specified-p): Rename from
3837         font-lock-spec-present.  Callers changed.
3839 2012-02-27  Daniel Hackney  <dan@haxney.org>
3841         * emacs-lisp/package.el (package-compute-transaction):
3842         Handle holding a package version to t in package-load-list.
3844 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
3846         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3847         (tramp-get-inode, tramp-get-device): Use cached values.
3849 2012-02-26  Alan Mackenzie  <acm@muc.de>
3851         Check there is a font-lock specification before doing initial
3852         fontification.
3854         * font-core.el (font-lock-mode): Move the conditional from
3855         :after-hook to font-lock-initial-fontify.
3856         (font-lock-default-function): Move the check for a specification
3857         to font-lock-spec-present.
3859         * font-lock.el (font-lock-initial-fontify): Call ...
3860         (font-lock-spec-present): New function.
3862 2012-02-26  Jim Blandy  <jimb@red-bean.com>
3864         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3865         (gdb-send): Apply it to the operand of the '-interpreter-exec
3866         console' command, so that we can pass arguments with (say) quotes
3867         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
3869 2012-02-26  Chong Yidong  <cyd@gnu.org>
3871         * help-fns.el (describe-function-1): Clarify description of
3872         remapping (Bug#10844).
3874         * files.el (files-equal-p): Doc fix.
3875         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
3876         and quit the loop once a mismatch is found.
3878 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
3880         * bs.el (bs--show-with-configuration): Don't throw an error
3881         if the window cannot be split; otherwise, subsequent calls to
3882         bs-show fail, restoring a stale window config.  (Bug#10882)
3884 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
3886         * term/ns-win.el (global-map): Bind ns-drag-file to
3887         ns-find-file (Bug#5855, Bug#10050).
3889 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
3891         * calendar/parse-time.el (parse-time-string): Allow extractor to
3892         return nil.
3894 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
3896         * net/tramp.el (tramp-file-name-for-operation):
3897         Add `files-equal-p' and `file-subdir-of-p'.
3899         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3900         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3901         Add COPY-CONTENTS argument.
3903 2012-02-25  Chong Yidong  <cyd@gnu.org>
3905         Add custom groups for VC backends, for consistency with vc-bzr.
3907         * vc/vc-arch.el (vc-arch):
3908         * vc/vc-cvs.el (vc-cvs):
3909         * vc/vc-git.el (vc-git):
3910         * vc/vc-hg.el (vc-hg):
3911         * vc/vc-mtn.el (vc-mtn):
3912         * vc/vc-rcs.el (vc-rcs):
3913         * vc/vc-sccs.el (vc-sccs):
3914         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3915         All relevant defcustoms reassigned.
3917 2012-02-25  Chong Yidong  <cyd@gnu.org>
3919         * newcomment.el (comment-styles): Add autoload (Bug#10868).
3921         * term/x-win.el (x-initialize-window-system): Reduce default for
3922         x-selection-timeout to 5 seconds (Bug#8869).
3924 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3926         * files.el (files-equal-p, file-subdir-of-p): New functions.
3927         (copy-directory): Error when trying to copy a directory on itself.
3928         Add missing copy-contents arg to tramp handler.
3929         * dired-aux.el (dired-copy-file-recursive): Same.
3930         (dired-create-files): Modify destination when source is equal to
3931         dest when copying files.
3932         Return also when dest is a subdir of source.  (Bug#10489)
3934 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
3936         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3937         (Bug#10874)
3939 2012-02-23  Alan Mackenzie  <acm@muc.de>
3941         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3942         parameter "after-hook:" to allow the expansion to run code after
3943         the execution of the mode hooks.
3945         * font-lock.el (font-lock-initial-fontify): New function extracted
3946         from font-lock-mode-internal.
3948         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3949         :after-hook.
3951 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3953         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3954         (completion--cache-all-sorted-completions): New function.
3955         (completion-all-sorted-completions): Use it.
3956         (completion--do-completion, minibuffer-force-complete):
3957         Use it to re-instate the flush hook.
3959         * icomplete.el (icomplete-completions): Replace last fix with a better
3960         one (bug#10850).
3962 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
3964         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3965         when it might call us back infinitely (bug#10797).
3967 2012-02-23  Glenn Morris  <rgm@gnu.org>
3969         * minibuffer.el (completion-category-overrides): Doc fix.
3971 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3973         * minibuffer.el (completion-table-with-context): Fix inf-loop.
3974         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3976 2012-02-23  Glenn Morris  <rgm@gnu.org>
3978         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3979         (authors-obsolete-files-regexps, authors-ignored-files)
3980         (authors-ambiguous-files, authors-renamed-files-alist):
3981         Add more entries.
3983 2012-02-23  Juri Linkov  <juri@jurta.org>
3985         * isearch.el (isearch-occur): Sync interactive spec with occur's
3986         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
3988         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3990 2012-02-22  Juri Linkov  <juri@jurta.org>
3992         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3993         (ucs-insert): Doc fix.  Check for hex digits in the string.
3994         Don't display `nil' in the error message.  (Bug#10857)
3996 2012-02-22  Alan Mackenzie  <acm@muc.de>
3998         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4000 2012-02-22  Glenn Morris  <rgm@gnu.org>
4002         * ffap.el (ffap-c-path):
4003         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
4005 2012-02-22  Chong Yidong  <cyd@gnu.org>
4007         * custom.el (load-theme): Doc fix.
4009 2012-02-22  Glenn Morris  <rgm@gnu.org>
4011         * dired-x.el (dired-guess-shell-alist-default):
4012         Remove escape sequences from nroff output.  (Bug#172)
4014 2012-02-21  Glenn Morris  <rgm@gnu.org>
4016         * vc/emerge.el (emerge-defvar-local):
4017         Set `permanent-local' property rather than unused `preserved'.
4019         * textmodes/picture.el (picture-delete-char): New alias.
4020         (picture-mode-map): Use it.  (Bug#10860)
4021         (picture-mode): Doc fix.
4023 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
4025         * newcomment.el (uncomment-region-default): Remove unused binding.
4027 2012-02-21  Glenn Morris  <rgm@gnu.org>
4029         * textmodes/picture.el (picture-motion, picture-motion-reverse)
4030         (picture-self-insert, picture-tab-chars): Doc fix.
4031         (picture-mode-map): Fix C-a, C-e.
4033 2012-02-20  Glenn Morris  <rgm@gnu.org>
4035         * emacs-lisp/authors.el (authors-aliases): Add another entry.
4037 2012-02-20  Leo Liu  <sdl.web@gmail.com>
4039         * icomplete.el (icomplete-completions): Check FROM arg before
4040         passing to substring (Bug#10850).
4042 2012-02-19  Chong Yidong  <cyd@gnu.org>
4044         * comint.el: Require ansi-color.
4045         (comint-output-filter-functions): Add ansi-color-process-output.
4047         * ansi-color.el: Don't set comint-output-filter-functions; it is
4048         now in the initial value defined in comint.el.
4049         (ansi-color-apply-face-function): New variable.
4050         (ansi-color-apply-on-region): Use it.
4051         (ansi-color-apply-overlay-face): New function.
4053         * shell.el (shell): No need to require ansi-color.
4054         (shell-mode): Use ansi-color-apply-face-function to highlight
4055         color escapes using font-lock-face property (Bug#10835).
4057 2012-02-19  Chong Yidong  <cyd@gnu.org>
4059         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4060         mode-line formats (Bug#10839).
4062 2012-02-18  Glenn Morris  <rgm@gnu.org>
4064         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4066         * mail/undigest.el (unforward-rmail-message): Doc fix.
4068         * saveplace.el (save-place-ignore-files-regexp): Add :version.
4070 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
4072         * international/characters.el (script-list): Sync with the latest
4073         Unicode Character Database.
4075 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
4077         * international/titdic-cnv.el: Remove duplicate coding tag.
4078         * language/cham.el: Likewise.
4079         * language/tai-viet.el: Likewise.
4081 2012-02-18  Glenn Morris  <rgm@gnu.org>
4083         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4084         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4085         (calendar-bahai-all-holidays-flag, calendar-other-dates):
4086         * calendar/diary-lib.el (diary-abbreviated-year-flag):
4087         * calendar/holidays.el (holiday-bahai-holidays)
4088         (calendar-holidays, list-holidays):
4089         Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
4091 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
4093         * saveplace.el (save-place-ignore-files-regexp): New variable
4094         allowing for excluding files from saving their location of point.
4095         The default value matches the temporary commit message editing
4096         files from Git, SVN, Bazaar, and Mercurial.
4097         (save-place-to-alist): Use it.
4099 2012-02-17  Lawrence Mitchell <wence@gmx.li>
4100             Stefan Monnier  <monnier@iro.umontreal.ca>
4102         * newcomment.el (uncomment-region-default): Don't leave extra space
4103         when an arg is provided (bug#8150).
4105 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
4107         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4109 2012-02-17  Glenn Morris  <rgm@gnu.org>
4111         * net/socks.el: Require network-stream.  (Bug#10599)
4113 2012-02-17  Kenichi Handa  <handa@m17n.org>
4115         * international/charprop.el:
4116         * international/uni-name.el:
4117         * international/uni-old-name.el:
4118         * international/uni-comment.el: Regenerate.
4120 2012-02-16  Glenn Morris  <rgm@gnu.org>
4122         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4123         Interactively in calendar buffer, give an error if not on a date.
4125 2012-02-15  Glenn Morris  <rgm@gnu.org>
4127         * shell.el (shell-delimiter-argument-list):
4128         Revert 2011-02-17 change.  (Bug#8027)
4130 2012-02-15  Chong Yidong  <cyd@gnu.org>
4132         * minibuffer.el (completion-at-point-functions): Doc fix.
4134         * custom.el (defcustom): Doc fix; note use of defvar.
4136 2012-02-15  Glenn Morris  <rgm@gnu.org>
4138         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4139         Doc fixes.
4141 2012-02-14  Glenn Morris  <rgm@gnu.org>
4143         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4145 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
4147         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4148         way the ports list is computed.
4149         (smtpmail-query-smtp-server): Prompt the user for a port number if
4150         we can't connect to any of the standard ports (bug#10810).
4152 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
4154         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4156 2012-02-13  Glenn Morris  <rgm@gnu.org>
4158         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
4160 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
4162         * net/gnutls.el (gnutls-trustfiles): New variable.
4163         (gnutls-negotiate): Use it.
4165 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
4167         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4168         does its stuff if Gnus is running.
4170 2012-02-13  Alan Mackenzie  <acm@muc.de>
4172         Fix a loop in c-set-fl-decl-start.
4174         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4175         c-backward-syntactic-ws actually moves backwards.
4177 2012-02-13  Leo Liu  <sdl.web@gmail.com>
4179         * net/rcirc.el (rcirc-markup-attributes): Move point to the
4180         beginning so that all \C-o chars are removed.
4182 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
4184         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4186 2012-02-12  Alan Mackenzie  <acm@muc.de>
4188         Fix infinite loop with long macros.
4189         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4191 2012-02-12  Chong Yidong  <cyd@gnu.org>
4193         * window.el (display-buffer): Doc fix (Bug#10785).
4195 2012-02-12  Glenn Morris  <rgm@gnu.org>
4197         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4198         (x-disown-selection-internal, x-get-selection-internal):
4199         Sync docs with the xselect.c versions.
4201         * allout-widgets.el: Add missing license notice.
4203 2012-02-11  Glenn Morris  <rgm@gnu.org>
4205         * select.el (x-get-selection-internal, x-own-selection-internal)
4206         (x-disown-selection-internal):
4207         * x-dnd.el (x-get-selection-internal): Update declarations.
4209         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4211         * window.el (window-sides-slots):
4212         * tool-bar.el (tool-bar-position):
4213         * term/xterm.el (xterm-extra-capabilities):
4214         * ses.el (ses-self-reference-early-detection):
4215         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4216         (verilog-auto-wire-type)
4217         (verilog-auto-delete-trailing-whitespace)
4218         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4219         (verilog-auto-tieoff-declaration):
4220         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4221         (sql-oracle-statement-starters, sql-oracle-scan-on):
4222         * progmodes/prolog.el (prolog-align-comments-flag)
4223         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4224         (prolog-left-indent-regexp, prolog-paren-indent-p)
4225         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4226         (prolog-types, prolog-mode-specificators)
4227         (prolog-determinism-specificators, prolog-directives)
4228         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4229         (prolog-electric-dot-flag)
4230         (prolog-electric-dot-full-predicate-template)
4231         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4232         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4233         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4234         (prolog-program-switches, prolog-prompt-regexp)
4235         (prolog-debug-on-string, prolog-debug-off-string)
4236         (prolog-trace-on-string, prolog-trace-off-string)
4237         (prolog-zip-on-string, prolog-zip-off-string)
4238         (prolog-use-standard-consult-compile-method-flag)
4239         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4240         (prolog-imenu-max-lines, prolog-info-predicate-index)
4241         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4242         (prolog-char-quote-workaround):
4243         * progmodes/cc-vars.el (c-defun-tactic):
4244         * net/tramp.el (tramp-encoding-command-interactive)
4245         (tramp-local-end-of-line):
4246         * net/soap-client.el (soap-client):
4247         * net/netrc.el (netrc-file):
4248         * net/gnutls.el (gnutls):
4249         * minibuffer.el (completion-category-overrides)
4250         (completion-cycle-threshold)
4251         (completion-pcm-complete-word-inserts-delimiters):
4252         * man.el (Man-name-local-regexp):
4253         * mail/feedmail.el (feedmail-display-full-frame):
4254         * international/characters.el (glyphless-char-display-control):
4255         * eshell/em-ls.el (eshell-ls-date-format):
4256         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4257         (lisp-lambda-list-keyword-parameter-indentation)
4258         (lisp-lambda-list-keyword-parameter-alignment):
4259         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4260         * dired-x.el (dired-omit-verbose):
4261         * cus-theme.el (custom-theme-allow-multiple-selections):
4262         * calc/calc.el (calc-highlight-selections-with-faces)
4263         (calc-lu-field-reference, calc-lu-power-reference)
4264         (calc-note-threshold):
4265         * battery.el (battery-mode-line-limit):
4266         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4267         (archive-7z-update):
4268         * allout.el (allout-prefixed-keybindings)
4269         (allout-unprefixed-keybindings)
4270         (allout-inhibit-auto-fill-on-headline)
4271         (allout-flattened-numbering-abbreviation):
4272         * allout-widgets.el (allout-widgets-auto-activation)
4273         (allout-widgets-icons-dark-subdir)
4274         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4275         (allout-widgets-theme-dark-background)
4276         (allout-widgets-theme-light-background)
4277         (allout-widgets-item-image-properties-emacs)
4278         (allout-widgets-item-image-properties-xemacs)
4279         (allout-widgets-run-unit-tests-on-load)
4280         (allout-widgets-time-decoration-activity)
4281         (allout-widgets-hook-error-post-time)
4282         (allout-widgets-track-decoration):
4283         Add missing :version tags to new defcustoms and defgroups.
4285         * progmodes/sql.el (sql-ansi-statement-starters)
4286         (sql-oracle-statement-starters): Add custom type.
4288         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4289         (prolog-system-version): Give it a type.
4291 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
4293         * term/pc-win.el (x-select-text, x-selection-owner-p)
4294         (x-own-selection-internal, x-disown-selection-internal)
4295         (x-get-selection-internal): Sync doc strings and argument lists
4296         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
4298 2012-02-11  Leo Liu  <sdl.web@gmail.com>
4300         * progmodes/python.el (python-end-of-statement): Fix infinite
4301         loop.  (Bug#10788)
4303 2012-02-10  Glenn Morris  <rgm@gnu.org>
4305         * international/mule-cmds.el (unify-8859-on-encoding-mode)
4306         (unify-8859-on-decoding-mode): Properly mark as obsolete.
4308 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
4310         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4311         about SMTP before checking the From header.
4313         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4314         into own function for reuse by emacsbug.el.
4316 2012-02-10  Leo Liu  <sdl.web@gmail.com>
4318         * subr.el (condition-case-unless-debug): Rename from
4319         condition-case-no-debug.  All callers changed.
4320         (with-demoted-errors): Fix caller.
4322         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4323         * nxml/rng-valid.el (rng-do-some-validation):
4324         * emacs-lisp/package.el (package-refresh-contents)
4325         (package-menu-execute):
4326         * desktop.el (desktop-create-buffer):
4327         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4329 2012-02-10  Glenn Morris  <rgm@gnu.org>
4331         * textmodes/bibtex.el:
4332         Add missing :version tags for new/changed defcustoms.
4334         * files.el (remote-file-name-inhibit-cache): Doc fixes.
4336 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
4338         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4339         (smtpmail-via-smtp): Use it, or fall back on the From address.
4340         (smtpmail-send-it): Ditto.
4342 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4344         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4345         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
4346         (byte-compile-tmp-var): New const.
4347         (byte-compile-defvar): Use it to minimize .elc size.
4348         Just use `defvar' rather than simulate it (bug#10761).
4350 2012-02-09  Glenn Morris  <rgm@gnu.org>
4352         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
4354         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4355         Add :version tags.
4357         * progmodes/compile.el (compilation-error-screen-columns)
4358         (compilation-first-column, compilation-filter-start): Doc fixes.
4360         * vc/log-view.el (log-view-toggle-entry-display):
4361         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4363         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4364         (report-emacs-bug-can-use-xdg-email):
4365         (report-emacs-bug-insert-to-mailer): Doc fixes.
4366         (report-emacs-bug): Message fix.
4368         * net/browse-url.el (browse-url-can-use-xdg-open)
4369         (browse-url-xdg-open): Doc fixes.
4371         * electric.el (electric-indent-mode, electric-pair-mode)
4372         (electric-layout-rules, electric-layout-mode): Doc fixes.
4373         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4375 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
4377         * server.el (server-unselect-display): Don't inadvertently kill
4378         the current buffer.  (Bug#10729)
4380 2012-02-08  Glenn Morris  <rgm@gnu.org>
4382         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4383         (sql-list-table): Doc fixes.
4385         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4386         Comment out (does nothing).
4388         * completion.el (dynamic-completion-mode):
4389         * dirtrack.el (dirtrack-debug-mode):
4390         * electric.el (electric-layout-mode):
4391         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4392         * face-remap.el (text-scale-mode, buffer-face-mode):
4393         * iimage.el (iimage-mode):
4394         * image-mode.el (image-transform-mode):
4395         * minibuffer.el (completion-in-region-mode):
4396         * scroll-lock.el (scroll-lock-mode):
4397         * simple.el (next-error-follow-minor-mode):
4398         * tar-mode.el (tar-subfile-mode):
4399         * tooltip.el (tooltip-mode):
4400         * vcursor.el (vcursor-use-vcursor-map):
4401         * wid-browse.el (widget-minor-mode):
4402         * emulation/tpu-edt.el (tpu-edt-mode):
4403         * emulation/tpu-extras.el (tpu-cursor-free-mode):
4404         * international/iso-ascii.el (iso-ascii-mode):
4405         * language/thai-util.el (thai-word-mode):
4406         * mail/supercite.el (sc-minor-mode):
4407         * net/goto-addr.el (goto-address-mode):
4408         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4409         * progmodes/cwarn.el (cwarn-mode):
4410         * progmodes/flymake.el (flymake-mode):
4411         * progmodes/glasses.el (glasses-mode):
4412         * progmodes/hideshow.el (hs-minor-mode):
4413         * progmodes/pascal.el (pascal-outline-mode):
4414         * textmodes/enriched.el (enriched-mode):
4415         * vc/smerge-mode.el (smerge-mode):
4416         Doc fixes (minor mode argument).
4418 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
4420         * ls-lisp.el (ls-lisp-sanitize): New function.
4421         (ls-lisp-insert-directory): Use it to fix or remove any elements
4422         in file-alist with missing attributes.  (Bug#4673)
4424 2012-02-07  Alan Mackenzie  <acm@muc.de>
4426         Fix spurious recognition of c-in-knr-argdecl.
4428         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4429         putative K&R region.
4431 2012-02-07  Alan Mackenzie  <acm@muc.de>
4433         * progmodes/cc-engine.el (c-forward-objc-directive):
4434         Prevent looping in "#pragma mark @implementation".
4436 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
4438         * notifications.el (notifications-on-closed-signal): Make `reason'
4439         optional.  (Bug#10744)
4441 2012-02-07  Glenn Morris  <rgm@gnu.org>
4443         * emacs-lisp/easy-mmode.el (define-minor-mode):
4444         Doc fixes for the macro and the mode it defines.
4446         * image.el (imagemagick-types-inhibit): Doc fix.
4448         * cus-start.el (imagemagick-render-type): Add it.
4450 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
4452         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4453         Set the default at load time, too, so that `font-lock-fontify-buffer'
4454         can be called without setting up the entire mode first.  This fixes
4455         a bug in `mm-inline-text' with C MIME parts.
4457 2012-02-06  Chong Yidong  <cyd@gnu.org>
4459         * simple.el (list-processes--refresh): Delete exited processes
4460         (Bug#8094).
4462         * comint.el (comint-next-prompt): next-single-char-property-change
4463         and prev-single-char-property-change never return nil (Bug#8657).
4465         * custom.el (defcustom): Doc fix (Bug#9711).
4467 2012-02-05  Chong Yidong  <cyd@gnu.org>
4469         * cus-edit.el (custom-variable-reset-backup): Quote the value
4470         before storing it in the customized-value property (Bug#6712).
4471         (custom-display): Add a customization type tag.
4472         (custom-buffer-create-internal): Improve tooltip message.
4474         * wid-edit.el (widget-field-value-get): New optional arg to
4475         suppress trailing whitespace truncation.
4476         (character): Use it (Bug#2689).
4478 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
4480         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4481         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4483 2012-02-05  Chong Yidong  <cyd@gnu.org>
4485         * cus-edit.el (custom-variable-value-create): For mismatched
4486         types, show the current value (Bug#7600).
4488         * custom.el (defcustom): Doc fix.
4490 2012-02-05  Glenn Morris  <rgm@gnu.org>
4492         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4494 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
4496         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4497         (pp-buffer): Use `ignore-errors', `looking-at-p'.
4498         (pp-last-sexp): Use `looking-at-p'.
4500 2012-02-04  Glenn Morris  <rgm@gnu.org>
4502         * files.el (revert-buffer):
4503         Doc fix (mention revert-buffer-in-progress-p).
4505         * emacs-lisp/ert-x.el (ert-simulate-command):
4506         Check deferred-action-list (which is obsolete) is bound.
4508         * subr.el (with-wrapper-hook): Doc fixes.
4510         * simple.el (filter-buffer-substring-functions)
4511         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4513 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
4515         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4516         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
4518 2012-02-04  Leo Liu  <sdl.web@gmail.com>
4520         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4522 2012-02-04  Glenn Morris  <rgm@gnu.org>
4524         * image.el (image-extension-data): Add obsolete alias.
4526         * isearch.el (isearch-update): Doc fix.
4528         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4530         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4532 2012-02-03  Glenn Morris  <rgm@gnu.org>
4534         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
4535         (image-animate-timeout): Doc fix.
4537         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4539 2012-02-02  Glenn Morris  <rgm@gnu.org>
4541         * server.el (server-auth-dir): Doc fix.
4542         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
4544         * subr.el (run-mode-hooks): Doc fix.
4546 2012-02-02  Juri Linkov  <juri@jurta.org>
4548         * image-mode.el (image-toggle-display-image): Remove tautological
4549         `major-mode' from the `derived-mode-p' test.
4551 2012-02-02  Kenichi Handa  <handa@m17n.org>
4553         * composite.el (compose-region): Cancel previous change.
4555 2012-02-02  Kenichi Handa  <handa@m17n.org>
4557         * composite.el (compose-region, compose-string): Signal error for
4558         a null string component (Bug#6988).
4560 2012-02-01  Chong Yidong  <cyd@gnu.org>
4562         * view.el (view-buffer-other-window, view-buffer-other-frame):
4563         Handle special modes like view-buffer (Bug#10650).
4564         (view-buffer): Simplify.
4566         * frame.el (set-frame-font): Tweak meaning of third argument.
4568         * dynamic-setting.el (font-setting-change-default-font):
4569         Use set-frame-font (Bug#9982).
4571 2012-02-01  Glenn Morris  <rgm@gnu.org>
4573         * progmodes/compile.el (compilation-internal-error-properties):
4574         Respect compilation-first-column in the "*compilation*" buffer.
4576         * emacs-lisp/easy-mmode.el (define-minor-mode):
4577         Relax :variable's test for a named function.
4579 2012-01-31  Alan Mackenzie  <acm@muc.de>
4581         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4582         off by one error.
4584 2012-01-31  Chong Yidong  <cyd@gnu.org>
4586         * frame.el (set-frame-font): New arg ALL-FRAMES.
4588         * menu-bar.el (menu-set-font): Use set-frame-font.
4590         * faces.el (face-spec-reset-face): Don't apply unspecified
4591         attribute values to the default face.
4593 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
4595         * progmodes/cwarn.el (cwarn): Remove dead link.
4596         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4597         Remove * from defcustom docstrings.
4598         (turn-on-cwarn-mode): Make obsolete.
4599         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4600         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4602 2012-01-31  Glenn Morris  <rgm@gnu.org>
4604         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4605         Fix :variable handling of mode a symbol not equal to modefun.
4606         Allow named functions to be used as the cdr of :variable.
4608 2012-01-30  Glenn Morris  <rgm@gnu.org>
4610         * emacs-lisp/authors.el (authors-fixed-entries):
4611         Remove reference to deleted file rnewspost.el.
4613 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
4615         * window.el (window-with-parameter): Remove unused variable `windows'.
4616         (window--side-check): Remove unused variable `code'.
4617         (window--resize-siblings): Remove unused variable `first'.
4618         (adjust-window-trailing-edge): Remove unused variable `failed'.
4619         (window-deletable-p, window--delete): Remove unused variable `buffer'.
4620         Use `let', not `let*'.
4621         (balance-windows-2): Remove unused variable `found'.
4622         (window--state-put-2): Remove unused variable `splits'.
4623         (window-state-put): Remove unused variable `selected'.
4624         (same-window-p): Use `string-match-p'.
4625         (display-buffer-assq-regexp): Remove unused variable `value'.
4626         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4627         Mark argument ALIST as ignored.
4628         (pop-to-buffer): Remove unused variable `old-window'.
4630 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
4632         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4633         and .lzma compressed files.
4635 2012-01-29  Chong Yidong  <cyd@gnu.org>
4637         * frame.el (window-system-default-frame-alist): Doc fix.
4639         * dynamic-setting.el (font-setting-change-default-font): Don't
4640         change the default face if SET-FONT argument is non-nil (Bug#9982).
4642 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
4644         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4646 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
4648         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4649         breakpoints in files outside current directory (Bug#6098).
4651 2012-01-29  Chong Yidong  <cyd@gnu.org>
4653         * progmodes/python.el: Require ansi-color at top-level.
4655         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4656         Define and use in Emacs Lisp mode (Bug#9360).
4657         (lisp-mode-abbrev-table): Add doc.
4658         (lisp-mode-variables): Don't set local-abbrev-table.
4659         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4661 2012-01-28  Roland Winkler  <winkler@gnu.org>
4663         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4665 2012-01-28  Roland Winkler  <winkler@gnu.org>
4667         * textmodes/bibtex.el (bibtex-entry-alist): New function.
4668         (bibtex-set-dialect): Use it.  Either set global values of
4669         dialect-dependent variables or bind these variables buffer-locally
4670         (Bug#10254).
4671         (bibtex-mode): Call bibtex-set-dialect via
4672         hack-local-variables-hook.
4673         (bibtex-dialect): Update docstring.
4674         Add safe-local-variable predicate.
4675         (bibtex-entry-alist, bibtex-field-alist): Initialize via
4676         bibtex-set-dialect.
4677         (bibtex-mode-map): Define menu for each dialect.
4678         (bibtex-entry): Fix docstring.
4680 2012-01-28  Chong Yidong  <cyd@gnu.org>
4682         * eshell/esh-arg.el (eshell-quote-argument): New function.
4684         * eshell/esh-ext.el (eshell-invoke-batch-file):
4685         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4686         first arg to eshell-parse-command (Bug#10523).
4688 2012-01-28  Drew Adams  <drew.adams@oracle.com>
4690         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4691         `default-directory' is non-nil.
4693 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
4695         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4696         line that displays system-configuration-options.  (Bug#9924)
4698 2012-01-28  Drew Adams  <drew.adams@oracle.com>
4700         * descr-text.el (describe-char): Show information about POS, in
4701         addition to information about the character at POS.  Improve and
4702         update the doc string.  Change "code point" to "code point in
4703         charset", to avoid confusion with the character's Unicode code
4704         point shown above that.  (Bug#10129)
4706 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
4708         * descr-text.el (describe-char): Show the raw character, not only
4709         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
4710         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4711         for the reasons.
4713 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
4715         * emacs-lisp/package.el (package-install):
4716         Run package-refresh-contents if there is no archive yet (Bug#9798).
4718 2012-01-28  Chong Yidong  <cyd@gnu.org>
4720         * emacs-lisp/package.el (package-maybe-load-descriptor):
4721         New function, split from package-maybe-load-descriptor.
4722         (package-maybe-load-descriptor): Use it.
4723         (package-download-transaction): Fully load required packages
4724         inside the loop, so that `require' calls work (Bug#10593).
4725         (package-install): No need to call package-initialize now.
4727 2012-01-28  Chong Yidong  <cyd@gnu.org>
4729         * simple.el (deactivate-mark): Doc fix (Bug#8614).
4731         * tooltip.el (tooltip-mode): Doc fix.
4732         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4734         * frame.el (set-cursor-color): Doc fix (Bug#352).
4736         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4737         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4739         * cus-edit.el (custom-buffer-create-internal): Fix search button
4740         action (Bug#10542).
4741         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4743 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
4745         * dired.el (dired-mark-files-regexp):
4746         Include any subdirectory components.  (Bug#10445)
4748 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
4750         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4751         Handle [host]:port syntax.  (Bug#10533)
4753 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
4755         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4757 2012-01-26  Glenn Morris  <rgm@gnu.org>
4759         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4760         * term.el (term-raw-escape-map): Use Control-X-prefix.
4761         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
4763 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
4765         * window.el (window-state-get, window--state-get-1): Don't deal
4766         with fixed-sizeness of windows.  Simplify code.
4768 2012-01-25  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
4770         * window.el (window--state-get-1, window--state-put-2):
4771         Don't save and restore the mark.
4773 2012-01-25  Chong Yidong  <cyd@gnu.org>
4775         * custom.el (custom-variable-p): Doc fix.
4777 2012-01-25  Glenn Morris  <rgm@gnu.org>
4779         * dired.el (dired-goto-file): Handle some of the more common
4780         characters that `ls -b' escapes.  (Bug#10596)
4782         * progmodes/compile.el (compilation-next-error-function):
4783         Respect compilation-first-column in the "*compilation*" buffer.
4784         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
4786         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
4788 2012-01-24  Glenn Morris  <rgm@gnu.org>
4790         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
4792 2012-01-24  Julien Danjou  <julien@danjou.info>
4794         * color.el (color-rgb-to-hsl): Fix value computing.
4795         (color-hue-to-rgb): New function.
4796         (color-hsl-to-rgb): New function.
4797         (color-clamp, color-saturate-hsl, color-saturate-name)
4798         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4799         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4801 2012-01-24  Glenn Morris  <rgm@gnu.org>
4803         * vc/vc-rcs.el (vc-rcs-create-tag):
4804         * vc/vc-sccs.el (vc-sccs-create-tag):
4805         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
4807 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
4809         * eshell/esh-util.el (eshell-read-hosts-file):
4810         Skip comment lines.  (Bug#10549)
4812         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
4814 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
4816         * subr.el (display-delayed-warnings): Doc fix.
4817         (collapse-delayed-warnings): New function to collapse identical
4818         adjacent warnings.
4819         (delayed-warnings-hook): Add it.
4821 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
4823         * net/tramp.el (tramp-action-login): Set connection property "login-as".
4825         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4826         properties, when "login-as" is set.
4828         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4829         (tramp-default-user-alist): Don't add "pscp".
4830         (tramp-do-copy-or-rename-file-out-of-band): Use connection
4831         property "login-as", if set.  (Bug#10530)
4833 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
4835         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4836         "plink1" and "psftp".  (Bug#10530)
4838 2012-01-21  Kenichi Handa  <handa@m17n.org>
4840         * international/mule-cmds.el (prefer-coding-system): Show a
4841         warning message if the default value of file-name-coding-system
4842         was not changed.
4844 2012-01-21  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
4846         * windmove.el (windmove-reference-loc):
4847         Fix windmove-reference-loc miscalculation.
4849 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
4851         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4852         default unit.
4854 2012-01-21  Glenn Morris  <rgm@gnu.org>
4856         * international/mule.el (auto-coding-alist): Add .tbz.
4858         * files.el (local-enable-local-variables): Doc fix.
4859         (inhibit-local-variables-regexps): Rename from
4860         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
4861         Doc fix.  Add some extensions from auto-coding-alist.
4862         (inhibit-local-variables-suffixes):
4863         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
4864         (inhibit-local-variables-p):
4865         New function, extracted from set-auto-mode-1.
4866         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
4867         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
4868         (hack-local-variables): Doc fix.  Make the mode-only case
4869         respect enable-local-variables and friends.
4870         Respect inhibit-local-variables-regexps for file-locals, but
4871         not for directory-locals.
4872         (set-visited-file-name):
4873         Take account of inhibit-local-variables-regexps.
4874         Whether it applies may change as the file name is changed.
4875         * jka-cmpr-hook.el (jka-compr-install):
4876         * jka-compr.el (jka-compr-uninstall):
4877         Update for inhibit-first-line-modes-suffixes name change.
4879 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
4881         * help-macro.el (make-help-screen): Temporarily restore original
4882         binding for minor-mode-map-alist (Bug#10454).
4884 2012-01-19  Julien Danjou  <julien@danjou.info>
4886         * color.el (color-name-to-rgb): Use the white color to find the max
4887         color component value and return correctly computed values.
4888         (color-name-to-rgb): Add missing float conversion for max value.
4890 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
4892         * window.el (window--state-get-1, window-state-get): Do not use
4893         special state value for window-persistent-parameters.
4894         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
4895         (window--state-put-2): Reset all window parameters to nil before
4896         assigning values of persistent parameters.
4898 2012-01-18  Alan Mackenzie  <acm@muc.de>
4900         Eliminate sluggishness and hangs in fontification of "semicolon
4901         deserts".
4903         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4904         Change value 10000 -> 3000.
4905         (c-state-safe-place): Reformulate so it doesn't stack up an
4906         infinite number of wrong entries in c-state-nonlit-pos-cache.
4907         (c-determine-limit-get-base, c-determine-limit): New functions to
4908         determine backward search limits disregarding literals.
4909         (c-find-decl-spots): Amend commenting.
4910         (c-cheap-inside-bracelist-p): New function which detects "={".
4912         * progmodes/cc-fonts.el
4913         (c-make-font-lock-BO-decl-search-function): Give a limit to a
4914         backward search.
4915         (c-font-lock-declarations): Fix an occurrence of point being
4916         undefined.  Check additionally for point being in a bracelist or
4917         near a macro invocation without a semicolon so as to avoid a
4918         fruitless time consuming search for a declarator.  Give a more
4919         precise search limit for declarators using the new
4920         c-determine-limit.
4922 2012-01-18  Glenn Morris  <rgm@gnu.org>
4924         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4925         (set-auto-mode): Doc fixes.
4927 2012-01-17  Glenn Morris  <rgm@gnu.org>
4929         * isearch.el (search-nonincremental-instead): Fix doc typo.
4931         * dired.el (dired-insert-directory): Handle newlines in directory name.
4932         (dired-build-subdir-alist): Unescape newlines in directory name.
4934 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
4936         * net/tramp.el (tramp-local-end-of-line): New defcustom.
4937         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4938         (tramp-action-terminal): Use it.  (Bug#10530)
4940 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4942         * minibuffer.el (completion--replace): Strip properties (bug#10062).
4944 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
4946         * window.el (window-state-ignored-parameters): Remove variable.
4947         (window--state-get-1): Rename argument MARKERS to IGNORE.
4948         Handle persistent window parameters.  Make copy of clone-of
4949         parameter only if requested.  (Bug#10348)
4950         (window--state-put-2): Install a window parameter only if it has
4951         a non-nil value or an existing parameter shall be overwritten.
4953 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
4955         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4957 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
4959         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4960         don't pass the (nil) value of `upnode' to string-match.
4962 2012-01-14  Chong Yidong  <cyd@gnu.org>
4964         * startup.el (command-line): Fix X resource class for cursorColor.
4965         Fix values recognized by the cursorBlink resource.
4967 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
4969         * epg.el (epg--make-temp-file): Avoid permission race condition
4970         when running on old Emacs versions (bug#10403).
4972 2012-01-14  Glenn Morris  <rgm@gnu.org>
4974         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4976 2012-01-13  Alan Mackenzie  <acm@muc.de>
4978         Fix filling for when filladapt mode is enabled.
4980         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4981         c-mask-paragraph, pass in `fill-paragraph' rather than
4982         `fill-region-as-paragraph'.  (This is a reversion of a previous
4983         change.)
4984         * progmodes/cc-mode.el (c-basic-common-init):
4985         Make fill-paragraph-handle-comment buffer local and set it to nil.
4987 2012-01-13  Glenn Morris  <rgm@gnu.org>
4989         * dired.el (dired-switches-escape-p): New function.
4990         (dired-insert-directory): Use dired-switches-escape-p.
4991         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
4993         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
4995 2012-01-12  Glenn Morris  <rgm@gnu.org>
4997         * mail/sendmail.el (mail-mode): Update paragraph-separate for
4998         changes in adaptive-fill-regexp.  (Bug#10276)
5000 2012-01-11  Alan Mackenzie  <acm@muc.de>
5002         Fix Emacs bug #10463 - put `widen's around the critical spots.
5004         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5005         widen around each invocation of c-state-pp-to-literal.  Remove an
5006         unused let variable.
5008 2012-01-11  Glenn Morris  <rgm@gnu.org>
5010         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
5011         Doc fix.
5013 2012-01-10  Chong Yidong  <cyd@gnu.org>
5015         * net/network-stream.el (network-stream-open-starttls):
5016         Avoid emitting a confusing error message when the server gives a bad
5017         response to the capability command.
5019 2012-01-10  Glenn Morris  <rgm@gnu.org>
5021         * mail/unrmail.el (unrmail): Tweak previous change.
5023 2012-01-09  Chong Yidong  <cyd@gnu.org>
5025         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5027 2012-01-08  Alan Mackenzie  <acm@muc.de>
5029         Optimise font locking in long enum definitions.
5031         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5032         arm to a cond form to handle enums.
5033         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5034         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5036 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5038         * files.el (move-file-to-trash): Preserve default file modes on error.
5039         (Bug#10401)
5041 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5043         * faces.el (set-face-attribute): Clarify the meaning of the nil
5044         frame (bug#10294).
5046         * subr.el (with-selected-frame): Mention that the selected frame
5047         is restored (bug#9980).
5049         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5050         (bug#9759).
5052         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5053         (password-read): Don't autoload unused function.
5055 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
5057         * progmodes/which-func.el (which-func-mode): Turn into a
5058         non-interactive function and mark as obsolete (bug#10428).
5060 2012-01-06  Chong Yidong  <cyd@gnu.org>
5062         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5063         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5064         functions, along with 1 and -1.
5066 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
5068         * time.el (display-time-load-average)
5069         (display-time-default-load-average): Doc fixes.  See the thread
5070         starting at
5071         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5072         for the details.
5074 2012-01-06  Glenn Morris  <rgm@gnu.org>
5076         * mail/unrmail.el (unrmail): Give an explicit error if the input file
5077         has no messages.  (Bug#10377)
5079         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5080         than Info-edit.  (Bug#10385)
5082         * time.el (display-time-load-average, display-time-next-load-average):
5083         Doc fixes.
5085         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5086         local setting of buffer-read-only to the input buffer.  (Bug#10419)
5088         * calendar/calendar.el (calendar-mode):
5089         Locally set scroll-margin to 0.  (Bug#10379)
5091 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
5093         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
5095 2012-01-05  Glenn Morris  <rgm@gnu.org>
5097         * eshell/em-unix.el (diff-no-select): Autoload it.
5098         (eshell/diff): Use diff-no-select.  (Bug#10420)
5100 2012-01-05  Chong Yidong  <cyd@gnu.org>
5102         * shell.el (shell-dynamic-complete-functions): Revert last change.
5103         (shell-command-completion-function): New function.
5104         (shell-completion-vars): Use it to implement
5105         shell-completion-execonly (Bug#10417).
5107         * custom.el (enable-theme): Don't set custom-safe-themes.
5109         * cus-theme.el (custom-theme-merge-theme):
5110         Ignore custom-enabled-themes and custom-safe-themes.
5112 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
5114         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5115         first prompt in `sql-interacive-mode'.
5116         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5117         keywords.
5118         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5119         (sql-product-interactive): Bug fix: Set `sql-buffer' in
5120         context of original buffer.  Invoke `sql-login-hook'.
5122 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
5124         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5125         letters in cite-prefix.
5127 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5129         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5131 2012-01-03  Chong Yidong  <cyd@gnu.org>
5133         * shell.el (shell-dynamic-complete-functions):
5134         Put pcomplete-completions-at-point, so as to try
5135         comint-filename-completion first (Bug#10417).
5137 2012-01-02  Richard Stallman  <rms@gnu.org>
5139         * battery.el (battery-status-function):
5140         Detect when to use battery-yeeloong-sysfs.
5141         (battery-echo-area-format): Add string for Yeeloong.
5142         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5143         (battery-yeeloong-sysfs): New function.
5145 2012-01-02  Chong Yidong  <cyd@gnu.org>
5147         * dirtrack.el (dirtrack-list): Eliminate unused third element.
5148         (dirtrack): Merge code for handling relative filenames in prompt
5149         from shell-dir-cookie-watcher.
5150         (dirtrack-debug-message): New arg to avoid excess format calls.
5152         * shell.el (shell-dir-cookie-re): Variable deleted.
5153         (shell-dir-cookie-watcher): Function deleted.
5154         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5155         with dirtrack-mode.
5157 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
5159         * term/w32-win.el (dynamic-library-alist) <gnutls>:
5160         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5161         libgnutls-26.dll.
5163 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
5165         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5167 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
5169         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5170         headers of non-MIME messages, when rmail-enable-mime is non-nil.
5172 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
5174         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5175         also for alternative shells.
5176         (tramp-open-connection-setup-interactive-shell): Check, whether
5177         the shell is a busybox.
5178         (tramp-send-command): Don't suppress multiple prompts for
5179         busyboxes, it hurts.
5181 2011-12-28  Chong Yidong  <cyd@gnu.org>
5183         * progmodes/gdb-mi.el (gdb-get-source-file-list)
5184         (gdb-get-source-file): Move mode line update to
5185         gdb-get-source-file (Bug#10087).
5187 2011-12-25  Chong Yidong  <cyd@gnu.org>
5189         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5190         gud-gdb-marker-filter without taking it as an argument.
5191         (gud-gdb-run-command-fetch-lines): Caller changed.
5192         (gud-gdb-completion-function): New variable.
5193         (gud-gdb-completion-at-point): Use it.
5194         (gud-gdb-completions-1): Split from gud-gdb-completions.
5196         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5197         function as separate arguments.
5198         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5199         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5200         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5201         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5202         (gdb-stopped, def-gdb-auto-update-trigger)
5203         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5204         (gdb-get-changed-registers, gdb-get-main-selected-frame):
5205         Callers changed.
5206         (gud-gdbmi-completions): New function.
5207         (gdb): Use it for generating the completion table.
5209 2011-12-24  Alan Mackenzie  <acm@muc.de>
5211         Introduce a mechanism to widen the region used in context font
5212         locking.  Use this to protect declarations from losing their contexts.
5214         * progmodes/cc-langs.el (c-before-font-lock-functions):
5215         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5216         (c-before-context-fontification-functions): New defvar, a list of
5217         functions to be run just before context (etc.) font locking.
5219         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5220         New, functionality extracted from
5221         c-neutralize-syntax-in-and-mark-CPP.
5222         (c-in-after-change-fontification): New variable.
5223         (c-after-change): Set c-in-after-change-fontification.
5224         (c-set-fl-decl-start): Rejig its interface, so it can be called
5225         from both after-change and context fontifying.
5226         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5227         New functions.
5228         (c-standard-font-lock-fontify-region-function): New variable.
5229         (c-font-lock-fontify-region): New function.
5231 2011-12-24  Juri Linkov  <juri@jurta.org>
5233         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5234         (Bug#10348)
5236 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
5238         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5239         existence of source file.  (Bug#10325)
5241 2011-12-23  Alan Mackenzie  <acm@muc.de>
5243         Fix unstable fontification inside templates.
5245         * progmodes/cc-langs.el (c-before-font-lock-functions):
5246         Newly created from the singular version.  The (c c++ objc) entry now
5247         additionally has c-set-fl-decl-start.  The other languages (apart
5248         from AWK) have that as a single entry.
5250         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5251         The functionality for "local" declarations has been extracted to
5252         c-set-fl-decl-start.
5254         * progmodes/cc-mode.el (c-common-init, c-after-change):
5255         Changes due to pluralisation of c-before-font-lock-functions.
5256         (c-set-fl-decl-start): New function, extracted from
5257         c-font-lock-enclosing-decls and enhanced.
5259 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
5261         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5263 2011-12-22  Juri Linkov  <juri@jurta.org>
5265         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
5267 2011-12-22  Chong Yidong  <cyd@gnu.org>
5269         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5271 2011-12-21  Drew Adams  <drew.adams@oracle.com>
5273         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
5275 2011-12-21  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
5277         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5279 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
5281         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
5282         highlighting and support.  Fix up comments for capitalization.
5283         (cfengine-mode-debug): New var.
5284         (cfengine3-mode): Change the modeline indicator to "CFE3".
5285         (cfengine3-font-lock-keywords): Improve defun highlighting.
5286         (cfengine2-actions): Rename from `cfengine-actions'.
5287         (cfengine2-font-lock-keywords): Rename from
5288         `cfengine-font-lock-keywords'.
5289         (cfengine2-imenu-expression): Rename from
5290         `cfengine-imenu-expression'.
5291         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5292         (cfengine2-beginning-of-defun): Rename from
5293         `cfengine-beginning-of-defun'.
5294         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5295         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5296         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
5297         modeline indicator to "CFE2".
5298         (cfengine-mode): Defalias to `cfengine-auto-mode'.
5299         (cfengine-mode-abbrevs): Mark obsolete.
5301 2011-12-21  Chong Yidong  <cyd@gnu.org>
5303         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5304         filename argument.
5306 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
5308         * window.el (window-normalize-buffer-to-display): Remove.
5309         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5311 2011-12-19  Chong Yidong  <cyd@gnu.org>
5313         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5314         Don't signal an error in a predicate function; return non-nil.
5315         (vc-dir-mark-file): Move the error here.
5316         (vc-dir-mark-unmark): If acting on the region, keep going if one
5317         of the entries cannot be marked/unmarked.
5318         (vc-dir-mark-all-files): If current entry is a directory, mark
5319         only child files, as documented.
5321 2011-12-19  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
5323         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5324         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5325         addition.
5327 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
5329         * term/ns-win.el (ns-get-selection-internal)
5330         (ns-store-selection-internal): Declare.
5331         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5332         Declare as obsolete.
5333         (ns-get-pasteboard, ns-paste-secondary):
5334         Use ns-get-selection-internal.
5335         (ns-set-pasteboard,  ns-copy-including-secondary):
5336         Use ns-store-selection-internal.
5338 2011-12-17  Chong Yidong  <cyd@gnu.org>
5340         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5341         (vc-deduce-fileset): Doc fix.
5343 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
5345         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5347 2011-12-13  Sam Steingold  <sds@gnu.org>
5349         * man.el (Man-getpage-in-background): When running under a
5350         window-system, ignore $MANWIDTH and $COLUMNS.
5352 2011-12-15  Kenichi Handa  <handa@m17n.org>
5354         * language/ethio-util.el: Change coding tag to utf-8-emacs.
5355         (setup-ethiopic-environment-internal): Comment out key-binding for
5356         ethio-toggle-punctuation.
5358 2011-12-13  Alan Mackenzie  <acm@muc.de>
5360         Add the switch statement to AWK Mode.
5362         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5363         "default" to the keywords regexp.
5365         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5366         expression as the rest.
5367         (c-nonlabel-token-key): Allow string literals for AWK.
5368         Refactor for the other modes.
5370         Large brace-block initialisation makes CC Mode slow: Fix.
5371         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5372         routines.  Limit backward searching in c-font-lock-enclosing.decl.
5374         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5375         pp-state and literal type in addition to the limits.
5376         (c-state-safe-place): New defun, extracted from c-state-literal-at.
5377         (c-state-literal-at): Use the above new defun.
5378         (c-slow-in-literal, c-fast-in-literal): Remove.
5379         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5381         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5382         being in a literal.  Add a limit for backward searching.
5384         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5385         c-slow-in-literal.
5387 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5389         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5391 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
5393         * window.el (delete-other-windows): Use correct frame in call to
5394         window-with-parameter.
5396 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
5398         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5399         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5400         (makefile-gmake-statements, makefile-makepp-statements):
5401         Use it and add new makepp keywords.
5402         (makefile-makepp-font-lock-keywords): Add new patterns.
5403         (makefile-match-function-end): Match new [...] and [[...]].
5405 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
5407         * ses.el (ses-call-printer-return, ses-cell-property-get)
5408         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5409         (ses-create-cell-variable, ses-reset-header-string)
5410         (ses-cell-set-formula, ses-repair-cell-reference-all)
5411         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5412         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5413         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5414         (ses-aset-with-undo, ses-load, ses-truncate-cell)
5415         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5416         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5417         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5418         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5419         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5420         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5421         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5422         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5424 2011-12-11  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
5426         * ses.el: The overall change is to add cell renaming, that is
5427         setting fancy names for cell symbols other than name matching
5428         "\\`[A-Z]+[0-9]+\\'" regexp .
5429         (ses-create-cell-variable): New defun.
5430         (ses-relocate-formula): Relocate formulas only for cells the
5431         symbols of which are not renamed, i.e. symbols whose names do not
5432         match regexp "\\`[A-Z]+[0-9]+\\'".
5433         (ses-relocate-all): Relocate values only for cells the symbols of
5434         which are not renamed.
5435         (ses-load): Create cells variables as the (ses-cell ...) are read,
5436         in order to check row col consistency with cell symbol name only
5437         for cells that are not renamed.
5438         (ses-replace-name-in-formula): New defun.
5439         (ses-rename-cell): New defun.
5441 2011-12-11  Chong Yidong  <cyd@gnu.org>
5443         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5444         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5446 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
5448         * window.el (other-window): Fix docstring.
5450 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
5452         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5453         `from' or `to' address before taking its substring.
5454         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5455         encoded name is chopped in the middle of the encoded string, and
5456         thus displayed encoded.
5458 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
5460         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5462 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
5464         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
5465         to use texinfo-update-node and commands that call it if the
5466         Texinfo file uses @node lines without next/prev/up pointers.
5467         Correct outdated description about texinfo-master-menu.
5468         (texinfo-all-menus-update, texinfo-master-menu)
5469         (texinfo-update-node, texinfo-every-node-update)
5470         (texinfo-multiple-files-update): Doc fix.  Warn against updating
5471         all the @node lines.
5472         (texinfo-master-menu): Only call texinfo-update-node if the prefix
5473         argument is numeric.  Explain better in the doc string what the
5474         function really does.
5475         (texinfo-insert-master-menu-list): Improve the error message
5476         displayed if there's no menu in the Top node.
5477         (Bug#2975)  See also this thread:
5478         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5480 2011-12-09  Manuel GĂ³mez  <mgrojo@gmail.com>  (tiny change)
5482         * speedbar.el (speedbar-supported-extension-expressions):
5483         Add .adb and .ads, commonly used for Ada source code (bug#10256).
5485 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
5487         * printing.el (pr-mode-alist):
5488         * simple.el (filter-buffer-substring-functions)
5489         (completion-list-insert-choice-function):
5490         * window.el (window-with-parameter, window-atom-root)
5491         (window-sides-slots, window-size-fixed, window-min-delta)
5492         (window-max-delta, window--resize-mini-window)
5493         (window--resize-child-windows-normal, window-tree)
5494         (delete-other-windows, quit-window, split-window)
5495         (display-buffer-record-window, special-display-buffer-names)
5496         (special-display-regexps, special-display-popup-frame)
5497         (same-window-p, split-window-sensibly)
5498         (display-buffer-overriding-action, display-buffer-alist)
5499         (display-buffer-base-action, display-buffer, switch-to-buffer)
5500         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5501         (fit-window-to-buffer, recenter-positions)
5502         (mouse-autoselect-window-state, mouse-autoselect-window-select):
5503         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5504         and remove unneeded backslashes in docstrings.
5506 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5508         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5510         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5511         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5512         end in ".mk".
5513         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5514         when reading the makefile (bug#10116).
5516 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5518         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5519         (bug#10116).
5521 2011-12-06  Glenn Morris  <rgm@gnu.org>
5523         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5525 2011-12-06  Chong Yidong  <cyd@gnu.org>
5527         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5529 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
5531         * textmodes/table.el (table-shorten-cell): Fix typo.
5533 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
5535         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5537 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
5539         * descr-text.el (describe-char): Fix display of strong
5540         right-to-left characters and directional embeddings and overrides.
5542         * simple.el (what-cursor-position): Fix display of codepoints of
5543         strong right-to-left characters.
5545 2011-12-05  Chong Yidong  <cyd@gnu.org>
5547         * faces.el (read-color): Doc fix.
5549 2011-12-05  Glenn Morris  <rgm@gnu.org>
5551         * align.el (align--set-marker): Add doc-string.
5552         Don't try to move something that is not a marker.  (Bug#10216)
5554 2011-12-04  Glenn Morris  <rgm@gnu.org>
5556         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5557         overly zealous deletion of trailing whitespace.
5559 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
5561         * server.el (server-delete-client): On Windows, do not try to delete
5562         the only terminal.
5563         (server-process-filter): On Windows, treat requests for a tty frame as
5564         if they were for a GUI frame if the running server is in GUI mode.
5566 2011-12-03  Glenn Morris  <rgm@gnu.org>
5568         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
5570 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5572         * electric.el: Streamline electric-indent's hook.
5573         (electric-indent-chars): Revert to simple list.
5574         (electric-indent-functions): New var.
5575         (electric-indent-post-self-insert-function): Use it.
5577         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5578         there's no inferior buffer (bug#10196).
5579         (prolog-consult-compile): Don't use toggle-read-only.
5581 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
5583         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5584         interrupt.  (Bug#10187)
5586 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5588         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5589         (bug#9160).
5591         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5592         (bug#10191).
5594 2011-12-02  Juri Linkov  <juri@jurta.org>
5596         * info.el (Info-search): Display "end of manual" when Isearch
5597         reaches the end of single-file Info manual.  (Bug#9918)
5599 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
5601         * isearch.el (isearch-message-prefix): Run the input method part
5602         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
5604 2011-12-02  Juri Linkov  <juri@jurta.org>
5606         * isearch.el (isearch-occur): Use `word-search-regexp' for
5607         `isearch-word'.
5608         (isearch-search-and-update): Add condition for `isearch-word' and
5609         call `word-search-regexp'.  (Bug#10145)
5611 2011-12-01  Glenn Morris  <rgm@gnu.org>
5613         * eshell/em-hist.el (eshell-hist-initialize):
5614         Handle eshell-history-size nil and HISTSIZE set or unset.
5615         (eshell-history-file-name, eshell-history-size): Fix custom type.
5617 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5619         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5621 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
5623         * progmodes/verilog-mode.el (verilog-pretty-expr):
5624         Rework verilog-pretty-expr to handle new assignment operators in system
5625         verilog, such as += *= and the like.
5626         (verilog-assignment-operator-re): Regular expression to find the
5627         assigment operator in a verilog assignment.
5628         (verilog-assignment-operation-re): Regular expression to find an
5629         assignment statement for pretty-expr.
5630         (verilog-in-attribute-p): Query returns true if point is in an
5631         attribute context; used to skip these for expression line up from
5632         pretty-expr.
5633         (verilog-in-parameter-p): Query returns true if point is in an
5634         parameter definition context; used to skip these for expression
5635         line up from pretty-expr.
5636         (verilog-in-parenthesis-p): Query returns true if point is in a
5637         parenthetical expression, specifically ( ) but not [ ] or { };
5638         used by pretty-expr.
5639         (verilog-just-one-space): If there is no space, don't add one.
5640         (verilog-get-lineup-indent-2): Specifically skip just attribute
5641         contexts for expression lineup, rather than skipping all
5642         parenthetical expressions.
5643         (verilog-calculate-indent): Fix comment, and fix indent.
5644         (verilog-do-indent): Indent declarations in lists (suggested by
5645         Joachim Lechner).
5646         (verilog-mode-abbrev-table): Populate abbrev mode with the various
5647         skeleton items.
5648         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5649         by Alain Mellan).
5651 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
5653         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5654         parameters with embedded comments.  Reported by Ray Stevens.
5655         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5656         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5657         Reported by Tim Holt.
5658         (verilog-auto): Fix AUTOing a upper module then AUTOing module
5659         instantiated by upper module causing wrong expansion until AUTOed a
5660         second time.  Reported by K C Buckenmaier.
5661         (verilog-diff-auto): Fix showing .* as a difference when
5662         `verilog-auto-star-save' off.  Reported by Dan Dever.
5663         (verilog-auto-reset, verilog-read-always-signals)
5664         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5665         temporary signals in reset list if
5666         verilog-auto-reset-blocking-in-non is nil, and match assignment
5667         style to each signal's assignment type, bug381.
5668         Reported by Thomas Esposito.
5669         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5670         (verilog-uvm-statement-re): Support UVM indentation and
5671         highlighting, with old OVM keywords only.
5672         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5673         Support AUTOTIEOFF creating non-wire data types.
5674         Suggested by Jonathan Greenlaw.
5675         (verilog-auto-insert-lisp, verilog-delete-to-paren)
5676         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5677         (verilog-inject-sense, verilog-read-inst-pins)
5678         (verilog-read-sub-decls, verilog-read-sub-decls-line):
5679         Fix mismatching parenthesis inside commented out code when deleting
5680         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
5681         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5682         non-numeric vector width.  Reported by Alex Reed.
5683         (verilog-auto-ascii-enum): Add "onehot" option to work around not
5684         detecting signals with parameter widths.  Reported by Alex Reed.
5685         (verilog-auto-delete-trailing-whitespace):
5686         With `verilog-auto-delete-trailing-whitespace' remove trailing
5687         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
5688         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5689         Fix verilog-scan-cache corruption when running user AUTO expansion
5690         hooks that call indentation routines.
5691         (verilog-simplify-range-expression): Fix typo ignoring lower case
5692         identifiers.
5693         (verilog-delete-auto): Fix delete-autos to also remove user created
5694         automatics, as long as they start with AUTO.
5695         (verilog-batch-diff-auto, verilog-diff-auto)
5696         (verilog-diff-function): Add `verilog-diff-auto' and bind to
5697         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
5698         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5699         (verilog-in-paren-quick, verilog-re-search-backward-quick)
5700         (verilog-re-search-forward-quick, verilog-syntax-ppss):
5701         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5702         is disabled and its cache will get corrupt, causing AUTOS not to
5703         expand.  Instead use only -quick functions.
5704         (verilog-scan-region): Fix scanning over escaped quotes.
5705         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5706         (verilog-re-search-backward-quick)
5707         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5708         related functions now ignore strings, to fix misparsing of strings
5709         with magic comments embedded in them.
5710         (verilog-read-auto-template):
5711         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5712         Reported by Brad Dobbie.
5713         (verilog-read-auto-template):
5714         Fix 'verilog-auto-inst-template-numbers' with comments.
5715         Reported by Brad Dobbie.
5716         (verilog-auto-inst, verilog-auto-inst-param)
5717         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5718         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
5719         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5720         debugging templates without merge conflicts, bug357.
5721         Reported by Brad Dobbie.
5722         (verilog-read-auto-template):
5723         Fix verilog-auto-inst-template-numbers with multiple templates.
5724         Reported by Brad Dobbie.
5725         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5726         abbrevs so user won't be asked to save.
5727         (verilog-read-auto-lisp-present): Fix to start at beginning of
5728         buffer in case called outside of verilog-auto.
5729         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5730         to "X-2".  Reported by Matthew Myers.
5731         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5732         all inputs from module templates.  Reported by Leith Johnson.
5733         (verilog-module-inside-filename-p): Fix locating programs as with
5734         modules.
5735         (verilog-auto-inst-port): Fix vl-width expressions when using
5736         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
5737         (verilog-decls-get-regs, verilog-decls-get-signals,
5738         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5739         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5740         verilog-read-decls): Combine reg and wire structures into one var
5741         structure to represent SystemVerilog concepts.
5742         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5743         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5744         (verilog-auto-wire-type, verilog-insert-definition):
5745         Add verilog-auto-wire-type and AUTOLOGIC to support using
5746         SystemVerilog "logic" keyword instead of "wire"/"reg".
5747         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5748         to declares outputs that also have assignments (presumably in an
5749         ifdef or generate if so there's not a driver conflict).
5750         Reported by Matthew Myers.
5751         (verilog-auto-declare-nettype, verilog-insert-definition):
5752         Add verilog-auto-declare-nettype to fix declarations using
5753         `default_nettype none.  Reported by Julian Gorfajn.
5754         (verilog-read-always-signals-recurse, verilog-read-decls)
5755         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5756         malformed end statement, bug325.  Reported by Joshua Wise and
5757         Andrew Drake.
5758         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5759         (verilog-inst-comment-re): Fix not deleting Interfaced comment
5760         when expanding .* in interfaces, bug320.
5761         Reported by Pierre-David Pfister.
5762         (verilog-read-module-name): Fix import statements between module
5763         name and open parenthesis, bug317.
5764         Reported by Pierre-David Pfister.
5765         (verilog-simplify-range-expression): Fix simplification of
5766         multiplications inside AUTOWIRE connections, bug303.
5767         (verilog-auto-inst-port): Support parameter expansion in
5768         multidimensional arrays.
5769         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5770         after "assert property".  Reported by Julian Gorfajn.
5771         (verilog-simplify-range-expression): Fix "couldn't merge" errors
5772         with multiplication, bug303.
5773         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5774         Reported by Jan Frode Lonnum.
5776 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
5778         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5779         (hfy-shell-file-name, hfy-shell):
5780         * international/fontset.el (x-decompose-font-name): Fix typos.
5782 2011-11-29  Ken Brown  <kbrown@cornell.edu>
5784         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5785         (gdb-version): Remove defvar.
5786         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5787         (gdb-gud-context-command, gdb-non-stop-handler)
5788         (gdb-current-context-command, gdb-stopped): Use it.
5789         (gdb-init-1): Enable pretty printing here.
5790         (gdb-non-stop-handler): Don't enable pretty-printing here.
5791         Check to see if the target supports non-stop mode; if not, turn off
5792         non-stop mode.  Use the following.
5793         (gdb-check-target-async): New defun.
5794         (gud-watch, gdb-stopped): Fix whitespace.
5795         (gdb-get-source-file): Don't try to display the source file if
5796         `gdb-main-file' is nil.
5798 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5800         * align.el: Try to generate fewer markers (bug#10047).
5801         (align--set-marker): New macro.
5802         (align-region): Use it.
5804 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5806         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5808 2011-11-29  Chong Yidong  <cyd@gnu.org>
5810         * indent.el (indent-for-tab-command, indent-according-to-mode):
5811         Doc fix.
5812         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
5814 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
5816         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5817         aware of remote file names.  (Bug#10124)
5819 2011-11-29  Chong Yidong  <cyd@gnu.org>
5821         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5823 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5825         * files.el (find-file): Don't use force-same-window (bug#10144).
5826         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5827         use pop-to-buffer if the selected window can't be used.
5828         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5830 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
5832         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5833         special-mode-map.
5835 2011-11-28  Chong Yidong  <cyd@gnu.org>
5837         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5839 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
5841         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5842           gdb-get-source-file-list on gdb-create-source-file-list.
5844 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
5846         * whitespace.el (whitespace-newline): Use a different foreground
5847         color for 16-color light-background displays.
5849 2011-11-24  Chong Yidong  <cyd@gnu.org>
5851         * window.el (display-buffer--special-action): Doc fix.
5853 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
5855         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5856         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5857         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5858         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5859         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5860         (avl-tree-stack-first):
5861         * emacs-lisp/cconv.el (cconv--analyse-use):
5862         * net/gnutls.el (gnutls-negotiate): Fix typos.
5864 2011-11-24  Glenn Morris  <rgm@gnu.org>
5866         * lpr.el (lpr-windows-system, lpr-lp-system):
5867         * mail/binhex.el (binhex-begin-line):
5868         * progmodes/grep.el (grep-history, grep-find-history):
5869         * textmodes/flyspell.el:
5870         * vc/pcvs-defs.el (cvs-global-menu):
5871         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5872         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5873         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5875         * net/tls.el: Fix case of "GnuTLS".
5877         * paths.el (rmail-file-name): Format doc-string for make-docfile.
5879         * version.el (emacs-build-system): Give it a doc-string.
5881 2011-11-24  Juri Linkov  <juri@jurta.org>
5883         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5885 2011-11-24  Glenn Morris  <rgm@gnu.org>
5887         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5888         if called on a non-mime message just toggle the headers.  (Bug#8006)
5890 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
5892         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5893         (allout-lead-with-comment-string, allout-structure-deleted-hook)
5894         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5895         (allout-rebullet-heading, allout-open-sibtopic)
5896         (allout-toggle-current-subtree-encryption)
5897         (allout-toggle-subtree-encryption, allout-encrypt-string)
5898         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5899         (allout-distinctive-bullets-string, allout-auto-activation):
5900         * window.el (window-normalize-buffer-to-display):
5901         * progmodes/verilog-mode.el (verilog-batch-indent):
5902         * textmodes/bibtex.el (bibtex-field-braces-opt)
5903         (bibtex-field-strings-opt):
5904         * vc/cvs-status.el (cvs-tree-merge):
5905         Fix typos.
5907 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
5909         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5910         `non-essential' to t, in order to avoid remote connections.
5912 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
5914         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5915         On MS-DOS and MS-Windows, compare with loaddefs.el
5916         case-insensitively.
5918 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
5920         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
5922 2011-11-23  Glenn Morris  <rgm@gnu.org>
5924         * paths.el (rmail-file-name): Reformat the doc-string so that it
5925         is picked up.
5927         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5928         (rmail-auto-file): Ignore case in the "special" field names,
5929         as mail-fetch-field does for all others.
5931         * mail/rmail.el (rmail-forward):
5932         * mail/rmailkwd.el (rmail-set-label):
5933         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5934         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
5936         * mail/rmail.el (rmail-current-message): Doc fix.
5938         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
5940 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5942         * server.el (server-eval-and-print): Allow C-g (bug#6585).
5944 2011-11-22  Glenn Morris  <rgm@gnu.org>
5946         * mail/rmailmm.el (test-rmail-mime-handler)
5947         (test-rmail-mime-bulk-handler)
5948         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5950 2011-11-21  Juri Linkov  <juri@jurta.org>
5952         * calc/calc.el (calc-read-key-sequence):
5953         Let-bind `input-method-function' to nil.  (Bug#10018)
5955 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5957         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5958         Tell the caller that the next line needs recomputation, even
5959         though it doesn't start a sexp (bug#10094).
5961 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5963         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5965 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5967         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5968         Use force-same-window.
5970 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
5972         * descr-text.el (describe-char-unicode-data):
5973         * json.el (json-string-escape):
5974         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5975         (Footnote-unicode, Footnote-style-p):
5976         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5978 2011-11-20  Chong Yidong  <cyd@gnu.org>
5980         * window.el (replace-buffer-in-windows): Restore interactive spec.
5982 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5984         * electric.el (electric-indent-mode): Fix last change (too optimistic).
5986         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5987         (byte-compile-global-not-obsolete-vars): New var.
5988         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5989         Use it.
5990         (byte-compile-warn-obsolete): Align text with the one in *Help*.
5992 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
5994         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5995         * progmodes/pascal.el (electric-pascal-equal):
5996         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5997         * xml.el (xml-substitute-special): Fix typos.
5999 2011-11-20  Glenn Morris  <rgm@gnu.org>
6001         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6002         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6003         Doc fixes.
6004         (rmail-decode-mime-charset): Mark as obsolete.
6006         * mail/rmailsum.el (rmail-message-regexp-p-1):
6007         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6008         Before using mime functions, check they are set.  (Bug#10077)
6010 2011-11-19  Juri Linkov  <juri@jurta.org>
6012         * info.el (Info-finder-find-node): Use `package--builtins' instead
6013         of `package-alist'.  Use node names formed by the pattern "Keyword "
6014         and the keyword name.
6016 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
6018         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6020 2011-11-19  Juri Linkov  <juri@jurta.org>
6022         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6023         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
6024         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6025         `old-history', `old-history-forward'.  Add let-binding
6026         `window-selected'.  Remove calls to `kill-buffer',
6027         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
6028         before calling `Info-find-node', so `Info-find-node-2' will reread
6029         the Info file.  Restore window positions only when `window-selected'
6030         is non-nil.
6032 2011-11-19  Juri Linkov  <juri@jurta.org>
6034         * isearch.el (isearch-lazy-highlight-new-loop):
6035         Remove condition `(not isearch-error)'.  (Bug#9918)
6037         * misearch.el (multi-isearch-search-fun): Add condition
6038         `(not bound)' to ignore lazy-highlighting search.
6039         Add the search-failed message "end of multi" when the end of
6040         multi-sequence is reached.  Uncapitalize the search-failed
6041         message "Repeat for next buffer".
6043         * info.el (Info-search): Add the search-failed message
6044         "end of the manual" when the end of the manual is reached
6045         in Isearch mode.
6047 2011-11-19  Juri Linkov  <juri@jurta.org>
6049         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6050         Use non-destructive `remove' instead of `delete' because
6051         `Info-history-list' stored to `Info-isearch-initial-history-list' in
6052         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6054 2011-11-19  Juri Linkov  <juri@jurta.org>
6056         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6057         to nil instead of binding `search-ring' and `regexp-search-ring'.
6058         (Bug#9185)
6060 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
6062         * simple.el (line-move): Force movement by logical lines for any
6063         hscrolled window, not only when auto-hscroll-mode is on.
6064         (line-move-visual): Update doc string to that effect.  (Bug#10076)
6066 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
6068         * language/european.el (macintosh): Define as alias for mac-roman.
6070 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
6072         * mail/rmailmm.el (rmail-mime-display-header)
6073         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6074         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6075         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6076         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6077         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6078         of a raw aref.
6079         (rmail-mime-entity-segment): To get past the tagline, move forward
6080         2 more lines, to account for the 2 empty lines that precede and
6081         follow the line with the buttons.
6082         (rmail-mime-update-tagline): Move one more line, to get past the
6083         empty line that follows the buttons in the tagline.  (Bug#9520)
6085 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
6087         * window.el (window-max-delta-1, window-min-delta-1)
6088         (window-min-size-1, window-state-get-1, window-state-put-1)
6089         (window-state-put-2): Use "window--" prefix.
6091 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6093         * emacs-lisp/smie.el: Improve warnings and conflict detection.
6094         (smie-warning-count): New var.
6095         (smie-set-prec2tab): Use it.
6096         (smie-bnf->prec2): Improve warnings.  Add docstring.
6097         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6098         (smie-bnf--set-class): New function.
6099         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
6100         corner case.
6102         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6103         (compilation-error-properties, compilation-move-to-column):
6104         Handle compilation-first-column while in the target buffer.
6106         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6107         Don't hardcode point-min==1.
6109         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6110         (eshell-rewrite-for-command): Remove workaround.
6111         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6112         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6113         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6115         * files-x.el (modify-file-local-variable): Obey commenting conventions.
6117 2011-11-17  Glenn Morris  <rgm@gnu.org>
6119         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6120         Ignore buffer-local generated-autoload-file if it is the same
6121         as the global value.  (Bug#10049)
6123 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
6125         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6126         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6127         (reftex-toc-previous-heading, reftex-toc-max-level)
6128         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6129         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6130         (reftex-toc-do-promote, reftex-toc-promote-prepare)
6131         (reftex-toc-promote-action, reftex-toc-extract-section-number)
6132         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6133         (reftex-toc-rename-label, reftex-toc-visit-location)
6134         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6135         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6136         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6137         leaving "*toc*" only for references to the buffer.
6139 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
6141         * window.el (window-resize, delete-window, split-window):
6142         Replace window-splits by window-combination-resize.
6143         * cus-start.el (window-splits): Replace by window-combination-resize.
6145 2011-11-17  Glenn Morris  <rgm@gnu.org>
6147         * progmodes/sh-script.el (sh-font-lock-keywords-var):
6148         Make bash entry derive from sh entry, not shell entry.
6150 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
6152         * net/tramp-cache.el (tramp-flush-file-property): Flush also
6153         properties of linked files.  (Bug#9879)
6155         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6156         local file name.
6158 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
6160         * menu-bar.el (menu-bar-file-menu):
6161         * printing.el (pr-ps-utility):
6162         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6163         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6164         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6165         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6166         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6167         (icalendar--convert-cyclic-to-ical)
6168         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6169         (icalendar--convert-ical-to-diary)
6170         (icalendar--convert-recurring-to-diary)
6171         (icalendar--convert-non-recurring-all-day-to-diary)
6172         (icalendar-import-format-sample):
6173         * progmodes/idlw-shell.el (idlwave-shell-mode):
6174         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6175         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6176         (vhdl-ps-print-init): Fix typos.
6178 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
6180         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6181         FSF and collapse date sequence, obscure author/maintainer email address
6182         better, remove extra version line, track relocation of author's webpage.
6184         * progmodes/python.el (python-pdbtrack-input-prompt)
6185         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6186         regular python pdb prompts.  Adjustments shamelessly taken exactly as
6187         suggested in EmacsWiki page (tiny change):
6188         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6190 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
6192         * expand.el (expand-pos, expand-index, expand-point):
6193         Remove redundant info from docstring.
6194         (expand-add-abbrevs): Doc fix.
6195         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6196         (expand-sample-perl-mode-expand-list): Fix typos.
6198         * net/dbus.el (dbus-event-member-name):
6199         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6200         * term/pc-win.el (msdos-create-frame-with-faces):
6201         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6203 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
6205         * window.el (split-window, window-state-get-1)
6206         (window-state-put-1, window-state-put-2): Rename occurrences of
6207         window-nest to window-combination-limit.
6208         * cus-start.el (window-nest): Rename to window-combination-limit.
6210 2011-11-16  Chong Yidong  <cyd@gnu.org>
6212         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6213         regexp (Bug#10033).
6215 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6217         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6218         `completing-read' will remove *Completions* and will preserve
6219         current-buffer for us.
6220         (tmm-add-prompt): Users of *Completions* will always (re)set its
6221         major mode.
6222         (tmm-old-comp-map): Remove.
6224 2011-11-16  Glenn Morris  <rgm@gnu.org>
6226         * mail/rmailedit.el: Require rmailmm when compiling.
6227         (rmail-old-mime-state): New declaration.
6228         (rmail-edit-current-message): If editing a mime message,
6229         edit the "raw" message from the mbox buffer.
6230         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
6232 2011-11-15  Glenn Morris  <rgm@gnu.org>
6234         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6235         which wasn't being used.  Add optional arg to force given state.
6236         (rmail-mime): Add optional arg to force given state.
6238 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
6240         * allout.el (allout-encryption-plaintext-sanitization-regexps):
6241         * frame.el (display-mm-dimensions-alist):
6242         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6243         (outline-move-subtree-down):
6244         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6245         (newsticker--treeview-do-get-node):
6246         * net/quickurl.el (quickurl-list-buffer-name):
6247         * progmodes/dcl-mode.el (dcl-mode):
6248         * progmodes/gdb-mi.el (gdb-mapcar*):
6249         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6251 2011-11-15  Glenn Morris  <rgm@gnu.org>
6253         * mail/rmail.el (rmail-file-coding-system): It's only ever used
6254         in a boolean sense, so just make it a boolean, and fix the doc.
6255         (rmail-show-mime-function, rmail-mime-feature)
6256         (rmail-require-mime-maybe): Doc fixes.
6257         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6259         * mail/rmailmm.el (rmail-show-mime): Doc fix.
6261 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
6263         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6264         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6265         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6266         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6268 2011-11-15  Glenn Morris  <rgm@gnu.org>
6270         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6271         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6272         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6273         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6274         (rmail-mime, rmail-show-mime): Doc fixes.
6276         * term/ns-win.el (mode-line-frame-identification):
6277         Leave it alone.  (Bug#10051)
6279         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
6281         * mail/rmailout.el (rmail-output-to-rmail-buffer):
6282         Handle empty buffers.  (Bug#9978)
6284 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
6286         * international/mule.el (define-charset):
6287         * mail/rmailmm.el (rmail-mime-find-header-encoding):
6288         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6289         * progmodes/verilog-mode.el (verilog-backward-token):
6290         * textmodes/ispell.el (lookup-words):
6291         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6293 2011-11-14  Glenn Morris  <rgm@gnu.org>
6295         * progmodes/executable.el
6296         (executable-make-buffer-file-executable-if-script-p):
6297         Handle file-modes returning nil.
6299         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6300         message - not necessary, and causes problems.  (Bug#9831)
6302         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6304         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6306         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6307         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
6308         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6310 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
6312         * window.el (window-resize, delete-window): Use window-splits
6313         variable instead of function.
6314         (window-state-get-1, window-state-put-2, window-state-put):
6315         Don't deal with windows' splits status.
6317 2011-11-12  Glenn Morris  <rgm@gnu.org>
6319         * apropos.el (apropos-do-all, apropos-library, apropos-value)
6320         (apropos-documentation): Doc fixes.
6322 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
6324         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6325         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6327 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6329         * electric.el (electric-indent-post-self-insert-function): Make it
6330         possible for a char to only indent in some circumstances.
6331         (electric-indent-mode): Simplify.
6333 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
6335         * window.el (windows-with-parameter): Remove unused function.
6336         (windows-at-side): Rename to window-at-side-list.
6337         (window-check, window-atom-check, window-atom-check-1)
6338         (window-side-check, window-size-ignore, window-size-fixed-1)
6339         (window-in-direction-2): Prefix with "window--".
6340         (window-tree-1): Rename to window--subtree, fix doc-string.
6342 2011-11-11  Glenn Morris  <rgm@gnu.org>
6344         * subr.el (eval-after-load): If FILE is already loaded,
6345         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
6347 2011-11-10  Glenn Morris  <rgm@gnu.org>
6349         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6350         Call svn via vc-svn-command rather than vc-do-command.
6351         (vc-svn-command): Add --non-interactive.  (Bug#9993)
6352         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6354         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6355         Add toggle-read-only.  (Bug#7292)
6356         * files.el (toggle-read-only): Mention that it should only
6357         be used interactively.  (Bug#10006)
6359 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6361         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6362         Adjust regexp for OCaml warnings.
6364         * electric.el (electric-pair-post-self-insert-function): Let user
6365         turn it off buffer-locally (bug#9932).
6367         * progmodes/python.el (python-beginning-of-statement):
6368         Rewrite (bug#2703).
6370         * progmodes/compile.el: Better handle TABs (bug#9749).
6371         (compilation-internal-error-properties)
6372         (compilation-next-error-function): Obey the target buffer's
6373         compilation-error-screen-columns.
6375 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
6377         * progmodes/meta-mode.el: Remove obsolete comments.
6378         (meta-right-comment-regexp, meta-ignore-comment-regexp):
6379         Fix typos in docstrings.
6381 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
6383         * window.el (window-size-fixed-p): Rewrite doc-string.
6384         (window-resizable-p): Rename to window--resizable-p.  Update callers.
6385         (window--resizable): New function.  Make all callers of
6386         window-resizable call window--resizable instead.
6387         (window-resizable): Rewrite in terms of window--resizable.
6389 2011-11-08  Glenn Morris  <rgm@gnu.org>
6391         * progmodes/delphi.el (delphi-mode-syntax-table):
6392         Let define-derived-mode define a proper syntax table.  (Bug#9994)
6394 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6396         * window.el: Stay away from defsubst.
6397         (window-list-no-nils): Remove.
6398         (window-state-get-1, window-state-get): Use backquote instead.
6400 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6402         * emacs-lisp/find-func.el (find-function-read):
6403         Fix incorrect use of default argument in `completing-read'.
6405 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
6407         * window.el (display-buffer-function, special-display-function):
6408         Mention display-buffer-record-window but do not mention
6409         help-setup parameter in doc-strings.
6410         (window-min-delta): Fix doc-string typo.
6412 2011-11-08  Chong Yidong  <cyd@gnu.org>
6414         * window.el (window-total-height, window-total-width): Doc fix.
6415         (window-body-size): Move from C.
6416         (window-body-height, window-body-width): Move to C.
6418 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6420         * window.el: Make special-display like display-buffer-alist (bug#9532).
6421         (display-buffer--special-action): New function, morphed
6422         from display-buffer--special.
6423         (display-buffer): Use it to handle special-display-buffers at higher
6424         priority (just after display-buffer-alist).
6425         (display-buffer-fallback-action, display-buffer--other-frame-action)
6426         (pop-to-buffer-same-window): Remove display-buffer--special.
6428 2011-11-07  Glenn Morris  <rgm@gnu.org>
6430         * calendar/cal-menu.el (cal-menu-set-date-title):
6431         Do nothing if not in a calendar.  (Bug#9976)
6433 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6435         * files.el (find-file): Always use selected-window.
6437 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
6439         * window.el (window-combinations): Make WINDOW argument
6440         mandatory.  Rewrite doc-string.
6441         (walk-window-subtree, window-atom-check, window-min-delta)
6442         (window-max-delta, window--resize-this-window)
6443         (window--resize-root-window-vertically, window-tree)
6444         (balance-windows, window-state-put): Rewrite doc-strings as to
6445         not mention the term "subwindow".
6446         (window--resize-subwindows-skip-p): Rename to
6447         window--resize-child-windows-skip-p.
6448         (window--resize-subwindows-normal): Rename to
6449         window--resize-child-windows-normal.
6450         (window--resize-subwindows): Rename to
6451         window--resize-child-windows.
6452         (window-or-subwindow-p): Rename to window--in-subtree-p.
6454 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
6456         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6457         Ensure that mbox format messages end in two newlines (Bug#9974).
6459 2011-11-06  Chong Yidong  <cyd@gnu.org>
6461         * window.el (window-combination-p): Function deleted; its
6462         side-effect is not used in any existing code.
6463         (window-combinations, window-combined-p): Call window-*-child
6464         directly.
6466 2011-11-05  Chong Yidong  <cyd@gnu.org>
6468         * window.el (window-valid-p): Rename from window-any-p.
6469         (window-size-ignore, window-state-get): Callers changed.
6470         (window-normalize-window): Rename from window-normalize-any-window.
6471         New arg LIVE-ONLY, replacing window-normalize-live-window.
6472         (window-normalize-live-window): Delete.
6473         (window-combination-p, window-combined-p, window-combinations)
6474         (walk-window-subtree, window-atom-root, window-min-size)
6475         (window-sizable, window-sizable-p, window-size-fixed-p)
6476         (window-min-delta, window-max-delta, window-resizable)
6477         (window-resizable-p, window-full-height-p, window-full-width-p)
6478         (window-current-scroll-bars, window-point-1, set-window-point-1)
6479         (window-at-side-p, window-in-direction, window-resize)
6480         (adjust-window-trailing-edge, maximize-window, minimize-window)
6481         (window-deletable-p, delete-window, delete-other-windows)
6482         (record-window-buffer, unrecord-window-buffer)
6483         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6484         (quit-window, split-window, window-state-put)
6485         (set-window-text-height, fit-window-to-buffer)
6486         (shrink-window-if-larger-than-buffer): Callers changed.
6488 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
6490         * mail/rmail.el (rmail-simplified-subject): Decode subject with
6491         rfc2047-decode-string.
6492         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6493         warnings.
6495         * window.el (window-body-height, window-body-width): Mention in
6496         the doc string that the return values are in frame's canonical
6497         units.  (Bug#9949)
6499 2011-11-03  Alan Mackenzie  <acm@muc.de>
6501         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6502         change in cc-engine.el.
6504 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6506         * window.el (switch-to-buffer): Use `force-same-window' interactively.
6508 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
6510         * window.el (quit-window): Call unrecord-window-buffer after
6511         showing another buffer in the window.  (Bug#9937)
6512         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6514 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
6516         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6517         Accept status with more than 9 shelves.  (Bug#9935)
6518         Reported by Colin D Bennett <colin@gibibit.com>.
6520 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
6522         * help.el (with-help-window): Don't reference
6523         temp-buffer-show-specifiers in doc-string.
6525 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6527         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6528         menu-item.
6530 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6532         * whitespace.el: New version 13.2.2.
6533         (whitespace-newline-mode): Disable properly.  Reported by Sarah
6534         <EmacsWiki>.
6536 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
6538         * net/newst-treeview.el: Remove "Time-stamp".
6539         (newsticker--group-manage-orphan-feeds): Do not call
6540         newsticker--treeview-tree-update.
6541         (newsticker-treeview-update, newsticker-treeview):
6542         Call newsticker--treeview-tree-update if necessary.
6544 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
6546         * window.el (window-iso-combination-p, window-iso-combined-p)
6547         (window-iso-combinations): Remove "iso-" infix.
6548         Suggested by Chong Yidong.
6549         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6550         (window-max-delta-1, window-resize, window--resize-siblings)
6551         (window--resize-this-window, adjust-window-trailing-edge)
6552         (split-window, balance-windows-1)
6553         (shrink-window-if-larger-than-buffer):
6554         * calendar/calendar.el (calendar-generate-window):
6555         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6557 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6559         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6560         in place (bug#9907).
6561         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6562         (eshell-rewrite-if-command, eshell-rewrite-for-command)
6563         (eshell-structure-basic-command, eshell-rewrite-while-command)
6564         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6565         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6566         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6567         (eshell-do-pipelines-synchronously, eshell-eval-command):
6568         Use backquotes and prefer setq to set.
6569         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6570         (eshell-macrop): Use functionp.
6571         (eshell-do-eval): Handle multiple expressions in `while' body.
6573 2011-10-30  Chong Yidong  <cyd@gnu.org>
6575         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6576         instead of set-mark (Bug#9810).
6578 2011-10-30  Chong Yidong  <cyd@gnu.org>
6580         * window.el (split-window-below, split-window-right): Rename from
6581         split-window-above-each-other and split-window-side-by-side
6582         respectively.  All callers changed.
6583         (split-window-sensibly, split-window-sensibly): Use them.
6584         (split-window-keep-point): Doc fix.
6586         * isearch.el: Add isearch-scroll property to split-window-below
6587         and split-window-right.
6589         * follow.el (follow-mode):
6590         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6591         * progmodes/ada-xref.el (ada-gdb-application):
6592         * emulation/vip.el (vip-buffer-in-two-windows):
6593         * image-dired.el (image-dired-dired-with-window-configuration):
6594         * dired-x.el (dired-do-find-marked-files):
6595         * dired.el (dired-pop-to-buffer):
6596         * bs.el (bs--show-with-configuration):
6597         * vc/emerge.el (emerge-setup-windows):
6598         * textmodes/two-column.el (2C-two-columns):
6599         * textmodes/reftex-toc.el (reftex-toc):
6600         * progmodes/gdb-mi.el (gdb-setup-windows):
6601         * progmodes/fortran.el (fortran-window-create):
6602         * net/newst-treeview.el (newsticker--treeview-window-init):
6603         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6604         * emulation/tpu-edt.el (tpu-gold-map):
6605         * emulation/crisp.el (crisp-mode-map):
6606         * calendar/calendar.el (calendar-basic-setup): Callers changed.
6608 2011-10-29  Chong Yidong  <cyd@gnu.org>
6610         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6612         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6614         * textmodes/flyspell.el (flyspell-word): Fix char offset for
6615         forged Ispell output (Bug#7904).
6617         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6619 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6621         * doc-view.el: Avoid ugly errors about not finding nil.
6622         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6623         (doc-view-dvipdf-program, doc-view-unoconv-program)
6624         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6625         Avoid nil or absolute file name as default value.
6626         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6628 2011-10-28  Alan Mackenzie  <acm@muc.de>
6630         * progmodes/cc-defs.el (c-version): -> 5.32.2.
6632 2011-10-28  Alan Mackenzie  <acm@muc.de>
6634         Amend the handling of c-beginning/end-of-defun in nested declaration
6635         scopes.
6637         * progmodes/cc-vars.el (c-defun-tactic): Move here from
6638         cc-langs.el.  Change it to a defcustom.
6640         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6641         cc-vars.el.
6643         * progmodes/cc-engine.el (c-beginning-of-statement-1):
6644         Prevent "class foo : bar" being spuriously recognized as a label.
6646         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6647         Add parameter `inclusive' (to include enclosing braces in the region).
6648         (c-widen-to-enclosing-decl-scope): New function.
6649         (c-while-widening-to-decl-block): New macro.
6650         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6651         outward for defun boundaries, and correspondingly change symbol
6652         `respect-enclosure' to `go-outward'.
6653         (c-declaration-limits): Change algorithm to report only the "innermost"
6654         defun's boundaries.
6656 2011-10-28  Deniz Dogan  <deniz@dogan.se>
6658         * net/rcirc.el (rcirc-mode): Use hard newlines.
6660 2011-10-28  Alan Mackenzie  <acm@muc.de>
6662         Amend to indent and fontify macros "which include their own semicolon"
6663         correctly, using the "virtual semicolon" mechanism.
6665         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6667         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6668         Recode to scan one line at a time rather than having \n and \r
6669         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6670         (c-forward-label): Amend for virtual semicolons.
6671         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6673         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6674         of the new C macros.
6676         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6677         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6678         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6679         (c-opt-cpp-macro-define): Make into a full language variable.
6680         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6681         AWK Mode (including \n, \r) removed, no longer needed.
6683         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6684         Invoke c-make-macro-with-semi-re.
6686         * progmodes/cc-vars.el (c-macro-with-semi-re):
6687         (c-macro-names-with-semicolon): New variables.
6688         (c-make-macro-with-semi-re): New function.
6690 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6692         * vc/log-edit.el: Fill empty field rather than adding new one.
6693         (log-edit-add-field): New function.
6694         (log-edit-insert-changelog): Use it.
6696 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
6698         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6700 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6702         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6703         (gdb--check-interpreter): New function.
6704         (gdb): Use it.
6706 2011-10-27  Glenn Morris  <rgm@gnu.org>
6708         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6709         (least-positive-float, least-negative-float)
6710         (least-positive-normalized-float, least-negative-normalized-float)
6711         (float-epsilon, float-negative-epsilon):
6712         Remove unnecessary declarations.
6714         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6715         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6716         (least-positive-float, least-negative-float)
6717         (least-positive-normalized-float, least-negative-normalized-float)
6718         (float-epsilon, float-negative-epsilon): Add doc-strings,
6719         based on those in cl.texi.
6721         * files.el (set-visited-file-name): If the major-mode changed,
6722         reload the local variables.  (Bug#9796)
6724 2011-10-27  Chong Yidong  <cyd@gnu.org>
6726         * subr.el (change-major-mode-after-body-hook): New hook.
6727         (run-mode-hooks): Run it.
6729         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6730         Use change-major-mode-before-body-hook.
6732         * simple.el (fundamental-mode):
6733         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6734         change introducing fundamental-mode-hook.
6736 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
6738         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6740 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
6742         * ido.el (ido-file-name-all-completions-1): Do not require
6743         tramp.el explicitly.  (Bug#7583)
6745 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6747         * progmodes/octave-mod.el:
6748         * progmodes/octave-inf.el: Update maintainer.
6750 2011-10-26  Chong Yidong  <cyd@gnu.org>
6752         * subr.el (with-wrapper-hook): Rewrite doc.
6754 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
6756         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6757         filenames "/method:foo:".  (Bug#9793)
6759 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6761         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6762         (bug#9865).
6764 2011-10-24  Glenn Morris  <rgm@gnu.org>
6766         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
6768 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
6770         * notifications.el: Add the requirement of a running D-Bus session
6771         bus to the Commentary.
6773 2011-10-24  Juri Linkov  <juri@jurta.org>
6775         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6776         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6777         (Bug#9364)
6779 2011-10-24  Juri Linkov  <juri@jurta.org>
6781         * info.el (Info-following-node-name-re): Add newline to the list
6782         of allowed characters for leading space.  (Bug#9824)
6784 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6786         * progmodes/octave-inf.el (inferior-octave-mode-map):
6787         Fix C-c C-h binding.
6788         * progmodes/octave-mod.el (octave-help): Remove.
6790 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
6792         Sync with Tramp 2.2.3.
6794         * net/tramp-cache.el (top): Pacify byte-compiler using
6795         `init-file-user' and `site-run-file'.
6797         * net/trampver.el: Update release number.
6799 2011-10-23  Chong Yidong  <cyd@gnu.org>
6801         * files.el (toggle-read-only): Remove obsolete comment about
6802         version control.
6804         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6805         for toggle-read-only.  Note that this hasn't called vc-next-action
6806         since 2008-05-02, though it wasn't documented at the time.
6808         * vc/ediff-init.el (ediff-toggle-read-only-function):
6809         Use toggle-read-only.
6811 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
6813         Fix bug #9560, sporadic wrong indentation; improve instrumentation
6814         of c-parse-state.
6816         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6817         correct faulty logical expression.
6818         (c-parse-state-state, c-record-parse-state-state):
6819         (c-replay-parse-state-state): New defvar/defuns.
6820         (c-debug-parse-state): Use new functions.
6822 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
6824         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6825         last fix.  Use window-in-direction correctly.
6827 2011-10-21  Chong Yidong  <cyd@gnu.org>
6829         * progmodes/idlwave.el (idlwave-mode):
6830         * progmodes/vera-mode.el (vera-mode): No need to set
6831         require-final-newline; that's done in prog-mode.
6832         Suggested by Stefan Monnier.
6834 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
6836         * mouse.el (mouse-drag-window-above)
6837         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6838         (mouse-drag-mode-line-1, mouse-drag-header-line)
6839         (mouse-drag-vertical-line-rightward-window): Remove.
6840         (mouse-drag-line): New function.
6841         (mouse-drag-mode-line, mouse-drag-header-line)
6842         (mouse-drag-vertical-line): Call mouse-drag-line.
6843         * window.el (window-at-side-p, windows-at-side): New functions.
6845 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
6847         * tar-mode.el (tar-grind-file-mode):
6848         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
6850 2011-10-21  Chong Yidong  <cyd@gnu.org>
6852         * progmodes/idlwave.el (idlwave-mode):
6853         * progmodes/vera-mode.el (vera-mode):
6854         Use mode-require-final-newline.
6856 2011-10-20  Glenn Morris  <rgm@gnu.org>
6858         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
6860 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
6862         * emulation/cua-base.el (cua-set-mark): Fix case of string.
6864 2011-10-20  Chong Yidong  <cyd@gnu.org>
6866         * emulation/cua-base.el (cua-mode):
6867         * mail/footnote.el (footnote-mode):
6868         * mail/mailabbrev.el (mail-abbrevs-mode):
6869         * net/xesam.el (xesam-minor-mode):
6870         * progmodes/bug-reference.el (bug-reference-mode):
6871         * progmodes/cap-words.el (capitalized-words-mode):
6872         * progmodes/compile.el (compilation-minor-mode)
6873         (compilation-shell-minor-mode):
6874         * progmodes/gud.el (gud-tooltip-mode):
6875         * progmodes/hideif.el (hide-ifdef-mode):
6876         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6877         * progmodes/subword.el (subword-mode):
6878         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6879         * progmodes/which-func.el (which-function-mode):
6880         * term/tvi970.el (tvi970-set-keypad-mode):
6881         * term/vt100.el (vt100-wide-mode):
6882         * textmodes/flyspell.el (flyspell-mode):
6883         * textmodes/ispell.el (ispell-minor-mode):
6884         * textmodes/nroff-mode.el (nroff-electric-mode):
6885         * textmodes/paragraphs.el (use-hard-newlines):
6886         * textmodes/refill.el (refill-mode):
6887         * textmodes/reftex.el (reftex-mode):
6888         * textmodes/rst.el (rst-minor-mode):
6889         * textmodes/sgml-mode.el (html-autoview-mode)
6890         (sgml-electric-tag-pair-mode):
6891         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6892         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6893         * emulation/crisp.el (crisp-mode):
6894         * emacs-lisp/eldoc.el (eldoc-mode):
6895         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6896         minor mode behavior.
6898 2011-10-19  Juri Linkov  <juri@jurta.org>
6900         * descr-text.el (describe-char): Add #x2010 and #x2011 to
6901         the list of hard-coded chars with escape-glyph face.
6903 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6905         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6907 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
6909         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6910         running process.
6912 2011-10-19  Glenn Morris  <rgm@gnu.org>
6914         * vc/vc-bzr.el (vc-bzr-after-dir-status):
6915         Ignore ignored files.  (Bug#9726)
6917 2011-10-19  Chong Yidong  <cyd@gnu.org>
6919         Doc fix for minor modes, stating that an omitted argument enables
6920         the mode unconditionally when called from Lisp.
6922         * abbrev.el (abbrev-mode):
6923         * allout.el (allout-mode):
6924         * autoinsert.el (auto-insert-mode):
6925         * autoarg.el (autoarg-mode, autoarg-kp-mode):
6926         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6927         (global-auto-revert-mode):
6928         * battery.el (display-battery-mode):
6929         * composite.el (global-auto-composition-mode)
6930         (auto-composition-mode):
6931         * delsel.el (delete-selection-mode):
6932         * desktop.el (desktop-save-mode):
6933         * dired-x.el (dired-omit-mode):
6934         * dirtrack.el (dirtrack-mode):
6935         * doc-view.el (doc-view-minor-mode):
6936         * double.el (double-mode):
6937         * electric.el (electric-indent-mode, electric-pair-mode):
6938         * emacs-lock.el (emacs-lock-mode):
6939         * epa-hook.el (auto-encryption-mode):
6940         * follow.el (follow-mode):
6941         * font-core.el (font-lock-mode):
6942         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6943         * help.el (temp-buffer-resize-mode):
6944         * hilit-chg.el (highlight-changes-mode)
6945         (highlight-changes-visible-mode):
6946         * hi-lock.el (hi-lock-mode):
6947         * hl-line.el (hl-line-mode, global-hl-line-mode):
6948         * icomplete.el (icomplete-mode):
6949         * ido.el (ido-everywhere):
6950         * image-file.el (auto-image-file-mode):
6951         * image-mode.el (image-minor-mode):
6952         * iswitchb.el (iswitchb-mode):
6953         * jka-cmpr-hook.el (auto-compression-mode):
6954         * linum.el (linum-mode):
6955         * longlines.el (longlines-mode):
6956         * master.el (master-mode):
6957         * mb-depth.el (minibuffer-depth-indicate-mode):
6958         * menu-bar.el (menu-bar-mode):
6959         * minibuf-eldef.el (minibuffer-electric-default-mode):
6960         * mouse-sel.el (mouse-sel-mode):
6961         * msb.el (msb-mode):
6962         * mwheel.el (mouse-wheel-mode):
6963         * outline.el (outline-minor-mode):
6964         * paren.el (show-paren-mode):
6965         * recentf.el (recentf-mode):
6966         * reveal.el (reveal-mode, global-reveal-mode):
6967         * rfn-eshadow.el (file-name-shadow-mode):
6968         * ruler-mode.el (ruler-mode):
6969         * savehist.el (savehist-mode):
6970         * scroll-all.el (scroll-all-mode):
6971         * scroll-bar.el (scroll-bar-mode):
6972         * server.el (server-mode):
6973         * shell.el (shell-dirtrack-mode):
6974         * simple.el (auto-fill-mode, transient-mark-mode)
6975         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6976         (line-number-mode, column-number-mode, size-indication-mode)
6977         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6978         * strokes.el (strokes-mode):
6979         * time.el (display-time-mode):
6980         * t-mouse.el (gpm-mouse-mode):
6981         * tool-bar.el (tool-bar-mode):
6982         * tooltip.el (tooltip-mode):
6983         * type-break.el (type-break-mode-line-message-mode)
6984         (type-break-query-mode):
6985         * view.el (view-mode):
6986         * whitespace.el (whitespace-mode, whitespace-newline-mode)
6987         (global-whitespace-mode, global-whitespace-newline-mode):
6988         * xt-mouse.el (xterm-mouse-mode): Doc fix.
6990         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6991         Fix autogenerated docstring.
6993 2011-10-19  Juri Linkov  <juri@jurta.org>
6995         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6996         by checking environment variables "DESKTOP_SESSION" and
6997         "XDG_CURRENT_DESKTOP".  (Bug#9779)
6999 2011-10-19  Juri Linkov  <juri@jurta.org>
7001         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7002         (browse-url-chromium-program, browse-url-chromium-arguments):
7003         New defcustoms.
7004         (browse-url-default-browser): Check for `browse-url-chromium' and
7005         call `browse-url-chromium-program'.
7006         (browse-url-chromium): New command.  (Bug#9779)
7008 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
7010         * facemenu.el (list-colors-duplicates): On Windows, detect more
7011         duplicates by assuming that only colors matching "^System" are
7012         special "system colors".  (Bug#9722)
7014 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7016         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7017         to distinguish the author from the committer.
7019 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
7021         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7023 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
7025         * international/mule.el (sgml-html-meta-auto-coding-function):
7026         Add support for detecting encoding in HTML5 specified only as
7027         <meta charset="UTF-8">.  Implementation just makes http-equiv and
7028         content-type parts from HTML4 encoding string optional.  (Bug#9716)
7030 2011-10-18  Glenn Morris  <rgm@gnu.org>
7032         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
7034 2011-10-18  Chong Yidong  <cyd@gnu.org>
7036         * faces.el (cursor): Doc fix.
7038 2011-10-17  Chong Yidong  <cyd@gnu.org>
7040         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7042 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
7044         * dirtrack.el (dirtrack): Support shell buffers with path
7045         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
7047 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
7049         * json.el: Bump version to 1.3 and note change in History.
7050         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7052 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7054         * comint.el (comint-insert-input, comint-send-input)
7055         (comint-get-old-input-default, comint-backward-matching-input)
7056         (comint-next-prompt): Use nil instead of `input' for field property of
7057         past user input (bug#114).
7059         * minibuffer.el (completion--replace): Inherit surrounding properties
7060         (bug#114).
7061         (minibuffer-complete-and-exit): Use it.
7063         * comint.el (comint--table-subvert): Quote the all-completions output
7064         (bug#9160).
7066 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
7068         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7070         * menu-bar.el (menu-bar-file-menu): Add entry for making new
7071         window on right of selected.  (Bug#9350) Reword other window
7072         entries and separate them from frame entries.
7074 2011-10-15  Glenn Morris  <rgm@gnu.org>
7076         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7077         Doc fixes.
7079 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
7081         * net/network-stream.el (network-stream-open-starttls):
7082         Improve detection of failure due to lack of TLS support.
7084         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7085         putting the input text in front and in bold.
7087 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7089         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7091         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7092         empty buffer.
7094         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7095         unread-command-events rather than pushing yet-another event.
7097 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
7099         * mail/sendmail.el (sendmail-query-once): Improve the wording of
7100         the explanation of the possible choices.  Make the options passed
7101         to completing-read shorter.
7103 2011-10-13  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
7105         * textmodes/flyspell.el (flyspell-large-region): Make sure
7106         extended character mode is used if defined (Bug#1339).
7108 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
7110         * simple.el (what-cursor-position): Fix the display of the
7111         character info for LRE, LRO, RLE, and RLO characters by appending
7112         an invisible PDF.
7114 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7116         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7117         even in case of error; add debug spec; simplify data flow.
7118         (with-timeout-handler): Remove.
7120 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
7122         Fix Bug#6019, Bug#9315.
7124         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7125         complete `buffer-file-name', the local file name part could look
7126         remotely (for example on VMS).
7128         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7129         `tramp-run-real-handler'.
7130         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7131         already quoted by '"'.
7133         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7134         Let `file-name-handler-alist' be nil, the local file name part
7135         could look remotely (for example on VMS).
7137 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7139         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7140         from here...
7141         (flyspell-post-command-hook): ...to here.
7143 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7145         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7146         if not needed.
7147         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
7148         using completion.  Protect against "slow" callers.
7149         Remove the "message hack".
7151 2011-10-11  Juri Linkov  <juri@jurta.org>
7153         * isearch.el (isearch-lazy-highlight-word): New variable.
7154         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7155         Use it.  (Bug#9727)
7157 2011-10-11  Glenn Morris  <rgm@gnu.org>
7159         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7160         like f90-previous-statement does.
7162 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7164         * eshell/eshell.el (eshell-command): History should be saved
7165         only in interactive use, to avoid error.
7167 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7169         * minibuffer.el (completion-file-name-table): Fix last change,
7170         i.e. ignore normal errors but not the other ones.
7172 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
7174         * window.el (special-display-buffer-names)
7175         (special-display-regexps): Remove some remnants of earlier
7176         changes from doc-strings.
7177         (quit-windows-on): New function.
7179         * vc/vc.el (vc-revert, vc-rollback):
7180         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7181         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
7182         (Bug#6183) (Bug#7074) (Bug#7447)
7184 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
7186         * window.el (frame-auto-hide-function): Add version tag.
7187         (Bug#9699)
7189 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
7191         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7192         condition.
7194 2011-10-09  Leo Liu  <sdl.web@gmail.com>
7196         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7197         (Bug#9701)
7199 2011-10-08  Glenn Morris  <rgm@gnu.org>
7201         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7202         before the first code statement zero indent.  (Bug#9690)
7204 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
7206         * simple.el (count-words-region): Always count in the region.
7207         Report the number of lines and characters too.
7208         (count-words): New command, which counts in the buffer if the
7209         region is inactive, as count-words-region used to.
7210         (count-words--message): New function.  Handle plurals.
7211         (count-lines-region): Make it an alias for count-words-region.
7213         * bindings.el (esc-map): Replace count-lines-region with
7214         count-words-region.
7216 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
7218         * window.el (window--delete): Delete dedicated frame
7219         unconditionally when argument KILL is non-nil.  (Bug#9699)
7220         (switch-to-buffer): Fix doc-string typo.
7222 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7224         * eshell/eshell.el (eshell-command): Avoid using hooks.
7226 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
7228         * bindings.el ([M-left],[M-right]): Bind to left-word and
7229         right-word respectively.
7231 2011-10-07  Glenn Morris  <rgm@gnu.org>
7233         * cus-start.el (debug-on-quit): Fix custom type.
7235 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7237         * subr.el (define-key-after): Clarify that the function is not
7238         useful for non-menu keymaps.
7240         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7242 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7244         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7245         in current minibuffer (Fix bug with recursive minibuffers).
7247 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
7249         * progmodes/gdb-mi.el (gdb): Doc fix.
7251 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
7253         * window.el (frame-auto-hide-function): New option replacing
7254         frame-auto-delete.  Suggested by Stefan Monnier.
7255         (window--delete): Call frame-auto-hide-function instead of
7256         investigating frame-auto-delete.
7257         (window-point-1, set-window-point-1): New functions.
7258         (window-in-direction, record-window-buffer, window-state-get-1)
7259         (display-buffer-record-window): Use window-point-1 instead of
7260         window-point.
7261         (set-window-buffer-start-and-point): Use set-window-point-1.
7263 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7265         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7267 2011-10-05  Glenn Morris  <rgm@gnu.org>
7269         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7270         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
7272 2011-10-05  Leo Liu  <sdl.web@gmail.com>
7274         * subr.el (read-char-choice): Fix argument to buffer-live-p which
7275         works with buffer object.
7277 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7279         * mpc.el (mpc-tool-bar-map): Add labels.
7281 2011-10-04  Glenn Morris  <rgm@gnu.org>
7283         * calendar/holidays.el (calendar-check-holidays): Doc fix.
7285 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
7287         * window.el (window--delete): New function.
7288         (frame-auto-delete): Resuscitate option.
7289         (bury-buffer, replace-buffer-in-windows)
7290         (quit-window): Rewrite using window--delete.
7291         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7292         Pass display-buffer-mark-dedicated to window--display-buffer-2
7293         (Bug#9639).
7295 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7297         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7298         returns a list (bug#9554).  Add remote file name completion.
7299         * comint.el (comint--table-subvert): Curry and get quote&unquote
7300         functions as arguments.
7301         (comint--complete-file-name-data): Adjust call accordingly.
7302         * pcomplete.el (pcomplete--table-subvert): Remove.
7303         (pcomplete-completions-at-point): Use comint--table-subvert instead.
7305         * minibuffer.el (completion-table-case-fold): Use currying.
7306         (completion--styles-type, completion--cycling-threshold-type):
7307         New constants.
7308         (completion-styles, completion-category-overrides)
7309         (completion-cycle-threshold): Use them.
7310         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7311         completion-table-case-fold.
7313 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
7315         * minibuffer.el (completion-category-overrides): Fix type of styles
7316         and add more user friendly tags (bug#9660).
7318 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7320         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7321         (mule-input-method-string): New widget.
7322         (default-input-method, language-info-custom-alist): Use it.
7324 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7326         * pcomplete.el: Require comint.
7327         (pcomplete--common-suffix): Remove.
7328         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7329         (pcomplete--table-subvert): Sync with comint--table-subvert.
7330         (pcomplete--entries): Use comint-completion-file-name-table.
7331         * comint.el (comint-unquote-filename): Simplify.
7332         (comint-completion-file-name-table): New function (bug#9616).
7333         (comint--complete-file-name-data): Use it.
7335         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7336         (pcmpl-gnu-tar-buffer): Remove.
7337         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7338         around.  Make sure pcomplete-suffix-list is only changed temporarily.
7339         Don't look inside the tar's file if it's too large.
7341 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
7343         * cus-edit.el (custom-mode-map):
7344         * epa.el (epa-key-list-mode-map):
7345         * man.el (Man-mode-map):
7346         * startup.el (splash-screen-keymap):
7347         * simple.el (special-mode-map): Use scroll-up-command and
7348         scroll-down-command.
7350         * progmodes/idlw-help.el (idlwave-help-mode-map):
7351         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7352         * net/newst-plainview.el (newsticker-mode-map):
7353         * emulation/ws-mode.el (wordstar-mode-map):
7354         * emulation/vi.el (vi-com-map):
7355         * calc/calc-graph.el (calc-graph-show-dumb):
7356         * term/sun.el (terminal-init-sun):
7357         * term/ns-win.el (global-map):
7358         * progmodes/grep.el (grep-mode-map):
7359         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7360         * mail/rmail.el (rmail-mode-map):
7361         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7363         * custom.el (custom-safe-themes, load-theme): Treat value of t for
7364         custom-safe-themes as special.
7366 2011-10-01  Julien Danjou  <julien@danjou.info>
7368         * notifications.el (notifications-notify): Fix docstring.
7370 2011-10-01  Per Starbäck  <per@starback.se>
7372         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
7374 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
7376         * startup.el (command-line-1): Fix last fix by inserting
7377         initial-scratch-message into *scratch* before displaying it.
7378         (Bug#9605) and (Bug#9636)
7380 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
7382         * simple.el (line-move): If auto-hscroll-mode is disabled and the
7383         window is hscrolled, move by logical lines.  (Bug#9607)
7384         (line-move-visual): Update the doc string to the above effect.
7386 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
7388         * window.el (display-buffer-record-window): When WINDOW is the
7389         selected window use `point' instead of `window-point'.  (Bug#9626)
7391         * startup.el (command-line-1): Use insert-before-markers when
7392         inserting initial-scratch-message.  (Bug#9605)
7394         * help.el (help-window): Remove variable.
7396 2011-09-29  Glenn Morris  <rgm@gnu.org>
7398         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7400 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
7402         * descr-text.el (describe-char-categories): Accept category
7403         descriptions more than one line long.
7405 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7407         * simple.el (delete-trailing-whitespace): Fix last change.
7409         * progmodes/perl-mode.el (perl-syntax-propertize-function):
7410         Don't confuse "y => 3" as the beginning of a `y' operation.
7412         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7413         object has more than 4 slots (bug#9613).
7415 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
7417         * subr.el (with-output-to-temp-buffer):
7418         * net/quickurl.el (quickurl, quickurl-browse-url):
7419         Fix typos in docstrings.
7421 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
7423         * minibuffer.el (completion-styles)
7424         (completion-category-overrides): Cross reference each other in doc
7425         strings.
7427 2011-09-27  Glenn Morris  <rgm@gnu.org>
7429         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7430         to split-string.  (Bug#9606)
7432 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7434         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7435         (bug#9615).
7437 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
7439         * emacs-lisp/package.el (list-packages): Fix echo area message.
7441 2011-09-27  Leo Liu  <sdl.web@gmail.com>
7443         * ido.el (ido-read-internal): Accept cons cell HIST arg.
7445 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
7447         * net/dbus.el (dbus-unregister-object): Don't release services for
7448         registered signals.  (Bug#9581)
7450 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
7452         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7453         function that picks between cfengine 2 and 3 support
7454         automatically.  Update docs accordingly.
7456 2011-09-22  Kenichi Handa  <handa@m17n.org>
7458         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7459         ZERO.
7460         (indian-itrans-v5-table-for-tamil): New variable.
7461         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7463 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
7465         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7466         that's true if the current command involved collapsing of text.
7467         It's reset to false at the beginning of the next command.
7468         (allout-post-command-business): Move the cursor to the beginning
7469         of entry if the cursor is hidden and collapsing activity just
7470         happened.
7472 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
7474         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7475         tracking (Bug#9541).
7477 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
7479         * net/newst-reader.el (newsticker-html-renderer)
7480         (newsticker-show-news): Automatically load html rendering package
7481         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
7482         because w3m-fill-column is let-bound" and the error "Symbol's value
7483         as variable is void: w3m-fill-column".
7485 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
7487         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7488         Release services only if they are defined.  (Bug#9581)
7490 2011-09-23  Richard Stallman  <rms@gnu.org>
7492         * textmodes/paragraphs.el (forward-sentence): For backwards case,
7493         distinguish start of paragraph from start of its text.
7495         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7497         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7498         (rmail-generate-viewer-buffer): Put that hook on view buffer.
7499         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7501 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
7503         * international/mule-diag.el (mule-diag): Insert a newline after
7504         each fontset description.
7506 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7508         * simple.el (delete-trailing-whitespace):
7509         Document last change; simplify.
7511 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
7513         * simple.el (delete-trailing-whitespace): Also delete
7514         extra newlines at the end of the buffer.
7516         * textmodes/picture.el: Make motion commands obey shift-select-mode.
7517         (picture-newline): Use forward-line so as to ignore fields.
7519 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7521         * subr.el (with-wrapper-hook): Fix edebug spec.
7523 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7525         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7526         (bug#4538).
7528 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
7530         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7531         Fix nasty bug using wrong cached values.
7533 2011-09-23  Alan Mackenzie  <acm@muc.de>
7535         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7537 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
7539         * window.el (pop-to-buffer): Ensure right window is selected if we
7540         chose another frame.
7542 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
7544         * simple.el (what-cursor-position): Use get-char-property-change
7545         and next-single-char-property-change, to be able to show display
7546         properties that come from overlays as well as text properties.
7548 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
7550         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7552         * cmuscheme.el (run-scheme, switch-to-scheme):
7553         * cus-edit.el (customize-group, custom-buffer-create)
7554         (customize-browse):
7555         * info.el (info):
7556         * shell.el (shell):
7557         * mail/sendmail.el (mail):
7558         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7560 2011-09-22  Richard Stallman  <rms@gnu.org>
7562         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7563         move back only to line beg, don't move back over blank lines.
7565 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
7567         * files.el (copy-directory): Set directory attributes only in case
7568         they could be retrieved from the source directory.  (Bug#9565)
7570 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
7572         * progmodes/hideshow.el (hs-looking-at-block-start-p)
7573         (hs-find-block-beginning, hs-hide-level-recursive):
7574         Ignore strings as well as comments.  (Bug#9502)
7576 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
7578         * progmodes/sql.el (sql-comint-postgres):
7579         Convert port number to a string.  (Bug#9566)
7581 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
7583         * window.el (quit-window): Undedicate window when switching to
7584         previous buffer.  Reported by Thierry Volpiatto
7585         <thierry.volpiatto@gmail.com>.
7586         (special-display-popup-frame): When popping up a new frame reset
7587         its previous buffers to nil.  Simplify code.
7589 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
7591         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7592         and process filter, as done also in `shell-command'.
7594 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
7596         * window.el (set-window-buffer-start-and-point):
7597         Call set-window-start with NOFORCE argument t.
7598         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7599         (quit-window): Reword doc-string.  Handle new format of
7600         quit-restore parameter.  Don't delete window if it has a
7601         previous buffer we can show instead of the present one.
7602         (display-buffer-record-window): Rewrite using a new format for
7603         the quit-restore window parameter
7604         (special-display-popup-frame, display-buffer-same-window)
7605         (display-buffer-reuse-window, display-buffer-pop-up-frame)
7606         (display-buffer-pop-up-window, display-buffer-use-some-window):
7607         Adapt symbol passed to display-buffer-record-window.
7608         * help.el (help-window-setup): Handle new format of quit-restore
7609         parameter.
7611 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7613         * faces.el (face-list): Fix docstring (bug#9564).
7615         * window.el (display-buffer--action-function-custom-type):
7616         Don't include internal functions in the Custom interface.
7618 2011-09-20  Juri Linkov  <juri@jurta.org>
7620         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7621         (Info-forward-node, Info-backward-node, Info-next-preorder)
7622         (Info-last-preorder): Use it.  (Bug#9528)
7624 2011-09-20  Juri Linkov  <juri@jurta.org>
7626         * info.el (Info-last-preorder): Visit last menu item only when
7627         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7629 2011-09-20  Julien Danjou  <julien@danjou.info>
7631         * password-cache.el (password-cache-remove): Remove entries even if the
7632         value is nil, so that password with a nil value (negative caching) is
7633         possible to invalidate.
7635 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
7637         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7638         all whitespace around breakpoint.  (Bug#9553)
7639         (f90-find-breakpoint): Only break at whitespace inside a comment.
7641 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7643         * minibuffer.el (completion-file-name-table): Keep track of errors.
7644         (completion-table-with-predicate): Handle the case where pred1 is nil.
7645         * pcomplete.el (pcomplete-completions-at-point): Simplify.
7647 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7649         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7650         (debugger-return-value): Signal an error if the debugging context does
7651         not await any return value.
7653         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7654         * image-mode.el (image-toggle-display-text)
7655         (image-toggle-display-image): Stay away from evil `intangible'.
7657 2011-09-19  Leo Liu  <sdl.web@gmail.com>
7659         * replace.el (occur-revert-arguments): Make it permanent-local.
7660         (occur-mode): Don't call font-lock-defontify.
7662 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
7664         * net/ldap.el (ldap-search-internal): Don't push empty search
7665         result (Bug#9508).
7667 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7669         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7671 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
7673         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7674         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7676 2011-09-18  Juri Linkov  <juri@jurta.org>
7678         * buff-menu.el (Buffer-menu-mode-map):
7679         * dired.el (dired-mode-map):
7680         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7681         (lisp-interaction-mode-map):
7682         * emacs-lisp/package.el (package-menu-mode-map):
7683         * epa.el (epa-key-list-mode-map):
7684         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7685         (menu-bar-options-menu):
7686         * outline.el (outline-mode-menu-bar-map):
7687         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7688         * vc/vc-dir.el (vc-dir-menu-map):
7689         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7690         Capitalize non-function content words in menu item strings.
7692         * dired.el (dired-mode-map): Add menu item for
7693         `image-dired-dired-toggle-marked-thumbs'.
7695 2011-09-18  Juri Linkov  <juri@jurta.org>
7697         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7698         to `isearch-case-fold-search' and restore its original value
7699         after the `isearch-mode' call.
7701 2011-09-18  Juri Linkov  <juri@jurta.org>
7703         * progmodes/grep.el (grep-process-setup): Don't check code for 1
7704         because `zgrep' returns 1 for successful matches (bug#9226).
7706 2011-09-18  Juri Linkov  <juri@jurta.org>
7708         * info.el (Info-extract-menu-node-name): Check the second match
7709         for empty string (second test-case of bug#9528).
7710         (Info-last-preorder): Let-bind `Info-history' to nil to not add
7711         intermediate nodes to the history (first test-case of bug#9528).
7713 2011-09-18  Juri Linkov  <juri@jurta.org>
7715         * info.el (Info-mode-syntax-table): New variable.
7716         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7718 2011-09-18  Juri Linkov  <juri@jurta.org>
7720         * info.el (Info-file-supports-index-cookies):
7721         Increment line-beginning-position's arg from 3 to 4 because makeinfo
7722         outputs one more line for long file names (bug#4142).
7724 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
7726         * newcomment.el (comment-normalize-vars): If prompting for
7727         comment-start, set comment-start-skip too (Bug#8424).
7729 2011-09-18  Johan BockgĂ¥rd  <bojohan@gnu.org>
7731         * icomplete.el: Fix previous fix of Bug#5849.
7732         (icomplete-mode): Don't set completion-show-inline-help.
7733         (icomplete-minibuffer-setup): Set completion-show-inline-help
7734         locally during icompletion.
7736 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
7738         * woman.el (woman2-process-escapes): Don't delete unrecognized
7739         escapes (Bug#7843).
7741         * files.el (inhibit-first-line-modes-regexps): Add image files.
7742         (hack-local-variables-prop-line): Return nil for malformed
7743         prop-lines (Bug#9044).
7745 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
7747         * net/tramp.el (top): Don't require 'shell.
7748         (tramp-methods): Fix docstring.
7749         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7750         Return complete remote file name.  Handle "smb" case.
7751         Use `tramp-tmpdir', if defined for the respective method.
7752         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7754         * net/tramp-compat.el (top): Require 'shell.
7756         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7757         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7758         `tramp-current-host'.
7759         (tramp-get-remote-tmpdir): Remove.
7761         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7762         `tramp-tmpdir' entries.
7763         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7764         (tramp-smb-handle-file-attributes): Ignore errors.
7765         (tramp-smb-wait-for-output): Check also for process end.
7767 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7769         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7770         when sending QUIT (bug#9312).
7772 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
7774         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7775         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7776         occur-mode-display-occurrence.
7777         (occur-edit-mode): Add usage message.
7778         (occur-cease-edit): New command.
7779         (occur-after-change-function): Use text properties to find the
7780         position of the prefix text.
7781         (occur-engine): Set stickiness of prefix text properties.
7783 2011-09-17  Glenn Morris  <rgm@gnu.org>
7785         * progmodes/etags.el (complete-tag):
7786         Fix call to completion-in-region.  (Bug#9526)
7788 2011-09-17  Juri Linkov  <juri@jurta.org>
7790         * textmodes/ispell.el (ispell-word): Add to the error message
7791         the word, ispell program name and current dictionary (bug#9121).
7792         (ispell-tex-arg-end): Capitalize "error" in the error message.
7794 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
7796         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7797         check.  (Bug#4251)
7799 2011-09-17  Juri Linkov  <juri@jurta.org>
7801         * window.el (window-safe-min-height, window-safe-min-width):
7802         Fix typos (followup to bug#9522).
7804 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
7806         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7808 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
7810         * simple.el (line-move): If goal-column is set, move by logical
7811         lines, not by display lines.  (Bug#971)
7812         (next-line, previous-line, goal-column, line-move-visual): Doc fix
7813         to reflect the above change.
7815 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7817         * image.el (imagemagick-register-types): Use regexp-opt.
7819 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
7821         * window.el (display-buffer-base-action): Rename from
7822         display-buffer-default-action.  Make default value empty.
7823         (display-buffer-overriding-action): Convert to defvar.
7824         (display-buffer-fallback-action): New var.
7826 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
7828         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7829         declaration.
7830         (package--add-to-archive-contents): If there is a duplicate entry
7831         with an older version, remove it.
7832         (package-menu-mark-delete, package-menu-mark-install)
7833         (package-menu-mark-unmark): Make unused args optional.
7834         (package-menu-mark-obsolete-for-deletion):
7835         Use package-menu-get-status instead of a regexp search.
7836         (package-menu-get-status): Use tabulated-list-entry.
7837         (package-menu-mark-upgrades): New command.
7838         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
7839         (package-menu-execute): Do installation before deletion.
7840         (package-menu-refresh, package-menu-execute): Use derived-mode-p
7841         instead of checking major-mode.
7842         (package-menu--find-upgrades): New function.
7844 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7846         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7847         passwords in the log buffer.
7848         (smtpmail-process-filter): Update the process marker so that the
7849         "broken by peer" status message is inserted in the right place.
7851 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7853         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7854         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7855         bibtex-completion-at-point-function.
7856         (bibtex-completion-at-point-function): Use them.
7858         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7860         * mpc.el (mpc-constraints-tag-lookup): New function.
7861         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7862         also to browser "album|playlist".
7864 2011-09-14  Juri Linkov  <juri@jurta.org>
7866         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
7867         (isearch-edit-string): Use length of `isearch-string' when
7868         `isearch-fail-pos' returns nil.
7869         (isearch-message): Remove duplicate code and call
7870         `isearch-fail-pos' with arg `t'.
7872 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
7874         * replace.el (occur-mode-goto-occurrence): Don't force using other
7875         window (Bug#9499).
7877         * dired-aux.el (dired-do-chmod): Don't provide initial input.
7879 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
7881         * window.el (display-buffer-window): Remove.
7882         (display-buffer-record-window): Use help-setup window parameter
7883         instead of variable display-buffer-window.
7884         (display-buffer-function, special-display-buffer-names)
7885         (special-display-function): Mention help-setup parameter instead
7886         of display-buffer-window in doc-string.
7887         * help.el (help-window-setup): New argument help-window.
7888         Use help-window-setup parameter instead of display-buffer-window.
7889         Reword some messages.
7890         (with-help-window): Pass window used for displaying the buffer
7891         to help-window-setup.  Don't set display-buffer-window.
7893 2011-09-13  Glenn Morris  <rgm@gnu.org>
7895         * emacs-lisp/debug.el (debugger-make-xrefs):
7896         Preserve point.  (Bug#9462)
7898 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
7900         * window.el (window-deletable-p): Use next-frame.
7902 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
7904         * window.el (window-auto-delete): Remove.
7905         (window-deletable-p): Remove argument FORCE.  Don't deal with
7906         dedication and previous buffers.
7907         (switch-to-prev-buffer): Don't delete window.
7908         (delete-windows-on): Delete a window's frame if and only if the
7909         window is dedicated.
7910         (replace-buffer-in-windows): Delete buffer's window or frame if
7911         and only if window is dedicated.
7912         (quit-window): Handle quit-restore as before last change.
7913         (bury-buffer): Delete window only if window-deletable-p returns t.
7915 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
7917         * window.el (window-deletable-p): Never delete the last frame on a
7918         given terminal.
7920 2011-09-13  Glenn Morris  <rgm@gnu.org>
7922         * help.el (describe-key-briefly): Copy previous standard-output change.
7924 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
7926         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
7928 2011-09-13  Glenn Morris  <rgm@gnu.org>
7930         * emacs-lisp/lisp-mode.el (lisp-indent-function):
7931         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7933 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
7935         * dired-aux.el (dired-mark-read-string): Don't return default
7936         value on empty input (Bug#9361).
7937         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7938         Omit initial minibuffer contents.
7939         (dired-do-chmod): Signal an error on empty input.
7940         (dired-mark-read-string): Don't return default on empty input.
7942         * files.el (file-modes-symbolic-to-number): Doc fix.
7944 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7946         * international/mule-cmds.el (ucs-completions): Remove.
7947         (read-char-by-name): Use complete-with-action instead; add metadata.
7949 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
7951         * window.el (display-buffer--action-function-custom-type)
7952         (display-buffer--action-custom-type): New vars.
7953         (display-buffer-alist, display-buffer-default-action)
7954         (display-buffer-overriding-action): Add defcustom types.
7956         * frame.el (delete-other-frames): Doc fix (Bug#276).
7958 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7960         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7962 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
7964         Change modes that used same-window-* vars to use switch-to-buffer.
7966         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7967         Use switch-to-buffer.
7969         * cus-edit.el (customize-group, custom-buffer-create)
7970         (customize-browse, custom-buffer-create-other-window):
7971         Use switch-to-buffer or switch-to-buffer-other-window.
7973         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7974         (Info-prev, Info-up, Info-speedbar-goto-node)
7975         (info-display-manual): Use switch-to-buffer.
7976         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7978         * mail/sendmail.el (mail): Use switch-to-buffer.
7979         (mail-recover): Use switch-to-buffer-other-window.
7981         * cmuscheme.el (run-scheme, switch-to-scheme):
7982         * ielm.el (ielm):
7983         * shell.el (shell):
7984         * net/rlogin.el (rlogin):
7985         * net/telnet.el (telnet, rsh):
7986         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7988 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7990         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7992 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7994         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7995         so don't mention it (bug#9301).
7996         (dired-sort-toggle-or-edit): Clarify string further.
7998         * faces.el (face-spec-set-match-display): Make `(type graphic)'
7999         match `x', `w32' and `ns', like the manual says (bug#9029).
8001         * subr.el (eval-after-load): Doc string clarification (bug#9125).
8002         (process-kill-buffer-query-function): Mention the buffer name in
8003         the query.
8005         * image-mode.el (image-next-line): The line parameter is mandatory
8006         (bug#9258).
8008         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8009         which can be useful (bug#9301).
8011         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8013         * subr.el (match-string): Mention that the current buffer should
8014         be the same as the search was done in (bug#9282).
8016         * facemenu.el: Disable the remove-* commands if the mark isn't
8017         active (bug#9162).
8019 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
8021         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8022         of display-buffer.
8023         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8025         * replace.el (occur-mode-goto-occurrence)
8026         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8027         and display-buffer.
8029         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8030         display-buffer.
8032         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8033         special-display and same-window variables.
8034         (mail-other-window): Use switch-to-buffer-other-window.
8035         (mail-other-frame): USe switch-to-buffer-other-frame.
8037         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8038         Use display-buffer-other-frame.
8039         (gdb-display-gdb-buffer): Use pop-to-buffer.
8041         * progmodes/gud.el (gud-goto-info): Use info-other-window.
8043         * progmodes/python.el: Don't set same-window-buffer-names.
8045         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8047         * window.el (display-buffer-alist): Add *Python*.
8049 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
8051         * window.el (display-buffer-alist): Add entry for buffers
8052         previously handled same-window-*.
8053         (display-buffer-alist, display-buffer-default-action)
8054         (display-buffer-overriding-action): Mark as risky.
8055         (display-buffer-alist): Document action function changes.
8056         (display-buffer--same-window-action)
8057         (display-buffer--other-frame-action): New variables.
8058         (switch-to-buffer, display-buffer-other-frame): Use them.
8059         (display-buffer): Rename reuse-frame entry to reusable-frames.
8060         (display-buffer-reuse-selected-window): Function deleted.
8061         (display-buffer-reuse-window): Handle reusable-frames alist entry.
8062         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8063         (display-buffer-special): New function.
8064         (display-buffer--maybe-pop-up-frame-or-window): Rename from
8065         display-buffer-reuse-or-pop-window.  Split off special-display
8066         part into display-buffer-special.
8067         (display-buffer-use-some-window): Don't perform any special
8068         pop-up-frames handling.
8069         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8070         (display-buffer--maybe-same-window): Rename from
8071         display-buffer-maybe-same-window.
8073         * info.el: Don't set same-window-regexps.
8074         (info-setup): New function.
8075         (info-other-window, info): Call it.
8077         * cus-edit.el: Don't set same-window-regexps.
8078         (customize-group): New argument.
8079         (customize-group-other-window): Use it.
8080         (customize-face, customize-face-other-window): Likewise.
8081         (custom-buffer-create-other-window): Use pop-to-buffer directly.
8083         * net/rlogin.el:
8084         * net/telnet.el:
8085         * progmodes/gud.el: Don't set same-window-regexps.
8087         * cmuscheme.el:
8088         * ielm.el:
8089         * shell.el:
8090         * mail/sendmail.el:
8091         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8093 2011-09-10  Juri Linkov  <juri@jurta.org>
8095         * isearch.el (isearch-edit-string): Remove obsolete mention of
8096         `C-w' (`isearch-yank-word-or-char') from docstring.
8097         (isearch-query-replace): Fix typo in docstring (bug#9466).
8099 2011-09-10  Juri Linkov  <juri@jurta.org>
8101         * paren.el (show-paren-function): Don't show escaped parens.
8102         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
8104 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
8106         * mail/sendmail.el (mml-to-mime, mml-attach-file)
8107         (mm-default-file-encoding): Remove autoload forms, they are
8108         replaced with autoload cookies in mml.el and mm-encode.el.
8109         (mail-add-attachment): New command.
8110         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8111         (mail-mode): Mention mail-insert-file and mail-add-attachment in
8112         the doc string.
8113         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8115 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
8117         * simple.el (count-words-region): Use buffer if there's no region
8118         (bug#9429).
8120 2011-09-09  Juri Linkov  <juri@jurta.org>
8122         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8123         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8124         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
8126 2011-09-09  Alan Mackenzie  <acm@muc.de>
8128         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8129         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
8131 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
8133         Fix for Savannah bug#9392.
8134         * simple.el (mail-encode-mml): New defvar.
8136         * mail/rmail.el (mail-encode-mml): Add a defvar.
8137         (rmail-enable-mime-composing): Default to t.
8138         (rmail-forward): Use MIME method of forwarding only if both
8139         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8140         Set mail-encode-mml non-nil if the MIME method was used.
8142         * mail/sendmail.el (mml-to-mime): Add autoload form.
8143         (mail-encode-mml): Add a defvar.
8144         (mail-mode): Make mail-encode-mml buffer-local and initialize it
8145         to nil.
8146         (mail-send): If mail-encode-mml is non-nil, run the outgoing
8147         message through mml-to-mime, and reset mail-encode-mml to nil.
8149 2011-09-09  Glenn Morris  <rgm@gnu.org>
8151         * woman.el (woman-if-body): When processing an .el block,
8152         do not delete the next .el block as well.  (Bug#9447)
8153         (woman-special-characters): Add oq, cq, and hy characters.
8155 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
8157         * window.el (window-deletable-p): Make sure window is live before
8158         invoking window-prev-buffers.
8160 2011-09-08  Leo Liu  <sdl.web@gmail.com>
8162         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
8164 2011-09-08  Juri Linkov  <juri@jurta.org>
8166         * progmodes/compile.el (compilation-environment): Make it
8167         a defcustom (bug#8340).
8169 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
8171         * window.el (frame-auto-delete): Rename to window-auto-delete.
8172         Make it control auto-deletion of windows and/or frames.
8173         (window-deletable-p): New argument FORCE.  Rewrite conditions
8174         for deleting window/frame.  (Bug#9419)
8175         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8176         Rewrite handling of case when window/frame can be deleted.
8177         (delete-windows-on): Call window-deletable-p with new FORCE
8178         argument t.  (Bug#9456)
8180 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
8182         * help-mode.el (help-mode): Restore autoload.
8184 2011-09-07  Juri Linkov  <juri@jurta.org>
8186         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8187         `compilation-environment'.  Set buffer-local
8188         `compilation-environment' to `thisenv' later after (funcall mode).
8189         (Bug#8340)
8191         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
8192         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8193         instead of replacing its value.  (Bug#8340)
8195 2011-09-07  Juri Linkov  <juri@jurta.org>
8197         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8198         based on text properties put by `grep-filter' instead of matching
8199         escape sequences.
8200         (grep-mode): Set buffer-local `compilation-error-screen-columns'
8201         to the value of `grep-error-screen-columns' (bug#9438).
8203 2011-09-07  Juri Linkov  <juri@jurta.org>
8205         * simple.el (next-error-highlight, next-error-highlight-no-select):
8206         Doc fix (bug#9432).
8208 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
8210         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8211         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
8213 2011-09-07  Leo Liu  <sdl.web@gmail.com>
8215         * net/rcirc.el (rcirc-mode): Conditionally initialize
8216         rcirc-input-ring.
8218 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8220         * emacs-lisp/find-func.el (find-function-C-source): Only set
8221         find-function-C-source-directory after checking that we found a source
8222         file there (bug#9440).
8224 2011-09-06  Alan Mackenzie  <acm@muc.de>
8226         * isearch.el (isearch-other-meta-char): Wherever a key list is
8227         unread, "unread" the prefix arg, too.  This fixes bug #8901.
8229 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
8231         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8233 2011-09-05  Juri Linkov  <juri@jurta.org>
8235         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8237 2011-09-05  Juri Linkov  <juri@jurta.org>
8239         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8240         keeping point where processing of grep matches begins, and
8241         continue to delete remaining escape sequences from the same point.
8242         (grep-filter): Make leading zero optional in "0?1;31m" because
8243         git-grep emits "\033[1;31m" escape sequences unlike expected
8244         "\033[01;31m" as GNU Grep does (bug#9408).
8245         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8247 2011-09-05  Juri Linkov  <juri@jurta.org>
8249         * subr.el (y-or-n-p): Capitalize "yes".
8251 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
8253         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
8254         `tramp-cache-unload-hook' where appropriate.
8255         (tramp-methods): Rename `tramp-remote-sh' to
8256         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
8257         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8259         * net/tramp-sh.el (top): Don't require 'shell.
8260         (tramp-methods): Add `tramp-remote-shell' and
8261         `tramp-remote-shell-args' entries.
8262         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8263         (tramp-sh-handle-shell-command): Remove.
8264         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8265         Use `tramp-remote-shell'.
8267 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
8269         * mail/sendmail.el (sendmail-query-once-function): Delete.
8270         (sendmail-query-once): Save directly to send-mail-function.
8271         Update message-send-mail-function too.
8273         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8275 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
8277         * progmodes/python.el (python-mode-map): Use correct function to
8278         start python interpreter from menu-bar (as reported by Geert
8279         Kloosterman).
8280         (inferior-python-mode-map): Fix typo.
8281         (python-shell-map): Remove.
8283 2011-09-03  Deniz Dogan  <deniz@dogan.se>
8285         * net/rcirc.el (rcirc-print): Simplify code for
8286         rcirc-scroll-show-maximum-output.  There is no need to walk
8287         through all windows to find the right one.
8289 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
8291         * help.el (help-return-method): Doc fix.
8293 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
8295         * window.el (window-deletable-p): Don't return a non-nil value
8296         when there's a buffer that was shown in the window before.
8297         (Bug#9419)
8298         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8299         Set window's previous buffers to nil.
8301 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
8303         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8304         newline before and after the tag line, so it doesn't interfere
8305         with determining the paragraph direction of bidirectional text.
8307 2011-09-03  Leo Liu  <sdl.web@gmail.com>
8309         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
8311 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
8313         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8314         (pop-to-buffer): Change interactive spec.  Pass second argument
8315         directly to display-buffer.
8316         (display-buffer): Fix interactive spec.  Use functionp to
8317         distinguish between a function and a list of functions.
8319         * abbrev.el (edit-abbrevs):
8320         * arc-mode.el (archive-extract):
8321         * autoinsert.el (auto-insert):
8322         * bookmark.el (bookmark-bmenu-list):
8323         * files.el (find-file):
8324         * view.el (view-buffer):
8325         * progmodes/compile.el (compilation-goto-locus):
8326         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8328 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
8330         * window.el (display-buffer-alist): Doc fix.
8331         (display-buffer): Add docstring.  Don't treat
8332         display-buffer-default specially.
8333         (display-buffer-reuse-selected-window)
8334         (display-buffer-same-window, display-buffer-maybe-same-window)
8335         (display-buffer-reuse-window, display-buffer-pop-up-frame)
8336         (display-buffer-pop-up-window)
8337         (display-buffer-reuse-or-pop-window)
8338         (display-buffer-use-some-window): New functions.
8339         (display-buffer-default-action): Use them.
8340         (display-buffer-default): Delete.
8341         (pop-to-buffer-1): Fix choice of actions.
8343 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8345         * minibuffer.el (completion--insert-strings): Don't get confused by
8346         completion entries that end with an LF char.
8348 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
8350         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8352 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
8354         * window.el (display-buffer): Restore interactive spec.
8355         (display-buffer-same-window, display-buffer-other-window):
8356         New functions.
8357         (pop-to-buffer-1): New function.  Use the above.
8358         (pop-to-buffer, pop-to-buffer-same-window): Use it.
8359         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8361         * view.el (view-buffer-other-window, view-buffer-other-frame):
8362         Just use pop-to-buffer.
8364 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8366         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
8368 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
8370         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
8372 2011-08-31  Richard Stallman  <rms@gnu.org>
8374         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8375         of the separation of rmail-view-buffer from rmail-buffer.
8376         If you say no to "replace original", the decrypt is in the
8377         view buffer.  If you say yes, the decrypt goes into the
8378         rmail buffer also.
8380 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
8382         * window.el (display-buffer-window): Rewrite doc-string.
8383         (display-buffer-record-window): New function.
8384         (display-buffer-macro-specifiers)
8385         (display-buffer-even-window-sizes, display-buffer-set-height)
8386         (display-buffer-set-width, display-buffer-in-window)
8387         (display-buffer-reuse-window, display-buffer-split-specifiers)
8388         (display-buffer-side-specifiers, display-buffer-split-window-1)
8389         (display-buffer-split-window, display-buffer-split-atom-window)
8390         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8391         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8392         (display-buffer-other-window-means-other-frame)
8393         (display-buffer-normalize-special)
8394         (display-buffer-normalize-default)
8395         (display-buffer-normalize-argument)
8396         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8397         (display-buffer-normalize-specifiers, display-buffer-frame)
8398         (display-buffer-same-window, display-buffer-same-frame)
8399         (display-buffer-other-window)
8400         (display-buffer-same-frame-other-window)
8401         (display-buffer-other-frame, pop-to-buffer-same-window)
8402         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8403         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8404         (switch-to-buffer-same-frame)
8405         (switch-to-buffer-other-window-same-frame)
8406         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8407         (display-buffer-alist-set-1, display-buffer-alist-set-2)
8408         (display-buffer-alist-set): Remove.
8409         (display-buffer-function, special-display-buffer-names)
8410         (special-display-regexps, special-display-function):
8411         In doc-string refer to display-buffer-window and quit-restore
8412         parameter.
8413         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8414         (special-display-frame-alist, special-display-popup-frame)
8415         (same-window-buffer-names, same-window-regexps, same-window-p)
8416         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8417         (split-window-preferred-function, split-height-threshold)
8418         (split-width-threshold, window-splittable-p)
8419         (split-window-sensibly, window--try-to-split-window)
8420         (window--frame-usable-p, even-window-heights)
8421         (window--even-window-heights, window--display-buffer-1)
8422         (window--display-buffer-2, display-buffer-other-frame):
8423         Restore old Emacs 23 code, order and doc-strings where applicable.
8424         (display-buffer-default, display-buffer-assq-regexp): New functions.
8425         (display-buffer-alist): Rewrite doc-string.
8426         (display-buffer-default-action)
8427         (display-buffer-overriding-action): New variables.
8428         (display-buffer, switch-to-buffer): Rewrite.
8429         (pop-to-buffer): Restore Emacs 23 behavior but use
8430         window-normalize-buffer-to-display.
8431         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8432         Restore Emacs 23 behavior but use
8433         window-normalize-buffer-to-switch-to.
8434         (pop-to-buffer-same-window): Rewrite.
8435         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8436         Rewrite using Emacs 23 options.
8438 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
8440         * net/tramp.el (tramp-root-regexp): Remove.
8441         (tramp-completion-file-name-regexp-unified)
8442         (tramp-completion-file-name-regexp-separate)
8443         (tramp-completion-file-name-regexp-url): Don't use leading volume
8444         letter on win32 systems.  (Bug#5303, Bug#9311)
8445         (tramp-drop-volume-letter): Simplify definition.
8446         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8448 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8450         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8451         (bug#9356).
8453 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
8455         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8457 2011-08-29  Juri Linkov  <juri@jurta.org>
8459         * isearch.el (isearch-done): Don't display message "Mark saved"
8460         when arg `edit' is non-nil to prevent its flicker in the echo area.
8462 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
8464         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8465         obsolete packages for deletion.
8467 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
8469         * help-mode.el (help-mode-map): Add special-mode-map to parent.
8470         (help-mode): Derive help-mode from special-mode.  Don't invoke
8471         view-mode from help-mode.
8472         (help-xref-override-view-map): Remove.
8473         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8474         view-mode is not used anymore.
8476 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
8478         * server.el (server-port): Doc fix.
8480         * cus-theme.el (custom-theme-choose-mode): Inherit from
8481         special-mode (Bug#9124).
8482         (custom-theme-choose-mode-map): Add special-mode to parent.
8484 2011-08-28  Alan Mackenzie  <acm@muc.de>
8486         * progmodes/cc-fonts.el
8487         (c-make-font-lock-BO-decl-search-function): New function.
8488         (c-basic-matchers-after - "Fontify the clauses after various
8489         keywords"): Extract the three keyword lists for the 3 erroneous
8490         constructs from the list of four, and use the new function above
8491         in place of an old one.
8493 2011-08-28  Deniz Dogan  <deniz@dogan.se>
8495         * net/rcirc.el (rcirc-insert-prev-input)
8496         (rcirc-insert-next-input): Remove unused argument.
8498 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8500         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8502 2011-08-27  Alan Mackenzie  <acm@muc.de>
8504         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8505         handle function pointer parameters properly.
8507 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
8509         * window.el (display-buffer-reuse-window): Fix case where
8510         selected window was reused with non-nil OTHER-WINDOW argument.
8511         (Bug#9381)
8513 2011-08-27  Deniz Dogan  <deniz@dogan.se>
8515         * net/rcirc.el (rcirc-check-auth-status): Adding support for
8516         oftc's NickServ messages.
8518 2011-08-27  Glenn Morris  <rgm@gnu.org>
8520         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
8522 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
8524         * emacs-lisp/package.el (package-install): Call package-initialize
8525         if called interactively.
8527 2011-08-26  Leo Liu  <sdl.web@gmail.com>
8529         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
8531 2011-08-25  Juri Linkov  <juri@jurta.org>
8533         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8534         `search-whitespace-regexp' (bug#9364).
8536 2011-08-25  Juri Linkov  <juri@jurta.org>
8538         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8539         `regexp-search-ring' to their global values to protect from
8540         updating by `read-from-minibuffer' (bug#9185).
8542 2011-08-25  Juri Linkov  <juri@jurta.org>
8544         * textmodes/ispell.el (ispell-command-loop): Add newline
8545         at the end of the "Use option `i'..." line.
8547 2011-08-25  Juri Linkov  <juri@jurta.org>
8549         * battery.el (display-battery-mode): If `battery-status-function'
8550         or `battery-mode-line-format' is nil, display the message and set
8551         `display-battery-mode' to nil (bug#9363).
8553 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
8555         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8556         bidi-string-mark-left-to-right; they are unnecessary now.
8558 2011-08-25  Deniz Dogan  <deniz@dogan.se>
8560         * net/quickurl.el: Documentation typo fixes.
8562 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
8564         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8566 2011-08-25  Glenn Morris  <rgm@gnu.org>
8568         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8570         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8571         (smtpmail-via-smtp): Handle nil response from smtp.
8573 2011-08-24  Juri Linkov  <juri@jurta.org>
8575         * proced.el (proced-marked): Inherit from `error' instead of
8576         `font-lock-warning-face'.
8578         * ibuffer.el (ibuffer-marked-face): Change default face from
8579         `font-lock-warning-face' to `warning'.
8580         (ibuffer-deletion-face): Change default face from
8581         `font-lock-type-face' to `error'.
8583         * battery.el (battery-update): Use the face `error' instead of
8584         `font-lock-warning-face' (bug#6117).
8586 2011-08-24  Juri Linkov  <juri@jurta.org>
8588         * faces.el (success): Change face color from "Green3" to
8589         "ForestGreen" on light background (bug#9353).
8591 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
8593         * window.el (quit-window): Rename from quit-restore-window.
8594         Use same arglist as old quit-window.
8595         (frame-auto-delete): Doc fix.
8597         * view.el (view-mode-exit): Use quit-window.
8599 2011-08-24  Juri Linkov  <juri@jurta.org>
8601         * isearch.el (isearch-ring-adjust1): Start visiting previous
8602         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8603         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8604         for empty search string (when the last search string is reused
8605         automatically) to adjust the isearch ring to the last element and
8606         prepare the correct index for further M-p commands (bug#9185).
8608 2011-08-24  Kenichi Handa  <handa@m17n.org>
8610         * international/ucs-normalize.el: If decomposition property of
8611         CHAR is the default one (i.e. a list of CHAR itself), treat it as
8612         nil.
8613         (nfd, nfkd): Likewise.
8615 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8617         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8618         from process filters aren't reliably transmitted to the surrounding
8619         accept-process-output.
8620         (mpc-proc-check): New function.
8621         (mpc-proc-sync): Use it (bug#8293)
8623 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8625         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8626         Add compatibility functions (bug#9313).
8628 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
8630         * cus-start.el (all): Add entry for bidi-paragraph-direction.
8632         * international/uni-bidi.el: Regenerate.
8634 2011-08-23  Kenichi Handa  <handa@m17n.org>
8636         * international/charprop.el:
8637         * international/uni-bidi.el:
8638         * international/uni-category.el:
8639         * international/uni-combining.el:
8640         * international/uni-comment.el:
8641         * international/uni-decimal.el:
8642         * international/uni-decomposition.el:
8643         * international/uni-digit.el:
8644         * international/uni-lowercase.el:
8645         * international/uni-mirrored.el:
8646         * international/uni-name.el:
8647         * international/uni-numeric.el:
8648         * international/uni-old-name.el:
8649         * international/uni-titlecase.el:
8650         * international/uni-uppercase.el: Regenerate.
8652 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
8654         * help.el (help-window-setup): Fix message displayed when other
8655         window is reused.  (Bug#9341)
8657 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8659         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8660         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8662         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8663         Mark obsolete.
8664         * shell.el (shell-parse-pcomplete-arguments): New function.
8665         (shell-completion-vars): Use it instead (bug#9160).
8667 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8669         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8670         strings and comments (bug#9333).
8672         * emacs-lisp/debug.el (debug-arglist): New function.
8673         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
8674         (debug-on-entry-1): Handle interpreted closures (bug#9120).
8676 2011-08-22  Juri Linkov  <juri@jurta.org>
8678         * progmodes/compile.el (compilation-mode-font-lock-keywords):
8679         Revert regexp that highlights output switches to its old
8680         pre-2010-10-28 value and remove one `?' from it (bug#9319).
8682         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8683         to check for empty output (bug#9226).
8685 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
8687         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8688         symbol-constituent as the default, as that stops font-lock from
8689         working properly (Bug#8843).
8691 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8693         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8694         `coding-system-for-*' around the process open call to avoid
8695         auth-source side effects.
8696         (smtpmail-try-auth-methods): Expand the secret password.
8697         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8698         probe hangs.
8700 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
8702         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8704         * emacs-lisp/find-func.el (find-function-noselect): New arg
8705         lisp-only.
8707         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8708         signal an error for built-in functions (Bug#6664).
8710 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8712         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8713         (smtpmail-try-auth-methods): Use it.
8715 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
8717         * font-lock.el (font-lock-fontify-region)
8718         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8719         (font-lock-default-unfontify-buffer)
8720         (font-lock-default-fontify-region)
8721         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8723         * progmodes/compile.el (compilation-error-properties):
8724         Fix confusion between file struct and message struct (Bug#9319).
8725         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8726         `ant' regexp.
8728         * net/browse-url.el (browse-url-firefox): Don't call
8729         browse-url-firefox-sentinel unless using -remote (Bug#9328).
8731 2011-08-20  Glenn Morris  <rgm@gnu.org>
8733         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8735         * tutorial.el (tutorial--default-keys): Update some default bindings.
8737         * files.el (hack-local-variables): Fully ignore case for "mode:".
8739 2011-08-20  Alan Mackenzie  <acm@muc.de>
8741         Resolve invalid use of a regexp in regexp-opt.
8743         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8744         detection for a java annotation.
8746         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8747         detection for a java annotation.
8749         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8750         handling for java.
8751         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8753 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
8755         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8756         (Bug#9274).
8758 2011-08-20  Alan Mackenzie  <acm@muc.de>
8760         Fontify CPP expressions correctly when starting in the middle of
8761         such a construct.  Mainly for when jit-lock etc. starts a chunk
8762         here.
8764         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8765         variable.
8766         (c-make-font-lock-search-form): New function, extracted from
8767         c-make-font-lock-search-function.
8768         (c-make-font-lock-search-function): Use the above function.
8769         (c-make-font-lock-context-search-function): New function.
8770         (c-cpp-matchers): Enhance the preprocessor expression case with
8771         the above function
8772         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8773         which takes an expression.
8775         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8777 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
8779         * window.el (display-buffer-reuse-window)
8780         (display-buffer-pop-up-window): Don't reuse or split a side
8781         window.
8783 2011-08-19  Glenn Morris  <rgm@gnu.org>
8785         * files.el (hack-local-variables-prop-line, hack-local-variables):
8786         Downcase "Mode:".  (Bug#9331)
8788 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
8790         * international/characters.el: Add L and R categories.
8792         * subr.el (bidi-string-mark-left-to-right): Rename from
8793         string-mark-left-to-right.  Use category search.
8795         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8797 2011-08-18  Juri Linkov  <juri@jurta.org>
8799         * faces.el (error, warning, success): New faces with definitions
8800         copied from old default values of `font-lock-warning-face',
8801         `compilation-warning', `compilation-info' (bug#6117).
8803         * font-lock.el (font-lock-warning-face): Inherit from `error'.
8805         * progmodes/compile.el (compilation-error): Inherit from `error'.
8806         (compilation-warning): Inherit from `warning'.
8807         (compilation-info): Inherit from `success'.
8809         * dired.el (dired-marked): Inherit from `warning'.
8810         (dired-flagged): Inherit from `error'.
8812 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8814         * mail/smtpmail.el (auth-source): Require to avoid problems with
8815         binding variables (bug#9298).  Also clean up some unused
8816         autoloads.
8818         * net/network-stream.el (network-stream-open-starttls):
8819         Support using starttls.el without using gnutls-cli.
8821 2011-08-17  Juri Linkov  <juri@jurta.org>
8823         * progmodes/grep.el (rgrep): Handle the case when
8824         `grep-find-command' is a cons cell (bug#9278).
8826 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
8828         * window.el (display-buffer-pop-up-frame): Run frame creation
8829         function with BUFFER current (as special-display-popup-frame
8830         does).  Reported by Drew Adams.
8832 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
8834         * epa-mail.el: Simplify GnuPG group expansion using
8835         epg-expand-group.
8836         (epa-mail-group-alist, epa-mail-group-modtime)
8837         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8838         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8839         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8840         Remove.
8842 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
8844         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8846 2011-08-16  Alan Mackenzie  <acm@muc.de>
8848         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8849         Correct, to avoid the inside of macros.
8851 2011-08-16  Richard Stallman  <rms@gnu.org>
8853         * epa-mail.el: Handle GnuPG group definitions.
8854         (epa-mail-group-alist, epa-mail-group-modtime)
8855         (epa-mail-gnupg-conf-file): New variables.
8856         (epa-mail-parse-groups, epa-mail-sync-groups)
8857         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8858         (epa-mail-expand-recipients): New functions.
8859         (epa-mail-encrypt): Call epa-mail-expand-recipients.
8861         * mail/rmail.el (rmail-epa-decrypt): New command.
8863         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8864         Don't bind buffer-read-only, just inhibit-read-only.
8865         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8866         (epa-decrypt-armor-in-region): Make error message clearer.
8868 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8870         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8871         and "a2b" to "ab" for `prefix'.
8873 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
8875         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8876         filter groups.
8877         (ibuffer-included-in-filter-p-1): Use it.  Suggested by RafaĂ«l
8878         Fourquet (Bug#8804).
8880 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
8882         * startup.el (argi): Declare as global variable (bug#9275).
8884 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
8886         * subr.el (string-mark-left-to-right): Search the entire string
8887         for RTL script, not just the terminating character.  Doc fix.
8889 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8891         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8892         New function.
8893         (js--regexp-literal, js-syntax-propertize-function): Remove.
8894         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8895         (js-mode-map): Don't rebind electric keys.
8896         (js-insert-and-indent): Remove.
8897         (js-mode): Setup electric-layout and electric-indent instead.
8899         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8901 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
8903         * epa.el (epa-progress-callback-function): Fix the logic of
8904         displaying progress.
8905         * epa-file.el (epa-file-insert-file-contents): Make progress
8906         display more user-friendly.
8907         (epa-file-write-region): Ditto.
8909 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
8911         * subr.el (string-mark-left-to-right): New function.
8913         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8914         Use string-mark-left-to-right.
8915         (list-buffers-noselect): Caller changed.
8917         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8918         Use string-mark-left-to-right.
8919         (tabulated-list-print): Recenter after moving point.
8921 2011-08-10  Juri Linkov  <juri@jurta.org>
8923         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8924         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8925         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8927 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
8929         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8930         (Bug#7554).
8932 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8934         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8935         character.  (Bug#6594)
8937 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
8939         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8940         (image-dired--with-db-file): New macro.
8941         (image-dired-write-tags, image-dired-remove-tag)
8942         (image-dired-create-gallery-lists, image-dired-write-comments)
8943         (image-dired-get-comment, image-dired-mark-tagged-files)
8944         (image-dired-list-tags, image-dired-gallery-generate): Use it.
8945         (image-dired-gallery-generate): Use insert-file-contents.
8947         * time.el (display-time-world-list, display-time-world-display):
8948         * time-stamp.el (time-stamp-string):
8949         * vc/add-log.el (add-change-log-entry): Use setenv instead of
8950         set-time-zone-rule (Bug#7337).
8952 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
8954         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8955         (epg-error-to-string, epg-errors-to-string): New function.
8956         (epg-wait-for-completion): Reverse errors list.
8957         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8958         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8959         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8960         (epg-sign-keys, epg-generate-key-from-file)
8961         (epg-generate-key-from-string): Format errors by using
8962         epg-errors-to-string (bug#9255).
8963         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8965 2011-08-07  Juri Linkov  <juri@jurta.org>
8967         * faces.el (list-faces-display): Remove extra angle bracket
8968         from `help-mode-map'.
8970         * info.el (Info-history-toc-nodes): Doc fix.
8972         * longlines.el (longlines-mode): Doc fix.
8974 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8976         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8977         of statements and in a few more cases (bug#9183).
8979         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8980         New functions.
8981         (cl-transform-lambda): Use them (bug#9239).
8983 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
8985         * window.el (display-buffer-same-window)
8986         (display-buffer-same-frame, display-buffer-other-window)
8987         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8988         (pop-to-buffer-other-window)
8989         (pop-to-buffer-same-frame-other-window)
8990         (pop-to-buffer-other-frame): Make them defuns.
8991         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8993 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8995         * subr.el (make-composed-keymap): Move from C.  Change calling
8996         convention, and improve docstring to bring attention to a subtle point.
8997         * minibuffer.el (completing-read-default): Adjust accordingly.
8999 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
9001         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9002         (tramp-open-shell): Use `tramp-shell-quote-argument'.
9004         * net/trampver.el: Update release number.
9006 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9008         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9009         "in" (bug#9190).
9011 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9013         * mail/sendmail.el (sendmail-query-once): Restore the current
9014         buffer after querying (bug#9074).
9016         * dired.el (dired-flagged): Use different faces for marked and
9017         flagged files (bug#6117).
9019         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9020         (bug#4433).
9022         * ido.el (ido-mode): Switch off the message if called
9023         non-interactively.
9025         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9026         before 587, since it appears that that's more likely to work for
9027         more people.
9029         * cus-edit.el (custom-file): When running under emacs -q, always
9030         refuse to save the customizations, even if the .emacs file doesn't
9031         exist.
9033         * info.el: Remove the `Info-beginning-of-buffer' function
9034         (bug#8325).
9036         * net/network-stream.el (network-stream-open-starttls):
9037         Use `starttls-available-p' to see whether starttls.el can be used.
9039 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
9041         * window.el (display-buffer-in-window): Don't set dedicated status
9042         of window here (Bug#9215).
9043         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9044         (display-buffer-pop-up-side-window)
9045         (display-buffer-in-side-window): Set dedicated status of window here.
9047 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9049         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9050         before binding generated-autoload-file.
9052 2011-08-01  Deniz Dogan  <deniz@dogan.se>
9054         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9056 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
9058         Sync with Tramp 2.2.2.
9060         * net/trampver.el: Update release number.
9062 2011-07-30  Juri Linkov  <juri@jurta.org>
9064         * dired-aux.el (dired-touch-initial): Remove function.
9065         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9066         current time, and `default' to the last modification time of the
9067         current marked file (bug#6887).
9069 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
9071         * simple.el (goto-line): Use string-to-number to provide a
9072         numeric argument to read-number (bug#9163).
9074 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
9076         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9077         connection process, it could be nil.
9079 2011-07-27  Leo Liu  <sdl.web@gmail.com>
9081         Simplify url handling in rcirc-mode.
9083         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9084         (rcirc-browse-url-at-mouse): Remove.
9085         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9087 2011-07-26  Alan Mackenzie  <acm@muc.de>
9089         Fontify bitfield declarations properly.
9091         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9092         (c-symbol-chars): Now exported as a lang variable.
9093         (c-not-primitive-type-keywords): New lang variable.
9095         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9096         QT keyword "more" to prevent "more slots: ...." being spuriously
9097         parsed as a bitfield declaration.
9099         * progmodes/cc-engine.el (c-beginning-of-statement-1):
9100         Refactor and enhance to handle bitfield declarations.
9101         (c-punctuation-in): New function.
9102         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9103         declarations properly.
9105 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
9107         * calendar/icalendar.el (icalendar--all-events): Take care of
9108         multiple vcalendars in a single file.
9109         (icalendar--convert-float-to-ical): Checkdoc fixes.
9111 2011-07-25  Deniz Dogan  <deniz@dogan.se>
9113         * image.el (insert-image): Clarifying docstring.
9115 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
9117         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9118         `tramp-send-command-and-check' if there is no error.
9119         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9121 2011-07-22  Alan Mackenzie  <acm@muc.de>
9123         Prevent cc-langs.elc being loaded at run time.
9125         * progmodes/cc-mode.el: Remove two autoload forms which loaded
9126         cc-langs.
9128         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9129         "(require 'cc-langs)".  Quote a form so it will evaluate at
9130         (cc-mode's) compilation time.
9132 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
9134         * net/tramp.el (tramp-file-name-handler): Avoid recursive
9135         loading.  (Bug#9114)
9137 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
9139         * window.el (display-buffer-pop-up-window)
9140         (display-buffer-pop-up-side-window)
9141         (display-buffer-in-side-window): Call display-buffer-set-height
9142         and display-buffer-set-width after setting the new window's
9143         buffer so `fit-window-to-buffer' and friends work on the right buffer.
9145 2011-07-20  Sam Steingold  <sds@gnu.org>
9147         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9148         (etags-tags-included-tables): Call `convert-standard-filename' on
9149         the file names contained in TAGS so that windows Emacs can handle
9150         TAGS files created by cygwin ctags.
9152 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9154         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9155         which apparently didn't work.
9157 2011-07-19  Roland Winkler  <winkler@gnu.org>
9159         * proced.el (proced-send-signal): For *Marked Processes* buffer
9160         put point at beginning of buffer.
9162 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
9164         * proced.el (proced-format): Make header lines align with the text
9165         (bug#1779).
9167 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9169         * view.el (view-buffer): Allow running in `special' modes if we're
9170         visiting a file (bug#8615).
9172 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
9174         * window.el (display-buffer-alist-of-strings-p)
9175         (display-buffer-alist-set-1, display-buffer-alist-set-2):
9176         New functions.
9177         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9178         more accurately.
9180 2011-07-18  Alan Mackenzie  <acm@muc.de>
9182         Fontify declarators properly when, e.g., a jit-lock chunk begins
9183         inside a declaration.
9185         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9187         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9188         New function.
9189         (c-complex-decl-matchers): Insert reference to
9190         c-font-lock-enclosing-decls.
9192         * progmodes/cc-engine.el (c-backward-single-comment):
9193         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9194         to nil around calls to (forward-comment -1).
9196 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9198         * image.el (put-image): Doc typo fix.
9200         * progmodes/etags.el (tags-search): Doc typo fix.
9202         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9203         password if we get errors 550 to 554.
9205 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9207         * net/gnutls.el (gnutls-log-level): Remove.
9209         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9210         indentation character (bug#6380).
9212         * files.el (buffer-offer-save): Made permanently local (bug#6241).
9214         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9215         to clarify what the problem is (bug#4291).
9217         * simple.el (current-kill): Clarify what
9218         `interprogram-paste-function' does (bug#7500).
9219         (auto-fill-mode): Document `auto-fill-function' in relation to
9220         `auto-fill-mode' (bug#2470).
9222 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
9224         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9225         method if slot is read-only (bug#9035).
9227 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
9229         * frame.el (select-frame-set-input-focus): New argument NORECORD.
9230         * window.el (pop-to-buffer): Select window used even if it was
9231         selected before, see discussion of (Bug#8615), (Bug#6954).
9232         Pass argument NORECORD on to select-frame-set-input-focus.
9234 2011-07-15  Glenn Morris  <rgm@gnu.org>
9236         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
9237         Respect help-form.
9239 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
9241         * net/gnutls.el (gnutls-min-prime-bits): New variable.
9242         (gnutls-negotiate): Use it.
9244 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9246         * net/gnutls.el (gnutls-negotiate):
9247         Upcase `gnutls-algorithm-priority'.
9249 2011-07-15  Glenn Morris  <rgm@gnu.org>
9251         * jka-compr.el (jka-compr-verbose): Move from here...
9252         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
9253         Add missing :version tag.
9254         * info.el: No need to require jka-compr when compiling.
9256 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9258         * net/gnutls.el (gnutls-algorithm-priority): New variable.
9259         (gnutls-negotiate): Use it.
9261         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9263         * info.el (Info-beginning-of-buffer): New command.
9264         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9265         announcing `b' as the key (bug#8325).
9266         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9268         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9270         * international/mule-cmds.el
9271         (describe-specified-language-support): Make the error message
9272         clearer (bug#8905).
9274         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9276         * isearch.el (isearch-barrier): Add a doc string, since it's
9277         mentioned in a function doc string (bug#8678).
9279 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
9281         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9282         buffer argument (Bug#9083) and self-identifying label argument.
9284 2011-07-15  Glenn Morris  <rgm@gnu.org>
9286         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
9288 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9290         * man.el (Man-fontify-manpage): Fix message when formatting the
9291         man page (bug#7929).
9293 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
9295         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9296         argument LRM; if non-nil, append an invisible LRM character to the
9297         buffer name.
9298         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9299         last argument non-nil, when formatting buffer names.
9300         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9301         paragraph direction.
9303 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9305         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9306         the man page name (bug#7929).
9308         * image.el (put-image): Mention the `put-image' overlay property
9309         (bug#7834).
9311         * scroll-bar.el (set-scroll-bar-mode): Mention that
9312         `scroll-bar-mode' lists the values (bug#7772).
9314         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9315         command (bug#7729).
9317         * rect.el (apply-on-rectangle): Return the point after the last
9318         operation.
9319         (string-rectangle): Go to the point after the last operation
9320         (bug#7522).
9322         * printing.el (pr-toggle-region): Clarify the documentation
9323         slightly (bug#7493).
9325         * time.el (display-time-update):
9326         Allow `display-time-mail-function' to return nil (bug#7158).
9327         Fix suggested by Detlev Zundel.
9329         * vc/diff.el (diff): Clarify the order the file names are read
9330         (bug#7111).
9332         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9333         the doc string (bug#7015).
9335         * font-lock.el (font-lock-maximum-decoration): Mention what
9336         numeric levels mean (bug#6935).
9338         * startup.el (initial-buffer-choice): Don't mention the `none'
9339         selection, which is against policy.
9341 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
9343         * window.el (display-buffer-normalize-special):
9344         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9346 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
9348         * subr.el (version<, version<=, version=): Mention "-CVS" and
9349         "-12345" alpha version numbers.
9351 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
9353         * bindings.el: Add advertised binding for set-mark-command
9354         (Bug#5772).
9356 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
9358         * bindings.el (mode-line-other-buffer):
9359         * bookmark.el (bookmark-bmenu-2-window):
9360         * bs.el (bs-cycle-next, bs-cycle-previous):
9361         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9362         switch-to-buffer.
9364         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9365         Delete.
9367 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
9369         * follow.el (follow-debug-message, follow-redisplay):
9370         * jka-cmpr-hook.el (with-auto-compression-mode):
9371         Fix typos in docstrings.
9373 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9375         * subr.el (with-silent-modifications): Clarify somewhat what the
9376         macro inhibits (bug#6525).
9378         * simple.el (eval-expression): Note what it does if called
9379         interactively (bug#6495).
9381 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
9383         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9384         Use pop-to-buffer buffer-or-name if it is nil.
9386         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9387         Remove switch-to-buffer.
9389 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9391         * files.el (make-directory): Clarify that an error will be raised
9392         if there's an error (bug#6397).
9394         * startup.el (initial-buffer-choice): Add `none' as a choice
9395         (bug#6234).
9397         * subr.el (add-hook): Clarify section about buffer-local hooks
9398         (bug#6218).
9400         * dired.el (dired-flagged): Clarify doc string (bug#6117).
9402 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
9404         * tabify.el (untabify): Preserve the current column so that point
9405         doesn't move (bug#6032).
9407 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9409         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9410         Rewrite to avoid awkward possessive "s" (bug#5986).
9412 2011-07-13  Glenn Morris  <rgm@gnu.org>
9414         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
9415         (dired-insert-directory): Give a message the first time
9416         if ls is found not to support --dired.
9418 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9420         * simple.el (toggle-truncate-lines): Clarify what is toggled
9421         (bug#5580).  Text by Drew Adams.
9423 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
9425         * simple.el (blink-matching-open): Make the error message from the
9426         last change less verbose.
9428 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
9430         * font-lock.el (font-lock-comment-face): Use the high contrast
9431         "yellow" color for font-lock-comment-face on low color terminals
9432         using a dark background color (bug#4221).
9434 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9436         * dired.el (dired-insert-set-properties): Make the doc string
9437         reflect what it does now (bug#5325).
9439         * simple.el (blink-matching-open): Say that we were unable to find
9440         the match within the limit, if we're limited (bug#5122).
9442         * international/mule-cmds.el (prefer-coding-system): Add an
9443         example (bug#4869).
9445         * progmodes/etags.el (tags-search): Document `file-list-form'
9446         (bug#4731).
9448 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
9450         * net/browse-url.el (browse-url-default-browser)
9451         (browse-url-browser-function): Make the default browser choice a
9452         bit more logical (bug#4300).  Also clean up the doc string.
9454 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
9456         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9457         binary endings (bug#4440).
9459 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9461         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9462         which can be pretty annoying (bug#8971).
9464         * jka-compr.el (jka-compr-verbose): New variable, and use
9465         throughout (bug#8971).
9467         * info.el (Info-find-file): Fall back on the installation
9468         directory if we can't find the info node anywhere else.
9470 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
9472         * vc/vc.el (vc-revert-file):
9473         Don't set file time-stamp in the past.  (Bug#5181)
9475 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9477         * files.el (after-find-file): Give a better error message when
9478         trying to find a symlink that points to a file that doesn't exist
9479         (bug#4398).
9481         * progmodes/cc-vars.el: Remove (probably) misleading comment
9482         (bug#4396).
9484 2011-07-12  Johan BockgĂ¥rd  <bojohan@gnu.org>
9486         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9488 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
9490         * mouse-sel.el: Hack restoring functionality, while keeping
9491         compatibility with 2010-07-03 changes to mouse selection.
9492         (mouse-sel-primary-overlay): New var.
9493         (mouse-sel-selection-alist): Use it.
9494         (mouse-sel-mode): Doc fix; remove points that are default features
9495         of mouse.el.
9497 2011-07-12  Johan BockgĂ¥rd  <bojohan@gnu.org>
9499         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9500         Fix previous fix (bug#2490).
9502 2011-07-12  Roland Winkler  <winkler@gnu.org>
9504         * textmodes/bibtex.el (bibtex-initialize):
9505         Use pop-to-buffer-same-window.
9506         (bibtex-search-entries): Fix interactive call.
9508 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9510         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9511         Fontise bytecomp Error lines more correctly (bug#2490).
9512         Fix suggested by Johan BockgĂ¥rd.
9514         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9516         * dired-x.el (dired-guess-default): Use `delete-dups'.
9518 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
9520         * dired.el (dired-mark-prompt):
9521         * dired-aux.el (dired-read-shell-command): Doc fix.
9523 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9525         * mail/sendmail.el (sendmail-query-once):
9526         Use `customize-save-variable' unconditionally, now that it works under
9527         emacs -Q.
9529         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9531         * cus-edit.el (custom-file): Take an optional no-error variable.
9532         (customize-save-variable): Set the variable, and give a warning if
9533         running under "emacs -q".
9535 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
9537         * loadhist.el (unload-feature-special-hooks):
9538         Add `auto-coding-functions', `fill-nobreak-predicate' and
9539         `find-directory-functions' (bug#5327).
9541 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9543         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9545         * cus-edit.el (custom-guess-name-alist): -alist variables should
9546         use the `alist' type (bug#3120).  Suggested by Drew Adams.
9548         * printing.el: Add documentation to all the `pr-toggle-' commands.
9550 2011-07-11  Leo Liu  <sdl.web@gmail.com>
9552         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9553         backends where it makes sense (bug#2623).
9555 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9557         * dired-x.el (dired-guess-default): Remove duplicate shell command
9558         entries (bug#2028).
9559         (dired-guess-default): Fix grammar in doc string (bug#2028).
9560         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9562         * subr.el (remove-duplicates): New conveniency function.
9564 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9566         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9567         (bug#1526).
9569 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
9571         * window.el (display-buffer-normalize-default): Don't invert
9572         meaning of even-window-heights.  Reported by Eli Zaretskii
9573         <eliz@gnu.org>.
9575 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
9577         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9579 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
9581         * window.el (display-buffer): Fix arguments to
9582         display-buffer-reuse-window in last change.
9584         * faces.el (link): Use a less saturated blue on light backgrounds.
9586         * startup.el (fancy-startup-text, fancy-about-text)
9587         (fancy-startup-tail): Use font-lock faces, for background safety.
9589 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
9591         * emulation/viper-cmd.el (viper-change-state-to-vi):
9592         Limit triggering of abbrev expansion (Bug#9038).
9594 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
9596         * window.el (display-buffer-default-specifiers): Remove.
9597         (display-buffer-macro-specifiers): Remove default specifiers.
9598         (display-buffer-alist): Default to nil.
9599         (display-buffer-reuse-window): New optional argument other-window.
9600         (display-buffer-pop-up-window): Allow splitting internal
9601         windows.  Check whether a live window was created.
9602         (display-buffer-other-window-means-other-frame)
9603         (display-buffer-normalize-arguments): Rename to
9604         display-buffer-normalize-argument and rewrite.  Set the
9605         other-window specifier.
9606         (display-buffer-normalize-special): New function.
9607         (display-buffer-normalize-options): Rename to
9608         display-buffer-normalize-default and rewrite.
9609         (display-buffer-normalize-options-inhibit): Remove.
9610         (display-buffer-normalize-specifiers): Rewrite.
9611         (display-buffer): Process other-window specifier and call
9612         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
9613         more faithfully.
9614         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9615         (display-buffer-alist-set): Don't handle 'unset default values.
9616         (display-buffer-in-window, display-buffer-alist-set):
9617         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
9618         <tassilo@member.fsf.org>.
9620 2011-07-09  Leo Liu  <sdl.web@gmail.com>
9622         * register.el (insert-register): Restore accidental change on
9623         2011-06-26.  (Bug#9028)
9625 2011-07-09  Glenn Morris  <rgm@gnu.org>
9627         * subr.el (remq): Handle the empty list.  (Bug#9024)
9629 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
9631         * mail/sendmail.el (send-mail-function): No longer delay custom
9632         initialization.
9633         * custom.el (custom-initialize-delay): Doc fix.
9635 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9637         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9639 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
9641         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9642         human-friendly prompt.
9644 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9646         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9647         provided by a particular plugin.
9649 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9651         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9652         save customizations (with "emacs -Q"), just set the variable
9653         instead of erroring out.
9655         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9657 2011-07-08  Juri Linkov  <juri@jurta.org>
9659         * arc-mode.el (archive-zip-expunge, archive-zip-update)
9660         (archive-zip-update-case): Use 7z if found by `executable-find'.
9661         The order of searching the available programs is the same as in
9662         `archive-zip-extract' (bug#8968).
9664 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
9666         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9667         (menu-bar-options-menu): Tweak descriptions.
9669 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9671         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9672         menu items into verb phrases (bug#1421).  Also refill to fit under
9673         80 columns.
9675 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
9677         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9678         (Info-read-node-name): Doc fix (Bug#1084).
9680         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9681         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9682         (end-of-sexp, beginning-of-sexp)
9683         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9684         (forward-symbol, forward-same-syntax, word-at-point)
9685         (sentence-at-point): Doc fix (Bug#1144).
9687 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9689         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9690         should cover it (bug#1281).
9692         * cus-edit.el (custom-show): Mark as obsolete.
9694         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9695         negotiation fails, then possibly try again with a non-encrypted
9696         connection (bug#9017).
9698         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9699         be used.
9701 2011-07-07  Richard Stallman  <rms@gnu.org>
9703         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9704         property, and handle its changed format.
9705         Look for the correct line number.
9706         Use file's line contents (but not past first =) to find
9707         correct line in message.
9709 2011-07-07  Kenichi Handa  <handa@m17n.org>
9711         * international/characters.el (build-unicode-category-table):
9712         Delete it.
9713         (unicode-category-table): Set it by unicode-property-table-internal.
9715         * international/mule-cmds.el (char-code-property-alist): Move to
9716         to src/chartab.c.
9717         (get-char-code-property): Call unicode-property-table-internal to
9718         load a file.  Call get-unicode-property-internal where necessary.
9719         (put-char-code-property): Call unicode-property-table-internal to
9720         load a file.  Call put-unicode-property-internal where necessary.
9721         put-unicode-property-internal where necessary.
9722         (char-code-property-description):
9723         Call unicode-property-table-internal to load a file.
9725         * international/charprop.el:
9726         * international/uni-bidi.el:
9727         * international/uni-category.el:
9728         * international/uni-combining.el:
9729         * international/uni-comment.el:
9730         * international/uni-decimal.el:
9731         * international/uni-decomposition.el:
9732         * international/uni-digit.el:
9733         * international/uni-lowercase.el:
9734         * international/uni-mirrored.el:
9735         * international/uni-name.el:
9736         * international/uni-numeric.el:
9737         * international/uni-old-name.el:
9738         * international/uni-titlecase.el:
9739         * international/uni-uppercase.el: Regenerate.
9741         * loadup.el: Load international/charprop.el before
9742         international/characters.
9744 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
9746         * window.el (next-buffer, previous-buffer): Signal an error if
9747         called from a minibuffer window.
9749         * bindings.el: Revert 2011-07-04 change.
9751 2011-07-06  Richard Stallman  <rms@gnu.org>
9753         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9754         (rmail-mime-insert-bulk, rmail-mime-insert-text):
9755         Treat markers like ints.
9756         (rmail-mime-entity): Doc fix.
9758 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9760         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9761         defcustom again for backwards compatibility.
9763         * simple.el (shell-command-on-region): Fill.
9765         * dired-aux.el (dired-kill-line): Add a doc string.
9767         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9768         to "\\sw\\|\\s_" (bug#358).
9770         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9771         (dired-unmark-backward): Ditto.
9772         (dired-flag-backup-files): Ditto.
9774         * dired-x.el (dired-mark-sexp): Ditto.
9776 2011-07-06  Richard Stallman  <rms@gnu.org>
9778         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9779         (rmail-mime-entity): New arg TRUNCATED.
9780         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9781         New functions.
9782         (rmail-mime-save): Warn if entity is truncated.
9783         (rmail-mime-toggle-hidden): Likewise, for showing.
9784         (rmail-mime-process-multipart): Record when an entity is truncated.
9786         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9787         if ENTITY is a string.
9789 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9791         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9792         of faces when `M-C-x'-ing their definitions (bug#8378).
9793         Also clean up the code slightly.
9795         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9796         because that makes the colors go away.
9798         * mail/sendmail.el (send-mail-function): Change the default to
9799         `sendmail-query-once'.
9800         (sendmail-query-once): Add an autoload cookie.
9802         * net/network-stream.el (network-stream-open-starttls): Try using
9803         a plain connection even if the server offered STARTTLS, and we
9804         kinda wanted to use it, if Emacs doesn't have any STARTTLS
9805         capability.  This should make smtpmail.el work in slightly more
9806         configurations.
9808 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
9810         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9811         New defun.
9812         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9814 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
9816         * progmodes/sql.el: Version 3.0
9817         (sql-product-alist): Add product :completion-object,
9818         :completion-column, and :statement attributes.
9819         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9820         (sql-mode-syntax-table): Mark all punctuation.
9821         (sql-font-lock-keywords-builder): Temporarily remove fallback on
9822         ansi keywords.
9823         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9824         (sql-mode-oracle-font-lock-keywords): Improve.
9825         (sql-oracle-show-reserved-words): New function for development.
9826         (sql-product-font-lock): Simplify for source code buffers.
9827         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9828         New functions.
9829         (sql-highlight-product): Set product specific syntax table.
9830         (sql-mode-map): Add statement movement functions.
9831         (sql-ansi-statement-starters, sql-oracle-statement-starters):
9832         New variable.
9833         (sql-statement-regexp, sql-beginning-of-statement)
9834         (sql-end-of-statement, sql-signum): New functions.
9835         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9836         (sql-show-sqli-buffer): Bug fix.
9837         (sql-interactive-mode): Store connection data as buffer local.
9838         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
9839         with sql-interactive-mode.
9840         (sql-save-connection): Save buffer local settings.
9841         (sql-connection-menu-filter): Change menu entry name.
9842         (sql-product-interactive): Bug fix.
9843         (sql-preoutput-hold): New variable.
9844         (sql-interactive-remove-continuation-prompt): Bug fixes.
9845         (sql-debug-redirect): New variable.
9846         (sql-str-literal): New function.
9847         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9848         Redesign.
9849         (sql-oracle-save-settings, sql-oracle-restore-settings)
9850         (sql-oracle-list-all, sql-oracle-list-table): New functions.
9851         (sql-completion-object, sql-completion-column)
9852         (sql-completion-sqlbuf): New variables.
9853         (sql-build-completions-1, sql-build-completions)
9854         (sql-try-completion): New functions.
9855         (sql-read-table-name): Use them.
9856         (sql-contains-names): New buffer local variable.
9857         (sql-list-all, sql-list-table): Use it.
9858         (sql-oracle-completion-types): New variable.
9859         (sql-oracle-completion-object, sql-sqlite-completion-object)
9860         (sql-postgres-completion-object): New functions.
9862 2011-07-06  Glenn Morris  <rgm@gnu.org>
9864         * window.el (pop-to-buffer): Doc fix.
9866 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
9868         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9870 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
9872         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9874         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9876 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
9878         * button.el (button): Inherit from link face.  Suggested by Dan
9879         Nicolaescu.
9881 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9883         * progmodes/gdb-mi.el: Fit in 80 columns.
9884         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9885         switch-to-buffer.
9887         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9888         if imenu is simply not configured (bug#8941).
9890 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
9892         * allout.el (allout-post-undo-hook): New allout outline-change
9893         event hook to signal undo activity.
9894         (allout-post-command-business): Run allout-post-undo-hook if an
9895         undo just occurred.
9896         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9897         * allout-widgets.el (allout-widgets-after-undo-function):
9898         Ensure the integrity of the current item's decoration after it has been
9899         in the vicinity of an undo.
9900         (allout-widgets-mode): Include allout-widgets-after-undo-function
9901         on the new allout-post-undo-hook.
9903 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9905         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9906         Let define-derived-mode define it.
9907         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9908         cycles of abbrev-table inheritance (bug#8998).
9910 2011-07-05  Roland Winkler  <winkler@gnu.org>
9912         * textmodes/bibtex.el: Add support for biblatex.
9913         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9914         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9915         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9916         (bibtex-entry-alist, bibtex-field-alist): New variables.
9917         (bibtex-entry-field-alist): Obsolete alias for
9918         bibtex-BibTeX-entry-alist.
9919         (bibtex-entry-alist, bibtex-field-alist): New widgets.
9920         (bibtex-set-dialect): New command.
9921         (bibtex-entry-type, bibtex-entry-head)
9922         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9923         Bind via bibtex-set-dialect.
9924         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9925         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9926         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9927         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9928         Define via bibtex-set-dialect.
9929         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9930         Obey bibtex-no-opt-remove-re.
9931         (bibtex-vec-push, bibtex-vec-incr): New functions.
9932         (bibtex-format-entry, bibtex-field-list)
9933         (bibtex-print-help-message, bibtex-validate)
9934         (bibtex-search-entries): Use new format of bibtex-entry-alist.
9936 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9938         * progmodes/compile.el (compilation-goto-locus):
9939         * net/tramp-cmds.el (tramp-append-tramp-buffers):
9940         * bs.el (bs-cycle-next, bs-cycle-previous):
9941         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9942         * bindings.el (mode-line-other-buffer):
9943         * autoinsert.el (auto-insert):
9944         * arc-mode.el (archive-extract):
9945         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9947 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
9949         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9950         Fix check of `emacs-lock-unlockable-modes'.
9951         Coerce true values of `emacs-lock--try-unlocking' to t.
9953 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
9955         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9956         * emacs-lock.el: New file.
9958 2011-07-05  Julien Danjou  <julien@danjou.info>
9960         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9961         than `boundp' to check if face is set.
9963 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
9965         * register.el (registerv-make):
9966         * window.el (window-min-height): Fix typos in docstrings.
9968 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
9970         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9971         Update doc string.
9973 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
9975         * server.el (server-execute): Catch quit and call
9976         `server-return-error' to pass the error back to emacsclient and
9977         close the connection (bug#8942).
9979 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
9981         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9982         insecure exception for current topic.  Also note that auto-saves
9983         are handled differently.
9985         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9986         State variables for tracking auto-save inhibition situation.
9988         (allout-write-contents-hook-handler): Rename from
9989         'allout-write-file-hook-handler', and describe how it depends on
9990         write-contents-functions sensitivity to non-nil value to prevent
9991         file write.
9993         (allout-auto-save-hook-handler): Remove.  auto-save does not check
9994         this in individual buffers, only in the starting buffer, so this
9995         is not the right way for us to inhibit auto-save in a buffer
9996         according to its condition.
9998         (allout-mode): Use new allout-write-contents-hook-handler, and
9999         only with write-contents-functions.  Remove auto-save provisions -
10000         they're implemented elsewhere.
10002         (allout-before-change-handler): If undo is in progress, note that
10003         for attention of allout-post-command-business.
10005         (allout-post-command-business): If the command we're following was
10006         an undo, check for change in the status of encrypted items and
10007         adjust auto-save inhibitions accordingly.
10009         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10010         according to whether there are or aren't any plain-text topics
10011         pending encryption.
10013         (allout-inhibit-auto-save-info-for-decryption):
10014         Adjust buffer-saved-size and some allout state to inhibit auto-saves
10015         if there are plain-text topics pending encryption.
10017         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10018         buffer-saved-size and some allout state to not inhibit auto-saves
10019         if there are no longer any plain-text topics pending encryption.
10021         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10022         No longer provide for exemption of the current topic.
10024 2011-07-04  Juri Linkov  <juri@jurta.org>
10026         Add 7z operations to delete and save changed members (bug#8968).
10027         * arc-mode.el (archive-7z-expunge, archive-7z-update):
10028         New defcustoms.
10029         (archive-7z-write-file-member): New function.
10030         (archive-7z-summarize): Fix the number of dashes in the
10031         listing output.
10033 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10035         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10036         (bug#8958).
10038 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
10040         * bindings.el: Ignore next-buffer and previous-buffer in
10041         minibuffer-local-map.
10043         * font-lock.el (font-lock-builtin-face): Change light background
10044         color to dark slate blue (Bug#6693).
10046 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
10048         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10050 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10052         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10053         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10054         Add switch-to-buffer.
10056 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10058         * isearch.el (isearch-search-fun-function): Clarify further the
10059         meaning of the function returned.
10061 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
10063         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10065         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10066         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10067         Use it.
10068         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
10069         `tramp-default-remote-path' does not exist.
10070         (tramp-send-command-and-read): New optional argument NOERROR.
10071         (tramp-open-connection-setup-interactive-shell)
10072         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10073         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10074         (tramp-process-sentinel): Flush also process' connection property.
10075         (tramp-sh-handle-start-file-process): Do not set process
10076         sentinel.  It is done now ...
10077         (tramp-maybe-open-connection): ... here.  (Bug#8929)
10079 2011-07-04  MON KEY  <monkey@sandpframing.com>
10081         * play/animate.el (animate-string): Doc fixes and allow changing
10082         the buffer name (bug#5417).
10084 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10086         * play/animate.el (animation-buffer-name): Rename from *animate*.
10088 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
10090         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10091         This is simpler and helps future-proof the code.
10092         (timer-until): Use time-subtract and float-time.
10093         (timer--time-less-p): Use time-less-p.
10095 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
10097         * type-break.el (timep): Use the value of `float-time' to avoid a
10098         byte-compiler warning.
10100         * server.el (server-eval-and-print): Return any result, even nil.
10102 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
10104         * type-break.el: Accept time formats that the builtins accept.
10105         (timep, type-break-time-difference): Accept any format that
10106         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10107         This is simpler and helps future-proof the code.
10108         (type-break-time-difference): Round rather than ignoring
10109         subseconds components.
10111 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10113         * info.el (Info-apropos-matches): Make non-interactive, since it
10114         doesn't seem to do anything useful as a command (bug#8829).
10116 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
10118         * frame.el (frame-background-mode, frame-set-background-mode):
10119         Move from faces.el.
10120         (frame-default-terminal-background): New function.
10122         * custom.el (custom-push-theme): Don't record faces in `changed'
10123         theme; this doesn't work correctly for per-frame face settings.
10124         (disable-theme): Use face-set-after-frame-default to reset faces.
10125         (custom--frame-color-default): New function.
10127 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10129         * dired.el (dired-flagging-regexp): Remove unused variable
10130         (bug#8769).
10132 2011-03-29  Kevin Ryde  <user42@zip.com.au>
10134         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10135         `perl-Test2' extend to match possible "fail #N" rep count
10136         (bug#8377).
10138 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10140         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10141         `smtpmail-via-smtp' now returns the error instead of nil.
10143         * isearch.el (isearch-search-fun-function): Clarify the doc string
10144         (bug#8101).
10146 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
10148         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10149         unnecessary spaces (bug#8987).
10151 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10153         * net/network-stream.el (open-network-stream): Use the
10154         :end-of-capability command thoughout.
10156 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
10158         * net/network-stream.el (open-network-stream): Add the
10159         :end-of-capability command parameter, used by pop3.el.
10161 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10163         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10165         * fringe.el (fringe-query-style): Remove redundant text " (type ?
10166         for list)" (bug#6475).
10168         * files.el (file-expand-wildcards): Ignore non-readable
10169         sub-directories while trying to find matches instead of signaling
10170         an error (bug#6297).
10172         * man.el (Man-reference-regexp): Allow matching possible
10173         word-wrapped references (bug#6289).
10175         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10176         for consistency with the other vc buffers (bug#6197).
10177         (vc-checkin): Ditto.
10179         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10181         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10183 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10185         * custom.el (defcustom): Clarify that :set is only used in the
10186         Customize user interface (bug#6089).
10188         * progmodes/flymake.el (flymake-mode): If the buffer isn't
10189         associated with a file, refuse to run instead of erroring out
10190         (bug#6084).
10192         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10193         the doc string, since it appears that using `fill-column' always
10194         controls the width (bug#7845).
10196         * simple.el (shell-command-on-region): Say where the error output
10197         went if `shell-command-default-error-buffer' is set (bug#6857).
10199 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
10201         * allout.el (allout-yank-processing): Adjust cursor position for
10202         backwards-deleted space.
10204         (allout-rebullet-heading): Register changes with
10205         allout-exposure-changed-hook, so the modified topic is properly
10206         decorated.
10208 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10210         * minibuffer.el (completion-in-region): Document PREDICATE
10211         (bug#7136).
10213         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10214         of keyword/argument pairs (bug#6904).
10216         * replace.el (multi-occur):
10217         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10219 2011-07-02  Drew Adams  <drew.adams@oracle.com>
10221         * dired.el (dired-mark-if): Make the message about whether it's
10222         marking or unmarking clearer (bug#8523).
10224 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10226         * disp-table.el (display-table-print-array): New function.
10227         (describe-display-table): Use it to print the vectors more pretty
10228         (Bug#8859).
10230 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
10232         * window.el (window-state-get-1): Don't assign clone numbers.
10233         Add clone-of item to list of window parameters.
10234         (window-state-put-2): Don't process clone numbers.
10235         (display-buffer-alist): Fix doc-string.
10237 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10239         * subr.el (remq): Don't allocate if it's not needed.
10240         (keymap--menu-item-binding, keymap--menu-item-with-binding)
10241         (keymap--merge-bindings): New functions.
10242         (keymap-canonicalize): Use them to refine the canonicalization.
10243         * minibuffer.el (minibuffer-local-completion-map)
10244         (minibuffer-local-must-match-map): Move initialization from C.
10245         (minibuffer-local-filename-completion-map): Move initialization from C;
10246         don't inherit from anything here.
10247         (minibuffer-local-filename-must-match-map): Make obsolete.
10248         (completing-read-default): Use make-composed-keymap to combine
10249         minibuffer-local-filename-completion-map with either
10250         minibuffer-local-must-match-map or
10251         minibuffer-local-filename-completion-map.
10253 2011-07-01  Glenn Morris  <rgm@gnu.org>
10255         * type-break.el (type-break-time-sum): Use dolist.
10257         * textmodes/flyspell.el (flyspell-word-search-backward):
10258         Replace CL function.
10260 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10262         * mouse.el (mouse--strip-first-event): New function.
10263         (function-key-map): Use it to map fringe clicks to normal clicks
10264         by default.
10266         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10267         (vc-bzr-revision-completion-table): Add support for annotate and date.
10269         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10270         inherit from parent.
10272 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10274         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10275         (dired-show-file-type): Doc fixup (bug#8818).
10277         * dired.el (dired-mode): Fix up the doc string as suggested by
10278         Drew Adams (bug#8817).
10280         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10281         cookie, since the manual says that it should be possible to add
10282         this function to `find-file-hook' (bug#8709).
10284 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
10286         * progmodes/cfengine.el: Moved all cfengine3.el functionality
10287         here.  Noted Ted Zlatanov as the maintainer.
10288         (cfengine-common-settings, cfengine-common-syntax): New functions
10289         to set up common things between `cfengine-mode' and
10290         `cfengine3-mode'.
10291         (cfengine3-mode): New mode.
10292         (cfengine3-defuns cfengine3-defuns-regex
10293         (cfengine3-class-selector-regex cfengine3-category-regex)
10294         (cfengine3-vartypes cfengine3-font-lock-keywords)
10295         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10296         (cfengine3-indent-line): Add from cfengine3.el.
10298 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
10300         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10302         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10304 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
10306         * window.el (same-window-buffer-names, same-window-regexps)
10307         (same-window-p, special-display-frame-alist)
10308         (special-display-popup-frame, special-display-function)
10309         (special-display-buffer-names, special-display-regexps)
10310         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10311         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10312         (split-window-preferred-function, split-height-threshold)
10313         (split-width-threshold, even-window-heights)
10314         (display-buffer-mark-dedicated, window-splittable-p)
10315         (split-window-sensibly, window-safely-shrinkable-p):
10316         Un-obsolete.
10317         (display-buffer): Don't spread args with function specifier
10318         because special-display-popup-frame won't like it.
10320 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
10322         Time-stamp simplifications and fixes.
10323         These improve accuracy slightly, and future-proof the code
10324         against some potential changes to current-time format.
10326         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10327         by using time-since and float-time.
10329         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10330         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
10331         + NNN microseconds".
10333         * type-break.el (type-break-time-sum): Rewrite using time-add.
10335         * play/hanoi.el (hanoi-current-time-float): Remove.
10336         All uses replaced by float-time.
10338         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10339         This yields a more-accurate answer.
10340         (rng-time-to-float): Remove; no longer needed.
10342         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10344         * calendar/timeclock.el (timeclock-seconds-to-time):
10345         Defalias to seconds-to-time, since they're the same thing.
10347         * emacs-lisp/elp.el (elp-elapsed-time):
10348         * emacs-lisp/benchmark.el (benchmark-elapse):
10349         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10351 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10353         * window.el (bury-buffer): Don't iconify the only frame.
10354         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10355         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
10357 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
10359         * eshell/em-smart.el (eshell-smart-display-navigate-list):
10360         Add mouse-yank-primary.
10362 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
10364         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10366 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10368         * emacs-lisp/find-func.el (find-library--load-name): New fun.
10369         (find-library-name): Use it to find relative load names when provided
10370         absolute file name (bug#8803).
10372 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10374         * textmodes/flyspell.el (flyspell-word): Consider words that
10375         differ only in case as potential doublons (bug#5687).
10377         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10378         Remove two rather uninteresting debugging-like messages to make
10379         debbugs.el more silent.
10381         * comint.el (comint-password-prompt-regexp): Accept "Response" as
10382         a password-like phrase.
10384 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
10386         * progmodes/cc-guess.el: New file.
10388         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10390         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10391         derived from `c-basic-common-init'.
10393         * progmodes/cc-mode.el (top-level): Require cc-guess.
10394         (c-basic-common-init): Use `cc-choose-style-for-mode'.
10396 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
10398         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10400 2011-06-30  Alan Mackenzie  <acm@muc.de>
10402         * progmodes/cc-engine.el (c-guess-continued-construct):
10403         Correct the handling of template-args-cont, particularly for when font
10404         lock is disabled.  Name this case as "CASE G".
10406 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
10408         * allout.el (allout-yank-processing): Fix injection of extra space
10409         between bullet and non-whitespace character in first topic when
10410         pasting, ensuring that the actual spacing in the pasted topic
10411         following the bullet char is preserved.  This extra space was
10412         causing pasted encrypted topics to get a decrypted status even
10413         when the content was actually still encrypted.  Now the decryption
10414         status from before the paste is preserved.
10416         (allout-flag-region): Set all allout overlays so they evaporate
10417         when reduced to zero length (evanescent), to prevent overlay
10418         leakage.
10420 2011-06-30  Glenn Morris  <rgm@gnu.org>
10422         * w32-fns.el (w32-charset-info-alist): Declare.
10424         * find-dired.el (find-grep-options): Simplify.
10426         * term/ns-win.el (ns-set-resource): Declare.
10428         * ses.el (row, col): Declare dynamic variables honestly.
10430         * textmodes/reftex-parse.el (index-tags): Declare.
10432 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
10434         * cus-edit.el (customize-push-and-save): New function.
10436         * files.el (hack-local-variables-confirm): Use it.
10438         * custom.el (load-theme): New arg NO-CONFIRM.
10439         Use customize-push-and-save (Bug#8720).
10440         (custom-enabled-themes): Doc fix.
10442         * cus-theme.el (customize-create-theme)
10443         (custom-theme-merge-theme): Callers to load-theme changed.
10445 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10447         * thingatpt.el (thing-at-point-short-url-regexp): Require that
10448         short URLs have at least one dot in them (bug #7614).
10450         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10451         nil, because using a pty is apparently too slow (bug #895).
10453 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10455         * mail/sendmail.el (sendmail-query-once): New function.
10456         (sendmail-query-once-function): New variable.
10458 2011-06-29  Glenn Morris  <rgm@gnu.org>
10460         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10462         * ses.el (top-level): Require cl when compiling.
10463         (ses-set-localvars): Fix error statement.
10464         Call it at compile time to silence a storm of warnings.
10466 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
10468         * window.el (normalize-live-buffer): Rename to
10469         window-normalize-buffer.
10470         (normalize-live-frame): Rename to window-normalize-frame.
10471         (normalize-any-window): Rename to window-normalize-any-window.
10472         (normalize-live-window): Rename to window-normalize-live-window.
10473         (make-window-atom): Rename to window-make-atom.
10474         (window-resize-reset): Rename to window--resize-reset.
10475         (window-resize-reset-1): Rename to window--resize-reset-1.
10476         (resize-mini-window): Rename to window--resize-mini-window.
10477         (resize-subwindows-skip-p): Rename to
10478         window--resize-subwindows-skip-p.
10479         (resize-subwindows-normal): Rename to
10480         window--resize-subwindows-normal.
10481         (resize-subwindows): Rename to window--resize-subwindows.
10482         (resize-other-windows): Rename to window--resize-siblings.
10483         (resize-this-window): Rename to window--resize-this-window.
10484         (resize-root-window): Rename to window--resize-root-window.
10485         (resize-root-window-vertically): Rename to
10486         window--resize-root-window-vertically.
10487         (normalize-buffer-to-display): Rename to
10488         window-normalize-buffer-to-display.
10489         (normalize-buffer-to-switch-to): Rename to
10490         window-normalize-buffer-to-switch-to.
10491         Correspondingly update all callers of the functions listed
10492         above.
10493         (display-buffer-alist, display-buffer-normalize-arguments)
10494         (display-buffer-normalize-options, display-buffer)
10495         (display-buffer-alist-set): Use "function" instead of
10496         "fun-with-args".
10498 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
10500         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10501         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
10502         debbugs.gnu.org.  Mention acknowledgment email.
10504 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10506         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10507         buffer multibyteness, since it shouldn't matter.
10509 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
10511         * window.el (display-buffer-in-side-window): Handle dedicated
10512         windows as in display-buffer-reuse-window.
10513         (display-buffer-normalize-alist): Use value of override
10514         specifier.
10515         (display-buffer-normalize-specifiers): Use value of
10516         other-window-means-other-frame specifier.
10517         (display-buffer-alist): Rewrite some texts in widgets.
10518         (display-buffer): Spread arguments when calling function
10519         specified by fun-with-args.
10521 2011-06-28  Deniz Dogan  <deniz@dogan.se>
10523         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10524         Unnest `let'.
10526         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10527         selectors (Bug#5732).
10528         (css-proprietary-nmstart-re): Use `regexp-opt'.
10530 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
10532         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10533         (eshell-ls-date-format): New defcustom.
10534         (eshell-ls-file): Use it.
10536 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10538         * help-fns.el (describe-variable): Fix message for terminal-local vars.
10540 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
10542         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10543         (ange-ftp-make-tmp-name): New arg.
10544         (ange-ftp-file-local-copy): Use it.
10546 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
10548         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10549         no-conversion (Bug#8870).
10551 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
10553         * window.el (window-right, window-left, window-child)
10554         (window-child-count, window-last-child)
10555         (window-iso-combination-p, walk-window-tree-1)
10556         (window-atom-check-1, window-tree-1, delete-window)
10557         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10558         new naming conventions - window-vchild, window-hchild,
10559         window-next and window-prev are now called window-top-child,
10560         window-left-child, window-next-sibling and window-prev-sibling
10561         respectively.
10562         (resize-window-reset): Rename to window-resize-reset.
10563         (resize-window-reset-1): Rename to window-resize-reset-1.
10564         (resize-window): Rename to window-resize.
10565         (window-min-height, window-min-width)
10566         (resize-mini-window, resize-this-window, resize-root-window)
10567         (resize-root-window-vertically, adjust-window-trailing-edge)
10568         (enlarge-window, shrink-window, maximize-window)
10569         (minimize-window, delete-window, quit-restore-window)
10570         (split-window, balance-windows, balance-windows-area-adjust)
10571         (balance-windows-area, window-state-put-2)
10572         (display-buffer-even-window-sizes, display-buffer-set-height)
10573         (display-buffer-set-width, set-window-text-height)
10574         (fit-window-to-buffer): Rename all "resize-window" prefixed
10575         calls to use the "window-resize" prefix convention.
10576         (display-buffer-alist): Fix symbol for label specifier.
10577         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10578         corresponding specifier.
10579         Reported by Juanma Barranquero <lekktu@gmail.com>.
10581 2011-06-27  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
10583         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10584         convention.
10585         (ses-call-printer): Does not pass an empty string to formatter when the
10586         cell is empty to keep from barking printer Calc math-format-value.
10588 2011-06-27  Richard Stallman  <rms@gnu.org>
10590         * battery.el (battery-mode-line-limit): New variable.
10591         (battery-update): Handle it.
10593         * mail/rmailmm.el (rmail-mime-process-multipart):
10594         Handle truncated messages.
10596 2011-06-27  Glenn Morris  <rgm@gnu.org>
10598         * progmodes/flymake.el (flymake-err-line-patterns):
10599         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
10601 2011-06-27  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
10603         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10604         (ses--clean-!, ses--clean-_): New functions.
10605         (ses-range): Add configurability of readout order, and conversion
10606         to Calc vector.
10608         * ses.el (ses-repair-cell-reference-all): New function.
10609         (ses-cell-symbol): Set macro as safe, so that it can be used in
10610         formulas.
10612         * ses.el: Update cycle detection algorithm.
10613         (ses-localvars): Add ses--Dijkstra-attempt-nb and
10614         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10615         (ses-set-localvars): New function.
10616         (ses-make-cell): Add property-list as a cell element.
10617         (ses-cell-property-get-fun, ses-cell-property-get)
10618         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10619         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10620         New functions.
10621         (ses-cell-property-set, ses-cell-property-pop)
10622         (ses-cell-property-get-handle): New macro.
10623         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10624         New aliases, used for code readability.
10625         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10626         cycle detection.
10627         (ses-self-reference-early-detection): New defcustom.
10628         (ses-formula-references): Robustify against self-referring cells.
10629         (ses-mode): Use ses-set-localvars.
10630         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10631         before lauching the update processing.
10632         (ses-initialize-Dijkstra-attempt): New function.
10633         (ses-recalculate-cell): Update for cycle detection based on
10634         Dijkstra algorithm.
10636         * ses.el: Fix commenting and indenting convention.
10638 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10640         * bs.el (bs-cycle-next): Complete last change.
10642 2011-06-27  Drew Adams  <drew.adams@oracle.com>
10644         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10646 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10648         * net/network-stream.el (network-stream-open-starttls):
10649         Don't re-get capabilities unless we've reestablished connection.
10650         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10652         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10653         to binary to possibly avoid line encoding issues on Windows (among
10654         other things).
10656 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10658         * net/network-stream.el (open-network-stream): Return an :error
10659         saying what the problem was, if possible.
10661         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10662         server.
10664         * net/network-stream.el (network-stream-open-starttls): If we
10665         wanted to use STARTTLS, and the server offered it, but we weren't
10666         able to because we had no STARTTLS support, then close the connection.
10667         (open-network-stream): Return an :error element, if present.
10669 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
10671         * hl-line.el (hl-line-sticky-flag): Doc fix.
10672         (global-hl-line-sticky-flag): New option (Bug#8323).
10673         (global-hl-line-highlight): Obey it.
10675         * vc/vc.el (vc-revert-show-diff): Default to t.
10677 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
10679         * allout-widgets.el (allout-widgets-post-command-business):
10680         Stop decorating intermediate isearch matches.  They're not being
10681         undecorated when an isearch is continued past, and isearch
10682         automatically collapses them.  This leads to "widget leaks", where
10683         decorated items accumulate in collapsed areas.  Lines with lots of
10684         hidden widgets can slow down cursor travel, substantially.
10685         Too much complicated machinery would be needed to ensure undecoration,
10686         so we're doing without this nicety.
10688         (allout-widgets-tally-string): Don't try to do a hash-table-count
10689         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
10690         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10691         *Messages* when allout-widgets-maintain-tally is t.
10693 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
10695         * window.el (display-buffer-normalize-argument): Rename to
10696         display-buffer-normalize-arguments.  Handle special meaning of
10697         LABEL argument.  Respect special-display-function when popping up
10698         a new frame.  Fix code searching for a window showing the buffer
10699         on another frame.
10700         (display-buffer-normalize-specifiers):
10701         Call display-buffer-normalize-arguments.
10702         (display-buffer-in-window): Don't undedicate the window if its
10703         buffer remains the same.
10704         Reported by Drew Adams <drew.adams@oracle.com>.
10705         (display-buffer-alist): Add choice for same-window macro
10706         specfier.
10707         (display-buffer): Mention special meaning of LABEL argument in
10708         doc-string.  Fix quoting.  Don't pop up a new frame even as
10709         fallback.
10711 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
10713         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10714         avoid deleting the current window in some cases (bug#8911).
10716 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
10718         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10719         (Bug#8934)
10721 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10723         * net/network-stream.el (network-stream-open-starttls):
10724         Use built-in TLS support if `gnutls-available-p' is true.
10725         (network-stream-open-tls): Ditto.
10727 2011-06-26  Leo Liu  <sdl.web@gmail.com>
10729         * register.el (registerv): New struct.
10730         (registerv-make): New function.
10731         (jump-to-register, describe-register-1, insert-register):
10732         Support the jump-func, print-func and insert-func slot of a registerv
10733         struct.  (Bug#8415)
10735 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
10737         * vc/vc.el (vc-revert-show-diff): New defcustom.
10738         (vc-diff-internal): New arg specifying diff buffer.
10739         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
10740         reuse an existing *vc-diff* buffer (Bug#8927).
10742         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10744 2011-06-26  Glenn Morris  <rgm@gnu.org>
10746         * progmodes/f90.el (f90-critical-indent): New option.
10747         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10748         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10749         (f90-mode): Doc fix.
10750         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10751         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10752         (f90-beginning-of-block, f90-next-block, f90-indent-region)
10753         (f90-match-end): Handle block, critical.
10755 2011-06-25  Glenn Morris  <rgm@gnu.org>
10757         * calendar/diary-lib.el (diary-included-files): Doc fix.
10758         (diary-include-files): New function, extracted from
10759         diary-include-other-diary-files and diary-mark-included-diary-files.
10760         (diary-include-other-diary-files, diary-mark-included-diary-files):
10761         Just call diary-include-files.
10762         (diary-mark-entries): Reset diary-included-files on first call.
10764         * calendar/diary-lib.el (diary-mark-entries)
10765         (diary-mark-included-diary-files):
10766         Visit included diary-files in temp buffers.
10768         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10769         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10770         (f90-start-block-re, f90-imenu-generic-expression)
10771         (f90-looking-at-program-block-start, f90-no-block-limit):
10772         Add support for submodules.
10774         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10775         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10777 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
10779         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10780         buffer-file-type before setting its value, to avoid disastrous
10781         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
10783 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
10785         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10787         * ses.el (ses-unload-function):
10788         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10790         * proced.el (proced-unload-function):
10791         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10793 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
10795         * server.el (server-create-window-system-frame): Add parameters arg.
10796         (server-process-filter): Doc fix.  Handle frame-parameters.
10798 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
10800         Fix bug#8730, bug#8781.
10802         * loadhist.el (unload--set-major-mode): New function.
10803         (unload-feature): Use it.
10805         * progmodes/python.el (python-after-info-look): Add autoload cookie.
10806         (python-unload-function): New function.
10808 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10810         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10812 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
10814         * net/browse-url.el (browse-url-firefox-program): Add icecat to
10815         the candidates list.
10817 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
10819         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10821 2011-06-23  Richard Stallman  <rms@gnu.org>
10823         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10824         (rmail-variables): Set next-error-move-function.
10825         (rmail-what-message): Take argument POS.
10826         (rmail-next-error-move): New function.
10828 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10830         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10831         messages for adjacent non-terminals.
10833 2011-06-23  Richard Stallman  <rms@gnu.org>
10835         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10836         (rmail-show-message-1): Preserve buffer modified flag.
10837         (rmail-start-mail): Don't specify use of rmail-mail-return;
10838         that's done by mail-bury now.
10839         (rmail-mail-return): Handle arg NEWBUF.
10841 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
10843         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10844         SIZE is a number.
10846 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
10848         * window.el (get-lru-window, get-mru-window)
10849         (get-largest-window): Never return a minibuffer window.
10850         (display-buffer-pop-up-window): Fix a bug that could lead to
10851         reusing the minibuffer window.
10852         (display-buffer): Pass original specifier argument to
10853         display-buffer-function instead of the normalized one.
10854         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10856 2011-06-22  Leo Liu  <sdl.web@gmail.com>
10858         * minibuffer.el (completing-read-function)
10859         (completing-read-default): Move from minibuf.c
10861 2011-06-22  Richard Stallman  <rms@gnu.org>
10863         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10864         to Rmail even if not started by a special Rmail command.
10866         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10867         Copy the buffer currently showing just one message.
10869 2011-06-22  Roland Winkler  <winkler@gnu.org>
10871         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10872         (bibtex-clean-entry): First delete the old key so that a
10873         customized algorithm for generating the new key does not get
10874         confused by the old key.
10875         (bibtex-url): Obey regexp of first step.
10876         (bibtex-search-entries): Do not use add-to-list with local
10877         list-var.
10879 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10881         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10882         stored a user name, then query for the password first, instead of
10883         waiting for SMTP to give an error message and the trying again.
10885 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
10887         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10888         BUFFER in call-process.
10890 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10892         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10893         QUIT twice.
10894         (smtpmail-try-auth-methods): Require user name and password from
10895         auth-source.
10897 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
10899         * window.el (display-buffer-default-specifiers)
10900         (display-buffer-alist): Remove entries for pop-up-frame-alist.
10901         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10902         (split-window): Normalize SIDE argument (Bug#8916).
10904         * frame.el (pop-up-frame-alist, pop-up-frame-function)
10905         (special-display-frame-alist, special-display-popup-frame):
10906         Remove duplicate declarations.  These are now in window.el.
10908 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10910         * mail/smtpmail.el (smtpmail-via-smtp):
10911         Set :use-starttls-if-possible so that we always use STARTTLS if the
10912         server supports it.  SMTP servers that support STARTTLS commonly
10913         require it.
10915         * net/network-stream.el (network-stream-open-starttls): Support
10916         upgrading to STARTTLS always, even if we don't have built-in support.
10917         (open-network-stream): Add the :always-query-capabilities keyword.
10919         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10920         upgrades with `open-network-stream', and rely solely on
10921         auth-source for all credentials.  Big changes throughout the file,
10922         but in particular:
10923         (smtpmail-auth-credentials): Remove.
10924         (smtpmail-starttls-credentials): Remove.
10925         (smtpmail-via-smtp): Check for servers saying they want AUTH after
10926         MAIL FROM, too.
10928         * net/network-stream.el (network-stream-open-starttls):
10929         Provide support for client certificates both for external and built-in
10930         STARTTLS.
10931         (auth-source): Require.
10932         (open-network-stream): Document the :client-certificate keyword.
10933         (network-stream-certificate): Change cert-cert to cert and
10934         cert-key to key.
10936 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
10938         * net/tramp-cache.el (top): Don't load the persistency file when
10939         "emacs -Q" has been called.
10941 2011-06-21  Tim Harper  <timcharper@gmail.com>
10943         * term/ns-win.el (ns-initialize-window-system):
10944         Set application-specific `ApplePressAndHoldEnabled' system
10945         resource to NO as it is not yet supported by the NS port.
10947 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
10949         * misc.el (list-dynamic-libraries--refresh): Compute header here...
10950         (list-dynamic-libraries): ...not here.
10952 2011-06-21  Leo Liu  <sdl.web@gmail.com>
10954         * subr.el (sha1): Implement sha1 using secure-hash.
10956 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
10958         * window.el (display-buffer-alist): In default value do not
10959         enforce searching a window on any but the selected frame.
10960         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10961         (display-buffer-select-window): Remove function.
10962         (display-buffer-in-window): When a window on another frame gets
10963         reused, do not select it any more but just raise its frame if
10964         necessary (Bug#8851) and (Bug#8856).
10965         (display-buffer-normalize-options): Handle pop-up-frames related
10966         options more faithfully.
10967         (pop-to-buffer): Don't rely on `display-buffer' selecting the
10968         window if it is on another frame.
10969         (display-buffer-alist, display-buffer-default-specifiers):
10970         Don't make new frame unsplittable by default.
10971         (display-buffer-normalize-argument): Fix doc-string typo and use
10972         'same-frame-other-window instead of 'other-window when associating
10973         with display-buffer-macro-specifiers.
10975 2011-06-21  Vincent BelaĂ¯che  <vincent.b.1@hotmail.fr>
10977         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10978         New functions.
10979         (5x5-mode-map, 5x5-mode-menu): Bind them.
10980         (5x5-draw-grid): Tweak the solver's rendering.
10982 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10984         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10985         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10987 2011-06-21  Drew Adams  <drew.adams@oracle.com>
10989         * menu-bar.el: Use function variable instead of switch-to-buffer.
10990         (menu-bar-select-buffer-function): New variable.
10991         (menu-bar-update-buffers): Use it (bug#8876).
10993 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10995         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10996         variable's status.
10998 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
11000         * x-dnd.el (x-dnd-version-from-flags)
11001         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11002         and long as number (Bug#8899).
11003         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11005 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11007         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11008         (completion-try-completion, completion-all-completions): Compute the
11009         metadata argument if it's missing; make it optional (bug#8795).
11011         * wid-edit.el: Use lex-bind and move towards completion-at-point.
11012         (widget-complete): Use new :completion-function property.
11013         (widget-completions-at-point): New function.
11014         (default): Use :completion-function instead of :complete.
11015         (widget-default-completions): Rename from widget-default-complete;
11016         Rewrite.
11017         (widget-string-complete, widget-file-complete, widget-color-complete):
11018         Remove functions.
11019         (file, symbol, function, variable, coding-system, color):
11020         * international/mule-cmds.el (default-input-method, charset)
11021         (language-info-custom-alist):
11022         * cus-edit.el (face): Use new property :completions.
11024         * progmodes/pascal.el (pascal-completions-at-point): New function.
11025         (pascal-mode): Use it.
11026         (pascal-mode-map): Use completion-at-point.
11027         (pascal-toggle-completions): Make obsolete.
11028         (pascal-complete-word, pascal-show-completions):
11029         * progmodes/octave-mod.el (octave-complete-symbol):
11030         Redefine as obsolete alias.
11031         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11032         Signal absence of completion info for old Octave,
11033         (inferior-octave-complete): Redefine as obsolete alias.
11034         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11035         (meta-completions-at-point): Rename from meta-complete-symbol and
11036         adapt it for use on completion-at-point-functions.
11037         (meta-common-mode): Use it.
11038         (meta-looking-at-backward, meta-match-buffer): Remove.
11039         (meta-complete-symbol): Redefine as obsolete alias.
11040         (meta-common-mode-map): Use completion-at-point.
11041         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11042         (makefile-mode-map): Use completion-at-point.
11043         (makefile-completions-at-point): Rename from makefile-complete and
11044         adapt it for use on completion-at-point-functions.
11045         (makefile-mode): Use it.
11046         (makefile-complete): Redefine as obsolete alias.
11048 2011-06-20  Deniz Dogan  <deniz@dogan.se>
11050         * net/rcirc.el: Delete trailing whitespaces once and for all.
11052 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
11054         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11056 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
11058         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11060         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11062 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
11064         * window.el (display-buffer-other-window-means-other-frame):
11065         Call display-buffer-normalize-alist.
11066         (display-buffer-normalize-specifiers-1): Rename to
11067         display-buffer-normalize-argument.  New argument other-frame.
11068         Rewrite.
11069         (display-buffer-normalize-specifiers-2): Rename to
11070         display-buffer-normalize-options.
11071         (display-buffer-normalize-alist-1): New function.
11072         (display-buffer-normalize-specifiers-3): Rename to
11073         display-buffer-normalize-alist.
11074         Call display-buffer-normalize-alist-1.
11075         (display-buffer-normalize-options-inhibit): New variable.
11076         (display-buffer-normalize-specifiers): Rewrite calling
11077         display-buffer-normalize-alist,
11078         display-buffer-normalize-argument, and
11079         display-buffer-normalize-options.  Don't call the latter if
11080         display-buffer-normalize-options-inhibit is non-nil.
11081         (frame-auto-delete): New option.
11082         (window-deletable-p): Use frame-auto-delete.
11083         (window-list-no-nils, window-state-ignored-parameters)
11084         (window-state-get-1, window-state-get, window-state-put-list)
11085         (window-state-put-1, window-state-put-2, window-state-put):
11086         New functions.
11087         (display-buffer-normalize-options): Move special-display-p group
11088         after pop-up-frame group (Bug#8851) and (Bug#8856).
11090 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
11092         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11093         groups (Bug#8776).
11094         (rx-submatch-n): New function.
11095         (rx): Document it.
11097         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11098         (Bug#8768).
11100         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11102         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11104         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11105         anytime existing face settings are present (Bug#8889).
11107         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11108         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11109         Remove unused argument.
11111 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
11113         * window.el (display-buffer-default-specifiers):
11114         Remove pop-up-frame.  Add pop-up-window-min-height,
11115         pop-up-window-min-width, and another reuse-window specifier
11116         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
11117         (display-buffer-normalize-specifiers-2):
11118         Handle split-height-threshold and split-width-threshold also when
11119         pop-up-windows is unset.  Add a reuse-window specifier for the
11120         case popping up a new window fails.
11121         (special-display-popup-frame): Remove double quoting.
11122         (display-buffer-normalize-specifiers-1): Fix thinko.
11124 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11126         * shell.el (shell-completion-vars): Set pcomplete-termination-string
11127         according to comint-completion-addsuffix.
11129         * pcomplete.el: Convert to lexical binding and fix bug#8819.
11130         (pcomplete-suffix-list): Mark as obsolete.
11131         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11132         pcomplete-seen in the closure.
11133         (pcomplete-comint-setup): Setup completion-at-point as well.
11134         (pcomplete--entries): New function.
11135         (pcomplete--env-regexp): New var.
11136         (pcomplete-entries): Rewrite to work with partial-completion and
11137         without relying on pcomplete-suffix-list.
11138         (pcomplete-pare-list): Remove, unused.
11140 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
11142         * window.el (display-buffer-alist): Set pop-up-window-min-height
11143         and pop-up-window-min-width in default value.  Reported by
11144         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
11145         other-window-means-other-frame.
11146         (display-buffer-macro-specifiers): Comment out entry for
11147         other-window specifier.
11148         (display-buffer-other-window-means-other-frame): New function.
11149         (display-buffer-normalize-specifiers-1): New arguments
11150         buffer-name and label.  Treat other-window case specially.
11151         (display-buffer-normalize-specifiers-2): Treat other-window case
11152         specially.
11153         (display-buffer-normalize-specifiers-3): New function.
11154         (display-buffer-normalize-specifiers):
11155         Call display-buffer-normalize-specifiers-3.
11157 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
11159         * window.el (same-window-p): Fix two typos introduced when
11160         adding with-no-warnings.
11161         (display-buffer-normalize-specifiers-1): Don't check
11162         pop-up-frames for 'unset initialization.
11163         (display-buffer-normalize-specifiers-2): Major rewrite using
11164         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11165         (pop-up-frames, display-buffer-reuse-frames)
11166         (display-buffer-mark-dedicated): Don't initialize to 'unset.
11167         Suggested by David Engster <deng@randomsample.de>.
11168         (even-window-heights): Initialize to 'unset.
11169         (display-buffer-alist-set): Handle new 'unset initializations.
11170         (display-buffer-macro-specifiers): Don't pop up a new frame in the
11171         other window case.
11173 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
11175         * window.el (display-buffer-normalize-specifiers-1):
11176         Respect current value of pop-up-frames for most reasonable values of
11177         second argument of display-buffer (Bug#8865).
11178         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11179         (switch-to-buffer-other-window-same-frame)
11180         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
11181         Adams (Bug#8875).
11182         (display-buffer): Don't check noninteractive when calling
11183         display-buffer-pop-up-frame.
11184         (display-buffer-pop-up-frame): Never pop up a frame in
11185         noninteractive mode (Bug#8857).
11186         (enlarge-window, shrink-window): Don't report an error when the
11187         window can't be resized as requested (Bug#8862).
11189 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11191         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11193         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11195         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11197 2011-06-15  Alan Mackenzie  <acm@muc.de>
11199         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11200         for declarators, disable knr checking to speed up for normal files.
11201         2: Refactor, replacing a sequence of nested if forms by a cond form.
11203 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11205         * net/network-stream.el (open-network-stream): Add the keyword
11206         :always-query-capabilities for the case where you want to force a
11207         `plain' network connection, but the protocol still requires the
11208         capabilitiy command (i.e., SMTP and EHLO).
11210         * subr.el (process-live-p): Rename from `process-alive-p' for
11211         consistency with other `-live-p' functions.
11213 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11215         * window.el (same-window-buffer-names, same-window-regexps)
11216         (special-display-frame-alist, special-display-popup-frame)
11217         (special-display-function, special-display-buffer-names)
11218         (special-display-regexps, pop-up-frame-alist)
11219         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11220         (pop-up-windows, split-window-preferred-function)
11221         (split-height-threshold, split-width-threshold, even-window-heights)
11222         (display-buffer-mark-dedicated): Don't encourage the use of
11223         display-buffer-alist from Elisp code.
11225 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
11227         * progmodes/python.el (python-mode): Derive from prog-mode.
11228         * progmodes/ps-mode.el (ps-mode):
11229         * progmodes/mixal-mode.el (mixal-mode):
11230         * progmodes/cfengine.el (cfengine-mode):
11231         * progmodes/ld-script.el (ld-script-mode): Likewise.
11233 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
11235         * window.el (display-buffer-alist): Trim default value to avoid
11236         popping up a new frame (Bug#8857) or reusing an arbitrary window
11237         on another frame.
11238         (display-buffer): Do not fall back on popping up a new frame in
11239         batch mode (Bug#8857).
11241 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
11243         * cus-theme.el (describe-theme-1): Use custom-theme-p.
11244         (custom-theme-summary): New function.
11245         (customize-themes): Use it.
11247 2011-06-13  Glenn Morris  <rgm@gnu.org>
11249         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11251 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
11253         * help.el (help-window): Remove variable.
11254         (help-window-point-marker, temp-buffer-max-height)
11255         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11256         (help-print-return-message): Don't set help-window.
11257         (resize-temp-buffer-window): Rewrite cod eand doc-string.
11258         (help-window-setup-finish): Remove.
11259         (help-window-display-message, help-window-setup)
11260         (with-help-window): Major rewrite based on new
11261         display-buffer-window variable.
11263         * help-mode.el (help-mode-finish): Remove help-window related
11264         code.
11266         * view.el (view-exits-all-viewing-windows): Remove reference to
11267         view-return-to-alist in doc-string.
11268         (view-return-to-alist): Make obsolete.
11269         (view-buffer): Call pop-to-buffer-same-window and remove
11270         undo-window code.
11271         (view-buffer-other-window): Call pop-to-buffer-other-window and
11272         simplify code.  Ignore second argument.
11273         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11274         simplify code.  Ignore second argument.
11275         (view-return-to-alist-update): Make obsolete.
11276         (view-mode-enter): Rename second argument to QUIT-RESTORE.
11277         Rewrite using quit-restore window parameters.
11278         (view-mode-exit): Rename second argument to EXIT-ONLY.
11279         Rewrite using quit-restore-window.
11280         (View-exit, View-exit-and-edit, View-leave, View-quit)
11281         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11282         appropriate arguments.
11283         (view-end-message): Use quit-restore window parameter.
11285         * window.el (display-buffer-function): Rewrite doc-string.
11286         (display-buffer-window, display-buffer-alist): New variables.
11287         (display-buffer-split-specifiers)
11288         (display-buffer-side-specifiers)
11289         (display-buffer-macro-specifiers): New constants.
11290         (display-buffer-even-window-sizes, display-buffer-set-height)
11291         (display-buffer-set-width, display-buffer-select-window)
11292         (display-buffer-in-window, display-buffer-reuse-window)
11293         (display-buffer-split-window-1, display-buffer-split-window)
11294         (display-buffer-split-atom-window, display-buffer-pop-up-window)
11295         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11296         (display-buffer-in-side-window, normalize-buffer-to-display)
11297         (display-buffer-normalize-specifiers-1)
11298         (display-buffer-normalize-specifiers-2)
11299         (display-buffer-normalize-specifiers, display-buffer-frame):
11300         New functions.
11301         (display-buffer): Major rewrite.
11302         (display-buffer-other-window, display-buffer-other-frame)
11303         (pop-to-buffer, switch-to-buffer-other-window)
11304         (switch-to-buffer-other-frame): Rewrite.
11305         (display-buffer-same-window, display-buffer-same-frame)
11306         (display-buffer-same-frame-other-window)
11307         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11308         (pop-to-buffer-other-window)
11309         (pop-to-buffer-same-frame-other-window)
11310         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11311         (switch-to-buffer-other-window-same-frame): New functions.
11312         (same-window-p, special-display-p): Rewrite disabling warnings.
11313         Make obsolete.
11314         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11315         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11316         Make obsolete
11317         (same-window-buffer-names, same-window-regexps)
11318         (special-display-frame-alist, special-display-popup-frame)
11319         (special-display-function, special-display-buffer-names)
11320         (special-display-regexps, pop-up-frame-alist)
11321         (pop-up-frame-function, split-window-preferred-function)
11322         (split-height-threshold, split-width-threshold)
11323         (even-window-heights): Make obsolete.
11325 2011-06-12  Glenn Morris  <rgm@gnu.org>
11327         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
11328         Misc simplifications.
11330 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
11332         * window.el (window-safely-shrinkable-p): Restore function which
11333         was inadvertently removed in change from 2011-06-11.  Declare as
11334         obsolete.
11336         * calendar/calendar.el (calendar-generate-window):
11337         Use window-iso-combined-p instead of combination of one-window-p and
11338         window-safely-shrinkable-p.
11340 2011-06-12  Glenn Morris  <rgm@gnu.org>
11342         * progmodes/fortran.el (fortran-mode-syntax-table):
11343         * progmodes/f90.el (f90-mode-syntax-table):
11344         Set % to punctuation.  (Bug#8820)
11345         (f90-find-tag-default): Remove, no longer needed.
11347 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
11349         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11351 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
11353         * image.el (image-animated-p): Return animation delay in seconds.
11354         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11355         (image-animate-timeout): Remove DELAY argument.  Don't assume
11356         every subimage has the same delay; get it from image-animated-p.
11357         (image-animate): Caller changed.
11359 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
11361         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11362         to ignored backtrace functions.
11364 2011-06-11  Glenn Morris  <rgm@gnu.org>
11366         * calendar/appt.el (appt-disp-window-function): Doc fix.
11367         (appt-check): Handle overlapping appointments.  (Bug#8337)
11369 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
11371         * window.el (window-tree-1, window-tree): New functions, moving
11372         the latter to window.el.
11373         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11374         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11375         (bw-refresh-edges): Remove.
11376         (balance-windows-1, balance-windows-2): New functions.
11377         (balance-windows): Rewrite in terms of window tree functions,
11378         balance-windows-1 and balance-windows-2.
11379         (bw-adjust-window): Remove.
11380         (balance-windows-area-adjust): New function with functionality of
11381         bw-adjust-window but using resize-window.
11382         (set-window-text-height): Rewrite doc-string.
11383         Use normalize-live-window and resize-window.
11384         (enlarge-window-horizontally, shrink-window-horizontally):
11385         Rename argument to DELTA.
11386         (window-buffer-height): New function.
11387         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11388         Rewrite using new window resize routines.
11389         (kill-buffer-and-window, mouse-autoselect-window-select):
11390         Use ignore-errors instead of condition-case.
11391         (quit-window): Call delete-frame instead of delete-windows-on
11392         for the only buffer on frame.
11394 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
11396         * loadup.el (top-level): Load window before files for the sake
11397         of replace-buffer-in-windows.
11399         * files.el (read-buffer-to-switch)
11400         (switch-to-buffer-other-window)
11401         (switch-to-buffer-other-frame, display-buffer-other-frame):
11402         Move to window.el.
11404         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11405         (previous-buffer): Move to window.el.
11407         * bindings.el (unbury-buffer): Move to window.el.
11409         * window.el (delete-other-windows-vertically): Move after
11410         definition of delete-other-windows.
11411         (other-window, delete-windows-on, replace-buffer-in-windows):
11412         Move here from window.c.
11413         (record-window-buffer, unrecord-window-buffer)
11414         (set-window-buffer-start-and-point, switch-to-prev-buffer)
11415         (switch-to-next-buffer): New functions.
11416         (get-next-valid-buffer, last-buffer, next-buffer): Move here
11417         from simple.el.  Call switch-to-next-buffer.
11418         (previous-buffer): Move here from simple.el.
11419         Call switch-to-prev-buffer.
11420         (bury-buffer): Move here from buffer.c.  Switch to previous
11421         buffer when window cannot be deleted.
11422         (unbury-buffer): Move here from bindings.el.
11423         (ctl-x-map): Move binding for other-window from window.c to
11424         here.
11425         (read-buffer-to-switch, switch-to-buffer-other-window)
11426         (switch-to-buffer-other-frame): Move here from files.el.
11427         (normalize-buffer-to-switch-to): New functions.
11428         (switch-to-buffer): Move here from buffer.c.
11429         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11431 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
11433         * window.el (window-min-height, window-min-width): Move here
11434         from window.c.  Add defcustoms and rewrite doc-strings.
11435         (resize-mini-window, resize-window): New functions.
11436         (adjust-window-trailing-edge, enlarge-window, shrink-window):
11437         Move here from window.c.
11438         (maximize-window, minimize-window): New functions.
11439         (delete-window, delete-other-windows, split-window): Move here
11440         from window.c.
11441         (window-split-min-size): New function.
11442         (split-window-keep-point): Mention split-window-above-each-other
11443         instead of split-window-vertically.
11444         (split-window-above-each-other, split-window-vertically):
11445         Rename split-window-vertically to split-window-above-each-other
11446         and provide defalias for old definition.
11447         (split-window-side-by-side, split-window-horizontally):
11448         Rename split-window-horizontally to split-window-side-by-side
11449         and provide defalias for the old definition.
11450         (ctl-x-map): Move bindings for delete-window,
11451         delete-other-windows and enlarge-window here from window.c.
11452         Replace bindings for split-window-vertically and
11453         split-window-horizontally by bindings for
11454         split-window-above-each-other and split-window-side-by-side.
11456         * cus-start.el (all): Remove entries for window-min-height and
11457         window-min-width.  Add entries for window-splits and
11458         window-nest.
11460 2011-06-09  Glenn Morris  <rgm@gnu.org>
11462         * calendar/appt.el (appt-mode-line): New function.
11463         (appt-check, appt-disp-window): Use it.
11465         * files.el (hack-one-local-variable-eval-safep):
11466         Allow minor-modes with explicit +/-1 arguments.
11468 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
11470         * term/xterm.el (xterm): Add defgroup.
11471         (xterm-extra-capabilities): Add defcustom to supply known xterm
11472         capabilities, skip querying them, or query them (default).
11473         (terminal-init-xterm): Use it.
11474         (terminal-init-xterm-modify-other-keys): New function to set up
11475         modifyOtherKeys support to simplify `terminal-init-xterm'.
11477 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
11479         * window.el (resize-window-reset, resize-window-reset-1)
11480         (resize-subwindows-skip-p, resize-subwindows-normal)
11481         (resize-subwindows, resize-other-windows, resize-this-window)
11482         (resize-root-window, resize-root-window-vertically)
11483         (window-deletable-p, window-or-subwindow-p)
11484         (frame-root-window-p): New functions.
11486 2011-06-09  Glenn Morris  <rgm@gnu.org>
11488         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11489         (ange-ftp-get-files): Use it.
11491 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
11493         * mail/sendmail.el (mail-recover-1, mail-recover):
11494         * files.el (recover-file, recover-session):
11495         Handle dired-listing-switches not being just a single short option.
11497 2011-06-09  Glenn Morris  <rgm@gnu.org>
11499         * calendar/appt.el (appt-display-message, appt-disp-window):
11500         Handle lists of appointments.
11502 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
11504         * window.el (one-window-p): Move down in code.
11505         Rewrite doc-string.
11506         (window-current-scroll-bars): Rewrite doc-string.
11507         Normalize live window argument.
11508         (walk-windows, get-window-with-predicate, count-windows):
11509         Rewrite doc-string.  Use window-list-1.
11510         (window-in-direction-2, window-in-direction, get-mru-window):
11511         New functions.
11513 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
11515         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11516         Doc fix (Bug#8713).
11518 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
11520         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11522 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
11524         * loadhist.el (unload-feature-special-hooks):
11525         Add `comint-output-filter-functions'.
11527 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
11529         * calendar/appt.el (appt-check): Move some initializations into the let.
11531 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
11533         * window.el (window-height): Defalias to window-total-height.
11534         (window-width): Defalias to window-body-width.
11536 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
11538         * image-mode.el (image-toggle-animation): New command.
11539         (image-mode-map): Bind it to RET.
11540         (image-mode): Update message.
11541         (image-toggle-display-image): Avoid a spurious cache flush.
11542         (image-transform-rotation): Doc fix.
11543         (image-transform-properties): Return quickly in the normal case.
11544         (image-animate-loop): Rename from image-animate-max-time.
11546         * image.el (image-animate-max-time): Move to image-mode.el.
11547         (create-animated-image): Remove unnecessary function.
11548         (image-animate): Rename from image-animate-start.  New arg.
11549         (image-animate-stop): Remove; just use image-animate-timer.
11550         (image-animate-timer): Use car-safe.
11551         (image-animate-timeout): Rename argument.
11553 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
11555         * window.el (get-lru-window, get-largest-window): Move here from
11556         window.c.  Rename first argument to ALL-FRAMES.
11557         Rephrase doc-strings.
11558         (get-buffer-window-list): Rewrite using window-list-1.
11559         Rephrase doc-string.
11560         (window-safe-min-height, window-safe-min-width): New constants.
11561         (window-size-ignore, window-min-size, window-min-size-1)
11562         (window-sizable, window-sizable-p, window-size-fixed-1)
11563         (window-size-fixed-p, window-min-delta-1, window-min-delta)
11564         (window-max-delta-1, window-max-delta, window-resizable)
11565         (window-resizable-p, window-total-height, window-total-width)
11566         (window-body-width): New functions.
11567         (window-full-height-p, window-full-width-p): Rewrite using
11568         window-total-size.
11569         (window-body-height): Rewrite using window-body-size.
11571 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
11573         * window.el (window-right, window-left, window-child)
11574         (window-child-count, window-last-child, window-any-p)
11575         (normalize-live-buffer, normalize-live-frame)
11576         (normalize-any-window, normalize-live-window)
11577         (window-iso-combination-p, window-iso-combined-p)
11578         (window-iso-combinations)
11579         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11580         (windows-with-parameter, window-with-parameter)
11581         (window-atom-root, make-window-atom, window-atom-check-1)
11582         (window-atom-check, window-side-check, window-check):
11583         New functions.
11584         (ignore-window-parameters, window-sides, window-sides-vertical)
11585         (window-sides-slots): New variables.
11586         (window-size-fixed): Move down in code.  Minor doc-string fix.
11588 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
11590         * comint.el (comint-dynamic-complete-as-filename)
11591         (comint-dynamic-complete-filename): Correctly call
11592         completion-in-region.
11594 2011-06-05  Deniz Dogan  <deniz@dogan.se>
11596         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11597         in last change.
11599 2011-06-05  Deniz Dogan  <deniz@dogan.se>
11601         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11602         (rcirc): Use it to prompt for encryption.
11604 2011-06-05  Roland Winkler  <winkler@gnu.org>
11606         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11607         (bibtex-search-entries): New command bound to C-c C-a.
11608         (bibtex-display-entries): New function.
11610 2011-06-05  Roland Winkler  <winkler@gnu.org>
11612         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11613         (bibtex-insert-kill): After yanking insert newline if necessary.
11614         (bibtex-initialize): Call bibtex-string-files-init only once.
11615         (bibtex-mode): Do not call easy-menu-add.
11616         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11617         (bibtex-yank): Set arg properly if nil.
11619 2011-06-05  Roland Winkler  <winkler@gnu.org>
11621         * textmodes/bibtex.el (bibtex-search-entry-globally):
11622         New variable.
11623         (bibtex-search-entry): Use it.
11625 2011-06-05  Roland Winkler  <winkler@gnu.org>
11627         * textmodes/bibtex.el (bibtex-entry-format): New option
11628         sort-fields.
11629         (bibtex-format-entry, bibtex-reformat): Honor this option.
11630         (bibtex-parse-entry): Return fields in proper order.
11632 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
11634         * doc-view.el (doc-view-remove-if): Move computation of result out
11635         of `dolist' to silence misleading lexical-binding warning.
11637 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
11639         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11640         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11642 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
11644         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11645         "SunOS 5.10".
11647 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
11649         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11650         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11651         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11652         (tramp-parse-putty):
11653         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11654         (tramp-completion-function-alist-ssh)
11655         (tramp-completion-function-alist-telnet)
11656         (tramp-completion-function-alist-su)
11657         (tramp-completion-function-alist-putty): Set `tramp-autoload'
11658         cookie.
11660         * net/tramp-ftp.el:
11661         * net/tramp-sh.el:
11662         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11663         load "tramp.el" `tramp-set-completion-function'.
11665 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11667         * shell.el: Require and use pcomplete.
11668         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11669         (shell-completion-vars): Set pcomplete-default-completion-function.
11671 2011-06-04  Deniz Dogan  <deniz@dogan.se>
11673         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11674         `memq' (Bug#8799).
11676 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11678         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11680 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
11682         * bs.el (bs--mark-unmark, bs--nth-wrapper):
11683         * mpc.el (mpc-select-extend, mpc-songpointer-context):
11684         * vc/log-view.el (log-view-beginning-of-defun):
11685         * vc/smerge-mode.el (smerge-apply-resolution-patch)
11686         (smerge-refine-forward, smerge-refine-chopup-region):
11687         Silence warning for unused `dotimes' counter variables.
11689 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11691         * net/tramp.el (tramp-with-progress-reporter): Rename from
11692         with-progress-reporter.  Use `declare'.
11693         * net/tramp-smb.el:
11694         * net/tramp-sh.el:
11695         * net/tramp-gvfs.el: Update all uses.
11697 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
11699         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11700         buffer isn't killed before making it current.
11702 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11704         Silence various byte-compiler warnings.
11705         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11706         `access-type' and new obsolescence format.
11707         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11708         new format.
11709         (byte-compile-check-variable): New `access-type' argument.
11710         Only warn if the access-type is obsolete.
11711         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11712         (byte-compile-variable-set): Adjust callers.
11713         * help-fns.el (describe-variable): Adjust to new obsolescence format.
11714         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11715         setting it as obsolete.
11716         * simple.el (minibuffer-completing-symbol):
11717         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11718         access as obsolete.
11719         * minibuffer.el (minibuffer-completing-file-name): Don't make it
11720         obsolete yet.
11721         * international/quail.el (quail-mouse-choose-completion): Remove unused
11722         code referring to obsolete var.
11723         (quail-choose-completion-string): Remove.
11724         * server.el (server-clients-with, server-kill-buffer-query-function)
11725         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11726         * proced.el (proced-send-signal):
11727         * emacs-lisp/lisp.el (lisp-complete-symbol):
11728         Replace completion-annotate-function with completion-extra-properties.
11730 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11732         * simple.el (goto-line): Use read-number.
11733         (overriding-map-is-bound): Remove.
11734         (saved-overriding-map): Change default.
11735         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11736         Take the map as argument.
11737         (universal-argument, negative-argument, digit-argument): Use it.
11738         (restore-overriding-map): Adjust.
11739         (do-auto-fill): Use fill-forward-paragraph.
11740         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11742         * minibuffer.el (minibuffer-inactive-mode-map): New var.
11743         (minibuffer-inactive-mode): New major mode.
11744         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11745         the *Messages* buffer" hack.
11746         (mouse-popup-menubar): Don't burp if the event is a normal key.
11748         Miscellaneous tweaks.
11749         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11750         lexical scoping as in subr.el's dolist and dotimes.
11751         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11752         Silence compiler warning.
11753         * thingatpt.el (forward-whitespace): Trivial coding style fix.
11754         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11755         * international/ccl.el (ccl-compile): Trivial simplification.
11756         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11757         * emacs-lisp/testcover.el (testcover-end): Remove spurious
11758         `printflag' argument.
11759         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11760         Purecopy the whole obsolescence data.
11762 2011-06-01  Leo Liu  <sdl.web@gmail.com>
11764         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11765         improve doc-string as suggested by Marco Pessotto
11766         <melmothx@gmail.com>.
11767         (rcirc-print): Fix last change.
11769 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11771         * minibuffer.el (complete-with-action): Return nil for the metadata and
11772         boundaries of non-functional tables.
11773         (completion-table-dynamic): Return nil for the metadata.
11774         (completion-table-with-terminator): Add default case, using
11775         complete-with-action.
11776         (completion--metadata): New function.
11777         (completion-all-sorted-completions, minibuffer-completion-help): Use it
11778         to try and avoid pathological performance problems.
11779         (completion--embedded-envvar-table): Return `category' metadata.
11781 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11783         * subr.el (process-alive-p): New tiny convenience function.
11785 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11787         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11788         content but also its previous major mode.
11790 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
11792         * emacs-lisp/debug.el (debug): Restore the previous content of the
11793         *Backtrace* buffer when we exit with C-M-c.
11795 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11797         * minibuffer.el: Add metadata method to completion tables.
11798         (completion-category-overrides): New defcustom.
11799         (completion-metadata, completion--field-metadata)
11800         (completion-metadata-get, completion--styles)
11801         (completion--cycle-threshold): New functions.
11802         (completion-try-completion, completion-all-completions):
11803         Add `metadata' argument to choose completion-styles.
11804         (completion--do-completion): Use metadata to choose cycling.
11805         (completion-all-sorted-completions): Use metadata for sorting.
11806         Remove :completion-cycle-penalty which is not needed any more.
11807         (completion--try-word-completion): Add `metadata' argument.
11808         (minibuffer-completion-help): Check metadata for annotation function
11809         and sorting.
11810         (completion-file-name-table): Return `category' metadata.
11811         (minibuffer-completing-file-name): Make obsolete.
11812         * simple.el (minibuffer-completing-symbol): Make obsolete.
11813         * icomplete.el (icomplete-completions): Pass new `metadata' param to
11814         completion-try-completion.
11816 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11818         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11820 2011-05-30  Leo Liu  <sdl.web@gmail.com>
11822         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11823         (rcirc-print): Decode all incoming messages (bug#8744).
11824         (rcirc-decode-coding-system): Allow value nil for automatic coding
11825         system detection.
11827 2011-06-01  Glenn Morris  <rgm@gnu.org>
11829         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11831 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
11833         * image.el (image-animate-max-time): Allow nil and t values.
11834         Default to nil.
11835         (create-animated-image): Doc fix.
11836         (image-animate-start): Remove second arg; just use
11837         image-animate-max-time.
11838         (image-animate-timeout): Doc fix.  Args changed.
11840         * image-mode.el (image-toggle-display-image): Ensure that the
11841         image spec passed to the animate timer is the same object as in
11842         the buffer's display property (Bug#6981).
11843         (image-transform-properties): Doc fix.
11845         * image.el (image-animate-max-time): Default to nil.
11847 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
11849         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11850         entire buffer list (Bug#8184).
11852 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
11854         * image.el (imagemagick-types-inhibit)
11855         (imagemagick-register-types): Doc fix.
11857 2011-05-29  Deniz Dogan  <deniz@dogan.se>
11859         * net/rcirc.el (rcirc): Use the user's stored encryption method by
11860         default.
11862 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
11864         * select.el: Don't perform clipboard-manager saving in hooks;
11865         leave the hooks empty.
11867 2011-05-28  Leo Liu  <sdl.web@gmail.com>
11869         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11870         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
11871         (occur-edit-mode): New major mode (Bug#8463).
11872         (occur-after-change-function): New function.
11873         (occur-engine): Give Occur tags a read-only property.
11875 2011-05-28  Kevin Ryde  <user42@zip.com.au>
11877         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11879 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
11881         * bindings.el (help-echo): Make the initial non-indicator dash
11882         empty on graphical terminals (Bug#7295).
11884         * files.el (auto-mode-alist): Move config rule after the
11885         in-stripping one (Bug#8547).
11887         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11889         * startup.el (normal-splash-screen): Remove gratuitous mode-line
11890         setting (Bug#8740).
11892 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
11894         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11895         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11896         (Bug#8539).
11898 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
11900         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11902 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
11904         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11905         (hs-hide-block-at-point, hs-find-block-beginning)
11906         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11907         (Bug#8279).
11909 2011-05-28  Glenn Morris  <rgm@gnu.org>
11911         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
11913 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
11915         * help-fns.el (describe-function-1): If the function is a derived
11916         major mode, print the parent mode.
11918         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11919         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11921 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11923         * minibuffer.el (completion--capf-wrapper): Check applicability before
11924         returning non-nil for non-exclusive completion data.
11925         * progmodes/etags.el (tags-completion-at-point-function):
11926         * info-look.el (info-lookup-completions-at-point): Mark as
11927         non-exclusive.
11928         (info-complete): Adjust accordingly.
11930         * info-look.el: Convert to lexical-binding and completion-at-point.
11931         (info-lookup-completions-at-point): New function.
11932         (info-complete): Use it and completion-in-region.
11934 2011-05-28  Drew Adams  <drew.adams@oracle.com>
11936         * isearch.el: Let M-e start with point at the first mismatched char.
11937         (isearch-fail-pos): New function.
11938         (isearch-edit-string): Use it.
11940 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
11942         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11944 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
11946         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
11947         traversal functions for avl-trees.
11948         (avl-tree--stack): New struct.
11949         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11950         (avl-tree-enter): Add optional `updatefun' arg.
11951         (avl-tree--do-enter): Add optional `updatefun' arg.
11952         Change return value.
11953         (avl-tree-delete): Add optional `test' and `nilflag' args.
11954         (avl-tree--do-delete): Add `test' and `nilflag' args.
11955         Change return value.
11956         (avl-tree-member): Add optional `nilflag'
11957         (avl-tree-member-p): New function.
11958         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11959         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11960         (avl-tree-stack-empty-p): New functions.
11962         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11963         avl-tree--del-balance1 and make it work both ways.
11964         (avl-tree--del-balance2): Remove.
11965         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11966         make it work both ways.
11967         (avl-tree--enter-balance2): Remove.
11968         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11969         New macros.
11970         (avl-tree--mapc, avl-tree-map): Add direction argument.
11972 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
11974         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11976 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
11978         * select.el: Support clipboard managers with built-in function
11979         x-clipboard-manager-save, via delete-frame-functions and
11980         kill-emacs-hook.
11981         (xselect-convert-to-targets): Add MULTIPLE target to list.
11982         (xselect-convert-to-save-targets): New function.
11984 2011-05-27  Kenichi Handa  <handa@m17n.org>
11986         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11987         let-binding rfc2047-encode-encoded-words to nil.
11989 2011-05-27  Glenn Morris  <rgm@gnu.org>
11991         * mail/emacsbug.el: Don't require url-util.
11993         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
11995         * files.el (set-auto-mode):
11996         Also respect mode: entries at the end of the file.  (Bug#8586)
11998 2011-05-26  Glenn Morris  <rgm@gnu.org>
12000         * files.el (hack-local-variables-prop-line, hack-local-variables):
12001         Downcase mode names, as seems to be traditional.
12002         (hack-local-variables, hack-local-variables-apply): Doc fixes.
12004         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12005         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
12007 2011-05-25  Julien Danjou  <julien@danjou.info>
12009         * textmodes/rst.el (rst-define-level-faces): Do not define face
12010         symbol if it is already defined.
12012 2011-05-24  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
12014         * play/5x5.el (5x5-new-game, 5x5-randomize):
12015         Reset 5x5-solver-output to nil when a new grid is cast.
12016         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12017         these debugging traces, as defmacro breaks the compiled code.
12019 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
12021         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12023 2011-05-24  Leo Liu  <sdl.web@gmail.com>
12025         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12026         (vc-bzr-sha1): Adapt.
12028         * sha1.el: Remove.  Function `sha1' is now builtin.
12030         * bindings.el: Provide sha1 feature.
12032 2011-05-24  Kenichi Handa  <handa@m17n.org>
12034         * mail/sendmail.el: Require `rfc2047'.
12035         (mail-insert-from-field): Do not perform RFC2047 encoding.
12036         (mail-encode-header): New function.
12037         (sendmail-send-it): Set buffer-file-coding-system of the work
12038         buffer to the return value of select-message-coding-system.
12039         Call mail-encode-header.
12041         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12043 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
12045         * mail/supercite.el (sc-default-cite-frame):
12046         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12048 2011-05-24  Glenn Morris  <rgm@gnu.org>
12050         * progmodes/python.el (brm-menu): Declare.
12052         * emulation/viper.el (viper-set-hooks): Declare.
12054         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12055         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12056         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12057         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12058         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12059         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12061 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12063         Add an :exit-function for completion-at-point.
12065         * minibuffer.el (completion--done): New fun.
12066         (completion--do-completion): Use it.  New arg `expect-exact'.
12067         (minibuffer-complete, minibuffer-complete-word): Don't output message,
12068         since completion--do-completion does it for us now.
12069         (minibuffer-force-complete): Use completion--done and
12070         completion--replace.  Handle sole-completion case with more care.
12071         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12072         (completion-extra-properties): New var.
12073         (completion-annotate-function): Make obsolete.
12074         (minibuffer-completion-help): Adjust accordingly.
12075         Use completion-list-insert-choice-function.
12076         (completion-at-point, completion-help-at-point):
12077         Bind completion-extra-properties.
12078         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12079         * simple.el (completion-list-insert-choice-function): New var.
12080         (completion-setup-function): Preserve it.
12081         (choose-completion): Pay attention to it, shuffle the code a bit.
12082         (choose-completion-string): New arg `insert-function'.
12084         * textmodes/bibtex.el: Convert to lexical binding.
12085         (bibtex-mode-map): Use completion-at-point.
12086         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12087         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12088         (bibtex-complete): Define as obsolete alias.
12089         (bibtex-complete-internal): Remove.
12090         (bibtex-format-entry): Remove unused sub-group in regexp.
12091         * shell.el (shell--command-completion-data)
12092         (shell-environment-variable-completion):
12093         * pcomplete.el (pcomplete-completions-at-point):
12094         * comint.el (comint--complete-file-name-data): Use :exit-function
12095         instead of completion-table-with-terminator so it also works for
12096         choose-completion.
12098 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12100         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12102         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12103         (bug#8710).
12105         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12107 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
12109         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12110         customization variable and implement: If non-nil, auto-fill will
12111         be inhibited while on topic's header line.
12113 2011-05-23  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
12115         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12116         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
12117         always have a solution in grid size = 5 cases.
12118         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12119         (5x5-solver-output, 5x5-log-buffer): New vars.
12120         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12121         Make these variables buffer local to achieve 5x5 multi-session-ness.
12122         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12123         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12124         (5x5-solve-suggest): New funs.
12125         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12126         randomize a grid so that we ensure that there is always a solution.
12127         (5x5-make-random-grid): Allow other movement than flipping.
12129 2011-05-23  Kevin Ryde  <user42@zip.com.au>
12131         * emacs-lisp/advice.el (ad-read-advised-function):
12132         Use `function-called-at-point' as the default, if it has
12133         advice and passes PREDICATE.
12135 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12137         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12138         byte-compile-lambda if it's actually a lambda.
12140         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12141         Fix function quoting.  Use backquote better.
12143 2011-05-22  Yuanle Song  <sylecn@gmail.com>
12145         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12146         matching (Bug#8516).
12148 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
12150         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12151         different face (Bug#8178).
12153 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
12155         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12156         defface (Bug#8144).
12158 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12160         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12161         funcall as well (bug#8712).  Warn when performing those conversions.
12162         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12164         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12166 2011-05-22  Glenn Morris  <rgm@gnu.org>
12168         * files.el (hack-local-variables-prop-line): Small simplifications.
12169         (hack-local-variables, hack-local-variables-prop-line):
12170         If MODE-ONLY, return the mode, rather than just `t'.
12172 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12174         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12176 2011-05-21  Glenn Morris  <rgm@gnu.org>
12178         * files.el (hack-local-variables-prop-line, hack-local-variables):
12179         If only interested in the mode, don't bother doing the other stuff.
12181         * image-mode.el (image-after-revert-hook):
12182         Redraw all frames on which the image is visible.  (Bug#8567)
12184         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
12186         * wid-edit.el (widget-checklist-match-inline):
12187         Fix 2011-04-19 change.  (Bug#8649)
12189 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12191         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12192         Also allow singlespace after single-letter capitals followed by a dot.
12194         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12195         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12197 2011-05-20  Nix  <nix@esperi.org.uk>
12199         * files.el (basic-save-buffer-2):
12200         Fix handling of break-hardlink-on-save with non-existent files.
12202 2011-05-19  Deniz Dogan  <deniz@dogan.se>
12204         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12205         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12207 2011-05-19  Glenn Morris  <rgm@gnu.org>
12209         * progmodes/f90.el (f90-type-def-re):
12210         Handle "type, bind(c)".  (Bug#8691)
12212         * emacs-lisp/autoload.el (batch-update-autoloads):
12213         Set autoload-excludes by parsing loadup.el rather than Makefiles.
12215 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
12217         * net/tramp.el (tramp-process-actions): Set "first-password-request"
12218         property for the correct connection in case of multihops.
12220 2011-05-18  Glenn Morris  <rgm@gnu.org>
12222         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12223         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12225         Rationalize calendar handling of day and month abbrev-arrays.
12226         * calendar/calendar.el (calendar-customized-p): New function.
12227         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12228         (calendar-day-name-array, calendar-month-name-array): Doc fix.
12229         Add :set function.
12230         (calendar-abbrev-length, calendar-day-abbrev-array)
12231         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12232         (calendar-day-abbrev-array, calendar-month-abbrev-array):
12233         Elements may no longer be nil.
12234         (calendar-day-name, calendar-month-name):
12235         Update for changed nature of abbrev arrays.
12236         * calendar/diary-lib.el (diary-name-pattern):
12237         Update for changed nature of abbrev arrays.
12238         (diary-mark-entries-1): Update calendar-make-alist calls.
12239         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12240         * calendar/cal-html.el (cal-html-day-abbrev-array):
12241         Simply inherit from calendar-day-abbrev-array.
12243 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12245         * progmodes/grep.el (grep-mode): Disable default
12246         compilation-directory-matcher setting (bug#8684).
12248 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
12250         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12251         instead of "head" and "tail".  There were problems with SunOS 5.9,
12252         and it performs better.
12254 2011-05-17  Glenn Morris  <rgm@gnu.org>
12256         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12258         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12259         Replace obsolete function.
12261         * shell.el (pcomplete-parse-arguments-function): Declare.
12263         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12264         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12265         (appt-check): Doc fixes.
12266         (appt-disp-window-function, appt-delete-window-function):
12267         Remove needless special case in custom :type.
12268         (appt-display-count): Default to 0, not nil.
12269         (appt-check): Reset appt-display-count to 0, not nil.
12271 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
12273         * progmodes/python.el (python-font-lock-keywords):
12274         Add the Python 3.X keyword "nonlocal" (bug#8639).
12276 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12278         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12280 2011-05-16  Kevin Ryde  <user42@zip.com.au>
12282         * info-look.el (makefile-automake-mode): New setups, looking in
12283         automake manual, then makefile-mode.
12284         (makefile-mode): Remove automake manual, have it just in
12285         makefile-automake-mode since there's various things different or
12286         not relevant to plain make.
12287         (makefile-mode): Remove "other-modes" non-existent automake-mode,
12288         believe a hypothetical automake-mode would go to makefile-mode,
12289         not the other way around.
12291 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
12293         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12294         hunk-end tags (Bug#8672).
12296         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12297         vc-annotate-show-diff-revision-at-line (Bug#8671).
12299 2011-05-14  Glenn Morris  <rgm@gnu.org>
12301         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12302         in the middle of an existing one with multiple authors.  (Bug#8645)
12303         (change-log-font-lock-keywords): Also handle multiple author lines
12304         with leading tabs.  (Bug#8644)
12306         * calendar/appt.el (appt-check): Rename some local variables.
12307         Some simplification/reordering.
12309         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12310         (feedmail-sendmail-f-doesnt-sell-me-out)
12311         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12312         (feedmail-debug-sit-for, feedmail-queue-express-hook)
12313         (feedmail-queue-runner-message-sender): Set :version.
12314         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12315         (bbdb-dwim-net-address, vm-mail): Declare.
12316         (feedmail-binmail-gnulinuxish-template):
12317         Rename from feedmail-binmail-linuxish-template.
12318         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12319         Use insert-buffer-substring.
12321 2011-05-14  Bill Carpenter  <bill@carpenter.org>
12323         * mail/feedmail.el (feedmail-patch-level): Increase.
12324         (feedmail-debug): New custom group.
12325         (feedmail-confirm-outgoing-timeout)
12326         (feedmail-sendmail-f-doesnt-sell-me-out)
12327         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12328         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12329         (feedmail-sender-line, feedmail-from-line)
12330         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12331         (feedmail-spray-this-address)
12332         (feedmail-spray-address-fiddle-plex-list)
12333         (feedmail-queue-use-send-time-for-date)
12334         (feedmail-queue-use-send-time-for-message-id)
12335         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12336         (feedmail-buffer-eating-function):
12337         Doc fixes.
12338         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12339         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12340         (feedmail-message-action-scroll-down): New functions.
12341         (feedmail-queue-directory, feedmail-queue-draft-directory):
12342         Use expand-file-name.
12343         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12344         Remove C-v help entry.
12345         (feedmail-queue-buffer-file-name): New variable.
12346         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12347         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12348         (feedmail-message-action-send-strong, feedmail-message-action-edit)
12349         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12350         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12351         (feedmail-message-action-toggle-spray)
12352         (feedmail-run-the-queue-no-prompts)
12353         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12354         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12355         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12356         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12357         (feedmail-envelope-deducer, feedmail-fiddle-from)
12358         (feedmail-fiddle-sender, feedmail-default-date-generator)
12359         (feedmail-fiddle-date, feedmail-fiddle-message-id)
12360         (feedmail-fiddle-spray-address)
12361         (feedmail-fiddle-list-of-spray-fiddle-plexes)
12362         (feedmail-fiddle-list-of-fiddle-plexes)
12363         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12364         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12365         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12366         Change default.  Doc fix.
12367         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12368         (feedmail-binmail-linuxish-template): New constant.
12369         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
12370         Respect feedmail-sendmail-f-doesnt-sell-me-out.
12371         (feedmail-send-it): Add debug call.
12372         Use feedmail-queue-buffer-file-name, and
12373         feedmail-send-it-immediately-wrapper.
12374         (feedmail-message-action-send): Add debug call.
12375         Use feedmail-send-it-immediately-wrapper.
12376         (feedmail-queue-express-to-queue): Add debug call.
12377         Run feedmail-queue-express-hook.
12378         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
12379         (feedmail-message-action-help-blat):
12380         Rename from feedmail-queue-send-edit-prompt-help-first.
12381         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
12382         Check line-endings.  Handle errors better.
12383         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12384         Doc fix.  Add debug call.
12385         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
12386         Use feedmail-queue-send-edit-prompt-inner.
12387         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12388         (feedmail-queue-send-edit-prompt-inner): New function, extracted
12389         from feedmail-queue-send-edit-prompt.
12390         (feedmail-queue-send-edit-prompt-help)
12391         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12392         (feedmail-tidy-up-slug): Add debug call.
12393         Respect feedmail-queue-slug-suspect-regexp.
12394         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12395         (feedmail-dump-message-to-queue): Add debug call.
12396         Expand queue-directory.
12397         (feedmail-dump-message-to-queue): Change message slightly.
12398         Use feedmail-say-chatter.
12399         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
12400         (feedmail-send-it-immediately-wrapper): New function.
12401         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
12402         Insert empty string rather than newline.  Handle full-frame case.
12403         Use catch/throw.  Use feedmail-say-chatter.
12404         (feedmail-fiddle-from): Try mail-host-address.
12405         (feedmail-default-message-id-generator): Doc fix.
12406         Bind system-time-locale.  Handle missing end.
12407         (feedmail-fiddle-x-mailer): Add debug call.
12408         Handle feedmail-x-mailer-line being nil.
12409         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12410         Add debug call.  Use buffer-substring-no-properties.
12411         (feedmail-say-debug, feedmail-say-chatter): New functions.
12412         (feedmail-find-eoh): Give an explicit error.
12414 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
12416         * net/newst-treeview.el (newsticker-treeview-face): Change default
12417         family from helvetica to sans.
12418         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12419         etc/images/newsticker.
12421         * net/newst-reader.el (newsticker-feed-face): Change default
12422         family from helvetica to sans.
12424         * net/newst-plainview.el (newsticker-new-item-face)
12425         (newsticker-old-item-face, newsticker-immortal-item-face)
12426         (newsticker-obsolete-item-face, newsticker-date-face)
12427         (newsticker-statistics-face): Change default family from
12428         helvetica to sans.
12429         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12430         etc/images/newsticker.
12432         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12433         (newsticker--process-auto-mark-filter-match): Tell user about
12434         auto-marking.
12436 2011-05-13  Didier Verna  <didier@xemacs.org>
12438         Common Lisp indentation improvements on defmethod and lambda-lists.
12439         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12440         TODO entries.
12441         (lisp-lambda-list-keyword-parameter-indentation)
12442         (lisp-lambda-list-keyword-parameter-alignment)
12443         (lisp-lambda-list-keyword-alignment): New customizable user options.
12444         (lisp-indent-defun-method): Improve docstring.
12445         (extended-loop-p): Fix comment.
12446         (lisp-indent-lambda-list-keywords-regexp): New variable.
12447         (lisp-indent-lambda-list): New function.
12448         (lisp-indent-259): Use it.
12449         (lisp-indent-defmethod): Support for more than one
12450         method qualifier and properly indent methods lambda-lists.
12451         (defgeneric): Provide a missing common-lisp-indent-function property.
12453 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12455         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12456         bounds for the empty string (bug#8667).
12458 2011-05-13  Glenn Morris  <rgm@gnu.org>
12460         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12462         * mail/sendmail.el (sendmail-program): Try executable-find first.
12463         (sendmail-send-it): `sendmail-program' cannot be unbound.
12465         * calendar/appt.el (appt-make-list): Simplify.
12466         (appt-time-msg-list): Doc fix.
12467         (appt-check): Change mode-line message at the time of the appointment.
12469 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
12471         * progmodes/ld-script.el (ld-script-keywords)
12472         (ld-script-builtins): Update keywords list.
12474 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12476         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12478         * shell.el (shell-completion-vars): New function.
12479         (shell-mode):
12480         * simple.el (read-shell-command): Use it.
12481         (blink-matching-open): No need for " [...]" in minibuffer-message.
12483 2011-05-12  Glenn Morris  <rgm@gnu.org>
12485         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12486         (appt-check): Simplify.
12488 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
12490         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12491         literal "/dev/null".
12493 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12495         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12496         Fix typo.
12498 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
12500         * progmodes/which-func.el (which-function):
12501         Use add-log-current-defun instead of add-log-current-defun-function,
12502         which might not be defined (Bug#8260).
12504 2011-05-12  Glenn Morris  <rgm@gnu.org>
12506         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12507         Let byte-compile-initial-macro-environment always take precedence.
12509 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12511         * net/rcirc.el: Add support for SSL/TLS connections.
12512         (rcirc-server-alist): New field `encryption'.
12513         (rcirc): Check `encryption' settings.
12514         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
12515         Merge make-local-variable into `set'.
12516         (rcirc--connection-open-p): New function.
12517         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12518         the process is not a network process (e.g. running gnutls-cli).
12519         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12520         Make rcirc-(en|de)code-coding-system local here.
12521         (rcirc-mode): Merge make-local-variable into `set'.
12522         (rcirc-parent-buffer): Make permanent buffer-local.
12523         (rcirc-multiline-minor-mode): Don't do it here.
12524         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12525         there's no server buffer.
12527 2011-05-11  Glenn Morris  <rgm@gnu.org>
12529         * newcomment.el (comment-kill): Prefix "unused" local.
12531         * term/w32console.el (get-screen-color): Declare.
12533         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12534         Handle symbol elements of byte-compile-initial-macro-environment.
12536 2011-05-10  Leo Liu  <sdl.web@gmail.com>
12538         * bookmark.el (bookmark-bmenu-mode-map):
12539         Bind bookmark-bmenu-search to `/'.
12541         * mail/footnote.el: Convert to utf-8 encoding.
12542         (footnote-unicode-string, footnote-unicode-regexp): New variable.
12543         (Footnote-unicode): New function.
12544         (footnote-style-alist): Add unicode style to the list.
12545         (footnote-style): Doc fix.
12547 2011-05-10  Jim Meyering  <meyering@redhat.com>
12549         Fix doubled-word typos.
12550         * international/quail.el (quail-insert-kbd-layout): and and -> and
12551         * kermit.el: and and -> and
12552         * net/ldap.el (ldap-search-internal): to to -> to
12553         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12554         * progmodes/js.el (js-mode): and and -> and
12555         * textmodes/artist.el (artist-move-to-xy): at at -> at
12556         (artist-draw-region-trim-line-endings): if if -> if
12557         And Safetyc -> Safety.
12558         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12560 2011-05-10  Glenn Morris  <rgm@gnu.org>
12561             Stefan Monnier  <monnier@iro.umontreal.ca>
12563         * files.el (hack-one-local-variable-eval-safep):
12564         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
12566 2011-05-10  Glenn Morris  <rgm@gnu.org>
12568         * calendar/diary-lib.el (diary-list-entries-hook)
12569         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12570         (diary-nongregorian-marking-hook, diary-list-entries)
12571         (diary-include-other-diary-files, diary-mark-entries)
12572         (diary-mark-included-diary-files): Doc fixes.
12574 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
12576         * misc.el: Require tabulated-list.el during compilation.
12578 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
12580         * progmodes/compile.el (compilation-start):
12581         Run compilation-filter-hook for the async case too.
12582         (compilation-filter-hook): Doc fix.
12584 2011-05-09  Deniz Dogan  <deniz@dogan.se>
12586         * wdired.el: Remove outdated installation comment.  Fix usage
12587         comment.
12589 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
12591         * misc.el: Implement new command `list-dynamic-libraries'.
12592         (list-dynamic-libraries--loaded-only-p): New variable.
12593         (list-dynamic-libraries--refresh): New function.
12594         (list-dynamic-libraries): New command.
12596 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
12598         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12599         Fix the ant regexp to handle end-line and end-column info from jikes.
12600         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
12601         higher priority to avoid clobbering by gnu.
12603 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
12605         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12606         if the face has existing theme settings (Bug#8454).
12608 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
12610         * progmodes/perl-mode.el (perl-imenu-generic-expression):
12611         Only match variables declared via `my' or `our' (Bug#8261).
12613         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12614         special file names `.' and `..' (Bug#8259).
12616 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
12618         * progmodes/grep.el (grep-mode-font-lock-keywords):
12619         Remove buffer-changing entries.
12620         (grep-filter): New function.
12621         (grep-mode): Add it to compilation-filter-hook.
12623         * progmodes/compile.el (compilation-filter-hook)
12624         (compilation-filter-start): New defvars.
12625         (compilation-filter): Call compilation-filter-hook prior to
12626         updating the process mark.
12628 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12630         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12632 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
12634         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12635         mailclient-send-it even if window-system is nil.  (Bug#8595)
12637         * term/w32console.el (terminal-init-w32console):
12638         Call get-screen-color and use its output to set the frame
12639         background-mode.  (Bug#8597)
12641 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12643         Make bytecomp.el understand that defmethod defines funs (bug#8631).
12644         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12645         New functions.
12646         (defgeneric, eieio--defmethod): Use them.
12647         (eieio-defgeneric): Remove.
12648         (defmethod): Call defgeneric in a way visible to the byte-compiler.
12650 2011-05-07  Glenn Morris  <rgm@gnu.org>
12652         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12653         Use let rather than let*.
12654         (timeclock-find-discrep): Remove unused local.
12656         * calendar/diary-lib.el (diary-comment-start): Doc fix.
12658         * calendar/appt.el (appt-time-msg-list): Doc fix.
12660 2011-05-06  Noah Friedman  <friedman@splode.com>
12662         * apropos.el (apropos-print-doc): Only use
12663         emacs-lisp-docstring-fill-column when it is bound to an integer,
12664         per that variable's documentation.
12666 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12668         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12669         and warnings are not silently discarded (e.g. use -d instead of -P).
12671 2011-05-06  Glenn Morris  <rgm@gnu.org>
12673         * calendar/appt.el (appt-message-warning-time): Doc fix.
12674         (appt-warning-time-regexp): New option.
12675         (appt-make-list): Respect appt-message-warning-time.
12677         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12678         New options.
12679         (diary-add-to-list): Strip comments from the displayed string.
12680         (diary-mode): Set comment-start and comment-end.
12682         * vc/diff-mode.el (smerge-refine-subst): Declare.
12683         (diff-refine-hunk): Don't require smerge-mode when compiling.
12685 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
12687         * simple.el (list-processes): Return nil as the docstring says.
12689 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
12691         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12692         to "".
12693         (ange-ftp-write-region, ange-ftp-insert-file-contents)
12694         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12695         determining of binary transfer.  (Bug#7383)
12697 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
12699         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12700         Fix port computation bug.  (Bug#8618)
12702 2011-05-05  Glenn Morris  <rgm@gnu.org>
12704         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12706         * simple.el (shell-dynamic-complete-functions)
12707         (comint-dynamic-complete-functions): Declare.
12709         * net/network-stream.el (gnutls-negotiate):
12710         * simple.el (tabulated-list-print): Fix declarations.
12712         * progmodes/gud.el (syntax-symbol, syntax-point):
12713         Remove unnecessary and incorrect declarations.
12715         * emacs-lisp/check-declare.el (check-declare-scan):
12716         Handle byte-compile-initial-macro-environment in bytecomp.el
12718 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12720         Fix earlier half-done eieio-defmethod change (bug#8338).
12721         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12722         Streamline and change calling convention.
12723         (defmethod): Adjust accordingly and simplify.
12724         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12725         new eieio--defmethod.
12726         (slot-boundp): Minor CSE simplification.
12728 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
12730         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12731         (glasses-make-readable): Use glasses-separate-capital-groups.
12733 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
12735         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12736         (warning-series): Doc fix.
12737         (display-warning): Don't try to create the buffer if we just found it.
12739 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
12741         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12742         (autoload-find-generated-file): New function.
12743         (generate-file-autoloads): Bind generated-autoload-file to
12744         buffer-file-name.
12745         (update-file-autoloads, update-directory-autoloads):
12746         Use autoload-find-generated-file.  If called interactively, prompt for
12747         output file (Bug#7989).
12748         (batch-update-autoloads): Doc fix.
12750 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
12752         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12754 2011-05-04  Glenn Morris  <rgm@gnu.org>
12756         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12757         function, so it follows changes in calendar-date-style.
12758         (diary-fancy-date-matcher): New function.
12759         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12760         (diary-fancy-font-lock-fontify-region-function):
12761         Use diary-fancy-date-pattern as a function.
12763         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12764         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
12766 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
12768         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12769         instead of positional arguments.  Allow :keylist and :crlfiles
12770         arguments.
12771         (open-gnutls-stream): Call it.
12773         * net/network-stream.el (network-stream-open-starttls): Adjust to
12774         call `gnutls-negotiate' with :process and :hostname arguments.
12776 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12778         * minibuffer.el (completion--message): New function.
12779         (completion--do-completion, minibuffer-complete)
12780         (minibuffer-force-complete, minibuffer-complete-word): Use it.
12781         (completion--do-completion): Don't ignore completion-auto-help when in
12782         icomplete-mode.
12784         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12785         internal encoding (e.g. tibetan zero is not whitespace).
12786         (global-whitespace-mode): Prefer save-current-buffer.
12787         (whitespace-trailing-regexp): Remove useless save-match-data.
12788         (whitespace-empty-at-bob-regexp): Minor simplification.
12790 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
12792         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12794 2011-05-03  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
12796         * textmodes/ispell.el (ispell-add-per-file-word-list):
12797         Use `concat' to create string for insertion.
12799 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12801         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12802         Avoid open-line which runs post-self-insert-hook.
12803         (bibtex-fill-entry): Remove unused `end' var.
12805 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
12807         * textmodes/ispell.el (ispell-add-per-file-word-list):
12808         Protect against `nil' value of `comment-start' (Bug#8579).
12810 2011-05-03  Leo Liu  <sdl.web@gmail.com>
12812         * isearch.el (isearch-yank-pop): New command.
12813         (isearch-mode-map): Bind it to `M-y'.
12814         (isearch-forward): Mention it.
12816 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12818         * simple.el (minibuffer-complete-shell-command): Remove.
12819         (minibuffer-local-shell-command-map): Use completion-at-point.
12820         (read-shell-command): Setup completion vars here instead.
12821         (read-expression-map): Bind TAB to symbol completion.
12823         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12824         error directly rather via storing it into `results'.
12826 2011-05-02  Leo Liu  <sdl.web@gmail.com>
12828         * vc/diff.el: Fix description.
12830 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12832         * server.el (server-eval-at): New function.
12834 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12836         * net/network-stream.el (open-network-stream): Take a :nowait
12837         parameter and pass it on to `make-network-process'.
12838         (network-stream-open-plain): Ditto.
12840 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
12842         * faces.el (face-spec-set-match-display): Don't match toolkit
12843         options on terminal frames.
12845 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12847         * progmodes/pascal.el: Use lexical binding.
12848         (pascal-mode-map): Remove author preferences.
12850         * pcomplete.el (pcomplete-std-complete): Don't abuse
12851         completion-at-point.
12853 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
12855         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12856         removing code that has been dead since 1991 or so.
12858         * startup.el (command-line): When warning about "_emacs", use a
12859         delayed warning to allow the user to filter it out.
12861 2011-04-28  Deniz Dogan  <deniz@dogan.se>
12863         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12864         user has not joined.
12866 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12868         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12869         aren't any completions at point.
12871 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
12873         * subr.el (display-delayed-warnings): New function.
12874         (delayed-warnings-hook): New variable.
12876 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12878         * minibuffer.el (completion-at-point, completion-help-at-point):
12879         Don't presume that a given completion-at-point-function will always
12880         use the same calling convention.
12882         * pcomplete.el (pcomplete-completions-at-point):
12883         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
12884         pcomplete-seen is non-nil.
12885         (pcomplete-comint-setup): Also recognize the new comint/shell
12886         completion functions.
12887         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12888         pcomplete-seen is non-nil.
12890 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
12892         * calendar/icalendar.el (diary-lib): Add require statement.
12893         (icalendar--create-uid): Read out a uid from a text-property on
12894         the first character in the entry.  This allows for code to add its
12895         own uid to the entry.
12896         (icalendar--convert-float-to-ical): Add export of
12897         `diary-float'-entries save for those with the optional DAY
12898         argument.
12900 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
12902         * subr.el (shell-quote-argument): Use alternate escaping strategy
12903         when we spot a variable reference in a string.
12905 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
12907         * cus-start.el (all): Define customization for debug-on-event.
12909 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
12911         * subr.el (shell-quote-argument): Escape correctly under Windows.
12913 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12915         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12917 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
12919         * net/tramp.el (tramp-process-actions): Add POS argument.
12920         Delete region between POS and (pos).
12922         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12923         Use `nil' position in `tramp-process-actions' call.
12924         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12926         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12927         position in `tramp-process-actions' call.
12929         * net/trampver.el: Update release number.
12931 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12933         * custom.el (defcustom): Obey lexical-binding.
12935         Fix octave-inf completion problems reported by Alexander Klimov.
12936         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12937         Inherit from octave-mode-syntax-table.
12938         (inferior-octave-mode): Set info-lookup-mode.
12939         (inferior-octave-completion-at-point): New function.
12940         (inferior-octave-complete): Use it and completion-in-region.
12941         (inferior-octave-dynamic-complete-functions): Use it as well, and use
12942         comint-filename-completion.
12943         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12944         symbol elements which shouldn't be word elements.
12945         (octave-font-lock-keywords, octave-beginning-of-defun)
12946         (octave-function-header-regexp): Adjust regexps accordingly.
12947         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12949 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
12951         * net/gnutls.el (gnutls-errorp): Declare before first use.
12953 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
12955         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12956         verify-error, and verify-hostname-error parameters.  Check whether
12957         default trustfile exists before going to use it.  Add missing
12958         argument to gnutls-message-maybe call.  Return value.
12959         Reported by Claudio Bley <claudio.bley@gmail.com>.
12960         (open-gnutls-stream): Add usage example.
12962         * net/network-stream.el (network-stream-open-starttls): Give host
12963         parameter to `gnutls-negotiate'.
12964         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12965         * subr.el (shell-quote-argument): Escape correctly under Windows.
12967 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
12969         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12970         Use correct match group (bug#8438).
12972 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
12974         * emacs-lisp/package.el (package-built-in-p): Fix typo.
12975         (package-menu--generate): New arg specifying packages to show.
12976         (package-menu-refresh, package-menu-execute, list-packages):
12977         Callers changed.
12978         (package-show-package-list): New function, replacing deleted
12979         package--list-packages (renamed because it is non-internal).
12981         * finder.el (finder-list-matches): Use package-show-package-list
12982         instead of deleted package--list-packages.
12984         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12985         Based on a previous implementation by Juanma Barranquero (Bug#8366).
12986         (vc-annotate-mode-map): Bind it to RET.
12988 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
12990         * progmodes/etags.el (next-file): Don't use set-buffer to change
12991         buffers (Bug#8478).
12993 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
12995         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12997         * apropos.el (apropos-label-face): Avoid variable-pitch face.
12998         (apropos-accumulator): Doc fix.
12999         (apropos-function, apropos-macro, apropos-command)
13000         (apropos-variable, apropos-face, apropos-group, apropos-widget)
13001         (apropos-plist): Add face property.
13002         (apropos-symbols-internal): Fix indentation.
13003         (apropos-print): Simplify help, and recognize apropos-multi-type.
13004         (apropos-print-doc): Use button-type-get to extract the button's
13005         face property.  Fill docstring (Bug#8352).
13007 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
13009         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13011         * play/mpuz.el (mpuz-silent): Doc fix.
13012         (mpuz-mode-map): Use mapc.
13013         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13014         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13015         Fix typos in docstrings.
13017         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13018         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13020         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13022 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
13024         * minibuffer.el (completion--do-completion): Avoid the "Next char
13025         not unique" prompt if icomplete-mode is enabled (Bug#5849).
13027         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13028         mouse-2 into unread-command-events, it is interpreted correctly.
13030         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13031         (image-toggle-display): Doc fix.
13033 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
13035         * textmodes/page.el (what-page): Use line-number-at-pos to
13036         calculate line number (Bug#6825).
13038 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
13040         * eshell/esh-mode.el (find-tag-interactive): Declare function.
13041         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13042         Pass argument NO-DEFAULT to `find-tag-interactive'.
13044 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
13046         Lexical-binding cleanup.
13048         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13049         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13050         * progmodes/ada-prj.el (ada-prj-initialize-values)
13051         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13052         (ada-prj-show-value):
13053         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13054         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13055         (antlr-invalidate-context-cache, antlr-options-menu-filter)
13056         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13057         * progmodes/bug-reference.el (bug-reference-push-button):
13058         * progmodes/fortran.el (fortran-line-length):
13059         * progmodes/glasses.el (glasses-change):
13060         * progmodes/octave-mod.el (octave-fill-paragraph):
13061         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13062         (python-pdbtrack-grub-for-buffer, python-sentinel):
13063         * progmodes/sql.el (sql-save-connection):
13064         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13065         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13066         Mark unused parameters.
13068         * progmodes/compile.el (compilation--flush-directory-cache)
13069         (compilation--flush-parse, compile-internal): Mark unused parameters.
13070         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13071         (compilation-next-error-function): Remove unused variable `timestamp'.
13073         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13074         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13076         * progmodes/dcl-mode.el (dcl-end-of-command):
13077         Remove unused variable `start'.
13078         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13079         (dcl-option-value-basic, dcl-option-value-offset)
13080         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13081         Mark unused parameters.
13082         (dcl-save-local-variable): Remove unused variable `val'.
13083         (mode): Declare.
13085         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13086         Mark unused parameters.
13087         (delphi-ignore-changes): Move before first use.
13088         (delphi-charset-token-at): Remove unused variable `start'.
13089         (delphi-else-start): Remove unused variable `if-count'.
13090         (delphi-comment-block-start, delphi-comment-block-end):
13091         Remove unused variable `kind'.
13092         (delphi-indent-line): Remove unused variable `new-point'.
13094         * progmodes/ebrowse.el (ebrowse-files-list)
13095         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13096         Mark unused parameters.  Don't quote `lambda'.
13097         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13098         Don't quote `lambda'.
13099         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13100         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13101         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13102         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13103         Use `ignore-errors'.
13104         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13105         (ebrowse-view/find-file-and-search-pattern)
13106         (ebrowse-view/find-member-declaration/definition):
13107         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13108         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13109         Rename parameter PREFIX-ARG to PREFIX.
13110         (ebrowse-tags-read-name): Remove unused variables `start' and
13111         `member-info'.
13112         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13113         to `tags-file'.
13115         * progmodes/etags.el (local-find-tag-hook): Declare.
13116         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13117         Mark unused parameters.
13119         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13120         (executable-interpret): Mark unused parameter.
13122         * progmodes/flymake.el (flymake-process-sentinel)
13123         (flymake-after-change-function)
13124         (flymake-create-temp-with-folder-structure)
13125         (flymake-get-include-dirs-dot): Mark unused parameters.
13126         (flymake-safe-delete-directory): Remove unused variable `err'.
13128         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13129         (speedbar-timer-fn, speedbar-line-text)
13130         (speedbar-change-expand-button-char, speedbar-delete-subblock)
13131         (speedbar-center-buffer-smartly): Declare functions.
13132         (gdb-find-watch-expression): Remove unused variable `array'.
13133         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13134         (gdb-starting): Mark unused parameters.
13135         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13136         (gdb-table-string): Remove unused variable `res'.
13137         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13138         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13139         (gdb-display-buffer): Remove unused variable `cur-size'.
13141         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13142         allow lexical-binding compilation.
13143         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13144         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13145         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13146         Mark unused parameters.
13147         (gud-gdb-marker-filter): Remove unused variable `match'.
13148         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13149         lambda expressions and funcall them, instead of using `fset'.
13151         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13152         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13154         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13155         variable `header-beg'; use `let'.
13157         * progmodes/icon.el (indent-icon-exp): Remove unused variables
13158         `restart', `last-sexp' and `at-do'.
13160         * progmodes/js.el (js--debug): Mark unused parameter.
13161         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13162         (js--splice-into-items): Remove unused variable `item'.
13163         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13165         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13166         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13167         (makefile-complete): Remove unused variable `try'.
13168         (makefile-fill-paragraph, makefile-match-function-end):
13169         Mark unused parameters.
13171         * progmodes/octave-inf.el (inferior-octave-complete):
13172         Remove unused variable `proc'.
13173         (inferior-octave-output-digest): Mark unused parameter.
13175         * progmodes/perl-mode.el (perl-calculate-indent):
13176         Remove unused variable `err'.
13178         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13179         (prolog-indent-line): Mark unused parameters.
13180         (prolog-indent-line): Remove unused variable `beg'.
13182         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13183         (reporter-dont-compact-list): Declare.
13185         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13186         Remove unused variable `char'.
13187         (sh-debug): Mark unused parameter.
13188         (sh-get-indent-info): Remove unused variable `start'.
13189         (sh-calculate-indent): Remove unused variable `var'.
13191         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13192         (simula-electric-keyword): Remove unused variable `null'.
13193         (simula-search-backward, simula-search-forward): Remove unused
13194         variables `begin' and `end'.
13196         * progmodes/vera-mode.el (vera-guess-basic-syntax):
13197         Remove unused variable `pos'.
13198         (vera-electric-tab, vera-comment-uncomment-region):
13199         Mark unused parameters.
13200         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13202 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
13204         * emacs-lisp/package.el (package--builtins, package-alist)
13205         (package-load-descriptor, package-built-in-p, package-activate)
13206         (define-package, package-installed-p)
13207         (package-compute-transaction, package-buffer-info)
13208         (package--push): Doc fix.  Distinguish more clearly between
13209         version strings and version lists.
13211 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
13213         Lexical-binding cleanup.
13215         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13216         (5x5-make-mutate-best):
13217         * play/fortune.el (fortune-in-buffer):
13218         * play/gomoku.el (gomoku-init-display):
13219         * play/solitaire.el (solitaire, solitaire-do-check):
13220         * play/tetris.el (tetris-default-update-speed-function):
13221         Mark unused parameters.
13223         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13224         (bubbles--shift): Remove unused variable `char-org'.
13225         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
13226         (bubbles--show-images): Remove unused variable `char'.
13228         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13229         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13230         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13231         (decipher-analyze-buffer): Use ?\s.
13232         (decipher-make-checkpoint): Remove unused variable `mapping'.
13234         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13236         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13237         Remove unused variable `result'; use `let'.
13239         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13240         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13241         (gametree-children-shown-p, gametree-compute-reduced-score):
13242         Use `ignore-errors'.
13244         * play/handwrite.el (ps-lpr-switches): Declare.
13245         (handwrite): Remove unused variables `pmin' and `lastp'.
13247         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13249         * play/landmark.el (landmark-init-display)
13250         (landmark-update-naught-weights): Mark unused parameters.
13251         (landmark-y): Remove unused variable `noise'.  Simplify.
13252         (landmark-human-plays): Remove unused variable `score'.
13254         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13255         (mpuz-try-proposal): Remove unused variable `game'.
13257         * play/zone.el (life-patterns): Declare.
13259 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
13261         * vc/vc.el (ediff-vc-internal): Declare function.
13263 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13265         * shell.el: Use lexical-binding and std completion UI.
13266         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13267         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13268         comint-preoutput-filter-functions rather than on
13269         comint-output-filter-functions.
13270         (shell-command-completion, shell--command-completion-data)
13271         (shell-filename-completion, shell-environment-variable-completion)
13272         (shell-c-a-p-replace-by-expanded-directory): New functions.
13273         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13274         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13275         (shell-dynamic-complete-environment-variable): Use them.
13276         (shell-dynamic-complete-as-environment-variable)
13277         (shell-dynamic-complete-as-command): Remove.
13278         (shell-match-partial-variable): Match past point.
13279         * comint.el: Clean up use of completion-at-point-functions.
13280         (comint-completion-at-point): New function.
13281         (comint-mode): Use it completion-at-point-functions.
13282         (comint-dynamic-complete): Make it obsolete.
13283         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13284         (comint-c-a-p-replace-by-expanded-history): New function.
13285         (comint-dynamic-complete-functions)
13286         (comint-replace-by-expanded-history): Use it.
13287         * minibuffer.el (completion-table-with-terminator): Allow dynamic
13288         termination strings.  Try harder to avoid second try-completion.
13289         (completion-in-region-mode-map): Disable bindings that don't work yet.
13291         * comint.el: Use lexical-binding.  Require CL.
13292         (comint-dynamic-complete-functions): Use comint-filename-completion.
13293         (comint-completion-addsuffix): Tweak custom type.
13294         (comint-filename-completion, comint--common-suffix)
13295         (comint--common-quoted-suffix, comint--table-subvert)
13296         (comint--complete-file-name-data): New functions.
13297         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13298         (comint-dynamic-list-filename-completions): Use them.
13299         (comint-dynamic-simple-complete): Make obsolete.
13301         * minibuffer.el (completion-in-region-mode):
13302         Keep completion-in-region-mode--predicate global.
13303         (completion-in-region--postch):
13304         Assume completion-in-region-mode--predicate is not null.
13306         * progmodes/flymake.el (flymake-start-syntax-check-process):
13307         Obey `dir'.  Simplify.
13309         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13310         we're in VC after all.
13312 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
13314         * vc/vc.el (vc-diff-build-argument-list-internal)
13315         (vc-version-ediff, vc-ediff): New commands.
13316         (vc-version-diff): Use vc-diff-build-argument-list-internal.
13318 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13320         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13321         add sanity check.
13323         * obsolete/erc-hecomplete.el: Make obsolete.
13324         * obsolete/: Standardize obsolescence info in the header.
13326 2011-04-20  Glenn Morris  <rgm@gnu.org>
13328         * calendar/solar.el (solar-horizontal-coordinates):
13329         Use the longitude argument rather than `calendar-longitude'.
13330         (solar-date-next-longitude): Remove unused locals.
13332 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13334         * whitespace.el: New version 13.2.1.
13336 2011-04-20  felix  <EmacsWiki>  (tiny change)
13338         * whitespace.el (global-whitespace-mode): Keep highlight when
13339         switching between major modes on a file.
13341 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13343         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13344         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13345         multi-line comments as well.
13347 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
13349         Lexical-binding cleanup.
13351         * arc-mode.el (archive-mode-revert):
13352         * cmuscheme.el (scheme-interactively-start-process):
13353         * custom.el (custom-initialize-delay):
13354         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13355         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13356         * emacs-lock.el (emacs-lock-clear-sentinel):
13357         * ezimage.el (defezimage):
13358         * follow.el (follow-avoid-tail-recenter):
13359         * fringe.el (set-fringe-mode-1):
13360         * generic-x.el (bat-generic-mode-compile):
13361         * help-mode.el (help-info-variable, help-do-xref)
13362         (help-mode-revert-buffer):
13363         * help.el (view-emacs-todo):
13364         * iswitchb.el (iswitchb-completion-help):
13365         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13366         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13367         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13368         * locate.el (locate-update):
13369         * longlines.el (longlines-encode-region)
13370         (longlines-after-change-function):
13371         * outline.el (outline-isearch-open-invisible):
13372         * ps-def.el (declare-function, charset-dimension, char-width)
13373         (encode-char):
13374         * ps-mule.el (ps-mule-plot-string):
13375         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13376         (recentf-edit-list-select, recentf-edit-list-validate)
13377         (recentf-open-files-action):
13378         * rect.el (delete-whitespace-rectangle-line)
13379         (rectangle-number-line-callback):
13380         * register.el (window-configuration-to-register)
13381         (frame-configuration-to-register):
13382         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13383         * select.el (xselect-convert-to-string, xselect-convert-to-length)
13384         (xselect-convert-to-targets, xselect-convert-to-delete)
13385         (xselect-convert-to-filename, xselect-convert-to-charpos)
13386         (xselect-convert-to-lineno, xselect-convert-to-colno)
13387         (xselect-convert-to-os, xselect-convert-to-host)
13388         (xselect-convert-to-user, xselect-convert-to-class)
13389         (xselect-convert-to-name, xselect-convert-to-integer)
13390         (xselect-convert-to-atom, xselect-convert-to-identity):
13391         * subr.el (declare, ignore, process-kill-without-query)
13392         (text-clone-maintain):
13393         * terminal.el (te-get-char, te-tic-sentinel):
13394         * tool-bar.el (tool-bar-make-keymap):
13395         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13396         * type-break.el (type-break-mode, type-break-noninteractive-query):
13397         * view.el (View-back-to-mark):
13398         * wid-browse.el (widget-browse-action, widget-browse-widget)
13399         (widget-browse-widgets, widget-browse-sexp):
13400         * widget.el (define-widget-keywords):
13401         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13402         Mark unused parameters.
13404         * align.el (align-adjust-col-for-rule): Mark unused parameter.
13405         (align-areas): Remove unused variable `look'.
13406         (align-region): Remove unused variables `real-end' and `pos-list'.
13408         * apropos.el (apropos-score-doc): Remove unused variable `i'.
13410         * bindings.el (mode-line-modified, mode-line-remote):
13411         Mark unused parameters.
13412         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13414         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13415         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13417         * comint.el (comint-history-isearch-pop-state)
13418         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13419         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13420         (comint-substitute-in-file-name): Doc fix.
13422         * completion.el (cmpl-statistics-block): Mark unused parameter.
13423         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13424         (save-completions-to-file, load-completions-from-file):
13425         Remove unused local variable `e'.
13427         * composite.el (compose-chars): Remove unused variable `len'.
13428         (lgstring-insert-glyph): Remove unused variable `g'.
13429         (compose-glyph-string): Remove unused variables `ascent',
13430         `descent', `lbearing' and `rbearing'.
13431         (compose-glyph-string-relative): Remove unused variables
13432         `lbearing', `rbearing' and `wadjust'.
13433         (compose-gstring-for-graphic): Remove unused variables `header',
13434         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
13435         (compose-gstring-for-terminal): Remove unused variables `header'
13436         and `nchars'.  Use `let', not `let*'.
13438         * cus-edit.el (Custom-set, Custom-save, custom-reset)
13439         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13440         (Custom-buffer-done, custom-buffer-create-internal)
13441         (custom-browse-visibility-action, custom-browse-group-tag-action)
13442         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13443         (widget-magic-mouse-down-action, custom-toggle-parent)
13444         (custom-add-parent-links, custom-toggle-hide-variable)
13445         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13446         (custom-toggle-hide-face, face, hook, custom-group-link-action)
13447         (custom-face-menu-create, custom-variable-menu-create, get)
13448         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13449         (custom-reset-standard-save-and-update): Remove unused variable `value'.
13450         (customize-apropos): Remove unused variable `tests'.
13451         (custom-group-value-create): Remove unused variable `hidden-p'.
13452         (sort-fold-case): Declare.
13454         * cus-theme.el (custom-reset-standard-faces-list)
13455         (custom-reset-standard-variables-list): Declare.
13456         (customize-create-theme, custom-theme-revert, custom-theme-write)
13457         (custom-theme-choose-mode, customize-themes, custom-theme-save):
13458         Mark unused parameters.
13460         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13462         * delim-col.el (delimit-columns-max): Move defvar before first use.
13464         * descr-text.el (describe-char-categories): Don't quote `lambda'.
13465         (describe-char): Don't quote `lambda'.  Mark unused parameter.
13467         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13468         (auto-insert): Declare.
13469         (desktop-restore-file-buffer): Rename desktop-* parameters;
13470         mark unused ones.
13471         (desktop-create-buffer): Rename desktop-* parameters and bind them.
13472         (desktop-buffer): Rename desktop-* parameters.
13474         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13475         (dframe-reposition-frame-xemacs, dframe-help-echo)
13476         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13477         Mark unused parameters.
13479         * dired-aux.el (backup-extract-version-start, overwrite-query)
13480         (overwrite-backup-query, rename-regexp-query)
13481         (rename-non-directory-query): Declare.
13482         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13483         (dired-add-entry): Remove unused variable `orig-file-name'.
13484         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13485         Use parameter PRESERVE-TIME instead of accessing dynamic variable
13486         `dired-copy-preserve-time' directly.
13487         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13488         (dired-insert-subdir-newpos): Rename unused variable `pos'.
13490         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13491         (dired-virtual-revert, dired-make-relative-symlink):
13492         Mark unused parameters.
13493         (manual-program): Declare.
13494         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13495         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13496         wrapped in `with-no-warnings' to avoid replacing one warning by another.
13498         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13500         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13502         * echistory.el (electric-history-in-progress, Helper-return-blurb):
13503         Declare.
13505         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13507         * electric.el (Electric-command-loop): Rename parameter
13508         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13510         * expand.el (expand-in-literal): Remove unused variable `here'.
13512         * facemenu.el (facemenu-add-new-color):
13513         Remove unused variable `docstring'.
13515         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13516         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13517         (face-attr-construct): Mark unused parameter.  Doc fix.
13518         (read-color): Remove unused variable `hex-string'.
13520         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13521         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13522         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13523         (display-buffer-other-frame): Remove unused variable `old-window'.
13524         (kill-buffer-hook): Declare.
13525         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13526         Mark unused parameters.
13527         (after-find-file): Pass 1 to `auto-save-mode', not t.
13529         * files-x.el (auto-insert): Declare.
13530         (modify-file-local-variable-prop-line): Remove unused variable `val'.
13532         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13533         variable `buf'.  Mark unused parameter.
13534         (find-lisp-insert-directory): Mark unused parameter.
13536         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13537         (format-encode-region): Remove unused variables `cur-buf' and `result'.
13538         (format-common-tail): Remove, unused.
13539         (format-deannotate-region): Remove unused variable `loc'.
13540         (format-annotate-region): Remove unused variable `p'.
13541         (format-annotate-single-property-change): Remove unused variables
13542         `default' and `tail'.
13544         * forms.el (read-file-filter): Declare.
13545         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13547         * frame.el (frame-creation-function-alist): Mark unused parameter.
13548         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13550         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13551         Remove unused parameters.
13552         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13553         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13555         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13556         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13557         (hfy-prepare-tag-map): Mark unused parameters.
13558         (htmlfontify-buffer): Use `called-interactively-p'.
13560         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13561         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13562         (ibuffer-do-occur): Mark unused parameters.
13563         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13564         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13566         * ibuffer.el: Don't quote `lambda'.
13567         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13568         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13569         Mark unused parameters.
13571         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13572         (ido-completing-read): Mark unused parameters.
13573         (ido-copy-current-word): Mark unused parameters;
13574         remove unused variable `name'.
13575         (ido-sort-merged-list): Remove unused parameter `dirs'.
13577         * ielm.el (ielm-input-sender): Mark unused parameter.
13578         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13579         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13580         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13581         `ielm-string' as a dynamic variable accessible from the IELM prompt.
13582         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
13584         * image-dired.el (image-dired-display-thumbs): Remove unused
13585         variables `curr-file' and `count'.
13586         (image-dired-remove-tag): Remove unused variable `start'.
13587         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13588         variable `curr-file'
13589         (image-dired-rotate-original): Remove unused variable `temp-file'.
13590         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13591         Remove unused variable `file'.
13592         (image-dired-gallery-generate): Remove unused variable `curr'.
13593         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13595         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13597         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13599         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13601         * isearch.el (minibuffer-history-symbol): Declare.
13602         (isearch-edit-string): Remove unused variable `err'.
13603         (isearch-message-prefix, isearch-message-suffix):
13604         Mark unused parameters.
13606         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13608         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13610         * makesum.el (double-column): Remove unused variable `cnt'.
13612         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13613         (ido-ignore-item-temp-list): Declare.
13615         * mouse-drag.el (mouse-drag-throw): Remove unused variables
13616         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13617         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13618         (mouse-drag-drag): Remove unused variables `mouse-delta' and
13619         `mouse-col-delta'.
13621         * mouse-sel.el (mouse-extend-internal):
13622         Remove unused variable `orig-window-frame'.
13624         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13625         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13626         Move declarations before first use.
13627         (pcomplete-opt): Mark unused parameters; doc fix.
13629         * proced.el (proced-revert): Mark unused parameter.
13630         (proced-send-signal): Remove unused variable `err'.
13632         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13633         Rename parameter PREFIX-ARG to ARG.
13634         (ps-basic-plot-string, ps-basic-plot-whitespace):
13635         Mark unused parameters.
13637         * replace.el (replace-count): Define.
13638         (occur-revert-function): Mark unused parameters.
13639         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13640         (isearch-case-fold-search, isearch-string): Declare.
13641         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13642         bind `case-fold-search'.  Remove unused variables `beg' and `end',
13643         and simplify.
13644         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13645         COUNT and bind `replace-count'.
13646         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13647         to COUNT.
13649         * savehist.el (print-readably, print-string-length): Declare.
13651         * shadowfile.el (shadow-expand-cluster-in-file-name):
13652         Remove unused variable `cluster'.
13653         (shadow-copy-file): Remove unused variable `i'.
13654         (shadow-noquery, shadow-clusters, shadow-site-cluster)
13655         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13656         (shadow-define-literal-group, shadow-define-regexp-group)
13657         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13659         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13660         (shell): Use `called-interactively-p'.
13661         (shell-directory-tracker): Remove unused variable `chdir-failure'.
13663         * simple.el (compilation-context-lines, comint-file-name-quote-list)
13664         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13665         (delete-backward-char): Remove unused variable `ocol'.
13666         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13667         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13668         (event-apply-hyper-modifier, event-apply-shift-modifier)
13669         (event-apply-control-modifier, event-apply-meta-modifier):
13670         Mark unused parameters.
13671         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13672         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13674         * speedbar.el (speedbar-ignored-directory-expressions)
13675         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13676         (speedbar-find-file, speedbar-dir-follow)
13677         (speedbar-directory-buttons-follow, speedbar-tag-find)
13678         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13679         (speedbar-buffers-line-directory, speedbar-buffer-click):
13680         Mark unused parameters.
13681         (speedbar-tag-file): Remove unused variable `mode'.
13682         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13684         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13686         * talk.el (talk): Remove unused variable `display'.
13688         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13689         (tar-write-region-annotate): Mark unused parameter.
13691         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13692         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13693         Declare them, wrapped in `with-no-warnings' to avoid replacing one
13694         warning by another.
13696         * time-stamp.el (time-stamp-string-preprocess):
13697         Remove unused variable `require-padding'.
13699         * tree-widget.el (widget-glyph-enable): Declare.
13700         (tree-widget-action): Mark unused parameter.
13702         * w32-fns.el (x-get-selection): Mark unused parameter.
13703         (autoload-make-program, generated-autoload-file): Declare.
13705         * wdired.el (wdired-revert): Mark unused parameters.
13706         (wdired-xcase-word): Remove unused variable `err'.
13708         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13709         (whitespace-help-scroll): Remove unused variable `data-help'.
13711         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13712         (widget-image-insert, widget-after-change, default)
13713         (widget-default-format-handler, widget-default-notify)
13714         (widget-default-prompt-value, widget-info-link-action)
13715         (widget-url-link-action, widget-function-link-action)
13716         (widget-variable-link-action, widget-file-link-action)
13717         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13718         (widget-field-prompt-internal, widget-field-action, widget-field-match)
13719         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13720         (widget-insert-button-action, widget-delete-button-action, visibility)
13721         (widget-documentation-link-action, widget-documentation-string-action)
13722         (widget-const-prompt-value, widget-regexp-match, symbol)
13723         (widget-coding-system-prompt-value)
13724         (widget-key-sequence-value-to-external, sexp)
13725         (widget-sexp-value-to-internal, character, vector, cons)
13726         (widget-choice-prompt-value, widget-boolean-prompt-value)
13727         (widget-color--choose-action): Mark unused parameters.
13728         (widget-item-match-inline, widget-choice-match-inline)
13729         (widget-checklist-match, widget-checklist-match-inline)
13730         (widget-group-match): Rename parameter VALUES to VALS.
13731         (widget-field-value-set): Remove unused variable `size'.
13732         (widget-color-action): Remove unused variables `value' and `start'.
13734         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13735         variable `dir'.  Doc fix.
13736         (windmove-find-other-window): Don't pass it.
13738         * window.el (count-windows): Mark unused parameter.
13739         (bw-adjust-window): Remove unused variable `err'.
13741         * woman.el (woman-file-name): Remove unused variable `default'.
13742         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13743         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13744         (global-font-lock-mode): Declare.
13745         (woman-decode-region): Mark unused parameter.
13746         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13748         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13749         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13750         (x-dnd-handle-moz-url): Remove unused variable `title'.
13751         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13753         * xml.el (xml-parse-tag, xml-parse-attlist):
13754         Remove unused variable `pos'.
13756 2011-04-19  Glenn Morris  <rgm@gnu.org>
13758         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13759         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13760         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13761         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13762         * calendar/cal-html.el (cal-html-insert-minical):
13763         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13764         (calendar-mark-date-pattern):
13765         Prefix "unused" locals.
13767         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13768         optional argument `style'.
13770         * calendar/appt.el (appt-make-list):
13771         * calendar/cal-china.el (calendar-chinese-date-string):
13772         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13773         (diary-hebrew-yahrzeit):
13774         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13775         * calendar/calendar.el (calendar-generate-window):
13776         * calendar/time-date.el (time-to-days):
13777         Remove unused local variables.
13779 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
13781         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13782         glyphless-char-display table.
13783         (tabulated-list-glyphless-char-display): New var.
13785 2011-04-18  Sam Steingold  <sds@gnu.org>
13787         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13788         to acknowledgments.
13790 2011-04-17  Glenn Morris  <rgm@gnu.org>
13792         * calendar/diary-lib.el (diary-sexp-entry):
13793         * calendar/holidays.el (holiday-sexp):
13794         Set debug-on-error rather than the removed stack-trace-on-error.
13796 2011-04-16  Glenn Morris  <rgm@gnu.org>
13798         * progmodes/f90.el: Use lexical-binding.
13799         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13801 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13803         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13804         (mail-mode): Setup mailalias completion here instead.
13805         * mail/mailalias.el: Use lexical-binding.
13806         (pattern, mailalias-done): Declare dynamic.
13807         (mail-completion-at-point-function): New function, from mail-complete.
13808         (mail-complete): Use it.
13809         (mail-completion-expand): New function.
13810         (mail-get-names): Use it.
13811         (mail-directory, mail-directory-process, mail-directory-stream):
13812         Don't use `pattern' for lexically bound arg.
13814         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13816         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13817         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13818         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13820         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13821         (byte-save-window-excursion, byte-temp-output-buffer-setup)
13822         (byte-interactive-p): Define them again, for use when inlining
13823         old code.
13825 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
13827         * loadup.el: Use `string-to-number', not `string-to-int'.
13829 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13831         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13832         gud-gdb-complete-command.
13833         (gud-gdb-completions): New function, from gud-gdb-complete-command.
13834         (gud-gdb-completion-at-point): New function.
13835         (gud-gdb-completions): Remove.
13837 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
13839         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13840         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
13841         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13842         whether `executable-find' is bound.
13844         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13846 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13848         * minibuffer.el (completion-in-region-mode-predicate)
13849         (completion-in-region-mode--predicate): New vars.
13850         (completion-in-region, completion-in-region--postch)
13851         (completion-in-region-mode): Use them.
13852         (completion--capf-wrapper): Also return the hook function.
13853         (completion-at-point, completion-help-at-point):
13854         Adjust and provide a predicate.
13856         Preserve arg names for advice of subr and lexical functions (bug#8457).
13857         * help-fns.el (help-function-arglist): Consolidate the subr and
13858         new-byte-code cases.  Add argument `preserve-names' to extract names
13859         from the docstring when needed.
13860         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13861         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13862         (ad-arglist): Use help-function-arglist's new arg.
13863         (ad-definition-type): Use cond.
13865 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
13867         * autorevert.el (auto-revert-handler):
13868         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13869         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13870         Don't quote lambda.
13872         * image-mode.el (image-transform-set-scale):
13873         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13875 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13877         * net/network-stream.el (network-stream-open-starttls): Only do
13878         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13879         Upgrades via gnutls-cli are too slow to be done opportunistically.
13881 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
13883         * dframe.el (dframe-current-frame): Remove spurious quote.
13885 2011-04-12  Glenn Morris  <rgm@gnu.org>
13887         * calendar/cal-tex.el (cal-tex-end-document):
13888         Try to automatically use latin1 input if needed.
13890         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13891         Don't try to cons a mark onto an empty element.
13893 2011-04-11  Leo Liu  <sdl.web@gmail.com>
13895         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13896         buffers.
13897         (ido-kill-buffer-at-head): Support killing virtual buffers.
13899 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
13901         * minibuffer.el (completion-show-inline-help): New var.
13902         (completion--do-completion, minibuffer-complete)
13903         (minibuffer-force-complete, minibuffer-complete-word):
13904         Inhibit minibuffer messages if completion-show-inline-help is nil.
13906         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13907         to avoid interference from inline help (Bug#5849).
13909 2011-04-10  Leo Liu  <sdl.web@gmail.com>
13911         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13912         Fix typo.
13914 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
13916         * image-mode.el (image-toggle-display-image): Signal an error if
13917         not in Image mode.
13918         (image-transform-mode, image-transform-resize)
13919         (image-transform-set-rotation): Doc fix.
13920         (image-transform-set-resize): Delete.
13921         (image-transform-set-scale, image-transform-fit-to-height)
13922         (image-transform-fit-to-width): Handle image-toggle-display-image
13923         and image-transform-resize directly.
13925 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
13927         * doc-view.el (doc-view-fit-width-to-window)
13928         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13929         New functions for fitting the shown image to the Emacs window size.
13930         (doc-view-mode-map): Add bindings for the new functions.
13932 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
13934         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13935         Fix typo in docstring.
13937 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
13939         * files.el (file-size-human-readable): Produce one digit after
13940         decimal, like "ls -lh" does.
13942         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13943         the file size representation.
13945         * simple.el (list-processes): If async subprocesses are not
13946         available, error out with a clear error message.
13948 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
13950         * help.el (help-form-show): New function, to be called from C.
13951         Put help-form output in a buffer named differently than *Help*.
13953 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
13955         * files.el (file-size-human-readable): New function.
13957         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13958         computing the representation inline.  Don't require `cl'.
13960 2011-04-08  Glenn Morris  <rgm@gnu.org>
13962         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13964         * net/browse-url.el (browse-url-firefox):
13965         Test system-type, not system-configuration.
13967         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13968         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13969         Use log-edit-empty-buffer-p.  (Bug#7598)
13971         * net/rlogin.el (rlogin-process-connection-type): Simplify.
13972         (rlogin-mode-map): Initialize in the defvar.
13973         (rlogin): Use ignore-errors.
13975         * replace.el (occur-mode-map): Some fixes for menu items.
13977 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13979         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
13981 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
13983         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13984         issuing unused warnings.
13986         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13987         macro directly.
13989         * simple.el: Lisp reimplement of list-processes.  Based on an
13990         earlier reimplementation by Leo Liu, but using tabulated-list.el.
13991         (process-menu-mode): New major mode.
13992         (list-processes--refresh, list-processes):
13993         (process-menu-visit-buffer): New functions.
13995         * files.el (save-buffers-kill-emacs): Don't assume any return
13996         value of list-processes, which is undocumented anyway.
13998 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
14000         * emacs-lisp/tabulated-list.el: New file.
14002         * emacs-lisp/package.el: Use Tabulated List mode.
14003         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14004         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
14005         table format using Tabulated List mode variables.
14006         (package--push): New macro, replacing package-list-maybe-add.
14007         (package-menu--generate): Use package--push.  Renamed from
14008         package--generate-package-list.
14009         (package-menu-refresh, list-packages): Use it.
14010         (package-menu--print-info): Rename from package-print-package.
14011         Return insertion data instead of inserting it directly.
14012         (package-menu-describe-package, package-menu-execute):
14013         Use tabulated-list-get-id.
14014         (package-menu-mark-delete, package-menu-mark-install)
14015         (package-menu-mark-unmark, package-menu-backup-unmark)
14016         (package-menu-mark-obsolete-for-deletion):
14017         Use tabulated-list-put-tag.
14018         (package--list-packages, package-menu-revert)
14019         (package-menu-get-package, package-menu-get-version)
14020         (package-menu-sort-by-column): Functions deleted.
14021         (package-menu-package-list, package-menu-sort-key): Vars deleted.
14022         (package-menu--status-predicate, package-menu--version-predicate)
14023         (package-menu--name-predicate)
14024         (package-menu--description-predicate): Handle arguments in the
14025         Tabulated List format.
14026         (package-list-packages-no-fetch): Call list-packages.
14028 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
14030         * files.el (after-find-file-from-revert-buffer): Remove variable.
14031         (after-find-file): Don't bind it.
14032         (revert-buffer-in-progress-p): New variable.
14033         (revert-buffer): Bind it.
14034         Pass nil for `after-find-file-from-revert-buffer'.
14036         * saveplace.el (save-place-find-file-hook): Use new variable
14037         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14039 2011-04-06  Glenn Morris  <rgm@gnu.org>
14041         * Makefile.in (AUTOGEN_VCS): New variable.
14042         (autoloads): Use $AUTOGEN_VCS.
14044         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14045         * calendar/calendar.el (calendar-mode-map):
14046         Check for toolkit scroll bars.  (Bug#8305)
14048 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
14050         * minibuffer.el (completion-in-region--postch)
14051         (completion-in-region-mode): Remove unnecessary messages.
14053 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
14055         * font-lock.el (font-lock-refresh-defaults):
14056         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14057         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14059         * info.el (Info-directory-list, Info-read-node-name-2)
14060         (Info-split-parameter-string): Doc fixes.
14061         (Info-virtual-nodes): Reflow docstring.
14062         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14063         (Info-apropos-toc-nodes, info-finder, Info-get-token)
14064         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14065         Fix typos in docstrings.
14066         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14067         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14068         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14069         (Info-restore-desktop-buffer): Mark unused parameters.
14070         (Info-directory-find-file, Info-directory-find-node)
14071         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14072         (Info-virtual-index-find-node, Info-apropos-find-file)
14073         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14074         Mark unused parameters; fix typos in docstrings.
14075         (Info-virtual-index): Remove unused local variable `nodename'.
14077 2011-04-05  Deniz Dogan  <deniz@dogan.se>
14079         * net/rcirc.el: Update my e-mail address.
14080         (rcirc-mode-map): Remove M-o binding.
14082 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
14084         * startup.el (command-line): Save the cursor's theme-face
14085         directly, instead of using face-override-spec.
14087         * custom.el (load-theme): Minor optimization in assigning faces.
14089 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
14091         * help-fns.el (describe-variable): Complete all variables having
14092         documentation, including keywords.
14093         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14095 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
14097         Convert to lexical-binding.
14099         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14100         (bs--get-marked-string, bs--get-modified-string)
14101         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14102         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14103         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14105         * ehelp.el (electric-help-execute-extended)
14106         (electric-help-ctrl-x-prefix):
14107         * hexl.el (hexl-revert-buffer-function):
14108         * linum.el (linum-after-change, linum-after-scroll):
14109         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14111         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14113 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
14115         * epa-dired.el:
14116         * epa-mail.el:
14117         * epa-hook.el:
14118         * epa-file.el:
14119         * epa.el:
14120         * epg.el: Use lexical binding.
14122 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
14124         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14126         * textmodes/flyspell.el (flyspell-word): Recognize default
14127         dictionary case for flyspell-mark-duplications-exceptions.
14128         Use regexp matching for languages.
14129         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14130         default dictionary (Bug#7926).
14132 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
14134         * emacs-lisp/package.el (package--with-work-buffer):
14135         Recognize https URLs.
14137         * net/network-stream.el: Move from gnus/proto-stream.el.
14138         Change prefix to network-stream throughout.
14139         (open-protocol-stream): Merge into open-network-stream, leaving
14140         open-protocol-stream as an alias.  Handle nil BUFFER args.
14142         * subr.el (open-network-stream): Move to net/network-stream.el.
14144 2011-04-02  Glenn Morris  <rgm@gnu.org>
14146         * find-dired.el (find-exec-terminator): New option.
14147         (find-ls-option): Test for -ls support.
14148         (find-ls-subdir-switches): Test for -b in find-ls-option.
14149         (find-dired, find-grep-dired): Doc fixes.
14150         (find-dired): Use find-exec-terminator.
14152         * find-dired.el (find-ls-option, find-ls-subdir-switches)
14153         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14154         (find-name-arg): Remove purecopy.
14156         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14157         (grep-compute-defaults): Check for `-exec COMMAND +' support.
14158         Set grep-find-use-xargs, grep-find-command, and grep-find-template
14159         accordingly.  Don't add the null-device if not needed.
14161         * files.el (save-some-buffers): Doc fix.
14163 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
14165         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14167 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
14169         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14170         Use `dolist' rather than `mapcar'.
14172 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14174         Add lexical binding.
14176         * subr.el (apply-partially): Use new closures rather than CL.
14177         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14178         (dolist, dotimes): Use slightly different expansion for lexical code.
14179         (functionp): Move to C.
14180         (letrec): New macro.
14181         (with-wrapper-hook): Use it and apply-partially instead of CL.
14182         (eval-after-load): Preserve lexical-binding.
14183         (save-window-excursion, with-output-to-temp-buffer): Turn them
14184         into macros.
14186         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14188         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14189         than the arglist.
14190         (help-add-fundoc-usage): Don't add `Not documented'.
14191         (help-function-arglist): Handle closures, subroutines, and new
14192         byte-code-functions.
14193         (help-make-usage): Remove leading underscores.
14194         (describe-function-1): Handle closures.
14195         (describe-variable): Use special-variable-p for completion.
14197         * files.el (lexical-binding): Declare safe.
14199         * emacs-lisp/pcase.el: Don't use destructuring-bind.
14200         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
14201         (pcase): Add `let' pattern.
14202         Change memoization so it actually works.
14203         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14204         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14205         <let>: New case.
14207         * emacs-lisp/macroexp.el: Use lexical binding.
14208         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
14209         Don't convert ' to #' without checking that it's indeed quoting
14210         a lambda.
14212         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14213         Use eval-sexp-add-defvars.
14214         (eval-sexp-add-defvars): New fun.
14216         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14218         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14219         Don't autoload.
14220         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14221         than the internal `byte-compile-lambda'.
14222         (defmethod): Don't hide code under quotes.
14223         (eieio-defmethod): New `code' argument.
14225         * emacs-lisp/eieio-comp.el: Remove.
14227         * emacs-lisp/edebug.el (edebug-eval-defun)
14228         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14229         (edebug-toggle): Avoid `eval'.
14231         * emacs-lisp/disass.el (disassemble-internal): Handle new
14232         `closure' objects.
14233         (disassemble-1): Handle new byte codes.
14235         * emacs-lisp/cl.el (pushnew): Silence warning.
14237         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14238         (cl-byte-compile-throw): Remove.
14239         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14241         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14242         closures.
14244         * emacs-lisp/cconv.el: New file.
14246         * emacs-lisp/bytecomp.el: Use lexical binding instead of
14247         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
14248         (byte-compile-initial-macro-environment):
14249         Handle declare-function here.
14250         (byte-compile--lexical-environment): New var.
14251         (byte-stack-ref, byte-stack-set, byte-discardN)
14252         (byte-discardN-preserve-tos): New lap codes.
14253         (byte-interactive-p): Don't use any more.
14254         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14255         New macros.
14256         (byte-compile-lapcode): Use them and handle new lap codes.
14257         (byte-compile-obsolete): Remove.
14258         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14259         (byte-compile-arglist-warn): Check late def of inlinable funs.
14260         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14261         since they should have been expanded by now.
14262         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14263         (byte-compile-from-buffer): Remove unused second arg.
14264         (byte-compile-preprocess): New function.
14265         (byte-compile-toplevel-file-form): New function to distinguish
14266         file-form calls from outside from file-form calls from hunk-handlers.
14267         (byte-compile-file-form): Simplify.
14268         (byte-compile-file-form-defsubst): Remove.
14269         (byte-compile-file-form-defmumble): Simplify now that
14270         byte-compile-lambda always returns a byte-code-function.
14271         (byte-compile): Preprocess.
14272         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14273         Remove, not used any more.
14274         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14275         (byte-compile-make-args-desc): New funs.
14276         (byte-compile-lambda): Handle lexical functions.  Always return
14277         a byte-code-function.
14278         (byte-compile-reserved-constants): New var, to make up room for
14279         closed-over variables.
14280         (byte-compile-constants-vector): Obey it.
14281         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14282         (byte-compile-macroexpand-declare-function): New function.
14283         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14284         byte-code-functions.
14285         (byte-compile-form): Check obsolescence here.
14286         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14287         (byte-compile-variable-ref): Remove.
14288         (byte-compile-dynamic-variable-op): New fun.
14289         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14290         (byte-compile-variable-set): New funs.
14291         (byte-compile-discard): Add 2 args.
14292         (byte-compile-stack-ref, byte-compile-stack-set)
14293         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14294         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14295         macroexpand-all instead.
14296         (byte-compile-quote-form): Remove.
14297         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14298         (byte-compile-bind, byte-compile-unbind): New funs.
14299         (byte-compile-let): Handle let* and lexical binding.
14300         (byte-compile-let*): Remove.
14301         (byte-compile-catch, byte-compile-unwind-protect)
14302         (byte-compile-track-mouse, byte-compile-condition-case):
14303         Handle a new :fun-body form, used for lexical scoping.
14304         (byte-compile-save-window-excursion)
14305         (byte-compile-with-output-to-temp-buffer): Remove.
14306         (byte-compile-defun): Simplify.
14307         (byte-compile-stack-adjustment): New fun.
14308         (byte-compile-out): Use it.
14309         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14311         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14312         handler any more.
14314         * emacs-lisp/byte-opt.el: Use lexical binding.
14315         (byte-inline-lapcode): Remove (to bytecomp).
14316         (byte-compile-inline-expand): Pay attention to inlining to/from
14317         lexically bound code.
14318         (byte-compile-unfold-lambda): Don't handle byte-code-functions
14319         any more.
14320         (byte-optimize-form-code-walker): Don't handle save-window-excursion
14321         any more and don't call compiler-macros.
14322         (byte-compile-splice-in-already-compiled-code): Remove.
14323         (byte-code): Don't inline any more.
14324         (disassemble-offset): Receive `bytes' as argument rather than via
14325         dynamic scoping.
14326         (byte-compile-tag-number): Declare before first use.
14327         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14328         `return' even if make-spliceable.
14329         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14330         obsolete interactive-p.
14331         (byte-optimize-lapcode): Optimize new lap-codes.
14332         Don't trip up on new form of `byte-constant' lap code.
14334         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14336         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14338         * custom.el (custom-initialize-default, custom-declare-variable):
14339         Use `defvar'.
14341         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14342         New variables.
14343         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14344         (COMPILE_FIRST): Add macroexp and cconv.
14345         * makefile.w32-in: Mirror changes in Makefile.in.
14347         * vc/cvs-status.el:
14348         * vc/diff-mode.el:
14349         * vc/log-edit.el:
14350         * vc/log-view.el:
14351         * vc/smerge-mode.el:
14352         * textmodes/bibtex-style.el:
14353         * textmodes/css.el:
14354         * startup.el:
14355         * uniquify.el:
14356         * minibuffer.el:
14357         * newcomment.el:
14358         * reveal.el:
14359         * server.el:
14360         * mpc.el:
14361         * emacs-lisp/smie.el:
14362         * doc-view.el:
14363         * dired.el:
14364         * abbrev.el: Use lexical binding.
14366 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
14368         * info.el (info-display-manual): New function.
14370 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14372         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14374 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
14376         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14377         an entry for that server in rcirc-authinfo.  (Bug#8385)
14379 2011-03-31  Glenn Morris  <rgm@gnu.org>
14381         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14383         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14385 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
14387         * progmodes/python.el (python-default-interpreter)
14388         (python-python-command-args, python-jython-command-args)
14389         (python-which-shell, python-which-args, python-which-bufname)
14390         (python-file-queue, python-comint-output-filter-function)
14391         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14392         variables and functions.
14394 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14396         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14397         (completion-in-region-mode): New minor mode.
14398         (completion-in-region): Use it.
14399         (completion-in-region--data, completion-in-region-mode-map): New vars.
14400         (completion-in-region--postch): New function.
14401         (completion--capf-misbehave-funs, completion--capf-safe-funs):
14402         New vars.
14403         (completion--capf-wrapper): New function.
14404         (completion-at-point): Use it to track well-behavedness of
14405         hook functions.
14406         (completion-help-at-point): New command.
14408 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
14410         * vc/add-log.el (add-change-log-entry): Don't use whitespace
14411         syntax class to search for whitespace on a single line
14412         (Message-ID: <4D938140.4030905@redhat.com>).
14414 2011-03-30  Leo Liu  <sdl.web@gmail.com>
14416         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14417         New commands.
14418         (edit-abbrevs-map): Bind them here.
14419         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
14421 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
14423         * allout.el (allout-hide-by-annotation, allout-flag-region):
14424         Reduce possibility of overlay leakage by making them volatile.
14426         * allout-widgets.el (allout-widgets-tally): Define as nil so the
14427         hash is not shared between buffers.  Mode initialization is
14428         responsible for giving it a useful starting value.
14429         (allout-item-span): Reduce possibility of overlay leakage by
14430         making them volatile.
14431         (allout-widgets-count-buttons-in-region): Add diagnostic function
14432         for tracking down button overlay leaks.
14434 2011-03-29  Leo Liu  <sdl.web@gmail.com>
14436         * ido.el (ido-read-internal): Use the default history var
14437         minibuffer-history if no HISTORY is specified.
14439 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
14441         * net/imap.el (imap-shell-open, imap-process-connection-type):
14442         Use imap-process-connection-type for 'shell' streams as well as
14443         Kerberos, SSL, other subprocesses.
14445 2011-03-28  Leo Liu  <sdl.web@gmail.com>
14447         * abbrev.el (abbrev-table-empty-p): New function.
14448         (prepare-abbrev-list-buffer): Place empty abbrev tables after
14449         nonempty ones.  (Bug#5937)
14451 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
14453         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14455 2011-03-27  Leo Liu  <sdl.web@gmail.com>
14457         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14458         for foreground and background colors.
14459         (ansi-color-make-color-map): Adapt.
14461 2011-03-25  Leo Liu  <sdl.web@gmail.com>
14463         * midnight.el (midnight-time-float): Remove.  Note it calculates
14464         the microsecond component incorrectly and seconds-to-time does the
14465         same job.
14466         Remove redundant (require 'timer).
14468         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14469         (ido-completions): Remove unused arguments.  (Bug#8329)
14471 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14473         * minibuffer.el (completion--flush-all-sorted-completions):
14474         Remove itself from hook.
14475         (completion-at-point): Let the functions perform the completion
14476         immediately and return nil or t.
14477         * comint.el (comint-dynamic-complete-functions): Now identical to
14478         completion-at-point-functions.
14479         (comint-dynamic-list-input-ring): Remove unused var `index'.
14480         (comint--match-partial-filename, comint--unquote&expand-filename):
14481         New funs, split from comint-match-partial-filename.
14482         (comint-dynamic-complete): Use completion-at-point.
14483         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14485 2011-03-24  Drew Adams  <drew.adams@oracle.com>
14487         * thingatpt.el: Support `defun'.
14489 2011-03-23  Leo Liu  <sdl.web@gmail.com>
14491         * abbrevlist.el: Move to obsolete/abbrevlist.el.
14493         * help-mode.el (help-mode-finish): Tweak regexp.
14495 2011-03-23  Glenn Morris  <rgm@gnu.org>
14497         * eshell/esh-opt.el (eshell-eval-using-options):
14498         Do not bind unused local variable `eshell-option-stub'.
14500         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14502 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
14504         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14505         keymap variable in `with-no-warnings' to avoid a warning when the
14506         keymap has been already `defconst'ed.
14508 2011-03-22  Leo Liu  <sdl.web@gmail.com>
14510         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14511         encode all chars in abbrevs; otherwise use emacs-mule or
14512         utf-8-emacs.  (Bug#8308)
14514 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
14516         * simple.el (backward-delete-char-untabify):
14517         Avoid warning about using `delete-backward-char'.
14519         * image.el (image-type-file-name-regexps): Make it variable.
14520         `imagemagick-register-types' modifies it, and the user may want
14521         to add new extensions for known image types.
14522         (imagemagick-register-types): Throw error if not using ImageMagick.
14524 2011-03-22  Leo Liu  <sdl.web@gmail.com>
14526         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14527         located before rcirc-prompt-end-marker.
14528         (rcirc-complete): Error if point is not after rcirc prompt.
14529         Handle the case when table is nil.
14530         (rcirc-user-authenticated): Define to fix compiler warning.
14532 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
14534         * custom.el (custom--inhibit-theme-enable): Make it affect only
14535         custom-theme-set-variables and custom-theme-set-faces.
14536         (provide-theme): Ignore custom--inhibit-theme-enable.
14537         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14538         (custom-enabling-themes): Delete variable.
14539         (enable-theme): Accept only loaded themes as arguments.
14540         Ignore the special custom-enabled-themes variable.
14541         (custom-enabled-themes): Forbid themes from setting this.
14542         Eliminate use of custom-enabling-themes.
14543         (custom-push-theme): Quote "changed" custom var entry.
14545 2011-03-21  Leo Liu  <sdl.web@gmail.com>
14547         * ido.el (ido-read-internal): Add ido-selected to history instead
14548         of user input.
14550 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14552         * subr.el (deferred-action-list, deferred-action-function):
14553         Mark obsolete.
14555 2011-03-21  Leo Liu  <sdl.web@gmail.com>
14557         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14558         change on 2011-02-13 (bug#8309).
14560         * minibuffer.el (read-file-name-function): Change default value.
14561         (read-file-name--defaults): Rename from read-file-name-defaults.
14562         (read-file-name-default): Rename from read-file-name.
14563         (read-file-name): Call read-file-name-function.
14565 2011-03-21  Glenn Morris  <rgm@gnu.org>
14567         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14568         Doc fixes.
14570 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
14572         * cus-theme.el: Add missing provide statement.
14573         (customize-create-theme): Extract theme value correctly.
14574         (custom-theme-visit-theme): Autoload.
14575         (customize-create-theme): Prompt before inserting default faces.
14577 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
14579         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14580         units and musical notes.
14582 2011-03-20  Leo Liu  <sdl.web@gmail.com>
14584         * ido.el (ido-read-internal): Use completing-read-default.
14585         (ido-completing-read): Fix compatibility with completing-read.
14587 2011-03-20  Christian Ohler  <ohler@gnu.org>
14589         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14590         (ert-delete-all-tests): Use `called-interactively-p' rather than
14591         `interactive-p'.
14592         (ert--make-xrefs-region): Respect END.
14594 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
14596         * dired-aux.el (dired-create-directory): Signal an error if the
14597         directory already exists (Bug#8246).
14599         * facemenu.el (list-colors-display): Call list-faces-display
14600         inside with-help-window.
14601         (list-colors-print): Use display property to align the final
14602         column, instead of checking window-width.
14604 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
14606         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14607         windows-nt systems.
14608         (emerge-protect-metachars): Quote correctly for ms-dos and
14609         windows-nt systems.
14611 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
14613         * info.el (info-initialize): Replace all uses of `:' with
14614         path-separator for compatibility with non-Unix systems.
14615         Cache quoting of path-separator.  (Bug#8258)
14617 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
14619         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14620         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14621         (mouse-avoidance-mode): Fix typos in docstrings.
14623 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
14625         * startup.el (package-subdirectory-regexp): Move from package.el.
14626         Omit \\` and \\', and let callers add them.
14628         * emacs-lisp/package.el (package-strip-version)
14629         (package-load-all-descriptors): Add \\` and \\' to
14630         package-subdirectory-regexp before using it.
14631         (package-untar-buffer): New arg DIR; ensure that file untars only
14632         into this expected directory.  Remove superfluous delete-region.
14633         (package-unpack): Caller changed.
14634         (package-tar-file-info): Use package-subdirectory-regexp.
14636 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14638         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14639         diff-mode-shared-map (bug#8284).
14640         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14642 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14644         * calendar/time-date.el (format-seconds): Use assoc instead of
14645         assoc-string, since assoc-string doesn't exist in XEmacs.
14647 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
14649         * custom.el (custom-known-themes): Reflow docstring.
14650         (custom-theme-load-path): Fix typo in docstring.
14651         (load-theme): Fix typo in error message.
14652         (custom-available-themes, custom-variable-theme-value):
14653         Use `let', not `let*'.
14655 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
14657         * calc/README: Mention inclusion of musical notes.
14659         * calc/calc-units.el (calc-lu-quant): Rename from
14660         `calc-logunits-quantity'.
14661         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14662         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14663         (calc-db): Rename from `calc-dblevel'.
14664         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14665         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14666         (calc-np): Rename from `calc-nplevel'.
14667         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14668         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14669         (calc-lu-plus): Rename from `calc-logunits-add'.
14670         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14671         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14672         (calc-lu-minus): Rename from `calc-logunits-sub'.
14673         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14674         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14675         (calc-lu-times): Rename from `calc-logunits-mul'.
14676         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14677         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14678         (calc-lu-divide): Rename from `calc-logunits-div'.
14679         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14680         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14682         * calc/calc-ext.el (calc-init-extensions): Update the names of the
14683         functions being autoloaded.
14685         * calc/calc.el (calc-lu-power-reference): Rename from
14686         `calc-logunits-power-reference'.
14687         (calc-lu-field-reference): Rename from
14688         `calc-logunits-field-reference'.
14690         * calc/calc-help.el (calc-l-prefix-help):
14691         Mention musical note functions.
14693 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14695         * minibuffer.el (completion-all-sorted-completions):
14696         Use :completion-cycle-penalty text property if present.
14698 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
14700         * allout.el (allout-yank-processing): Adjust for new rebulleting
14701         regime so bullet being yanked is used without prompting the user
14702         for a choice.
14704 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
14706         * startup.el (command-line): Warn the user that _emacs is deprecated.
14708 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
14710         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14711         (delphi-verbose, delphi-comment-face, delphi-string-face)
14712         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14713         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14714         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14715         (delphi-new-comment-line, delphi-font-lock-defaults)
14716         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14717         Fix typos in docstrings.
14719 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
14721         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14722         Invert the roles of character and string values for INSTEAD, so a
14723         string is used for the more common case of a defaulting prompt.
14725 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14727         * progmodes/ruby-mode.el (ruby-backward-sexp):
14728         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14729         * play/gamegrid.el (gamegrid-make-face):
14730         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14731         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14732         * notifications.el (notifications-notify):
14733         * net/xesam.el (xesam-search-engines):
14734         * net/quickurl.el (quickurl-list-insert):
14735         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14737 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
14739         * startup.el (command-line): Update package subdirectory regexp.
14741 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14743         * allout.el (allout-abbreviate-flattened-numbering)
14744         (allout-mode-deactivate-hook): Fix up obsolescence "date".
14746         * subr.el (read-char-choice): Only show the cursor after the prompt,
14747         not after the answer.
14749 2011-03-15  Kevin Ryde  <user42@zip.com.au>
14751         * help-fns.el (variable-at-point): Skip leading quotes, if any
14752         (bug#8253).
14754 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14756         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14757         warning message.
14759 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
14761         * shell.el (shell): When called interactively, offer to change the
14762         shell file name on remote hosts.
14764 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
14766         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14767         integration for LDAP parameters.  The host, base, user or binddn,
14768         and secret tokens can be specified in a netrc file, for instance.
14769         This is optional because an `auth-source' parameter must be
14770         specified in the search attributes.
14772 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
14774         * help.el (describe-mode): Link to the mode's definition (bug#8185).
14776 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14778         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14779         into declaration.  Remove redundant and harmful binding.
14781 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
14783         * files.el (file-ownership-preserved-p): Pass `integer' as an
14784         explicit 2nd argument to `file-attributes'.  If the file's owner
14785         is the Administrators group on Windows, and the current user is
14786         Administrator, consider that a match.
14788         * server.el (server-ensure-safe-dir): Consider server directory
14789         safe on MS-Windows if its owner is the Administrators group while
14790         the current Emacs user is Administrator.  Use `=' to compare
14791         numerical UIDs, since they could be integers or floats.
14793 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
14795         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14797 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
14799         Sync with Tramp 2.2.1.
14801         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14803         * net/trampver.el: Update release number.
14805 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14807         * progmodes/compile.el (compilation--previous-directory): Fix up
14808         various nil/dead-marker mismatches (bug#8014).
14809         (compilation-directory-properties, compilation-error-properties):
14810         Don't call it at a position past the one we're about to change.
14812         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14813         Disable obsolescence warnings in the file that declares it.
14815 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
14817         * allout-widgets.el (allout-widgets-tally):
14818         Initialize allout-widgets-tally as a hash table rather than nil to
14819         prevent mode-line redisplay warnings.  Also, clarify the module
14820         description and fix a comment typo.
14822 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
14824         * help-fns.el (describe-variable): Don't complete keywords.
14825         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14827 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
14829         * emacs-lisp/package.el (package-version-join): Impose a standard
14830         string representation for pre/alpha/beta version lists.
14831         (package-unpack-single): Standardize the directory name by passing
14832         it through package-version-join.
14833         (package-strip-rcs-id): Accept any version string that does not
14834         signal an error in version-to-list.
14836 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
14838         * simple.el (delete-trailing-whitespace): Return nil for the
14839         benefit of `write-file-functions'.
14841 2011-03-10  Glenn Morris  <rgm@gnu.org>
14843         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14845         * vc/vc-git.el (vc-git-program): New option.
14846         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14847         (vc-git--call): Use it.
14849         * eshell/esh-util.el (eshell-condition-case): Doc fix.
14851         * cus-edit.el (Custom-newline): If no button at point, look
14852         for a subgroup button at start-of-line.  (Bug#2298)
14854         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14856 2011-03-10  Julien Danjou  <julien@danjou.info>
14858         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14859         `cursor-type' is nil.
14861 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
14863         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14865 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
14867         * allout.el: Change so yank of distinctive-bullet items
14868         preserves the existing header prefix, rebulleting it if necessary,
14869         rather than replacing it.  This is necessary for proper operation
14870         of cooperative addons like allout-widgets.
14871         (allout-make-topic-prefix, allout-rebullet-heading):
14872         Change SOLICIT arg to INSTEAD, and interpret additionally a string
14873         value as alternate bullet to be used, instead of prompting the user
14874         for a bullet character.
14876 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
14878         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14879         Do not use `tramp-file-name-port', because this returns also
14880         `tramp-default-port'.
14882 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
14884         * net/rcirc.el (rcirc-handler-001): Remove useless
14885         with-rcirc-process-buffer.
14886         (rcirc-check-auth-status): Swap arguments to string-match.
14888 2011-03-09  Glenn Morris  <rgm@gnu.org>
14890         * shell.el (shell-mode):
14891         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
14893         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14894         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
14896 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
14898         * emacs-lisp/package.el (package-refresh-contents)
14899         (package-menu-execute): Use condition-case-no-debug.
14901 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
14903         * simple.el (shell-command-to-string): Use `process-file'.
14905         * emacs-lisp/package.el (package-tar-file-info): Handle also
14906         remote files.
14908         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14909         Use `equal' for upload base check.
14911 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
14913         * textmodes/texinfo.el (texinfo-environments):
14914         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
14916 2011-03-08  Glenn Morris  <rgm@gnu.org>
14918         * cus-start.el (cursor-in-non-selected-windows):
14919         Fix :set quoting oddness.  (Bug#8192)
14921         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14922         in some setf expressions.  (Bug#2159)
14924 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
14926         * custom.el (custom-available-themes): Return themes in
14927         alphabetical order.
14929 See ChangeLog.15 for earlier changes.
14931 ;; Local Variables:
14932 ;; coding: utf-8
14933 ;; End:
14935   Copyright (C) 2011-2012  Free Software Foundation, Inc.
14937   This file is part of GNU Emacs.
14939   GNU Emacs is free software: you can redistribute it and/or modify
14940   it under the terms of the GNU General Public License as published by
14941   the Free Software Foundation, either version 3 of the License, or
14942   (at your option) any later version.
14944   GNU Emacs is distributed in the hope that it will be useful,
14945   but WITHOUT ANY WARRANTY; without even the implied warranty of
14946   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14947   GNU General Public License for more details.
14949   You should have received a copy of the GNU General Public License
14950   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.