* lisp/emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
[emacs.git] / lisp / ChangeLog
blob026e84058ef3cbe3ba79c0dd441eba2a55d853a5
1 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
3         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4         (pcase, pcase-let*, pcase-dolist): Use them.
6 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8         * emacs-lisp/pcase.el (pcase--let*): New function.
9         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
10         (pcase--expand): Use macroexp-let².
12 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
15         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
16         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
17         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
18         * emacs-lisp/derived.el: Use pcase instead of `cl'.
19         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
21 2012-06-10  Glenn Morris  <rgm@gnu.org>
23         * mail/rmail.el (rmail-yank-current-message): Leave point at
24         correct position.  (Bug#11660)
26 2012-06-10  Chong Yidong  <cyd@gnu.org>
28         * allout-widgets.el: Fix code header.
30 2012-06-10  Chong Yidong  <cyd@gnu.org>
32         * cus-edit.el (customize-changed-options-previous-release):
33         Bump to 24.1.
35 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
37         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
39 2012-06-09  Chong Yidong  <cyd@gnu.org>
41         * ebuff-menu.el (electric-buffer-list): Preserve header line.
43 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
45         * window.el (special-display-popup-frame): Don't use
46         window--display-buffer (Bug#11651).
48 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
50         Fix parallel builds: make sure loaddefs.el is not being written
51         while Lisp files are compiled.
52         (compile): Don't depend on 'mh-autoloads'.
53         (compile-CMD, compile-SH): Depend on 'autoloads'.
54         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
56         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
58 2012-06-09  Chong Yidong  <cyd@gnu.org>
60         * face-remap.el (face-remap-add-relative, face-remap-set-base)
61         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
62         Doc fixes (Bug#11225).
64 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
66         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
67         a function if there's a clear indication that it has a compiler-macro.
68         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
69         (macro-declarations-alist): Add arglist to declaration functions.
70         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
71         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
72         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
73         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
74         Also add autoload to find the compiler macro.
75         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
76         (cl--compiler-macro-member, cl--compiler-macro-assoc)
77         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
78         (cl--compiler-macro-get): New functions, replacing calls to
79         cl-define-compiler-macro.
80         (cl-typep) [compiler-macro]: Use macroexp-let².
82 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
84         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
85         string properly, fixes Bug#11473.
87 2012-06-08  Chong Yidong  <cyd@gnu.org>
89         * faces.el (set-face-attribute): Doc fix.
90         (modify-face): Don't use :bold and :italic.
91         (error, warning, success): Tweak definitions.
93         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
94         (custom-modified, custom-set, custom-changed, custom-themed)
95         (custom-saved, custom-button, custom-button-mouse)
96         (custom-button-pressed, custom-state, custom-comment-tag)
97         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
98         (custom-group-subtitle): Use new-style face specs.
99         (custom-invalid-face, custom-rogue-face, custom-modified-face)
100         (custom-set-face, custom-changed-face, custom-saved-face)
101         (custom-button-face, custom-button-pressed-face)
102         (custom-documentation-face, custom-state-face)
103         (custom-comment-face, custom-comment-tag-face)
104         (custom-variable-tag-face, custom-variable-button-face)
105         (custom-face-tag-face, custom-group-tag-face-1)
106         (custom-group-tag-face): Remove obsolete face alias.
108         * epa.el (epa-validity-high, epa-validity-medium)
109         (epa-validity-low, epa-mark, epa-field-name, epa-string)
110         (epa-field-name, epa-field-body):
111         * font-lock.el (font-lock-comment-face, font-lock-string-face)
112         (font-lock-keyword-face, font-lock-builtin-face)
113         (font-lock-function-name-face, font-lock-variable-name-face)
114         (font-lock-type-face, font-lock-constant-face):
115         * ido.el (ido-first-match, ido-only-match, ido-subdir)
116         (ido-virtual, ido-indicator, ido-incomplete-regexp):
117         * speedbar.el (speedbar-button-face, speedbar-file-face)
118         (speedbar-directory-face, speedbar-tag-face)
119         (speedbar-selected-face, speedbar-highlight-face)
120         (speedbar-separator-face):
121         * whitespace.el (whitespace-newline, whitespace-space)
122         (whitespace-hspace, whitespace-tab, whitespace-trailing)
123         (whitespace-line, whitespace-space-before-tab)
124         (whitespace-space-after-tab, whitespace-indentation)
125         (whitespace-empty):
126         * emulation/cua-base.el (cua-global-mark):
127         * eshell/em-prompt.el (eshell-prompt):
128         * net/newst-plainview.el (newsticker-new-item-face)
129         (newsticker-old-item-face, newsticker-immortal-item-face)
130         (newsticker-obsolete-item-face, newsticker-date-face)
131         (newsticker-statistics-face, newsticker-default-face):
132         * net/newst-reader.el (newsticker-feed-face)
133         (newsticker-extra-face, newsticker-enclosure-face):
134         * net/newst-treeview.el (newsticker-treeview-face)
135         (newsticker-treeview-new-face, newsticker-treeview-old-face)
136         (newsticker-treeview-immortal-face)
137         (newsticker-treeview-obsolete-face)
138         (newsticker-treeview-selection-face):
139         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
140         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
141         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
142         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
143         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
144         (nxml-outline-active-indicator, nxml-outline-ellipsis):
145         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
146         (mpuz-text):
147         * progmodes/vera-mode.el (vera-font-lock-number)
148         (vera-font-lock-function, vera-font-lock-interface):
149         * textmodes/table.el (table-cell): Use new-style face specs, and
150         don't use the old :bold and :italic attributes.
152         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
153         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
154         (ebrowse-member-class, ebrowse-progress): Likewise.
155         (ebrowse-tree-mark-face, ebrowse-root-class-face)
156         (ebrowse-file-name-face, ebrowse-default-face)
157         (ebrowse-member-attribute-face, ebrowse-member-class-face)
158         (ebrowse-progress-face): Remove obsolete faces.
160         * progmodes/flymake.el (flymake-errline, flymake-warnline):
161         Inherit from error and warning faces respectively.
163         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
164         Likewise.
165         (flyspell-incorrect-face, flyspell-duplicate-face):
166         Remove obsolete aliases.
168 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
170         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
171         Avoid infloop.
173 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
175         * startup.el (argv, argi): Make lexically scoped.
176         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
177         * emacs-lisp/cl-macs.el: Use lexical-binding.
178         Rename cl-bind-* to cl--bind-*.
179         * files.el: Don't require `cl' since it doesn't use it.
180         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
182 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
184         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
185         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
186         instead of calling external sort utility.
187         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
189 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
191         * descr-text.el (describe-char): Mention how to insert the
192         character, if the current input method doesn't support it.
193         See the discussion in this thread for the details:
194         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
196 2012-06-08  Sam Steingold  <sds@gnu.org>
198         * bindings.el (global-map): Bind XF86Forward to next-buffer and
199         XF86Back to previous-buffer.
200         (minibuffer-local-map): Bind them to next-history-element and
201         previous-history-element respectively.
202         * help-mode.el (help-mode-map): Bind them to help-go-forward and
203         help-go-back respectively.
204         * info.el (Info-mode-map): Bind them to Info-history-forward and
205         Info-history-back respectively.
206         These are the keys next to Up on the ThinkPad keyboard.
208 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
210         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
211         * emacs-lisp/cl-macs.el: Provide itself.
212         (cl--labels-convert-cache): New var.
213         (cl--labels-convert): New function.
214         (cl-flet, cl-labels): New implementation with new semantics, relying on
215         lexical-binding.
216         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
217         (cl-closure-vars, cl--function-convert-cache)
218         (cl--function-convert): Move from cl-macs.el.
219         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
220         rename by removing the "cl-" prefix.
221         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
223 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
225         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
226         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
227         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
228         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
229         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
230         (cl-hash-table-count): Add old compatibility aliases.
232         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
233         Use macroexpand-all-environment instead.
234         (cl--old-macroexpand): New var.
235         (cl--sm-macroexpand): New function.
236         (cl-symbol-macrolet): Use it during macro expansion.
237         (cl--function-convert-cache): New var.
238         (cl--function-convert): New function, extracted from
239         cl-macroexpand-all.
240         (cl-lexical-let): Use it.
242         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
243         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
244         (cl-member): Remove old alias.
246         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
247         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
248         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
249         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
250         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
251         (cl-macroexpand-cmacs): Remove var.
252         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
253         Use macroexpand-all instead.
255 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
257         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
258         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
259         (macroexp-copyable-p): New functions and macros.
260         * emacs-lisp/edebug.el (edebug-unwrap):
261         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
262         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
263         (pcase--let*): Remove.
264         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
265         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
266         macroexp-const-p instead.
267         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
269         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
270         instead of "cl-" for internal definitions.  Use macroexp-const-p.
271         (cl-old-bc-file-form): Remove var.
272         (cl-const-exprs-p): Remove fun.
273         (cl-labels, cl-macrolet): Use backquote.
274         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
275         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
276         (cl-define-setf-expander): Rename from cl-define-setf-method.
277         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
279         * international/mule-cmds.el: Don't require CL.
280         (view-hello-file): Don't use `letf'.
282 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
284         * tmm.el (tmm-prompt): Use string-prefix-p.
285         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
286         (tmm-add-prompt): Use minibuffer-completion-help.
287         (tmm-delete-map): Remove.
289         * subr.el (kbd): Make it its own function.
291 2012-06-07  Stefan Merten  <smerten@oekonux.de>
293         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
294         Silence compiler warnings.  Fix versions.
295         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
296         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
297         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
298         (rst-package-emacs-version-alist): Correct Emacs version to
299         represent major merge with upstream.
300         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
302 2012-06-06  Glenn Morris  <rgm@gnu.org>
304         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
305         Only print environment variables if set.
307 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
309         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
310         (macroexp--cons): Rename from maybe-cons.
311         (macroexp--accumulate): Rename from macroexp-accumulate.
312         (macroexp--all-forms): Rename from macroexpand-all-forms.
313         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
314         (macroexp--expand-all): Rename from macroexpand-all-1.
316 2012-06-06  Sam Steingold  <sds@gnu.org>
318         * calendar/calendar.el (calendar-in-read-only-buffer):
319         Call `special-mode' to enable the standard read-only keybindings.
321 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
323         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
324         with "loading" messages (bug#11635).
326 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
328         * files.el (enable-remote-dir-locals): New option.
329         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
331         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
332         Ensure, that the temp directory is local.
334         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
335         `temporary-file-directory'.
337         * progmodes/python.el (python-send-region): Ensure, that the
338         temporary file is created also in the remote case.
340 2012-06-06  Glenn Morris  <rgm@gnu.org>
342         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
343         (vc-rcs-update-changelog): Use it.
345         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
347         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
348         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
349         (vc-sccs-diff): Replace use of the external vcdiff script.
351 2012-06-05  Glenn Morris  <rgm@gnu.org>
353         * ledit.el: Move to obsolete/.
355 2012-06-05  Sam Steingold  <sds@gnu.org>
357         * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
358         patch (Bug#11140).
360 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
362         * emacs-list/cust-print.el: Move to obsolete.
364         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
365         compiler-macro expansion.
367         Add native compiler-macro support.
368         * emacs-lisp/macroexp.el (macroexpand-all-1):
369         Support compiler-macros directly.  Properly follow aliases and apply
370         the compiler macros more thoroughly.
371         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
372         macroexpand now properly follows aliases.
373         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
374         (cl-compiler-macroexpand): Use new prop.
375         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
377         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
379 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
381         * window.el (get-lru-window, get-mru-window, get-largest-window):
382         New argument NOT-SELECTED to avoid picking the selected window.
383         (window--display-buffer-1, window--display-buffer-2): Replace by
384         new function window--display-buffer
385         (display-buffer-same-window, display-buffer-reuse-window)
386         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
387         Use window--display-buffer.
388         (display-buffer-use-some-window): Remove temporary dedication
389         hack by calling get-lru-window and get-largest-window with
390         NOT-SELECTED argument non-nil.  Call window--display-buffer.
392 2012-06-05  Glenn Morris  <rgm@gnu.org>
394         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
395         Replace external vcdiff script.
397 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
399         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
401 2012-06-04  Chong Yidong  <cyd@gnu.org>
403         * image.el (imagemagick-types-inhibit): Revert last change.
404         Add INFO and M.
405         (imagemagick-enabled-types): Remove CIN and EPS*.
407 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
409         * emacs-lisp/cl-lib.el: Rename from cl.el.
410         * emacs-lisp/cl.el: New compatibility file.
411         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
412         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
413         to obey the "cl-" prefix.
414         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
416 2012-06-03  Glenn Morris  <rgm@gnu.org>
418         * emacs-lisp/authors.el (authors-aliases): Addition.
420         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
421         Fix :version.
423 2012-06-03  Stefan Merten  <smerten@oekonux.de>
425         * textmodes/rst.el: Add comments.
426         (rst-transition, rst-adornment): New faces.
427         (rst-adornment-faces-alist): Make default safe to reevaluate.
428         Fixes
429         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
430         Improve customization tags.
431         (rst-define-level-faces): Clarify meaning.
433 2012-06-03  Chong Yidong  <cyd@gnu.org>
435         * progmodes/compile.el (compilation-mode-line-fail)
436         (compilation-mode-line-run, compilation-mode-line-exit):
437         New faces.
438         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
440 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
442         * progmodes/which-func.el (which-func-update-ediff-windows):
443         New function.  Use it in ediff-select-hook (Bug#11478).
445 2012-06-03  Chong Yidong  <cyd@gnu.org>
447         * bindings.el: Remove explicit help text from format-mode-line.
448         It is now supplied by mode-line-default-help-echo.
449         (mode-line-front-space, mode-line-end-spaces)
450         (mode-line-misc-info): New variables.
451         (mode-line-modes, mode-line-position): Move the default value to
452         the variable definition.
453         (mode-line-default-help-echo): New defcustom.
454         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
455         (mode-line-modified-help-echo): New functions.
456         (mode-line-mule-info, mode-line-modified): Use them.
457         (mode-line-eol-desc, propertized-buffer-identification):
458         Consistency fixes for help text.
459         (mode-line-coding-system-map): Allow using mouse-3 to invoke
460         set-buffer-file-coding-system (Bug#289).
461         (mode-line-mule-info-help-echo): Update help text.
463 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
465         * simple.el (execute-extended-command): Set real-this-command
466         (bug#11506).
468 2012-06-02  Chong Yidong  <cyd@gnu.org>
470         Remove incorrect uses of "modeline" in comments, docstrings, and
471         function/variable names (Bug#10329).
473         * cus-edit.el (mode-line):
474         * dframe.el (dframe-mouse-hscroll):
475         * emacs-lisp/re-builder.el:
476         * emacs-lisp/easy-mmode.el (define-minor-mode):
477         * frame.el (set-frame-name):
478         * help.el (lookup-minor-mode-from-indicator):
479         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
480         * progmodes/cc-cmds.el (c-toggle-auto-newline)
481         (c-toggle-hungry-state):
482         * progmodes/antlr-mode.el (antlr-language-alist):
483         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
484         * progmodes/vhdl-mode.el (vhdl-mode):
485         * progmodes/which-func.el (which-func, which-func-cleanup-function):
486         * term/ns-win.el (ns-face-at-pos):
487         * term/sup-mouse.el (sup-mouse-report):
488         * textmodes/flyspell.el (flyspell-mode-line-string):
489         * textmodes/ispell.el (ispell-highlight-face):
490         * textmodes/reftex-global.el:
491         * vc/vc-arch.el (vc-arch-mode-line-string):
492         * vc/vc-cvs.el (vc-cvs-mode-line-string):
493         * vc/vc-git.el (vc-git-mode-line-string):
494         * vc/vc-hooks.el (vc-display-status)
495         (vc-default-mode-line-string):
496         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
498         * ansi-color.el (ansi-color-faces-vector): Change default faces.
500         * dired.el (dired-sort-set-mode-line): Rename from
501         dired-sort-set-modeline.  All callers changed.
503         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
504         eshell-status-in-modeline.
506         * foldout.el (foldout-mode-line-string): Rename from
507         foldout-modeline-string.  All callers changed.
508         (foldout-update-mode-line): Rename from foldout-update-modeline.
510         * subr.el (redraw-modeline): Make into obsolete alias.
512         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
513         timeclock-modeline-display.  Make old name an alias.
514         (timeclock-update-mode-line): Likewise.  All callers changed.
515         (timeclock-mode-line-display): No need to check before using
516         add-hook.
517         (timeclock-relative, timeclock-day-over-hook)
518         (timeclock-use-elapsed, timeclock-mode-string)
519         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
521         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
522         crisp-mode-modeline-string.
524         * play/solitaire.el (solitaire-build-mode-line): Rename from
525         solitaire-build-modeline.  All callers changed.
527         * play/zone.el (zone-hiding-mode-line): Rename from
528         zone-hiding-modeline.  All callers changed.
529         (zone): Remove unusued `modeline-hidden-level' property.
531         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
532         xscheme-modeline-initialize.  All callers changed.
534         * strokes.el (strokes-lighter): Rename from
535         strokes-modeline-string.
537         * textmodes/sgml-mode.el (html-face-tag-alist)
538         (html-tag-face-alist): Use mode-line face instead of obsolete
539         alias modeline.
541 2012-06-02  Stefan Merten  <smerten@oekonux.de>
543         * textmodes/rst.el: Always require `cl'.
544         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
546 2012-06-02  Chong Yidong  <cyd@gnu.org>
548         * image.el (imagemagick-enabled-types): Rename from
549         imagemagick-types-enable.  Add many more types.
550         (imagemagick-types-inhibit): Change default to nil.
551         (imagemagick-filter-types): Caller changed.
553 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
555         * emacs-lisp/cl-macs.el: Use backquotes.
556         (cl-transform-function-property): Use eval-and-compile rather than
557         abusing `require'.
558         (defstruct): Use declare-function instead of with-no-warnings.
560         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
561         (byte-compile-output-docform): Re-add the print-circle bindings.
562         (byte-compile-fix-header): Use #$ just because it's shorter.
563         (byte-compile-output-file-form): Remove defun/defmacro.
565 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
567         * simple.el (choose-completion): Remove now obsolete binding for
568         owindow.
570 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
572         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
573         in order to avoid "Stack overflow in regexp matcher".
575 2012-05-31  Glenn Morris  <rgm@gnu.org>
577         * image.el: For clarity, call imagemagick-register-types at
578         top-level, rather than relying on a custom :initialize.
579         (imagemagick-types-enable): New option.  (Bug#11557)
580         (imagemagick-filter-types): New function.  (Bug#7406)
581         (imagemagick-register-types): Use imagemagick-filter-types.
582         If disabling support, remove elements altogether rather
583         than using an impossible regexp.
584         (imagemagick-types-inhibit): Give it the default init function.
586 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
588         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
589         Handle arbitrary file name lengths (Bug#11585).
591 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
593         * desktop.el (desktop-read): Clear previous and next buffers for
594         all windows and bury *Messages* buffer (bug#11556).
596 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
598         Add `declare' for `defun'.  Align `defmacro's with it.
599         * emacs-lisp/easy-mmode.el (define-minor-mode)
600         (define-globalized-minor-mode): Don't autoload the var definitions.
601         * emacs-lisp/byte-run.el: Use lexical-binding.
602         (defun-declarations-alist, macro-declarations-alist): New vars.
603         (defmacro, defun): Use them.
604         (make-obsolete, define-obsolete-function-alias)
605         (make-obsolete-variable, define-obsolete-variable-alias):
606         Use `declare'.
607         (macro-declaration-function): Mark obsolete.
608         * emacs-lisp/autoload.el: Use lexical-binding.
609         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
611 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
613         * textmodes/ispell.el (ispell-with-no-warnings):
614         Define as a macro.
615         (ispell-kill-ispell, ispell-change-dictionary):
616         Use `called-interactively-p' for Emacs instead of obsolete
617         `interactive-p'.
619 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
621         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
622         (macro-declaration-function): Move var from C code.
623         (macro-declaration-function): Define function with defalias.
624         * emacs-lisp/macroexp.el (macroexpand-all-1):
625         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
626         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
627         defun/defmacro any more.
628         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
629         Provide fallback for unknown arglist.
630         (byte-compile-arglist-warn): Change calling convention.
631         (byte-compile-output-file-form): Move print-vars binding.
632         (byte-compile-output-docform): Simplify accordingly.
633         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
634         (byte-compile-defmacro-declaration): Remove.
635         (byte-compile-file-form-defmumble): Generalize to defalias.
636         (byte-compile-output-as-comment): Return byte-positions.
637         Simplify callers accordingly.
638         (byte-compile-lambda): Use `assert'.
639         (byte-compile-defun, byte-compile-defmacro): Remove.
640         (byte-compile-file-form-defalias):
641         Use byte-compile-file-form-defmumble.
642         (byte-compile-defalias-warn): Remove.
644 2012-05-29  Stefan Merten  <smerten@oekonux.de>
646         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
647         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
649         (rst-mode-abbrev-table): Merge definition.
650         (rst-mode): Make sure `font-lock-defaults' is buffer local.
651         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
653 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
655         * calendar/icalendar.el
656         (icalendar-export-region): Export UID properly.
658 2012-05-29 Leo <sdl.web@gmail.com>
659         * calendar/icalendar.el (icalendar-import-format):
660         Add `icalendar-import-format-uid' (Bug#11525).
661         (icalendar-import-format-uid): New.
662         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
663         Export UID.
665 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
667         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
668         different alternative patterns.
669         (pcase-codegen): Be more careful to preserve identity.
670         (pcase--u1): Don't forget to mark vars as used.
672         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
673         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
674         (byte-compile-from-buffer): ...rather than here.
676         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
677         functions from byte-compile-function-environment.
679 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
681         * window.el (window-deletable-p): Avoid deleting the root window
682         of a frame with an active minibuffer.
684 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
686         * simple.el (choose-completion): Use quit-window (Bug#11567).
688 2012-05-29  Chong Yidong  <cyd@gnu.org>
690         * whitespace.el (whitespace-cleanup): Fix usage of
691         whitespace-empty-at-bob-regexp (Bug#11492).
693 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
695         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
696         revert (Bug#11488).
698 2012-05-29  Juri Linkov  <juri@jurta.org>
700         * isearch.el (isearch-mode-map): Bind `M-s _' to
701         `isearch-toggle-symbol'.  Bind `M-s c' to
702         `isearch-toggle-case-fold'.
703         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
704         (isearch-forward): Add `M-s _' to the docstring.
705         (isearch-forward-symbol, isearch-toggle-case-fold)
706         (isearch-symbol-regexp): New functions.  (Bug#11381)
708 2012-05-29  Juri Linkov  <juri@jurta.org>
710         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
711         (isearch-occur, isearch-search-and-update): If `isearch-word' is
712         a function, call it to get the regexp.
713         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
714         property `isearch-message-prefix' instead of the string "word ".
715         (isearch-search-fun-default): For the case of `isearch-word',
716         return a lambda that calls re-search-forward/re-search-backward
717         with a regexp returned by `word-search-regexp' or by the function
718         in `isearch-word'.
720 2012-05-29  Juri Linkov  <juri@jurta.org>
722         * isearch.el (isearch-search-fun-default): New function.
723         (isearch-search-fun): Move default part to the new function
724         `isearch-search-fun-default'.
725         (isearch-search-fun-function): Set the default value to
726         `isearch-search-fun-default'.  (Bug#11381)
728         * comint.el (comint-history-isearch-end):
729         Use `isearch-search-fun-default'.
730         (comint-history-isearch-search): Use `isearch-search-fun-default'
731         and remove spacial case for `isearch-word'.
732         (comint-history-isearch-wrap): Remove spacial case for
733         `isearch-word'.
735         * hexl.el (hexl-isearch-search-function):
736         Use `isearch-search-fun-default'.
738         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
739         Use `word-search-regexp' for `isearch-word'.
741         * misearch.el (multi-isearch-search-fun):
742         Use `isearch-search-fun-default'.
744         * simple.el (minibuffer-history-isearch-search):
745         Use `isearch-search-fun-default' and remove spacial case for
746         `isearch-word'.
747         (minibuffer-history-isearch-wrap): Remove spacial case for
748         `isearch-word'.
750         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
751         Remove spacial case for `isearch-word'.
752         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
754 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
756         Decrease XEmacs incompatibilities.
757         * textmodes/flyspell.el (flyspell-check-pre-word-p):
758         Use `string-match'.
759         (flyspell-delete-region-overlays): Use alternative definition for
760         XEmacs.
761         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
762         (flyspell-word): Use `process-kill-without-query' if XEmacs.
763         (flyspell-mode-on): Use `interactive-p' if XEmacs.
764         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
765         `define-obsolete-face-alias' under XEmacs, but old method.
767         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
768         `with-no-warnings' definition or Emacs alias.
769         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
770         (ispell-word): Do not use `region-p' if XEmacs.
772 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
774         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
775         Check for `ispell-dictionary-base-alist' instead of full
776         `ispell-dictionary-alist'.
777         (ispell-init-process): Show spellchecker when starting new Ispell
778         process.
780 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
782         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
783         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
785 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
787         * version.el (motif-version-string, gtk-version-string)
788         (ns-version-string): Declare.
790 2012-05-27  Juri Linkov  <juri@jurta.org>
792         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
793         after the `eval-defun-1' specialcaseing
794         like in `edebug-eval-defun' (bug#10181).
796         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
797         like in `eval-defun-1'.
799 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
801         * mail/sendmail.el (mail-yank-region):
802         Recognize rmail-yank-current-message in addition to insert-buffer.
803         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
804         a *mail* buffer created through rmail-start-mail with sendmail as
805         mail-user-agent.
807 2012-05-27  Chong Yidong  <cyd@gnu.org>
809         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
810         Default to 256 (Bug#11267).
812         * help.el (describe-mode): Doc fix.
814 2012-05-26  Glenn Morris  <rgm@gnu.org>
816         * w32-fns.el (w32-init-info): Remove.
817         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
819         * info.el (info-initialize): For self-contained NS builds, put the
820         included info/ directory at the front.  (Bug#2791)
822         * paths.el (Info-default-directory-list): Make it a defcustom,
823         mainly so that we can use custom-initialize-delay.
825 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
827         * subr.el (buffer-has-markers-at): Mark obsolete.
829         * subr.el (lambda): Use declare.
831         * emacs-lisp/lisp-mode.el (lambda):
832         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
834 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
836         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
838 2012-05-26  Glenn Morris  <rgm@gnu.org>
840         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
842 2012-05-25  Glenn Morris  <rgm@gnu.org>
844         * paths.el: Remove no-byte-compile.
845         * loadup.el: No need to load paths.el uncompiled.
847         * image.el (imagemagick-types-inhibit): Doc fix.
849         * version.el: Remove no-byte-compile and associated formatting.
850         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
851         is ancient code from when there was an "inc-vers.el".
853 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
855         * progmodes/gdb-mi.el: Minor style changes.
856         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
857         Turn into minor modes.
858         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
859         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
860         (gdb-shell): Remove unneeded let-binding.
861         (gdb-get-many-fields): Eliminate O(n²) behavior.
863 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
865         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
866         platforms that don't link in fontset.c.
868 2012-05-25  Juri Linkov  <juri@jurta.org>
870         Use the same diff color scheme as in modern VCSes (bug#10181).
872         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
873         to avoid confusion with `diff-added' that now uses green colors.
874         (diff-removed): Use shades of red.
875         (diff-added): Use shades of green.
876         (diff-changed): Leave just the yellow color.
877         (diff-use-changed-face): New variable.
878         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
879         how to highlight context diff changes.
880         (diff-refine-change): Use shades of yellow.
881         (diff-refine-removed): New face that uses shades of red.
882         (diff-refine-added): New face that uses shades of green.
883         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
884         `diff-refine-removed' in the call to `smerge-refine-subst'
885         depending on the value of `diff-use-changed-face'.
887         * vc/smerge-mode.el (smerge-mine): Use shades of red.
888         (smerge-other): Use shades of green.
889         (smerge-base): Use shades of yellow.
890         (smerge-refined-change): Empty face.
891         (smerge-refined-removed): New face that uses shades of red.
892         (smerge-refined-added): New face that uses shades of green.
893         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
894         args `props-r' and `props-a', and use them.  Doc fix.
895         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
896         on its value use different faces `smerge-refined-change',
897         `smerge-refined-removed', `smerge-refined-added' in the call to
898         `smerge-refine-subst'.
900         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
901         Add face condition `min-colors 88' with shades of red.
902         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
903         `min-colors 88' with shades of green.
904         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
905         `min-colors 88' with shades of yellow.
907 2012-05-24  Glenn Morris  <rgm@gnu.org>
909         * paths.el (prune-directory-list, remote-shell-program): Move to...
910         * files.el (prune-directory-list, remote-shell-program): ...here.
911         For the latter, delay initialization, prefer ssh, just search PATH.
913         * paths.el (term-file-prefix): Move to faces.el (the only user).
914         * faces.el (term-file-prefix): Move here, make it a defcustom.
916         * paths.el (news-directory, news-path, news-inews-program):
917         Move to gnus/nnspool.el.
919         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
921         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
922         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
923         Make the latter a defcustom, with a delayed initialization.
925         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
926         These were deleted from Gnus itself late 2010.
928 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
930         * progmodes/which-func.el (which-func-ff-hook):
931         Check against user-error, not error.
933         * emacs-lisp/edebug.el (top): Do not load or set up loading of
934         cl-specs.el, which no longer exists.
936 2012-05-22  Glenn Morris  <rgm@gnu.org>
938         * info.el (info-emacs-bug): New command.
939         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
940         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
942 2012-05-21  Glenn Morris  <rgm@gnu.org>
944         * makefile.w32-in (update-subdirs-SH):
945         * Makefile.in (update-subdirs): Update for moved update-subdirs.
947 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
949         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
951         * progmodes/compile.el (compilation-error-regexp-alist-alist):
952         Simplify Maven regexp, and make sure the file can't start with a space
953         (bug#11517).
955 2012-05-21  Glenn Morris  <rgm@gnu.org>
957         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
958         Scrap superfluous subshells.
960 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
962         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
963         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
965 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
967         * calc/calc.el (calc-ensure-consistent-units): New variable.
969         * calc/calc-units.el (math-consistent-units-p)
970         (math-check-unit-consistency): New functions.
971         (calc-quick-units, calc-convert-units):
972         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
973         is non-nil.
974         (calc-extract-units): Fix typo.
976 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
978         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
980         * textmodes/flyspell.el: Commenting style, plus code simplifications.
981         (flyspell-default-deplacement-commands): Don't spell check after
982         repeated window/frame switches (e.g. triggered by mouse-movement).
983         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
984         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
985         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
986         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
987         Remove unused vars.
988         (flyspell-get-casechars, flyspell-get-not-casechars):
989         Simplify; Don't bother removing a ] just to add it back.
990         * textmodes/ispell.el (ispell-program-name): Use executable-find.
992 2012-05-18  Rüdiger Sonderfeld <ruediger@c-plusplus.de>
994         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
995         New functions.
996         (math-function-table): Add support for more C functions.
998 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1000         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1001         (flyspell-debug-signal-word-checked): Protect delay handling for
1002         otherchars against empty otherchars.
1004 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1006         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1007         their respective macro declarations.
1008         * skeleton.el (define-skeleton):
1009         * progmodes/compile.el (define-compilation-mode):
1010         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1011         (define-ibuffer-filter):
1012         * emacs-lisp/generic.el (define-generic-mode):
1013         * emacs-lisp/easy-mmode.el (define-minor-mode)
1014         (define-globalized-minor-mode):
1015         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1016         * emacs-lisp/byte-run.el (defsubst):
1017         * custom.el (deftheme): Add doc-string metadata.
1019 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1021         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1023 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1025         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1027         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1028         * emacs-lisp/cl-macs.el: Idem.
1029         * emacs-lisp/cl-specs.el: Remove.
1031 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1033         Minor renaming of internal CL functions and variables.
1034         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1035         (cl--position): Rename from cl-position.
1036         (cl--delete-duplicates): Rename from cl-delete-duplicates.
1037         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1038         (cl--random-state): Rename from *random-state*.
1040 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1042         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1043         parens around the arg list (bug#11499).
1045 2012-05-17  Juri Linkov  <juri@jurta.org>
1047         * isearch.el (word-search-regexp, word-search-backward)
1048         (word-search-forward, word-search-backward-lax)
1049         (word-search-forward-lax): Move functions from search.c
1050         (bug#10145, bug#11381).
1052 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1054         * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1055         (flyspell-debug-signal-word-checked): Delay for otherchars as for
1056         normal word components.
1058 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1060         * minibuffer.el (completion--sifn-requote): Fix last change.
1061         (minibuffer-local-must-match-filename-map):
1062         Move define-obsolete-variable-alias before its var.
1064 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1066         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1068         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1069         behavior.
1070         (completion--string-equal-p): New function.
1071         (completion--twq-all): Use it to get better assertion failure data.
1073         Only handle ".." and '..' quoting in shell-mode (bug#11466).
1074         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1075         (shell--requote-argument): New functions.
1076         (shell-completion-vars): Use them.
1077         (shell--parse-pcomplete-arguments): Rename from
1078         shell-parse-pcomplete-arguments.
1079         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
1080         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1081         Obey comint-file-name-quote-list.
1083         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1084         (smie-indent-keyword): Use it.
1086 2012-05-14  Stefan Merten  <smerten@oekonux.de>
1088         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1090 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1092         * net/rlogin.el (rlogin-mode-map): Fix last change.
1094 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
1096         * mail/smtpmail.el (smtpmail-send-command): Send the command and
1097         the following \r\n using a single `process-send-string', since the
1098         Lotus SMTP server refuses to accept any commands if they are sent
1099         with two `process-send-string's (Bug#11444).
1101 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1103         * shell.el (shell-parse-pcomplete-arguments):
1104         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1106 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
1108         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1109         (image-transform-scale, image-transform-right-angle-fudge): New vars.
1110         (image-transform-width, image-transform-fit-width): New functions.
1111         (image-transform-properties): Use them.
1112         (image-transform-check-size): New function.
1113         (image-toggle-display-image): Use it (for testing).
1114         (image-transform-set-rotation): Reduce angle mod 360.
1115         Delete obsolete comment.
1117 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
1119         * image-mode.el: Fix scaling (bug#11399).
1120         (image-transform-resize): Doc fix.
1121         (image-transform-properties): Default scale is 1 and height should
1122         be an integer.
1124 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
1126         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1127         than hard-coding `car', to fix misbehavior when moving forward.
1129 2012-05-13  Chong Yidong  <cyd@gnu.org>
1131         * emacs-lisp/tabulated-list.el (tabulated-list-format)
1132         (tabulated-list-entries, tabulated-list-padding)
1133         (tabulated-list-sort-key): Make permanent-local.
1135         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1136         (electric-buffer-list): Put electric buffer menu
1137         command descriptions in this docstring, instead of the docstring
1138         of electric-buffer-menu-mode.  Code cleanups.
1139         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
1140         Electric-buffer-menu-mode.
1141         (electric-buffer-update-highlight): Minor code cleanup.
1143 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
1145         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1146         (Bug#11447)
1148 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1150         Move define-obsolete-variable-alias before the var's definition.
1151         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1152         * tooltip.el (tooltip-hook):
1153         * textmodes/reftex-toc.el (reftex-toc-map):
1154         * textmodes/reftex-sel.el (reftex-select-label-map)
1155         (reftex-select-bib-map):
1156         * textmodes/reftex-index.el (reftex-index-map)
1157         (reftex-index-phrases-map):
1158         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1159         * progmodes/meta-mode.el (meta-mode-map):
1160         * novice.el (disabled-command-hook):
1161         * loadhist.el (unload-hook-features-list):
1162         * frame.el (blink-cursor):
1163         * files.el (find-file-not-found-hooks, write-file-hooks)
1164         (write-contents-hooks):
1165         * emulation/tpu-edt.el (GOLD-map):
1166         * emacs-lock.el (emacs-lock-from-exiting):
1167         * emacs-lisp/generic.el (generic-font-lock-defaults):
1168         * emacs-lisp/chart.el (chart-map):
1169         * dos-fns.el (register-name-alist):
1170         * dired-x.el (dired-omit-files-p):
1171         * desktop.el (desktop-enable):
1172         * cus-edit.el (custom-mode-hook):
1173         * buff-menu.el (buffer-menu-mode-hook):
1174         * bookmark.el (bookmark-read-annotation-text-func)
1175         (bookmark-exit-hooks):
1176         * allout.el (allout-mode-deactivate-hook)
1177         (allout-exposure-change-hook, allout-structure-added-hook)
1178         (allout-structure-deleted-hook, allout-structure-shifted-hook):
1179         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1180         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1181         comes before the corresponding variable's definition.
1183 2012-05-12  Chong Yidong  <cyd@gnu.org>
1185         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1186         (Buffer-menu-mouse-select): Restore function (Bug#11459).
1187         (Buffer-menu-mode-map): Bind it.
1188         (Buffer-menu--pretty-name): Add a mouse-face property.
1190 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1192         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
1193         (prolog-upper-case-string, prolog-lower-case-string)
1194         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1195         (prolog-use-smie, prolog-smie-grammar): New vars.
1196         (prolog-smie-forward-token, prolog-smie-backward-token)
1197         (prolog-smie-rules): New funs.
1198         (prolog-comment-indent): Remove.
1199         (prolog-mode-variables): Use default comment indentation instead.
1200         Setup SMIE.
1201         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1202         (prolog-mode): Don't call them any more.
1203         (prolog-electric-colon, prolog-electric-dash)
1204         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1206         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1208         * minibuffer.el (completion--twq-all): Again, allow case differences.
1210         * term.el: Move keymap initialization code to be more idiomatic.
1211         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1212         (term-terminal-menu): Move initialization into declaration.
1213         (term-escape-char): Let the user set it in her .emacs.
1215         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1216         Provide SMIE-based indentation (not enabled by default yet).
1217         (sh-mode-map): Don't bind electric keys.
1218         Use electric-pair-mode instead of skeleton-pair.
1219         (sh-assignment-regexp): Fit within 80 columns.
1220         (sh-indent-supported): Specify actual shell name instead of boolean.
1221         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1222         (sh-maybe-here-document): Use it.  Make obsolete.
1223         (sh-electric-here-document-mode) New minor mode.
1224         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
1225         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1226         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1227         (sh-smie-rc-grammar, sh-use-smie): New vars.
1228         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1229         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1230         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1231         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1232         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1233         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1234         (sh-set-shell): Use smie-setup if requested.
1236         * term.el (term-set-escape-char): Properly set term-escape-char.
1237         See http://stackoverflow.com/questions/10524656.
1239 2012-05-10  Chong Yidong  <cyd@gnu.org>
1241         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1242         Use url-generic-parse-url, and handle host names and Windows
1243         filenames properly.
1244         (ffap-url-unwrap-remote): Use url-generic-parse-url.
1245         (ffap-url-unwrap-remote): Accept list values, specifying a list of
1246         URL schemes to work on.
1247         (ffap--toggle-read-only): New function.
1248         (ffap-read-only, ffap-read-only-other-window)
1249         (ffap-read-only-other-frame): Use it.
1250         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1251         necessary for ffap-url-unwrap-remote.
1253 2012-05-10  Dave Abrahams  <dave@boostpro.com>
1255         * cus-start.el (create-lockfiles): Add it.
1257 2012-05-09  Chong Yidong  <cyd@gnu.org>
1259         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1260         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1262 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1264         * shell.el (shell-completion-vars): Fix last change (bug#11348).
1266 2012-05-09  Chong Yidong  <cyd@gnu.org>
1268         * ansi-color.el (ansi-color-process-output): Check for validity of
1269         comint-last-output-start before using it.  This avoids a bad
1270         interaction with gdb-mi's input/output buffer.
1272 2012-05-09  Glenn Morris  <rgm@gnu.org>
1274         * files.el (dir-locals-read-from-file):
1275         Mention dir-locals in any error message.
1277 2012-05-09  Chong Yidong  <cyd@gnu.org>
1279         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1280         package (Bug#11410).
1282         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1283         variables into description.
1285 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1287         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1288         shell-delimiter-argument-list (bug#11348).
1289         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1291 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
1293         * textmodes/rst.el: Silence byte-compiler warnings.
1294         (rst-re-alist, rst-reset-section-caches): Move around.
1295         (rst-re): Use `characterp', not `char-valid-p'.
1296         (font-lock-beg, font-lock-end): Declare.
1298         * progmodes/idlw-shell.el (specs): Remove reference to deleted
1299         variable `idlwave-shell-activate-alt-keybindings' and simplify.
1301         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1303 2012-05-08  Glenn Morris  <rgm@gnu.org>
1305         * files.el (auto-mode-alist): Treat ".make" like ".mk".
1307 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1309         * vc/log-edit.el: Add GNU coding standards highlighting.
1310         (log-edit-font-lock-gnu-style)
1311         (log-edit-font-lock-gnu-keywords): New vars.
1312         (log-edit-font-lock-keywords): New fun.
1313         (log-edit-mode): Don't fold case in font-lock.
1314         (log-edit-font-lock-keywords): Do not assume case-folding.
1316         * imenu.el: Misc cleanup.  Make docstrings out of comments.
1317         Use lexical-binding.
1318         (imenu--index-alist, imenu--last-menubar-index-alist)
1319         (imenu-menubar-modified-tick): Use defvar-local.
1320         (imenu--split-menu): Remove unused var.
1321         (imenu--cleanup-seen): Declare as global.
1322         (imenu--cleanup): Use dolist.
1324         * subr.el (defvar-local): Add debug spec and doc-string position.
1326 2012-05-08  Glenn Morris  <rgm@gnu.org>
1328         * lisp/language/burmese.el, language/cham.el, language/czech.el:
1329         * language/english.el, language/georgian.el, language/greek.el:
1330         * language/japanese.el, language/khmer.el, language/korean.el:
1331         * language/lao.el, language/misc-lang.el, language/romanian.el:
1332         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1333         * language/thai.el, language/utf-8-lang.el:
1334         Remove no-byte-compile setting.
1336         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
1338 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1340         * progmodes/make-mode.el (makefile-browse):
1341         Remove unnecessary interactive.  (Bug#11324)
1343 2012-05-07  Glenn Morris  <rgm@gnu.org>
1345         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1347         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1349 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1351         * loadup.el: Preload newcomment.el.
1352         * newcomment.el: Move autoload-only code to toplevel.
1354         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1355         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1356         Handle new :right-align column property.
1357         (tabulated-list-print-col): Idem, plus use `display' text-property to
1358         try and preserve alignment for variable pitch fonts.
1360 2012-05-07  Chong Yidong  <cyd@gnu.org>
1362         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1363         (tabulated-list-use-header-line): New var.
1364         (tabulated-list-init-header): Use it.
1365         (tabulated-list-print-fake-header): New function.
1366         (tabulated-list-print): Use it.
1367         (tabulated-list-sort-button-map): Add non-header-line commands.
1368         (tabulated-list-init-header): Add column name property to basic
1369         labels as well.
1370         (tabulated-list-col-sort): Handle non-header-line button case.
1371         (tabulated-list--sort-by-column-name): Fix a corner case.
1373         * buff-menu.el (list-buffers--refresh):
1374         Handle Buffer-menu-use-header-line.
1376 2012-05-06  Chong Yidong  <cyd@gnu.org>
1378         * buff-menu.el: Convert to Tabulated List mode.
1379         (Buffer-menu-buffer+size-width): Make obsolete.
1380         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1381         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1382         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
1383         documentation into docstring of buffer-menu.
1384         (Buffer-menu-toggle-files-only): Add an informative message.
1385         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1386         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1387         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1388         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1389         (Buffer-menu-execute, Buffer-menu-select)
1390         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1391         (Buffer-menu-bury): Use Tabulated List machinery.
1392         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1393         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1394         Delete.
1395         (list-buffers--refresh): New function.
1396         (list-buffers-noselect): Use it.
1397         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1398         (Buffer-menu--pretty-file-name): New helper functions.
1400         * loadup.el: Preload tabulated-list.
1402         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1403         tabulated-list-sort-column.
1404         (tabulated-list-init-header): Add the initial aligning space even
1405         if tabulated-list-padding is zero.
1407 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
1409         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1410         whose cdr is not a cons cell correctly (bug#11038).
1412 2012-05-06  Chong Yidong  <cyd@gnu.org>
1414         * emacs-lisp/tabulated-list.el (tabulated-list-format):
1415         Accept additional plist in column descriptors.
1416         (tabulated-list-init-header): Obey it.
1417         (tabulated-list-get-entry): New function.
1418         (tabulated-list-put-tag): Use it.  Use string-width instead of
1419         length.
1420         (tabulated-list--column-number): New function.
1421         (tabulated-list-print): Use it.
1422         (tabulated-list-print-col): New function.
1423         Set `tabulated-list-column-name' property on each column's text.
1424         (tabulated-list-print-entry): Use it.
1425         (tabulated-list-delete-entry, tabulated-list-set-col):
1426         New functions.
1427         (tabulated-list-sort-column): New command (Bug#11337).
1429         * buff-menu.el (list-buffers): Move C-x C-b binding from
1430         buff-menu.el to bindings.el.
1432         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1433         :advertised-binding feature.
1435 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
1437         * progmodes/compile.el (compilation-internal-error-properties):
1438         Calculate start position correctly when end-col is set but
1439         end-line is not (Bug#11382).
1441 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
1443         * man.el (Man-unindent): Use text-property-default-nonsticky to
1444         prevent untabify from inheriting face properties (Bug#11408).
1446 2012-05-05  Stefan Merten  <smerten@oekonux.de>
1448         * textmodes/rst.el: Major merge with upstream development up to
1449         Docutils SVN r7399 / rst.el V1.2.1.
1451         Clarify maintainership and authors.
1453         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1454         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1455         (rst-official-version, rst-official-cvs-rev, rst-version)
1456         (rst-package-emacs-version-alist): New functions and variables
1457         for version information.
1459         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1460         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1461         (rst-mode-syntax-table, rst-mode): New and corrected functions
1462         and variables representing reStructuredText features.
1464         (rst-re): New function for reStructuredText regexes.  Use in
1465         many places.
1467         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1468         (rst-mode-map): Rebind keys.
1470         (rst-mode-lazy, rst-font-lock-keywords)
1471         (rst-font-lock-extend-region)
1472         (rst-font-lock-extend-region-internal)
1473         (rst-font-lock-extend-region-extend)
1474         (rst-font-lock-find-unindented-line-limit)
1475         (rst-font-lock-find-unindented-line-match)
1476         (rst-adornment-level, rst-font-lock-adornment-level)
1477         (rst-font-lock-adornment-match)
1478         (rst-font-lock-handle-adornment-pre-match-form)
1479         (rst-font-lock-handle-adornment-matcher): Major revision of
1480         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
1482         (rst-preferred-adornments, rst-adjust-hook)
1483         (rst-new-adornment-down, rst-preferred-bullets)
1484         (rst-preferred-bullets, rst-indent, rst-indent-width)
1485         (rst-indent-field, rst-indent-literal-normal)
1486         (rst-indent-literal-minimized, rst-indent-comment): Change,
1487         extend and improve customization.
1489         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1490         (rst-normalize-cursor-position, rst-get-decoration)
1491         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1492         (rst-rstrip, rst-toc-insert-find-delete-contents)
1493         (rst-shift-fill-region, rst-compute-bullet-tabs)
1494         (rst-debug-print-tabs, rst-debug-mark-found)
1495         (rst-shift-region-guts, rst-shift-region-right)
1496         (rst-shift-region-left, rst-use-char-classes)
1497         (rst-font-lock-keywords-function)
1498         (rst-font-lock-indentation-point)
1499         (rst-font-lock-find-unindented-line-begin)
1500         (rst-font-lock-find-unindented-line-end)
1501         (rst-font-lock-find-unindented-line)
1502         (rst-font-lock-adornment-point, rst-font-lock-level)
1503         (rst-adornment-level-alist): Remove functions and variables.
1505         (rst-compare-adornments, rst-get-adornment-match)
1506         (rst-suggest-new-adornment, rst-get-adornments-around)
1507         (rst-adornment-complete-p, rst-get-next-adornment)
1508         (rst-adjust-adornment, rst-display-adornments-hierarchy)
1509         (rst-straighten-adornments): Standardize function names to
1510         use "adornment" instead of "decoration".  Correct callers.
1511         Similar standardizing in many places.
1513         (rst-update-section, rst-adjust, rst-promote-region)
1514         (rst-enumerate-region, rst-bullet-list-region)
1515         (rst-repeat-last-character): Correct use of `interactive'.
1517         (rst-classify-adornment, rst-find-all-adornments)
1518         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1519         (rst-find-leftmost-column, rst-repeat-last-character):
1520         Refactor functions.
1522         (rst-find-title-line, rst-reset-section-caches)
1523         (rst-get-adornments-around, rst-adjust-adornment-work)
1524         (rst-arabic-to-roman, rst-roman-to-arabic)
1525         (rst-insert-list-pos, rst-insert-list-new-item)
1526         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1527         New functions.
1529         (rst-all-sections, rst-section-hierarchy)
1530         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1531         New variables.
1533         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1534         configuration instead of only buffer.  Change where necessary.
1536         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1537         (rst-shift-region, rst-adaptive-fill): New functions for
1538         indentation and filling.
1540         (rst-comment-line-break, rst-comment-indent)
1541         (rst-comment-insert-comment, rst-comment-region)
1542         (rst-uncomment-region): New functions for handling comments.
1544         (rst-compile): Quote shell arguments.
1546         (rst-compile-pdf-preview, rst-compile-slides-preview):
1547         Delete temporary files after use.
1549 2012-05-05  Glenn Morris  <rgm@gnu.org>
1551         * calendar/cal-html.el: Optionally include holidays in the output.
1552         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1553         (cal-html-holidays): New option.
1554         (cal-html-css-default): Add holiday entry.
1555         (holiday-in-range): Autoload it.
1556         (cal-html-htmlify-entry): Add optional class argument.
1557         (cal-html-htmlify-list): Add optional holidays argument.
1558         (cal-html-insert-agenda-days): Include holidays in the output.
1559         (cal-html-one-month): Maybe include holidays.
1561         * calendar/holidays.el (holiday-in-range):
1562         Move here from cal-tex-list-holidays.
1563         * calendar/cal-tex.el (cal-tex-list-holidays):
1564         Make it an obsolete alias for holiday-in-range.  Update all callers.
1566 2012-05-05  Chong Yidong  <cyd@gnu.org>
1568         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1569         Nextstep.
1571 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
1573         * files.el (file-auto-mode-skip): New var.
1574         (set-auto-mode-1): Use it.
1576 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1578         * repeat.el: Use lexical-binding.
1579         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1580         (repeat-undo-count): Remove.
1581         (repeat):
1582         * progmodes/octave-mod.el (octave-abbrev-start):
1583         * progmodes/f90.el (f90-abbrev-start):
1584         * face-remap.el (text-scale-adjust):
1585         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1587         * emacs-lisp/pcase.el (pcase--let*): New function.
1588         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1589         a bit more.
1590         (pcase--split-pred): Be more clever about ruling out overlap between
1591         a predicate and some constant pattern.
1592         (pcase--q1): Use `null' instead of (eq foo nil).
1594         * subr.el (setq-local, defvar-local): New macros.
1595         (kbd): Redefine as an alias.
1596         (with-selected-window): Leave unrelated frames alone.
1597         (set-temporary-overlay-map): New function.
1599 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1601         * subr.el (user-error): New function.
1602         * window.el (switch-to-buffer):
1603         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1604         (smerge-match-conflict):
1605         * simple.el (previous-matching-history-element)
1606         (next-matching-history-element, goto-history-element, undo-more)
1607         (undo-start):
1608         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1609         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1610         (next-file, tags-loop-scan, list-tags, complete-tag):
1611         * progmodes/compile.el (compilation-loop):
1612         * mouse.el (mouse-minibuffer-check):
1613         * man.el (Man-bgproc-sentinel, Man-goto-page):
1614         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1615         (Info-history-forward, Info-follow-reference, Info-menu)
1616         (Info-extract-menu-item, Info-extract-menu-counting)
1617         (Info-forward-node, Info-backward-node, Info-next-menu-item)
1618         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1619         (Info-next-reference, Info-prev-reference, Info-index)
1620         (Info-index-next, Info-follow-nearest-node)
1621         (Info-copy-current-node-name):
1622         * imenu.el (imenu--make-index-alist)
1623         (imenu-default-create-index-function, imenu-add-to-menubar):
1624         * files.el (basic-save-buffer, recover-file):
1625         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1626         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1627         (checkdoc-message-text, checkdoc-defun):
1628         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1629         * cus-edit.el (customize-changed-options, customize-rogue)
1630         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1631         (custom-variable-mark-to-reset-standard)
1632         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1633         (custom-file):
1634         * completion.el (check-completion-length):
1635         * comint.el (comint-search-arg)
1636         (comint-previous-matching-input-string-position)
1637         (comint-previous-matching-input)
1638         (comint-replace-by-expanded-history-before-point, comint-send-input)
1639         (comint-copy-old-input, comint-backward-matching-input)
1640         (comint-goto-process-mark, comint-set-process-mark):
1641         * calendar/calendar.el (calendar-cursor-to-date): Use it.
1642         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1644 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1646         * dabbrev.el (dabbrev--ignore-case-p): New function.
1647         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1648         Use it.
1650         * files.el (automount-dir-prefix): Mark as obsolete.
1652 2012-05-04  Glenn Morris  <rgm@gnu.org>
1654         * patcomp.el, play/bruce.el: Move to obsolete/.
1656 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
1658         Fix minor Y10k bugs.
1659         * arc-mode.el (archive-unixdate):
1660         * autoinsert.el (auto-insert-alist):
1661         * calc/calc-forms.el (math-this-year):
1662         * emacs-lisp/copyright.el (copyright-current-year)
1663         (copyright-update-year, copyright):
1664         * tar-mode.el (tar-clip-time-string):
1665         * time.el (display-time-update):
1666         Don't assume years have 4 digits.
1668 2012-05-04  Chong Yidong  <cyd@gnu.org>
1670         * dos-w32.el (file-name-buffer-file-type-alist)
1671         (direct-print-region-use-command-dot-com):
1672         * ffap.el (ffap-menu-regexp):
1673         * find-file.el (ff-special-constructs):
1674         * follow.el (follow-debug):
1675         * forms.el (forms--debug):
1676         * iswitchb.el (iswitchb-all-frames):
1677         * ido.el (ido-all-frames):
1678         * emacs-lisp/timer.el (timer-max-repeats):
1679         * mail/feedmail.el (feedmail-mail-send-hook)
1680         (feedmail-mail-send-hook-queued):
1681         * mail/footnote.el (footnote-signature-separator):
1682         * mail/mailabbrev.el (mail-alias-separator-string)
1683         (mail-abbrev-mode-regexp):
1684         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1685         * progmodes/idlwave.el (idlwave-libinfo-file)
1686         (idlwave-default-completion-case-is-down)
1687         (idlwave-library-routines): Convert defvars to defcustoms.
1689         * mail/rmail.el (rmail-decode-mime-charset):
1690         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1691         (idlwave-shell-fix-inserted-breaks)
1692         (idlwave-shell-activate-alt-keybindings)
1693         (idlwave-shell-use-breakpoint-glyph):
1694         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1696 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1698         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1700 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
1702         * progmodes/verilog-mode.el (font-lock-keywords):
1703         Fix mis-highligting auto.  Reported by Craig Barner.
1704         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1705         defines from global name space. Reported by Dan Dever.
1706         (verilog-auto-reset, verilog-auto-reset-widths)
1707         (verilog-auto-tieoff): Support using unbased numbers for
1708         AUTORESET and AUTOTIEOFF.
1709         (verilog-submit-bug-report): Update variable list.
1710         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1711         parenthesis from not matching. Reported by Michael Rytting.
1712         (verilog-auto-template-lint): Fix hash error when linting modules
1713         with no used templates.
1714         (verilog-warn, verilog-warn-error)
1715         (verilog-warn-fatal): When non-interactive report multiple
1716         warnings before exiting.  Suggested by Brad Dobbie.
1717         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1718         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1719         to report unused template errors.  Reported by Brad Dobbie.
1720         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1721         nets, bug438. Reported by Vns Blore.
1722         (verilog-auto-inout-module, verilog-auto-reg)
1723         (verilog-read-decls, verilog-read-sub-decls-sig)
1724         (verilog-signals-edit-wire-reg, verilog-signals-with):
1725         Fix passing of Verilog data types in ANSI input/output ports
1726         such as "output logic" into the AUTOs. Special case "wire" and
1727         "reg" for backwards compatibility presuming Verilog 2001.
1728         (verilog-auto-ascii-enum): Add "auto enum" as alias.
1729         (verilog-preprocess): Fix replication of preprocess output.
1730         Reported by Brad Dobbie.
1731         (verilog-auto-inst-interfaced-ports):
1732         Create verilog-auto-inst-interfaced-ports, bug429.
1733         Reported by Julian Gorfajn.
1734         (verilog-after-save-font-hook)
1735         (verilog-before-save-font-hook): New variable.
1736         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1737         (verilog-save-font-mods): Wrap disabling fontification, reported
1738         by David Rogoff.
1739         (verilog-do-indent, verilog-pretty-declarations-auto)
1740         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1741         Reported by Pierre-David Pfister.
1742         (verilog-set-auto-endcomments): Fix endtask auto comments outside
1743         of class declarations, bug292.  Reported by Kevin Heilman.
1744         (verilog-read-decls): Fix 'parameter type' not appearing in
1745         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
1746         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1747         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1748         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1749         Reported by David Kravitz.
1751 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
1753         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1754         assignment with tests in ifs and for loops.
1755         (verilog-extended-complete-re, verilog-complete-reg): Change so
1756         that DPI inport functions don't look like fuction declarations.
1757         (verilog-pretty-expr): Don't line up assignment
1758         operations to the test and increment in if and for loops
1759         (verilog-extended-complete-re, verilog-complete-reg): Change so
1760         that DPI inport functions don't look like fuction declarations
1762 2012-05-03  Kenichi Handa  <handa@m17n.org>
1764         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1765         decoding, and show a warning message without signaling an error
1766         (Bug#11282).
1768 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1770         * emacs-lisp/bytecomp.el
1771         (byte-compile-file-form-custom-declare-variable): Compile all elements,
1772         since cconv.el might have introduced :fun-body, internal-make-closure,
1773         and friends for bytecomp to handle (bug#11391).
1774         * custom.el (defcustom): Avoid ((λ ..) ..).
1776 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1778         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1780 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
1782         * notifications.el (dbus-debug):
1783         * term/linux.el (gpm-mouse-enable):
1784         * term/screen.el (xterm-register-default-colors): Declare.
1786 2012-05-02  Chong Yidong  <cyd@gnu.org>
1788         * cus-start.el (gc-cons-percentage, exec-suffixes)
1789         (dos-display-scancodes, dos-hyper-key, dos-super-key)
1790         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1791         (make-cursor-line-fully-visible, void-text-area-pointer)
1792         (font-list-limit): Add customization data.
1794         * allout.el (allout-exposure-change-functions)
1795         (allout-structure-added-functions)
1796         (allout-structure-deleted-functions)
1797         (allout-structure-shifted-functions): Rename abnormal hooks from
1798         *-hook, and convert to defcustoms.
1799         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1800         Convert to defcustoms.
1801         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1803         * allout-widgets.el: Hook callers changed.
1805 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
1807         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1808         the yanked message in preference to the default value of
1809         buffer-file-coding-system.
1811 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
1813         * window.el (display-buffer--action-function-custom-type):
1814         Fix entry.
1816 2012-05-02  Alan Mackenzie  <acm@muc.de>
1818         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1820 2012-05-01  Glenn Morris  <rgm@gnu.org>
1822         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1824         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
1826         * cus-edit.el (custom-variable-documentation): Simplify with format.
1828 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1829             Stefan Monnier  <monnier@iro.umontreal.ca>
1831         * simple.el (suggest-key-bindings, execute-extended-command):
1832         Move from keyboard.c.
1834 2012-05-01  Chong Yidong  <cyd@gnu.org>
1836         * follow.el: Eliminate advice.
1837         (set-process-filter, process-filter, sit-for): Advice deleted.
1838         (follow-mode-off-hook): Obsolete hook removed.
1839         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1840         Vars deleted.
1841         (follow-auto): Use a :set function.
1842         (follow-mode): Rewritten.  Don't advise process filters.
1843         (follow-switch-to-current-buffer-all, follow-scroll-up)
1844         (follow-scroll-down): Assume follow-mode is bound.
1845         (follow-comint-scroll-to-bottom)
1846         (follow-align-compilation-windows): New functions.
1847         (follow--window-sorter): New function.
1848         (follow-all-followers): Use it to explicitly sort windows by their
1849         positions; don't make assumptions about next-window order.
1850         (follow-windows-start-end, follow-delete-other-windows-and-split)
1851         (follow-calc-win-start): Doc fix.
1852         (follow-windows-aligned-p, follow-select-if-visible): Don't call
1853         vertical-motion unnecessarily.
1854         (follow-adjust-window): New function.
1855         (follow-post-command-hook): Use it.
1856         (follow-call-set-process-filter, follow-call-process-filter)
1857         (follow-intercept-process-output, follow-tidy-process-filter-alist)
1858         (follow-stop-intercept-process-output, follow-generic-filter):
1859         Functions deleted.
1860         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1861         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1862         New functions, replacing advice on scroll-bar-* commands.
1863         (follow-mwheel-scroll): New function (Bug#4112).
1865         * comint.el (comint-adjust-point): New function.
1866         (comint-postoutput-scroll-to-bottom): Use it.
1867         Call follow-comint-scroll-to-bottom for Follow mode buffers.
1869 2012-05-01  Glenn Morris  <rgm@gnu.org>
1871         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1872         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1873         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1874         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1875         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1876         Remove no-byte-compile setting.
1878 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1880         * minibuffer.el (completion-table-with-quoting): Fix compatibility
1881         all-completions code to not return a number in the last cdr.
1883 2012-04-30  Leo Liu  <sdl.web@gmail.com>
1885         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1886         read-only error.
1888 2012-04-29  Chong Yidong  <cyd@gnu.org>
1890         * follow.el (follow-calc-win-end): Rewrite to handle partial
1891         screen lines correctly (Bug#8390).
1892         (follow-avoid-tail-recenter): Minor cleanup.
1894 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1896         Avoid the obsolete `assoc' package.
1897         * speedbar.el (speedbar-refresh): Avoid adelete.
1898         (speedbar-file-lists): Simplify and avoid aput.
1899         * man.el (Man--sections, Man--refpages): New vars, replacing
1900         Man-sections-alist and Man-refpages-alist.
1901         (Man-build-section-alist, Man-build-references-alist):
1902         Use them; avoid aput.
1903         (Man--last-section, Man--last-refpage): New vars.
1904         (Man-follow-manual-reference): Use them.
1905         Use the `default' arg of completing-read.
1906         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
1908 2012-04-27  Chong Yidong  <cyd@gnu.org>
1910         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1912         * startup.el (x-apply-session-resources): New function.
1914         * term/ns-win.el (ns-initialize-window-system):
1915         * term/w32-win.el (w32-initialize-window-system):
1916         * term/x-win.el (x-initialize-window-system): Use it to properly
1917         set menu-bar-mode and other vars from X resources, even if the
1918         initial frame is not a window-system frame (Bug#2299).
1920         * subr.el (read-key): Avoid running filter function when setting
1921         up temporary tool bar entries (Bug#9922).
1923 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
1925         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1926         (Bug#11344)
1928 2012-04-27  Chong Yidong  <cyd@gnu.org>
1930         * select.el (xselect--encode-string): New function, split from
1931         xselect-convert-to-string.
1932         (xselect-convert-to-string): Use it.
1933         (xselect-convert-to-filename, xselect-convert-to-os)
1934         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1935         returned strings are properly encoded (Bug#11315).
1937 2012-04-27  Chong Yidong  <cyd@gnu.org>
1939         * simple.el (delete-active-region): Move to killing custom group.
1941 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
1943         * progmodes/which-func.el (which-func-current): Quote %
1944         characters for mode-line processing.
1946 2012-04-27  Chong Yidong  <cyd@gnu.org>
1948         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1949         reaching eob (Bug#11286).
1951 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
1953         * progmodes/gdb-mi.el (gdb-control-level): New variable.
1954         (gdb): Make it buffer-local and init to zero.
1955         (gdb-control-commands-regexp): New variable.
1956         (gdb-send): Don't wrap in "-interpreter-exec console" if
1957         gdb-control-level is positive.  Increment gdb-control-level
1958         whenever the command matches gdb-control-commands-regexp, and
1959         decrement it each time the command is "end".  (Bug#11279)
1961 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
1963         * window.el (adjust-window-trailing-edge, enlarge-window)
1964         (shrink-window, window-resize):
1965         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1966         windows (Bug#11276).
1968 2012-04-27  Chong Yidong  <cyd@gnu.org>
1970         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1971         fix "missing prefix" warning.  All callers changed.
1973 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1975         * emacs-lisp/assoc.el: Move to obsolete/.
1977 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1979         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1981         * term/ns-win.el (ns-define-service):
1982         * progmodes/pascal.el (pascal-goto-defun):
1983         * progmodes/js.el (js--read-tab):
1984         * progmodes/etags.el (tags-lazy-completion-table):
1985         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1986         * emacs-lisp/ewoc.el (ewoc--wrap):
1987         * emacs-lisp/assoc.el (aput, adelete, amake):
1988         * doc-view.el (doc-view-convert-current-doc):
1989         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1991 2012-04-26  Chong Yidong  <cyd@gnu.org>
1993         * image.el (image-type-from-buffer): Only return supported image
1994         type (Bug#9045).
1996         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1997         value, for symmetry with diff-end-of-hunk.
1998         (diff-split-hunk, diff-find-source-location)
1999         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2000         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2001         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2002         compute the relevant hunk or file properly (Bug#6005).
2003         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2005 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2007         * vc/vc-mtn.el:
2008         * vc/vc-hg.el:
2009         * vc/vc-git.el:
2010         * vc/vc-dir.el:
2011         * vc/vc-cvs.el:
2012         * vc/vc-bzr.el:
2013         * vc/vc-arch.el:
2014         * vc/vc.el: Replace lexical-let by lexical-binding.
2015         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2016         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2017         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2019 2012-04-26  Chong Yidong  <cyd@gnu.org>
2021         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2022         (diff-mode-shared-map): Bind it to / and [remap undo].
2024         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2025         (ediff-window-setup-function): Use it as the default, to set up
2026         windows based on whether the current frame is graphical (Bug#2138).
2027         (ediff-choose-window-setup-function-automatically): Make obsolete.
2029         * vc/ediff-init.el: Always define ediff-pixel-width/height.
2031 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2033         * ffap.el: Remove old code for obsolete package.
2034         (ffap-complete-as-file-p): Remove.
2036         Use completion-table-with-quoting for comint and pcomplete.
2037         * comint.el (comint--unquote&requote-argument)
2038         (comint--unquote-argument, comint--requote-argument): New functions.
2039         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2040         (comint-quote-filename): Use regexp-opt-charset.
2041         (comint--common-suffix, comint--common-quoted-suffix)
2042         (comint--table-subvert): Remove.
2043         (comint-unquote-function, comint-requote-function): New vars.
2044         (comint--complete-file-name-data): Use them with
2045         completion-table-with-quoting.
2046         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2047         * pcomplete.el (pcomplete-arg-quote-list)
2048         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2049         (pcomplete-unquote-argument-function): Default to non-nil.
2050         (pcomplete-unquote-argument): Simplify.
2051         (pcomplete--common-quoted-suffix): Remove.
2052         (pcomplete-requote-argument-function): New var.
2053         (pcomplete--common-suffix): New function.
2054         (pcomplete-completions-at-point): Use completion-table-with-quoting
2055         and completion-table-subvert.
2057         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2058         (minibuffer--double-dollars): Preserve properties.
2059         (completion--sifn-requote): New function.
2060         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2062         * minibuffer.el: Add support for completion of quoted/escaped data.
2063         (completion-table-with-quoting, completion-table-subvert): New funs.
2064         (completion--twq-try, completion--twq-all): New functions.
2065         (completion--nth-completion): New function.
2066         (completion-try-completion, completion-all-completions): Use it.
2068 2012-04-25  Leo Liu  <sdl.web@gmail.com>
2070         * progmodes/python.el (python-pdbtrack-get-source-buffer):
2071         Use compilation-message if available to find real filename.
2073 2012-04-25  Chong Yidong  <cyd@gnu.org>
2075         * vc/diff-mode.el (diff-setup-whitespace): New function.
2076         (diff-mode): Use it.
2078         * vc/diff.el (diff-sentinel):
2079         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2080         Whitespace mode variables based on diff style (Bug#8612).
2082 2012-04-25  Leo Liu  <sdl.web@gmail.com>
2084         * progmodes/python.el (python-send-region): Add suffix .py to the
2085         temp file.
2087         * files.el (auto-mode-alist): Use javascript-mode instead.
2089 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
2091         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
2093         * soap-client.el (soap-resolve-references-for-sequence-type)
2094         (soap-resolve-references-for-array-type): Hack to prevent self
2095         references, see Bug#9.
2096         (soap-parse-envelope): Report the contents of the 'detail' node
2097         when receiving a fault reply.
2098         (soap-parse-envelope): Report the contents of the entire 'detail' node.
2100         * soap-inspect.el (soap-sample-value-for-simple-type)
2101         (soap-inspect-simple-type): New function.
2103         * soap-client.el (soap-simple-type): New struct.
2104         (soap-default-xsd-types, soap-default-soapenc-types)
2105         (soap-decode-basic-type, soap-encode-basic-type):
2106         support unsignedInt and double basic types.
2107         (soap-resolve-references-for-simple-type)
2108         (soap-parse-simple-type, soap-encode-simple-type): New function.
2109         (soap-parse-schema): Parse xsd:simpleType declarations.
2111         * soap-client.el (soap-default-xsd-types)
2112         (soap-default-soapenc-types): Add integer, byte and anyURI types.
2113         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2114         the local name of "soapenc:Array".
2115         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2116         decoding integer, byte and anyURI xsd types.
2118 2012-04-25  Chong Yidong  <cyd@gnu.org>
2120         * cus-edit.el (custom-buffer-create-internal): Update header text.
2122 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
2124         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2125         settings on 'system-type', not on 'window-system'.  On MS-Windows,
2126         set interactive-mode on in GDB.
2128 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2130         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2131         (ruby-syntax-propertize-regexp): Remove.
2132         (ruby-syntax-propertize-function): Split regexp into chunks.
2133         Match following code directly.
2135 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
2137         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2138         (ruby-syntax-propertize-regexp): New function.
2139         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2140         by a special keyword.
2142         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2143         (ruby-syntax-general-delimiters-goto-beg)
2144         (ruby-syntax-propertize-general-delimiters): New functions.
2145         (ruby-syntax-propertize-function): Use them to handle GDL.
2146         (ruby-font-lock-keywords): Move old handling of GDL...
2147         (ruby-font-lock-syntactic-keywords): .. to here.
2148         (ruby-calculate-indent): Adjust indentation for GDL.
2150 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
2152         * notifications.el (top): Remove unneeded declarations.
2153         (notifications-specification-version): Change to "1.2".
2154         (notifications-interface, notifications-notify-method)
2155         (notifications-close-notification-method): Fix docstring.
2156         (notifications-get-capabilities-method): New defconst.
2157         (notifications-notify): Add :action-items, :resident and
2158         :transient hints.  Change "image_data" to "image-data" and
2159         "image_path" to "image-path".
2160         (notifications-get-capabilities): New defun.
2162 2012-04-24  Leo Liu  <sdl.web@gmail.com>
2164         * progmodes/python.el: Move hideshow setup to the end.
2166 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
2168         * window.el (handle-select-window): Clear echo area since this is
2169         no more done by read_char (Bug#11304).
2171 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2173         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2174         and `/ M' to filter-derived-mode.
2175         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2176         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2177         (ibuffer-mark-by-mode): Use default rather than initial-input.
2178         (ibuffer-filter-by-derived-mode): Autoload and require-match.
2180 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
2182         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2183         (ibuffer-filter-by-derived-mode): New filter.
2184         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2186 2012-04-23  Andreas Politz  <politza@fh-trier.de>
2188         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2190 2012-04-23  Chong Yidong  <cyd@gnu.org>
2192         * cus-edit.el (customize-apropos, customize-apropos-options):
2193         Disable matching of non-option variables (Bug#11176).
2194         (customize-option, customize-option-other-window)
2195         (customize-changed-options): Doc fix.
2196         (customize-apropos-options, customize-apropos-faces)
2197         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2199         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2200         Fix word list splitting (Bug#11132).
2201         (apropos-symbol, apropos-keybinding, apropos-label)
2202         (apropos-property, apropos-function-button)
2203         (apropos-variable-button, apropos-misc-button): New faces.
2204         (apropos-symbol-face, apropos-keybinding-face)
2205         (apropos-label-face, apropos-property-face, apropos-match-face):
2206         Variables removed (Bug#8396).
2207         (apropos-library-button, apropos-format-plist, apropos-print)
2208         (apropos-print-doc, apropos-describe-plist): Callers changed.
2210 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
2212         * net/xesam.el (xesam-mode-map): Use let-bound map in
2213         initialization.  (Bug#11292)
2215 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2217         Preserve ispell session localwords when switching back to
2218         original buffer.
2220         * ispell.el (ispell-buffer-session-localwords): New buffer-local
2221         variable to hold buffer session localwords.
2222         (ispell-kill-ispell): add option 'clear to delete session
2223         localwords.
2224         (ispell-command-loop, ispell-change-dictionary)
2225         (ispell-buffer-local-words): Preserve session localwords when
2226         needed.
2228         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2229         Preserve session localwords when needed.
2231 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2233         * ispell.el (ispell-insert-word) Remove unneeded function using
2234         obsolete `translation-table-for-input'.
2235         (ispell-word, ispell-process-line, ispell-complete-word):
2236         Use plain `insert' instead of removed `ispell-insert-word'.
2238 2012-04-22  Chong Yidong  <cyd@gnu.org>
2240         * cus-edit.el (custom-variable-menu)
2241         (custom-variable-reset-saved, custom-face-menu)
2242         (custom-face-reset-saved): If there is no saved value, make the
2243         "reset-saved" operation bring back the default (Bug#9509).
2244         (custom-face-state): Properly detect themed faces.
2246         * faces.el (face-spec-set): Stop supporting deprecated form of
2247         third arg.
2249 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
2251         Move functions from C to Lisp.  Make non-blocking method calls
2252         the default.  Implement further D-Bus standard interfaces.
2254         * net/dbus.el (dbus-message-internal): Declare function.
2255         Remove unneeded function declarations.
2256         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2257         (dbus-message-type-method-return, dbus-message-type-error)
2258         (dbus-message-type-signal): Declare variables.  Remove local
2259         definitions.
2260         (dbus-interface-dbus, dbus-interface-peer)
2261         (dbus-interface-introspectable, dbus-interface-properties)
2262         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2263         Adapt docstring.
2264         (dbus-interface-objectmanager): New defconst.
2265         (dbus-call-method, dbus-call-method-asynchronously)
2266         (dbus-send-signal, dbus-method-return-internal)
2267         (dbus-method-error-internal, dbus-register-service)
2268         (dbus-register-signal, dbus-register-method): New defuns, moved
2269         from dbusbind.c
2270         (dbus-call-method-handler, dbus-setenv)
2271         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2272         New defuns.
2273         (dbus-call-method-non-blocking): Make it an obsolete function.
2274         (dbus-unregister-object, dbus-unregister-service)
2275         (dbus-handle-event, dbus-register-property)
2276         (dbus-property-handler): Obey the new structure of
2277         `bus-registered-objects'.
2278         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
2279         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2280         Use `dbus-call-method'.
2282 2012-04-22  Chong Yidong  <cyd@gnu.org>
2284         * cus-edit.el (custom-commands, custom-reset-menu)
2285         (Custom-reset-standard): Tweak labels.
2286         (custom-reset-button-menu): Change default to t.
2287         (custom-buffer-create-internal): For the custom-reset-button-menu
2288         case, put the revert button first.
2289         (custom-group-subtitle): New face.
2290         (custom-group-value-create): Align docstring to a specific column.
2292         * wid-edit.el (widget-documentation-link-add): Don't handle
2293         indentation in this function.
2294         (widget-documentation-string-indent-to): New function.
2295         (widget-documentation-string-value-create): Use it.
2297         * autorevert.el (auto-revert):
2298         * epg-config.el (epg):
2299         * ibuffer.el (ibuffer):
2300         * mpc.el (mpc):
2301         * ses.el (ses):
2302         * eshell/eshell.el (eshell):
2303         * net/ange-ftp.el (ange-ftp):
2304         * progmodes/ebnf2ps.el (postscript):
2305         * progmodes/flymake.el (flymake):
2306         * progmodes/prolog.el (prolog):
2307         * progmodes/verilog-mode.el (verilog-mode):
2308         * progmodes/which-func.el (which-func):
2309         * term/xterm.el (xterm):
2310         * textmodes/picture.el (picture):
2311         * textmodes/tildify.el (tildify):
2312         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2313         customization buffers.
2315 2012-04-22  Alan Mackenzie  <acm@muc.de>
2317         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2318         Adding a ) can hide the resulting (..) from searches.  Fix it.
2319         Bound the backward search to the position of the existing (.
2321 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
2323         * progmodes/verilog-mode.el (verilog-mode): Check whether
2324         which-func-modes is t before adding verilog-mode.
2325         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2327 2012-04-21  Leo Liu  <sdl.web@gmail.com>
2329         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2331 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
2333         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2334         filling of the last column of a table (Bug#5635).
2335         (woman-find-next-control-line): New arg, specifying an additional
2336         regexp component for the control line.
2337         (woman2-roff-buffer): Use it.
2338         (woman-break-table): New function.
2339         (woman2-TS): Use it.
2341 2012-04-21  Chong Yidong  <cyd@gnu.org>
2343         * woman.el (woman-set-buffer-display-table, woman-decode-region)
2344         (woman-horizontal-escapes, woman-negative-vertical-space)
2345         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2346         (WoMan-warn-ignored): Use ?\s instead of ?\ .
2348 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2350         * minibuffer.el (completion-file-name-table): Complete user names.
2352 2012-04-20  Leo Liu  <sdl.web@gmail.com>
2354         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2355         and pcase-let*.
2357 2012-04-20  Chong Yidong  <cyd@gnu.org>
2359         * server.el (server-execute): Respect initial-buffer-choice if it
2360         is a string and there are no files to open (Bug#2825).
2361         (server-create-window-system-frame, server-create-tty-frame):
2362         Don't switch buffers here.
2363         (server-process-filter): Only try to open a window system frame if
2364         compiled with graphical support (Bug#8314).
2366 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
2368         * battery.el (battery-echo-area-format): Display remaining time
2369         for sysfs backend too (Bug#11269).
2370         (battery-linux-sysfs): Fix conditional for the charge.
2372 2012-04-20  Chong Yidong  <cyd@gnu.org>
2374         * progmodes/gdb-mi.el (gdb): Revert previous change.
2375         (gdb-inferior-io--init-proc): New function.
2376         (gdb-init-1): Use it.
2377         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2378         responsible for allocating a new pty and hooking it to gdb when
2379         the old pty gets an EIO due to process exit.
2380         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
2381         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2382         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2384 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
2386         * window.el (window-min-size, window-sizable, window-min-delta)
2387         (window-max-delta, window--resizable, window-resizable)
2388         (window-total-size, window-full-height-p, window-full-width-p)
2389         (window-in-direction, window--resize-mini-window, window-resize)
2390         (window--resize-child-windows-normal)
2391         (window--resize-child-windows, window--resize-siblings)
2392         (window--resize-this-window, adjust-window-trailing-edge)
2393         (enlarge-window, shrink-window): Doc fixes.
2395 2012-04-20  Chong Yidong  <cyd@gnu.org>
2397         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2398         New function to call delete-process on the gdb-inferior buffer's pty.
2399         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2400         pty process (Bug#11273).
2401         (gdb-update): New arg to suppress talking to the gdb process.
2402         (gdb-done-or-error): Use it.
2403         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2404         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2405         sentinel not being called.
2407         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2409         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2411 2012-04-20  Glenn Morris  <rgm@gnu.org>
2413         * net/network-stream.el (open-network-stream): Doc fix.
2415 2012-04-20  Chong Yidong  <cyd@gnu.org>
2417         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2419 2012-04-20  Alan Mackenzie  <acm@muc.de>
2421         Ensure searching for keywords is case sensitive.
2423         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2424         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2425         (c-defun-name, c-mark-function, c-cpp-define-name)
2426         (c-comment-indent, c-scan-conditionals, c-indent-defun)
2427         (c-context-line-break): Bind case-fold-search to nil.
2429         * progmodes/cc-mode.el (c-font-lock-fontify-region):
2430         Bind case-fold-search to nil.
2432 2012-04-20  Chong Yidong  <cyd@gnu.org>
2434         * mail/sendmail.el (mail-bury): Call return action with the right
2435         Rmail buffer (Bug#11242).
2437         * server.el (server-process-filter): Handle corner case where both
2438         tty and nowait options are present (Bug#11102).
2440 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
2442         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2443         (top level): Put into the executable the ident-style '$Id:' tag on
2444         windows-nt as well.
2446 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2448         * electric.el (electric-indent-post-self-insert-function): Check that
2449         electric-indent-mode is enabled in current buffer.
2451 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
2453         * imenu.el (imenu-progress-message): Restore; it is "used" in
2454         erc/erc-imenu.el and net/snmp-mode.el.
2456 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
2458         * avoid.el (mouse-avoidance-mode): Mark unused arg.
2459         (mouse-avoidance-nudge-mouse): Remove unused binding.
2461         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2463         * descr-text.el (describe-char):
2464         * progmodes/python.el (python-describe-symbol):
2465         Don't call `toggle-read-only', set `buffer-read-only'.
2467         * imenu.el (imenu-default-goto-function): Mark unused args.
2468         (imenu-progress-message): Remove obsolete macro; all callers changed.
2470         * subr.el (keymap-canonicalize): Remove unused binding.
2471         (read-passwd): Mark unused arg.
2473         * tutorial.el (tutorial--display-changes): Remove unused binding.
2474         (tutorial--save-tutorial-to): Remove unused variable.
2476         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2477         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2478         (package-generate-autoloads, package-menu--generate)
2479         (package-menu--find-upgrades): Remove unused bindings.
2481         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2482         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
2483         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2484         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2485         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2486         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2487         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2488         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2489         (cua-delete-char-rectangle): Mark unused args.
2490         (cua-align-rectangle): Remove unused binding.
2492         * mail/rmail.el (compilation--message->loc)
2493         (epa--find-coding-system-for-mime-charset): Declare.
2495         * net/dbus.el (dbus-register-service): Declare.
2496         (dbus-name-owner-changed-handler): Remove unused binding.
2498         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2499         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2500         (nxml-scan-backward-within): Mark unused arg.
2501         (nxml-dynamic-markup-word): Remove unused binding.
2503         * mouse.el (mouse-menu-major-mode-map):
2504         * emacs-lisp/authors.el (authors-scan-change-log)
2505         (authors-add-to-author-list):
2506         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2507         * emacs-lisp/smie.el (smie-auto-fill):
2508         * mail/sendmail.el (mail-bury):
2509         * mail/unrmail.el (unrmail):
2510         * net/tls.el (open-tls-stream):
2511         * textmodes/picture.el (picture-mouse-set-point):
2512         Remove unused bindings.
2514 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
2516         * net/tramp.el (tramp-action-password): Let-bind
2517         `enable-recursive-minibuffers' to t.
2519 2012-04-18  Sam Steingold  <sds@gnu.org>
2521         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2522         instead of 'string to accommodate values like [f11].
2523         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2524         * progmodes/gdb-mi.el: Likewise.
2526 2012-04-18  Leo Liu  <sdl.web@gmail.com>
2528         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2529         current buffer.
2530         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2531         LOCAL is nil.
2533 2012-04-18  Chong Yidong  <cyd@gnu.org>
2535         * simple.el (line-move): Use forward-line if in batch mode
2536         (Bug#11053).
2538 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
2540         * files.el (after-find-file): Do not try to add a final newline if
2541         the buffer is read-only (Bug#11156).
2543 2012-04-17  Richard Stallman  <rms@gnu.org>
2545         * mail/rmail.el (rmail-start-mail):
2546         Pass (rmail-mail-return...) for the return-action.
2547         Pass (rmail-yank-current-message...) for the yank-action.
2548         (rmail-yank-current-message): New function.
2549         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2550         (rmail-reply): Likewise.
2551         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2553         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2554         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
2555         buffer, not newbuf.
2557 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
2559         * server.el (server-ensure-safe-dir): Simplify.
2561 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2563         * emacs-lisp/smie.el: Provide smarter auto-filling.
2564         (smie-auto-fill): New function.
2565         (smie-setup): Use it.
2567         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2569 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
2571         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2572         (comment-indent): Use it.
2574 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2576         * ses.el: The overall change is to add cell renaming, that is
2577         setting fancy names for cell symbols other than name matching
2578         "\\`[A-Z]+[0-9]+\\'" regexp .
2579         (ses-localvars): Add ses--renamed-cell-symb-list.
2580         (ses-create-cell-variable): New defun.
2581         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2582         (ses-relocate-formula): Relocate formulas only for cells the
2583         symbols of which are not renamed, i.e. symbols whose names do not
2584         match regexp "\\`[A-Z]+[0-9]+\\'".
2585         (ses-relocate-all): Relocate values only for cells the symbols of
2586         which are not renamed.
2587         (ses-load): Create cells variables as the (ses-cell ...) are read,
2588         in order to check row col consistency with cell symbol name only
2589         for cells that are not renamed.
2590         (ses-replace-name-in-formula): New defun.
2591         (ses-rename-cell): New defun.
2593 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
2595         * progmodes/perl-mode.el (perl-indent-parens-as-block):
2596         New option (bug#11118).
2597         (perl-calculate-indent): Respect it.
2599 2012-04-17  Glenn Morris  <rgm@gnu.org>
2601         * dired-aux.el (dired-mark-read-string): Doc fix.
2603 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
2605         * dired-aux.el (dired-mark-read-string): Offer optional completion.
2606         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
2608 2012-04-17  Glenn Morris  <rgm@gnu.org>
2610         * mouse.el (mouse-drag-track):
2611         * speedbar.el (speedbar-frame-mode):
2612         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2614 2012-04-16  Leo Liu  <sdl.web@gmail.com>
2616         * progmodes/python.el: Trivial cleanup.
2618 2012-04-16  Glenn Morris  <rgm@gnu.org>
2620         * vc/vc.el (vc-string-prefix-p):
2621         * vc/pcvs-util.el (cvs-string-prefix-p):
2622         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2623         * mpc.el (mpc-string-prefix-p):
2624         Make all of these into obsolete aliases for string-prefix-p.
2625         Update callers.
2626         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2628         * textmodes/two-column.el: Move custom options to the start.
2629         (frame-width): Remove compat definition.
2630         (2C-associate-buffer, 2C-dissociate):
2631         Use with-current-buffer rather than save-excursion.
2632         (2C-dissociate): Force a mode-line update.
2633         (2C-autoscroll): Use ignore-errors.
2635         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2636         Autoload trivia.
2638         * emacs-lisp/cl-extra.el (*random-state*):
2639         Remove unnecessary declaration.
2641         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2643         * play/cookie1.el (cookie-snarf):
2644         Give an explicit error if input file cannot be read.
2646         * play/yow.el (yow-file): Use expand-file-name rather than concat.
2648         * progmodes/perl-mode.el (c-macro-expand):
2649         Remove unnecessary autoload (it is in loaddefs.el).
2651         * textmodes/picture.el (picture-desired-column)
2652         (picture-update-desired-column): Convert comments to doc-strings.
2653         (picture-substitute): Remove function.
2654         (picture-mode-map): Initialize in the defvar.
2656         * woman.el: Remove eval-after-load for tar-mode.
2657         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2658         (woman-tar-extract-file): Autoload it.
2660         * frame.el (automatic-hscrolling): Make this alias obsolete.
2662 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2664         * ispell.el (ispell-set-spellchecker-params): Post-process
2665         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2666         (ispell-dictionary-base-alist): Revert to original XEmacs
2667         friendly version for default.  [:alpha:] will be added in
2668         `ispell-set-spellchecker-params' if needed
2670 2012-04-16  Chong Yidong  <cyd@gnu.org>
2672         * image.el (imagemagick--extension-regexp): New variable.
2673         (imagemagick-register-types): Use it.
2674         (imagemagick-types-inhibit): Add :set function.  Allow new value
2675         of t to inhibit all types.
2677         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2678         so we can preload it.
2680         * loadup.el (fboundp): Preload regexp-opt, needed by
2681         imagemagick-register-types.
2683 2012-04-15  Chong Yidong  <cyd@gnu.org>
2685         * frame.el (scrolling): Remove nearly unused customization group.
2687         * scroll-all.el (scroll-all-mode): Move to windows group.
2689 2012-04-15  Chong Yidong  <cyd@gnu.org>
2691         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2693 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2695         Avoid the use of ((lambda ...) ...) in lexical-binding code.
2696         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2698 2012-04-15  Glenn Morris  <rgm@gnu.org>
2700         * simple.el (process-file-side-effects): Doc fix.
2702 2012-04-15  Glenn Morris  <rgm@gnu.org>
2704         * international/mule-cmds.el (set-language-environment): Doc fix.
2706 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
2708         * server.el (server-auth-key, server-generate-key): Doc fixes.
2709         (server-get-auth-key): Doc fix.  Use `string-match-p'.
2710         (server-start): Reflow docstring.
2712 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
2714         * server.el (server-generate-key): `called-interactively-p'
2715         requires a parameter.
2717 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
2719         * server.el (server-auth-key): New variable.
2720         (server-generate-key, server-get-auth-key): New function.
2721         (server-start): Use the new variable and functions to allow
2722         setting a permanent server key (bug#9423).
2724 2012-04-14  Leo Liu  <sdl.web@gmail.com>
2726         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2728 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
2730         Spelling fixes.
2731         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2732         Emacs uses American spelling.
2734 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
2736         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2737         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
2738         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2739         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
2741 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2743         * progmodes/which-func.el (which-func-modes): Change default.
2745 2012-04-14  Kim F. Storm  <storm@cua.dk>
2747         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2748         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2750 2012-04-14  Chong Yidong  <cyd@gnu.org>
2752         * custom.el (custom-theme-set-variables): Doc fix.
2754 2012-04-14  Glenn Morris  <rgm@gnu.org>
2756         * international/mule.el (set-auto-coding-for-load): Doc fix.
2758 2012-04-14  Alan Mackenzie  <acm@muc.de>
2760         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2761         imenu work again for Objective C Mode.  Correct the *-index values,
2762         these having been disturbed by a previous change in 2011-08.
2764         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2765         Correct two search limits.
2767 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2769         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2771 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
2773         * international/characters.el: Fix sorting.
2775 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2777         * international/characters.el: Add more missing Latin case pairs.
2779 2012-04-14  Glenn Morris  <rgm@gnu.org>
2781         * files.el (dir-locals-set-class-variables): Doc fix.
2783 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2785         * international/characters.el: Add set-case-syntax-pair call for
2786         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2787         counterpart.  (Bug#11209)
2789         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
2791 2012-04-14  Glenn Morris  <rgm@gnu.org>
2793         * calendar/holidays.el (calendar-check-holidays): Doc fix.
2795 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2797         * textmodes/ispell.el (ispell-dictionary-base-alist):
2798         Add data for Hebrew.
2800 2012-04-14  Chong Yidong  <cyd@gnu.org>
2802         * net/rcirc.el (rcirc-cmd-quit):
2803         Revert 2012-03-18 change (Bug#11192).
2805 2012-04-14  Glenn Morris  <rgm@gnu.org>
2807         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2809 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
2811         * minibuffer.el (completion-in-region-mode-map):
2812         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
2814 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
2816         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2818 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
2820         * minibuffer.el (minibuffer-local-filename-syntax): New variable
2821         to allow `C-M-f' and `C-M-b' to move to the nearest path
2822         separator (bug#9511).
2824 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
2826         * avoid.el: Require cl when compiling.  And also move the
2827         `provide' to the end.
2829 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2831         * avoid.el (mouse-avoidance-banish-position): New variable.
2832         (mouse-avoidance-banish-destination): Use it (bug#10165).
2834 2012-04-13  Leo Liu  <sdl.web@gmail.com>
2836         * progmodes/which-func.el (which-func-modes): Add objc-mode.
2838 2012-04-13  Ken Brown  <kbrown@cornell.edu>
2840         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2841         this is no longer needed now that cygstart understands file:// URLs.
2842         (browse-url-filename-alist): For the same reason, don't modify
2843         file:// URLs on Cygwin.
2845 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2847         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2848         the region on shift if the binding is already shifted (bug#11221).
2850 2012-04-12  Glenn Morris  <rgm@gnu.org>
2852         * mail/mailpost.el: Move to obsolete/.
2854 2012-04-12  Drew Adams  <drew.adams@oracle.com>
2856         * imenu.el (imenu--generic-function): Ignore invisible definitions
2857         (bug#10123).
2859 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
2861         * hexl.el (hexl-bits): New variable.
2862         (hexl-options): Mention the variable in the doc string.
2863         (hexl-rulerise, hexl-line-displen): New functions.
2864         (hexl-mode): Mention the new variable.
2865         (hexl-mode, hexl-current-address, hexl-current-address):
2866         Use the displen.
2867         (hexl-ascii-start-column): New function.
2868         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2869         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2871 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2873         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2874         '("-i" ENCODING), in 2 separate command-line arguments, to specify
2875         the encoding, as expected by hunspell.
2877 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2879         * battery.el (battery--linux-sysfs-regexp): New const.
2880         (battery-status-function): Use it.  Remove yeeloong special case.
2881         (battery-yeeloong-sysfs): Remove.
2882         (battery-echo-area-format): Remove yeeloong special case.
2884 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2886         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2887         Reported by Noah Friedman.
2889         * subr.el (read-passwd): Use read-string.
2891 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2893         * vcursor.el (vcursor-move): Increase the priority of the overlay
2894         (bug#9663).
2896 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2898         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2899         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2901 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
2903         * textmodes/artist.el (artist-mode): Convert artist-mode to use
2904         define-minor-mode (bug#10760).
2906 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
2908         * progmodes/grep.el (rgrep): Tweak the find command line so
2909         that directories matching `grep-find-ignored-files' won't be
2910         pruned (bug#10351).
2912 2012-04-11  Chong Yidong  <cyd@gnu.org>
2914         * startup.el (command-line): Remove support for long-obsolete
2915         variable font-lock-face-attributes.
2917 2012-04-11  Glenn Morris  <rgm@gnu.org>
2919         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2921 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2923         * window.el (window--state-get-1): Obey window-point-insertion-type.
2925 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
2927         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2928         to previous function when point is on the first character of a
2929         function.  Take care of that in `narrow-to-defun' (bug#6157).
2931 2012-04-11  Glenn Morris  <rgm@gnu.org>
2933         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2934         not just file-errors.
2936         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2937         (vc-bzr-sha1): Use internal sha1.
2939 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2941         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2943 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
2945         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2946         that start in the middle of the line (bug#10496).
2948 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
2950         * battery.el (battery-linux-proc-acpi): Only one battery is
2951         discharged at a time, but that seems to confuse battery.el when
2952         computing `rate-type' for the battery not being discharged
2953         (bug#10332).
2955 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2957         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2959         * international/quail.el: Use dolist and simplify.
2960         (quail-define-package, quail-update-keyboard-layout)
2961         (quail-define-rules): Use dolist.
2962         (quail-insert-kbd-layout, quail-get-translation): CSE.
2964         * tmm.el: Use dolist, remove left over hook.
2965         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2966         Use dolist.
2967         (calendar-load-hook): Don't mess with it.
2969         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2970         Use derived-mode-p.  Run the diff asynchronously.
2972 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2974         * obsolete/mouse-sel.el: Add an Obsolete-since header.
2976 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
2978         * misc.el: Display absolute path of loaded DLLs (bug#10424).
2979         (list-dynamic-libraries--loaded): New function.
2980         (list-dynamic-libraries--refresh): Use it.
2982 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
2984         * progmodes/python.el (python-fill-paragraph):
2985         Make python-fill-region in a multiline string work when font-lock is
2986         disabled (bug#7018).
2988 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
2990         * language/european.el (cp775): Add oem/legacy (en)coding on
2991         DOS/MS Windows for the Baltic languages.  There are still plenty
2992         of texts written in this encoding/codepage (bug#6519).
2994 2012-04-10  Glenn Morris  <rgm@gnu.org>
2996         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2997         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2999 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
3001         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3002         next-line "n" and previous-line "p" in order to make recentf more
3003         consistent with ibuffer, dired or org-mode (bug#9387).
3005 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3007         * image.el (put-image): Return the overlay created instead of the
3008         optional input string (bug#7834).  Note that this may break code
3009         that is (for some reason or other) depending on `put-image'
3010         returning the string.
3012         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3014         * simple.el (zap-to-char): Allow zapping using input methods
3015         (bug#1580).
3017         * textmodes/fill.el (fill-region): Leave point and mark where they
3018         were before filling (bug#5399).
3020 2012-04-09  Glenn Morris  <rgm@gnu.org>
3022         * version.el (emacs-bzr-get-version):
3023         Handle lightweight checkouts of local branches.
3025 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
3027         * international/characters.el: Recover lost case pairs.  (Bug#11209)
3029 2012-04-09  Chong Yidong  <cyd@gnu.org>
3031         * custom.el (custom-variable-p): Return nil for non-symbol
3032         arguments instead of signaling an error.
3033         (user-variable-p): Obsolete alias for custom-variable-p.
3035         * apropos.el (apropos-variable):
3036         * files-x.el (read-file-local-variable):
3037         * simple.el (set-variable):
3038         * woman.el (woman-mini-help):
3039         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3041 2012-04-09  Glenn Morris  <rgm@gnu.org>
3043         * startup.el (normal-top-level): Don't look for leim-list.el
3044         in places where it will not be found.  (Bug#910)
3046         * international/mule-cmds.el (set-default-coding-systems):
3047         * files.el (normal-mode):
3048         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
3049         This function was removed with ucs-tables.el in 2008.
3051 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
3053         * textmodes/ispell.el (ispell-check-version): For hunspell, set
3054         ispell-encoding8-command to "-i", without a trailing space.
3055         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3056         separate command-line arguments, to specify the encoding, since
3057         that's how hunspell expects it.
3059 2012-04-08  Glenn Morris  <rgm@gnu.org>
3061         * loadup.el: Load bindings before cus-start.
3062         This reduces somewhat the number of "rogue" settings in emacs -Q.
3064 2012-04-07  Glenn Morris  <rgm@gnu.org>
3066         * version.el (emacs-bzr-get-version): New function.
3067         (emacs-bzr-version): New variable.
3068         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
3069         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3071 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
3073         * international/uni-bidi.el, international/uni-category.el:
3074         * international/uni-combining.el, international/uni-decimal.el:
3075         * international/uni-decomposition.el, international/uni-digit.el:
3076         * international/uni-lowercase.el, international/uni-mirrored.el:
3077         * international/uni-name.el, international/uni-numeric.el:
3078         * international/uni-titlecase.el, international/uni-uppercase.el:
3079         Update for Unicode 6.1.
3081 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
3083         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3085 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3087         * window.el (shrink-window): Mention the `window-min-height'
3088         variable in the doc string.
3090 2012-04-05  Bastien Guerry  <bzg@altern.org>
3092         * color.el (color-lighten-name): Fix typo.
3094 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3096         * server.el (server--on-display-p): New function.
3097         (server--on-display-p): Use it.
3099 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
3101         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3102         (bug#11145).
3104 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3106         * comint.el (comint--common-quoted-suffix): Check string boundary
3107         before comparing (bug#11158).
3108         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3110 2012-04-04  Chong Yidong  <cyd@gnu.org>
3112         * minibuffer.el (completion-extra-properties): Doc fix.
3114         * subr.el (delayed-warnings-hook): Doc fix.
3116 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
3118         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3119         selection (Bug#11159).
3120         (epa-insert-keys): Inform that the default public key will be
3121         exported if no key is selected.
3123 2012-04-04  Richard Stallman  <rms@gnu.org>
3125         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3127 2012-04-03  Chong Yidong  <cyd@gnu.org>
3129         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3130         mail-insert-file, not its obsolete alias mail-attach-file.
3132 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
3134         * notifications.el (notifications-notify): Fix docstring.
3136 2012-04-02  Glenn Morris  <rgm@gnu.org>
3138         * emacs-lisp/authors.el (authors-aliases): Another addition.
3140 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
3142         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3143         `tramp-compat-call-process' instead of `tramp-local-call-process'.
3144         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3146 2012-04-01  Chong Yidong  <cyd@gnu.org>
3148         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3149         Handle root directory properly.
3150         (copy-directory): Caller changed.
3152         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3153         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3155 2012-03-31  Glenn Morris  <rgm@gnu.org>
3157         * term/xterm.el (xterm-extra-capabilities): Doc fix.
3159         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
3161         * calendar/calendar.el (calendar-window-list)
3162         (calendar-hide-window): Restore.  (Bug#11140)
3163         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3165         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3167 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3169         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3170         Check if file is a symlink (Bug#10489).
3172         * files.el (copy-directory): Likewise.
3174 2012-03-30  Chong Yidong  <cyd@gnu.org>
3176         * image.el (imagemagick-types-inhibit)
3177         (imagemagick-register-types): Doc fix.
3179 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3181         * ispell.el (ispell-get-extended-character-mode):
3182         Disable extended-char-mode for hunspell.  hunspell does not support it
3183         and treats ~word as ordinary words in pipe mode.
3185 2012-03-30  Glenn Morris  <rgm@gnu.org>
3187         * tutorial.el (help-with-tutorial): Ensure local variables don't
3188         happen to make the buffer read-only.  (Bug#11127)
3190 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3192         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3193         (perl-calculate-indent): Return `noindent' in strings.
3195 2012-03-28  Sam Steingold  <sds@gnu.org>
3197         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3198         instead of the broken adhockery which does not prevent calendar
3199         buffers from being displayed at random after exit.
3200         (calendar-window-list, calendar-hide-window): Remove the broken
3201         adhockery.
3203 2012-03-28  Glenn Morris  <rgm@gnu.org>
3205         * replace.el (query-replace-map): Doc fix.
3207 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
3209         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3210         contents.  (Bug#11109)
3212 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3214         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3215         (bug#11077).
3216         (avl-tree--check, avl-tree--check-node): New funs.
3218 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
3220         * window.el (switch-to-visible-buffer): New option.
3221         (switch-to-prev-buffer, switch-to-next-buffer):
3222         Observe switch-to-visible-buffer.  Make sure that checking for a window
3223         showing a buffer already is done on the same frame.
3225 2012-03-27  Glenn Morris  <rgm@gnu.org>
3227         * startup.el (mail-host-address): Doc fix.
3229 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3231         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3232         than 197 variables.
3234 2012-03-26  Ami Fischman  <ami@fischman.org>
3236         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3238 2012-03-26  Glenn Morris  <rgm@gnu.org>
3240         * files.el (save-buffers-kill-emacs): Doc fix.
3242         * startup.el (normal-top-level, command-line, command-line-1):
3243         Give them doc strings.
3245 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
3247         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3248         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3250 2012-03-25  Chong Yidong  <cyd@gnu.org>
3252         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3253         theme if it was previously enabled before (Bug#11031).
3255         * cus-theme.el (custom-theme-write-faces): Retrieve current face
3256         spec with custom-face-get-current-spec if its :shown-value is not
3257         determined yet (Bug#9337).
3258         (customize-create-theme, custom-theme-revert): Doc fixes.
3260         * button.el (button-at): Minor addition to docstring.
3262 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
3264         * vc/vc.el (vc-merge): Fix a prompt.
3266 2012-03-24  Chong Yidong  <cyd@gnu.org>
3268         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3269         point (Bug#9623).
3271         * button.el (button-at): Minor addition to docstring.
3273 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3275         * newcomment.el (comment-choose-indent): No space after BOL.
3277 2012-03-22  Sam Steingold  <sds@gnu.org>
3279         * window.el (switch-to-prev-buffer): Revert last patch because the
3280         bug turned out to be an advertised feature (Elisp manual 28.14).
3282 2012-03-22  Glenn Morris  <rgm@gnu.org>
3284         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
3285         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3287 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3289         * net/network-stream.el (network-stream-open-starttls): Make error
3290         message under Windows be less misleading.
3292 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
3294         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3295         understands (bug#9942).
3297 2012-03-22  Chong Yidong  <cyd@gnu.org>
3299         * simple.el (end-of-visible-line): Handle return value of
3300         next-single-property-change properly (Bug#9371).
3302 2012-03-22  Kenichi Handa  <handa@m17n.org>
3304         * international/quail.el (quail-insert-kbd-layout): Fix previous
3305         change.  To avoid unwanted bidi reordering, use
3306         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3308 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
3310         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3311         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3312         (ruby-beginning-of-indent): Be more careful with the difference
3313         between word-boundary and symbol boundary.
3314         (ruby-mode-syntax-table): Make : a symbol constituent.
3316 2012-03-21  Andreas Politz  <politza@fh-trier.de>
3318         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3320 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3322         * progmodes/etags.el (tags-completion-at-point-function):
3323         Improve last fix.
3325         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3327 2012-03-21  Sam Steingold  <sds@gnu.org>
3329         * progmodes/etags.el (tags-completion-at-point-function):
3330         Avoid the error when point is inside the pattern.
3332 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
3334         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3335         line (Bug#10855).
3337 2012-03-21  Drew Adams  <drew.adams@oracle.com>
3339         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3341 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
3343         * ido.el (ido-set-current-directory, ido-read-internal)
3344         (ido-choose-completion-string, ido-completion-help): Handle nil
3345         value of ido-completion-buffer (Bug#11008).
3347 2012-03-21  Sam Steingold  <sds@gnu.org>
3349         * window.el (switch-to-prev-buffer): Do not switch to a visible
3350         window previous buffer, just like with the frame previous buffers.
3352 2012-03-21  Chong Yidong  <cyd@gnu.org>
3354         * faces.el (make-face, make-empty-face, copy-face):
3355         * face-remap.el (face-remap-add-relative, face-remap-set-base):
3356         Doc fixes.
3358 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3360         * wid-edit.el (widget-complete-field): Remove (bug#11051).
3361         (widget-complete): Remove broken use of it.
3363 2012-03-20  Chong Yidong  <cyd@gnu.org>
3365         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3366         Use string-width and truncate-string-width to handle arbitrary
3367         characters.
3369 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
3371         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3372         to draw rectangles, not squares.  (Regression introduced by revno
3373         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3375 2012-03-18  Chong Yidong  <cyd@gnu.org>
3377         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3378         it is not yet defined (for temacs).
3380 2012-03-18  Leo Liu  <sdl.web@gmail.com>
3382         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3384 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
3386         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3387         (ispell-choices-win-default-height, ispell-silently-savep)
3388         (ispell-dictionary-alist, ispell-encoding8-command)
3389         (ispell-check-version, ispell-aspell-find-dictionary)
3390         (ispell-valid-dictionary-list, ispell-words-keyword)
3391         (ispell-get-word, ispell-internal-change-dictionary)
3392         (ispell-region, ispell-skip-region-list)
3393         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3394         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3395         (ispell-message-text-end, ispell-message)
3396         (ispell-buffer-local-parsing): Doc fix.
3398 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
3400         * htmlfontify.el: Add support for code block fontification for ODT
3401         export (Bug #9914).
3402         (hfy-optimisations): Define new option
3403         `body-text-only'
3404         (hfy-fontify-buffer): Honor above setting.
3405         (hfy-begin-span, hfy-end-span): New routines factored out form
3406         `hfy-fontify-buffer'.
3407         (hfy-begin-span-handler, hfy-end-span-handler): New variables
3408         that permit insertion of custom tags.
3409         (hfy-fontify-buffer): Use above handlers.
3410         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3411         (hfy-face-to-css): Re-defined to be a variable.
3412         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
3413         over multiple runs.  This is made possible by having the caller let
3414         bind a special variable `hfy-user-sheet-assoc'.
3415         (htmlfontify-string): New defun.
3416         (hfy-compile-face-map): Make sure that the last char in the
3417         buffer is correctly fontified.
3418         (hfy-face-resolve-face): Whitespace only change.
3420 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
3422         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3423         message more clear.
3425 2012-03-16  Leo Liu  <sdl.web@gmail.com>
3427         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3429 2012-03-16  Alan Mackenzie  <acm@muc.de>
3431         Further optimise the handling of large macros.
3433         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3434         limit to a call of `c-literal-limits'.
3435         (c-determine-+ve-limit): New function.
3436         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3437         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3438         In CASE 5B, restrict a search limit to 500.
3439         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3441         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3442         Restrict macro bounds to +-500 from after-change's BEG END.
3444 2012-03-16  Leo Liu  <sdl.web@gmail.com>
3446         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3448 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
3450         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3451         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
3453 2012-03-16  Glenn Morris  <rgm@gnu.org>
3455         * view.el (view-buffer, view-buffer-other-window)
3456         (view-buffer-other-frame): Doc fixes re special mode-class.
3458         * subr.el (eval-after-load): If named feature is provided not from
3459         a file, run after-load forms.  (Bug#10946)
3461         * calendar/calendar.el (calendar-insert-at-column):
3462         Handle non-unit-width characters a bit better.  (Bug#10978)
3464 2012-03-15  Chong Yidong  <cyd@gnu.org>
3466         * emacs-lisp/ring.el (ring-extend): New function.
3467         (ring-insert+extend): Extend the ring correctly (Bug#11019).
3469         * comint.el (comint-read-input-ring)
3470         (comint-add-to-input-history): Grow comint-input-ring lazily.
3472 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3474         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3475         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3477         * imenu.el: Fix multiple inheritance breakage (bug#9199).
3478         (imenu-add-to-menubar): Don't add a redundant index.
3479         (imenu-update-menubar): Handle a dynamically composed keymap.
3481 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
3483         * mail/sendmail.el (mail-encode-header):
3484         Bind rfc2047-encode-encoded-words to nil.
3486 2012-03-13  Glenn Morris  <rgm@gnu.org>
3488         * calendar/calendar.el (calendar-string-spread):
3489         Handle non-unit-width characters a bit better.  (Bug#10978)
3491 2012-03-13  Leo Liu  <sdl.web@gmail.com>
3493         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3494         directory and file as argument (Bug#10822).
3496 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
3498         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3499         For dynamically generated code, follow $PC.
3500         (gdb-disassembly-handler-custom): Handle no function name case.
3502 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
3504         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3505         * emulation/ws-mode.el (ws-query-replace):
3506         * sort.el (sort-regexp-fields):
3507         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
3509 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3511         * dabbrev.el: Fix cycle completion order (bug#10963).
3512         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3513         (dabbrev-completion): Don't use an obarray; provide
3514         a cycle-sort-function.
3516 2012-03-12  Leo Liu  <sdl.web@gmail.com>
3518         * simple.el (kill-new): Use equal-including-properties for comparison.
3519         (kill-do-not-save-duplicates): Doc fix.
3521 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3523         * dabbrev.el: Fix cycle completion (bug#10963).
3524         Use lexical binding and wrap to 80 columns.
3525         (dabbrev-completion): Delay computing the list of completions.
3527 2012-03-12  Kenichi Handa  <handa@m17n.org>
3529         * international/quail.el (quail-insert-kbd-layout): Surround each
3530         row by LRO and PDF instead of inserting many LRMs.  Pad the left
3531         and right of each non-spacing marks.  Insert invisible space
3532         between lower and upper characters to prevent composition.
3534 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3536         * minibuffer.el (minibuffer-complete): Don't get confused when the
3537         function is run twice via different commands (bug#10958).
3538         (complete-with-action): Fix docstring.
3540 2012-03-12  Chong Yidong  <cyd@gnu.org>
3542         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3543         (nxml-completion-at-point-function): New function.
3544         (nxml-mode): Use it.
3545         (nxml-bind-meta-tab-to-complete-flag): Default to t.
3547         * emacs-lisp/package.el (package-unpack, package-unpack-single):
3548         Load generated autoloads file before byte compiling (Bug#10970).
3549         (package--make-autoloads-and-compile): New helper fun.
3551 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
3553         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3555 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
3557         * autorevert.el (auto-revert-handler): Ensure, that
3558         file-readable-p is applied only for local files or in
3559         auto-revert-tail-mode.
3561 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
3563         * server.el (server-eval-at): Handle non-tcp connections.
3564         Decode result string.
3566         * server.el (server-msg-size): New constant.
3567         (server-reply-print): New function.
3568         (server-eval-and-print): Use it.
3569         (server-eval-at): Use server-quote-arg and server-unquote-arg.
3570         Handle -print-nonl.
3572 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
3574         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3575         (Bug#10987).
3577 2012-03-11  Chong Yidong  <cyd@gnu.org>
3579         * simple.el (goto-line): Doc fix (Bug#9938).
3581         * subr.el (save-window-excursion): Doc fix (Bug#9979).
3583         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3584         when finished (Bug#10963).
3586 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
3588         * window.el (split-window-below): Fix bug in case where
3589         split-window-keep-point is nil (Bug#10971).
3591 2012-03-11  Juri Linkov  <juri@jurta.org>
3593         * replace.el (replace-highlight): Set isearch-word to nil
3594         unconditionally.  (Bug#10887)
3596 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
3598         * net/mairix.el (mairix-replace-invalid-chars): Rename from
3599         mairix-replace-illegal-chars; all callers changed.  Don't remove
3600         ^, ~, and = characters: they are meaningful in mairix search specs.
3601         (mairix-widget-create-query): Add usage information about mairix
3602         search forms: negating words, searching for substrings, etc.
3604 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
3606         * international/fontset.el (font-encoding-alist): Add an entry for
3607         ksx1001 (Bug#5667).
3609 2012-03-10  Richard Stallman  <rms@gnu.org>
3611         * mail/sendmail.el (mail-encode-header):
3612         Set rfc2047-encode-encoded-words.
3614         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3616         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3617         view buffer means not swapped.
3618         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3619         (rmail-write-region-annotate): Error if real text has disappeared.
3621         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3623 2012-03-10  Chong Yidong  <cyd@gnu.org>
3625         * emulation/cua-rect.el (cua--init-rectangles):
3626         * emulation/cua-base.el (cua--init-keymaps):
3627         Add delete-forward-char to remappings (Bug#9666).
3629 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
3631         * speedbar.el (speedbar-unhighlight-one-tag-line):
3632         Avoid unhighlighting due to frame switching (Bug#10275).
3634 2012-03-10  Chong Yidong  <cyd@gnu.org>
3636         * minibuffer.el (completion-in-region, completion-help-at-point):
3637         Give the completion field overlay a high priority (Bug#6830).
3639         * dired.el (dired-goto-file): Recognize absolute file name
3640         listings (Bug#7126).
3641         (dired-goto-file-1): New helper function.
3642         (dired-toggle-read-only): Inhibit warnings.
3644 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
3646         * net/dbus.el (dbus-property-handler): Return empty array if
3647         there are no properties.
3649 2012-03-09  Leo Liu  <sdl.web@gmail.com>
3651         * savehist.el (savehist-printable): Stricter check for string
3652         value (Bug#10937).
3654 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
3656         * mail/smtpmail.el (smtpmail-send-it):
3657         Bind coding-system-for-write to *-unix, so that FCC files are kept in
3658         valid mbox format.
3660 2012-03-09  Glenn Morris  <rgm@gnu.org>
3662         * files.el (dir-locals-find-file):
3663         Don't check result is regular, readable.
3664         (dir-locals-read-from-file): Demote errors.
3666 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
3668         * international/quail.el (quail-insert-kbd-layout):
3669         Insert invisible LRM characters before each character in a keyboard
3670         layout cell, to prevent their reordering by bidi display engine.
3671         For details, see the discussion in
3672         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3674 2012-03-08  Alan Mackenzie  <acm@muc.de>
3676         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3677         the starting position; make it extend the marked region when
3678         invoked repeatedly - all under appropriate circumstances.
3679         Fixes bugs #5525, #10906.
3681 2012-03-08  Glenn Morris  <rgm@gnu.org>
3683         * files.el (locate-dominating-file, dir-locals-find-file):
3684         Undo 2012-03-06 change.
3686 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
3688         * international/quail.el (quail-help):
3689         Force bidi-paragraph-direction be left-to-right.  See discussion in
3690         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3691         for the reason.
3693 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
3695         Avoid superfluous registering of signals.  (Bug#10807)
3697         * notifications.el (notifications-on-action-object)
3698         (notifications-on-close-object): New defvars.
3699         (notifications-on-action-signal, notifications-on-closed-signal):
3700         Unregister the signal if not needed any longer.
3701         (notifications-notify): Register `notifications-action-signal' or
3702         `notifications-closed-signal', if :on-action or :on-close has been
3703         passed as argument.
3705 2012-03-07  Chong Yidong  <cyd@gnu.org>
3707         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3708         non-X platforms.
3710 2012-03-06  Glenn Morris  <rgm@gnu.org>
3712         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3713         (x-disown-selection-internal, x-get-selection-internal):
3714         Doc fix (add arglist signatures).  (Bug#10783)
3716 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
3718         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3719         Handle breakpoints with no "type".
3721 2012-03-06  Glenn Morris  <rgm@gnu.org>
3723         * files.el (locate-dominating-file): Add optional predicate argument.
3724         (dir-locals-find-file): Make use of above change.
3726 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
3728         * info.el (Info-insert-dir): Also try "dir.gz".
3730 2012-03-06  Glenn Morris  <rgm@gnu.org>
3732         * files.el (dir-locals-find-file):
3733         Ignore non-readable or non-regular files.  (Bug#10928)
3735         * files.el (locate-dominating-file): Doc fix.
3737 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
3739         * calendar/calendar.el (calendar-set-mode-line):
3740         `getenv' returns a string.  (Bug#10951)
3742 2012-03-05  Leo Liu  <sdl.web@gmail.com>
3744         * simple.el (backward-delete-char-untabify): Constrain point to
3745         field (Bug#10939).
3747         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3749 2012-03-05  Chong Yidong  <cyd@gnu.org>
3751         * simple.el (count-words): If called from Lisp, return the word
3752         count, for symmetry with `count-lines'.  Arglist changed.
3753         (count-words--message): Args changed.  Consolidate counting code
3754         from count-words and count-words-region.
3755         (count-words-region): Caller changed.
3756         (count-lines-region): Make it an obsolete alias.
3758 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
3760         * saveplace.el (save-place-to-alist)
3761         (save-place-ignore-files-regexp): Allow value nil to disable this
3762         feature.
3764 2012-03-04  Chong Yidong  <cyd@gnu.org>
3766         * faces.el (face-spec-reset-face): For the default face, reset the
3767         attributes to default values (Bug#10748).
3769 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3771         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3772         previous patch: Check `message-send-mail-function', and not the
3773         default function (bug#10897).
3775 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
3777         * notifications.el (notifications-on-action-signal)
3778         (notifications-on-closed-signal): Check for unique service name of
3779         incoming event.  Fix error in removing entry.
3780         (top): Register for signals with wildcard service name.
3781         (notifications-notify): Use daemon unique service name for map entries.
3783 2012-03-04  Chong Yidong  <cyd@gnu.org>
3785         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3787 2012-03-04  Glenn Morris  <rgm@gnu.org>
3789         * abbrev.el (copy-abbrev-table, abbrev-table-p)
3790         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3791         (expand-abbrev, define-abbrev-table): Doc fixes.
3793 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3795         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3796         `message-default-send-mail-function' and not `send-mail-function'
3797         when doing the prompting for `sendmail-query-once' before sending
3798         in Message buffers (bug#10897).
3800         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3801         This is inconsistent with all the other stream functions, which leave
3802         the setting up to the higher levels (if so wanted) (bug#10931).
3804 2012-03-02  Alan Mackenzie  <acm@muc.de>
3806         Depessimize the handling of very large macros.
3808         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3809         (c-macro-cache-syntactic): New variables to implement a one
3810         element macro cache.
3811         (c-invalidate-macro-cache): New function.
3812         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3813         Adapt to use the new cache.
3814         (c-state-safe-place): Use better the cache of safe positions.
3815         (c-state-semi-nonlit-pos-cache)
3816         (c-state-semi-nonlit-pos-cache-limit):
3817         New variables for...
3818         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
3819         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3820         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3821         Use c-state-semi-safe-place.
3823         * progmodes/cc-langs.el (c-get-state-before-change-functions):
3824         Add c-invalidate-macro-cache to the C, C++, Obj entries.
3826 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
3828         * jka-compr.el (jka-compr-call-process):
3829         Apply `file-accessible-directory-p' only when the default directory is
3830         not remote.
3832 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
3834         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
3835         access of FILE2, if FILE1 does not exist.
3837         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3838         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3840         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3841         Add "PAGER=" to `process-environment'.
3843 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
3845         * progmodes/sql.el: Bug fix
3846         (sql-get-login-ext): Save login values in globals.
3847         (sql-get-login): Use new version of `sql-get-login-ext'.
3848         (sql-interactive-mode): Set global `sql-connection' to nil.
3849         (sql-connect): Set global values for connection.
3850         (sql-product-interactive): Save global values as buffer local.
3852 2012-02-29  Leo Liu  <sdl.web@gmail.com>
3854         * abbrev.el (define-abbrevs): Reset sys to nil.
3856 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3858         * files.el (file-equal-p): Rename from `files-equal-p'.
3859         Return nil when one or both files don't exist.
3860         (file-subdir-of-p): Now only top directory must exists,
3861         return nil if it doesn't.
3862         (copy-directory): No need to test with `file-subdir-of-p' after
3863         creating dir.
3864         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3865         to `file-equal-p'.
3867 2012-02-28  Glenn Morris  <rgm@gnu.org>
3869         * shell.el (shell-mode):
3870         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3871         * play/landmark.el (landmark-font-lock-face-O):
3872         * play/handwrite.el (handwrite):
3873         * play/gomoku.el (gomoku-O):
3874         * net/browse-url.el (browse-url-browser-display):
3875         * international/mule.el (define-charset):
3876         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3877         * filesets.el (filesets-find-file-delay):
3878         * eshell/em-xtra.el (eshell-xtra):
3879         * eshell/em-unix.el (eshell-grep):
3880         * emulation/viper.el (viper-mode):
3881         * emacs-lisp/regexp-opt.el (regexp-opt-group):
3882         * emacs-lisp/easymenu.el (easy-menu-define):
3883         * calendar/timeclock.el (timeclock-use-display-time):
3884         * bs.el (bs-mode):
3885         * bookmark.el (bookmark-save-flag):
3886         Doc fix (standardize possessive apostrophe usage).
3888 2012-02-27  Chong Yidong  <cyd@gnu.org>
3890         * emulation/viper-cmd.el (viper-intercept-ESC-key):
3891         Fix key-binding lookup for ESC key (Bug#9146).
3893         * font-lock.el (font-lock-specified-p): Rename from
3894         font-lock-spec-present.  Callers changed.
3896 2012-02-27  Daniel Hackney  <dan@haxney.org>
3898         * emacs-lisp/package.el (package-compute-transaction):
3899         Handle holding a package version to t in package-load-list.
3901 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
3903         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3904         (tramp-get-inode, tramp-get-device): Use cached values.
3906 2012-02-26  Alan Mackenzie  <acm@muc.de>
3908         Check there is a font-lock specification before doing initial
3909         fontification.
3911         * font-core.el (font-lock-mode): Move the conditional from
3912         :after-hook to font-lock-initial-fontify.
3913         (font-lock-default-function): Move the check for a specification
3914         to font-lock-spec-present.
3916         * font-lock.el (font-lock-initial-fontify): Call ...
3917         (font-lock-spec-present): New function.
3919 2012-02-26  Jim Blandy  <jimb@red-bean.com>
3921         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3922         (gdb-send): Apply it to the operand of the '-interpreter-exec
3923         console' command, so that we can pass arguments with (say) quotes
3924         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
3926 2012-02-26  Chong Yidong  <cyd@gnu.org>
3928         * help-fns.el (describe-function-1): Clarify description of
3929         remapping (Bug#10844).
3931         * files.el (files-equal-p): Doc fix.
3932         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
3933         and quit the loop once a mismatch is found.
3935 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
3937         * bs.el (bs--show-with-configuration): Don't throw an error
3938         if the window cannot be split; otherwise, subsequent calls to
3939         bs-show fail, restoring a stale window config.  (Bug#10882)
3941 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
3943         * term/ns-win.el (global-map): Bind ns-drag-file to
3944         ns-find-file (Bug#5855, Bug#10050).
3946 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
3948         * calendar/parse-time.el (parse-time-string): Allow extractor to
3949         return nil.
3951 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
3953         * net/tramp.el (tramp-file-name-for-operation):
3954         Add `files-equal-p' and `file-subdir-of-p'.
3956         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3957         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3958         Add COPY-CONTENTS argument.
3960 2012-02-25  Chong Yidong  <cyd@gnu.org>
3962         Add custom groups for VC backends, for consistency with vc-bzr.
3964         * vc/vc-arch.el (vc-arch):
3965         * vc/vc-cvs.el (vc-cvs):
3966         * vc/vc-git.el (vc-git):
3967         * vc/vc-hg.el (vc-hg):
3968         * vc/vc-mtn.el (vc-mtn):
3969         * vc/vc-rcs.el (vc-rcs):
3970         * vc/vc-sccs.el (vc-sccs):
3971         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3972         All relevant defcustoms reassigned.
3974 2012-02-25  Chong Yidong  <cyd@gnu.org>
3976         * newcomment.el (comment-styles): Add autoload (Bug#10868).
3978         * term/x-win.el (x-initialize-window-system): Reduce default for
3979         x-selection-timeout to 5 seconds (Bug#8869).
3981 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3983         * files.el (files-equal-p, file-subdir-of-p): New functions.
3984         (copy-directory): Error when trying to copy a directory on itself.
3985         Add missing copy-contents arg to tramp handler.
3986         * dired-aux.el (dired-copy-file-recursive): Same.
3987         (dired-create-files): Modify destination when source is equal to
3988         dest when copying files.
3989         Return also when dest is a subdir of source.  (Bug#10489)
3991 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
3993         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3994         (Bug#10874)
3996 2012-02-23  Alan Mackenzie  <acm@muc.de>
3998         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3999         parameter "after-hook:" to allow the expansion to run code after
4000         the execution of the mode hooks.
4002         * font-lock.el (font-lock-initial-fontify): New function extracted
4003         from font-lock-mode-internal.
4005         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4006         :after-hook.
4008 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4010         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4011         (completion--cache-all-sorted-completions): New function.
4012         (completion-all-sorted-completions): Use it.
4013         (completion--do-completion, minibuffer-force-complete):
4014         Use it to re-instate the flush hook.
4016         * icomplete.el (icomplete-completions): Replace last fix with a better
4017         one (bug#10850).
4019 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
4021         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4022         when it might call us back infinitely (bug#10797).
4024 2012-02-23  Glenn Morris  <rgm@gnu.org>
4026         * minibuffer.el (completion-category-overrides): Doc fix.
4028 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4030         * minibuffer.el (completion-table-with-context): Fix inf-loop.
4031         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4033 2012-02-23  Glenn Morris  <rgm@gnu.org>
4035         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4036         (authors-obsolete-files-regexps, authors-ignored-files)
4037         (authors-ambiguous-files, authors-renamed-files-alist):
4038         Add more entries.
4040 2012-02-23  Juri Linkov  <juri@jurta.org>
4042         * isearch.el (isearch-occur): Sync interactive spec with occur's
4043         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
4045         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4047 2012-02-22  Juri Linkov  <juri@jurta.org>
4049         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4050         (ucs-insert): Doc fix.  Check for hex digits in the string.
4051         Don't display `nil' in the error message.  (Bug#10857)
4053 2012-02-22  Alan Mackenzie  <acm@muc.de>
4055         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4057 2012-02-22  Glenn Morris  <rgm@gnu.org>
4059         * ffap.el (ffap-c-path):
4060         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
4062 2012-02-22  Chong Yidong  <cyd@gnu.org>
4064         * custom.el (load-theme): Doc fix.
4066 2012-02-22  Glenn Morris  <rgm@gnu.org>
4068         * dired-x.el (dired-guess-shell-alist-default):
4069         Remove escape sequences from nroff output.  (Bug#172)
4071 2012-02-21  Glenn Morris  <rgm@gnu.org>
4073         * vc/emerge.el (emerge-defvar-local):
4074         Set `permanent-local' property rather than unused `preserved'.
4076         * textmodes/picture.el (picture-delete-char): New alias.
4077         (picture-mode-map): Use it.  (Bug#10860)
4078         (picture-mode): Doc fix.
4080 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
4082         * newcomment.el (uncomment-region-default): Remove unused binding.
4084 2012-02-21  Glenn Morris  <rgm@gnu.org>
4086         * textmodes/picture.el (picture-motion, picture-motion-reverse)
4087         (picture-self-insert, picture-tab-chars): Doc fix.
4088         (picture-mode-map): Fix C-a, C-e.
4090 2012-02-20  Glenn Morris  <rgm@gnu.org>
4092         * emacs-lisp/authors.el (authors-aliases): Add another entry.
4094 2012-02-20  Leo Liu  <sdl.web@gmail.com>
4096         * icomplete.el (icomplete-completions): Check FROM arg before
4097         passing to substring (Bug#10850).
4099 2012-02-19  Chong Yidong  <cyd@gnu.org>
4101         * comint.el: Require ansi-color.
4102         (comint-output-filter-functions): Add ansi-color-process-output.
4104         * ansi-color.el: Don't set comint-output-filter-functions; it is
4105         now in the initial value defined in comint.el.
4106         (ansi-color-apply-face-function): New variable.
4107         (ansi-color-apply-on-region): Use it.
4108         (ansi-color-apply-overlay-face): New function.
4110         * shell.el (shell): No need to require ansi-color.
4111         (shell-mode): Use ansi-color-apply-face-function to highlight
4112         color escapes using font-lock-face property (Bug#10835).
4114 2012-02-19  Chong Yidong  <cyd@gnu.org>
4116         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4117         mode-line formats (Bug#10839).
4119 2012-02-18  Glenn Morris  <rgm@gnu.org>
4121         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4123         * mail/undigest.el (unforward-rmail-message): Doc fix.
4125         * saveplace.el (save-place-ignore-files-regexp): Add :version.
4127 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
4129         * international/characters.el (script-list): Sync with the latest
4130         Unicode Character Database.
4132 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
4134         * international/titdic-cnv.el: Remove duplicate coding tag.
4135         * language/cham.el: Likewise.
4136         * language/tai-viet.el: Likewise.
4138 2012-02-18  Glenn Morris  <rgm@gnu.org>
4140         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4141         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4142         (calendar-bahai-all-holidays-flag, calendar-other-dates):
4143         * calendar/diary-lib.el (diary-abbreviated-year-flag):
4144         * calendar/holidays.el (holiday-bahai-holidays)
4145         (calendar-holidays, list-holidays):
4146         Use utf-8 Bahá'í in doc-strings, menus, etc.
4148 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
4150         * saveplace.el (save-place-ignore-files-regexp): New variable
4151         allowing for excluding files from saving their location of point.
4152         The default value matches the temporary commit message editing
4153         files from Git, SVN, Bazaar, and Mercurial.
4154         (save-place-to-alist): Use it.
4156 2012-02-17  Lawrence Mitchell <wence@gmx.li>
4157             Stefan Monnier  <monnier@iro.umontreal.ca>
4159         * newcomment.el (uncomment-region-default): Don't leave extra space
4160         when an arg is provided (bug#8150).
4162 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
4164         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4166 2012-02-17  Glenn Morris  <rgm@gnu.org>
4168         * net/socks.el: Require network-stream.  (Bug#10599)
4170 2012-02-17  Kenichi Handa  <handa@m17n.org>
4172         * international/charprop.el:
4173         * international/uni-name.el:
4174         * international/uni-old-name.el:
4175         * international/uni-comment.el: Regenerate.
4177 2012-02-16  Glenn Morris  <rgm@gnu.org>
4179         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4180         Interactively in calendar buffer, give an error if not on a date.
4182 2012-02-15  Glenn Morris  <rgm@gnu.org>
4184         * shell.el (shell-delimiter-argument-list):
4185         Revert 2011-02-17 change.  (Bug#8027)
4187 2012-02-15  Chong Yidong  <cyd@gnu.org>
4189         * minibuffer.el (completion-at-point-functions): Doc fix.
4191         * custom.el (defcustom): Doc fix; note use of defvar.
4193 2012-02-15  Glenn Morris  <rgm@gnu.org>
4195         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4196         Doc fixes.
4198 2012-02-14  Glenn Morris  <rgm@gnu.org>
4200         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4202 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
4204         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4205         way the ports list is computed.
4206         (smtpmail-query-smtp-server): Prompt the user for a port number if
4207         we can't connect to any of the standard ports (bug#10810).
4209 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
4211         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4213 2012-02-13  Glenn Morris  <rgm@gnu.org>
4215         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
4217 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
4219         * net/gnutls.el (gnutls-trustfiles): New variable.
4220         (gnutls-negotiate): Use it.
4222 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
4224         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4225         does its stuff if Gnus is running.
4227 2012-02-13  Alan Mackenzie  <acm@muc.de>
4229         Fix a loop in c-set-fl-decl-start.
4231         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4232         c-backward-syntactic-ws actually moves backwards.
4234 2012-02-13  Leo Liu  <sdl.web@gmail.com>
4236         * net/rcirc.el (rcirc-markup-attributes): Move point to the
4237         beginning so that all \C-o chars are removed.
4239 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
4241         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4243 2012-02-12  Alan Mackenzie  <acm@muc.de>
4245         Fix infinite loop with long macros.
4246         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4248 2012-02-12  Chong Yidong  <cyd@gnu.org>
4250         * window.el (display-buffer): Doc fix (Bug#10785).
4252 2012-02-12  Glenn Morris  <rgm@gnu.org>
4254         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4255         (x-disown-selection-internal, x-get-selection-internal):
4256         Sync docs with the xselect.c versions.
4258         * allout-widgets.el: Add missing license notice.
4260 2012-02-11  Glenn Morris  <rgm@gnu.org>
4262         * select.el (x-get-selection-internal, x-own-selection-internal)
4263         (x-disown-selection-internal):
4264         * x-dnd.el (x-get-selection-internal): Update declarations.
4266         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4268         * window.el (window-sides-slots):
4269         * tool-bar.el (tool-bar-position):
4270         * term/xterm.el (xterm-extra-capabilities):
4271         * ses.el (ses-self-reference-early-detection):
4272         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4273         (verilog-auto-wire-type)
4274         (verilog-auto-delete-trailing-whitespace)
4275         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4276         (verilog-auto-tieoff-declaration):
4277         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4278         (sql-oracle-statement-starters, sql-oracle-scan-on):
4279         * progmodes/prolog.el (prolog-align-comments-flag)
4280         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4281         (prolog-left-indent-regexp, prolog-paren-indent-p)
4282         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4283         (prolog-types, prolog-mode-specificators)
4284         (prolog-determinism-specificators, prolog-directives)
4285         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4286         (prolog-electric-dot-flag)
4287         (prolog-electric-dot-full-predicate-template)
4288         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4289         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4290         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4291         (prolog-program-switches, prolog-prompt-regexp)
4292         (prolog-debug-on-string, prolog-debug-off-string)
4293         (prolog-trace-on-string, prolog-trace-off-string)
4294         (prolog-zip-on-string, prolog-zip-off-string)
4295         (prolog-use-standard-consult-compile-method-flag)
4296         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4297         (prolog-imenu-max-lines, prolog-info-predicate-index)
4298         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4299         (prolog-char-quote-workaround):
4300         * progmodes/cc-vars.el (c-defun-tactic):
4301         * net/tramp.el (tramp-encoding-command-interactive)
4302         (tramp-local-end-of-line):
4303         * net/soap-client.el (soap-client):
4304         * net/netrc.el (netrc-file):
4305         * net/gnutls.el (gnutls):
4306         * minibuffer.el (completion-category-overrides)
4307         (completion-cycle-threshold)
4308         (completion-pcm-complete-word-inserts-delimiters):
4309         * man.el (Man-name-local-regexp):
4310         * mail/feedmail.el (feedmail-display-full-frame):
4311         * international/characters.el (glyphless-char-display-control):
4312         * eshell/em-ls.el (eshell-ls-date-format):
4313         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4314         (lisp-lambda-list-keyword-parameter-indentation)
4315         (lisp-lambda-list-keyword-parameter-alignment):
4316         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4317         * dired-x.el (dired-omit-verbose):
4318         * cus-theme.el (custom-theme-allow-multiple-selections):
4319         * calc/calc.el (calc-highlight-selections-with-faces)
4320         (calc-lu-field-reference, calc-lu-power-reference)
4321         (calc-note-threshold):
4322         * battery.el (battery-mode-line-limit):
4323         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4324         (archive-7z-update):
4325         * allout.el (allout-prefixed-keybindings)
4326         (allout-unprefixed-keybindings)
4327         (allout-inhibit-auto-fill-on-headline)
4328         (allout-flattened-numbering-abbreviation):
4329         * allout-widgets.el (allout-widgets-auto-activation)
4330         (allout-widgets-icons-dark-subdir)
4331         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4332         (allout-widgets-theme-dark-background)
4333         (allout-widgets-theme-light-background)
4334         (allout-widgets-item-image-properties-emacs)
4335         (allout-widgets-item-image-properties-xemacs)
4336         (allout-widgets-run-unit-tests-on-load)
4337         (allout-widgets-time-decoration-activity)
4338         (allout-widgets-hook-error-post-time)
4339         (allout-widgets-track-decoration):
4340         Add missing :version tags to new defcustoms and defgroups.
4342         * progmodes/sql.el (sql-ansi-statement-starters)
4343         (sql-oracle-statement-starters): Add custom type.
4345         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4346         (prolog-system-version): Give it a type.
4348 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
4350         * term/pc-win.el (x-select-text, x-selection-owner-p)
4351         (x-own-selection-internal, x-disown-selection-internal)
4352         (x-get-selection-internal): Sync doc strings and argument lists
4353         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
4355 2012-02-11  Leo Liu  <sdl.web@gmail.com>
4357         * progmodes/python.el (python-end-of-statement): Fix infinite
4358         loop.  (Bug#10788)
4360 2012-02-10  Glenn Morris  <rgm@gnu.org>
4362         * international/mule-cmds.el (unify-8859-on-encoding-mode)
4363         (unify-8859-on-decoding-mode): Properly mark as obsolete.
4365 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
4367         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4368         about SMTP before checking the From header.
4370         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4371         into own function for reuse by emacsbug.el.
4373 2012-02-10  Leo Liu  <sdl.web@gmail.com>
4375         * subr.el (condition-case-unless-debug): Rename from
4376         condition-case-no-debug.  All callers changed.
4377         (with-demoted-errors): Fix caller.
4379         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4380         * nxml/rng-valid.el (rng-do-some-validation):
4381         * emacs-lisp/package.el (package-refresh-contents)
4382         (package-menu-execute):
4383         * desktop.el (desktop-create-buffer):
4384         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4386 2012-02-10  Glenn Morris  <rgm@gnu.org>
4388         * textmodes/bibtex.el:
4389         Add missing :version tags for new/changed defcustoms.
4391         * files.el (remote-file-name-inhibit-cache): Doc fixes.
4393 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
4395         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4396         (smtpmail-via-smtp): Use it, or fall back on the From address.
4397         (smtpmail-send-it): Ditto.
4399 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4401         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4402         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
4403         (byte-compile-tmp-var): New const.
4404         (byte-compile-defvar): Use it to minimize .elc size.
4405         Just use `defvar' rather than simulate it (bug#10761).
4407 2012-02-09  Glenn Morris  <rgm@gnu.org>
4409         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
4411         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4412         Add :version tags.
4414         * progmodes/compile.el (compilation-error-screen-columns)
4415         (compilation-first-column, compilation-filter-start): Doc fixes.
4417         * vc/log-view.el (log-view-toggle-entry-display):
4418         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4420         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4421         (report-emacs-bug-can-use-xdg-email):
4422         (report-emacs-bug-insert-to-mailer): Doc fixes.
4423         (report-emacs-bug): Message fix.
4425         * net/browse-url.el (browse-url-can-use-xdg-open)
4426         (browse-url-xdg-open): Doc fixes.
4428         * electric.el (electric-indent-mode, electric-pair-mode)
4429         (electric-layout-rules, electric-layout-mode): Doc fixes.
4430         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4432 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
4434         * server.el (server-unselect-display): Don't inadvertently kill
4435         the current buffer.  (Bug#10729)
4437 2012-02-08  Glenn Morris  <rgm@gnu.org>
4439         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4440         (sql-list-table): Doc fixes.
4442         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4443         Comment out (does nothing).
4445         * completion.el (dynamic-completion-mode):
4446         * dirtrack.el (dirtrack-debug-mode):
4447         * electric.el (electric-layout-mode):
4448         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4449         * face-remap.el (text-scale-mode, buffer-face-mode):
4450         * iimage.el (iimage-mode):
4451         * image-mode.el (image-transform-mode):
4452         * minibuffer.el (completion-in-region-mode):
4453         * scroll-lock.el (scroll-lock-mode):
4454         * simple.el (next-error-follow-minor-mode):
4455         * tar-mode.el (tar-subfile-mode):
4456         * tooltip.el (tooltip-mode):
4457         * vcursor.el (vcursor-use-vcursor-map):
4458         * wid-browse.el (widget-minor-mode):
4459         * emulation/tpu-edt.el (tpu-edt-mode):
4460         * emulation/tpu-extras.el (tpu-cursor-free-mode):
4461         * international/iso-ascii.el (iso-ascii-mode):
4462         * language/thai-util.el (thai-word-mode):
4463         * mail/supercite.el (sc-minor-mode):
4464         * net/goto-addr.el (goto-address-mode):
4465         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4466         * progmodes/cwarn.el (cwarn-mode):
4467         * progmodes/flymake.el (flymake-mode):
4468         * progmodes/glasses.el (glasses-mode):
4469         * progmodes/hideshow.el (hs-minor-mode):
4470         * progmodes/pascal.el (pascal-outline-mode):
4471         * textmodes/enriched.el (enriched-mode):
4472         * vc/smerge-mode.el (smerge-mode):
4473         Doc fixes (minor mode argument).
4475 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
4477         * ls-lisp.el (ls-lisp-sanitize): New function.
4478         (ls-lisp-insert-directory): Use it to fix or remove any elements
4479         in file-alist with missing attributes.  (Bug#4673)
4481 2012-02-07  Alan Mackenzie  <acm@muc.de>
4483         Fix spurious recognition of c-in-knr-argdecl.
4485         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4486         putative K&R region.
4488 2012-02-07  Alan Mackenzie  <acm@muc.de>
4490         * progmodes/cc-engine.el (c-forward-objc-directive):
4491         Prevent looping in "#pragma mark @implementation".
4493 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
4495         * notifications.el (notifications-on-closed-signal): Make `reason'
4496         optional.  (Bug#10744)
4498 2012-02-07  Glenn Morris  <rgm@gnu.org>
4500         * emacs-lisp/easy-mmode.el (define-minor-mode):
4501         Doc fixes for the macro and the mode it defines.
4503         * image.el (imagemagick-types-inhibit): Doc fix.
4505         * cus-start.el (imagemagick-render-type): Add it.
4507 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
4509         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4510         Set the default at load time, too, so that `font-lock-fontify-buffer'
4511         can be called without setting up the entire mode first.  This fixes
4512         a bug in `mm-inline-text' with C MIME parts.
4514 2012-02-06  Chong Yidong  <cyd@gnu.org>
4516         * simple.el (list-processes--refresh): Delete exited processes
4517         (Bug#8094).
4519         * comint.el (comint-next-prompt): next-single-char-property-change
4520         and prev-single-char-property-change never return nil (Bug#8657).
4522         * custom.el (defcustom): Doc fix (Bug#9711).
4524 2012-02-05  Chong Yidong  <cyd@gnu.org>
4526         * cus-edit.el (custom-variable-reset-backup): Quote the value
4527         before storing it in the customized-value property (Bug#6712).
4528         (custom-display): Add a customization type tag.
4529         (custom-buffer-create-internal): Improve tooltip message.
4531         * wid-edit.el (widget-field-value-get): New optional arg to
4532         suppress trailing whitespace truncation.
4533         (character): Use it (Bug#2689).
4535 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
4537         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4538         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4540 2012-02-05  Chong Yidong  <cyd@gnu.org>
4542         * cus-edit.el (custom-variable-value-create): For mismatched
4543         types, show the current value (Bug#7600).
4545         * custom.el (defcustom): Doc fix.
4547 2012-02-05  Glenn Morris  <rgm@gnu.org>
4549         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4551 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
4553         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4554         (pp-buffer): Use `ignore-errors', `looking-at-p'.
4555         (pp-last-sexp): Use `looking-at-p'.
4557 2012-02-04  Glenn Morris  <rgm@gnu.org>
4559         * files.el (revert-buffer):
4560         Doc fix (mention revert-buffer-in-progress-p).
4562         * emacs-lisp/ert-x.el (ert-simulate-command):
4563         Check deferred-action-list (which is obsolete) is bound.
4565         * subr.el (with-wrapper-hook): Doc fixes.
4567         * simple.el (filter-buffer-substring-functions)
4568         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4570 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
4572         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4573         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
4575 2012-02-04  Leo Liu  <sdl.web@gmail.com>
4577         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4579 2012-02-04  Glenn Morris  <rgm@gnu.org>
4581         * image.el (image-extension-data): Add obsolete alias.
4583         * isearch.el (isearch-update): Doc fix.
4585         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4587         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4589 2012-02-03  Glenn Morris  <rgm@gnu.org>
4591         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
4592         (image-animate-timeout): Doc fix.
4594         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4596 2012-02-02  Glenn Morris  <rgm@gnu.org>
4598         * server.el (server-auth-dir): Doc fix.
4599         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
4601         * subr.el (run-mode-hooks): Doc fix.
4603 2012-02-02  Juri Linkov  <juri@jurta.org>
4605         * image-mode.el (image-toggle-display-image): Remove tautological
4606         `major-mode' from the `derived-mode-p' test.
4608 2012-02-02  Kenichi Handa  <handa@m17n.org>
4610         * composite.el (compose-region): Cancel previous change.
4612 2012-02-02  Kenichi Handa  <handa@m17n.org>
4614         * composite.el (compose-region, compose-string): Signal error for
4615         a null string component (Bug#6988).
4617 2012-02-01  Chong Yidong  <cyd@gnu.org>
4619         * view.el (view-buffer-other-window, view-buffer-other-frame):
4620         Handle special modes like view-buffer (Bug#10650).
4621         (view-buffer): Simplify.
4623         * frame.el (set-frame-font): Tweak meaning of third argument.
4625         * dynamic-setting.el (font-setting-change-default-font):
4626         Use set-frame-font (Bug#9982).
4628 2012-02-01  Glenn Morris  <rgm@gnu.org>
4630         * progmodes/compile.el (compilation-internal-error-properties):
4631         Respect compilation-first-column in the "*compilation*" buffer.
4633         * emacs-lisp/easy-mmode.el (define-minor-mode):
4634         Relax :variable's test for a named function.
4636 2012-01-31  Alan Mackenzie  <acm@muc.de>
4638         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4639         off by one error.
4641 2012-01-31  Chong Yidong  <cyd@gnu.org>
4643         * frame.el (set-frame-font): New arg ALL-FRAMES.
4645         * menu-bar.el (menu-set-font): Use set-frame-font.
4647         * faces.el (face-spec-reset-face): Don't apply unspecified
4648         attribute values to the default face.
4650 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
4652         * progmodes/cwarn.el (cwarn): Remove dead link.
4653         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4654         Remove * from defcustom docstrings.
4655         (turn-on-cwarn-mode): Make obsolete.
4656         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4657         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4659 2012-01-31  Glenn Morris  <rgm@gnu.org>
4661         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4662         Fix :variable handling of mode a symbol not equal to modefun.
4663         Allow named functions to be used as the cdr of :variable.
4665 2012-01-30  Glenn Morris  <rgm@gnu.org>
4667         * emacs-lisp/authors.el (authors-fixed-entries):
4668         Remove reference to deleted file rnewspost.el.
4670 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
4672         * window.el (window-with-parameter): Remove unused variable `windows'.
4673         (window--side-check): Remove unused variable `code'.
4674         (window--resize-siblings): Remove unused variable `first'.
4675         (adjust-window-trailing-edge): Remove unused variable `failed'.
4676         (window-deletable-p, window--delete): Remove unused variable `buffer'.
4677         Use `let', not `let*'.
4678         (balance-windows-2): Remove unused variable `found'.
4679         (window--state-put-2): Remove unused variable `splits'.
4680         (window-state-put): Remove unused variable `selected'.
4681         (same-window-p): Use `string-match-p'.
4682         (display-buffer-assq-regexp): Remove unused variable `value'.
4683         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4684         Mark argument ALIST as ignored.
4685         (pop-to-buffer): Remove unused variable `old-window'.
4687 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
4689         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4690         and .lzma compressed files.
4692 2012-01-29  Chong Yidong  <cyd@gnu.org>
4694         * frame.el (window-system-default-frame-alist): Doc fix.
4696         * dynamic-setting.el (font-setting-change-default-font): Don't
4697         change the default face if SET-FONT argument is non-nil (Bug#9982).
4699 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
4701         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4703 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
4705         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4706         breakpoints in files outside current directory (Bug#6098).
4708 2012-01-29  Chong Yidong  <cyd@gnu.org>
4710         * progmodes/python.el: Require ansi-color at top-level.
4712         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4713         Define and use in Emacs Lisp mode (Bug#9360).
4714         (lisp-mode-abbrev-table): Add doc.
4715         (lisp-mode-variables): Don't set local-abbrev-table.
4716         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4718 2012-01-28  Roland Winkler  <winkler@gnu.org>
4720         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4722 2012-01-28  Roland Winkler  <winkler@gnu.org>
4724         * textmodes/bibtex.el (bibtex-entry-alist): New function.
4725         (bibtex-set-dialect): Use it.  Either set global values of
4726         dialect-dependent variables or bind these variables buffer-locally
4727         (Bug#10254).
4728         (bibtex-mode): Call bibtex-set-dialect via
4729         hack-local-variables-hook.
4730         (bibtex-dialect): Update docstring.
4731         Add safe-local-variable predicate.
4732         (bibtex-entry-alist, bibtex-field-alist): Initialize via
4733         bibtex-set-dialect.
4734         (bibtex-mode-map): Define menu for each dialect.
4735         (bibtex-entry): Fix docstring.
4737 2012-01-28  Chong Yidong  <cyd@gnu.org>
4739         * eshell/esh-arg.el (eshell-quote-argument): New function.
4741         * eshell/esh-ext.el (eshell-invoke-batch-file):
4742         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4743         first arg to eshell-parse-command (Bug#10523).
4745 2012-01-28  Drew Adams  <drew.adams@oracle.com>
4747         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4748         `default-directory' is non-nil.
4750 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
4752         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4753         line that displays system-configuration-options.  (Bug#9924)
4755 2012-01-28  Drew Adams  <drew.adams@oracle.com>
4757         * descr-text.el (describe-char): Show information about POS, in
4758         addition to information about the character at POS.  Improve and
4759         update the doc string.  Change "code point" to "code point in
4760         charset", to avoid confusion with the character's Unicode code
4761         point shown above that.  (Bug#10129)
4763 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
4765         * descr-text.el (describe-char): Show the raw character, not only
4766         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
4767         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4768         for the reasons.
4770 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
4772         * emacs-lisp/package.el (package-install):
4773         Run package-refresh-contents if there is no archive yet (Bug#9798).
4775 2012-01-28  Chong Yidong  <cyd@gnu.org>
4777         * emacs-lisp/package.el (package-maybe-load-descriptor):
4778         New function, split from package-maybe-load-descriptor.
4779         (package-maybe-load-descriptor): Use it.
4780         (package-download-transaction): Fully load required packages
4781         inside the loop, so that `require' calls work (Bug#10593).
4782         (package-install): No need to call package-initialize now.
4784 2012-01-28  Chong Yidong  <cyd@gnu.org>
4786         * simple.el (deactivate-mark): Doc fix (Bug#8614).
4788         * tooltip.el (tooltip-mode): Doc fix.
4789         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4791         * frame.el (set-cursor-color): Doc fix (Bug#352).
4793         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4794         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4796         * cus-edit.el (custom-buffer-create-internal): Fix search button
4797         action (Bug#10542).
4798         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4800 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
4802         * dired.el (dired-mark-files-regexp):
4803         Include any subdirectory components.  (Bug#10445)
4805 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
4807         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4808         Handle [host]:port syntax.  (Bug#10533)
4810 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
4812         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4814 2012-01-26  Glenn Morris  <rgm@gnu.org>
4816         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4817         * term.el (term-raw-escape-map): Use Control-X-prefix.
4818         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
4820 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
4822         * window.el (window-state-get, window--state-get-1): Don't deal
4823         with fixed-sizeness of windows.  Simplify code.
4825 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
4827         * window.el (window--state-get-1, window--state-put-2):
4828         Don't save and restore the mark.
4830 2012-01-25  Chong Yidong  <cyd@gnu.org>
4832         * custom.el (custom-variable-p): Doc fix.
4834 2012-01-25  Glenn Morris  <rgm@gnu.org>
4836         * dired.el (dired-goto-file): Handle some of the more common
4837         characters that `ls -b' escapes.  (Bug#10596)
4839         * progmodes/compile.el (compilation-next-error-function):
4840         Respect compilation-first-column in the "*compilation*" buffer.
4841         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
4843         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
4845 2012-01-24  Glenn Morris  <rgm@gnu.org>
4847         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
4849 2012-01-24  Julien Danjou  <julien@danjou.info>
4851         * color.el (color-rgb-to-hsl): Fix value computing.
4852         (color-hue-to-rgb): New function.
4853         (color-hsl-to-rgb): New function.
4854         (color-clamp, color-saturate-hsl, color-saturate-name)
4855         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4856         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4858 2012-01-24  Glenn Morris  <rgm@gnu.org>
4860         * vc/vc-rcs.el (vc-rcs-create-tag):
4861         * vc/vc-sccs.el (vc-sccs-create-tag):
4862         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
4864 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
4866         * eshell/esh-util.el (eshell-read-hosts-file):
4867         Skip comment lines.  (Bug#10549)
4869         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
4871 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
4873         * subr.el (display-delayed-warnings): Doc fix.
4874         (collapse-delayed-warnings): New function to collapse identical
4875         adjacent warnings.
4876         (delayed-warnings-hook): Add it.
4878 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
4880         * net/tramp.el (tramp-action-login): Set connection property "login-as".
4882         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4883         properties, when "login-as" is set.
4885         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4886         (tramp-default-user-alist): Don't add "pscp".
4887         (tramp-do-copy-or-rename-file-out-of-band): Use connection
4888         property "login-as", if set.  (Bug#10530)
4890 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
4892         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4893         "plink1" and "psftp".  (Bug#10530)
4895 2012-01-21  Kenichi Handa  <handa@m17n.org>
4897         * international/mule-cmds.el (prefer-coding-system): Show a
4898         warning message if the default value of file-name-coding-system
4899         was not changed.
4901 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
4903         * windmove.el (windmove-reference-loc):
4904         Fix windmove-reference-loc miscalculation.
4906 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
4908         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4909         default unit.
4911 2012-01-21  Glenn Morris  <rgm@gnu.org>
4913         * international/mule.el (auto-coding-alist): Add .tbz.
4915         * files.el (local-enable-local-variables): Doc fix.
4916         (inhibit-local-variables-regexps): Rename from
4917         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
4918         Doc fix.  Add some extensions from auto-coding-alist.
4919         (inhibit-local-variables-suffixes):
4920         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
4921         (inhibit-local-variables-p):
4922         New function, extracted from set-auto-mode-1.
4923         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
4924         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
4925         (hack-local-variables): Doc fix.  Make the mode-only case
4926         respect enable-local-variables and friends.
4927         Respect inhibit-local-variables-regexps for file-locals, but
4928         not for directory-locals.
4929         (set-visited-file-name):
4930         Take account of inhibit-local-variables-regexps.
4931         Whether it applies may change as the file name is changed.
4932         * jka-cmpr-hook.el (jka-compr-install):
4933         * jka-compr.el (jka-compr-uninstall):
4934         Update for inhibit-first-line-modes-suffixes name change.
4936 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
4938         * help-macro.el (make-help-screen): Temporarily restore original
4939         binding for minor-mode-map-alist (Bug#10454).
4941 2012-01-19  Julien Danjou  <julien@danjou.info>
4943         * color.el (color-name-to-rgb): Use the white color to find the max
4944         color component value and return correctly computed values.
4945         (color-name-to-rgb): Add missing float conversion for max value.
4947 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
4949         * window.el (window--state-get-1, window-state-get): Do not use
4950         special state value for window-persistent-parameters.
4951         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
4952         (window--state-put-2): Reset all window parameters to nil before
4953         assigning values of persistent parameters.
4955 2012-01-18  Alan Mackenzie  <acm@muc.de>
4957         Eliminate sluggishness and hangs in fontification of "semicolon
4958         deserts".
4960         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4961         Change value 10000 -> 3000.
4962         (c-state-safe-place): Reformulate so it doesn't stack up an
4963         infinite number of wrong entries in c-state-nonlit-pos-cache.
4964         (c-determine-limit-get-base, c-determine-limit): New functions to
4965         determine backward search limits disregarding literals.
4966         (c-find-decl-spots): Amend commenting.
4967         (c-cheap-inside-bracelist-p): New function which detects "={".
4969         * progmodes/cc-fonts.el
4970         (c-make-font-lock-BO-decl-search-function): Give a limit to a
4971         backward search.
4972         (c-font-lock-declarations): Fix an occurrence of point being
4973         undefined.  Check additionally for point being in a bracelist or
4974         near a macro invocation without a semicolon so as to avoid a
4975         fruitless time consuming search for a declarator.  Give a more
4976         precise search limit for declarators using the new
4977         c-determine-limit.
4979 2012-01-18  Glenn Morris  <rgm@gnu.org>
4981         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4982         (set-auto-mode): Doc fixes.
4984 2012-01-17  Glenn Morris  <rgm@gnu.org>
4986         * isearch.el (search-nonincremental-instead): Fix doc typo.
4988         * dired.el (dired-insert-directory): Handle newlines in directory name.
4989         (dired-build-subdir-alist): Unescape newlines in directory name.
4991 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
4993         * net/tramp.el (tramp-local-end-of-line): New defcustom.
4994         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4995         (tramp-action-terminal): Use it.  (Bug#10530)
4997 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4999         * minibuffer.el (completion--replace): Strip properties (bug#10062).
5001 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
5003         * window.el (window-state-ignored-parameters): Remove variable.
5004         (window--state-get-1): Rename argument MARKERS to IGNORE.
5005         Handle persistent window parameters.  Make copy of clone-of
5006         parameter only if requested.  (Bug#10348)
5007         (window--state-put-2): Install a window parameter only if it has
5008         a non-nil value or an existing parameter shall be overwritten.
5010 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
5012         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5014 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
5016         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5017         don't pass the (nil) value of `upnode' to string-match.
5019 2012-01-14  Chong Yidong  <cyd@gnu.org>
5021         * startup.el (command-line): Fix X resource class for cursorColor.
5022         Fix values recognized by the cursorBlink resource.
5024 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
5026         * epg.el (epg--make-temp-file): Avoid permission race condition
5027         when running on old Emacs versions (bug#10403).
5029 2012-01-14  Glenn Morris  <rgm@gnu.org>
5031         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5033 2012-01-13  Alan Mackenzie  <acm@muc.de>
5035         Fix filling for when filladapt mode is enabled.
5037         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5038         c-mask-paragraph, pass in `fill-paragraph' rather than
5039         `fill-region-as-paragraph'.  (This is a reversion of a previous
5040         change.)
5041         * progmodes/cc-mode.el (c-basic-common-init):
5042         Make fill-paragraph-handle-comment buffer local and set it to nil.
5044 2012-01-13  Glenn Morris  <rgm@gnu.org>
5046         * dired.el (dired-switches-escape-p): New function.
5047         (dired-insert-directory): Use dired-switches-escape-p.
5048         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
5050         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
5052 2012-01-12  Glenn Morris  <rgm@gnu.org>
5054         * mail/sendmail.el (mail-mode): Update paragraph-separate for
5055         changes in adaptive-fill-regexp.  (Bug#10276)
5057 2012-01-11  Alan Mackenzie  <acm@muc.de>
5059         Fix Emacs bug #10463 - put `widen's around the critical spots.
5061         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5062         widen around each invocation of c-state-pp-to-literal.  Remove an
5063         unused let variable.
5065 2012-01-11  Glenn Morris  <rgm@gnu.org>
5067         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
5068         Doc fix.
5070 2012-01-10  Chong Yidong  <cyd@gnu.org>
5072         * net/network-stream.el (network-stream-open-starttls):
5073         Avoid emitting a confusing error message when the server gives a bad
5074         response to the capability command.
5076 2012-01-10  Glenn Morris  <rgm@gnu.org>
5078         * mail/unrmail.el (unrmail): Tweak previous change.
5080 2012-01-09  Chong Yidong  <cyd@gnu.org>
5082         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5084 2012-01-08  Alan Mackenzie  <acm@muc.de>
5086         Optimise font locking in long enum definitions.
5088         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5089         arm to a cond form to handle enums.
5090         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5091         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5093 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5095         * files.el (move-file-to-trash): Preserve default file modes on error.
5096         (Bug#10401)
5098 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5100         * faces.el (set-face-attribute): Clarify the meaning of the nil
5101         frame (bug#10294).
5103         * subr.el (with-selected-frame): Mention that the selected frame
5104         is restored (bug#9980).
5106         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5107         (bug#9759).
5109         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5110         (password-read): Don't autoload unused function.
5112 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
5114         * progmodes/which-func.el (which-func-mode): Turn into a
5115         non-interactive function and mark as obsolete (bug#10428).
5117 2012-01-06  Chong Yidong  <cyd@gnu.org>
5119         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5120         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5121         functions, along with 1 and -1.
5123 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
5125         * time.el (display-time-load-average)
5126         (display-time-default-load-average): Doc fixes.  See the thread
5127         starting at
5128         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5129         for the details.
5131 2012-01-06  Glenn Morris  <rgm@gnu.org>
5133         * mail/unrmail.el (unrmail): Give an explicit error if the input file
5134         has no messages.  (Bug#10377)
5136         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5137         than Info-edit.  (Bug#10385)
5139         * time.el (display-time-load-average, display-time-next-load-average):
5140         Doc fixes.
5142         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5143         local setting of buffer-read-only to the input buffer.  (Bug#10419)
5145         * calendar/calendar.el (calendar-mode):
5146         Locally set scroll-margin to 0.  (Bug#10379)
5148 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
5150         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
5152 2012-01-05  Glenn Morris  <rgm@gnu.org>
5154         * eshell/em-unix.el (diff-no-select): Autoload it.
5155         (eshell/diff): Use diff-no-select.  (Bug#10420)
5157 2012-01-05  Chong Yidong  <cyd@gnu.org>
5159         * shell.el (shell-dynamic-complete-functions): Revert last change.
5160         (shell-command-completion-function): New function.
5161         (shell-completion-vars): Use it to implement
5162         shell-completion-execonly (Bug#10417).
5164         * custom.el (enable-theme): Don't set custom-safe-themes.
5166         * cus-theme.el (custom-theme-merge-theme):
5167         Ignore custom-enabled-themes and custom-safe-themes.
5169 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
5171         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5172         first prompt in `sql-interacive-mode'.
5173         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5174         keywords.
5175         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5176         (sql-product-interactive): Bug fix: Set `sql-buffer' in
5177         context of original buffer.  Invoke `sql-login-hook'.
5179 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
5181         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5182         letters in cite-prefix.
5184 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5186         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5188 2012-01-03  Chong Yidong  <cyd@gnu.org>
5190         * shell.el (shell-dynamic-complete-functions):
5191         Put pcomplete-completions-at-point, so as to try
5192         comint-filename-completion first (Bug#10417).
5194 2012-01-02  Richard Stallman  <rms@gnu.org>
5196         * battery.el (battery-status-function):
5197         Detect when to use battery-yeeloong-sysfs.
5198         (battery-echo-area-format): Add string for Yeeloong.
5199         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5200         (battery-yeeloong-sysfs): New function.
5202 2012-01-02  Chong Yidong  <cyd@gnu.org>
5204         * dirtrack.el (dirtrack-list): Eliminate unused third element.
5205         (dirtrack): Merge code for handling relative filenames in prompt
5206         from shell-dir-cookie-watcher.
5207         (dirtrack-debug-message): New arg to avoid excess format calls.
5209         * shell.el (shell-dir-cookie-re): Variable deleted.
5210         (shell-dir-cookie-watcher): Function deleted.
5211         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5212         with dirtrack-mode.
5214 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
5216         * term/w32-win.el (dynamic-library-alist) <gnutls>:
5217         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5218         libgnutls-26.dll.
5220 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
5222         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5224 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
5226         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5227         headers of non-MIME messages, when rmail-enable-mime is non-nil.
5229 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
5231         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5232         also for alternative shells.
5233         (tramp-open-connection-setup-interactive-shell): Check, whether
5234         the shell is a busybox.
5235         (tramp-send-command): Don't suppress multiple prompts for
5236         busyboxes, it hurts.
5238 2011-12-28  Chong Yidong  <cyd@gnu.org>
5240         * progmodes/gdb-mi.el (gdb-get-source-file-list)
5241         (gdb-get-source-file): Move mode line update to
5242         gdb-get-source-file (Bug#10087).
5244 2011-12-25  Chong Yidong  <cyd@gnu.org>
5246         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5247         gud-gdb-marker-filter without taking it as an argument.
5248         (gud-gdb-run-command-fetch-lines): Caller changed.
5249         (gud-gdb-completion-function): New variable.
5250         (gud-gdb-completion-at-point): Use it.
5251         (gud-gdb-completions-1): Split from gud-gdb-completions.
5253         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5254         function as separate arguments.
5255         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5256         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5257         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5258         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5259         (gdb-stopped, def-gdb-auto-update-trigger)
5260         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5261         (gdb-get-changed-registers, gdb-get-main-selected-frame):
5262         Callers changed.
5263         (gud-gdbmi-completions): New function.
5264         (gdb): Use it for generating the completion table.
5266 2011-12-24  Alan Mackenzie  <acm@muc.de>
5268         Introduce a mechanism to widen the region used in context font
5269         locking.  Use this to protect declarations from losing their contexts.
5271         * progmodes/cc-langs.el (c-before-font-lock-functions):
5272         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5273         (c-before-context-fontification-functions): New defvar, a list of
5274         functions to be run just before context (etc.) font locking.
5276         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5277         New, functionality extracted from
5278         c-neutralize-syntax-in-and-mark-CPP.
5279         (c-in-after-change-fontification): New variable.
5280         (c-after-change): Set c-in-after-change-fontification.
5281         (c-set-fl-decl-start): Rejig its interface, so it can be called
5282         from both after-change and context fontifying.
5283         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5284         New functions.
5285         (c-standard-font-lock-fontify-region-function): New variable.
5286         (c-font-lock-fontify-region): New function.
5288 2011-12-24  Juri Linkov  <juri@jurta.org>
5290         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5291         (Bug#10348)
5293 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
5295         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5296         existence of source file.  (Bug#10325)
5298 2011-12-23  Alan Mackenzie  <acm@muc.de>
5300         Fix unstable fontification inside templates.
5302         * progmodes/cc-langs.el (c-before-font-lock-functions):
5303         Newly created from the singular version.  The (c c++ objc) entry now
5304         additionally has c-set-fl-decl-start.  The other languages (apart
5305         from AWK) have that as a single entry.
5307         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5308         The functionality for "local" declarations has been extracted to
5309         c-set-fl-decl-start.
5311         * progmodes/cc-mode.el (c-common-init, c-after-change):
5312         Changes due to pluralisation of c-before-font-lock-functions.
5313         (c-set-fl-decl-start): New function, extracted from
5314         c-font-lock-enclosing-decls and enhanced.
5316 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
5318         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5320 2011-12-22  Juri Linkov  <juri@jurta.org>
5322         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
5324 2011-12-22  Chong Yidong  <cyd@gnu.org>
5326         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5328 2011-12-21  Drew Adams  <drew.adams@oracle.com>
5330         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
5332 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
5334         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5336 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
5338         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
5339         highlighting and support.  Fix up comments for capitalization.
5340         (cfengine-mode-debug): New var.
5341         (cfengine3-mode): Change the modeline indicator to "CFE3".
5342         (cfengine3-font-lock-keywords): Improve defun highlighting.
5343         (cfengine2-actions): Rename from `cfengine-actions'.
5344         (cfengine2-font-lock-keywords): Rename from
5345         `cfengine-font-lock-keywords'.
5346         (cfengine2-imenu-expression): Rename from
5347         `cfengine-imenu-expression'.
5348         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5349         (cfengine2-beginning-of-defun): Rename from
5350         `cfengine-beginning-of-defun'.
5351         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5352         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5353         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
5354         modeline indicator to "CFE2".
5355         (cfengine-mode): Defalias to `cfengine-auto-mode'.
5356         (cfengine-mode-abbrevs): Mark obsolete.
5358 2011-12-21  Chong Yidong  <cyd@gnu.org>
5360         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5361         filename argument.
5363 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
5365         * window.el (window-normalize-buffer-to-display): Remove.
5366         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5368 2011-12-19  Chong Yidong  <cyd@gnu.org>
5370         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5371         Don't signal an error in a predicate function; return non-nil.
5372         (vc-dir-mark-file): Move the error here.
5373         (vc-dir-mark-unmark): If acting on the region, keep going if one
5374         of the entries cannot be marked/unmarked.
5375         (vc-dir-mark-all-files): If current entry is a directory, mark
5376         only child files, as documented.
5378 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5380         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5381         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5382         addition.
5384 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
5386         * term/ns-win.el (ns-get-selection-internal)
5387         (ns-store-selection-internal): Declare.
5388         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5389         Declare as obsolete.
5390         (ns-get-pasteboard, ns-paste-secondary):
5391         Use ns-get-selection-internal.
5392         (ns-set-pasteboard,  ns-copy-including-secondary):
5393         Use ns-store-selection-internal.
5395 2011-12-17  Chong Yidong  <cyd@gnu.org>
5397         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5398         (vc-deduce-fileset): Doc fix.
5400 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
5402         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5404 2011-12-13  Sam Steingold  <sds@gnu.org>
5406         * man.el (Man-getpage-in-background): When running under a
5407         window-system, ignore $MANWIDTH and $COLUMNS.
5409 2011-12-15  Kenichi Handa  <handa@m17n.org>
5411         * language/ethio-util.el: Change coding tag to utf-8-emacs.
5412         (setup-ethiopic-environment-internal): Comment out key-binding for
5413         ethio-toggle-punctuation.
5415 2011-12-13  Alan Mackenzie  <acm@muc.de>
5417         Add the switch statement to AWK Mode.
5419         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5420         "default" to the keywords regexp.
5422         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5423         expression as the rest.
5424         (c-nonlabel-token-key): Allow string literals for AWK.
5425         Refactor for the other modes.
5427         Large brace-block initialisation makes CC Mode slow: Fix.
5428         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5429         routines.  Limit backward searching in c-font-lock-enclosing.decl.
5431         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5432         pp-state and literal type in addition to the limits.
5433         (c-state-safe-place): New defun, extracted from c-state-literal-at.
5434         (c-state-literal-at): Use the above new defun.
5435         (c-slow-in-literal, c-fast-in-literal): Remove.
5436         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5438         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5439         being in a literal.  Add a limit for backward searching.
5441         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5442         c-slow-in-literal.
5444 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5446         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5448 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
5450         * window.el (delete-other-windows): Use correct frame in call to
5451         window-with-parameter.
5453 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
5455         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5456         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5457         (makefile-gmake-statements, makefile-makepp-statements):
5458         Use it and add new makepp keywords.
5459         (makefile-makepp-font-lock-keywords): Add new patterns.
5460         (makefile-match-function-end): Match new [...] and [[...]].
5462 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
5464         * ses.el (ses-call-printer-return, ses-cell-property-get)
5465         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5466         (ses-create-cell-variable, ses-reset-header-string)
5467         (ses-cell-set-formula, ses-repair-cell-reference-all)
5468         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5469         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5470         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5471         (ses-aset-with-undo, ses-load, ses-truncate-cell)
5472         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5473         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5474         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5475         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5476         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5477         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5478         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5479         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5481 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5483         * ses.el: The overall change is to add cell renaming, that is
5484         setting fancy names for cell symbols other than name matching
5485         "\\`[A-Z]+[0-9]+\\'" regexp .
5486         (ses-create-cell-variable): New defun.
5487         (ses-relocate-formula): Relocate formulas only for cells the
5488         symbols of which are not renamed, i.e. symbols whose names do not
5489         match regexp "\\`[A-Z]+[0-9]+\\'".
5490         (ses-relocate-all): Relocate values only for cells the symbols of
5491         which are not renamed.
5492         (ses-load): Create cells variables as the (ses-cell ...) are read,
5493         in order to check row col consistency with cell symbol name only
5494         for cells that are not renamed.
5495         (ses-replace-name-in-formula): New defun.
5496         (ses-rename-cell): New defun.
5498 2011-12-11  Chong Yidong  <cyd@gnu.org>
5500         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5501         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5503 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
5505         * window.el (other-window): Fix docstring.
5507 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
5509         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5510         `from' or `to' address before taking its substring.
5511         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5512         encoded name is chopped in the middle of the encoded string, and
5513         thus displayed encoded.
5515 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
5517         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5519 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
5521         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
5522         to use texinfo-update-node and commands that call it if the
5523         Texinfo file uses @node lines without next/prev/up pointers.
5524         Correct outdated description about texinfo-master-menu.
5525         (texinfo-all-menus-update, texinfo-master-menu)
5526         (texinfo-update-node, texinfo-every-node-update)
5527         (texinfo-multiple-files-update): Doc fix.  Warn against updating
5528         all the @node lines.
5529         (texinfo-master-menu): Only call texinfo-update-node if the prefix
5530         argument is numeric.  Explain better in the doc string what the
5531         function really does.
5532         (texinfo-insert-master-menu-list): Improve the error message
5533         displayed if there's no menu in the Top node.
5534         (Bug#2975)  See also this thread:
5535         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5537 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
5539         * speedbar.el (speedbar-supported-extension-expressions):
5540         Add .adb and .ads, commonly used for Ada source code (bug#10256).
5542 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
5544         * printing.el (pr-mode-alist):
5545         * simple.el (filter-buffer-substring-functions)
5546         (completion-list-insert-choice-function):
5547         * window.el (window-with-parameter, window-atom-root)
5548         (window-sides-slots, window-size-fixed, window-min-delta)
5549         (window-max-delta, window--resize-mini-window)
5550         (window--resize-child-windows-normal, window-tree)
5551         (delete-other-windows, quit-window, split-window)
5552         (display-buffer-record-window, special-display-buffer-names)
5553         (special-display-regexps, special-display-popup-frame)
5554         (same-window-p, split-window-sensibly)
5555         (display-buffer-overriding-action, display-buffer-alist)
5556         (display-buffer-base-action, display-buffer, switch-to-buffer)
5557         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5558         (fit-window-to-buffer, recenter-positions)
5559         (mouse-autoselect-window-state, mouse-autoselect-window-select):
5560         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5561         and remove unneeded backslashes in docstrings.
5563 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5565         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5567         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5568         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5569         end in ".mk".
5570         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5571         when reading the makefile (bug#10116).
5573 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5575         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5576         (bug#10116).
5578 2011-12-06  Glenn Morris  <rgm@gnu.org>
5580         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5582 2011-12-06  Chong Yidong  <cyd@gnu.org>
5584         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5586 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
5588         * textmodes/table.el (table-shorten-cell): Fix typo.
5590 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
5592         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5594 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
5596         * descr-text.el (describe-char): Fix display of strong
5597         right-to-left characters and directional embeddings and overrides.
5599         * simple.el (what-cursor-position): Fix display of codepoints of
5600         strong right-to-left characters.
5602 2011-12-05  Chong Yidong  <cyd@gnu.org>
5604         * faces.el (read-color): Doc fix.
5606 2011-12-05  Glenn Morris  <rgm@gnu.org>
5608         * align.el (align--set-marker): Add doc-string.
5609         Don't try to move something that is not a marker.  (Bug#10216)
5611 2011-12-04  Glenn Morris  <rgm@gnu.org>
5613         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5614         overly zealous deletion of trailing whitespace.
5616 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
5618         * server.el (server-delete-client): On Windows, do not try to delete
5619         the only terminal.
5620         (server-process-filter): On Windows, treat requests for a tty frame as
5621         if they were for a GUI frame if the running server is in GUI mode.
5623 2011-12-03  Glenn Morris  <rgm@gnu.org>
5625         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
5627 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5629         * electric.el: Streamline electric-indent's hook.
5630         (electric-indent-chars): Revert to simple list.
5631         (electric-indent-functions): New var.
5632         (electric-indent-post-self-insert-function): Use it.
5634         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5635         there's no inferior buffer (bug#10196).
5636         (prolog-consult-compile): Don't use toggle-read-only.
5638 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
5640         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5641         interrupt.  (Bug#10187)
5643 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5645         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5646         (bug#9160).
5648         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5649         (bug#10191).
5651 2011-12-02  Juri Linkov  <juri@jurta.org>
5653         * info.el (Info-search): Display "end of manual" when Isearch
5654         reaches the end of single-file Info manual.  (Bug#9918)
5656 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
5658         * isearch.el (isearch-message-prefix): Run the input method part
5659         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
5661 2011-12-02  Juri Linkov  <juri@jurta.org>
5663         * isearch.el (isearch-occur): Use `word-search-regexp' for
5664         `isearch-word'.
5665         (isearch-search-and-update): Add condition for `isearch-word' and
5666         call `word-search-regexp'.  (Bug#10145)
5668 2011-12-01  Glenn Morris  <rgm@gnu.org>
5670         * eshell/em-hist.el (eshell-hist-initialize):
5671         Handle eshell-history-size nil and HISTSIZE set or unset.
5672         (eshell-history-file-name, eshell-history-size): Fix custom type.
5674 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5676         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5678 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
5680         * progmodes/verilog-mode.el (verilog-pretty-expr):
5681         Rework verilog-pretty-expr to handle new assignment operators in system
5682         verilog, such as += *= and the like.
5683         (verilog-assignment-operator-re): Regular expression to find the
5684         assigment operator in a verilog assignment.
5685         (verilog-assignment-operation-re): Regular expression to find an
5686         assignment statement for pretty-expr.
5687         (verilog-in-attribute-p): Query returns true if point is in an
5688         attribute context; used to skip these for expression line up from
5689         pretty-expr.
5690         (verilog-in-parameter-p): Query returns true if point is in an
5691         parameter definition context; used to skip these for expression
5692         line up from pretty-expr.
5693         (verilog-in-parenthesis-p): Query returns true if point is in a
5694         parenthetical expression, specifically ( ) but not [ ] or { };
5695         used by pretty-expr.
5696         (verilog-just-one-space): If there is no space, don't add one.
5697         (verilog-get-lineup-indent-2): Specifically skip just attribute
5698         contexts for expression lineup, rather than skipping all
5699         parenthetical expressions.
5700         (verilog-calculate-indent): Fix comment, and fix indent.
5701         (verilog-do-indent): Indent declarations in lists (suggested by
5702         Joachim Lechner).
5703         (verilog-mode-abbrev-table): Populate abbrev mode with the various
5704         skeleton items.
5705         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5706         by Alain Mellan).
5708 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
5710         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5711         parameters with embedded comments.  Reported by Ray Stevens.
5712         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5713         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5714         Reported by Tim Holt.
5715         (verilog-auto): Fix AUTOing a upper module then AUTOing module
5716         instantiated by upper module causing wrong expansion until AUTOed a
5717         second time.  Reported by K C Buckenmaier.
5718         (verilog-diff-auto): Fix showing .* as a difference when
5719         `verilog-auto-star-save' off.  Reported by Dan Dever.
5720         (verilog-auto-reset, verilog-read-always-signals)
5721         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5722         temporary signals in reset list if
5723         verilog-auto-reset-blocking-in-non is nil, and match assignment
5724         style to each signal's assignment type, bug381.
5725         Reported by Thomas Esposito.
5726         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5727         (verilog-uvm-statement-re): Support UVM indentation and
5728         highlighting, with old OVM keywords only.
5729         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5730         Support AUTOTIEOFF creating non-wire data types.
5731         Suggested by Jonathan Greenlaw.
5732         (verilog-auto-insert-lisp, verilog-delete-to-paren)
5733         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5734         (verilog-inject-sense, verilog-read-inst-pins)
5735         (verilog-read-sub-decls, verilog-read-sub-decls-line):
5736         Fix mismatching parenthesis inside commented out code when deleting
5737         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
5738         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5739         non-numeric vector width.  Reported by Alex Reed.
5740         (verilog-auto-ascii-enum): Add "onehot" option to work around not
5741         detecting signals with parameter widths.  Reported by Alex Reed.
5742         (verilog-auto-delete-trailing-whitespace):
5743         With `verilog-auto-delete-trailing-whitespace' remove trailing
5744         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
5745         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5746         Fix verilog-scan-cache corruption when running user AUTO expansion
5747         hooks that call indentation routines.
5748         (verilog-simplify-range-expression): Fix typo ignoring lower case
5749         identifiers.
5750         (verilog-delete-auto): Fix delete-autos to also remove user created
5751         automatics, as long as they start with AUTO.
5752         (verilog-batch-diff-auto, verilog-diff-auto)
5753         (verilog-diff-function): Add `verilog-diff-auto' and bind to
5754         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
5755         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5756         (verilog-in-paren-quick, verilog-re-search-backward-quick)
5757         (verilog-re-search-forward-quick, verilog-syntax-ppss):
5758         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5759         is disabled and its cache will get corrupt, causing AUTOS not to
5760         expand.  Instead use only -quick functions.
5761         (verilog-scan-region): Fix scanning over escaped quotes.
5762         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5763         (verilog-re-search-backward-quick)
5764         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5765         related functions now ignore strings, to fix misparsing of strings
5766         with magic comments embedded in them.
5767         (verilog-read-auto-template):
5768         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5769         Reported by Brad Dobbie.
5770         (verilog-read-auto-template):
5771         Fix 'verilog-auto-inst-template-numbers' with comments.
5772         Reported by Brad Dobbie.
5773         (verilog-auto-inst, verilog-auto-inst-param)
5774         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5775         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
5776         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5777         debugging templates without merge conflicts, bug357.
5778         Reported by Brad Dobbie.
5779         (verilog-read-auto-template):
5780         Fix verilog-auto-inst-template-numbers with multiple templates.
5781         Reported by Brad Dobbie.
5782         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5783         abbrevs so user won't be asked to save.
5784         (verilog-read-auto-lisp-present): Fix to start at beginning of
5785         buffer in case called outside of verilog-auto.
5786         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5787         to "X-2".  Reported by Matthew Myers.
5788         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5789         all inputs from module templates.  Reported by Leith Johnson.
5790         (verilog-module-inside-filename-p): Fix locating programs as with
5791         modules.
5792         (verilog-auto-inst-port): Fix vl-width expressions when using
5793         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
5794         (verilog-decls-get-regs, verilog-decls-get-signals,
5795         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5796         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5797         verilog-read-decls): Combine reg and wire structures into one var
5798         structure to represent SystemVerilog concepts.
5799         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5800         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5801         (verilog-auto-wire-type, verilog-insert-definition):
5802         Add verilog-auto-wire-type and AUTOLOGIC to support using
5803         SystemVerilog "logic" keyword instead of "wire"/"reg".
5804         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5805         to declares outputs that also have assignments (presumably in an
5806         ifdef or generate if so there's not a driver conflict).
5807         Reported by Matthew Myers.
5808         (verilog-auto-declare-nettype, verilog-insert-definition):
5809         Add verilog-auto-declare-nettype to fix declarations using
5810         `default_nettype none.  Reported by Julian Gorfajn.
5811         (verilog-read-always-signals-recurse, verilog-read-decls)
5812         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5813         malformed end statement, bug325.  Reported by Joshua Wise and
5814         Andrew Drake.
5815         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5816         (verilog-inst-comment-re): Fix not deleting Interfaced comment
5817         when expanding .* in interfaces, bug320.
5818         Reported by Pierre-David Pfister.
5819         (verilog-read-module-name): Fix import statements between module
5820         name and open parenthesis, bug317.
5821         Reported by Pierre-David Pfister.
5822         (verilog-simplify-range-expression): Fix simplification of
5823         multiplications inside AUTOWIRE connections, bug303.
5824         (verilog-auto-inst-port): Support parameter expansion in
5825         multidimensional arrays.
5826         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5827         after "assert property".  Reported by Julian Gorfajn.
5828         (verilog-simplify-range-expression): Fix "couldn't merge" errors
5829         with multiplication, bug303.
5830         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5831         Reported by Jan Frode Lonnum.
5833 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
5835         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5836         (hfy-shell-file-name, hfy-shell):
5837         * international/fontset.el (x-decompose-font-name): Fix typos.
5839 2011-11-29  Ken Brown  <kbrown@cornell.edu>
5841         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5842         (gdb-version): Remove defvar.
5843         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5844         (gdb-gud-context-command, gdb-non-stop-handler)
5845         (gdb-current-context-command, gdb-stopped): Use it.
5846         (gdb-init-1): Enable pretty printing here.
5847         (gdb-non-stop-handler): Don't enable pretty-printing here.
5848         Check to see if the target supports non-stop mode; if not, turn off
5849         non-stop mode.  Use the following.
5850         (gdb-check-target-async): New defun.
5851         (gud-watch, gdb-stopped): Fix whitespace.
5852         (gdb-get-source-file): Don't try to display the source file if
5853         `gdb-main-file' is nil.
5855 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5857         * align.el: Try to generate fewer markers (bug#10047).
5858         (align--set-marker): New macro.
5859         (align-region): Use it.
5861 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5863         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5865 2011-11-29  Chong Yidong  <cyd@gnu.org>
5867         * indent.el (indent-for-tab-command, indent-according-to-mode):
5868         Doc fix.
5869         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
5871 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
5873         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5874         aware of remote file names.  (Bug#10124)
5876 2011-11-29  Chong Yidong  <cyd@gnu.org>
5878         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5880 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5882         * files.el (find-file): Don't use force-same-window (bug#10144).
5883         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5884         use pop-to-buffer if the selected window can't be used.
5885         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5887 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
5889         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5890         special-mode-map.
5892 2011-11-28  Chong Yidong  <cyd@gnu.org>
5894         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5896 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
5898         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5899           gdb-get-source-file-list on gdb-create-source-file-list.
5901 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
5903         * whitespace.el (whitespace-newline): Use a different foreground
5904         color for 16-color light-background displays.
5906 2011-11-24  Chong Yidong  <cyd@gnu.org>
5908         * window.el (display-buffer--special-action): Doc fix.
5910 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
5912         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5913         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5914         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5915         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5916         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5917         (avl-tree-stack-first):
5918         * emacs-lisp/cconv.el (cconv--analyse-use):
5919         * net/gnutls.el (gnutls-negotiate): Fix typos.
5921 2011-11-24  Glenn Morris  <rgm@gnu.org>
5923         * lpr.el (lpr-windows-system, lpr-lp-system):
5924         * mail/binhex.el (binhex-begin-line):
5925         * progmodes/grep.el (grep-history, grep-find-history):
5926         * textmodes/flyspell.el:
5927         * vc/pcvs-defs.el (cvs-global-menu):
5928         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5929         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5930         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5932         * net/tls.el: Fix case of "GnuTLS".
5934         * paths.el (rmail-file-name): Format doc-string for make-docfile.
5936         * version.el (emacs-build-system): Give it a doc-string.
5938 2011-11-24  Juri Linkov  <juri@jurta.org>
5940         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5942 2011-11-24  Glenn Morris  <rgm@gnu.org>
5944         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5945         if called on a non-mime message just toggle the headers.  (Bug#8006)
5947 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
5949         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5950         (allout-lead-with-comment-string, allout-structure-deleted-hook)
5951         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5952         (allout-rebullet-heading, allout-open-sibtopic)
5953         (allout-toggle-current-subtree-encryption)
5954         (allout-toggle-subtree-encryption, allout-encrypt-string)
5955         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5956         (allout-distinctive-bullets-string, allout-auto-activation):
5957         * window.el (window-normalize-buffer-to-display):
5958         * progmodes/verilog-mode.el (verilog-batch-indent):
5959         * textmodes/bibtex.el (bibtex-field-braces-opt)
5960         (bibtex-field-strings-opt):
5961         * vc/cvs-status.el (cvs-tree-merge):
5962         Fix typos.
5964 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
5966         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5967         `non-essential' to t, in order to avoid remote connections.
5969 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
5971         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5972         On MS-DOS and MS-Windows, compare with loaddefs.el
5973         case-insensitively.
5975 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
5977         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
5979 2011-11-23  Glenn Morris  <rgm@gnu.org>
5981         * paths.el (rmail-file-name): Reformat the doc-string so that it
5982         is picked up.
5984         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5985         (rmail-auto-file): Ignore case in the "special" field names,
5986         as mail-fetch-field does for all others.
5988         * mail/rmail.el (rmail-forward):
5989         * mail/rmailkwd.el (rmail-set-label):
5990         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5991         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
5993         * mail/rmail.el (rmail-current-message): Doc fix.
5995         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
5997 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5999         * server.el (server-eval-and-print): Allow C-g (bug#6585).
6001 2011-11-22  Glenn Morris  <rgm@gnu.org>
6003         * mail/rmailmm.el (test-rmail-mime-handler)
6004         (test-rmail-mime-bulk-handler)
6005         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6007 2011-11-21  Juri Linkov  <juri@jurta.org>
6009         * calc/calc.el (calc-read-key-sequence):
6010         Let-bind `input-method-function' to nil.  (Bug#10018)
6012 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6014         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6015         Tell the caller that the next line needs recomputation, even
6016         though it doesn't start a sexp (bug#10094).
6018 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6020         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6022 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6024         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6025         Use force-same-window.
6027 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
6029         * descr-text.el (describe-char-unicode-data):
6030         * json.el (json-string-escape):
6031         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6032         (Footnote-unicode, Footnote-style-p):
6033         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6035 2011-11-20  Chong Yidong  <cyd@gnu.org>
6037         * window.el (replace-buffer-in-windows): Restore interactive spec.
6039 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6041         * electric.el (electric-indent-mode): Fix last change (too optimistic).
6043         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6044         (byte-compile-global-not-obsolete-vars): New var.
6045         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6046         Use it.
6047         (byte-compile-warn-obsolete): Align text with the one in *Help*.
6049 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
6051         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6052         * progmodes/pascal.el (electric-pascal-equal):
6053         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6054         * xml.el (xml-substitute-special): Fix typos.
6056 2011-11-20  Glenn Morris  <rgm@gnu.org>
6058         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6059         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6060         Doc fixes.
6061         (rmail-decode-mime-charset): Mark as obsolete.
6063         * mail/rmailsum.el (rmail-message-regexp-p-1):
6064         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6065         Before using mime functions, check they are set.  (Bug#10077)
6067 2011-11-19  Juri Linkov  <juri@jurta.org>
6069         * info.el (Info-finder-find-node): Use `package--builtins' instead
6070         of `package-alist'.  Use node names formed by the pattern "Keyword "
6071         and the keyword name.
6073 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
6075         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6077 2011-11-19  Juri Linkov  <juri@jurta.org>
6079         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6080         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
6081         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6082         `old-history', `old-history-forward'.  Add let-binding
6083         `window-selected'.  Remove calls to `kill-buffer',
6084         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
6085         before calling `Info-find-node', so `Info-find-node-2' will reread
6086         the Info file.  Restore window positions only when `window-selected'
6087         is non-nil.
6089 2011-11-19  Juri Linkov  <juri@jurta.org>
6091         * isearch.el (isearch-lazy-highlight-new-loop):
6092         Remove condition `(not isearch-error)'.  (Bug#9918)
6094         * misearch.el (multi-isearch-search-fun): Add condition
6095         `(not bound)' to ignore lazy-highlighting search.
6096         Add the search-failed message "end of multi" when the end of
6097         multi-sequence is reached.  Uncapitalize the search-failed
6098         message "Repeat for next buffer".
6100         * info.el (Info-search): Add the search-failed message
6101         "end of the manual" when the end of the manual is reached
6102         in Isearch mode.
6104 2011-11-19  Juri Linkov  <juri@jurta.org>
6106         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6107         Use non-destructive `remove' instead of `delete' because
6108         `Info-history-list' stored to `Info-isearch-initial-history-list' in
6109         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6111 2011-11-19  Juri Linkov  <juri@jurta.org>
6113         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6114         to nil instead of binding `search-ring' and `regexp-search-ring'.
6115         (Bug#9185)
6117 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
6119         * simple.el (line-move): Force movement by logical lines for any
6120         hscrolled window, not only when auto-hscroll-mode is on.
6121         (line-move-visual): Update doc string to that effect.  (Bug#10076)
6123 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
6125         * language/european.el (macintosh): Define as alias for mac-roman.
6127 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
6129         * mail/rmailmm.el (rmail-mime-display-header)
6130         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6131         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6132         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6133         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6134         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6135         of a raw aref.
6136         (rmail-mime-entity-segment): To get past the tagline, move forward
6137         2 more lines, to account for the 2 empty lines that precede and
6138         follow the line with the buttons.
6139         (rmail-mime-update-tagline): Move one more line, to get past the
6140         empty line that follows the buttons in the tagline.  (Bug#9520)
6142 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
6144         * window.el (window-max-delta-1, window-min-delta-1)
6145         (window-min-size-1, window-state-get-1, window-state-put-1)
6146         (window-state-put-2): Use "window--" prefix.
6148 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6150         * emacs-lisp/smie.el: Improve warnings and conflict detection.
6151         (smie-warning-count): New var.
6152         (smie-set-prec2tab): Use it.
6153         (smie-bnf->prec2): Improve warnings.  Add docstring.
6154         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6155         (smie-bnf--set-class): New function.
6156         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
6157         corner case.
6159         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6160         (compilation-error-properties, compilation-move-to-column):
6161         Handle compilation-first-column while in the target buffer.
6163         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6164         Don't hardcode point-min==1.
6166         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6167         (eshell-rewrite-for-command): Remove workaround.
6168         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6169         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6170         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6172         * files-x.el (modify-file-local-variable): Obey commenting conventions.
6174 2011-11-17  Glenn Morris  <rgm@gnu.org>
6176         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6177         Ignore buffer-local generated-autoload-file if it is the same
6178         as the global value.  (Bug#10049)
6180 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
6182         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6183         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6184         (reftex-toc-previous-heading, reftex-toc-max-level)
6185         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6186         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6187         (reftex-toc-do-promote, reftex-toc-promote-prepare)
6188         (reftex-toc-promote-action, reftex-toc-extract-section-number)
6189         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6190         (reftex-toc-rename-label, reftex-toc-visit-location)
6191         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6192         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6193         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6194         leaving "*toc*" only for references to the buffer.
6196 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
6198         * window.el (window-resize, delete-window, split-window):
6199         Replace window-splits by window-combination-resize.
6200         * cus-start.el (window-splits): Replace by window-combination-resize.
6202 2011-11-17  Glenn Morris  <rgm@gnu.org>
6204         * progmodes/sh-script.el (sh-font-lock-keywords-var):
6205         Make bash entry derive from sh entry, not shell entry.
6207 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
6209         * net/tramp-cache.el (tramp-flush-file-property): Flush also
6210         properties of linked files.  (Bug#9879)
6212         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6213         local file name.
6215 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
6217         * menu-bar.el (menu-bar-file-menu):
6218         * printing.el (pr-ps-utility):
6219         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6220         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6221         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6222         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6223         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6224         (icalendar--convert-cyclic-to-ical)
6225         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6226         (icalendar--convert-ical-to-diary)
6227         (icalendar--convert-recurring-to-diary)
6228         (icalendar--convert-non-recurring-all-day-to-diary)
6229         (icalendar-import-format-sample):
6230         * progmodes/idlw-shell.el (idlwave-shell-mode):
6231         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6232         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6233         (vhdl-ps-print-init): Fix typos.
6235 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
6237         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6238         FSF and collapse date sequence, obscure author/maintainer email address
6239         better, remove extra version line, track relocation of author's webpage.
6241         * progmodes/python.el (python-pdbtrack-input-prompt)
6242         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6243         regular python pdb prompts.  Adjustments shamelessly taken exactly as
6244         suggested in EmacsWiki page (tiny change):
6245         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6247 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
6249         * expand.el (expand-pos, expand-index, expand-point):
6250         Remove redundant info from docstring.
6251         (expand-add-abbrevs): Doc fix.
6252         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6253         (expand-sample-perl-mode-expand-list): Fix typos.
6255         * net/dbus.el (dbus-event-member-name):
6256         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6257         * term/pc-win.el (msdos-create-frame-with-faces):
6258         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6260 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
6262         * window.el (split-window, window-state-get-1)
6263         (window-state-put-1, window-state-put-2): Rename occurrences of
6264         window-nest to window-combination-limit.
6265         * cus-start.el (window-nest): Rename to window-combination-limit.
6267 2011-11-16  Chong Yidong  <cyd@gnu.org>
6269         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6270         regexp (Bug#10033).
6272 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6274         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6275         `completing-read' will remove *Completions* and will preserve
6276         current-buffer for us.
6277         (tmm-add-prompt): Users of *Completions* will always (re)set its
6278         major mode.
6279         (tmm-old-comp-map): Remove.
6281 2011-11-16  Glenn Morris  <rgm@gnu.org>
6283         * mail/rmailedit.el: Require rmailmm when compiling.
6284         (rmail-old-mime-state): New declaration.
6285         (rmail-edit-current-message): If editing a mime message,
6286         edit the "raw" message from the mbox buffer.
6287         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
6289 2011-11-15  Glenn Morris  <rgm@gnu.org>
6291         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6292         which wasn't being used.  Add optional arg to force given state.
6293         (rmail-mime): Add optional arg to force given state.
6295 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
6297         * allout.el (allout-encryption-plaintext-sanitization-regexps):
6298         * frame.el (display-mm-dimensions-alist):
6299         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6300         (outline-move-subtree-down):
6301         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6302         (newsticker--treeview-do-get-node):
6303         * net/quickurl.el (quickurl-list-buffer-name):
6304         * progmodes/dcl-mode.el (dcl-mode):
6305         * progmodes/gdb-mi.el (gdb-mapcar*):
6306         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6308 2011-11-15  Glenn Morris  <rgm@gnu.org>
6310         * mail/rmail.el (rmail-file-coding-system): It's only ever used
6311         in a boolean sense, so just make it a boolean, and fix the doc.
6312         (rmail-show-mime-function, rmail-mime-feature)
6313         (rmail-require-mime-maybe): Doc fixes.
6314         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6316         * mail/rmailmm.el (rmail-show-mime): Doc fix.
6318 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
6320         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6321         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6322         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6323         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6325 2011-11-15  Glenn Morris  <rgm@gnu.org>
6327         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6328         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6329         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6330         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6331         (rmail-mime, rmail-show-mime): Doc fixes.
6333         * term/ns-win.el (mode-line-frame-identification):
6334         Leave it alone.  (Bug#10051)
6336         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
6338         * mail/rmailout.el (rmail-output-to-rmail-buffer):
6339         Handle empty buffers.  (Bug#9978)
6341 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
6343         * international/mule.el (define-charset):
6344         * mail/rmailmm.el (rmail-mime-find-header-encoding):
6345         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6346         * progmodes/verilog-mode.el (verilog-backward-token):
6347         * textmodes/ispell.el (lookup-words):
6348         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6350 2011-11-14  Glenn Morris  <rgm@gnu.org>
6352         * progmodes/executable.el
6353         (executable-make-buffer-file-executable-if-script-p):
6354         Handle file-modes returning nil.
6356         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6357         message - not necessary, and causes problems.  (Bug#9831)
6359         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6361         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6363         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6364         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
6365         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6367 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
6369         * window.el (window-resize, delete-window): Use window-splits
6370         variable instead of function.
6371         (window-state-get-1, window-state-put-2, window-state-put):
6372         Don't deal with windows' splits status.
6374 2011-11-12  Glenn Morris  <rgm@gnu.org>
6376         * apropos.el (apropos-do-all, apropos-library, apropos-value)
6377         (apropos-documentation): Doc fixes.
6379 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
6381         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6382         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6384 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6386         * electric.el (electric-indent-post-self-insert-function): Make it
6387         possible for a char to only indent in some circumstances.
6388         (electric-indent-mode): Simplify.
6390 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
6392         * window.el (windows-with-parameter): Remove unused function.
6393         (windows-at-side): Rename to window-at-side-list.
6394         (window-check, window-atom-check, window-atom-check-1)
6395         (window-side-check, window-size-ignore, window-size-fixed-1)
6396         (window-in-direction-2): Prefix with "window--".
6397         (window-tree-1): Rename to window--subtree, fix doc-string.
6399 2011-11-11  Glenn Morris  <rgm@gnu.org>
6401         * subr.el (eval-after-load): If FILE is already loaded,
6402         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
6404 2011-11-10  Glenn Morris  <rgm@gnu.org>
6406         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6407         Call svn via vc-svn-command rather than vc-do-command.
6408         (vc-svn-command): Add --non-interactive.  (Bug#9993)
6409         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6411         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6412         Add toggle-read-only.  (Bug#7292)
6413         * files.el (toggle-read-only): Mention that it should only
6414         be used interactively.  (Bug#10006)
6416 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6418         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6419         Adjust regexp for OCaml warnings.
6421         * electric.el (electric-pair-post-self-insert-function): Let user
6422         turn it off buffer-locally (bug#9932).
6424         * progmodes/python.el (python-beginning-of-statement):
6425         Rewrite (bug#2703).
6427         * progmodes/compile.el: Better handle TABs (bug#9749).
6428         (compilation-internal-error-properties)
6429         (compilation-next-error-function): Obey the target buffer's
6430         compilation-error-screen-columns.
6432 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
6434         * progmodes/meta-mode.el: Remove obsolete comments.
6435         (meta-right-comment-regexp, meta-ignore-comment-regexp):
6436         Fix typos in docstrings.
6438 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
6440         * window.el (window-size-fixed-p): Rewrite doc-string.
6441         (window-resizable-p): Rename to window--resizable-p.  Update callers.
6442         (window--resizable): New function.  Make all callers of
6443         window-resizable call window--resizable instead.
6444         (window-resizable): Rewrite in terms of window--resizable.
6446 2011-11-08  Glenn Morris  <rgm@gnu.org>
6448         * progmodes/delphi.el (delphi-mode-syntax-table):
6449         Let define-derived-mode define a proper syntax table.  (Bug#9994)
6451 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6453         * window.el: Stay away from defsubst.
6454         (window-list-no-nils): Remove.
6455         (window-state-get-1, window-state-get): Use backquote instead.
6457 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6459         * emacs-lisp/find-func.el (find-function-read):
6460         Fix incorrect use of default argument in `completing-read'.
6462 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
6464         * window.el (display-buffer-function, special-display-function):
6465         Mention display-buffer-record-window but do not mention
6466         help-setup parameter in doc-strings.
6467         (window-min-delta): Fix doc-string typo.
6469 2011-11-08  Chong Yidong  <cyd@gnu.org>
6471         * window.el (window-total-height, window-total-width): Doc fix.
6472         (window-body-size): Move from C.
6473         (window-body-height, window-body-width): Move to C.
6475 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6477         * window.el: Make special-display like display-buffer-alist (bug#9532).
6478         (display-buffer--special-action): New function, morphed
6479         from display-buffer--special.
6480         (display-buffer): Use it to handle special-display-buffers at higher
6481         priority (just after display-buffer-alist).
6482         (display-buffer-fallback-action, display-buffer--other-frame-action)
6483         (pop-to-buffer-same-window): Remove display-buffer--special.
6485 2011-11-07  Glenn Morris  <rgm@gnu.org>
6487         * calendar/cal-menu.el (cal-menu-set-date-title):
6488         Do nothing if not in a calendar.  (Bug#9976)
6490 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6492         * files.el (find-file): Always use selected-window.
6494 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
6496         * window.el (window-combinations): Make WINDOW argument
6497         mandatory.  Rewrite doc-string.
6498         (walk-window-subtree, window-atom-check, window-min-delta)
6499         (window-max-delta, window--resize-this-window)
6500         (window--resize-root-window-vertically, window-tree)
6501         (balance-windows, window-state-put): Rewrite doc-strings as to
6502         not mention the term "subwindow".
6503         (window--resize-subwindows-skip-p): Rename to
6504         window--resize-child-windows-skip-p.
6505         (window--resize-subwindows-normal): Rename to
6506         window--resize-child-windows-normal.
6507         (window--resize-subwindows): Rename to
6508         window--resize-child-windows.
6509         (window-or-subwindow-p): Rename to window--in-subtree-p.
6511 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
6513         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6514         Ensure that mbox format messages end in two newlines (Bug#9974).
6516 2011-11-06  Chong Yidong  <cyd@gnu.org>
6518         * window.el (window-combination-p): Function deleted; its
6519         side-effect is not used in any existing code.
6520         (window-combinations, window-combined-p): Call window-*-child
6521         directly.
6523 2011-11-05  Chong Yidong  <cyd@gnu.org>
6525         * window.el (window-valid-p): Rename from window-any-p.
6526         (window-size-ignore, window-state-get): Callers changed.
6527         (window-normalize-window): Rename from window-normalize-any-window.
6528         New arg LIVE-ONLY, replacing window-normalize-live-window.
6529         (window-normalize-live-window): Delete.
6530         (window-combination-p, window-combined-p, window-combinations)
6531         (walk-window-subtree, window-atom-root, window-min-size)
6532         (window-sizable, window-sizable-p, window-size-fixed-p)
6533         (window-min-delta, window-max-delta, window-resizable)
6534         (window-resizable-p, window-full-height-p, window-full-width-p)
6535         (window-current-scroll-bars, window-point-1, set-window-point-1)
6536         (window-at-side-p, window-in-direction, window-resize)
6537         (adjust-window-trailing-edge, maximize-window, minimize-window)
6538         (window-deletable-p, delete-window, delete-other-windows)
6539         (record-window-buffer, unrecord-window-buffer)
6540         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6541         (quit-window, split-window, window-state-put)
6542         (set-window-text-height, fit-window-to-buffer)
6543         (shrink-window-if-larger-than-buffer): Callers changed.
6545 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
6547         * mail/rmail.el (rmail-simplified-subject): Decode subject with
6548         rfc2047-decode-string.
6549         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6550         warnings.
6552         * window.el (window-body-height, window-body-width): Mention in
6553         the doc string that the return values are in frame's canonical
6554         units.  (Bug#9949)
6556 2011-11-03  Alan Mackenzie  <acm@muc.de>
6558         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6559         change in cc-engine.el.
6561 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6563         * window.el (switch-to-buffer): Use `force-same-window' interactively.
6565 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
6567         * window.el (quit-window): Call unrecord-window-buffer after
6568         showing another buffer in the window.  (Bug#9937)
6569         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6571 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
6573         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6574         Accept status with more than 9 shelves.  (Bug#9935)
6575         Reported by Colin D Bennett <colin@gibibit.com>.
6577 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
6579         * help.el (with-help-window): Don't reference
6580         temp-buffer-show-specifiers in doc-string.
6582 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6584         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6585         menu-item.
6587 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6589         * whitespace.el: New version 13.2.2.
6590         (whitespace-newline-mode): Disable properly.  Reported by Sarah
6591         <EmacsWiki>.
6593 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
6595         * net/newst-treeview.el: Remove "Time-stamp".
6596         (newsticker--group-manage-orphan-feeds): Do not call
6597         newsticker--treeview-tree-update.
6598         (newsticker-treeview-update, newsticker-treeview):
6599         Call newsticker--treeview-tree-update if necessary.
6601 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
6603         * window.el (window-iso-combination-p, window-iso-combined-p)
6604         (window-iso-combinations): Remove "iso-" infix.
6605         Suggested by Chong Yidong.
6606         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6607         (window-max-delta-1, window-resize, window--resize-siblings)
6608         (window--resize-this-window, adjust-window-trailing-edge)
6609         (split-window, balance-windows-1)
6610         (shrink-window-if-larger-than-buffer):
6611         * calendar/calendar.el (calendar-generate-window):
6612         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6614 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6616         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6617         in place (bug#9907).
6618         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6619         (eshell-rewrite-if-command, eshell-rewrite-for-command)
6620         (eshell-structure-basic-command, eshell-rewrite-while-command)
6621         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6622         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6623         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6624         (eshell-do-pipelines-synchronously, eshell-eval-command):
6625         Use backquotes and prefer setq to set.
6626         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6627         (eshell-macrop): Use functionp.
6628         (eshell-do-eval): Handle multiple expressions in `while' body.
6630 2011-10-30  Chong Yidong  <cyd@gnu.org>
6632         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6633         instead of set-mark (Bug#9810).
6635 2011-10-30  Chong Yidong  <cyd@gnu.org>
6637         * window.el (split-window-below, split-window-right): Rename from
6638         split-window-above-each-other and split-window-side-by-side
6639         respectively.  All callers changed.
6640         (split-window-sensibly, split-window-sensibly): Use them.
6641         (split-window-keep-point): Doc fix.
6643         * isearch.el: Add isearch-scroll property to split-window-below
6644         and split-window-right.
6646         * follow.el (follow-mode):
6647         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6648         * progmodes/ada-xref.el (ada-gdb-application):
6649         * emulation/vip.el (vip-buffer-in-two-windows):
6650         * image-dired.el (image-dired-dired-with-window-configuration):
6651         * dired-x.el (dired-do-find-marked-files):
6652         * dired.el (dired-pop-to-buffer):
6653         * bs.el (bs--show-with-configuration):
6654         * vc/emerge.el (emerge-setup-windows):
6655         * textmodes/two-column.el (2C-two-columns):
6656         * textmodes/reftex-toc.el (reftex-toc):
6657         * progmodes/gdb-mi.el (gdb-setup-windows):
6658         * progmodes/fortran.el (fortran-window-create):
6659         * net/newst-treeview.el (newsticker--treeview-window-init):
6660         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6661         * emulation/tpu-edt.el (tpu-gold-map):
6662         * emulation/crisp.el (crisp-mode-map):
6663         * calendar/calendar.el (calendar-basic-setup): Callers changed.
6665 2011-10-29  Chong Yidong  <cyd@gnu.org>
6667         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6669         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6671         * textmodes/flyspell.el (flyspell-word): Fix char offset for
6672         forged Ispell output (Bug#7904).
6674         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6676 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6678         * doc-view.el: Avoid ugly errors about not finding nil.
6679         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6680         (doc-view-dvipdf-program, doc-view-unoconv-program)
6681         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6682         Avoid nil or absolute file name as default value.
6683         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6685 2011-10-28  Alan Mackenzie  <acm@muc.de>
6687         * progmodes/cc-defs.el (c-version): -> 5.32.2.
6689 2011-10-28  Alan Mackenzie  <acm@muc.de>
6691         Amend the handling of c-beginning/end-of-defun in nested declaration
6692         scopes.
6694         * progmodes/cc-vars.el (c-defun-tactic): Move here from
6695         cc-langs.el.  Change it to a defcustom.
6697         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6698         cc-vars.el.
6700         * progmodes/cc-engine.el (c-beginning-of-statement-1):
6701         Prevent "class foo : bar" being spuriously recognized as a label.
6703         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6704         Add parameter `inclusive' (to include enclosing braces in the region).
6705         (c-widen-to-enclosing-decl-scope): New function.
6706         (c-while-widening-to-decl-block): New macro.
6707         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6708         outward for defun boundaries, and correspondingly change symbol
6709         `respect-enclosure' to `go-outward'.
6710         (c-declaration-limits): Change algorithm to report only the "innermost"
6711         defun's boundaries.
6713 2011-10-28  Deniz Dogan  <deniz@dogan.se>
6715         * net/rcirc.el (rcirc-mode): Use hard newlines.
6717 2011-10-28  Alan Mackenzie  <acm@muc.de>
6719         Amend to indent and fontify macros "which include their own semicolon"
6720         correctly, using the "virtual semicolon" mechanism.
6722         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6724         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6725         Recode to scan one line at a time rather than having \n and \r
6726         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6727         (c-forward-label): Amend for virtual semicolons.
6728         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6730         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6731         of the new C macros.
6733         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6734         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6735         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6736         (c-opt-cpp-macro-define): Make into a full language variable.
6737         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6738         AWK Mode (including \n, \r) removed, no longer needed.
6740         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6741         Invoke c-make-macro-with-semi-re.
6743         * progmodes/cc-vars.el (c-macro-with-semi-re):
6744         (c-macro-names-with-semicolon): New variables.
6745         (c-make-macro-with-semi-re): New function.
6747 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6749         * vc/log-edit.el: Fill empty field rather than adding new one.
6750         (log-edit-add-field): New function.
6751         (log-edit-insert-changelog): Use it.
6753 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
6755         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6757 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6759         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6760         (gdb--check-interpreter): New function.
6761         (gdb): Use it.
6763 2011-10-27  Glenn Morris  <rgm@gnu.org>
6765         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6766         (least-positive-float, least-negative-float)
6767         (least-positive-normalized-float, least-negative-normalized-float)
6768         (float-epsilon, float-negative-epsilon):
6769         Remove unnecessary declarations.
6771         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6772         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6773         (least-positive-float, least-negative-float)
6774         (least-positive-normalized-float, least-negative-normalized-float)
6775         (float-epsilon, float-negative-epsilon): Add doc-strings,
6776         based on those in cl.texi.
6778         * files.el (set-visited-file-name): If the major-mode changed,
6779         reload the local variables.  (Bug#9796)
6781 2011-10-27  Chong Yidong  <cyd@gnu.org>
6783         * subr.el (change-major-mode-after-body-hook): New hook.
6784         (run-mode-hooks): Run it.
6786         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6787         Use change-major-mode-before-body-hook.
6789         * simple.el (fundamental-mode):
6790         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6791         change introducing fundamental-mode-hook.
6793 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
6795         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6797 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
6799         * ido.el (ido-file-name-all-completions-1): Do not require
6800         tramp.el explicitly.  (Bug#7583)
6802 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6804         * progmodes/octave-mod.el:
6805         * progmodes/octave-inf.el: Update maintainer.
6807 2011-10-26  Chong Yidong  <cyd@gnu.org>
6809         * subr.el (with-wrapper-hook): Rewrite doc.
6811 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
6813         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6814         filenames "/method:foo:".  (Bug#9793)
6816 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6818         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6819         (bug#9865).
6821 2011-10-24  Glenn Morris  <rgm@gnu.org>
6823         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
6825 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
6827         * notifications.el: Add the requirement of a running D-Bus session
6828         bus to the Commentary.
6830 2011-10-24  Juri Linkov  <juri@jurta.org>
6832         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6833         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6834         (Bug#9364)
6836 2011-10-24  Juri Linkov  <juri@jurta.org>
6838         * info.el (Info-following-node-name-re): Add newline to the list
6839         of allowed characters for leading space.  (Bug#9824)
6841 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6843         * progmodes/octave-inf.el (inferior-octave-mode-map):
6844         Fix C-c C-h binding.
6845         * progmodes/octave-mod.el (octave-help): Remove.
6847 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
6849         Sync with Tramp 2.2.3.
6851         * net/tramp-cache.el (top): Pacify byte-compiler using
6852         `init-file-user' and `site-run-file'.
6854         * net/trampver.el: Update release number.
6856 2011-10-23  Chong Yidong  <cyd@gnu.org>
6858         * files.el (toggle-read-only): Remove obsolete comment about
6859         version control.
6861         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6862         for toggle-read-only.  Note that this hasn't called vc-next-action
6863         since 2008-05-02, though it wasn't documented at the time.
6865         * vc/ediff-init.el (ediff-toggle-read-only-function):
6866         Use toggle-read-only.
6868 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
6870         Fix bug #9560, sporadic wrong indentation; improve instrumentation
6871         of c-parse-state.
6873         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6874         correct faulty logical expression.
6875         (c-parse-state-state, c-record-parse-state-state):
6876         (c-replay-parse-state-state): New defvar/defuns.
6877         (c-debug-parse-state): Use new functions.
6879 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
6881         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6882         last fix.  Use window-in-direction correctly.
6884 2011-10-21  Chong Yidong  <cyd@gnu.org>
6886         * progmodes/idlwave.el (idlwave-mode):
6887         * progmodes/vera-mode.el (vera-mode): No need to set
6888         require-final-newline; that's done in prog-mode.
6889         Suggested by Stefan Monnier.
6891 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
6893         * mouse.el (mouse-drag-window-above)
6894         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6895         (mouse-drag-mode-line-1, mouse-drag-header-line)
6896         (mouse-drag-vertical-line-rightward-window): Remove.
6897         (mouse-drag-line): New function.
6898         (mouse-drag-mode-line, mouse-drag-header-line)
6899         (mouse-drag-vertical-line): Call mouse-drag-line.
6900         * window.el (window-at-side-p, windows-at-side): New functions.
6902 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
6904         * tar-mode.el (tar-grind-file-mode):
6905         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
6907 2011-10-21  Chong Yidong  <cyd@gnu.org>
6909         * progmodes/idlwave.el (idlwave-mode):
6910         * progmodes/vera-mode.el (vera-mode):
6911         Use mode-require-final-newline.
6913 2011-10-20  Glenn Morris  <rgm@gnu.org>
6915         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
6917 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
6919         * emulation/cua-base.el (cua-set-mark): Fix case of string.
6921 2011-10-20  Chong Yidong  <cyd@gnu.org>
6923         * emulation/cua-base.el (cua-mode):
6924         * mail/footnote.el (footnote-mode):
6925         * mail/mailabbrev.el (mail-abbrevs-mode):
6926         * net/xesam.el (xesam-minor-mode):
6927         * progmodes/bug-reference.el (bug-reference-mode):
6928         * progmodes/cap-words.el (capitalized-words-mode):
6929         * progmodes/compile.el (compilation-minor-mode)
6930         (compilation-shell-minor-mode):
6931         * progmodes/gud.el (gud-tooltip-mode):
6932         * progmodes/hideif.el (hide-ifdef-mode):
6933         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6934         * progmodes/subword.el (subword-mode):
6935         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6936         * progmodes/which-func.el (which-function-mode):
6937         * term/tvi970.el (tvi970-set-keypad-mode):
6938         * term/vt100.el (vt100-wide-mode):
6939         * textmodes/flyspell.el (flyspell-mode):
6940         * textmodes/ispell.el (ispell-minor-mode):
6941         * textmodes/nroff-mode.el (nroff-electric-mode):
6942         * textmodes/paragraphs.el (use-hard-newlines):
6943         * textmodes/refill.el (refill-mode):
6944         * textmodes/reftex.el (reftex-mode):
6945         * textmodes/rst.el (rst-minor-mode):
6946         * textmodes/sgml-mode.el (html-autoview-mode)
6947         (sgml-electric-tag-pair-mode):
6948         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6949         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6950         * emulation/crisp.el (crisp-mode):
6951         * emacs-lisp/eldoc.el (eldoc-mode):
6952         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6953         minor mode behavior.
6955 2011-10-19  Juri Linkov  <juri@jurta.org>
6957         * descr-text.el (describe-char): Add #x2010 and #x2011 to
6958         the list of hard-coded chars with escape-glyph face.
6960 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6962         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6964 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
6966         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6967         running process.
6969 2011-10-19  Glenn Morris  <rgm@gnu.org>
6971         * vc/vc-bzr.el (vc-bzr-after-dir-status):
6972         Ignore ignored files.  (Bug#9726)
6974 2011-10-19  Chong Yidong  <cyd@gnu.org>
6976         Doc fix for minor modes, stating that an omitted argument enables
6977         the mode unconditionally when called from Lisp.
6979         * abbrev.el (abbrev-mode):
6980         * allout.el (allout-mode):
6981         * autoinsert.el (auto-insert-mode):
6982         * autoarg.el (autoarg-mode, autoarg-kp-mode):
6983         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6984         (global-auto-revert-mode):
6985         * battery.el (display-battery-mode):
6986         * composite.el (global-auto-composition-mode)
6987         (auto-composition-mode):
6988         * delsel.el (delete-selection-mode):
6989         * desktop.el (desktop-save-mode):
6990         * dired-x.el (dired-omit-mode):
6991         * dirtrack.el (dirtrack-mode):
6992         * doc-view.el (doc-view-minor-mode):
6993         * double.el (double-mode):
6994         * electric.el (electric-indent-mode, electric-pair-mode):
6995         * emacs-lock.el (emacs-lock-mode):
6996         * epa-hook.el (auto-encryption-mode):
6997         * follow.el (follow-mode):
6998         * font-core.el (font-lock-mode):
6999         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7000         * help.el (temp-buffer-resize-mode):
7001         * hilit-chg.el (highlight-changes-mode)
7002         (highlight-changes-visible-mode):
7003         * hi-lock.el (hi-lock-mode):
7004         * hl-line.el (hl-line-mode, global-hl-line-mode):
7005         * icomplete.el (icomplete-mode):
7006         * ido.el (ido-everywhere):
7007         * image-file.el (auto-image-file-mode):
7008         * image-mode.el (image-minor-mode):
7009         * iswitchb.el (iswitchb-mode):
7010         * jka-cmpr-hook.el (auto-compression-mode):
7011         * linum.el (linum-mode):
7012         * longlines.el (longlines-mode):
7013         * master.el (master-mode):
7014         * mb-depth.el (minibuffer-depth-indicate-mode):
7015         * menu-bar.el (menu-bar-mode):
7016         * minibuf-eldef.el (minibuffer-electric-default-mode):
7017         * mouse-sel.el (mouse-sel-mode):
7018         * msb.el (msb-mode):
7019         * mwheel.el (mouse-wheel-mode):
7020         * outline.el (outline-minor-mode):
7021         * paren.el (show-paren-mode):
7022         * recentf.el (recentf-mode):
7023         * reveal.el (reveal-mode, global-reveal-mode):
7024         * rfn-eshadow.el (file-name-shadow-mode):
7025         * ruler-mode.el (ruler-mode):
7026         * savehist.el (savehist-mode):
7027         * scroll-all.el (scroll-all-mode):
7028         * scroll-bar.el (scroll-bar-mode):
7029         * server.el (server-mode):
7030         * shell.el (shell-dirtrack-mode):
7031         * simple.el (auto-fill-mode, transient-mark-mode)
7032         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7033         (line-number-mode, column-number-mode, size-indication-mode)
7034         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7035         * strokes.el (strokes-mode):
7036         * time.el (display-time-mode):
7037         * t-mouse.el (gpm-mouse-mode):
7038         * tool-bar.el (tool-bar-mode):
7039         * tooltip.el (tooltip-mode):
7040         * type-break.el (type-break-mode-line-message-mode)
7041         (type-break-query-mode):
7042         * view.el (view-mode):
7043         * whitespace.el (whitespace-mode, whitespace-newline-mode)
7044         (global-whitespace-mode, global-whitespace-newline-mode):
7045         * xt-mouse.el (xterm-mouse-mode): Doc fix.
7047         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7048         Fix autogenerated docstring.
7050 2011-10-19  Juri Linkov  <juri@jurta.org>
7052         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7053         by checking environment variables "DESKTOP_SESSION" and
7054         "XDG_CURRENT_DESKTOP".  (Bug#9779)
7056 2011-10-19  Juri Linkov  <juri@jurta.org>
7058         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7059         (browse-url-chromium-program, browse-url-chromium-arguments):
7060         New defcustoms.
7061         (browse-url-default-browser): Check for `browse-url-chromium' and
7062         call `browse-url-chromium-program'.
7063         (browse-url-chromium): New command.  (Bug#9779)
7065 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
7067         * facemenu.el (list-colors-duplicates): On Windows, detect more
7068         duplicates by assuming that only colors matching "^System" are
7069         special "system colors".  (Bug#9722)
7071 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7073         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7074         to distinguish the author from the committer.
7076 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
7078         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7080 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
7082         * international/mule.el (sgml-html-meta-auto-coding-function):
7083         Add support for detecting encoding in HTML5 specified only as
7084         <meta charset="UTF-8">.  Implementation just makes http-equiv and
7085         content-type parts from HTML4 encoding string optional.  (Bug#9716)
7087 2011-10-18  Glenn Morris  <rgm@gnu.org>
7089         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
7091 2011-10-18  Chong Yidong  <cyd@gnu.org>
7093         * faces.el (cursor): Doc fix.
7095 2011-10-17  Chong Yidong  <cyd@gnu.org>
7097         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7099 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
7101         * dirtrack.el (dirtrack): Support shell buffers with path
7102         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
7104 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
7106         * json.el: Bump version to 1.3 and note change in History.
7107         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7109 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7111         * comint.el (comint-insert-input, comint-send-input)
7112         (comint-get-old-input-default, comint-backward-matching-input)
7113         (comint-next-prompt): Use nil instead of `input' for field property of
7114         past user input (bug#114).
7116         * minibuffer.el (completion--replace): Inherit surrounding properties
7117         (bug#114).
7118         (minibuffer-complete-and-exit): Use it.
7120         * comint.el (comint--table-subvert): Quote the all-completions output
7121         (bug#9160).
7123 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
7125         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7127         * menu-bar.el (menu-bar-file-menu): Add entry for making new
7128         window on right of selected.  (Bug#9350) Reword other window
7129         entries and separate them from frame entries.
7131 2011-10-15  Glenn Morris  <rgm@gnu.org>
7133         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7134         Doc fixes.
7136 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
7138         * net/network-stream.el (network-stream-open-starttls):
7139         Improve detection of failure due to lack of TLS support.
7141         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7142         putting the input text in front and in bold.
7144 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7146         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7148         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7149         empty buffer.
7151         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7152         unread-command-events rather than pushing yet-another event.
7154 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
7156         * mail/sendmail.el (sendmail-query-once): Improve the wording of
7157         the explanation of the possible choices.  Make the options passed
7158         to completing-read shorter.
7160 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7162         * textmodes/flyspell.el (flyspell-large-region): Make sure
7163         extended character mode is used if defined (Bug#1339).
7165 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
7167         * simple.el (what-cursor-position): Fix the display of the
7168         character info for LRE, LRO, RLE, and RLO characters by appending
7169         an invisible PDF.
7171 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7173         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7174         even in case of error; add debug spec; simplify data flow.
7175         (with-timeout-handler): Remove.
7177 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
7179         Fix Bug#6019, Bug#9315.
7181         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7182         complete `buffer-file-name', the local file name part could look
7183         remotely (for example on VMS).
7185         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7186         `tramp-run-real-handler'.
7187         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7188         already quoted by '"'.
7190         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7191         Let `file-name-handler-alist' be nil, the local file name part
7192         could look remotely (for example on VMS).
7194 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7196         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7197         from here...
7198         (flyspell-post-command-hook): ...to here.
7200 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7202         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7203         if not needed.
7204         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
7205         using completion.  Protect against "slow" callers.
7206         Remove the "message hack".
7208 2011-10-11  Juri Linkov  <juri@jurta.org>
7210         * isearch.el (isearch-lazy-highlight-word): New variable.
7211         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7212         Use it.  (Bug#9727)
7214 2011-10-11  Glenn Morris  <rgm@gnu.org>
7216         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7217         like f90-previous-statement does.
7219 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7221         * eshell/eshell.el (eshell-command): History should be saved
7222         only in interactive use, to avoid error.
7224 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7226         * minibuffer.el (completion-file-name-table): Fix last change,
7227         i.e. ignore normal errors but not the other ones.
7229 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
7231         * window.el (special-display-buffer-names)
7232         (special-display-regexps): Remove some remnants of earlier
7233         changes from doc-strings.
7234         (quit-windows-on): New function.
7236         * vc/vc.el (vc-revert, vc-rollback):
7237         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7238         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
7239         (Bug#6183) (Bug#7074) (Bug#7447)
7241 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
7243         * window.el (frame-auto-hide-function): Add version tag.
7244         (Bug#9699)
7246 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
7248         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7249         condition.
7251 2011-10-09  Leo Liu  <sdl.web@gmail.com>
7253         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7254         (Bug#9701)
7256 2011-10-08  Glenn Morris  <rgm@gnu.org>
7258         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7259         before the first code statement zero indent.  (Bug#9690)
7261 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
7263         * simple.el (count-words-region): Always count in the region.
7264         Report the number of lines and characters too.
7265         (count-words): New command, which counts in the buffer if the
7266         region is inactive, as count-words-region used to.
7267         (count-words--message): New function.  Handle plurals.
7268         (count-lines-region): Make it an alias for count-words-region.
7270         * bindings.el (esc-map): Replace count-lines-region with
7271         count-words-region.
7273 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
7275         * window.el (window--delete): Delete dedicated frame
7276         unconditionally when argument KILL is non-nil.  (Bug#9699)
7277         (switch-to-buffer): Fix doc-string typo.
7279 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7281         * eshell/eshell.el (eshell-command): Avoid using hooks.
7283 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
7285         * bindings.el ([M-left],[M-right]): Bind to left-word and
7286         right-word respectively.
7288 2011-10-07  Glenn Morris  <rgm@gnu.org>
7290         * cus-start.el (debug-on-quit): Fix custom type.
7292 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7294         * subr.el (define-key-after): Clarify that the function is not
7295         useful for non-menu keymaps.
7297         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7299 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7301         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7302         in current minibuffer (Fix bug with recursive minibuffers).
7304 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
7306         * progmodes/gdb-mi.el (gdb): Doc fix.
7308 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
7310         * window.el (frame-auto-hide-function): New option replacing
7311         frame-auto-delete.  Suggested by Stefan Monnier.
7312         (window--delete): Call frame-auto-hide-function instead of
7313         investigating frame-auto-delete.
7314         (window-point-1, set-window-point-1): New functions.
7315         (window-in-direction, record-window-buffer, window-state-get-1)
7316         (display-buffer-record-window): Use window-point-1 instead of
7317         window-point.
7318         (set-window-buffer-start-and-point): Use set-window-point-1.
7320 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7322         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7324 2011-10-05  Glenn Morris  <rgm@gnu.org>
7326         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7327         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
7329 2011-10-05  Leo Liu  <sdl.web@gmail.com>
7331         * subr.el (read-char-choice): Fix argument to buffer-live-p which
7332         works with buffer object.
7334 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7336         * mpc.el (mpc-tool-bar-map): Add labels.
7338 2011-10-04  Glenn Morris  <rgm@gnu.org>
7340         * calendar/holidays.el (calendar-check-holidays): Doc fix.
7342 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
7344         * window.el (window--delete): New function.
7345         (frame-auto-delete): Resuscitate option.
7346         (bury-buffer, replace-buffer-in-windows)
7347         (quit-window): Rewrite using window--delete.
7348         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7349         Pass display-buffer-mark-dedicated to window--display-buffer-2
7350         (Bug#9639).
7352 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7354         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7355         returns a list (bug#9554).  Add remote file name completion.
7356         * comint.el (comint--table-subvert): Curry and get quote&unquote
7357         functions as arguments.
7358         (comint--complete-file-name-data): Adjust call accordingly.
7359         * pcomplete.el (pcomplete--table-subvert): Remove.
7360         (pcomplete-completions-at-point): Use comint--table-subvert instead.
7362         * minibuffer.el (completion-table-case-fold): Use currying.
7363         (completion--styles-type, completion--cycling-threshold-type):
7364         New constants.
7365         (completion-styles, completion-category-overrides)
7366         (completion-cycle-threshold): Use them.
7367         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7368         completion-table-case-fold.
7370 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
7372         * minibuffer.el (completion-category-overrides): Fix type of styles
7373         and add more user friendly tags (bug#9660).
7375 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7377         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7378         (mule-input-method-string): New widget.
7379         (default-input-method, language-info-custom-alist): Use it.
7381 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7383         * pcomplete.el: Require comint.
7384         (pcomplete--common-suffix): Remove.
7385         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7386         (pcomplete--table-subvert): Sync with comint--table-subvert.
7387         (pcomplete--entries): Use comint-completion-file-name-table.
7388         * comint.el (comint-unquote-filename): Simplify.
7389         (comint-completion-file-name-table): New function (bug#9616).
7390         (comint--complete-file-name-data): Use it.
7392         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7393         (pcmpl-gnu-tar-buffer): Remove.
7394         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7395         around.  Make sure pcomplete-suffix-list is only changed temporarily.
7396         Don't look inside the tar's file if it's too large.
7398 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
7400         * cus-edit.el (custom-mode-map):
7401         * epa.el (epa-key-list-mode-map):
7402         * man.el (Man-mode-map):
7403         * startup.el (splash-screen-keymap):
7404         * simple.el (special-mode-map): Use scroll-up-command and
7405         scroll-down-command.
7407         * progmodes/idlw-help.el (idlwave-help-mode-map):
7408         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7409         * net/newst-plainview.el (newsticker-mode-map):
7410         * emulation/ws-mode.el (wordstar-mode-map):
7411         * emulation/vi.el (vi-com-map):
7412         * calc/calc-graph.el (calc-graph-show-dumb):
7413         * term/sun.el (terminal-init-sun):
7414         * term/ns-win.el (global-map):
7415         * progmodes/grep.el (grep-mode-map):
7416         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7417         * mail/rmail.el (rmail-mode-map):
7418         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7420         * custom.el (custom-safe-themes, load-theme): Treat value of t for
7421         custom-safe-themes as special.
7423 2011-10-01  Julien Danjou  <julien@danjou.info>
7425         * notifications.el (notifications-notify): Fix docstring.
7427 2011-10-01  Per Starbäck  <per@starback.se>
7429         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
7431 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
7433         * startup.el (command-line-1): Fix last fix by inserting
7434         initial-scratch-message into *scratch* before displaying it.
7435         (Bug#9605) and (Bug#9636)
7437 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
7439         * simple.el (line-move): If auto-hscroll-mode is disabled and the
7440         window is hscrolled, move by logical lines.  (Bug#9607)
7441         (line-move-visual): Update the doc string to the above effect.
7443 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
7445         * window.el (display-buffer-record-window): When WINDOW is the
7446         selected window use `point' instead of `window-point'.  (Bug#9626)
7448         * startup.el (command-line-1): Use insert-before-markers when
7449         inserting initial-scratch-message.  (Bug#9605)
7451         * help.el (help-window): Remove variable.
7453 2011-09-29  Glenn Morris  <rgm@gnu.org>
7455         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7457 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
7459         * descr-text.el (describe-char-categories): Accept category
7460         descriptions more than one line long.
7462 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7464         * simple.el (delete-trailing-whitespace): Fix last change.
7466         * progmodes/perl-mode.el (perl-syntax-propertize-function):
7467         Don't confuse "y => 3" as the beginning of a `y' operation.
7469         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7470         object has more than 4 slots (bug#9613).
7472 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
7474         * subr.el (with-output-to-temp-buffer):
7475         * net/quickurl.el (quickurl, quickurl-browse-url):
7476         Fix typos in docstrings.
7478 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
7480         * minibuffer.el (completion-styles)
7481         (completion-category-overrides): Cross reference each other in doc
7482         strings.
7484 2011-09-27  Glenn Morris  <rgm@gnu.org>
7486         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7487         to split-string.  (Bug#9606)
7489 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7491         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7492         (bug#9615).
7494 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
7496         * emacs-lisp/package.el (list-packages): Fix echo area message.
7498 2011-09-27  Leo Liu  <sdl.web@gmail.com>
7500         * ido.el (ido-read-internal): Accept cons cell HIST arg.
7502 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
7504         * net/dbus.el (dbus-unregister-object): Don't release services for
7505         registered signals.  (Bug#9581)
7507 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
7509         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7510         function that picks between cfengine 2 and 3 support
7511         automatically.  Update docs accordingly.
7513 2011-09-22  Kenichi Handa  <handa@m17n.org>
7515         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7516         ZERO.
7517         (indian-itrans-v5-table-for-tamil): New variable.
7518         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7520 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
7522         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7523         that's true if the current command involved collapsing of text.
7524         It's reset to false at the beginning of the next command.
7525         (allout-post-command-business): Move the cursor to the beginning
7526         of entry if the cursor is hidden and collapsing activity just
7527         happened.
7529 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
7531         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7532         tracking (Bug#9541).
7534 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
7536         * net/newst-reader.el (newsticker-html-renderer)
7537         (newsticker-show-news): Automatically load html rendering package
7538         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
7539         because w3m-fill-column is let-bound" and the error "Symbol's value
7540         as variable is void: w3m-fill-column".
7542 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
7544         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7545         Release services only if they are defined.  (Bug#9581)
7547 2011-09-23  Richard Stallman  <rms@gnu.org>
7549         * textmodes/paragraphs.el (forward-sentence): For backwards case,
7550         distinguish start of paragraph from start of its text.
7552         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7554         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7555         (rmail-generate-viewer-buffer): Put that hook on view buffer.
7556         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7558 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
7560         * international/mule-diag.el (mule-diag): Insert a newline after
7561         each fontset description.
7563 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7565         * simple.el (delete-trailing-whitespace):
7566         Document last change; simplify.
7568 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
7570         * simple.el (delete-trailing-whitespace): Also delete
7571         extra newlines at the end of the buffer.
7573         * textmodes/picture.el: Make motion commands obey shift-select-mode.
7574         (picture-newline): Use forward-line so as to ignore fields.
7576 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7578         * subr.el (with-wrapper-hook): Fix edebug spec.
7580 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7582         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7583         (bug#4538).
7585 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
7587         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7588         Fix nasty bug using wrong cached values.
7590 2011-09-23  Alan Mackenzie  <acm@muc.de>
7592         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7594 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
7596         * window.el (pop-to-buffer): Ensure right window is selected if we
7597         chose another frame.
7599 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
7601         * simple.el (what-cursor-position): Use get-char-property-change
7602         and next-single-char-property-change, to be able to show display
7603         properties that come from overlays as well as text properties.
7605 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
7607         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7609         * cmuscheme.el (run-scheme, switch-to-scheme):
7610         * cus-edit.el (customize-group, custom-buffer-create)
7611         (customize-browse):
7612         * info.el (info):
7613         * shell.el (shell):
7614         * mail/sendmail.el (mail):
7615         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7617 2011-09-22  Richard Stallman  <rms@gnu.org>
7619         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7620         move back only to line beg, don't move back over blank lines.
7622 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
7624         * files.el (copy-directory): Set directory attributes only in case
7625         they could be retrieved from the source directory.  (Bug#9565)
7627 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
7629         * progmodes/hideshow.el (hs-looking-at-block-start-p)
7630         (hs-find-block-beginning, hs-hide-level-recursive):
7631         Ignore strings as well as comments.  (Bug#9502)
7633 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
7635         * progmodes/sql.el (sql-comint-postgres):
7636         Convert port number to a string.  (Bug#9566)
7638 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
7640         * window.el (quit-window): Undedicate window when switching to
7641         previous buffer.  Reported by Thierry Volpiatto
7642         <thierry.volpiatto@gmail.com>.
7643         (special-display-popup-frame): When popping up a new frame reset
7644         its previous buffers to nil.  Simplify code.
7646 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
7648         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7649         and process filter, as done also in `shell-command'.
7651 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
7653         * window.el (set-window-buffer-start-and-point):
7654         Call set-window-start with NOFORCE argument t.
7655         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7656         (quit-window): Reword doc-string.  Handle new format of
7657         quit-restore parameter.  Don't delete window if it has a
7658         previous buffer we can show instead of the present one.
7659         (display-buffer-record-window): Rewrite using a new format for
7660         the quit-restore window parameter
7661         (special-display-popup-frame, display-buffer-same-window)
7662         (display-buffer-reuse-window, display-buffer-pop-up-frame)
7663         (display-buffer-pop-up-window, display-buffer-use-some-window):
7664         Adapt symbol passed to display-buffer-record-window.
7665         * help.el (help-window-setup): Handle new format of quit-restore
7666         parameter.
7668 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7670         * faces.el (face-list): Fix docstring (bug#9564).
7672         * window.el (display-buffer--action-function-custom-type):
7673         Don't include internal functions in the Custom interface.
7675 2011-09-20  Juri Linkov  <juri@jurta.org>
7677         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7678         (Info-forward-node, Info-backward-node, Info-next-preorder)
7679         (Info-last-preorder): Use it.  (Bug#9528)
7681 2011-09-20  Juri Linkov  <juri@jurta.org>
7683         * info.el (Info-last-preorder): Visit last menu item only when
7684         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7686 2011-09-20  Julien Danjou  <julien@danjou.info>
7688         * password-cache.el (password-cache-remove): Remove entries even if the
7689         value is nil, so that password with a nil value (negative caching) is
7690         possible to invalidate.
7692 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
7694         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7695         all whitespace around breakpoint.  (Bug#9553)
7696         (f90-find-breakpoint): Only break at whitespace inside a comment.
7698 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7700         * minibuffer.el (completion-file-name-table): Keep track of errors.
7701         (completion-table-with-predicate): Handle the case where pred1 is nil.
7702         * pcomplete.el (pcomplete-completions-at-point): Simplify.
7704 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7706         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7707         (debugger-return-value): Signal an error if the debugging context does
7708         not await any return value.
7710         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7711         * image-mode.el (image-toggle-display-text)
7712         (image-toggle-display-image): Stay away from evil `intangible'.
7714 2011-09-19  Leo Liu  <sdl.web@gmail.com>
7716         * replace.el (occur-revert-arguments): Make it permanent-local.
7717         (occur-mode): Don't call font-lock-defontify.
7719 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
7721         * net/ldap.el (ldap-search-internal): Don't push empty search
7722         result (Bug#9508).
7724 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7726         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7728 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
7730         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7731         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7733 2011-09-18  Juri Linkov  <juri@jurta.org>
7735         * buff-menu.el (Buffer-menu-mode-map):
7736         * dired.el (dired-mode-map):
7737         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7738         (lisp-interaction-mode-map):
7739         * emacs-lisp/package.el (package-menu-mode-map):
7740         * epa.el (epa-key-list-mode-map):
7741         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7742         (menu-bar-options-menu):
7743         * outline.el (outline-mode-menu-bar-map):
7744         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7745         * vc/vc-dir.el (vc-dir-menu-map):
7746         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7747         Capitalize non-function content words in menu item strings.
7749         * dired.el (dired-mode-map): Add menu item for
7750         `image-dired-dired-toggle-marked-thumbs'.
7752 2011-09-18  Juri Linkov  <juri@jurta.org>
7754         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7755         to `isearch-case-fold-search' and restore its original value
7756         after the `isearch-mode' call.
7758 2011-09-18  Juri Linkov  <juri@jurta.org>
7760         * progmodes/grep.el (grep-process-setup): Don't check code for 1
7761         because `zgrep' returns 1 for successful matches (bug#9226).
7763 2011-09-18  Juri Linkov  <juri@jurta.org>
7765         * info.el (Info-extract-menu-node-name): Check the second match
7766         for empty string (second test-case of bug#9528).
7767         (Info-last-preorder): Let-bind `Info-history' to nil to not add
7768         intermediate nodes to the history (first test-case of bug#9528).
7770 2011-09-18  Juri Linkov  <juri@jurta.org>
7772         * info.el (Info-mode-syntax-table): New variable.
7773         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7775 2011-09-18  Juri Linkov  <juri@jurta.org>
7777         * info.el (Info-file-supports-index-cookies):
7778         Increment line-beginning-position's arg from 3 to 4 because makeinfo
7779         outputs one more line for long file names (bug#4142).
7781 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
7783         * newcomment.el (comment-normalize-vars): If prompting for
7784         comment-start, set comment-start-skip too (Bug#8424).
7786 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
7788         * icomplete.el: Fix previous fix of Bug#5849.
7789         (icomplete-mode): Don't set completion-show-inline-help.
7790         (icomplete-minibuffer-setup): Set completion-show-inline-help
7791         locally during icompletion.
7793 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
7795         * woman.el (woman2-process-escapes): Don't delete unrecognized
7796         escapes (Bug#7843).
7798         * files.el (inhibit-first-line-modes-regexps): Add image files.
7799         (hack-local-variables-prop-line): Return nil for malformed
7800         prop-lines (Bug#9044).
7802 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
7804         * net/tramp.el (top): Don't require 'shell.
7805         (tramp-methods): Fix docstring.
7806         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7807         Return complete remote file name.  Handle "smb" case.
7808         Use `tramp-tmpdir', if defined for the respective method.
7809         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7811         * net/tramp-compat.el (top): Require 'shell.
7813         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7814         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7815         `tramp-current-host'.
7816         (tramp-get-remote-tmpdir): Remove.
7818         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7819         `tramp-tmpdir' entries.
7820         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7821         (tramp-smb-handle-file-attributes): Ignore errors.
7822         (tramp-smb-wait-for-output): Check also for process end.
7824 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7826         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7827         when sending QUIT (bug#9312).
7829 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
7831         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7832         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7833         occur-mode-display-occurrence.
7834         (occur-edit-mode): Add usage message.
7835         (occur-cease-edit): New command.
7836         (occur-after-change-function): Use text properties to find the
7837         position of the prefix text.
7838         (occur-engine): Set stickiness of prefix text properties.
7840 2011-09-17  Glenn Morris  <rgm@gnu.org>
7842         * progmodes/etags.el (complete-tag):
7843         Fix call to completion-in-region.  (Bug#9526)
7845 2011-09-17  Juri Linkov  <juri@jurta.org>
7847         * textmodes/ispell.el (ispell-word): Add to the error message
7848         the word, ispell program name and current dictionary (bug#9121).
7849         (ispell-tex-arg-end): Capitalize "error" in the error message.
7851 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
7853         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7854         check.  (Bug#4251)
7856 2011-09-17  Juri Linkov  <juri@jurta.org>
7858         * window.el (window-safe-min-height, window-safe-min-width):
7859         Fix typos (followup to bug#9522).
7861 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
7863         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7865 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
7867         * simple.el (line-move): If goal-column is set, move by logical
7868         lines, not by display lines.  (Bug#971)
7869         (next-line, previous-line, goal-column, line-move-visual): Doc fix
7870         to reflect the above change.
7872 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7874         * image.el (imagemagick-register-types): Use regexp-opt.
7876 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
7878         * window.el (display-buffer-base-action): Rename from
7879         display-buffer-default-action.  Make default value empty.
7880         (display-buffer-overriding-action): Convert to defvar.
7881         (display-buffer-fallback-action): New var.
7883 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
7885         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7886         declaration.
7887         (package--add-to-archive-contents): If there is a duplicate entry
7888         with an older version, remove it.
7889         (package-menu-mark-delete, package-menu-mark-install)
7890         (package-menu-mark-unmark): Make unused args optional.
7891         (package-menu-mark-obsolete-for-deletion):
7892         Use package-menu-get-status instead of a regexp search.
7893         (package-menu-get-status): Use tabulated-list-entry.
7894         (package-menu-mark-upgrades): New command.
7895         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
7896         (package-menu-execute): Do installation before deletion.
7897         (package-menu-refresh, package-menu-execute): Use derived-mode-p
7898         instead of checking major-mode.
7899         (package-menu--find-upgrades): New function.
7901 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7903         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7904         passwords in the log buffer.
7905         (smtpmail-process-filter): Update the process marker so that the
7906         "broken by peer" status message is inserted in the right place.
7908 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7910         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7911         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7912         bibtex-completion-at-point-function.
7913         (bibtex-completion-at-point-function): Use them.
7915         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7917         * mpc.el (mpc-constraints-tag-lookup): New function.
7918         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7919         also to browser "album|playlist".
7921 2011-09-14  Juri Linkov  <juri@jurta.org>
7923         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
7924         (isearch-edit-string): Use length of `isearch-string' when
7925         `isearch-fail-pos' returns nil.
7926         (isearch-message): Remove duplicate code and call
7927         `isearch-fail-pos' with arg `t'.
7929 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
7931         * replace.el (occur-mode-goto-occurrence): Don't force using other
7932         window (Bug#9499).
7934         * dired-aux.el (dired-do-chmod): Don't provide initial input.
7936 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
7938         * window.el (display-buffer-window): Remove.
7939         (display-buffer-record-window): Use help-setup window parameter
7940         instead of variable display-buffer-window.
7941         (display-buffer-function, special-display-buffer-names)
7942         (special-display-function): Mention help-setup parameter instead
7943         of display-buffer-window in doc-string.
7944         * help.el (help-window-setup): New argument help-window.
7945         Use help-window-setup parameter instead of display-buffer-window.
7946         Reword some messages.
7947         (with-help-window): Pass window used for displaying the buffer
7948         to help-window-setup.  Don't set display-buffer-window.
7950 2011-09-13  Glenn Morris  <rgm@gnu.org>
7952         * emacs-lisp/debug.el (debugger-make-xrefs):
7953         Preserve point.  (Bug#9462)
7955 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
7957         * window.el (window-deletable-p): Use next-frame.
7959 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
7961         * window.el (window-auto-delete): Remove.
7962         (window-deletable-p): Remove argument FORCE.  Don't deal with
7963         dedication and previous buffers.
7964         (switch-to-prev-buffer): Don't delete window.
7965         (delete-windows-on): Delete a window's frame if and only if the
7966         window is dedicated.
7967         (replace-buffer-in-windows): Delete buffer's window or frame if
7968         and only if window is dedicated.
7969         (quit-window): Handle quit-restore as before last change.
7970         (bury-buffer): Delete window only if window-deletable-p returns t.
7972 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
7974         * window.el (window-deletable-p): Never delete the last frame on a
7975         given terminal.
7977 2011-09-13  Glenn Morris  <rgm@gnu.org>
7979         * help.el (describe-key-briefly): Copy previous standard-output change.
7981 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
7983         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
7985 2011-09-13  Glenn Morris  <rgm@gnu.org>
7987         * emacs-lisp/lisp-mode.el (lisp-indent-function):
7988         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7990 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
7992         * dired-aux.el (dired-mark-read-string): Don't return default
7993         value on empty input (Bug#9361).
7994         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7995         Omit initial minibuffer contents.
7996         (dired-do-chmod): Signal an error on empty input.
7997         (dired-mark-read-string): Don't return default on empty input.
7999         * files.el (file-modes-symbolic-to-number): Doc fix.
8001 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8003         * international/mule-cmds.el (ucs-completions): Remove.
8004         (read-char-by-name): Use complete-with-action instead; add metadata.
8006 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
8008         * window.el (display-buffer--action-function-custom-type)
8009         (display-buffer--action-custom-type): New vars.
8010         (display-buffer-alist, display-buffer-default-action)
8011         (display-buffer-overriding-action): Add defcustom types.
8013         * frame.el (delete-other-frames): Doc fix (Bug#276).
8015 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8017         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8019 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
8021         Change modes that used same-window-* vars to use switch-to-buffer.
8023         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8024         Use switch-to-buffer.
8026         * cus-edit.el (customize-group, custom-buffer-create)
8027         (customize-browse, custom-buffer-create-other-window):
8028         Use switch-to-buffer or switch-to-buffer-other-window.
8030         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8031         (Info-prev, Info-up, Info-speedbar-goto-node)
8032         (info-display-manual): Use switch-to-buffer.
8033         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8035         * mail/sendmail.el (mail): Use switch-to-buffer.
8036         (mail-recover): Use switch-to-buffer-other-window.
8038         * cmuscheme.el (run-scheme, switch-to-scheme):
8039         * ielm.el (ielm):
8040         * shell.el (shell):
8041         * net/rlogin.el (rlogin):
8042         * net/telnet.el (telnet, rsh):
8043         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8045 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
8047         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8049 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8051         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8052         so don't mention it (bug#9301).
8053         (dired-sort-toggle-or-edit): Clarify string further.
8055         * faces.el (face-spec-set-match-display): Make `(type graphic)'
8056         match `x', `w32' and `ns', like the manual says (bug#9029).
8058         * subr.el (eval-after-load): Doc string clarification (bug#9125).
8059         (process-kill-buffer-query-function): Mention the buffer name in
8060         the query.
8062         * image-mode.el (image-next-line): The line parameter is mandatory
8063         (bug#9258).
8065         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8066         which can be useful (bug#9301).
8068         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8070         * subr.el (match-string): Mention that the current buffer should
8071         be the same as the search was done in (bug#9282).
8073         * facemenu.el: Disable the remove-* commands if the mark isn't
8074         active (bug#9162).
8076 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
8078         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8079         of display-buffer.
8080         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8082         * replace.el (occur-mode-goto-occurrence)
8083         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8084         and display-buffer.
8086         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8087         display-buffer.
8089         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8090         special-display and same-window variables.
8091         (mail-other-window): Use switch-to-buffer-other-window.
8092         (mail-other-frame): USe switch-to-buffer-other-frame.
8094         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8095         Use display-buffer-other-frame.
8096         (gdb-display-gdb-buffer): Use pop-to-buffer.
8098         * progmodes/gud.el (gud-goto-info): Use info-other-window.
8100         * progmodes/python.el: Don't set same-window-buffer-names.
8102         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8104         * window.el (display-buffer-alist): Add *Python*.
8106 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
8108         * window.el (display-buffer-alist): Add entry for buffers
8109         previously handled same-window-*.
8110         (display-buffer-alist, display-buffer-default-action)
8111         (display-buffer-overriding-action): Mark as risky.
8112         (display-buffer-alist): Document action function changes.
8113         (display-buffer--same-window-action)
8114         (display-buffer--other-frame-action): New variables.
8115         (switch-to-buffer, display-buffer-other-frame): Use them.
8116         (display-buffer): Rename reuse-frame entry to reusable-frames.
8117         (display-buffer-reuse-selected-window): Function deleted.
8118         (display-buffer-reuse-window): Handle reusable-frames alist entry.
8119         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8120         (display-buffer-special): New function.
8121         (display-buffer--maybe-pop-up-frame-or-window): Rename from
8122         display-buffer-reuse-or-pop-window.  Split off special-display
8123         part into display-buffer-special.
8124         (display-buffer-use-some-window): Don't perform any special
8125         pop-up-frames handling.
8126         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8127         (display-buffer--maybe-same-window): Rename from
8128         display-buffer-maybe-same-window.
8130         * info.el: Don't set same-window-regexps.
8131         (info-setup): New function.
8132         (info-other-window, info): Call it.
8134         * cus-edit.el: Don't set same-window-regexps.
8135         (customize-group): New argument.
8136         (customize-group-other-window): Use it.
8137         (customize-face, customize-face-other-window): Likewise.
8138         (custom-buffer-create-other-window): Use pop-to-buffer directly.
8140         * net/rlogin.el:
8141         * net/telnet.el:
8142         * progmodes/gud.el: Don't set same-window-regexps.
8144         * cmuscheme.el:
8145         * ielm.el:
8146         * shell.el:
8147         * mail/sendmail.el:
8148         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8150 2011-09-10  Juri Linkov  <juri@jurta.org>
8152         * isearch.el (isearch-edit-string): Remove obsolete mention of
8153         `C-w' (`isearch-yank-word-or-char') from docstring.
8154         (isearch-query-replace): Fix typo in docstring (bug#9466).
8156 2011-09-10  Juri Linkov  <juri@jurta.org>
8158         * paren.el (show-paren-function): Don't show escaped parens.
8159         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
8161 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
8163         * mail/sendmail.el (mml-to-mime, mml-attach-file)
8164         (mm-default-file-encoding): Remove autoload forms, they are
8165         replaced with autoload cookies in mml.el and mm-encode.el.
8166         (mail-add-attachment): New command.
8167         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8168         (mail-mode): Mention mail-insert-file and mail-add-attachment in
8169         the doc string.
8170         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8172 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
8174         * simple.el (count-words-region): Use buffer if there's no region
8175         (bug#9429).
8177 2011-09-09  Juri Linkov  <juri@jurta.org>
8179         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8180         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8181         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
8183 2011-09-09  Alan Mackenzie  <acm@muc.de>
8185         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8186         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
8188 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
8190         Fix for Savannah bug#9392.
8191         * simple.el (mail-encode-mml): New defvar.
8193         * mail/rmail.el (mail-encode-mml): Add a defvar.
8194         (rmail-enable-mime-composing): Default to t.
8195         (rmail-forward): Use MIME method of forwarding only if both
8196         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8197         Set mail-encode-mml non-nil if the MIME method was used.
8199         * mail/sendmail.el (mml-to-mime): Add autoload form.
8200         (mail-encode-mml): Add a defvar.
8201         (mail-mode): Make mail-encode-mml buffer-local and initialize it
8202         to nil.
8203         (mail-send): If mail-encode-mml is non-nil, run the outgoing
8204         message through mml-to-mime, and reset mail-encode-mml to nil.
8206 2011-09-09  Glenn Morris  <rgm@gnu.org>
8208         * woman.el (woman-if-body): When processing an .el block,
8209         do not delete the next .el block as well.  (Bug#9447)
8210         (woman-special-characters): Add oq, cq, and hy characters.
8212 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
8214         * window.el (window-deletable-p): Make sure window is live before
8215         invoking window-prev-buffers.
8217 2011-09-08  Leo Liu  <sdl.web@gmail.com>
8219         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
8221 2011-09-08  Juri Linkov  <juri@jurta.org>
8223         * progmodes/compile.el (compilation-environment): Make it
8224         a defcustom (bug#8340).
8226 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
8228         * window.el (frame-auto-delete): Rename to window-auto-delete.
8229         Make it control auto-deletion of windows and/or frames.
8230         (window-deletable-p): New argument FORCE.  Rewrite conditions
8231         for deleting window/frame.  (Bug#9419)
8232         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8233         Rewrite handling of case when window/frame can be deleted.
8234         (delete-windows-on): Call window-deletable-p with new FORCE
8235         argument t.  (Bug#9456)
8237 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
8239         * help-mode.el (help-mode): Restore autoload.
8241 2011-09-07  Juri Linkov  <juri@jurta.org>
8243         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8244         `compilation-environment'.  Set buffer-local
8245         `compilation-environment' to `thisenv' later after (funcall mode).
8246         (Bug#8340)
8248         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
8249         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8250         instead of replacing its value.  (Bug#8340)
8252 2011-09-07  Juri Linkov  <juri@jurta.org>
8254         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8255         based on text properties put by `grep-filter' instead of matching
8256         escape sequences.
8257         (grep-mode): Set buffer-local `compilation-error-screen-columns'
8258         to the value of `grep-error-screen-columns' (bug#9438).
8260 2011-09-07  Juri Linkov  <juri@jurta.org>
8262         * simple.el (next-error-highlight, next-error-highlight-no-select):
8263         Doc fix (bug#9432).
8265 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
8267         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8268         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
8270 2011-09-07  Leo Liu  <sdl.web@gmail.com>
8272         * net/rcirc.el (rcirc-mode): Conditionally initialize
8273         rcirc-input-ring.
8275 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8277         * emacs-lisp/find-func.el (find-function-C-source): Only set
8278         find-function-C-source-directory after checking that we found a source
8279         file there (bug#9440).
8281 2011-09-06  Alan Mackenzie  <acm@muc.de>
8283         * isearch.el (isearch-other-meta-char): Wherever a key list is
8284         unread, "unread" the prefix arg, too.  This fixes bug #8901.
8286 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
8288         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8290 2011-09-05  Juri Linkov  <juri@jurta.org>
8292         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8294 2011-09-05  Juri Linkov  <juri@jurta.org>
8296         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8297         keeping point where processing of grep matches begins, and
8298         continue to delete remaining escape sequences from the same point.
8299         (grep-filter): Make leading zero optional in "0?1;31m" because
8300         git-grep emits "\033[1;31m" escape sequences unlike expected
8301         "\033[01;31m" as GNU Grep does (bug#9408).
8302         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8304 2011-09-05  Juri Linkov  <juri@jurta.org>
8306         * subr.el (y-or-n-p): Capitalize "yes".
8308 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
8310         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
8311         `tramp-cache-unload-hook' where appropriate.
8312         (tramp-methods): Rename `tramp-remote-sh' to
8313         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
8314         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8316         * net/tramp-sh.el (top): Don't require 'shell.
8317         (tramp-methods): Add `tramp-remote-shell' and
8318         `tramp-remote-shell-args' entries.
8319         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8320         (tramp-sh-handle-shell-command): Remove.
8321         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8322         Use `tramp-remote-shell'.
8324 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
8326         * mail/sendmail.el (sendmail-query-once-function): Delete.
8327         (sendmail-query-once): Save directly to send-mail-function.
8328         Update message-send-mail-function too.
8330         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8332 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
8334         * progmodes/python.el (python-mode-map): Use correct function to
8335         start python interpreter from menu-bar (as reported by Geert
8336         Kloosterman).
8337         (inferior-python-mode-map): Fix typo.
8338         (python-shell-map): Remove.
8340 2011-09-03  Deniz Dogan  <deniz@dogan.se>
8342         * net/rcirc.el (rcirc-print): Simplify code for
8343         rcirc-scroll-show-maximum-output.  There is no need to walk
8344         through all windows to find the right one.
8346 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
8348         * help.el (help-return-method): Doc fix.
8350 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
8352         * window.el (window-deletable-p): Don't return a non-nil value
8353         when there's a buffer that was shown in the window before.
8354         (Bug#9419)
8355         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8356         Set window's previous buffers to nil.
8358 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
8360         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8361         newline before and after the tag line, so it doesn't interfere
8362         with determining the paragraph direction of bidirectional text.
8364 2011-09-03  Leo Liu  <sdl.web@gmail.com>
8366         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
8368 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
8370         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8371         (pop-to-buffer): Change interactive spec.  Pass second argument
8372         directly to display-buffer.
8373         (display-buffer): Fix interactive spec.  Use functionp to
8374         distinguish between a function and a list of functions.
8376         * abbrev.el (edit-abbrevs):
8377         * arc-mode.el (archive-extract):
8378         * autoinsert.el (auto-insert):
8379         * bookmark.el (bookmark-bmenu-list):
8380         * files.el (find-file):
8381         * view.el (view-buffer):
8382         * progmodes/compile.el (compilation-goto-locus):
8383         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8385 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
8387         * window.el (display-buffer-alist): Doc fix.
8388         (display-buffer): Add docstring.  Don't treat
8389         display-buffer-default specially.
8390         (display-buffer-reuse-selected-window)
8391         (display-buffer-same-window, display-buffer-maybe-same-window)
8392         (display-buffer-reuse-window, display-buffer-pop-up-frame)
8393         (display-buffer-pop-up-window)
8394         (display-buffer-reuse-or-pop-window)
8395         (display-buffer-use-some-window): New functions.
8396         (display-buffer-default-action): Use them.
8397         (display-buffer-default): Delete.
8398         (pop-to-buffer-1): Fix choice of actions.
8400 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8402         * minibuffer.el (completion--insert-strings): Don't get confused by
8403         completion entries that end with an LF char.
8405 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
8407         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8409 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
8411         * window.el (display-buffer): Restore interactive spec.
8412         (display-buffer-same-window, display-buffer-other-window):
8413         New functions.
8414         (pop-to-buffer-1): New function.  Use the above.
8415         (pop-to-buffer, pop-to-buffer-same-window): Use it.
8416         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8418         * view.el (view-buffer-other-window, view-buffer-other-frame):
8419         Just use pop-to-buffer.
8421 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8423         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
8425 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
8427         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
8429 2011-08-31  Richard Stallman  <rms@gnu.org>
8431         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8432         of the separation of rmail-view-buffer from rmail-buffer.
8433         If you say no to "replace original", the decrypt is in the
8434         view buffer.  If you say yes, the decrypt goes into the
8435         rmail buffer also.
8437 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
8439         * window.el (display-buffer-window): Rewrite doc-string.
8440         (display-buffer-record-window): New function.
8441         (display-buffer-macro-specifiers)
8442         (display-buffer-even-window-sizes, display-buffer-set-height)
8443         (display-buffer-set-width, display-buffer-in-window)
8444         (display-buffer-reuse-window, display-buffer-split-specifiers)
8445         (display-buffer-side-specifiers, display-buffer-split-window-1)
8446         (display-buffer-split-window, display-buffer-split-atom-window)
8447         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8448         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8449         (display-buffer-other-window-means-other-frame)
8450         (display-buffer-normalize-special)
8451         (display-buffer-normalize-default)
8452         (display-buffer-normalize-argument)
8453         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8454         (display-buffer-normalize-specifiers, display-buffer-frame)
8455         (display-buffer-same-window, display-buffer-same-frame)
8456         (display-buffer-other-window)
8457         (display-buffer-same-frame-other-window)
8458         (display-buffer-other-frame, pop-to-buffer-same-window)
8459         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8460         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8461         (switch-to-buffer-same-frame)
8462         (switch-to-buffer-other-window-same-frame)
8463         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8464         (display-buffer-alist-set-1, display-buffer-alist-set-2)
8465         (display-buffer-alist-set): Remove.
8466         (display-buffer-function, special-display-buffer-names)
8467         (special-display-regexps, special-display-function):
8468         In doc-string refer to display-buffer-window and quit-restore
8469         parameter.
8470         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8471         (special-display-frame-alist, special-display-popup-frame)
8472         (same-window-buffer-names, same-window-regexps, same-window-p)
8473         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8474         (split-window-preferred-function, split-height-threshold)
8475         (split-width-threshold, window-splittable-p)
8476         (split-window-sensibly, window--try-to-split-window)
8477         (window--frame-usable-p, even-window-heights)
8478         (window--even-window-heights, window--display-buffer-1)
8479         (window--display-buffer-2, display-buffer-other-frame):
8480         Restore old Emacs 23 code, order and doc-strings where applicable.
8481         (display-buffer-default, display-buffer-assq-regexp): New functions.
8482         (display-buffer-alist): Rewrite doc-string.
8483         (display-buffer-default-action)
8484         (display-buffer-overriding-action): New variables.
8485         (display-buffer, switch-to-buffer): Rewrite.
8486         (pop-to-buffer): Restore Emacs 23 behavior but use
8487         window-normalize-buffer-to-display.
8488         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8489         Restore Emacs 23 behavior but use
8490         window-normalize-buffer-to-switch-to.
8491         (pop-to-buffer-same-window): Rewrite.
8492         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8493         Rewrite using Emacs 23 options.
8495 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
8497         * net/tramp.el (tramp-root-regexp): Remove.
8498         (tramp-completion-file-name-regexp-unified)
8499         (tramp-completion-file-name-regexp-separate)
8500         (tramp-completion-file-name-regexp-url): Don't use leading volume
8501         letter on win32 systems.  (Bug#5303, Bug#9311)
8502         (tramp-drop-volume-letter): Simplify definition.
8503         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8505 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8507         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8508         (bug#9356).
8510 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
8512         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8514 2011-08-29  Juri Linkov  <juri@jurta.org>
8516         * isearch.el (isearch-done): Don't display message "Mark saved"
8517         when arg `edit' is non-nil to prevent its flicker in the echo area.
8519 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
8521         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8522         obsolete packages for deletion.
8524 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
8526         * help-mode.el (help-mode-map): Add special-mode-map to parent.
8527         (help-mode): Derive help-mode from special-mode.  Don't invoke
8528         view-mode from help-mode.
8529         (help-xref-override-view-map): Remove.
8530         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8531         view-mode is not used anymore.
8533 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
8535         * server.el (server-port): Doc fix.
8537         * cus-theme.el (custom-theme-choose-mode): Inherit from
8538         special-mode (Bug#9124).
8539         (custom-theme-choose-mode-map): Add special-mode to parent.
8541 2011-08-28  Alan Mackenzie  <acm@muc.de>
8543         * progmodes/cc-fonts.el
8544         (c-make-font-lock-BO-decl-search-function): New function.
8545         (c-basic-matchers-after - "Fontify the clauses after various
8546         keywords"): Extract the three keyword lists for the 3 erroneous
8547         constructs from the list of four, and use the new function above
8548         in place of an old one.
8550 2011-08-28  Deniz Dogan  <deniz@dogan.se>
8552         * net/rcirc.el (rcirc-insert-prev-input)
8553         (rcirc-insert-next-input): Remove unused argument.
8555 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8557         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8559 2011-08-27  Alan Mackenzie  <acm@muc.de>
8561         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8562         handle function pointer parameters properly.
8564 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
8566         * window.el (display-buffer-reuse-window): Fix case where
8567         selected window was reused with non-nil OTHER-WINDOW argument.
8568         (Bug#9381)
8570 2011-08-27  Deniz Dogan  <deniz@dogan.se>
8572         * net/rcirc.el (rcirc-check-auth-status): Adding support for
8573         oftc's NickServ messages.
8575 2011-08-27  Glenn Morris  <rgm@gnu.org>
8577         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
8579 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
8581         * emacs-lisp/package.el (package-install): Call package-initialize
8582         if called interactively.
8584 2011-08-26  Leo Liu  <sdl.web@gmail.com>
8586         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
8588 2011-08-25  Juri Linkov  <juri@jurta.org>
8590         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8591         `search-whitespace-regexp' (bug#9364).
8593 2011-08-25  Juri Linkov  <juri@jurta.org>
8595         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8596         `regexp-search-ring' to their global values to protect from
8597         updating by `read-from-minibuffer' (bug#9185).
8599 2011-08-25  Juri Linkov  <juri@jurta.org>
8601         * textmodes/ispell.el (ispell-command-loop): Add newline
8602         at the end of the "Use option `i'..." line.
8604 2011-08-25  Juri Linkov  <juri@jurta.org>
8606         * battery.el (display-battery-mode): If `battery-status-function'
8607         or `battery-mode-line-format' is nil, display the message and set
8608         `display-battery-mode' to nil (bug#9363).
8610 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
8612         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8613         bidi-string-mark-left-to-right; they are unnecessary now.
8615 2011-08-25  Deniz Dogan  <deniz@dogan.se>
8617         * net/quickurl.el: Documentation typo fixes.
8619 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
8621         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8623 2011-08-25  Glenn Morris  <rgm@gnu.org>
8625         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8627         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8628         (smtpmail-via-smtp): Handle nil response from smtp.
8630 2011-08-24  Juri Linkov  <juri@jurta.org>
8632         * proced.el (proced-marked): Inherit from `error' instead of
8633         `font-lock-warning-face'.
8635         * ibuffer.el (ibuffer-marked-face): Change default face from
8636         `font-lock-warning-face' to `warning'.
8637         (ibuffer-deletion-face): Change default face from
8638         `font-lock-type-face' to `error'.
8640         * battery.el (battery-update): Use the face `error' instead of
8641         `font-lock-warning-face' (bug#6117).
8643 2011-08-24  Juri Linkov  <juri@jurta.org>
8645         * faces.el (success): Change face color from "Green3" to
8646         "ForestGreen" on light background (bug#9353).
8648 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
8650         * window.el (quit-window): Rename from quit-restore-window.
8651         Use same arglist as old quit-window.
8652         (frame-auto-delete): Doc fix.
8654         * view.el (view-mode-exit): Use quit-window.
8656 2011-08-24  Juri Linkov  <juri@jurta.org>
8658         * isearch.el (isearch-ring-adjust1): Start visiting previous
8659         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8660         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8661         for empty search string (when the last search string is reused
8662         automatically) to adjust the isearch ring to the last element and
8663         prepare the correct index for further M-p commands (bug#9185).
8665 2011-08-24  Kenichi Handa  <handa@m17n.org>
8667         * international/ucs-normalize.el: If decomposition property of
8668         CHAR is the default one (i.e. a list of CHAR itself), treat it as
8669         nil.
8670         (nfd, nfkd): Likewise.
8672 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8674         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8675         from process filters aren't reliably transmitted to the surrounding
8676         accept-process-output.
8677         (mpc-proc-check): New function.
8678         (mpc-proc-sync): Use it (bug#8293)
8680 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8682         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8683         Add compatibility functions (bug#9313).
8685 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
8687         * cus-start.el (all): Add entry for bidi-paragraph-direction.
8689         * international/uni-bidi.el: Regenerate.
8691 2011-08-23  Kenichi Handa  <handa@m17n.org>
8693         * international/charprop.el:
8694         * international/uni-bidi.el:
8695         * international/uni-category.el:
8696         * international/uni-combining.el:
8697         * international/uni-comment.el:
8698         * international/uni-decimal.el:
8699         * international/uni-decomposition.el:
8700         * international/uni-digit.el:
8701         * international/uni-lowercase.el:
8702         * international/uni-mirrored.el:
8703         * international/uni-name.el:
8704         * international/uni-numeric.el:
8705         * international/uni-old-name.el:
8706         * international/uni-titlecase.el:
8707         * international/uni-uppercase.el: Regenerate.
8709 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
8711         * help.el (help-window-setup): Fix message displayed when other
8712         window is reused.  (Bug#9341)
8714 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8716         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8717         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8719         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8720         Mark obsolete.
8721         * shell.el (shell-parse-pcomplete-arguments): New function.
8722         (shell-completion-vars): Use it instead (bug#9160).
8724 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8726         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8727         strings and comments (bug#9333).
8729         * emacs-lisp/debug.el (debug-arglist): New function.
8730         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
8731         (debug-on-entry-1): Handle interpreted closures (bug#9120).
8733 2011-08-22  Juri Linkov  <juri@jurta.org>
8735         * progmodes/compile.el (compilation-mode-font-lock-keywords):
8736         Revert regexp that highlights output switches to its old
8737         pre-2010-10-28 value and remove one `?' from it (bug#9319).
8739         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8740         to check for empty output (bug#9226).
8742 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
8744         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8745         symbol-constituent as the default, as that stops font-lock from
8746         working properly (Bug#8843).
8748 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8750         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8751         `coding-system-for-*' around the process open call to avoid
8752         auth-source side effects.
8753         (smtpmail-try-auth-methods): Expand the secret password.
8754         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8755         probe hangs.
8757 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
8759         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8761         * emacs-lisp/find-func.el (find-function-noselect): New arg
8762         lisp-only.
8764         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8765         signal an error for built-in functions (Bug#6664).
8767 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8769         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8770         (smtpmail-try-auth-methods): Use it.
8772 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
8774         * font-lock.el (font-lock-fontify-region)
8775         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8776         (font-lock-default-unfontify-buffer)
8777         (font-lock-default-fontify-region)
8778         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8780         * progmodes/compile.el (compilation-error-properties):
8781         Fix confusion between file struct and message struct (Bug#9319).
8782         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8783         `ant' regexp.
8785         * net/browse-url.el (browse-url-firefox): Don't call
8786         browse-url-firefox-sentinel unless using -remote (Bug#9328).
8788 2011-08-20  Glenn Morris  <rgm@gnu.org>
8790         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8792         * tutorial.el (tutorial--default-keys): Update some default bindings.
8794         * files.el (hack-local-variables): Fully ignore case for "mode:".
8796 2011-08-20  Alan Mackenzie  <acm@muc.de>
8798         Resolve invalid use of a regexp in regexp-opt.
8800         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8801         detection for a java annotation.
8803         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8804         detection for a java annotation.
8806         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8807         handling for java.
8808         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8810 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
8812         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8813         (Bug#9274).
8815 2011-08-20  Alan Mackenzie  <acm@muc.de>
8817         Fontify CPP expressions correctly when starting in the middle of
8818         such a construct.  Mainly for when jit-lock etc. starts a chunk
8819         here.
8821         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8822         variable.
8823         (c-make-font-lock-search-form): New function, extracted from
8824         c-make-font-lock-search-function.
8825         (c-make-font-lock-search-function): Use the above function.
8826         (c-make-font-lock-context-search-function): New function.
8827         (c-cpp-matchers): Enhance the preprocessor expression case with
8828         the above function
8829         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8830         which takes an expression.
8832         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8834 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
8836         * window.el (display-buffer-reuse-window)
8837         (display-buffer-pop-up-window): Don't reuse or split a side
8838         window.
8840 2011-08-19  Glenn Morris  <rgm@gnu.org>
8842         * files.el (hack-local-variables-prop-line, hack-local-variables):
8843         Downcase "Mode:".  (Bug#9331)
8845 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
8847         * international/characters.el: Add L and R categories.
8849         * subr.el (bidi-string-mark-left-to-right): Rename from
8850         string-mark-left-to-right.  Use category search.
8852         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8854 2011-08-18  Juri Linkov  <juri@jurta.org>
8856         * faces.el (error, warning, success): New faces with definitions
8857         copied from old default values of `font-lock-warning-face',
8858         `compilation-warning', `compilation-info' (bug#6117).
8860         * font-lock.el (font-lock-warning-face): Inherit from `error'.
8862         * progmodes/compile.el (compilation-error): Inherit from `error'.
8863         (compilation-warning): Inherit from `warning'.
8864         (compilation-info): Inherit from `success'.
8866         * dired.el (dired-marked): Inherit from `warning'.
8867         (dired-flagged): Inherit from `error'.
8869 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8871         * mail/smtpmail.el (auth-source): Require to avoid problems with
8872         binding variables (bug#9298).  Also clean up some unused
8873         autoloads.
8875         * net/network-stream.el (network-stream-open-starttls):
8876         Support using starttls.el without using gnutls-cli.
8878 2011-08-17  Juri Linkov  <juri@jurta.org>
8880         * progmodes/grep.el (rgrep): Handle the case when
8881         `grep-find-command' is a cons cell (bug#9278).
8883 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
8885         * window.el (display-buffer-pop-up-frame): Run frame creation
8886         function with BUFFER current (as special-display-popup-frame
8887         does).  Reported by Drew Adams.
8889 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
8891         * epa-mail.el: Simplify GnuPG group expansion using
8892         epg-expand-group.
8893         (epa-mail-group-alist, epa-mail-group-modtime)
8894         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8895         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8896         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8897         Remove.
8899 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
8901         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8903 2011-08-16  Alan Mackenzie  <acm@muc.de>
8905         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8906         Correct, to avoid the inside of macros.
8908 2011-08-16  Richard Stallman  <rms@gnu.org>
8910         * epa-mail.el: Handle GnuPG group definitions.
8911         (epa-mail-group-alist, epa-mail-group-modtime)
8912         (epa-mail-gnupg-conf-file): New variables.
8913         (epa-mail-parse-groups, epa-mail-sync-groups)
8914         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8915         (epa-mail-expand-recipients): New functions.
8916         (epa-mail-encrypt): Call epa-mail-expand-recipients.
8918         * mail/rmail.el (rmail-epa-decrypt): New command.
8920         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8921         Don't bind buffer-read-only, just inhibit-read-only.
8922         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8923         (epa-decrypt-armor-in-region): Make error message clearer.
8925 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8927         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8928         and "a2b" to "ab" for `prefix'.
8930 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
8932         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8933         filter groups.
8934         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
8935         Fourquet (Bug#8804).
8937 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
8939         * startup.el (argi): Declare as global variable (bug#9275).
8941 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
8943         * subr.el (string-mark-left-to-right): Search the entire string
8944         for RTL script, not just the terminating character.  Doc fix.
8946 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8948         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8949         New function.
8950         (js--regexp-literal, js-syntax-propertize-function): Remove.
8951         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8952         (js-mode-map): Don't rebind electric keys.
8953         (js-insert-and-indent): Remove.
8954         (js-mode): Setup electric-layout and electric-indent instead.
8956         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8958 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
8960         * epa.el (epa-progress-callback-function): Fix the logic of
8961         displaying progress.
8962         * epa-file.el (epa-file-insert-file-contents): Make progress
8963         display more user-friendly.
8964         (epa-file-write-region): Ditto.
8966 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
8968         * subr.el (string-mark-left-to-right): New function.
8970         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8971         Use string-mark-left-to-right.
8972         (list-buffers-noselect): Caller changed.
8974         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8975         Use string-mark-left-to-right.
8976         (tabulated-list-print): Recenter after moving point.
8978 2011-08-10  Juri Linkov  <juri@jurta.org>
8980         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8981         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8982         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8984 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
8986         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8987         (Bug#7554).
8989 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8991         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8992         character.  (Bug#6594)
8994 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
8996         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8997         (image-dired--with-db-file): New macro.
8998         (image-dired-write-tags, image-dired-remove-tag)
8999         (image-dired-create-gallery-lists, image-dired-write-comments)
9000         (image-dired-get-comment, image-dired-mark-tagged-files)
9001         (image-dired-list-tags, image-dired-gallery-generate): Use it.
9002         (image-dired-gallery-generate): Use insert-file-contents.
9004         * time.el (display-time-world-list, display-time-world-display):
9005         * time-stamp.el (time-stamp-string):
9006         * vc/add-log.el (add-change-log-entry): Use setenv instead of
9007         set-time-zone-rule (Bug#7337).
9009 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
9011         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9012         (epg-error-to-string, epg-errors-to-string): New function.
9013         (epg-wait-for-completion): Reverse errors list.
9014         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9015         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9016         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9017         (epg-sign-keys, epg-generate-key-from-file)
9018         (epg-generate-key-from-string): Format errors by using
9019         epg-errors-to-string (bug#9255).
9020         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9022 2011-08-07  Juri Linkov  <juri@jurta.org>
9024         * faces.el (list-faces-display): Remove extra angle bracket
9025         from `help-mode-map'.
9027         * info.el (Info-history-toc-nodes): Doc fix.
9029         * longlines.el (longlines-mode): Doc fix.
9031 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9033         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9034         of statements and in a few more cases (bug#9183).
9036         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9037         New functions.
9038         (cl-transform-lambda): Use them (bug#9239).
9040 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
9042         * window.el (display-buffer-same-window)
9043         (display-buffer-same-frame, display-buffer-other-window)
9044         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9045         (pop-to-buffer-other-window)
9046         (pop-to-buffer-same-frame-other-window)
9047         (pop-to-buffer-other-frame): Make them defuns.
9048         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9050 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9052         * subr.el (make-composed-keymap): Move from C.  Change calling
9053         convention, and improve docstring to bring attention to a subtle point.
9054         * minibuffer.el (completing-read-default): Adjust accordingly.
9056 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
9058         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9059         (tramp-open-shell): Use `tramp-shell-quote-argument'.
9061         * net/trampver.el: Update release number.
9063 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9065         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9066         "in" (bug#9190).
9068 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9070         * mail/sendmail.el (sendmail-query-once): Restore the current
9071         buffer after querying (bug#9074).
9073         * dired.el (dired-flagged): Use different faces for marked and
9074         flagged files (bug#6117).
9076         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9077         (bug#4433).
9079         * ido.el (ido-mode): Switch off the message if called
9080         non-interactively.
9082         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9083         before 587, since it appears that that's more likely to work for
9084         more people.
9086         * cus-edit.el (custom-file): When running under emacs -q, always
9087         refuse to save the customizations, even if the .emacs file doesn't
9088         exist.
9090         * info.el: Remove the `Info-beginning-of-buffer' function
9091         (bug#8325).
9093         * net/network-stream.el (network-stream-open-starttls):
9094         Use `starttls-available-p' to see whether starttls.el can be used.
9096 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
9098         * window.el (display-buffer-in-window): Don't set dedicated status
9099         of window here (Bug#9215).
9100         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9101         (display-buffer-pop-up-side-window)
9102         (display-buffer-in-side-window): Set dedicated status of window here.
9104 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9106         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9107         before binding generated-autoload-file.
9109 2011-08-01  Deniz Dogan  <deniz@dogan.se>
9111         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9113 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
9115         Sync with Tramp 2.2.2.
9117         * net/trampver.el: Update release number.
9119 2011-07-30  Juri Linkov  <juri@jurta.org>
9121         * dired-aux.el (dired-touch-initial): Remove function.
9122         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9123         current time, and `default' to the last modification time of the
9124         current marked file (bug#6887).
9126 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
9128         * simple.el (goto-line): Use string-to-number to provide a
9129         numeric argument to read-number (bug#9163).
9131 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
9133         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9134         connection process, it could be nil.
9136 2011-07-27  Leo Liu  <sdl.web@gmail.com>
9138         Simplify url handling in rcirc-mode.
9140         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9141         (rcirc-browse-url-at-mouse): Remove.
9142         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9144 2011-07-26  Alan Mackenzie  <acm@muc.de>
9146         Fontify bitfield declarations properly.
9148         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9149         (c-symbol-chars): Now exported as a lang variable.
9150         (c-not-primitive-type-keywords): New lang variable.
9152         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9153         QT keyword "more" to prevent "more slots: ...." being spuriously
9154         parsed as a bitfield declaration.
9156         * progmodes/cc-engine.el (c-beginning-of-statement-1):
9157         Refactor and enhance to handle bitfield declarations.
9158         (c-punctuation-in): New function.
9159         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9160         declarations properly.
9162 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
9164         * calendar/icalendar.el (icalendar--all-events): Take care of
9165         multiple vcalendars in a single file.
9166         (icalendar--convert-float-to-ical): Checkdoc fixes.
9168 2011-07-25  Deniz Dogan  <deniz@dogan.se>
9170         * image.el (insert-image): Clarifying docstring.
9172 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
9174         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9175         `tramp-send-command-and-check' if there is no error.
9176         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9178 2011-07-22  Alan Mackenzie  <acm@muc.de>
9180         Prevent cc-langs.elc being loaded at run time.
9182         * progmodes/cc-mode.el: Remove two autoload forms which loaded
9183         cc-langs.
9185         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9186         "(require 'cc-langs)".  Quote a form so it will evaluate at
9187         (cc-mode's) compilation time.
9189 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
9191         * net/tramp.el (tramp-file-name-handler): Avoid recursive
9192         loading.  (Bug#9114)
9194 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
9196         * window.el (display-buffer-pop-up-window)
9197         (display-buffer-pop-up-side-window)
9198         (display-buffer-in-side-window): Call display-buffer-set-height
9199         and display-buffer-set-width after setting the new window's
9200         buffer so `fit-window-to-buffer' and friends work on the right buffer.
9202 2011-07-20  Sam Steingold  <sds@gnu.org>
9204         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9205         (etags-tags-included-tables): Call `convert-standard-filename' on
9206         the file names contained in TAGS so that windows Emacs can handle
9207         TAGS files created by cygwin ctags.
9209 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9211         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9212         which apparently didn't work.
9214 2011-07-19  Roland Winkler  <winkler@gnu.org>
9216         * proced.el (proced-send-signal): For *Marked Processes* buffer
9217         put point at beginning of buffer.
9219 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
9221         * proced.el (proced-format): Make header lines align with the text
9222         (bug#1779).
9224 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9226         * view.el (view-buffer): Allow running in `special' modes if we're
9227         visiting a file (bug#8615).
9229 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
9231         * window.el (display-buffer-alist-of-strings-p)
9232         (display-buffer-alist-set-1, display-buffer-alist-set-2):
9233         New functions.
9234         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9235         more accurately.
9237 2011-07-18  Alan Mackenzie  <acm@muc.de>
9239         Fontify declarators properly when, e.g., a jit-lock chunk begins
9240         inside a declaration.
9242         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9244         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9245         New function.
9246         (c-complex-decl-matchers): Insert reference to
9247         c-font-lock-enclosing-decls.
9249         * progmodes/cc-engine.el (c-backward-single-comment):
9250         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9251         to nil around calls to (forward-comment -1).
9253 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9255         * image.el (put-image): Doc typo fix.
9257         * progmodes/etags.el (tags-search): Doc typo fix.
9259         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9260         password if we get errors 550 to 554.
9262 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9264         * net/gnutls.el (gnutls-log-level): Remove.
9266         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9267         indentation character (bug#6380).
9269         * files.el (buffer-offer-save): Made permanently local (bug#6241).
9271         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9272         to clarify what the problem is (bug#4291).
9274         * simple.el (current-kill): Clarify what
9275         `interprogram-paste-function' does (bug#7500).
9276         (auto-fill-mode): Document `auto-fill-function' in relation to
9277         `auto-fill-mode' (bug#2470).
9279 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
9281         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9282         method if slot is read-only (bug#9035).
9284 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
9286         * frame.el (select-frame-set-input-focus): New argument NORECORD.
9287         * window.el (pop-to-buffer): Select window used even if it was
9288         selected before, see discussion of (Bug#8615), (Bug#6954).
9289         Pass argument NORECORD on to select-frame-set-input-focus.
9291 2011-07-15  Glenn Morris  <rgm@gnu.org>
9293         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
9294         Respect help-form.
9296 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
9298         * net/gnutls.el (gnutls-min-prime-bits): New variable.
9299         (gnutls-negotiate): Use it.
9301 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9303         * net/gnutls.el (gnutls-negotiate):
9304         Upcase `gnutls-algorithm-priority'.
9306 2011-07-15  Glenn Morris  <rgm@gnu.org>
9308         * jka-compr.el (jka-compr-verbose): Move from here...
9309         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
9310         Add missing :version tag.
9311         * info.el: No need to require jka-compr when compiling.
9313 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9315         * net/gnutls.el (gnutls-algorithm-priority): New variable.
9316         (gnutls-negotiate): Use it.
9318         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9320         * info.el (Info-beginning-of-buffer): New command.
9321         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9322         announcing `b' as the key (bug#8325).
9323         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9325         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9327         * international/mule-cmds.el
9328         (describe-specified-language-support): Make the error message
9329         clearer (bug#8905).
9331         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9333         * isearch.el (isearch-barrier): Add a doc string, since it's
9334         mentioned in a function doc string (bug#8678).
9336 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
9338         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9339         buffer argument (Bug#9083) and self-identifying label argument.
9341 2011-07-15  Glenn Morris  <rgm@gnu.org>
9343         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
9345 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9347         * man.el (Man-fontify-manpage): Fix message when formatting the
9348         man page (bug#7929).
9350 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
9352         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9353         argument LRM; if non-nil, append an invisible LRM character to the
9354         buffer name.
9355         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9356         last argument non-nil, when formatting buffer names.
9357         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9358         paragraph direction.
9360 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9362         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9363         the man page name (bug#7929).
9365         * image.el (put-image): Mention the `put-image' overlay property
9366         (bug#7834).
9368         * scroll-bar.el (set-scroll-bar-mode): Mention that
9369         `scroll-bar-mode' lists the values (bug#7772).
9371         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9372         command (bug#7729).
9374         * rect.el (apply-on-rectangle): Return the point after the last
9375         operation.
9376         (string-rectangle): Go to the point after the last operation
9377         (bug#7522).
9379         * printing.el (pr-toggle-region): Clarify the documentation
9380         slightly (bug#7493).
9382         * time.el (display-time-update):
9383         Allow `display-time-mail-function' to return nil (bug#7158).
9384         Fix suggested by Detlev Zundel.
9386         * vc/diff.el (diff): Clarify the order the file names are read
9387         (bug#7111).
9389         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9390         the doc string (bug#7015).
9392         * font-lock.el (font-lock-maximum-decoration): Mention what
9393         numeric levels mean (bug#6935).
9395         * startup.el (initial-buffer-choice): Don't mention the `none'
9396         selection, which is against policy.
9398 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
9400         * window.el (display-buffer-normalize-special):
9401         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9403 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
9405         * subr.el (version<, version<=, version=): Mention "-CVS" and
9406         "-12345" alpha version numbers.
9408 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
9410         * bindings.el: Add advertised binding for set-mark-command
9411         (Bug#5772).
9413 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
9415         * bindings.el (mode-line-other-buffer):
9416         * bookmark.el (bookmark-bmenu-2-window):
9417         * bs.el (bs-cycle-next, bs-cycle-previous):
9418         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9419         switch-to-buffer.
9421         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9422         Delete.
9424 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
9426         * follow.el (follow-debug-message, follow-redisplay):
9427         * jka-cmpr-hook.el (with-auto-compression-mode):
9428         Fix typos in docstrings.
9430 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9432         * subr.el (with-silent-modifications): Clarify somewhat what the
9433         macro inhibits (bug#6525).
9435         * simple.el (eval-expression): Note what it does if called
9436         interactively (bug#6495).
9438 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
9440         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9441         Use pop-to-buffer buffer-or-name if it is nil.
9443         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9444         Remove switch-to-buffer.
9446 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9448         * files.el (make-directory): Clarify that an error will be raised
9449         if there's an error (bug#6397).
9451         * startup.el (initial-buffer-choice): Add `none' as a choice
9452         (bug#6234).
9454         * subr.el (add-hook): Clarify section about buffer-local hooks
9455         (bug#6218).
9457         * dired.el (dired-flagged): Clarify doc string (bug#6117).
9459 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
9461         * tabify.el (untabify): Preserve the current column so that point
9462         doesn't move (bug#6032).
9464 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9466         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9467         Rewrite to avoid awkward possessive "s" (bug#5986).
9469 2011-07-13  Glenn Morris  <rgm@gnu.org>
9471         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
9472         (dired-insert-directory): Give a message the first time
9473         if ls is found not to support --dired.
9475 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9477         * simple.el (toggle-truncate-lines): Clarify what is toggled
9478         (bug#5580).  Text by Drew Adams.
9480 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
9482         * simple.el (blink-matching-open): Make the error message from the
9483         last change less verbose.
9485 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
9487         * font-lock.el (font-lock-comment-face): Use the high contrast
9488         "yellow" color for font-lock-comment-face on low color terminals
9489         using a dark background color (bug#4221).
9491 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9493         * dired.el (dired-insert-set-properties): Make the doc string
9494         reflect what it does now (bug#5325).
9496         * simple.el (blink-matching-open): Say that we were unable to find
9497         the match within the limit, if we're limited (bug#5122).
9499         * international/mule-cmds.el (prefer-coding-system): Add an
9500         example (bug#4869).
9502         * progmodes/etags.el (tags-search): Document `file-list-form'
9503         (bug#4731).
9505 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
9507         * net/browse-url.el (browse-url-default-browser)
9508         (browse-url-browser-function): Make the default browser choice a
9509         bit more logical (bug#4300).  Also clean up the doc string.
9511 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
9513         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9514         binary endings (bug#4440).
9516 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9518         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9519         which can be pretty annoying (bug#8971).
9521         * jka-compr.el (jka-compr-verbose): New variable, and use
9522         throughout (bug#8971).
9524         * info.el (Info-find-file): Fall back on the installation
9525         directory if we can't find the info node anywhere else.
9527 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
9529         * vc/vc.el (vc-revert-file):
9530         Don't set file time-stamp in the past.  (Bug#5181)
9532 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9534         * files.el (after-find-file): Give a better error message when
9535         trying to find a symlink that points to a file that doesn't exist
9536         (bug#4398).
9538         * progmodes/cc-vars.el: Remove (probably) misleading comment
9539         (bug#4396).
9541 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
9543         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9545 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
9547         * mouse-sel.el: Hack restoring functionality, while keeping
9548         compatibility with 2010-07-03 changes to mouse selection.
9549         (mouse-sel-primary-overlay): New var.
9550         (mouse-sel-selection-alist): Use it.
9551         (mouse-sel-mode): Doc fix; remove points that are default features
9552         of mouse.el.
9554 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
9556         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9557         Fix previous fix (bug#2490).
9559 2011-07-12  Roland Winkler  <winkler@gnu.org>
9561         * textmodes/bibtex.el (bibtex-initialize):
9562         Use pop-to-buffer-same-window.
9563         (bibtex-search-entries): Fix interactive call.
9565 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9567         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9568         Fontise bytecomp Error lines more correctly (bug#2490).
9569         Fix suggested by Johan Bockgård.
9571         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9573         * dired-x.el (dired-guess-default): Use `delete-dups'.
9575 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
9577         * dired.el (dired-mark-prompt):
9578         * dired-aux.el (dired-read-shell-command): Doc fix.
9580 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9582         * mail/sendmail.el (sendmail-query-once):
9583         Use `customize-save-variable' unconditionally, now that it works under
9584         emacs -Q.
9586         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9588         * cus-edit.el (custom-file): Take an optional no-error variable.
9589         (customize-save-variable): Set the variable, and give a warning if
9590         running under "emacs -q".
9592 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
9594         * loadhist.el (unload-feature-special-hooks):
9595         Add `auto-coding-functions', `fill-nobreak-predicate' and
9596         `find-directory-functions' (bug#5327).
9598 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9600         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9602         * cus-edit.el (custom-guess-name-alist): -alist variables should
9603         use the `alist' type (bug#3120).  Suggested by Drew Adams.
9605         * printing.el: Add documentation to all the `pr-toggle-' commands.
9607 2011-07-11  Leo Liu  <sdl.web@gmail.com>
9609         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9610         backends where it makes sense (bug#2623).
9612 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9614         * dired-x.el (dired-guess-default): Remove duplicate shell command
9615         entries (bug#2028).
9616         (dired-guess-default): Fix grammar in doc string (bug#2028).
9617         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9619         * subr.el (remove-duplicates): New conveniency function.
9621 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9623         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9624         (bug#1526).
9626 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
9628         * window.el (display-buffer-normalize-default): Don't invert
9629         meaning of even-window-heights.  Reported by Eli Zaretskii
9630         <eliz@gnu.org>.
9632 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
9634         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9636 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
9638         * window.el (display-buffer): Fix arguments to
9639         display-buffer-reuse-window in last change.
9641         * faces.el (link): Use a less saturated blue on light backgrounds.
9643         * startup.el (fancy-startup-text, fancy-about-text)
9644         (fancy-startup-tail): Use font-lock faces, for background safety.
9646 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
9648         * emulation/viper-cmd.el (viper-change-state-to-vi):
9649         Limit triggering of abbrev expansion (Bug#9038).
9651 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
9653         * window.el (display-buffer-default-specifiers): Remove.
9654         (display-buffer-macro-specifiers): Remove default specifiers.
9655         (display-buffer-alist): Default to nil.
9656         (display-buffer-reuse-window): New optional argument other-window.
9657         (display-buffer-pop-up-window): Allow splitting internal
9658         windows.  Check whether a live window was created.
9659         (display-buffer-other-window-means-other-frame)
9660         (display-buffer-normalize-arguments): Rename to
9661         display-buffer-normalize-argument and rewrite.  Set the
9662         other-window specifier.
9663         (display-buffer-normalize-special): New function.
9664         (display-buffer-normalize-options): Rename to
9665         display-buffer-normalize-default and rewrite.
9666         (display-buffer-normalize-options-inhibit): Remove.
9667         (display-buffer-normalize-specifiers): Rewrite.
9668         (display-buffer): Process other-window specifier and call
9669         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
9670         more faithfully.
9671         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9672         (display-buffer-alist-set): Don't handle 'unset default values.
9673         (display-buffer-in-window, display-buffer-alist-set):
9674         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
9675         <tassilo@member.fsf.org>.
9677 2011-07-09  Leo Liu  <sdl.web@gmail.com>
9679         * register.el (insert-register): Restore accidental change on
9680         2011-06-26.  (Bug#9028)
9682 2011-07-09  Glenn Morris  <rgm@gnu.org>
9684         * subr.el (remq): Handle the empty list.  (Bug#9024)
9686 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
9688         * mail/sendmail.el (send-mail-function): No longer delay custom
9689         initialization.
9690         * custom.el (custom-initialize-delay): Doc fix.
9692 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9694         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9696 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
9698         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9699         human-friendly prompt.
9701 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9703         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9704         provided by a particular plugin.
9706 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9708         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9709         save customizations (with "emacs -Q"), just set the variable
9710         instead of erroring out.
9712         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9714 2011-07-08  Juri Linkov  <juri@jurta.org>
9716         * arc-mode.el (archive-zip-expunge, archive-zip-update)
9717         (archive-zip-update-case): Use 7z if found by `executable-find'.
9718         The order of searching the available programs is the same as in
9719         `archive-zip-extract' (bug#8968).
9721 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
9723         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9724         (menu-bar-options-menu): Tweak descriptions.
9726 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9728         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9729         menu items into verb phrases (bug#1421).  Also refill to fit under
9730         80 columns.
9732 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
9734         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9735         (Info-read-node-name): Doc fix (Bug#1084).
9737         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9738         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9739         (end-of-sexp, beginning-of-sexp)
9740         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9741         (forward-symbol, forward-same-syntax, word-at-point)
9742         (sentence-at-point): Doc fix (Bug#1144).
9744 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9746         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9747         should cover it (bug#1281).
9749         * cus-edit.el (custom-show): Mark as obsolete.
9751         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9752         negotiation fails, then possibly try again with a non-encrypted
9753         connection (bug#9017).
9755         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9756         be used.
9758 2011-07-07  Richard Stallman  <rms@gnu.org>
9760         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9761         property, and handle its changed format.
9762         Look for the correct line number.
9763         Use file's line contents (but not past first =) to find
9764         correct line in message.
9766 2011-07-07  Kenichi Handa  <handa@m17n.org>
9768         * international/characters.el (build-unicode-category-table):
9769         Delete it.
9770         (unicode-category-table): Set it by unicode-property-table-internal.
9772         * international/mule-cmds.el (char-code-property-alist): Move to
9773         to src/chartab.c.
9774         (get-char-code-property): Call unicode-property-table-internal to
9775         load a file.  Call get-unicode-property-internal where necessary.
9776         (put-char-code-property): Call unicode-property-table-internal to
9777         load a file.  Call put-unicode-property-internal where necessary.
9778         put-unicode-property-internal where necessary.
9779         (char-code-property-description):
9780         Call unicode-property-table-internal to load a file.
9782         * international/charprop.el:
9783         * international/uni-bidi.el:
9784         * international/uni-category.el:
9785         * international/uni-combining.el:
9786         * international/uni-comment.el:
9787         * international/uni-decimal.el:
9788         * international/uni-decomposition.el:
9789         * international/uni-digit.el:
9790         * international/uni-lowercase.el:
9791         * international/uni-mirrored.el:
9792         * international/uni-name.el:
9793         * international/uni-numeric.el:
9794         * international/uni-old-name.el:
9795         * international/uni-titlecase.el:
9796         * international/uni-uppercase.el: Regenerate.
9798         * loadup.el: Load international/charprop.el before
9799         international/characters.
9801 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
9803         * window.el (next-buffer, previous-buffer): Signal an error if
9804         called from a minibuffer window.
9806         * bindings.el: Revert 2011-07-04 change.
9808 2011-07-06  Richard Stallman  <rms@gnu.org>
9810         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9811         (rmail-mime-insert-bulk, rmail-mime-insert-text):
9812         Treat markers like ints.
9813         (rmail-mime-entity): Doc fix.
9815 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9817         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9818         defcustom again for backwards compatibility.
9820         * simple.el (shell-command-on-region): Fill.
9822         * dired-aux.el (dired-kill-line): Add a doc string.
9824         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9825         to "\\sw\\|\\s_" (bug#358).
9827         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9828         (dired-unmark-backward): Ditto.
9829         (dired-flag-backup-files): Ditto.
9831         * dired-x.el (dired-mark-sexp): Ditto.
9833 2011-07-06  Richard Stallman  <rms@gnu.org>
9835         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9836         (rmail-mime-entity): New arg TRUNCATED.
9837         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9838         New functions.
9839         (rmail-mime-save): Warn if entity is truncated.
9840         (rmail-mime-toggle-hidden): Likewise, for showing.
9841         (rmail-mime-process-multipart): Record when an entity is truncated.
9843         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9844         if ENTITY is a string.
9846 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9848         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9849         of faces when `M-C-x'-ing their definitions (bug#8378).
9850         Also clean up the code slightly.
9852         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9853         because that makes the colors go away.
9855         * mail/sendmail.el (send-mail-function): Change the default to
9856         `sendmail-query-once'.
9857         (sendmail-query-once): Add an autoload cookie.
9859         * net/network-stream.el (network-stream-open-starttls): Try using
9860         a plain connection even if the server offered STARTTLS, and we
9861         kinda wanted to use it, if Emacs doesn't have any STARTTLS
9862         capability.  This should make smtpmail.el work in slightly more
9863         configurations.
9865 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
9867         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9868         New defun.
9869         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9871 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
9873         * progmodes/sql.el: Version 3.0
9874         (sql-product-alist): Add product :completion-object,
9875         :completion-column, and :statement attributes.
9876         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9877         (sql-mode-syntax-table): Mark all punctuation.
9878         (sql-font-lock-keywords-builder): Temporarily remove fallback on
9879         ansi keywords.
9880         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9881         (sql-mode-oracle-font-lock-keywords): Improve.
9882         (sql-oracle-show-reserved-words): New function for development.
9883         (sql-product-font-lock): Simplify for source code buffers.
9884         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9885         New functions.
9886         (sql-highlight-product): Set product specific syntax table.
9887         (sql-mode-map): Add statement movement functions.
9888         (sql-ansi-statement-starters, sql-oracle-statement-starters):
9889         New variable.
9890         (sql-statement-regexp, sql-beginning-of-statement)
9891         (sql-end-of-statement, sql-signum): New functions.
9892         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9893         (sql-show-sqli-buffer): Bug fix.
9894         (sql-interactive-mode): Store connection data as buffer local.
9895         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
9896         with sql-interactive-mode.
9897         (sql-save-connection): Save buffer local settings.
9898         (sql-connection-menu-filter): Change menu entry name.
9899         (sql-product-interactive): Bug fix.
9900         (sql-preoutput-hold): New variable.
9901         (sql-interactive-remove-continuation-prompt): Bug fixes.
9902         (sql-debug-redirect): New variable.
9903         (sql-str-literal): New function.
9904         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9905         Redesign.
9906         (sql-oracle-save-settings, sql-oracle-restore-settings)
9907         (sql-oracle-list-all, sql-oracle-list-table): New functions.
9908         (sql-completion-object, sql-completion-column)
9909         (sql-completion-sqlbuf): New variables.
9910         (sql-build-completions-1, sql-build-completions)
9911         (sql-try-completion): New functions.
9912         (sql-read-table-name): Use them.
9913         (sql-contains-names): New buffer local variable.
9914         (sql-list-all, sql-list-table): Use it.
9915         (sql-oracle-completion-types): New variable.
9916         (sql-oracle-completion-object, sql-sqlite-completion-object)
9917         (sql-postgres-completion-object): New functions.
9919 2011-07-06  Glenn Morris  <rgm@gnu.org>
9921         * window.el (pop-to-buffer): Doc fix.
9923 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
9925         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9927 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
9929         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9931         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9933 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
9935         * button.el (button): Inherit from link face.  Suggested by Dan
9936         Nicolaescu.
9938 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9940         * progmodes/gdb-mi.el: Fit in 80 columns.
9941         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9942         switch-to-buffer.
9944         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9945         if imenu is simply not configured (bug#8941).
9947 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
9949         * allout.el (allout-post-undo-hook): New allout outline-change
9950         event hook to signal undo activity.
9951         (allout-post-command-business): Run allout-post-undo-hook if an
9952         undo just occurred.
9953         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9954         * allout-widgets.el (allout-widgets-after-undo-function):
9955         Ensure the integrity of the current item's decoration after it has been
9956         in the vicinity of an undo.
9957         (allout-widgets-mode): Include allout-widgets-after-undo-function
9958         on the new allout-post-undo-hook.
9960 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9962         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9963         Let define-derived-mode define it.
9964         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9965         cycles of abbrev-table inheritance (bug#8998).
9967 2011-07-05  Roland Winkler  <winkler@gnu.org>
9969         * textmodes/bibtex.el: Add support for biblatex.
9970         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9971         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9972         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9973         (bibtex-entry-alist, bibtex-field-alist): New variables.
9974         (bibtex-entry-field-alist): Obsolete alias for
9975         bibtex-BibTeX-entry-alist.
9976         (bibtex-entry-alist, bibtex-field-alist): New widgets.
9977         (bibtex-set-dialect): New command.
9978         (bibtex-entry-type, bibtex-entry-head)
9979         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9980         Bind via bibtex-set-dialect.
9981         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9982         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9983         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9984         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9985         Define via bibtex-set-dialect.
9986         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9987         Obey bibtex-no-opt-remove-re.
9988         (bibtex-vec-push, bibtex-vec-incr): New functions.
9989         (bibtex-format-entry, bibtex-field-list)
9990         (bibtex-print-help-message, bibtex-validate)
9991         (bibtex-search-entries): Use new format of bibtex-entry-alist.
9993 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9995         * progmodes/compile.el (compilation-goto-locus):
9996         * net/tramp-cmds.el (tramp-append-tramp-buffers):
9997         * bs.el (bs-cycle-next, bs-cycle-previous):
9998         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9999         * bindings.el (mode-line-other-buffer):
10000         * autoinsert.el (auto-insert):
10001         * arc-mode.el (archive-extract):
10002         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10004 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10006         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10007         Fix check of `emacs-lock-unlockable-modes'.
10008         Coerce true values of `emacs-lock--try-unlocking' to t.
10010 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10012         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10013         * emacs-lock.el: New file.
10015 2011-07-05  Julien Danjou  <julien@danjou.info>
10017         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10018         than `boundp' to check if face is set.
10020 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
10022         * register.el (registerv-make):
10023         * window.el (window-min-height): Fix typos in docstrings.
10025 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
10027         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10028         Update doc string.
10030 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
10032         * server.el (server-execute): Catch quit and call
10033         `server-return-error' to pass the error back to emacsclient and
10034         close the connection (bug#8942).
10036 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
10038         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10039         insecure exception for current topic.  Also note that auto-saves
10040         are handled differently.
10042         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10043         State variables for tracking auto-save inhibition situation.
10045         (allout-write-contents-hook-handler): Rename from
10046         'allout-write-file-hook-handler', and describe how it depends on
10047         write-contents-functions sensitivity to non-nil value to prevent
10048         file write.
10050         (allout-auto-save-hook-handler): Remove.  auto-save does not check
10051         this in individual buffers, only in the starting buffer, so this
10052         is not the right way for us to inhibit auto-save in a buffer
10053         according to its condition.
10055         (allout-mode): Use new allout-write-contents-hook-handler, and
10056         only with write-contents-functions.  Remove auto-save provisions -
10057         they're implemented elsewhere.
10059         (allout-before-change-handler): If undo is in progress, note that
10060         for attention of allout-post-command-business.
10062         (allout-post-command-business): If the command we're following was
10063         an undo, check for change in the status of encrypted items and
10064         adjust auto-save inhibitions accordingly.
10066         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10067         according to whether there are or aren't any plain-text topics
10068         pending encryption.
10070         (allout-inhibit-auto-save-info-for-decryption):
10071         Adjust buffer-saved-size and some allout state to inhibit auto-saves
10072         if there are plain-text topics pending encryption.
10074         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10075         buffer-saved-size and some allout state to not inhibit auto-saves
10076         if there are no longer any plain-text topics pending encryption.
10078         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10079         No longer provide for exemption of the current topic.
10081 2011-07-04  Juri Linkov  <juri@jurta.org>
10083         Add 7z operations to delete and save changed members (bug#8968).
10084         * arc-mode.el (archive-7z-expunge, archive-7z-update):
10085         New defcustoms.
10086         (archive-7z-write-file-member): New function.
10087         (archive-7z-summarize): Fix the number of dashes in the
10088         listing output.
10090 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10092         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10093         (bug#8958).
10095 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
10097         * bindings.el: Ignore next-buffer and previous-buffer in
10098         minibuffer-local-map.
10100         * font-lock.el (font-lock-builtin-face): Change light background
10101         color to dark slate blue (Bug#6693).
10103 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
10105         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10107 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10109         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10110         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10111         Add switch-to-buffer.
10113 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10115         * isearch.el (isearch-search-fun-function): Clarify further the
10116         meaning of the function returned.
10118 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
10120         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10122         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10123         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10124         Use it.
10125         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
10126         `tramp-default-remote-path' does not exist.
10127         (tramp-send-command-and-read): New optional argument NOERROR.
10128         (tramp-open-connection-setup-interactive-shell)
10129         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10130         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10131         (tramp-process-sentinel): Flush also process' connection property.
10132         (tramp-sh-handle-start-file-process): Do not set process
10133         sentinel.  It is done now ...
10134         (tramp-maybe-open-connection): ... here.  (Bug#8929)
10136 2011-07-04  MON KEY  <monkey@sandpframing.com>
10138         * play/animate.el (animate-string): Doc fixes and allow changing
10139         the buffer name (bug#5417).
10141 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10143         * play/animate.el (animation-buffer-name): Rename from *animate*.
10145 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
10147         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10148         This is simpler and helps future-proof the code.
10149         (timer-until): Use time-subtract and float-time.
10150         (timer--time-less-p): Use time-less-p.
10152 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
10154         * type-break.el (timep): Use the value of `float-time' to avoid a
10155         byte-compiler warning.
10157         * server.el (server-eval-and-print): Return any result, even nil.
10159 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
10161         * type-break.el: Accept time formats that the builtins accept.
10162         (timep, type-break-time-difference): Accept any format that
10163         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10164         This is simpler and helps future-proof the code.
10165         (type-break-time-difference): Round rather than ignoring
10166         subseconds components.
10168 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10170         * info.el (Info-apropos-matches): Make non-interactive, since it
10171         doesn't seem to do anything useful as a command (bug#8829).
10173 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
10175         * frame.el (frame-background-mode, frame-set-background-mode):
10176         Move from faces.el.
10177         (frame-default-terminal-background): New function.
10179         * custom.el (custom-push-theme): Don't record faces in `changed'
10180         theme; this doesn't work correctly for per-frame face settings.
10181         (disable-theme): Use face-set-after-frame-default to reset faces.
10182         (custom--frame-color-default): New function.
10184 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10186         * dired.el (dired-flagging-regexp): Remove unused variable
10187         (bug#8769).
10189 2011-03-29  Kevin Ryde  <user42@zip.com.au>
10191         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10192         `perl-Test2' extend to match possible "fail #N" rep count
10193         (bug#8377).
10195 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10197         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10198         `smtpmail-via-smtp' now returns the error instead of nil.
10200         * isearch.el (isearch-search-fun-function): Clarify the doc string
10201         (bug#8101).
10203 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
10205         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10206         unnecessary spaces (bug#8987).
10208 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10210         * net/network-stream.el (open-network-stream): Use the
10211         :end-of-capability command thoughout.
10213 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
10215         * net/network-stream.el (open-network-stream): Add the
10216         :end-of-capability command parameter, used by pop3.el.
10218 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10220         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10222         * fringe.el (fringe-query-style): Remove redundant text " (type ?
10223         for list)" (bug#6475).
10225         * files.el (file-expand-wildcards): Ignore non-readable
10226         sub-directories while trying to find matches instead of signaling
10227         an error (bug#6297).
10229         * man.el (Man-reference-regexp): Allow matching possible
10230         word-wrapped references (bug#6289).
10232         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10233         for consistency with the other vc buffers (bug#6197).
10234         (vc-checkin): Ditto.
10236         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10238         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10240 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10242         * custom.el (defcustom): Clarify that :set is only used in the
10243         Customize user interface (bug#6089).
10245         * progmodes/flymake.el (flymake-mode): If the buffer isn't
10246         associated with a file, refuse to run instead of erroring out
10247         (bug#6084).
10249         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10250         the doc string, since it appears that using `fill-column' always
10251         controls the width (bug#7845).
10253         * simple.el (shell-command-on-region): Say where the error output
10254         went if `shell-command-default-error-buffer' is set (bug#6857).
10256 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
10258         * allout.el (allout-yank-processing): Adjust cursor position for
10259         backwards-deleted space.
10261         (allout-rebullet-heading): Register changes with
10262         allout-exposure-changed-hook, so the modified topic is properly
10263         decorated.
10265 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10267         * minibuffer.el (completion-in-region): Document PREDICATE
10268         (bug#7136).
10270         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10271         of keyword/argument pairs (bug#6904).
10273         * replace.el (multi-occur):
10274         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10276 2011-07-02  Drew Adams  <drew.adams@oracle.com>
10278         * dired.el (dired-mark-if): Make the message about whether it's
10279         marking or unmarking clearer (bug#8523).
10281 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10283         * disp-table.el (display-table-print-array): New function.
10284         (describe-display-table): Use it to print the vectors more pretty
10285         (Bug#8859).
10287 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
10289         * window.el (window-state-get-1): Don't assign clone numbers.
10290         Add clone-of item to list of window parameters.
10291         (window-state-put-2): Don't process clone numbers.
10292         (display-buffer-alist): Fix doc-string.
10294 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10296         * subr.el (remq): Don't allocate if it's not needed.
10297         (keymap--menu-item-binding, keymap--menu-item-with-binding)
10298         (keymap--merge-bindings): New functions.
10299         (keymap-canonicalize): Use them to refine the canonicalization.
10300         * minibuffer.el (minibuffer-local-completion-map)
10301         (minibuffer-local-must-match-map): Move initialization from C.
10302         (minibuffer-local-filename-completion-map): Move initialization from C;
10303         don't inherit from anything here.
10304         (minibuffer-local-filename-must-match-map): Make obsolete.
10305         (completing-read-default): Use make-composed-keymap to combine
10306         minibuffer-local-filename-completion-map with either
10307         minibuffer-local-must-match-map or
10308         minibuffer-local-filename-completion-map.
10310 2011-07-01  Glenn Morris  <rgm@gnu.org>
10312         * type-break.el (type-break-time-sum): Use dolist.
10314         * textmodes/flyspell.el (flyspell-word-search-backward):
10315         Replace CL function.
10317 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10319         * mouse.el (mouse--strip-first-event): New function.
10320         (function-key-map): Use it to map fringe clicks to normal clicks
10321         by default.
10323         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10324         (vc-bzr-revision-completion-table): Add support for annotate and date.
10326         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10327         inherit from parent.
10329 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10331         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10332         (dired-show-file-type): Doc fixup (bug#8818).
10334         * dired.el (dired-mode): Fix up the doc string as suggested by
10335         Drew Adams (bug#8817).
10337         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10338         cookie, since the manual says that it should be possible to add
10339         this function to `find-file-hook' (bug#8709).
10341 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
10343         * progmodes/cfengine.el: Moved all cfengine3.el functionality
10344         here.  Noted Ted Zlatanov as the maintainer.
10345         (cfengine-common-settings, cfengine-common-syntax): New functions
10346         to set up common things between `cfengine-mode' and
10347         `cfengine3-mode'.
10348         (cfengine3-mode): New mode.
10349         (cfengine3-defuns cfengine3-defuns-regex
10350         (cfengine3-class-selector-regex cfengine3-category-regex)
10351         (cfengine3-vartypes cfengine3-font-lock-keywords)
10352         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10353         (cfengine3-indent-line): Add from cfengine3.el.
10355 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
10357         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10359         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10361 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
10363         * window.el (same-window-buffer-names, same-window-regexps)
10364         (same-window-p, special-display-frame-alist)
10365         (special-display-popup-frame, special-display-function)
10366         (special-display-buffer-names, special-display-regexps)
10367         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10368         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10369         (split-window-preferred-function, split-height-threshold)
10370         (split-width-threshold, even-window-heights)
10371         (display-buffer-mark-dedicated, window-splittable-p)
10372         (split-window-sensibly, window-safely-shrinkable-p):
10373         Un-obsolete.
10374         (display-buffer): Don't spread args with function specifier
10375         because special-display-popup-frame won't like it.
10377 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
10379         Time-stamp simplifications and fixes.
10380         These improve accuracy slightly, and future-proof the code
10381         against some potential changes to current-time format.
10383         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10384         by using time-since and float-time.
10386         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10387         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
10388         + NNN microseconds".
10390         * type-break.el (type-break-time-sum): Rewrite using time-add.
10392         * play/hanoi.el (hanoi-current-time-float): Remove.
10393         All uses replaced by float-time.
10395         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10396         This yields a more-accurate answer.
10397         (rng-time-to-float): Remove; no longer needed.
10399         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10401         * calendar/timeclock.el (timeclock-seconds-to-time):
10402         Defalias to seconds-to-time, since they're the same thing.
10404         * emacs-lisp/elp.el (elp-elapsed-time):
10405         * emacs-lisp/benchmark.el (benchmark-elapse):
10406         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10408 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10410         * window.el (bury-buffer): Don't iconify the only frame.
10411         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10412         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
10414 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
10416         * eshell/em-smart.el (eshell-smart-display-navigate-list):
10417         Add mouse-yank-primary.
10419 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
10421         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10423 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10425         * emacs-lisp/find-func.el (find-library--load-name): New fun.
10426         (find-library-name): Use it to find relative load names when provided
10427         absolute file name (bug#8803).
10429 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10431         * textmodes/flyspell.el (flyspell-word): Consider words that
10432         differ only in case as potential doublons (bug#5687).
10434         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10435         Remove two rather uninteresting debugging-like messages to make
10436         debbugs.el more silent.
10438         * comint.el (comint-password-prompt-regexp): Accept "Response" as
10439         a password-like phrase.
10441 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
10443         * progmodes/cc-guess.el: New file.
10445         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10447         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10448         derived from `c-basic-common-init'.
10450         * progmodes/cc-mode.el (top-level): Require cc-guess.
10451         (c-basic-common-init): Use `cc-choose-style-for-mode'.
10453 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
10455         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10457 2011-06-30  Alan Mackenzie  <acm@muc.de>
10459         * progmodes/cc-engine.el (c-guess-continued-construct):
10460         Correct the handling of template-args-cont, particularly for when font
10461         lock is disabled.  Name this case as "CASE G".
10463 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
10465         * allout.el (allout-yank-processing): Fix injection of extra space
10466         between bullet and non-whitespace character in first topic when
10467         pasting, ensuring that the actual spacing in the pasted topic
10468         following the bullet char is preserved.  This extra space was
10469         causing pasted encrypted topics to get a decrypted status even
10470         when the content was actually still encrypted.  Now the decryption
10471         status from before the paste is preserved.
10473         (allout-flag-region): Set all allout overlays so they evaporate
10474         when reduced to zero length (evanescent), to prevent overlay
10475         leakage.
10477 2011-06-30  Glenn Morris  <rgm@gnu.org>
10479         * w32-fns.el (w32-charset-info-alist): Declare.
10481         * find-dired.el (find-grep-options): Simplify.
10483         * term/ns-win.el (ns-set-resource): Declare.
10485         * ses.el (row, col): Declare dynamic variables honestly.
10487         * textmodes/reftex-parse.el (index-tags): Declare.
10489 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
10491         * cus-edit.el (customize-push-and-save): New function.
10493         * files.el (hack-local-variables-confirm): Use it.
10495         * custom.el (load-theme): New arg NO-CONFIRM.
10496         Use customize-push-and-save (Bug#8720).
10497         (custom-enabled-themes): Doc fix.
10499         * cus-theme.el (customize-create-theme)
10500         (custom-theme-merge-theme): Callers to load-theme changed.
10502 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10504         * thingatpt.el (thing-at-point-short-url-regexp): Require that
10505         short URLs have at least one dot in them (bug #7614).
10507         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10508         nil, because using a pty is apparently too slow (bug #895).
10510 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10512         * mail/sendmail.el (sendmail-query-once): New function.
10513         (sendmail-query-once-function): New variable.
10515 2011-06-29  Glenn Morris  <rgm@gnu.org>
10517         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10519         * ses.el (top-level): Require cl when compiling.
10520         (ses-set-localvars): Fix error statement.
10521         Call it at compile time to silence a storm of warnings.
10523 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
10525         * window.el (normalize-live-buffer): Rename to
10526         window-normalize-buffer.
10527         (normalize-live-frame): Rename to window-normalize-frame.
10528         (normalize-any-window): Rename to window-normalize-any-window.
10529         (normalize-live-window): Rename to window-normalize-live-window.
10530         (make-window-atom): Rename to window-make-atom.
10531         (window-resize-reset): Rename to window--resize-reset.
10532         (window-resize-reset-1): Rename to window--resize-reset-1.
10533         (resize-mini-window): Rename to window--resize-mini-window.
10534         (resize-subwindows-skip-p): Rename to
10535         window--resize-subwindows-skip-p.
10536         (resize-subwindows-normal): Rename to
10537         window--resize-subwindows-normal.
10538         (resize-subwindows): Rename to window--resize-subwindows.
10539         (resize-other-windows): Rename to window--resize-siblings.
10540         (resize-this-window): Rename to window--resize-this-window.
10541         (resize-root-window): Rename to window--resize-root-window.
10542         (resize-root-window-vertically): Rename to
10543         window--resize-root-window-vertically.
10544         (normalize-buffer-to-display): Rename to
10545         window-normalize-buffer-to-display.
10546         (normalize-buffer-to-switch-to): Rename to
10547         window-normalize-buffer-to-switch-to.
10548         Correspondingly update all callers of the functions listed
10549         above.
10550         (display-buffer-alist, display-buffer-normalize-arguments)
10551         (display-buffer-normalize-options, display-buffer)
10552         (display-buffer-alist-set): Use "function" instead of
10553         "fun-with-args".
10555 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
10557         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10558         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
10559         debbugs.gnu.org.  Mention acknowledgment email.
10561 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10563         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10564         buffer multibyteness, since it shouldn't matter.
10566 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
10568         * window.el (display-buffer-in-side-window): Handle dedicated
10569         windows as in display-buffer-reuse-window.
10570         (display-buffer-normalize-alist): Use value of override
10571         specifier.
10572         (display-buffer-normalize-specifiers): Use value of
10573         other-window-means-other-frame specifier.
10574         (display-buffer-alist): Rewrite some texts in widgets.
10575         (display-buffer): Spread arguments when calling function
10576         specified by fun-with-args.
10578 2011-06-28  Deniz Dogan  <deniz@dogan.se>
10580         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10581         Unnest `let'.
10583         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10584         selectors (Bug#5732).
10585         (css-proprietary-nmstart-re): Use `regexp-opt'.
10587 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
10589         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10590         (eshell-ls-date-format): New defcustom.
10591         (eshell-ls-file): Use it.
10593 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10595         * help-fns.el (describe-variable): Fix message for terminal-local vars.
10597 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
10599         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10600         (ange-ftp-make-tmp-name): New arg.
10601         (ange-ftp-file-local-copy): Use it.
10603 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
10605         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10606         no-conversion (Bug#8870).
10608 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
10610         * window.el (window-right, window-left, window-child)
10611         (window-child-count, window-last-child)
10612         (window-iso-combination-p, walk-window-tree-1)
10613         (window-atom-check-1, window-tree-1, delete-window)
10614         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10615         new naming conventions - window-vchild, window-hchild,
10616         window-next and window-prev are now called window-top-child,
10617         window-left-child, window-next-sibling and window-prev-sibling
10618         respectively.
10619         (resize-window-reset): Rename to window-resize-reset.
10620         (resize-window-reset-1): Rename to window-resize-reset-1.
10621         (resize-window): Rename to window-resize.
10622         (window-min-height, window-min-width)
10623         (resize-mini-window, resize-this-window, resize-root-window)
10624         (resize-root-window-vertically, adjust-window-trailing-edge)
10625         (enlarge-window, shrink-window, maximize-window)
10626         (minimize-window, delete-window, quit-restore-window)
10627         (split-window, balance-windows, balance-windows-area-adjust)
10628         (balance-windows-area, window-state-put-2)
10629         (display-buffer-even-window-sizes, display-buffer-set-height)
10630         (display-buffer-set-width, set-window-text-height)
10631         (fit-window-to-buffer): Rename all "resize-window" prefixed
10632         calls to use the "window-resize" prefix convention.
10633         (display-buffer-alist): Fix symbol for label specifier.
10634         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10635         corresponding specifier.
10636         Reported by Juanma Barranquero <lekktu@gmail.com>.
10638 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10640         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10641         convention.
10642         (ses-call-printer): Does not pass an empty string to formatter when the
10643         cell is empty to keep from barking printer Calc math-format-value.
10645 2011-06-27  Richard Stallman  <rms@gnu.org>
10647         * battery.el (battery-mode-line-limit): New variable.
10648         (battery-update): Handle it.
10650         * mail/rmailmm.el (rmail-mime-process-multipart):
10651         Handle truncated messages.
10653 2011-06-27  Glenn Morris  <rgm@gnu.org>
10655         * progmodes/flymake.el (flymake-err-line-patterns):
10656         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
10658 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10660         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10661         (ses--clean-!, ses--clean-_): New functions.
10662         (ses-range): Add configurability of readout order, and conversion
10663         to Calc vector.
10665         * ses.el (ses-repair-cell-reference-all): New function.
10666         (ses-cell-symbol): Set macro as safe, so that it can be used in
10667         formulas.
10669         * ses.el: Update cycle detection algorithm.
10670         (ses-localvars): Add ses--Dijkstra-attempt-nb and
10671         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10672         (ses-set-localvars): New function.
10673         (ses-make-cell): Add property-list as a cell element.
10674         (ses-cell-property-get-fun, ses-cell-property-get)
10675         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10676         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10677         New functions.
10678         (ses-cell-property-set, ses-cell-property-pop)
10679         (ses-cell-property-get-handle): New macro.
10680         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10681         New aliases, used for code readability.
10682         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10683         cycle detection.
10684         (ses-self-reference-early-detection): New defcustom.
10685         (ses-formula-references): Robustify against self-referring cells.
10686         (ses-mode): Use ses-set-localvars.
10687         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10688         before lauching the update processing.
10689         (ses-initialize-Dijkstra-attempt): New function.
10690         (ses-recalculate-cell): Update for cycle detection based on
10691         Dijkstra algorithm.
10693         * ses.el: Fix commenting and indenting convention.
10695 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10697         * bs.el (bs-cycle-next): Complete last change.
10699 2011-06-27  Drew Adams  <drew.adams@oracle.com>
10701         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10703 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10705         * net/network-stream.el (network-stream-open-starttls):
10706         Don't re-get capabilities unless we've reestablished connection.
10707         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10709         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10710         to binary to possibly avoid line encoding issues on Windows (among
10711         other things).
10713 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10715         * net/network-stream.el (open-network-stream): Return an :error
10716         saying what the problem was, if possible.
10718         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10719         server.
10721         * net/network-stream.el (network-stream-open-starttls): If we
10722         wanted to use STARTTLS, and the server offered it, but we weren't
10723         able to because we had no STARTTLS support, then close the connection.
10724         (open-network-stream): Return an :error element, if present.
10726 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
10728         * hl-line.el (hl-line-sticky-flag): Doc fix.
10729         (global-hl-line-sticky-flag): New option (Bug#8323).
10730         (global-hl-line-highlight): Obey it.
10732         * vc/vc.el (vc-revert-show-diff): Default to t.
10734 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
10736         * allout-widgets.el (allout-widgets-post-command-business):
10737         Stop decorating intermediate isearch matches.  They're not being
10738         undecorated when an isearch is continued past, and isearch
10739         automatically collapses them.  This leads to "widget leaks", where
10740         decorated items accumulate in collapsed areas.  Lines with lots of
10741         hidden widgets can slow down cursor travel, substantially.
10742         Too much complicated machinery would be needed to ensure undecoration,
10743         so we're doing without this nicety.
10745         (allout-widgets-tally-string): Don't try to do a hash-table-count
10746         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
10747         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10748         *Messages* when allout-widgets-maintain-tally is t.
10750 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
10752         * window.el (display-buffer-normalize-argument): Rename to
10753         display-buffer-normalize-arguments.  Handle special meaning of
10754         LABEL argument.  Respect special-display-function when popping up
10755         a new frame.  Fix code searching for a window showing the buffer
10756         on another frame.
10757         (display-buffer-normalize-specifiers):
10758         Call display-buffer-normalize-arguments.
10759         (display-buffer-in-window): Don't undedicate the window if its
10760         buffer remains the same.
10761         Reported by Drew Adams <drew.adams@oracle.com>.
10762         (display-buffer-alist): Add choice for same-window macro
10763         specfier.
10764         (display-buffer): Mention special meaning of LABEL argument in
10765         doc-string.  Fix quoting.  Don't pop up a new frame even as
10766         fallback.
10768 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
10770         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10771         avoid deleting the current window in some cases (bug#8911).
10773 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
10775         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10776         (Bug#8934)
10778 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10780         * net/network-stream.el (network-stream-open-starttls):
10781         Use built-in TLS support if `gnutls-available-p' is true.
10782         (network-stream-open-tls): Ditto.
10784 2011-06-26  Leo Liu  <sdl.web@gmail.com>
10786         * register.el (registerv): New struct.
10787         (registerv-make): New function.
10788         (jump-to-register, describe-register-1, insert-register):
10789         Support the jump-func, print-func and insert-func slot of a registerv
10790         struct.  (Bug#8415)
10792 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
10794         * vc/vc.el (vc-revert-show-diff): New defcustom.
10795         (vc-diff-internal): New arg specifying diff buffer.
10796         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
10797         reuse an existing *vc-diff* buffer (Bug#8927).
10799         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10801 2011-06-26  Glenn Morris  <rgm@gnu.org>
10803         * progmodes/f90.el (f90-critical-indent): New option.
10804         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10805         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10806         (f90-mode): Doc fix.
10807         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10808         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10809         (f90-beginning-of-block, f90-next-block, f90-indent-region)
10810         (f90-match-end): Handle block, critical.
10812 2011-06-25  Glenn Morris  <rgm@gnu.org>
10814         * calendar/diary-lib.el (diary-included-files): Doc fix.
10815         (diary-include-files): New function, extracted from
10816         diary-include-other-diary-files and diary-mark-included-diary-files.
10817         (diary-include-other-diary-files, diary-mark-included-diary-files):
10818         Just call diary-include-files.
10819         (diary-mark-entries): Reset diary-included-files on first call.
10821         * calendar/diary-lib.el (diary-mark-entries)
10822         (diary-mark-included-diary-files):
10823         Visit included diary-files in temp buffers.
10825         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10826         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10827         (f90-start-block-re, f90-imenu-generic-expression)
10828         (f90-looking-at-program-block-start, f90-no-block-limit):
10829         Add support for submodules.
10831         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10832         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10834 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
10836         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10837         buffer-file-type before setting its value, to avoid disastrous
10838         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
10840 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
10842         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10844         * ses.el (ses-unload-function):
10845         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10847         * proced.el (proced-unload-function):
10848         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10850 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
10852         * server.el (server-create-window-system-frame): Add parameters arg.
10853         (server-process-filter): Doc fix.  Handle frame-parameters.
10855 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
10857         Fix bug#8730, bug#8781.
10859         * loadhist.el (unload--set-major-mode): New function.
10860         (unload-feature): Use it.
10862         * progmodes/python.el (python-after-info-look): Add autoload cookie.
10863         (python-unload-function): New function.
10865 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10867         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10869 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
10871         * net/browse-url.el (browse-url-firefox-program): Add icecat to
10872         the candidates list.
10874 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
10876         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10878 2011-06-23  Richard Stallman  <rms@gnu.org>
10880         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10881         (rmail-variables): Set next-error-move-function.
10882         (rmail-what-message): Take argument POS.
10883         (rmail-next-error-move): New function.
10885 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10887         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10888         messages for adjacent non-terminals.
10890 2011-06-23  Richard Stallman  <rms@gnu.org>
10892         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10893         (rmail-show-message-1): Preserve buffer modified flag.
10894         (rmail-start-mail): Don't specify use of rmail-mail-return;
10895         that's done by mail-bury now.
10896         (rmail-mail-return): Handle arg NEWBUF.
10898 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
10900         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10901         SIZE is a number.
10903 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
10905         * window.el (get-lru-window, get-mru-window)
10906         (get-largest-window): Never return a minibuffer window.
10907         (display-buffer-pop-up-window): Fix a bug that could lead to
10908         reusing the minibuffer window.
10909         (display-buffer): Pass original specifier argument to
10910         display-buffer-function instead of the normalized one.
10911         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10913 2011-06-22  Leo Liu  <sdl.web@gmail.com>
10915         * minibuffer.el (completing-read-function)
10916         (completing-read-default): Move from minibuf.c
10918 2011-06-22  Richard Stallman  <rms@gnu.org>
10920         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10921         to Rmail even if not started by a special Rmail command.
10923         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10924         Copy the buffer currently showing just one message.
10926 2011-06-22  Roland Winkler  <winkler@gnu.org>
10928         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10929         (bibtex-clean-entry): First delete the old key so that a
10930         customized algorithm for generating the new key does not get
10931         confused by the old key.
10932         (bibtex-url): Obey regexp of first step.
10933         (bibtex-search-entries): Do not use add-to-list with local
10934         list-var.
10936 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10938         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10939         stored a user name, then query for the password first, instead of
10940         waiting for SMTP to give an error message and the trying again.
10942 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
10944         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10945         BUFFER in call-process.
10947 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10949         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10950         QUIT twice.
10951         (smtpmail-try-auth-methods): Require user name and password from
10952         auth-source.
10954 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
10956         * window.el (display-buffer-default-specifiers)
10957         (display-buffer-alist): Remove entries for pop-up-frame-alist.
10958         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10959         (split-window): Normalize SIDE argument (Bug#8916).
10961         * frame.el (pop-up-frame-alist, pop-up-frame-function)
10962         (special-display-frame-alist, special-display-popup-frame):
10963         Remove duplicate declarations.  These are now in window.el.
10965 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10967         * mail/smtpmail.el (smtpmail-via-smtp):
10968         Set :use-starttls-if-possible so that we always use STARTTLS if the
10969         server supports it.  SMTP servers that support STARTTLS commonly
10970         require it.
10972         * net/network-stream.el (network-stream-open-starttls): Support
10973         upgrading to STARTTLS always, even if we don't have built-in support.
10974         (open-network-stream): Add the :always-query-capabilities keyword.
10976         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10977         upgrades with `open-network-stream', and rely solely on
10978         auth-source for all credentials.  Big changes throughout the file,
10979         but in particular:
10980         (smtpmail-auth-credentials): Remove.
10981         (smtpmail-starttls-credentials): Remove.
10982         (smtpmail-via-smtp): Check for servers saying they want AUTH after
10983         MAIL FROM, too.
10985         * net/network-stream.el (network-stream-open-starttls):
10986         Provide support for client certificates both for external and built-in
10987         STARTTLS.
10988         (auth-source): Require.
10989         (open-network-stream): Document the :client-certificate keyword.
10990         (network-stream-certificate): Change cert-cert to cert and
10991         cert-key to key.
10993 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
10995         * net/tramp-cache.el (top): Don't load the persistency file when
10996         "emacs -Q" has been called.
10998 2011-06-21  Tim Harper  <timcharper@gmail.com>
11000         * term/ns-win.el (ns-initialize-window-system):
11001         Set application-specific `ApplePressAndHoldEnabled' system
11002         resource to NO as it is not yet supported by the NS port.
11004 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
11006         * misc.el (list-dynamic-libraries--refresh): Compute header here...
11007         (list-dynamic-libraries): ...not here.
11009 2011-06-21  Leo Liu  <sdl.web@gmail.com>
11011         * subr.el (sha1): Implement sha1 using secure-hash.
11013 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
11015         * window.el (display-buffer-alist): In default value do not
11016         enforce searching a window on any but the selected frame.
11017         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11018         (display-buffer-select-window): Remove function.
11019         (display-buffer-in-window): When a window on another frame gets
11020         reused, do not select it any more but just raise its frame if
11021         necessary (Bug#8851) and (Bug#8856).
11022         (display-buffer-normalize-options): Handle pop-up-frames related
11023         options more faithfully.
11024         (pop-to-buffer): Don't rely on `display-buffer' selecting the
11025         window if it is on another frame.
11026         (display-buffer-alist, display-buffer-default-specifiers):
11027         Don't make new frame unsplittable by default.
11028         (display-buffer-normalize-argument): Fix doc-string typo and use
11029         'same-frame-other-window instead of 'other-window when associating
11030         with display-buffer-macro-specifiers.
11032 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
11034         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11035         New functions.
11036         (5x5-mode-map, 5x5-mode-menu): Bind them.
11037         (5x5-draw-grid): Tweak the solver's rendering.
11039 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11041         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11042         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11044 2011-06-21  Drew Adams  <drew.adams@oracle.com>
11046         * menu-bar.el: Use function variable instead of switch-to-buffer.
11047         (menu-bar-select-buffer-function): New variable.
11048         (menu-bar-update-buffers): Use it (bug#8876).
11050 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11052         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11053         variable's status.
11055 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
11057         * x-dnd.el (x-dnd-version-from-flags)
11058         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11059         and long as number (Bug#8899).
11060         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11062 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11064         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11065         (completion-try-completion, completion-all-completions): Compute the
11066         metadata argument if it's missing; make it optional (bug#8795).
11068         * wid-edit.el: Use lex-bind and move towards completion-at-point.
11069         (widget-complete): Use new :completion-function property.
11070         (widget-completions-at-point): New function.
11071         (default): Use :completion-function instead of :complete.
11072         (widget-default-completions): Rename from widget-default-complete;
11073         Rewrite.
11074         (widget-string-complete, widget-file-complete, widget-color-complete):
11075         Remove functions.
11076         (file, symbol, function, variable, coding-system, color):
11077         * international/mule-cmds.el (default-input-method, charset)
11078         (language-info-custom-alist):
11079         * cus-edit.el (face): Use new property :completions.
11081         * progmodes/pascal.el (pascal-completions-at-point): New function.
11082         (pascal-mode): Use it.
11083         (pascal-mode-map): Use completion-at-point.
11084         (pascal-toggle-completions): Make obsolete.
11085         (pascal-complete-word, pascal-show-completions):
11086         * progmodes/octave-mod.el (octave-complete-symbol):
11087         Redefine as obsolete alias.
11088         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11089         Signal absence of completion info for old Octave,
11090         (inferior-octave-complete): Redefine as obsolete alias.
11091         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11092         (meta-completions-at-point): Rename from meta-complete-symbol and
11093         adapt it for use on completion-at-point-functions.
11094         (meta-common-mode): Use it.
11095         (meta-looking-at-backward, meta-match-buffer): Remove.
11096         (meta-complete-symbol): Redefine as obsolete alias.
11097         (meta-common-mode-map): Use completion-at-point.
11098         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11099         (makefile-mode-map): Use completion-at-point.
11100         (makefile-completions-at-point): Rename from makefile-complete and
11101         adapt it for use on completion-at-point-functions.
11102         (makefile-mode): Use it.
11103         (makefile-complete): Redefine as obsolete alias.
11105 2011-06-20  Deniz Dogan  <deniz@dogan.se>
11107         * net/rcirc.el: Delete trailing whitespaces once and for all.
11109 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
11111         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11113 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
11115         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11117         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11119 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
11121         * window.el (display-buffer-other-window-means-other-frame):
11122         Call display-buffer-normalize-alist.
11123         (display-buffer-normalize-specifiers-1): Rename to
11124         display-buffer-normalize-argument.  New argument other-frame.
11125         Rewrite.
11126         (display-buffer-normalize-specifiers-2): Rename to
11127         display-buffer-normalize-options.
11128         (display-buffer-normalize-alist-1): New function.
11129         (display-buffer-normalize-specifiers-3): Rename to
11130         display-buffer-normalize-alist.
11131         Call display-buffer-normalize-alist-1.
11132         (display-buffer-normalize-options-inhibit): New variable.
11133         (display-buffer-normalize-specifiers): Rewrite calling
11134         display-buffer-normalize-alist,
11135         display-buffer-normalize-argument, and
11136         display-buffer-normalize-options.  Don't call the latter if
11137         display-buffer-normalize-options-inhibit is non-nil.
11138         (frame-auto-delete): New option.
11139         (window-deletable-p): Use frame-auto-delete.
11140         (window-list-no-nils, window-state-ignored-parameters)
11141         (window-state-get-1, window-state-get, window-state-put-list)
11142         (window-state-put-1, window-state-put-2, window-state-put):
11143         New functions.
11144         (display-buffer-normalize-options): Move special-display-p group
11145         after pop-up-frame group (Bug#8851) and (Bug#8856).
11147 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
11149         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11150         groups (Bug#8776).
11151         (rx-submatch-n): New function.
11152         (rx): Document it.
11154         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11155         (Bug#8768).
11157         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11159         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11161         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11162         anytime existing face settings are present (Bug#8889).
11164         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11165         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11166         Remove unused argument.
11168 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
11170         * window.el (display-buffer-default-specifiers):
11171         Remove pop-up-frame.  Add pop-up-window-min-height,
11172         pop-up-window-min-width, and another reuse-window specifier
11173         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
11174         (display-buffer-normalize-specifiers-2):
11175         Handle split-height-threshold and split-width-threshold also when
11176         pop-up-windows is unset.  Add a reuse-window specifier for the
11177         case popping up a new window fails.
11178         (special-display-popup-frame): Remove double quoting.
11179         (display-buffer-normalize-specifiers-1): Fix thinko.
11181 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11183         * shell.el (shell-completion-vars): Set pcomplete-termination-string
11184         according to comint-completion-addsuffix.
11186         * pcomplete.el: Convert to lexical binding and fix bug#8819.
11187         (pcomplete-suffix-list): Mark as obsolete.
11188         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11189         pcomplete-seen in the closure.
11190         (pcomplete-comint-setup): Setup completion-at-point as well.
11191         (pcomplete--entries): New function.
11192         (pcomplete--env-regexp): New var.
11193         (pcomplete-entries): Rewrite to work with partial-completion and
11194         without relying on pcomplete-suffix-list.
11195         (pcomplete-pare-list): Remove, unused.
11197 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
11199         * window.el (display-buffer-alist): Set pop-up-window-min-height
11200         and pop-up-window-min-width in default value.  Reported by
11201         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
11202         other-window-means-other-frame.
11203         (display-buffer-macro-specifiers): Comment out entry for
11204         other-window specifier.
11205         (display-buffer-other-window-means-other-frame): New function.
11206         (display-buffer-normalize-specifiers-1): New arguments
11207         buffer-name and label.  Treat other-window case specially.
11208         (display-buffer-normalize-specifiers-2): Treat other-window case
11209         specially.
11210         (display-buffer-normalize-specifiers-3): New function.
11211         (display-buffer-normalize-specifiers):
11212         Call display-buffer-normalize-specifiers-3.
11214 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
11216         * window.el (same-window-p): Fix two typos introduced when
11217         adding with-no-warnings.
11218         (display-buffer-normalize-specifiers-1): Don't check
11219         pop-up-frames for 'unset initialization.
11220         (display-buffer-normalize-specifiers-2): Major rewrite using
11221         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11222         (pop-up-frames, display-buffer-reuse-frames)
11223         (display-buffer-mark-dedicated): Don't initialize to 'unset.
11224         Suggested by David Engster <deng@randomsample.de>.
11225         (even-window-heights): Initialize to 'unset.
11226         (display-buffer-alist-set): Handle new 'unset initializations.
11227         (display-buffer-macro-specifiers): Don't pop up a new frame in the
11228         other window case.
11230 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
11232         * window.el (display-buffer-normalize-specifiers-1):
11233         Respect current value of pop-up-frames for most reasonable values of
11234         second argument of display-buffer (Bug#8865).
11235         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11236         (switch-to-buffer-other-window-same-frame)
11237         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
11238         Adams (Bug#8875).
11239         (display-buffer): Don't check noninteractive when calling
11240         display-buffer-pop-up-frame.
11241         (display-buffer-pop-up-frame): Never pop up a frame in
11242         noninteractive mode (Bug#8857).
11243         (enlarge-window, shrink-window): Don't report an error when the
11244         window can't be resized as requested (Bug#8862).
11246 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11248         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11250         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11252         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11254 2011-06-15  Alan Mackenzie  <acm@muc.de>
11256         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11257         for declarators, disable knr checking to speed up for normal files.
11258         2: Refactor, replacing a sequence of nested if forms by a cond form.
11260 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11262         * net/network-stream.el (open-network-stream): Add the keyword
11263         :always-query-capabilities for the case where you want to force a
11264         `plain' network connection, but the protocol still requires the
11265         capabilitiy command (i.e., SMTP and EHLO).
11267         * subr.el (process-live-p): Rename from `process-alive-p' for
11268         consistency with other `-live-p' functions.
11270 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11272         * window.el (same-window-buffer-names, same-window-regexps)
11273         (special-display-frame-alist, special-display-popup-frame)
11274         (special-display-function, special-display-buffer-names)
11275         (special-display-regexps, pop-up-frame-alist)
11276         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11277         (pop-up-windows, split-window-preferred-function)
11278         (split-height-threshold, split-width-threshold, even-window-heights)
11279         (display-buffer-mark-dedicated): Don't encourage the use of
11280         display-buffer-alist from Elisp code.
11282 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
11284         * progmodes/python.el (python-mode): Derive from prog-mode.
11285         * progmodes/ps-mode.el (ps-mode):
11286         * progmodes/mixal-mode.el (mixal-mode):
11287         * progmodes/cfengine.el (cfengine-mode):
11288         * progmodes/ld-script.el (ld-script-mode): Likewise.
11290 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
11292         * window.el (display-buffer-alist): Trim default value to avoid
11293         popping up a new frame (Bug#8857) or reusing an arbitrary window
11294         on another frame.
11295         (display-buffer): Do not fall back on popping up a new frame in
11296         batch mode (Bug#8857).
11298 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
11300         * cus-theme.el (describe-theme-1): Use custom-theme-p.
11301         (custom-theme-summary): New function.
11302         (customize-themes): Use it.
11304 2011-06-13  Glenn Morris  <rgm@gnu.org>
11306         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11308 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
11310         * help.el (help-window): Remove variable.
11311         (help-window-point-marker, temp-buffer-max-height)
11312         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11313         (help-print-return-message): Don't set help-window.
11314         (resize-temp-buffer-window): Rewrite cod eand doc-string.
11315         (help-window-setup-finish): Remove.
11316         (help-window-display-message, help-window-setup)
11317         (with-help-window): Major rewrite based on new
11318         display-buffer-window variable.
11320         * help-mode.el (help-mode-finish): Remove help-window related
11321         code.
11323         * view.el (view-exits-all-viewing-windows): Remove reference to
11324         view-return-to-alist in doc-string.
11325         (view-return-to-alist): Make obsolete.
11326         (view-buffer): Call pop-to-buffer-same-window and remove
11327         undo-window code.
11328         (view-buffer-other-window): Call pop-to-buffer-other-window and
11329         simplify code.  Ignore second argument.
11330         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11331         simplify code.  Ignore second argument.
11332         (view-return-to-alist-update): Make obsolete.
11333         (view-mode-enter): Rename second argument to QUIT-RESTORE.
11334         Rewrite using quit-restore window parameters.
11335         (view-mode-exit): Rename second argument to EXIT-ONLY.
11336         Rewrite using quit-restore-window.
11337         (View-exit, View-exit-and-edit, View-leave, View-quit)
11338         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11339         appropriate arguments.
11340         (view-end-message): Use quit-restore window parameter.
11342         * window.el (display-buffer-function): Rewrite doc-string.
11343         (display-buffer-window, display-buffer-alist): New variables.
11344         (display-buffer-split-specifiers)
11345         (display-buffer-side-specifiers)
11346         (display-buffer-macro-specifiers): New constants.
11347         (display-buffer-even-window-sizes, display-buffer-set-height)
11348         (display-buffer-set-width, display-buffer-select-window)
11349         (display-buffer-in-window, display-buffer-reuse-window)
11350         (display-buffer-split-window-1, display-buffer-split-window)
11351         (display-buffer-split-atom-window, display-buffer-pop-up-window)
11352         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11353         (display-buffer-in-side-window, normalize-buffer-to-display)
11354         (display-buffer-normalize-specifiers-1)
11355         (display-buffer-normalize-specifiers-2)
11356         (display-buffer-normalize-specifiers, display-buffer-frame):
11357         New functions.
11358         (display-buffer): Major rewrite.
11359         (display-buffer-other-window, display-buffer-other-frame)
11360         (pop-to-buffer, switch-to-buffer-other-window)
11361         (switch-to-buffer-other-frame): Rewrite.
11362         (display-buffer-same-window, display-buffer-same-frame)
11363         (display-buffer-same-frame-other-window)
11364         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11365         (pop-to-buffer-other-window)
11366         (pop-to-buffer-same-frame-other-window)
11367         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11368         (switch-to-buffer-other-window-same-frame): New functions.
11369         (same-window-p, special-display-p): Rewrite disabling warnings.
11370         Make obsolete.
11371         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11372         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11373         Make obsolete
11374         (same-window-buffer-names, same-window-regexps)
11375         (special-display-frame-alist, special-display-popup-frame)
11376         (special-display-function, special-display-buffer-names)
11377         (special-display-regexps, pop-up-frame-alist)
11378         (pop-up-frame-function, split-window-preferred-function)
11379         (split-height-threshold, split-width-threshold)
11380         (even-window-heights): Make obsolete.
11382 2011-06-12  Glenn Morris  <rgm@gnu.org>
11384         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
11385         Misc simplifications.
11387 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
11389         * window.el (window-safely-shrinkable-p): Restore function which
11390         was inadvertently removed in change from 2011-06-11.  Declare as
11391         obsolete.
11393         * calendar/calendar.el (calendar-generate-window):
11394         Use window-iso-combined-p instead of combination of one-window-p and
11395         window-safely-shrinkable-p.
11397 2011-06-12  Glenn Morris  <rgm@gnu.org>
11399         * progmodes/fortran.el (fortran-mode-syntax-table):
11400         * progmodes/f90.el (f90-mode-syntax-table):
11401         Set % to punctuation.  (Bug#8820)
11402         (f90-find-tag-default): Remove, no longer needed.
11404 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
11406         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11408 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
11410         * image.el (image-animated-p): Return animation delay in seconds.
11411         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11412         (image-animate-timeout): Remove DELAY argument.  Don't assume
11413         every subimage has the same delay; get it from image-animated-p.
11414         (image-animate): Caller changed.
11416 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
11418         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11419         to ignored backtrace functions.
11421 2011-06-11  Glenn Morris  <rgm@gnu.org>
11423         * calendar/appt.el (appt-disp-window-function): Doc fix.
11424         (appt-check): Handle overlapping appointments.  (Bug#8337)
11426 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
11428         * window.el (window-tree-1, window-tree): New functions, moving
11429         the latter to window.el.
11430         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11431         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11432         (bw-refresh-edges): Remove.
11433         (balance-windows-1, balance-windows-2): New functions.
11434         (balance-windows): Rewrite in terms of window tree functions,
11435         balance-windows-1 and balance-windows-2.
11436         (bw-adjust-window): Remove.
11437         (balance-windows-area-adjust): New function with functionality of
11438         bw-adjust-window but using resize-window.
11439         (set-window-text-height): Rewrite doc-string.
11440         Use normalize-live-window and resize-window.
11441         (enlarge-window-horizontally, shrink-window-horizontally):
11442         Rename argument to DELTA.
11443         (window-buffer-height): New function.
11444         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11445         Rewrite using new window resize routines.
11446         (kill-buffer-and-window, mouse-autoselect-window-select):
11447         Use ignore-errors instead of condition-case.
11448         (quit-window): Call delete-frame instead of delete-windows-on
11449         for the only buffer on frame.
11451 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
11453         * loadup.el (top-level): Load window before files for the sake
11454         of replace-buffer-in-windows.
11456         * files.el (read-buffer-to-switch)
11457         (switch-to-buffer-other-window)
11458         (switch-to-buffer-other-frame, display-buffer-other-frame):
11459         Move to window.el.
11461         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11462         (previous-buffer): Move to window.el.
11464         * bindings.el (unbury-buffer): Move to window.el.
11466         * window.el (delete-other-windows-vertically): Move after
11467         definition of delete-other-windows.
11468         (other-window, delete-windows-on, replace-buffer-in-windows):
11469         Move here from window.c.
11470         (record-window-buffer, unrecord-window-buffer)
11471         (set-window-buffer-start-and-point, switch-to-prev-buffer)
11472         (switch-to-next-buffer): New functions.
11473         (get-next-valid-buffer, last-buffer, next-buffer): Move here
11474         from simple.el.  Call switch-to-next-buffer.
11475         (previous-buffer): Move here from simple.el.
11476         Call switch-to-prev-buffer.
11477         (bury-buffer): Move here from buffer.c.  Switch to previous
11478         buffer when window cannot be deleted.
11479         (unbury-buffer): Move here from bindings.el.
11480         (ctl-x-map): Move binding for other-window from window.c to
11481         here.
11482         (read-buffer-to-switch, switch-to-buffer-other-window)
11483         (switch-to-buffer-other-frame): Move here from files.el.
11484         (normalize-buffer-to-switch-to): New functions.
11485         (switch-to-buffer): Move here from buffer.c.
11486         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11488 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
11490         * window.el (window-min-height, window-min-width): Move here
11491         from window.c.  Add defcustoms and rewrite doc-strings.
11492         (resize-mini-window, resize-window): New functions.
11493         (adjust-window-trailing-edge, enlarge-window, shrink-window):
11494         Move here from window.c.
11495         (maximize-window, minimize-window): New functions.
11496         (delete-window, delete-other-windows, split-window): Move here
11497         from window.c.
11498         (window-split-min-size): New function.
11499         (split-window-keep-point): Mention split-window-above-each-other
11500         instead of split-window-vertically.
11501         (split-window-above-each-other, split-window-vertically):
11502         Rename split-window-vertically to split-window-above-each-other
11503         and provide defalias for old definition.
11504         (split-window-side-by-side, split-window-horizontally):
11505         Rename split-window-horizontally to split-window-side-by-side
11506         and provide defalias for the old definition.
11507         (ctl-x-map): Move bindings for delete-window,
11508         delete-other-windows and enlarge-window here from window.c.
11509         Replace bindings for split-window-vertically and
11510         split-window-horizontally by bindings for
11511         split-window-above-each-other and split-window-side-by-side.
11513         * cus-start.el (all): Remove entries for window-min-height and
11514         window-min-width.  Add entries for window-splits and
11515         window-nest.
11517 2011-06-09  Glenn Morris  <rgm@gnu.org>
11519         * calendar/appt.el (appt-mode-line): New function.
11520         (appt-check, appt-disp-window): Use it.
11522         * files.el (hack-one-local-variable-eval-safep):
11523         Allow minor-modes with explicit +/-1 arguments.
11525 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
11527         * term/xterm.el (xterm): Add defgroup.
11528         (xterm-extra-capabilities): Add defcustom to supply known xterm
11529         capabilities, skip querying them, or query them (default).
11530         (terminal-init-xterm): Use it.
11531         (terminal-init-xterm-modify-other-keys): New function to set up
11532         modifyOtherKeys support to simplify `terminal-init-xterm'.
11534 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
11536         * window.el (resize-window-reset, resize-window-reset-1)
11537         (resize-subwindows-skip-p, resize-subwindows-normal)
11538         (resize-subwindows, resize-other-windows, resize-this-window)
11539         (resize-root-window, resize-root-window-vertically)
11540         (window-deletable-p, window-or-subwindow-p)
11541         (frame-root-window-p): New functions.
11543 2011-06-09  Glenn Morris  <rgm@gnu.org>
11545         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11546         (ange-ftp-get-files): Use it.
11548 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
11550         * mail/sendmail.el (mail-recover-1, mail-recover):
11551         * files.el (recover-file, recover-session):
11552         Handle dired-listing-switches not being just a single short option.
11554 2011-06-09  Glenn Morris  <rgm@gnu.org>
11556         * calendar/appt.el (appt-display-message, appt-disp-window):
11557         Handle lists of appointments.
11559 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
11561         * window.el (one-window-p): Move down in code.
11562         Rewrite doc-string.
11563         (window-current-scroll-bars): Rewrite doc-string.
11564         Normalize live window argument.
11565         (walk-windows, get-window-with-predicate, count-windows):
11566         Rewrite doc-string.  Use window-list-1.
11567         (window-in-direction-2, window-in-direction, get-mru-window):
11568         New functions.
11570 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
11572         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11573         Doc fix (Bug#8713).
11575 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
11577         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11579 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
11581         * loadhist.el (unload-feature-special-hooks):
11582         Add `comint-output-filter-functions'.
11584 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
11586         * calendar/appt.el (appt-check): Move some initializations into the let.
11588 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
11590         * window.el (window-height): Defalias to window-total-height.
11591         (window-width): Defalias to window-body-width.
11593 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
11595         * image-mode.el (image-toggle-animation): New command.
11596         (image-mode-map): Bind it to RET.
11597         (image-mode): Update message.
11598         (image-toggle-display-image): Avoid a spurious cache flush.
11599         (image-transform-rotation): Doc fix.
11600         (image-transform-properties): Return quickly in the normal case.
11601         (image-animate-loop): Rename from image-animate-max-time.
11603         * image.el (image-animate-max-time): Move to image-mode.el.
11604         (create-animated-image): Remove unnecessary function.
11605         (image-animate): Rename from image-animate-start.  New arg.
11606         (image-animate-stop): Remove; just use image-animate-timer.
11607         (image-animate-timer): Use car-safe.
11608         (image-animate-timeout): Rename argument.
11610 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
11612         * window.el (get-lru-window, get-largest-window): Move here from
11613         window.c.  Rename first argument to ALL-FRAMES.
11614         Rephrase doc-strings.
11615         (get-buffer-window-list): Rewrite using window-list-1.
11616         Rephrase doc-string.
11617         (window-safe-min-height, window-safe-min-width): New constants.
11618         (window-size-ignore, window-min-size, window-min-size-1)
11619         (window-sizable, window-sizable-p, window-size-fixed-1)
11620         (window-size-fixed-p, window-min-delta-1, window-min-delta)
11621         (window-max-delta-1, window-max-delta, window-resizable)
11622         (window-resizable-p, window-total-height, window-total-width)
11623         (window-body-width): New functions.
11624         (window-full-height-p, window-full-width-p): Rewrite using
11625         window-total-size.
11626         (window-body-height): Rewrite using window-body-size.
11628 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
11630         * window.el (window-right, window-left, window-child)
11631         (window-child-count, window-last-child, window-any-p)
11632         (normalize-live-buffer, normalize-live-frame)
11633         (normalize-any-window, normalize-live-window)
11634         (window-iso-combination-p, window-iso-combined-p)
11635         (window-iso-combinations)
11636         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11637         (windows-with-parameter, window-with-parameter)
11638         (window-atom-root, make-window-atom, window-atom-check-1)
11639         (window-atom-check, window-side-check, window-check):
11640         New functions.
11641         (ignore-window-parameters, window-sides, window-sides-vertical)
11642         (window-sides-slots): New variables.
11643         (window-size-fixed): Move down in code.  Minor doc-string fix.
11645 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
11647         * comint.el (comint-dynamic-complete-as-filename)
11648         (comint-dynamic-complete-filename): Correctly call
11649         completion-in-region.
11651 2011-06-05  Deniz Dogan  <deniz@dogan.se>
11653         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11654         in last change.
11656 2011-06-05  Deniz Dogan  <deniz@dogan.se>
11658         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11659         (rcirc): Use it to prompt for encryption.
11661 2011-06-05  Roland Winkler  <winkler@gnu.org>
11663         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11664         (bibtex-search-entries): New command bound to C-c C-a.
11665         (bibtex-display-entries): New function.
11667 2011-06-05  Roland Winkler  <winkler@gnu.org>
11669         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11670         (bibtex-insert-kill): After yanking insert newline if necessary.
11671         (bibtex-initialize): Call bibtex-string-files-init only once.
11672         (bibtex-mode): Do not call easy-menu-add.
11673         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11674         (bibtex-yank): Set arg properly if nil.
11676 2011-06-05  Roland Winkler  <winkler@gnu.org>
11678         * textmodes/bibtex.el (bibtex-search-entry-globally):
11679         New variable.
11680         (bibtex-search-entry): Use it.
11682 2011-06-05  Roland Winkler  <winkler@gnu.org>
11684         * textmodes/bibtex.el (bibtex-entry-format): New option
11685         sort-fields.
11686         (bibtex-format-entry, bibtex-reformat): Honor this option.
11687         (bibtex-parse-entry): Return fields in proper order.
11689 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
11691         * doc-view.el (doc-view-remove-if): Move computation of result out
11692         of `dolist' to silence misleading lexical-binding warning.
11694 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
11696         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11697         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11699 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
11701         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11702         "SunOS 5.10".
11704 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
11706         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11707         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11708         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11709         (tramp-parse-putty):
11710         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11711         (tramp-completion-function-alist-ssh)
11712         (tramp-completion-function-alist-telnet)
11713         (tramp-completion-function-alist-su)
11714         (tramp-completion-function-alist-putty): Set `tramp-autoload'
11715         cookie.
11717         * net/tramp-ftp.el:
11718         * net/tramp-sh.el:
11719         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11720         load "tramp.el" `tramp-set-completion-function'.
11722 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11724         * shell.el: Require and use pcomplete.
11725         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11726         (shell-completion-vars): Set pcomplete-default-completion-function.
11728 2011-06-04  Deniz Dogan  <deniz@dogan.se>
11730         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11731         `memq' (Bug#8799).
11733 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11735         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11737 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
11739         * bs.el (bs--mark-unmark, bs--nth-wrapper):
11740         * mpc.el (mpc-select-extend, mpc-songpointer-context):
11741         * vc/log-view.el (log-view-beginning-of-defun):
11742         * vc/smerge-mode.el (smerge-apply-resolution-patch)
11743         (smerge-refine-forward, smerge-refine-chopup-region):
11744         Silence warning for unused `dotimes' counter variables.
11746 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11748         * net/tramp.el (tramp-with-progress-reporter): Rename from
11749         with-progress-reporter.  Use `declare'.
11750         * net/tramp-smb.el:
11751         * net/tramp-sh.el:
11752         * net/tramp-gvfs.el: Update all uses.
11754 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
11756         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11757         buffer isn't killed before making it current.
11759 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11761         Silence various byte-compiler warnings.
11762         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11763         `access-type' and new obsolescence format.
11764         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11765         new format.
11766         (byte-compile-check-variable): New `access-type' argument.
11767         Only warn if the access-type is obsolete.
11768         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11769         (byte-compile-variable-set): Adjust callers.
11770         * help-fns.el (describe-variable): Adjust to new obsolescence format.
11771         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11772         setting it as obsolete.
11773         * simple.el (minibuffer-completing-symbol):
11774         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11775         access as obsolete.
11776         * minibuffer.el (minibuffer-completing-file-name): Don't make it
11777         obsolete yet.
11778         * international/quail.el (quail-mouse-choose-completion): Remove unused
11779         code referring to obsolete var.
11780         (quail-choose-completion-string): Remove.
11781         * server.el (server-clients-with, server-kill-buffer-query-function)
11782         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11783         * proced.el (proced-send-signal):
11784         * emacs-lisp/lisp.el (lisp-complete-symbol):
11785         Replace completion-annotate-function with completion-extra-properties.
11787 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11789         * simple.el (goto-line): Use read-number.
11790         (overriding-map-is-bound): Remove.
11791         (saved-overriding-map): Change default.
11792         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11793         Take the map as argument.
11794         (universal-argument, negative-argument, digit-argument): Use it.
11795         (restore-overriding-map): Adjust.
11796         (do-auto-fill): Use fill-forward-paragraph.
11797         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11799         * minibuffer.el (minibuffer-inactive-mode-map): New var.
11800         (minibuffer-inactive-mode): New major mode.
11801         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11802         the *Messages* buffer" hack.
11803         (mouse-popup-menubar): Don't burp if the event is a normal key.
11805         Miscellaneous tweaks.
11806         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11807         lexical scoping as in subr.el's dolist and dotimes.
11808         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11809         Silence compiler warning.
11810         * thingatpt.el (forward-whitespace): Trivial coding style fix.
11811         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11812         * international/ccl.el (ccl-compile): Trivial simplification.
11813         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11814         * emacs-lisp/testcover.el (testcover-end): Remove spurious
11815         `printflag' argument.
11816         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11817         Purecopy the whole obsolescence data.
11819 2011-06-01  Leo Liu  <sdl.web@gmail.com>
11821         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11822         improve doc-string as suggested by Marco Pessotto
11823         <melmothx@gmail.com>.
11824         (rcirc-print): Fix last change.
11826 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11828         * minibuffer.el (complete-with-action): Return nil for the metadata and
11829         boundaries of non-functional tables.
11830         (completion-table-dynamic): Return nil for the metadata.
11831         (completion-table-with-terminator): Add default case, using
11832         complete-with-action.
11833         (completion--metadata): New function.
11834         (completion-all-sorted-completions, minibuffer-completion-help): Use it
11835         to try and avoid pathological performance problems.
11836         (completion--embedded-envvar-table): Return `category' metadata.
11838 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11840         * subr.el (process-alive-p): New tiny convenience function.
11842 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11844         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11845         content but also its previous major mode.
11847 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
11849         * emacs-lisp/debug.el (debug): Restore the previous content of the
11850         *Backtrace* buffer when we exit with C-M-c.
11852 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11854         * minibuffer.el: Add metadata method to completion tables.
11855         (completion-category-overrides): New defcustom.
11856         (completion-metadata, completion--field-metadata)
11857         (completion-metadata-get, completion--styles)
11858         (completion--cycle-threshold): New functions.
11859         (completion-try-completion, completion-all-completions):
11860         Add `metadata' argument to choose completion-styles.
11861         (completion--do-completion): Use metadata to choose cycling.
11862         (completion-all-sorted-completions): Use metadata for sorting.
11863         Remove :completion-cycle-penalty which is not needed any more.
11864         (completion--try-word-completion): Add `metadata' argument.
11865         (minibuffer-completion-help): Check metadata for annotation function
11866         and sorting.
11867         (completion-file-name-table): Return `category' metadata.
11868         (minibuffer-completing-file-name): Make obsolete.
11869         * simple.el (minibuffer-completing-symbol): Make obsolete.
11870         * icomplete.el (icomplete-completions): Pass new `metadata' param to
11871         completion-try-completion.
11873 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11875         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11877 2011-05-30  Leo Liu  <sdl.web@gmail.com>
11879         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11880         (rcirc-print): Decode all incoming messages (bug#8744).
11881         (rcirc-decode-coding-system): Allow value nil for automatic coding
11882         system detection.
11884 2011-06-01  Glenn Morris  <rgm@gnu.org>
11886         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11888 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
11890         * image.el (image-animate-max-time): Allow nil and t values.
11891         Default to nil.
11892         (create-animated-image): Doc fix.
11893         (image-animate-start): Remove second arg; just use
11894         image-animate-max-time.
11895         (image-animate-timeout): Doc fix.  Args changed.
11897         * image-mode.el (image-toggle-display-image): Ensure that the
11898         image spec passed to the animate timer is the same object as in
11899         the buffer's display property (Bug#6981).
11900         (image-transform-properties): Doc fix.
11902         * image.el (image-animate-max-time): Default to nil.
11904 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
11906         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11907         entire buffer list (Bug#8184).
11909 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
11911         * image.el (imagemagick-types-inhibit)
11912         (imagemagick-register-types): Doc fix.
11914 2011-05-29  Deniz Dogan  <deniz@dogan.se>
11916         * net/rcirc.el (rcirc): Use the user's stored encryption method by
11917         default.
11919 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
11921         * select.el: Don't perform clipboard-manager saving in hooks;
11922         leave the hooks empty.
11924 2011-05-28  Leo Liu  <sdl.web@gmail.com>
11926         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11927         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
11928         (occur-edit-mode): New major mode (Bug#8463).
11929         (occur-after-change-function): New function.
11930         (occur-engine): Give Occur tags a read-only property.
11932 2011-05-28  Kevin Ryde  <user42@zip.com.au>
11934         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11936 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
11938         * bindings.el (help-echo): Make the initial non-indicator dash
11939         empty on graphical terminals (Bug#7295).
11941         * files.el (auto-mode-alist): Move config rule after the
11942         in-stripping one (Bug#8547).
11944         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11946         * startup.el (normal-splash-screen): Remove gratuitous mode-line
11947         setting (Bug#8740).
11949 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
11951         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11952         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11953         (Bug#8539).
11955 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
11957         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11959 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
11961         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11962         (hs-hide-block-at-point, hs-find-block-beginning)
11963         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11964         (Bug#8279).
11966 2011-05-28  Glenn Morris  <rgm@gnu.org>
11968         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
11970 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
11972         * help-fns.el (describe-function-1): If the function is a derived
11973         major mode, print the parent mode.
11975         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11976         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11978 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11980         * minibuffer.el (completion--capf-wrapper): Check applicability before
11981         returning non-nil for non-exclusive completion data.
11982         * progmodes/etags.el (tags-completion-at-point-function):
11983         * info-look.el (info-lookup-completions-at-point): Mark as
11984         non-exclusive.
11985         (info-complete): Adjust accordingly.
11987         * info-look.el: Convert to lexical-binding and completion-at-point.
11988         (info-lookup-completions-at-point): New function.
11989         (info-complete): Use it and completion-in-region.
11991 2011-05-28  Drew Adams  <drew.adams@oracle.com>
11993         * isearch.el: Let M-e start with point at the first mismatched char.
11994         (isearch-fail-pos): New function.
11995         (isearch-edit-string): Use it.
11997 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
11999         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12001 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
12003         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
12004         traversal functions for avl-trees.
12005         (avl-tree--stack): New struct.
12006         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12007         (avl-tree-enter): Add optional `updatefun' arg.
12008         (avl-tree--do-enter): Add optional `updatefun' arg.
12009         Change return value.
12010         (avl-tree-delete): Add optional `test' and `nilflag' args.
12011         (avl-tree--do-delete): Add `test' and `nilflag' args.
12012         Change return value.
12013         (avl-tree-member): Add optional `nilflag'
12014         (avl-tree-member-p): New function.
12015         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12016         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12017         (avl-tree-stack-empty-p): New functions.
12019         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12020         avl-tree--del-balance1 and make it work both ways.
12021         (avl-tree--del-balance2): Remove.
12022         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12023         make it work both ways.
12024         (avl-tree--enter-balance2): Remove.
12025         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12026         New macros.
12027         (avl-tree--mapc, avl-tree-map): Add direction argument.
12029 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
12031         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12033 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
12035         * select.el: Support clipboard managers with built-in function
12036         x-clipboard-manager-save, via delete-frame-functions and
12037         kill-emacs-hook.
12038         (xselect-convert-to-targets): Add MULTIPLE target to list.
12039         (xselect-convert-to-save-targets): New function.
12041 2011-05-27  Kenichi Handa  <handa@m17n.org>
12043         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12044         let-binding rfc2047-encode-encoded-words to nil.
12046 2011-05-27  Glenn Morris  <rgm@gnu.org>
12048         * mail/emacsbug.el: Don't require url-util.
12050         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
12052         * files.el (set-auto-mode):
12053         Also respect mode: entries at the end of the file.  (Bug#8586)
12055 2011-05-26  Glenn Morris  <rgm@gnu.org>
12057         * files.el (hack-local-variables-prop-line, hack-local-variables):
12058         Downcase mode names, as seems to be traditional.
12059         (hack-local-variables, hack-local-variables-apply): Doc fixes.
12061         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12062         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
12064 2011-05-25  Julien Danjou  <julien@danjou.info>
12066         * textmodes/rst.el (rst-define-level-faces): Do not define face
12067         symbol if it is already defined.
12069 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12071         * play/5x5.el (5x5-new-game, 5x5-randomize):
12072         Reset 5x5-solver-output to nil when a new grid is cast.
12073         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12074         these debugging traces, as defmacro breaks the compiled code.
12076 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
12078         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12080 2011-05-24  Leo Liu  <sdl.web@gmail.com>
12082         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12083         (vc-bzr-sha1): Adapt.
12085         * sha1.el: Remove.  Function `sha1' is now builtin.
12087         * bindings.el: Provide sha1 feature.
12089 2011-05-24  Kenichi Handa  <handa@m17n.org>
12091         * mail/sendmail.el: Require `rfc2047'.
12092         (mail-insert-from-field): Do not perform RFC2047 encoding.
12093         (mail-encode-header): New function.
12094         (sendmail-send-it): Set buffer-file-coding-system of the work
12095         buffer to the return value of select-message-coding-system.
12096         Call mail-encode-header.
12098         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12100 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
12102         * mail/supercite.el (sc-default-cite-frame):
12103         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12105 2011-05-24  Glenn Morris  <rgm@gnu.org>
12107         * progmodes/python.el (brm-menu): Declare.
12109         * emulation/viper.el (viper-set-hooks): Declare.
12111         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12112         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12113         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12114         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12115         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12116         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12118 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12120         Add an :exit-function for completion-at-point.
12122         * minibuffer.el (completion--done): New fun.
12123         (completion--do-completion): Use it.  New arg `expect-exact'.
12124         (minibuffer-complete, minibuffer-complete-word): Don't output message,
12125         since completion--do-completion does it for us now.
12126         (minibuffer-force-complete): Use completion--done and
12127         completion--replace.  Handle sole-completion case with more care.
12128         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12129         (completion-extra-properties): New var.
12130         (completion-annotate-function): Make obsolete.
12131         (minibuffer-completion-help): Adjust accordingly.
12132         Use completion-list-insert-choice-function.
12133         (completion-at-point, completion-help-at-point):
12134         Bind completion-extra-properties.
12135         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12136         * simple.el (completion-list-insert-choice-function): New var.
12137         (completion-setup-function): Preserve it.
12138         (choose-completion): Pay attention to it, shuffle the code a bit.
12139         (choose-completion-string): New arg `insert-function'.
12141         * textmodes/bibtex.el: Convert to lexical binding.
12142         (bibtex-mode-map): Use completion-at-point.
12143         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12144         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12145         (bibtex-complete): Define as obsolete alias.
12146         (bibtex-complete-internal): Remove.
12147         (bibtex-format-entry): Remove unused sub-group in regexp.
12148         * shell.el (shell--command-completion-data)
12149         (shell-environment-variable-completion):
12150         * pcomplete.el (pcomplete-completions-at-point):
12151         * comint.el (comint--complete-file-name-data): Use :exit-function
12152         instead of completion-table-with-terminator so it also works for
12153         choose-completion.
12155 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12157         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12159         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12160         (bug#8710).
12162         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12164 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
12166         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12167         customization variable and implement: If non-nil, auto-fill will
12168         be inhibited while on topic's header line.
12170 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12172         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12173         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
12174         always have a solution in grid size = 5 cases.
12175         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12176         (5x5-solver-output, 5x5-log-buffer): New vars.
12177         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12178         Make these variables buffer local to achieve 5x5 multi-session-ness.
12179         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12180         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12181         (5x5-solve-suggest): New funs.
12182         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12183         randomize a grid so that we ensure that there is always a solution.
12184         (5x5-make-random-grid): Allow other movement than flipping.
12186 2011-05-23  Kevin Ryde  <user42@zip.com.au>
12188         * emacs-lisp/advice.el (ad-read-advised-function):
12189         Use `function-called-at-point' as the default, if it has
12190         advice and passes PREDICATE.
12192 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12194         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12195         byte-compile-lambda if it's actually a lambda.
12197         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12198         Fix function quoting.  Use backquote better.
12200 2011-05-22  Yuanle Song  <sylecn@gmail.com>
12202         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12203         matching (Bug#8516).
12205 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
12207         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12208         different face (Bug#8178).
12210 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
12212         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12213         defface (Bug#8144).
12215 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12217         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12218         funcall as well (bug#8712).  Warn when performing those conversions.
12219         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12221         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12223 2011-05-22  Glenn Morris  <rgm@gnu.org>
12225         * files.el (hack-local-variables-prop-line): Small simplifications.
12226         (hack-local-variables, hack-local-variables-prop-line):
12227         If MODE-ONLY, return the mode, rather than just `t'.
12229 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12231         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12233 2011-05-21  Glenn Morris  <rgm@gnu.org>
12235         * files.el (hack-local-variables-prop-line, hack-local-variables):
12236         If only interested in the mode, don't bother doing the other stuff.
12238         * image-mode.el (image-after-revert-hook):
12239         Redraw all frames on which the image is visible.  (Bug#8567)
12241         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
12243         * wid-edit.el (widget-checklist-match-inline):
12244         Fix 2011-04-19 change.  (Bug#8649)
12246 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12248         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12249         Also allow singlespace after single-letter capitals followed by a dot.
12251         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12252         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12254 2011-05-20  Nix  <nix@esperi.org.uk>
12256         * files.el (basic-save-buffer-2):
12257         Fix handling of break-hardlink-on-save with non-existent files.
12259 2011-05-19  Deniz Dogan  <deniz@dogan.se>
12261         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12262         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12264 2011-05-19  Glenn Morris  <rgm@gnu.org>
12266         * progmodes/f90.el (f90-type-def-re):
12267         Handle "type, bind(c)".  (Bug#8691)
12269         * emacs-lisp/autoload.el (batch-update-autoloads):
12270         Set autoload-excludes by parsing loadup.el rather than Makefiles.
12272 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
12274         * net/tramp.el (tramp-process-actions): Set "first-password-request"
12275         property for the correct connection in case of multihops.
12277 2011-05-18  Glenn Morris  <rgm@gnu.org>
12279         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12280         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12282         Rationalize calendar handling of day and month abbrev-arrays.
12283         * calendar/calendar.el (calendar-customized-p): New function.
12284         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12285         (calendar-day-name-array, calendar-month-name-array): Doc fix.
12286         Add :set function.
12287         (calendar-abbrev-length, calendar-day-abbrev-array)
12288         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12289         (calendar-day-abbrev-array, calendar-month-abbrev-array):
12290         Elements may no longer be nil.
12291         (calendar-day-name, calendar-month-name):
12292         Update for changed nature of abbrev arrays.
12293         * calendar/diary-lib.el (diary-name-pattern):
12294         Update for changed nature of abbrev arrays.
12295         (diary-mark-entries-1): Update calendar-make-alist calls.
12296         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12297         * calendar/cal-html.el (cal-html-day-abbrev-array):
12298         Simply inherit from calendar-day-abbrev-array.
12300 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12302         * progmodes/grep.el (grep-mode): Disable default
12303         compilation-directory-matcher setting (bug#8684).
12305 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
12307         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12308         instead of "head" and "tail".  There were problems with SunOS 5.9,
12309         and it performs better.
12311 2011-05-17  Glenn Morris  <rgm@gnu.org>
12313         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12315         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12316         Replace obsolete function.
12318         * shell.el (pcomplete-parse-arguments-function): Declare.
12320         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12321         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12322         (appt-check): Doc fixes.
12323         (appt-disp-window-function, appt-delete-window-function):
12324         Remove needless special case in custom :type.
12325         (appt-display-count): Default to 0, not nil.
12326         (appt-check): Reset appt-display-count to 0, not nil.
12328 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
12330         * progmodes/python.el (python-font-lock-keywords):
12331         Add the Python 3.X keyword "nonlocal" (bug#8639).
12333 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12335         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12337 2011-05-16  Kevin Ryde  <user42@zip.com.au>
12339         * info-look.el (makefile-automake-mode): New setups, looking in
12340         automake manual, then makefile-mode.
12341         (makefile-mode): Remove automake manual, have it just in
12342         makefile-automake-mode since there's various things different or
12343         not relevant to plain make.
12344         (makefile-mode): Remove "other-modes" non-existent automake-mode,
12345         believe a hypothetical automake-mode would go to makefile-mode,
12346         not the other way around.
12348 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
12350         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12351         hunk-end tags (Bug#8672).
12353         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12354         vc-annotate-show-diff-revision-at-line (Bug#8671).
12356 2011-05-14  Glenn Morris  <rgm@gnu.org>
12358         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12359         in the middle of an existing one with multiple authors.  (Bug#8645)
12360         (change-log-font-lock-keywords): Also handle multiple author lines
12361         with leading tabs.  (Bug#8644)
12363         * calendar/appt.el (appt-check): Rename some local variables.
12364         Some simplification/reordering.
12366         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12367         (feedmail-sendmail-f-doesnt-sell-me-out)
12368         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12369         (feedmail-debug-sit-for, feedmail-queue-express-hook)
12370         (feedmail-queue-runner-message-sender): Set :version.
12371         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12372         (bbdb-dwim-net-address, vm-mail): Declare.
12373         (feedmail-binmail-gnulinuxish-template):
12374         Rename from feedmail-binmail-linuxish-template.
12375         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12376         Use insert-buffer-substring.
12378 2011-05-14  Bill Carpenter  <bill@carpenter.org>
12380         * mail/feedmail.el (feedmail-patch-level): Increase.
12381         (feedmail-debug): New custom group.
12382         (feedmail-confirm-outgoing-timeout)
12383         (feedmail-sendmail-f-doesnt-sell-me-out)
12384         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12385         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12386         (feedmail-sender-line, feedmail-from-line)
12387         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12388         (feedmail-spray-this-address)
12389         (feedmail-spray-address-fiddle-plex-list)
12390         (feedmail-queue-use-send-time-for-date)
12391         (feedmail-queue-use-send-time-for-message-id)
12392         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12393         (feedmail-buffer-eating-function):
12394         Doc fixes.
12395         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12396         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12397         (feedmail-message-action-scroll-down): New functions.
12398         (feedmail-queue-directory, feedmail-queue-draft-directory):
12399         Use expand-file-name.
12400         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12401         Remove C-v help entry.
12402         (feedmail-queue-buffer-file-name): New variable.
12403         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12404         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12405         (feedmail-message-action-send-strong, feedmail-message-action-edit)
12406         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12407         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12408         (feedmail-message-action-toggle-spray)
12409         (feedmail-run-the-queue-no-prompts)
12410         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12411         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12412         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12413         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12414         (feedmail-envelope-deducer, feedmail-fiddle-from)
12415         (feedmail-fiddle-sender, feedmail-default-date-generator)
12416         (feedmail-fiddle-date, feedmail-fiddle-message-id)
12417         (feedmail-fiddle-spray-address)
12418         (feedmail-fiddle-list-of-spray-fiddle-plexes)
12419         (feedmail-fiddle-list-of-fiddle-plexes)
12420         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12421         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12422         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12423         Change default.  Doc fix.
12424         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12425         (feedmail-binmail-linuxish-template): New constant.
12426         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
12427         Respect feedmail-sendmail-f-doesnt-sell-me-out.
12428         (feedmail-send-it): Add debug call.
12429         Use feedmail-queue-buffer-file-name, and
12430         feedmail-send-it-immediately-wrapper.
12431         (feedmail-message-action-send): Add debug call.
12432         Use feedmail-send-it-immediately-wrapper.
12433         (feedmail-queue-express-to-queue): Add debug call.
12434         Run feedmail-queue-express-hook.
12435         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
12436         (feedmail-message-action-help-blat):
12437         Rename from feedmail-queue-send-edit-prompt-help-first.
12438         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
12439         Check line-endings.  Handle errors better.
12440         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12441         Doc fix.  Add debug call.
12442         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
12443         Use feedmail-queue-send-edit-prompt-inner.
12444         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12445         (feedmail-queue-send-edit-prompt-inner): New function, extracted
12446         from feedmail-queue-send-edit-prompt.
12447         (feedmail-queue-send-edit-prompt-help)
12448         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12449         (feedmail-tidy-up-slug): Add debug call.
12450         Respect feedmail-queue-slug-suspect-regexp.
12451         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12452         (feedmail-dump-message-to-queue): Add debug call.
12453         Expand queue-directory.
12454         (feedmail-dump-message-to-queue): Change message slightly.
12455         Use feedmail-say-chatter.
12456         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
12457         (feedmail-send-it-immediately-wrapper): New function.
12458         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
12459         Insert empty string rather than newline.  Handle full-frame case.
12460         Use catch/throw.  Use feedmail-say-chatter.
12461         (feedmail-fiddle-from): Try mail-host-address.
12462         (feedmail-default-message-id-generator): Doc fix.
12463         Bind system-time-locale.  Handle missing end.
12464         (feedmail-fiddle-x-mailer): Add debug call.
12465         Handle feedmail-x-mailer-line being nil.
12466         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12467         Add debug call.  Use buffer-substring-no-properties.
12468         (feedmail-say-debug, feedmail-say-chatter): New functions.
12469         (feedmail-find-eoh): Give an explicit error.
12471 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
12473         * net/newst-treeview.el (newsticker-treeview-face): Change default
12474         family from helvetica to sans.
12475         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12476         etc/images/newsticker.
12478         * net/newst-reader.el (newsticker-feed-face): Change default
12479         family from helvetica to sans.
12481         * net/newst-plainview.el (newsticker-new-item-face)
12482         (newsticker-old-item-face, newsticker-immortal-item-face)
12483         (newsticker-obsolete-item-face, newsticker-date-face)
12484         (newsticker-statistics-face): Change default family from
12485         helvetica to sans.
12486         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12487         etc/images/newsticker.
12489         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12490         (newsticker--process-auto-mark-filter-match): Tell user about
12491         auto-marking.
12493 2011-05-13  Didier Verna  <didier@xemacs.org>
12495         Common Lisp indentation improvements on defmethod and lambda-lists.
12496         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12497         TODO entries.
12498         (lisp-lambda-list-keyword-parameter-indentation)
12499         (lisp-lambda-list-keyword-parameter-alignment)
12500         (lisp-lambda-list-keyword-alignment): New customizable user options.
12501         (lisp-indent-defun-method): Improve docstring.
12502         (extended-loop-p): Fix comment.
12503         (lisp-indent-lambda-list-keywords-regexp): New variable.
12504         (lisp-indent-lambda-list): New function.
12505         (lisp-indent-259): Use it.
12506         (lisp-indent-defmethod): Support for more than one
12507         method qualifier and properly indent methods lambda-lists.
12508         (defgeneric): Provide a missing common-lisp-indent-function property.
12510 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12512         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12513         bounds for the empty string (bug#8667).
12515 2011-05-13  Glenn Morris  <rgm@gnu.org>
12517         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12519         * mail/sendmail.el (sendmail-program): Try executable-find first.
12520         (sendmail-send-it): `sendmail-program' cannot be unbound.
12522         * calendar/appt.el (appt-make-list): Simplify.
12523         (appt-time-msg-list): Doc fix.
12524         (appt-check): Change mode-line message at the time of the appointment.
12526 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
12528         * progmodes/ld-script.el (ld-script-keywords)
12529         (ld-script-builtins): Update keywords list.
12531 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12533         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12535         * shell.el (shell-completion-vars): New function.
12536         (shell-mode):
12537         * simple.el (read-shell-command): Use it.
12538         (blink-matching-open): No need for " [...]" in minibuffer-message.
12540 2011-05-12  Glenn Morris  <rgm@gnu.org>
12542         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12543         (appt-check): Simplify.
12545 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
12547         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12548         literal "/dev/null".
12550 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12552         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12553         Fix typo.
12555 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
12557         * progmodes/which-func.el (which-function):
12558         Use add-log-current-defun instead of add-log-current-defun-function,
12559         which might not be defined (Bug#8260).
12561 2011-05-12  Glenn Morris  <rgm@gnu.org>
12563         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12564         Let byte-compile-initial-macro-environment always take precedence.
12566 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12568         * net/rcirc.el: Add support for SSL/TLS connections.
12569         (rcirc-server-alist): New field `encryption'.
12570         (rcirc): Check `encryption' settings.
12571         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
12572         Merge make-local-variable into `set'.
12573         (rcirc--connection-open-p): New function.
12574         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12575         the process is not a network process (e.g. running gnutls-cli).
12576         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12577         Make rcirc-(en|de)code-coding-system local here.
12578         (rcirc-mode): Merge make-local-variable into `set'.
12579         (rcirc-parent-buffer): Make permanent buffer-local.
12580         (rcirc-multiline-minor-mode): Don't do it here.
12581         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12582         there's no server buffer.
12584 2011-05-11  Glenn Morris  <rgm@gnu.org>
12586         * newcomment.el (comment-kill): Prefix "unused" local.
12588         * term/w32console.el (get-screen-color): Declare.
12590         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12591         Handle symbol elements of byte-compile-initial-macro-environment.
12593 2011-05-10  Leo Liu  <sdl.web@gmail.com>
12595         * bookmark.el (bookmark-bmenu-mode-map):
12596         Bind bookmark-bmenu-search to `/'.
12598         * mail/footnote.el: Convert to utf-8 encoding.
12599         (footnote-unicode-string, footnote-unicode-regexp): New variable.
12600         (Footnote-unicode): New function.
12601         (footnote-style-alist): Add unicode style to the list.
12602         (footnote-style): Doc fix.
12604 2011-05-10  Jim Meyering  <meyering@redhat.com>
12606         Fix doubled-word typos.
12607         * international/quail.el (quail-insert-kbd-layout): and and -> and
12608         * kermit.el: and and -> and
12609         * net/ldap.el (ldap-search-internal): to to -> to
12610         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12611         * progmodes/js.el (js-mode): and and -> and
12612         * textmodes/artist.el (artist-move-to-xy): at at -> at
12613         (artist-draw-region-trim-line-endings): if if -> if
12614         And Safetyc -> Safety.
12615         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12617 2011-05-10  Glenn Morris  <rgm@gnu.org>
12618             Stefan Monnier  <monnier@iro.umontreal.ca>
12620         * files.el (hack-one-local-variable-eval-safep):
12621         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
12623 2011-05-10  Glenn Morris  <rgm@gnu.org>
12625         * calendar/diary-lib.el (diary-list-entries-hook)
12626         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12627         (diary-nongregorian-marking-hook, diary-list-entries)
12628         (diary-include-other-diary-files, diary-mark-entries)
12629         (diary-mark-included-diary-files): Doc fixes.
12631 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
12633         * misc.el: Require tabulated-list.el during compilation.
12635 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
12637         * progmodes/compile.el (compilation-start):
12638         Run compilation-filter-hook for the async case too.
12639         (compilation-filter-hook): Doc fix.
12641 2011-05-09  Deniz Dogan  <deniz@dogan.se>
12643         * wdired.el: Remove outdated installation comment.  Fix usage
12644         comment.
12646 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
12648         * misc.el: Implement new command `list-dynamic-libraries'.
12649         (list-dynamic-libraries--loaded-only-p): New variable.
12650         (list-dynamic-libraries--refresh): New function.
12651         (list-dynamic-libraries): New command.
12653 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
12655         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12656         Fix the ant regexp to handle end-line and end-column info from jikes.
12657         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
12658         higher priority to avoid clobbering by gnu.
12660 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
12662         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12663         if the face has existing theme settings (Bug#8454).
12665 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
12667         * progmodes/perl-mode.el (perl-imenu-generic-expression):
12668         Only match variables declared via `my' or `our' (Bug#8261).
12670         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12671         special file names `.' and `..' (Bug#8259).
12673 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
12675         * progmodes/grep.el (grep-mode-font-lock-keywords):
12676         Remove buffer-changing entries.
12677         (grep-filter): New function.
12678         (grep-mode): Add it to compilation-filter-hook.
12680         * progmodes/compile.el (compilation-filter-hook)
12681         (compilation-filter-start): New defvars.
12682         (compilation-filter): Call compilation-filter-hook prior to
12683         updating the process mark.
12685 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12687         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12689 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
12691         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12692         mailclient-send-it even if window-system is nil.  (Bug#8595)
12694         * term/w32console.el (terminal-init-w32console):
12695         Call get-screen-color and use its output to set the frame
12696         background-mode.  (Bug#8597)
12698 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12700         Make bytecomp.el understand that defmethod defines funs (bug#8631).
12701         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12702         New functions.
12703         (defgeneric, eieio--defmethod): Use them.
12704         (eieio-defgeneric): Remove.
12705         (defmethod): Call defgeneric in a way visible to the byte-compiler.
12707 2011-05-07  Glenn Morris  <rgm@gnu.org>
12709         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12710         Use let rather than let*.
12711         (timeclock-find-discrep): Remove unused local.
12713         * calendar/diary-lib.el (diary-comment-start): Doc fix.
12715         * calendar/appt.el (appt-time-msg-list): Doc fix.
12717 2011-05-06  Noah Friedman  <friedman@splode.com>
12719         * apropos.el (apropos-print-doc): Only use
12720         emacs-lisp-docstring-fill-column when it is bound to an integer,
12721         per that variable's documentation.
12723 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12725         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12726         and warnings are not silently discarded (e.g. use -d instead of -P).
12728 2011-05-06  Glenn Morris  <rgm@gnu.org>
12730         * calendar/appt.el (appt-message-warning-time): Doc fix.
12731         (appt-warning-time-regexp): New option.
12732         (appt-make-list): Respect appt-message-warning-time.
12734         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12735         New options.
12736         (diary-add-to-list): Strip comments from the displayed string.
12737         (diary-mode): Set comment-start and comment-end.
12739         * vc/diff-mode.el (smerge-refine-subst): Declare.
12740         (diff-refine-hunk): Don't require smerge-mode when compiling.
12742 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
12744         * simple.el (list-processes): Return nil as the docstring says.
12746 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
12748         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12749         to "".
12750         (ange-ftp-write-region, ange-ftp-insert-file-contents)
12751         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12752         determining of binary transfer.  (Bug#7383)
12754 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
12756         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12757         Fix port computation bug.  (Bug#8618)
12759 2011-05-05  Glenn Morris  <rgm@gnu.org>
12761         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12763         * simple.el (shell-dynamic-complete-functions)
12764         (comint-dynamic-complete-functions): Declare.
12766         * net/network-stream.el (gnutls-negotiate):
12767         * simple.el (tabulated-list-print): Fix declarations.
12769         * progmodes/gud.el (syntax-symbol, syntax-point):
12770         Remove unnecessary and incorrect declarations.
12772         * emacs-lisp/check-declare.el (check-declare-scan):
12773         Handle byte-compile-initial-macro-environment in bytecomp.el
12775 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12777         Fix earlier half-done eieio-defmethod change (bug#8338).
12778         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12779         Streamline and change calling convention.
12780         (defmethod): Adjust accordingly and simplify.
12781         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12782         new eieio--defmethod.
12783         (slot-boundp): Minor CSE simplification.
12785 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
12787         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12788         (glasses-make-readable): Use glasses-separate-capital-groups.
12790 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
12792         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12793         (warning-series): Doc fix.
12794         (display-warning): Don't try to create the buffer if we just found it.
12796 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
12798         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12799         (autoload-find-generated-file): New function.
12800         (generate-file-autoloads): Bind generated-autoload-file to
12801         buffer-file-name.
12802         (update-file-autoloads, update-directory-autoloads):
12803         Use autoload-find-generated-file.  If called interactively, prompt for
12804         output file (Bug#7989).
12805         (batch-update-autoloads): Doc fix.
12807 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
12809         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12811 2011-05-04  Glenn Morris  <rgm@gnu.org>
12813         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12814         function, so it follows changes in calendar-date-style.
12815         (diary-fancy-date-matcher): New function.
12816         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12817         (diary-fancy-font-lock-fontify-region-function):
12818         Use diary-fancy-date-pattern as a function.
12820         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12821         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
12823 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
12825         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12826         instead of positional arguments.  Allow :keylist and :crlfiles
12827         arguments.
12828         (open-gnutls-stream): Call it.
12830         * net/network-stream.el (network-stream-open-starttls): Adjust to
12831         call `gnutls-negotiate' with :process and :hostname arguments.
12833 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12835         * minibuffer.el (completion--message): New function.
12836         (completion--do-completion, minibuffer-complete)
12837         (minibuffer-force-complete, minibuffer-complete-word): Use it.
12838         (completion--do-completion): Don't ignore completion-auto-help when in
12839         icomplete-mode.
12841         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12842         internal encoding (e.g. tibetan zero is not whitespace).
12843         (global-whitespace-mode): Prefer save-current-buffer.
12844         (whitespace-trailing-regexp): Remove useless save-match-data.
12845         (whitespace-empty-at-bob-regexp): Minor simplification.
12847 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
12849         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12851 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12853         * textmodes/ispell.el (ispell-add-per-file-word-list):
12854         Use `concat' to create string for insertion.
12856 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12858         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12859         Avoid open-line which runs post-self-insert-hook.
12860         (bibtex-fill-entry): Remove unused `end' var.
12862 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
12864         * textmodes/ispell.el (ispell-add-per-file-word-list):
12865         Protect against `nil' value of `comment-start' (Bug#8579).
12867 2011-05-03  Leo Liu  <sdl.web@gmail.com>
12869         * isearch.el (isearch-yank-pop): New command.
12870         (isearch-mode-map): Bind it to `M-y'.
12871         (isearch-forward): Mention it.
12873 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12875         * simple.el (minibuffer-complete-shell-command): Remove.
12876         (minibuffer-local-shell-command-map): Use completion-at-point.
12877         (read-shell-command): Setup completion vars here instead.
12878         (read-expression-map): Bind TAB to symbol completion.
12880         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12881         error directly rather via storing it into `results'.
12883 2011-05-02  Leo Liu  <sdl.web@gmail.com>
12885         * vc/diff.el: Fix description.
12887 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12889         * server.el (server-eval-at): New function.
12891 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12893         * net/network-stream.el (open-network-stream): Take a :nowait
12894         parameter and pass it on to `make-network-process'.
12895         (network-stream-open-plain): Ditto.
12897 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
12899         * faces.el (face-spec-set-match-display): Don't match toolkit
12900         options on terminal frames.
12902 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12904         * progmodes/pascal.el: Use lexical binding.
12905         (pascal-mode-map): Remove author preferences.
12907         * pcomplete.el (pcomplete-std-complete): Don't abuse
12908         completion-at-point.
12910 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
12912         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12913         removing code that has been dead since 1991 or so.
12915         * startup.el (command-line): When warning about "_emacs", use a
12916         delayed warning to allow the user to filter it out.
12918 2011-04-28  Deniz Dogan  <deniz@dogan.se>
12920         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12921         user has not joined.
12923 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12925         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12926         aren't any completions at point.
12928 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
12930         * subr.el (display-delayed-warnings): New function.
12931         (delayed-warnings-hook): New variable.
12933 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12935         * minibuffer.el (completion-at-point, completion-help-at-point):
12936         Don't presume that a given completion-at-point-function will always
12937         use the same calling convention.
12939         * pcomplete.el (pcomplete-completions-at-point):
12940         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
12941         pcomplete-seen is non-nil.
12942         (pcomplete-comint-setup): Also recognize the new comint/shell
12943         completion functions.
12944         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12945         pcomplete-seen is non-nil.
12947 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
12949         * calendar/icalendar.el (diary-lib): Add require statement.
12950         (icalendar--create-uid): Read out a uid from a text-property on
12951         the first character in the entry.  This allows for code to add its
12952         own uid to the entry.
12953         (icalendar--convert-float-to-ical): Add export of
12954         `diary-float'-entries save for those with the optional DAY
12955         argument.
12957 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
12959         * subr.el (shell-quote-argument): Use alternate escaping strategy
12960         when we spot a variable reference in a string.
12962 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
12964         * cus-start.el (all): Define customization for debug-on-event.
12966 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
12968         * subr.el (shell-quote-argument): Escape correctly under Windows.
12970 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12972         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12974 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
12976         * net/tramp.el (tramp-process-actions): Add POS argument.
12977         Delete region between POS and (pos).
12979         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12980         Use `nil' position in `tramp-process-actions' call.
12981         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12983         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12984         position in `tramp-process-actions' call.
12986         * net/trampver.el: Update release number.
12988 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12990         * custom.el (defcustom): Obey lexical-binding.
12992         Fix octave-inf completion problems reported by Alexander Klimov.
12993         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12994         Inherit from octave-mode-syntax-table.
12995         (inferior-octave-mode): Set info-lookup-mode.
12996         (inferior-octave-completion-at-point): New function.
12997         (inferior-octave-complete): Use it and completion-in-region.
12998         (inferior-octave-dynamic-complete-functions): Use it as well, and use
12999         comint-filename-completion.
13000         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13001         symbol elements which shouldn't be word elements.
13002         (octave-font-lock-keywords, octave-beginning-of-defun)
13003         (octave-function-header-regexp): Adjust regexps accordingly.
13004         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13006 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
13008         * net/gnutls.el (gnutls-errorp): Declare before first use.
13010 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
13012         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13013         verify-error, and verify-hostname-error parameters.  Check whether
13014         default trustfile exists before going to use it.  Add missing
13015         argument to gnutls-message-maybe call.  Return value.
13016         Reported by Claudio Bley <claudio.bley@gmail.com>.
13017         (open-gnutls-stream): Add usage example.
13019         * net/network-stream.el (network-stream-open-starttls): Give host
13020         parameter to `gnutls-negotiate'.
13021         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13022         * subr.el (shell-quote-argument): Escape correctly under Windows.
13024 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
13026         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13027         Use correct match group (bug#8438).
13029 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
13031         * emacs-lisp/package.el (package-built-in-p): Fix typo.
13032         (package-menu--generate): New arg specifying packages to show.
13033         (package-menu-refresh, package-menu-execute, list-packages):
13034         Callers changed.
13035         (package-show-package-list): New function, replacing deleted
13036         package--list-packages (renamed because it is non-internal).
13038         * finder.el (finder-list-matches): Use package-show-package-list
13039         instead of deleted package--list-packages.
13041         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13042         Based on a previous implementation by Juanma Barranquero (Bug#8366).
13043         (vc-annotate-mode-map): Bind it to RET.
13045 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
13047         * progmodes/etags.el (next-file): Don't use set-buffer to change
13048         buffers (Bug#8478).
13050 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
13052         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13054         * apropos.el (apropos-label-face): Avoid variable-pitch face.
13055         (apropos-accumulator): Doc fix.
13056         (apropos-function, apropos-macro, apropos-command)
13057         (apropos-variable, apropos-face, apropos-group, apropos-widget)
13058         (apropos-plist): Add face property.
13059         (apropos-symbols-internal): Fix indentation.
13060         (apropos-print): Simplify help, and recognize apropos-multi-type.
13061         (apropos-print-doc): Use button-type-get to extract the button's
13062         face property.  Fill docstring (Bug#8352).
13064 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
13066         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13068         * play/mpuz.el (mpuz-silent): Doc fix.
13069         (mpuz-mode-map): Use mapc.
13070         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13071         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13072         Fix typos in docstrings.
13074         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13075         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13077         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13079 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
13081         * minibuffer.el (completion--do-completion): Avoid the "Next char
13082         not unique" prompt if icomplete-mode is enabled (Bug#5849).
13084         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13085         mouse-2 into unread-command-events, it is interpreted correctly.
13087         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13088         (image-toggle-display): Doc fix.
13090 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
13092         * textmodes/page.el (what-page): Use line-number-at-pos to
13093         calculate line number (Bug#6825).
13095 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
13097         * eshell/esh-mode.el (find-tag-interactive): Declare function.
13098         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13099         Pass argument NO-DEFAULT to `find-tag-interactive'.
13101 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
13103         Lexical-binding cleanup.
13105         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13106         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13107         * progmodes/ada-prj.el (ada-prj-initialize-values)
13108         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13109         (ada-prj-show-value):
13110         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13111         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13112         (antlr-invalidate-context-cache, antlr-options-menu-filter)
13113         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13114         * progmodes/bug-reference.el (bug-reference-push-button):
13115         * progmodes/fortran.el (fortran-line-length):
13116         * progmodes/glasses.el (glasses-change):
13117         * progmodes/octave-mod.el (octave-fill-paragraph):
13118         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13119         (python-pdbtrack-grub-for-buffer, python-sentinel):
13120         * progmodes/sql.el (sql-save-connection):
13121         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13122         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13123         Mark unused parameters.
13125         * progmodes/compile.el (compilation--flush-directory-cache)
13126         (compilation--flush-parse, compile-internal): Mark unused parameters.
13127         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13128         (compilation-next-error-function): Remove unused variable `timestamp'.
13130         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13131         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13133         * progmodes/dcl-mode.el (dcl-end-of-command):
13134         Remove unused variable `start'.
13135         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13136         (dcl-option-value-basic, dcl-option-value-offset)
13137         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13138         Mark unused parameters.
13139         (dcl-save-local-variable): Remove unused variable `val'.
13140         (mode): Declare.
13142         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13143         Mark unused parameters.
13144         (delphi-ignore-changes): Move before first use.
13145         (delphi-charset-token-at): Remove unused variable `start'.
13146         (delphi-else-start): Remove unused variable `if-count'.
13147         (delphi-comment-block-start, delphi-comment-block-end):
13148         Remove unused variable `kind'.
13149         (delphi-indent-line): Remove unused variable `new-point'.
13151         * progmodes/ebrowse.el (ebrowse-files-list)
13152         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13153         Mark unused parameters.  Don't quote `lambda'.
13154         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13155         Don't quote `lambda'.
13156         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13157         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13158         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13159         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13160         Use `ignore-errors'.
13161         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13162         (ebrowse-view/find-file-and-search-pattern)
13163         (ebrowse-view/find-member-declaration/definition):
13164         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13165         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13166         Rename parameter PREFIX-ARG to PREFIX.
13167         (ebrowse-tags-read-name): Remove unused variables `start' and
13168         `member-info'.
13169         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13170         to `tags-file'.
13172         * progmodes/etags.el (local-find-tag-hook): Declare.
13173         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13174         Mark unused parameters.
13176         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13177         (executable-interpret): Mark unused parameter.
13179         * progmodes/flymake.el (flymake-process-sentinel)
13180         (flymake-after-change-function)
13181         (flymake-create-temp-with-folder-structure)
13182         (flymake-get-include-dirs-dot): Mark unused parameters.
13183         (flymake-safe-delete-directory): Remove unused variable `err'.
13185         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13186         (speedbar-timer-fn, speedbar-line-text)
13187         (speedbar-change-expand-button-char, speedbar-delete-subblock)
13188         (speedbar-center-buffer-smartly): Declare functions.
13189         (gdb-find-watch-expression): Remove unused variable `array'.
13190         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13191         (gdb-starting): Mark unused parameters.
13192         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13193         (gdb-table-string): Remove unused variable `res'.
13194         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13195         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13196         (gdb-display-buffer): Remove unused variable `cur-size'.
13198         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13199         allow lexical-binding compilation.
13200         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13201         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13202         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13203         Mark unused parameters.
13204         (gud-gdb-marker-filter): Remove unused variable `match'.
13205         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13206         lambda expressions and funcall them, instead of using `fset'.
13208         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13209         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13211         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13212         variable `header-beg'; use `let'.
13214         * progmodes/icon.el (indent-icon-exp): Remove unused variables
13215         `restart', `last-sexp' and `at-do'.
13217         * progmodes/js.el (js--debug): Mark unused parameter.
13218         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13219         (js--splice-into-items): Remove unused variable `item'.
13220         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13222         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13223         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13224         (makefile-complete): Remove unused variable `try'.
13225         (makefile-fill-paragraph, makefile-match-function-end):
13226         Mark unused parameters.
13228         * progmodes/octave-inf.el (inferior-octave-complete):
13229         Remove unused variable `proc'.
13230         (inferior-octave-output-digest): Mark unused parameter.
13232         * progmodes/perl-mode.el (perl-calculate-indent):
13233         Remove unused variable `err'.
13235         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13236         (prolog-indent-line): Mark unused parameters.
13237         (prolog-indent-line): Remove unused variable `beg'.
13239         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13240         (reporter-dont-compact-list): Declare.
13242         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13243         Remove unused variable `char'.
13244         (sh-debug): Mark unused parameter.
13245         (sh-get-indent-info): Remove unused variable `start'.
13246         (sh-calculate-indent): Remove unused variable `var'.
13248         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13249         (simula-electric-keyword): Remove unused variable `null'.
13250         (simula-search-backward, simula-search-forward): Remove unused
13251         variables `begin' and `end'.
13253         * progmodes/vera-mode.el (vera-guess-basic-syntax):
13254         Remove unused variable `pos'.
13255         (vera-electric-tab, vera-comment-uncomment-region):
13256         Mark unused parameters.
13257         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13259 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
13261         * emacs-lisp/package.el (package--builtins, package-alist)
13262         (package-load-descriptor, package-built-in-p, package-activate)
13263         (define-package, package-installed-p)
13264         (package-compute-transaction, package-buffer-info)
13265         (package--push): Doc fix.  Distinguish more clearly between
13266         version strings and version lists.
13268 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
13270         Lexical-binding cleanup.
13272         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13273         (5x5-make-mutate-best):
13274         * play/fortune.el (fortune-in-buffer):
13275         * play/gomoku.el (gomoku-init-display):
13276         * play/solitaire.el (solitaire, solitaire-do-check):
13277         * play/tetris.el (tetris-default-update-speed-function):
13278         Mark unused parameters.
13280         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13281         (bubbles--shift): Remove unused variable `char-org'.
13282         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
13283         (bubbles--show-images): Remove unused variable `char'.
13285         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13286         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13287         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13288         (decipher-analyze-buffer): Use ?\s.
13289         (decipher-make-checkpoint): Remove unused variable `mapping'.
13291         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13293         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13294         Remove unused variable `result'; use `let'.
13296         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13297         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13298         (gametree-children-shown-p, gametree-compute-reduced-score):
13299         Use `ignore-errors'.
13301         * play/handwrite.el (ps-lpr-switches): Declare.
13302         (handwrite): Remove unused variables `pmin' and `lastp'.
13304         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13306         * play/landmark.el (landmark-init-display)
13307         (landmark-update-naught-weights): Mark unused parameters.
13308         (landmark-y): Remove unused variable `noise'.  Simplify.
13309         (landmark-human-plays): Remove unused variable `score'.
13311         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13312         (mpuz-try-proposal): Remove unused variable `game'.
13314         * play/zone.el (life-patterns): Declare.
13316 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
13318         * vc/vc.el (ediff-vc-internal): Declare function.
13320 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13322         * shell.el: Use lexical-binding and std completion UI.
13323         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13324         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13325         comint-preoutput-filter-functions rather than on
13326         comint-output-filter-functions.
13327         (shell-command-completion, shell--command-completion-data)
13328         (shell-filename-completion, shell-environment-variable-completion)
13329         (shell-c-a-p-replace-by-expanded-directory): New functions.
13330         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13331         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13332         (shell-dynamic-complete-environment-variable): Use them.
13333         (shell-dynamic-complete-as-environment-variable)
13334         (shell-dynamic-complete-as-command): Remove.
13335         (shell-match-partial-variable): Match past point.
13336         * comint.el: Clean up use of completion-at-point-functions.
13337         (comint-completion-at-point): New function.
13338         (comint-mode): Use it completion-at-point-functions.
13339         (comint-dynamic-complete): Make it obsolete.
13340         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13341         (comint-c-a-p-replace-by-expanded-history): New function.
13342         (comint-dynamic-complete-functions)
13343         (comint-replace-by-expanded-history): Use it.
13344         * minibuffer.el (completion-table-with-terminator): Allow dynamic
13345         termination strings.  Try harder to avoid second try-completion.
13346         (completion-in-region-mode-map): Disable bindings that don't work yet.
13348         * comint.el: Use lexical-binding.  Require CL.
13349         (comint-dynamic-complete-functions): Use comint-filename-completion.
13350         (comint-completion-addsuffix): Tweak custom type.
13351         (comint-filename-completion, comint--common-suffix)
13352         (comint--common-quoted-suffix, comint--table-subvert)
13353         (comint--complete-file-name-data): New functions.
13354         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13355         (comint-dynamic-list-filename-completions): Use them.
13356         (comint-dynamic-simple-complete): Make obsolete.
13358         * minibuffer.el (completion-in-region-mode):
13359         Keep completion-in-region-mode--predicate global.
13360         (completion-in-region--postch):
13361         Assume completion-in-region-mode--predicate is not null.
13363         * progmodes/flymake.el (flymake-start-syntax-check-process):
13364         Obey `dir'.  Simplify.
13366         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13367         we're in VC after all.
13369 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
13371         * vc/vc.el (vc-diff-build-argument-list-internal)
13372         (vc-version-ediff, vc-ediff): New commands.
13373         (vc-version-diff): Use vc-diff-build-argument-list-internal.
13375 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13377         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13378         add sanity check.
13380         * obsolete/erc-hecomplete.el: Make obsolete.
13381         * obsolete/: Standardize obsolescence info in the header.
13383 2011-04-20  Glenn Morris  <rgm@gnu.org>
13385         * calendar/solar.el (solar-horizontal-coordinates):
13386         Use the longitude argument rather than `calendar-longitude'.
13387         (solar-date-next-longitude): Remove unused locals.
13389 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13391         * whitespace.el: New version 13.2.1.
13393 2011-04-20  felix  <EmacsWiki>  (tiny change)
13395         * whitespace.el (global-whitespace-mode): Keep highlight when
13396         switching between major modes on a file.
13398 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13400         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13401         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13402         multi-line comments as well.
13404 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
13406         Lexical-binding cleanup.
13408         * arc-mode.el (archive-mode-revert):
13409         * cmuscheme.el (scheme-interactively-start-process):
13410         * custom.el (custom-initialize-delay):
13411         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13412         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13413         * emacs-lock.el (emacs-lock-clear-sentinel):
13414         * ezimage.el (defezimage):
13415         * follow.el (follow-avoid-tail-recenter):
13416         * fringe.el (set-fringe-mode-1):
13417         * generic-x.el (bat-generic-mode-compile):
13418         * help-mode.el (help-info-variable, help-do-xref)
13419         (help-mode-revert-buffer):
13420         * help.el (view-emacs-todo):
13421         * iswitchb.el (iswitchb-completion-help):
13422         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13423         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13424         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13425         * locate.el (locate-update):
13426         * longlines.el (longlines-encode-region)
13427         (longlines-after-change-function):
13428         * outline.el (outline-isearch-open-invisible):
13429         * ps-def.el (declare-function, charset-dimension, char-width)
13430         (encode-char):
13431         * ps-mule.el (ps-mule-plot-string):
13432         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13433         (recentf-edit-list-select, recentf-edit-list-validate)
13434         (recentf-open-files-action):
13435         * rect.el (delete-whitespace-rectangle-line)
13436         (rectangle-number-line-callback):
13437         * register.el (window-configuration-to-register)
13438         (frame-configuration-to-register):
13439         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13440         * select.el (xselect-convert-to-string, xselect-convert-to-length)
13441         (xselect-convert-to-targets, xselect-convert-to-delete)
13442         (xselect-convert-to-filename, xselect-convert-to-charpos)
13443         (xselect-convert-to-lineno, xselect-convert-to-colno)
13444         (xselect-convert-to-os, xselect-convert-to-host)
13445         (xselect-convert-to-user, xselect-convert-to-class)
13446         (xselect-convert-to-name, xselect-convert-to-integer)
13447         (xselect-convert-to-atom, xselect-convert-to-identity):
13448         * subr.el (declare, ignore, process-kill-without-query)
13449         (text-clone-maintain):
13450         * terminal.el (te-get-char, te-tic-sentinel):
13451         * tool-bar.el (tool-bar-make-keymap):
13452         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13453         * type-break.el (type-break-mode, type-break-noninteractive-query):
13454         * view.el (View-back-to-mark):
13455         * wid-browse.el (widget-browse-action, widget-browse-widget)
13456         (widget-browse-widgets, widget-browse-sexp):
13457         * widget.el (define-widget-keywords):
13458         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13459         Mark unused parameters.
13461         * align.el (align-adjust-col-for-rule): Mark unused parameter.
13462         (align-areas): Remove unused variable `look'.
13463         (align-region): Remove unused variables `real-end' and `pos-list'.
13465         * apropos.el (apropos-score-doc): Remove unused variable `i'.
13467         * bindings.el (mode-line-modified, mode-line-remote):
13468         Mark unused parameters.
13469         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13471         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13472         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13474         * comint.el (comint-history-isearch-pop-state)
13475         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13476         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13477         (comint-substitute-in-file-name): Doc fix.
13479         * completion.el (cmpl-statistics-block): Mark unused parameter.
13480         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13481         (save-completions-to-file, load-completions-from-file):
13482         Remove unused local variable `e'.
13484         * composite.el (compose-chars): Remove unused variable `len'.
13485         (lgstring-insert-glyph): Remove unused variable `g'.
13486         (compose-glyph-string): Remove unused variables `ascent',
13487         `descent', `lbearing' and `rbearing'.
13488         (compose-glyph-string-relative): Remove unused variables
13489         `lbearing', `rbearing' and `wadjust'.
13490         (compose-gstring-for-graphic): Remove unused variables `header',
13491         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
13492         (compose-gstring-for-terminal): Remove unused variables `header'
13493         and `nchars'.  Use `let', not `let*'.
13495         * cus-edit.el (Custom-set, Custom-save, custom-reset)
13496         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13497         (Custom-buffer-done, custom-buffer-create-internal)
13498         (custom-browse-visibility-action, custom-browse-group-tag-action)
13499         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13500         (widget-magic-mouse-down-action, custom-toggle-parent)
13501         (custom-add-parent-links, custom-toggle-hide-variable)
13502         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13503         (custom-toggle-hide-face, face, hook, custom-group-link-action)
13504         (custom-face-menu-create, custom-variable-menu-create, get)
13505         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13506         (custom-reset-standard-save-and-update): Remove unused variable `value'.
13507         (customize-apropos): Remove unused variable `tests'.
13508         (custom-group-value-create): Remove unused variable `hidden-p'.
13509         (sort-fold-case): Declare.
13511         * cus-theme.el (custom-reset-standard-faces-list)
13512         (custom-reset-standard-variables-list): Declare.
13513         (customize-create-theme, custom-theme-revert, custom-theme-write)
13514         (custom-theme-choose-mode, customize-themes, custom-theme-save):
13515         Mark unused parameters.
13517         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13519         * delim-col.el (delimit-columns-max): Move defvar before first use.
13521         * descr-text.el (describe-char-categories): Don't quote `lambda'.
13522         (describe-char): Don't quote `lambda'.  Mark unused parameter.
13524         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13525         (auto-insert): Declare.
13526         (desktop-restore-file-buffer): Rename desktop-* parameters;
13527         mark unused ones.
13528         (desktop-create-buffer): Rename desktop-* parameters and bind them.
13529         (desktop-buffer): Rename desktop-* parameters.
13531         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13532         (dframe-reposition-frame-xemacs, dframe-help-echo)
13533         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13534         Mark unused parameters.
13536         * dired-aux.el (backup-extract-version-start, overwrite-query)
13537         (overwrite-backup-query, rename-regexp-query)
13538         (rename-non-directory-query): Declare.
13539         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13540         (dired-add-entry): Remove unused variable `orig-file-name'.
13541         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13542         Use parameter PRESERVE-TIME instead of accessing dynamic variable
13543         `dired-copy-preserve-time' directly.
13544         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13545         (dired-insert-subdir-newpos): Rename unused variable `pos'.
13547         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13548         (dired-virtual-revert, dired-make-relative-symlink):
13549         Mark unused parameters.
13550         (manual-program): Declare.
13551         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13552         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13553         wrapped in `with-no-warnings' to avoid replacing one warning by another.
13555         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13557         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13559         * echistory.el (electric-history-in-progress, Helper-return-blurb):
13560         Declare.
13562         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13564         * electric.el (Electric-command-loop): Rename parameter
13565         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13567         * expand.el (expand-in-literal): Remove unused variable `here'.
13569         * facemenu.el (facemenu-add-new-color):
13570         Remove unused variable `docstring'.
13572         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13573         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13574         (face-attr-construct): Mark unused parameter.  Doc fix.
13575         (read-color): Remove unused variable `hex-string'.
13577         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13578         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13579         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13580         (display-buffer-other-frame): Remove unused variable `old-window'.
13581         (kill-buffer-hook): Declare.
13582         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13583         Mark unused parameters.
13584         (after-find-file): Pass 1 to `auto-save-mode', not t.
13586         * files-x.el (auto-insert): Declare.
13587         (modify-file-local-variable-prop-line): Remove unused variable `val'.
13589         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13590         variable `buf'.  Mark unused parameter.
13591         (find-lisp-insert-directory): Mark unused parameter.
13593         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13594         (format-encode-region): Remove unused variables `cur-buf' and `result'.
13595         (format-common-tail): Remove, unused.
13596         (format-deannotate-region): Remove unused variable `loc'.
13597         (format-annotate-region): Remove unused variable `p'.
13598         (format-annotate-single-property-change): Remove unused variables
13599         `default' and `tail'.
13601         * forms.el (read-file-filter): Declare.
13602         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13604         * frame.el (frame-creation-function-alist): Mark unused parameter.
13605         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13607         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13608         Remove unused parameters.
13609         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13610         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13612         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13613         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13614         (hfy-prepare-tag-map): Mark unused parameters.
13615         (htmlfontify-buffer): Use `called-interactively-p'.
13617         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13618         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13619         (ibuffer-do-occur): Mark unused parameters.
13620         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13621         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13623         * ibuffer.el: Don't quote `lambda'.
13624         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13625         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13626         Mark unused parameters.
13628         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13629         (ido-completing-read): Mark unused parameters.
13630         (ido-copy-current-word): Mark unused parameters;
13631         remove unused variable `name'.
13632         (ido-sort-merged-list): Remove unused parameter `dirs'.
13634         * ielm.el (ielm-input-sender): Mark unused parameter.
13635         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13636         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13637         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13638         `ielm-string' as a dynamic variable accessible from the IELM prompt.
13639         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
13641         * image-dired.el (image-dired-display-thumbs): Remove unused
13642         variables `curr-file' and `count'.
13643         (image-dired-remove-tag): Remove unused variable `start'.
13644         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13645         variable `curr-file'
13646         (image-dired-rotate-original): Remove unused variable `temp-file'.
13647         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13648         Remove unused variable `file'.
13649         (image-dired-gallery-generate): Remove unused variable `curr'.
13650         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13652         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13654         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13656         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13658         * isearch.el (minibuffer-history-symbol): Declare.
13659         (isearch-edit-string): Remove unused variable `err'.
13660         (isearch-message-prefix, isearch-message-suffix):
13661         Mark unused parameters.
13663         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13665         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13667         * makesum.el (double-column): Remove unused variable `cnt'.
13669         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13670         (ido-ignore-item-temp-list): Declare.
13672         * mouse-drag.el (mouse-drag-throw): Remove unused variables
13673         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13674         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13675         (mouse-drag-drag): Remove unused variables `mouse-delta' and
13676         `mouse-col-delta'.
13678         * mouse-sel.el (mouse-extend-internal):
13679         Remove unused variable `orig-window-frame'.
13681         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13682         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13683         Move declarations before first use.
13684         (pcomplete-opt): Mark unused parameters; doc fix.
13686         * proced.el (proced-revert): Mark unused parameter.
13687         (proced-send-signal): Remove unused variable `err'.
13689         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13690         Rename parameter PREFIX-ARG to ARG.
13691         (ps-basic-plot-string, ps-basic-plot-whitespace):
13692         Mark unused parameters.
13694         * replace.el (replace-count): Define.
13695         (occur-revert-function): Mark unused parameters.
13696         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13697         (isearch-case-fold-search, isearch-string): Declare.
13698         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13699         bind `case-fold-search'.  Remove unused variables `beg' and `end',
13700         and simplify.
13701         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13702         COUNT and bind `replace-count'.
13703         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13704         to COUNT.
13706         * savehist.el (print-readably, print-string-length): Declare.
13708         * shadowfile.el (shadow-expand-cluster-in-file-name):
13709         Remove unused variable `cluster'.
13710         (shadow-copy-file): Remove unused variable `i'.
13711         (shadow-noquery, shadow-clusters, shadow-site-cluster)
13712         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13713         (shadow-define-literal-group, shadow-define-regexp-group)
13714         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13716         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13717         (shell): Use `called-interactively-p'.
13718         (shell-directory-tracker): Remove unused variable `chdir-failure'.
13720         * simple.el (compilation-context-lines, comint-file-name-quote-list)
13721         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13722         (delete-backward-char): Remove unused variable `ocol'.
13723         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13724         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13725         (event-apply-hyper-modifier, event-apply-shift-modifier)
13726         (event-apply-control-modifier, event-apply-meta-modifier):
13727         Mark unused parameters.
13728         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13729         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13731         * speedbar.el (speedbar-ignored-directory-expressions)
13732         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13733         (speedbar-find-file, speedbar-dir-follow)
13734         (speedbar-directory-buttons-follow, speedbar-tag-find)
13735         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13736         (speedbar-buffers-line-directory, speedbar-buffer-click):
13737         Mark unused parameters.
13738         (speedbar-tag-file): Remove unused variable `mode'.
13739         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13741         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13743         * talk.el (talk): Remove unused variable `display'.
13745         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13746         (tar-write-region-annotate): Mark unused parameter.
13748         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13749         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13750         Declare them, wrapped in `with-no-warnings' to avoid replacing one
13751         warning by another.
13753         * time-stamp.el (time-stamp-string-preprocess):
13754         Remove unused variable `require-padding'.
13756         * tree-widget.el (widget-glyph-enable): Declare.
13757         (tree-widget-action): Mark unused parameter.
13759         * w32-fns.el (x-get-selection): Mark unused parameter.
13760         (autoload-make-program, generated-autoload-file): Declare.
13762         * wdired.el (wdired-revert): Mark unused parameters.
13763         (wdired-xcase-word): Remove unused variable `err'.
13765         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13766         (whitespace-help-scroll): Remove unused variable `data-help'.
13768         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13769         (widget-image-insert, widget-after-change, default)
13770         (widget-default-format-handler, widget-default-notify)
13771         (widget-default-prompt-value, widget-info-link-action)
13772         (widget-url-link-action, widget-function-link-action)
13773         (widget-variable-link-action, widget-file-link-action)
13774         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13775         (widget-field-prompt-internal, widget-field-action, widget-field-match)
13776         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13777         (widget-insert-button-action, widget-delete-button-action, visibility)
13778         (widget-documentation-link-action, widget-documentation-string-action)
13779         (widget-const-prompt-value, widget-regexp-match, symbol)
13780         (widget-coding-system-prompt-value)
13781         (widget-key-sequence-value-to-external, sexp)
13782         (widget-sexp-value-to-internal, character, vector, cons)
13783         (widget-choice-prompt-value, widget-boolean-prompt-value)
13784         (widget-color--choose-action): Mark unused parameters.
13785         (widget-item-match-inline, widget-choice-match-inline)
13786         (widget-checklist-match, widget-checklist-match-inline)
13787         (widget-group-match): Rename parameter VALUES to VALS.
13788         (widget-field-value-set): Remove unused variable `size'.
13789         (widget-color-action): Remove unused variables `value' and `start'.
13791         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13792         variable `dir'.  Doc fix.
13793         (windmove-find-other-window): Don't pass it.
13795         * window.el (count-windows): Mark unused parameter.
13796         (bw-adjust-window): Remove unused variable `err'.
13798         * woman.el (woman-file-name): Remove unused variable `default'.
13799         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13800         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13801         (global-font-lock-mode): Declare.
13802         (woman-decode-region): Mark unused parameter.
13803         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13805         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13806         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13807         (x-dnd-handle-moz-url): Remove unused variable `title'.
13808         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13810         * xml.el (xml-parse-tag, xml-parse-attlist):
13811         Remove unused variable `pos'.
13813 2011-04-19  Glenn Morris  <rgm@gnu.org>
13815         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13816         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13817         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13818         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13819         * calendar/cal-html.el (cal-html-insert-minical):
13820         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13821         (calendar-mark-date-pattern):
13822         Prefix "unused" locals.
13824         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13825         optional argument `style'.
13827         * calendar/appt.el (appt-make-list):
13828         * calendar/cal-china.el (calendar-chinese-date-string):
13829         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13830         (diary-hebrew-yahrzeit):
13831         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13832         * calendar/calendar.el (calendar-generate-window):
13833         * calendar/time-date.el (time-to-days):
13834         Remove unused local variables.
13836 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
13838         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13839         glyphless-char-display table.
13840         (tabulated-list-glyphless-char-display): New var.
13842 2011-04-18  Sam Steingold  <sds@gnu.org>
13844         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13845         to acknowledgments.
13847 2011-04-17  Glenn Morris  <rgm@gnu.org>
13849         * calendar/diary-lib.el (diary-sexp-entry):
13850         * calendar/holidays.el (holiday-sexp):
13851         Set debug-on-error rather than the removed stack-trace-on-error.
13853 2011-04-16  Glenn Morris  <rgm@gnu.org>
13855         * progmodes/f90.el: Use lexical-binding.
13856         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13858 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13860         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13861         (mail-mode): Setup mailalias completion here instead.
13862         * mail/mailalias.el: Use lexical-binding.
13863         (pattern, mailalias-done): Declare dynamic.
13864         (mail-completion-at-point-function): New function, from mail-complete.
13865         (mail-complete): Use it.
13866         (mail-completion-expand): New function.
13867         (mail-get-names): Use it.
13868         (mail-directory, mail-directory-process, mail-directory-stream):
13869         Don't use `pattern' for lexically bound arg.
13871         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13873         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13874         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13875         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13877         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13878         (byte-save-window-excursion, byte-temp-output-buffer-setup)
13879         (byte-interactive-p): Define them again, for use when inlining
13880         old code.
13882 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
13884         * loadup.el: Use `string-to-number', not `string-to-int'.
13886 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13888         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13889         gud-gdb-complete-command.
13890         (gud-gdb-completions): New function, from gud-gdb-complete-command.
13891         (gud-gdb-completion-at-point): New function.
13892         (gud-gdb-completions): Remove.
13894 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
13896         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13897         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
13898         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13899         whether `executable-find' is bound.
13901         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13903 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13905         * minibuffer.el (completion-in-region-mode-predicate)
13906         (completion-in-region-mode--predicate): New vars.
13907         (completion-in-region, completion-in-region--postch)
13908         (completion-in-region-mode): Use them.
13909         (completion--capf-wrapper): Also return the hook function.
13910         (completion-at-point, completion-help-at-point):
13911         Adjust and provide a predicate.
13913         Preserve arg names for advice of subr and lexical functions (bug#8457).
13914         * help-fns.el (help-function-arglist): Consolidate the subr and
13915         new-byte-code cases.  Add argument `preserve-names' to extract names
13916         from the docstring when needed.
13917         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13918         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13919         (ad-arglist): Use help-function-arglist's new arg.
13920         (ad-definition-type): Use cond.
13922 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
13924         * autorevert.el (auto-revert-handler):
13925         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13926         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13927         Don't quote lambda.
13929         * image-mode.el (image-transform-set-scale):
13930         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13932 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13934         * net/network-stream.el (network-stream-open-starttls): Only do
13935         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13936         Upgrades via gnutls-cli are too slow to be done opportunistically.
13938 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
13940         * dframe.el (dframe-current-frame): Remove spurious quote.
13942 2011-04-12  Glenn Morris  <rgm@gnu.org>
13944         * calendar/cal-tex.el (cal-tex-end-document):
13945         Try to automatically use latin1 input if needed.
13947         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13948         Don't try to cons a mark onto an empty element.
13950 2011-04-11  Leo Liu  <sdl.web@gmail.com>
13952         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13953         buffers.
13954         (ido-kill-buffer-at-head): Support killing virtual buffers.
13956 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
13958         * minibuffer.el (completion-show-inline-help): New var.
13959         (completion--do-completion, minibuffer-complete)
13960         (minibuffer-force-complete, minibuffer-complete-word):
13961         Inhibit minibuffer messages if completion-show-inline-help is nil.
13963         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13964         to avoid interference from inline help (Bug#5849).
13966 2011-04-10  Leo Liu  <sdl.web@gmail.com>
13968         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13969         Fix typo.
13971 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
13973         * image-mode.el (image-toggle-display-image): Signal an error if
13974         not in Image mode.
13975         (image-transform-mode, image-transform-resize)
13976         (image-transform-set-rotation): Doc fix.
13977         (image-transform-set-resize): Delete.
13978         (image-transform-set-scale, image-transform-fit-to-height)
13979         (image-transform-fit-to-width): Handle image-toggle-display-image
13980         and image-transform-resize directly.
13982 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
13984         * doc-view.el (doc-view-fit-width-to-window)
13985         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13986         New functions for fitting the shown image to the Emacs window size.
13987         (doc-view-mode-map): Add bindings for the new functions.
13989 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
13991         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13992         Fix typo in docstring.
13994 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
13996         * files.el (file-size-human-readable): Produce one digit after
13997         decimal, like "ls -lh" does.
13999         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14000         the file size representation.
14002         * simple.el (list-processes): If async subprocesses are not
14003         available, error out with a clear error message.
14005 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
14007         * help.el (help-form-show): New function, to be called from C.
14008         Put help-form output in a buffer named differently than *Help*.
14010 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
14012         * files.el (file-size-human-readable): New function.
14014         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14015         computing the representation inline.  Don't require `cl'.
14017 2011-04-08  Glenn Morris  <rgm@gnu.org>
14019         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14021         * net/browse-url.el (browse-url-firefox):
14022         Test system-type, not system-configuration.
14024         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14025         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14026         Use log-edit-empty-buffer-p.  (Bug#7598)
14028         * net/rlogin.el (rlogin-process-connection-type): Simplify.
14029         (rlogin-mode-map): Initialize in the defvar.
14030         (rlogin): Use ignore-errors.
14032         * replace.el (occur-mode-map): Some fixes for menu items.
14034 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14036         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
14038 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
14040         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14041         issuing unused warnings.
14043         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14044         macro directly.
14046         * simple.el: Lisp reimplement of list-processes.  Based on an
14047         earlier reimplementation by Leo Liu, but using tabulated-list.el.
14048         (process-menu-mode): New major mode.
14049         (list-processes--refresh, list-processes):
14050         (process-menu-visit-buffer): New functions.
14052         * files.el (save-buffers-kill-emacs): Don't assume any return
14053         value of list-processes, which is undocumented anyway.
14055 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
14057         * emacs-lisp/tabulated-list.el: New file.
14059         * emacs-lisp/package.el: Use Tabulated List mode.
14060         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14061         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
14062         table format using Tabulated List mode variables.
14063         (package--push): New macro, replacing package-list-maybe-add.
14064         (package-menu--generate): Use package--push.  Renamed from
14065         package--generate-package-list.
14066         (package-menu-refresh, list-packages): Use it.
14067         (package-menu--print-info): Rename from package-print-package.
14068         Return insertion data instead of inserting it directly.
14069         (package-menu-describe-package, package-menu-execute):
14070         Use tabulated-list-get-id.
14071         (package-menu-mark-delete, package-menu-mark-install)
14072         (package-menu-mark-unmark, package-menu-backup-unmark)
14073         (package-menu-mark-obsolete-for-deletion):
14074         Use tabulated-list-put-tag.
14075         (package--list-packages, package-menu-revert)
14076         (package-menu-get-package, package-menu-get-version)
14077         (package-menu-sort-by-column): Functions deleted.
14078         (package-menu-package-list, package-menu-sort-key): Vars deleted.
14079         (package-menu--status-predicate, package-menu--version-predicate)
14080         (package-menu--name-predicate)
14081         (package-menu--description-predicate): Handle arguments in the
14082         Tabulated List format.
14083         (package-list-packages-no-fetch): Call list-packages.
14085 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
14087         * files.el (after-find-file-from-revert-buffer): Remove variable.
14088         (after-find-file): Don't bind it.
14089         (revert-buffer-in-progress-p): New variable.
14090         (revert-buffer): Bind it.
14091         Pass nil for `after-find-file-from-revert-buffer'.
14093         * saveplace.el (save-place-find-file-hook): Use new variable
14094         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14096 2011-04-06  Glenn Morris  <rgm@gnu.org>
14098         * Makefile.in (AUTOGEN_VCS): New variable.
14099         (autoloads): Use $AUTOGEN_VCS.
14101         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14102         * calendar/calendar.el (calendar-mode-map):
14103         Check for toolkit scroll bars.  (Bug#8305)
14105 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
14107         * minibuffer.el (completion-in-region--postch)
14108         (completion-in-region-mode): Remove unnecessary messages.
14110 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
14112         * font-lock.el (font-lock-refresh-defaults):
14113         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14114         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14116         * info.el (Info-directory-list, Info-read-node-name-2)
14117         (Info-split-parameter-string): Doc fixes.
14118         (Info-virtual-nodes): Reflow docstring.
14119         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14120         (Info-apropos-toc-nodes, info-finder, Info-get-token)
14121         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14122         Fix typos in docstrings.
14123         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14124         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14125         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14126         (Info-restore-desktop-buffer): Mark unused parameters.
14127         (Info-directory-find-file, Info-directory-find-node)
14128         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14129         (Info-virtual-index-find-node, Info-apropos-find-file)
14130         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14131         Mark unused parameters; fix typos in docstrings.
14132         (Info-virtual-index): Remove unused local variable `nodename'.
14134 2011-04-05  Deniz Dogan  <deniz@dogan.se>
14136         * net/rcirc.el: Update my e-mail address.
14137         (rcirc-mode-map): Remove M-o binding.
14139 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
14141         * startup.el (command-line): Save the cursor's theme-face
14142         directly, instead of using face-override-spec.
14144         * custom.el (load-theme): Minor optimization in assigning faces.
14146 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
14148         * help-fns.el (describe-variable): Complete all variables having
14149         documentation, including keywords.
14150         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14152 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
14154         Convert to lexical-binding.
14156         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14157         (bs--get-marked-string, bs--get-modified-string)
14158         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14159         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14160         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14162         * ehelp.el (electric-help-execute-extended)
14163         (electric-help-ctrl-x-prefix):
14164         * hexl.el (hexl-revert-buffer-function):
14165         * linum.el (linum-after-change, linum-after-scroll):
14166         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14168         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14170 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
14172         * epa-dired.el:
14173         * epa-mail.el:
14174         * epa-hook.el:
14175         * epa-file.el:
14176         * epa.el:
14177         * epg.el: Use lexical binding.
14179 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
14181         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14183         * textmodes/flyspell.el (flyspell-word): Recognize default
14184         dictionary case for flyspell-mark-duplications-exceptions.
14185         Use regexp matching for languages.
14186         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14187         default dictionary (Bug#7926).
14189 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
14191         * emacs-lisp/package.el (package--with-work-buffer):
14192         Recognize https URLs.
14194         * net/network-stream.el: Move from gnus/proto-stream.el.
14195         Change prefix to network-stream throughout.
14196         (open-protocol-stream): Merge into open-network-stream, leaving
14197         open-protocol-stream as an alias.  Handle nil BUFFER args.
14199         * subr.el (open-network-stream): Move to net/network-stream.el.
14201 2011-04-02  Glenn Morris  <rgm@gnu.org>
14203         * find-dired.el (find-exec-terminator): New option.
14204         (find-ls-option): Test for -ls support.
14205         (find-ls-subdir-switches): Test for -b in find-ls-option.
14206         (find-dired, find-grep-dired): Doc fixes.
14207         (find-dired): Use find-exec-terminator.
14209         * find-dired.el (find-ls-option, find-ls-subdir-switches)
14210         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14211         (find-name-arg): Remove purecopy.
14213         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14214         (grep-compute-defaults): Check for `-exec COMMAND +' support.
14215         Set grep-find-use-xargs, grep-find-command, and grep-find-template
14216         accordingly.  Don't add the null-device if not needed.
14218         * files.el (save-some-buffers): Doc fix.
14220 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
14222         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14224 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
14226         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14227         Use `dolist' rather than `mapcar'.
14229 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14231         Add lexical binding.
14233         * subr.el (apply-partially): Use new closures rather than CL.
14234         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14235         (dolist, dotimes): Use slightly different expansion for lexical code.
14236         (functionp): Move to C.
14237         (letrec): New macro.
14238         (with-wrapper-hook): Use it and apply-partially instead of CL.
14239         (eval-after-load): Preserve lexical-binding.
14240         (save-window-excursion, with-output-to-temp-buffer): Turn them
14241         into macros.
14243         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14245         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14246         than the arglist.
14247         (help-add-fundoc-usage): Don't add `Not documented'.
14248         (help-function-arglist): Handle closures, subroutines, and new
14249         byte-code-functions.
14250         (help-make-usage): Remove leading underscores.
14251         (describe-function-1): Handle closures.
14252         (describe-variable): Use special-variable-p for completion.
14254         * files.el (lexical-binding): Declare safe.
14256         * emacs-lisp/pcase.el: Don't use destructuring-bind.
14257         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
14258         (pcase): Add `let' pattern.
14259         Change memoization so it actually works.
14260         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14261         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14262         <let>: New case.
14264         * emacs-lisp/macroexp.el: Use lexical binding.
14265         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
14266         Don't convert ' to #' without checking that it's indeed quoting
14267         a lambda.
14269         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14270         Use eval-sexp-add-defvars.
14271         (eval-sexp-add-defvars): New fun.
14273         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14275         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14276         Don't autoload.
14277         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14278         than the internal `byte-compile-lambda'.
14279         (defmethod): Don't hide code under quotes.
14280         (eieio-defmethod): New `code' argument.
14282         * emacs-lisp/eieio-comp.el: Remove.
14284         * emacs-lisp/edebug.el (edebug-eval-defun)
14285         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14286         (edebug-toggle): Avoid `eval'.
14288         * emacs-lisp/disass.el (disassemble-internal): Handle new
14289         `closure' objects.
14290         (disassemble-1): Handle new byte codes.
14292         * emacs-lisp/cl.el (pushnew): Silence warning.
14294         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14295         (cl-byte-compile-throw): Remove.
14296         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14298         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14299         closures.
14301         * emacs-lisp/cconv.el: New file.
14303         * emacs-lisp/bytecomp.el: Use lexical binding instead of
14304         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
14305         (byte-compile-initial-macro-environment):
14306         Handle declare-function here.
14307         (byte-compile--lexical-environment): New var.
14308         (byte-stack-ref, byte-stack-set, byte-discardN)
14309         (byte-discardN-preserve-tos): New lap codes.
14310         (byte-interactive-p): Don't use any more.
14311         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14312         New macros.
14313         (byte-compile-lapcode): Use them and handle new lap codes.
14314         (byte-compile-obsolete): Remove.
14315         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14316         (byte-compile-arglist-warn): Check late def of inlinable funs.
14317         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14318         since they should have been expanded by now.
14319         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14320         (byte-compile-from-buffer): Remove unused second arg.
14321         (byte-compile-preprocess): New function.
14322         (byte-compile-toplevel-file-form): New function to distinguish
14323         file-form calls from outside from file-form calls from hunk-handlers.
14324         (byte-compile-file-form): Simplify.
14325         (byte-compile-file-form-defsubst): Remove.
14326         (byte-compile-file-form-defmumble): Simplify now that
14327         byte-compile-lambda always returns a byte-code-function.
14328         (byte-compile): Preprocess.
14329         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14330         Remove, not used any more.
14331         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14332         (byte-compile-make-args-desc): New funs.
14333         (byte-compile-lambda): Handle lexical functions.  Always return
14334         a byte-code-function.
14335         (byte-compile-reserved-constants): New var, to make up room for
14336         closed-over variables.
14337         (byte-compile-constants-vector): Obey it.
14338         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14339         (byte-compile-macroexpand-declare-function): New function.
14340         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14341         byte-code-functions.
14342         (byte-compile-form): Check obsolescence here.
14343         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14344         (byte-compile-variable-ref): Remove.
14345         (byte-compile-dynamic-variable-op): New fun.
14346         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14347         (byte-compile-variable-set): New funs.
14348         (byte-compile-discard): Add 2 args.
14349         (byte-compile-stack-ref, byte-compile-stack-set)
14350         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14351         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14352         macroexpand-all instead.
14353         (byte-compile-quote-form): Remove.
14354         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14355         (byte-compile-bind, byte-compile-unbind): New funs.
14356         (byte-compile-let): Handle let* and lexical binding.
14357         (byte-compile-let*): Remove.
14358         (byte-compile-catch, byte-compile-unwind-protect)
14359         (byte-compile-track-mouse, byte-compile-condition-case):
14360         Handle a new :fun-body form, used for lexical scoping.
14361         (byte-compile-save-window-excursion)
14362         (byte-compile-with-output-to-temp-buffer): Remove.
14363         (byte-compile-defun): Simplify.
14364         (byte-compile-stack-adjustment): New fun.
14365         (byte-compile-out): Use it.
14366         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14368         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14369         handler any more.
14371         * emacs-lisp/byte-opt.el: Use lexical binding.
14372         (byte-inline-lapcode): Remove (to bytecomp).
14373         (byte-compile-inline-expand): Pay attention to inlining to/from
14374         lexically bound code.
14375         (byte-compile-unfold-lambda): Don't handle byte-code-functions
14376         any more.
14377         (byte-optimize-form-code-walker): Don't handle save-window-excursion
14378         any more and don't call compiler-macros.
14379         (byte-compile-splice-in-already-compiled-code): Remove.
14380         (byte-code): Don't inline any more.
14381         (disassemble-offset): Receive `bytes' as argument rather than via
14382         dynamic scoping.
14383         (byte-compile-tag-number): Declare before first use.
14384         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14385         `return' even if make-spliceable.
14386         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14387         obsolete interactive-p.
14388         (byte-optimize-lapcode): Optimize new lap-codes.
14389         Don't trip up on new form of `byte-constant' lap code.
14391         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14393         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14395         * custom.el (custom-initialize-default, custom-declare-variable):
14396         Use `defvar'.
14398         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14399         New variables.
14400         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14401         (COMPILE_FIRST): Add macroexp and cconv.
14402         * makefile.w32-in: Mirror changes in Makefile.in.
14404         * vc/cvs-status.el:
14405         * vc/diff-mode.el:
14406         * vc/log-edit.el:
14407         * vc/log-view.el:
14408         * vc/smerge-mode.el:
14409         * textmodes/bibtex-style.el:
14410         * textmodes/css.el:
14411         * startup.el:
14412         * uniquify.el:
14413         * minibuffer.el:
14414         * newcomment.el:
14415         * reveal.el:
14416         * server.el:
14417         * mpc.el:
14418         * emacs-lisp/smie.el:
14419         * doc-view.el:
14420         * dired.el:
14421         * abbrev.el: Use lexical binding.
14423 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
14425         * info.el (info-display-manual): New function.
14427 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14429         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14431 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
14433         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14434         an entry for that server in rcirc-authinfo.  (Bug#8385)
14436 2011-03-31  Glenn Morris  <rgm@gnu.org>
14438         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14440         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14442 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
14444         * progmodes/python.el (python-default-interpreter)
14445         (python-python-command-args, python-jython-command-args)
14446         (python-which-shell, python-which-args, python-which-bufname)
14447         (python-file-queue, python-comint-output-filter-function)
14448         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14449         variables and functions.
14451 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14453         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14454         (completion-in-region-mode): New minor mode.
14455         (completion-in-region): Use it.
14456         (completion-in-region--data, completion-in-region-mode-map): New vars.
14457         (completion-in-region--postch): New function.
14458         (completion--capf-misbehave-funs, completion--capf-safe-funs):
14459         New vars.
14460         (completion--capf-wrapper): New function.
14461         (completion-at-point): Use it to track well-behavedness of
14462         hook functions.
14463         (completion-help-at-point): New command.
14465 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
14467         * vc/add-log.el (add-change-log-entry): Don't use whitespace
14468         syntax class to search for whitespace on a single line
14469         (Message-ID: <4D938140.4030905@redhat.com>).
14471 2011-03-30  Leo Liu  <sdl.web@gmail.com>
14473         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14474         New commands.
14475         (edit-abbrevs-map): Bind them here.
14476         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
14478 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
14480         * allout.el (allout-hide-by-annotation, allout-flag-region):
14481         Reduce possibility of overlay leakage by making them volatile.
14483         * allout-widgets.el (allout-widgets-tally): Define as nil so the
14484         hash is not shared between buffers.  Mode initialization is
14485         responsible for giving it a useful starting value.
14486         (allout-item-span): Reduce possibility of overlay leakage by
14487         making them volatile.
14488         (allout-widgets-count-buttons-in-region): Add diagnostic function
14489         for tracking down button overlay leaks.
14491 2011-03-29  Leo Liu  <sdl.web@gmail.com>
14493         * ido.el (ido-read-internal): Use the default history var
14494         minibuffer-history if no HISTORY is specified.
14496 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
14498         * net/imap.el (imap-shell-open, imap-process-connection-type):
14499         Use imap-process-connection-type for 'shell' streams as well as
14500         Kerberos, SSL, other subprocesses.
14502 2011-03-28  Leo Liu  <sdl.web@gmail.com>
14504         * abbrev.el (abbrev-table-empty-p): New function.
14505         (prepare-abbrev-list-buffer): Place empty abbrev tables after
14506         nonempty ones.  (Bug#5937)
14508 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
14510         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14512 2011-03-27  Leo Liu  <sdl.web@gmail.com>
14514         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14515         for foreground and background colors.
14516         (ansi-color-make-color-map): Adapt.
14518 2011-03-25  Leo Liu  <sdl.web@gmail.com>
14520         * midnight.el (midnight-time-float): Remove.  Note it calculates
14521         the microsecond component incorrectly and seconds-to-time does the
14522         same job.
14523         Remove redundant (require 'timer).
14525         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14526         (ido-completions): Remove unused arguments.  (Bug#8329)
14528 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14530         * minibuffer.el (completion--flush-all-sorted-completions):
14531         Remove itself from hook.
14532         (completion-at-point): Let the functions perform the completion
14533         immediately and return nil or t.
14534         * comint.el (comint-dynamic-complete-functions): Now identical to
14535         completion-at-point-functions.
14536         (comint-dynamic-list-input-ring): Remove unused var `index'.
14537         (comint--match-partial-filename, comint--unquote&expand-filename):
14538         New funs, split from comint-match-partial-filename.
14539         (comint-dynamic-complete): Use completion-at-point.
14540         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14542 2011-03-24  Drew Adams  <drew.adams@oracle.com>
14544         * thingatpt.el: Support `defun'.
14546 2011-03-23  Leo Liu  <sdl.web@gmail.com>
14548         * abbrevlist.el: Move to obsolete/abbrevlist.el.
14550         * help-mode.el (help-mode-finish): Tweak regexp.
14552 2011-03-23  Glenn Morris  <rgm@gnu.org>
14554         * eshell/esh-opt.el (eshell-eval-using-options):
14555         Do not bind unused local variable `eshell-option-stub'.
14557         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14559 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
14561         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14562         keymap variable in `with-no-warnings' to avoid a warning when the
14563         keymap has been already `defconst'ed.
14565 2011-03-22  Leo Liu  <sdl.web@gmail.com>
14567         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14568         encode all chars in abbrevs; otherwise use emacs-mule or
14569         utf-8-emacs.  (Bug#8308)
14571 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
14573         * simple.el (backward-delete-char-untabify):
14574         Avoid warning about using `delete-backward-char'.
14576         * image.el (image-type-file-name-regexps): Make it variable.
14577         `imagemagick-register-types' modifies it, and the user may want
14578         to add new extensions for known image types.
14579         (imagemagick-register-types): Throw error if not using ImageMagick.
14581 2011-03-22  Leo Liu  <sdl.web@gmail.com>
14583         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14584         located before rcirc-prompt-end-marker.
14585         (rcirc-complete): Error if point is not after rcirc prompt.
14586         Handle the case when table is nil.
14587         (rcirc-user-authenticated): Define to fix compiler warning.
14589 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
14591         * custom.el (custom--inhibit-theme-enable): Make it affect only
14592         custom-theme-set-variables and custom-theme-set-faces.
14593         (provide-theme): Ignore custom--inhibit-theme-enable.
14594         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14595         (custom-enabling-themes): Delete variable.
14596         (enable-theme): Accept only loaded themes as arguments.
14597         Ignore the special custom-enabled-themes variable.
14598         (custom-enabled-themes): Forbid themes from setting this.
14599         Eliminate use of custom-enabling-themes.
14600         (custom-push-theme): Quote "changed" custom var entry.
14602 2011-03-21  Leo Liu  <sdl.web@gmail.com>
14604         * ido.el (ido-read-internal): Add ido-selected to history instead
14605         of user input.
14607 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14609         * subr.el (deferred-action-list, deferred-action-function):
14610         Mark obsolete.
14612 2011-03-21  Leo Liu  <sdl.web@gmail.com>
14614         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14615         change on 2011-02-13 (bug#8309).
14617         * minibuffer.el (read-file-name-function): Change default value.
14618         (read-file-name--defaults): Rename from read-file-name-defaults.
14619         (read-file-name-default): Rename from read-file-name.
14620         (read-file-name): Call read-file-name-function.
14622 2011-03-21  Glenn Morris  <rgm@gnu.org>
14624         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14625         Doc fixes.
14627 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
14629         * cus-theme.el: Add missing provide statement.
14630         (customize-create-theme): Extract theme value correctly.
14631         (custom-theme-visit-theme): Autoload.
14632         (customize-create-theme): Prompt before inserting default faces.
14634 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
14636         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14637         units and musical notes.
14639 2011-03-20  Leo Liu  <sdl.web@gmail.com>
14641         * ido.el (ido-read-internal): Use completing-read-default.
14642         (ido-completing-read): Fix compatibility with completing-read.
14644 2011-03-20  Christian Ohler  <ohler@gnu.org>
14646         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14647         (ert-delete-all-tests): Use `called-interactively-p' rather than
14648         `interactive-p'.
14649         (ert--make-xrefs-region): Respect END.
14651 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
14653         * dired-aux.el (dired-create-directory): Signal an error if the
14654         directory already exists (Bug#8246).
14656         * facemenu.el (list-colors-display): Call list-faces-display
14657         inside with-help-window.
14658         (list-colors-print): Use display property to align the final
14659         column, instead of checking window-width.
14661 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
14663         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14664         windows-nt systems.
14665         (emerge-protect-metachars): Quote correctly for ms-dos and
14666         windows-nt systems.
14668 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
14670         * info.el (info-initialize): Replace all uses of `:' with
14671         path-separator for compatibility with non-Unix systems.
14672         Cache quoting of path-separator.  (Bug#8258)
14674 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
14676         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14677         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14678         (mouse-avoidance-mode): Fix typos in docstrings.
14680 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
14682         * startup.el (package-subdirectory-regexp): Move from package.el.
14683         Omit \\` and \\', and let callers add them.
14685         * emacs-lisp/package.el (package-strip-version)
14686         (package-load-all-descriptors): Add \\` and \\' to
14687         package-subdirectory-regexp before using it.
14688         (package-untar-buffer): New arg DIR; ensure that file untars only
14689         into this expected directory.  Remove superfluous delete-region.
14690         (package-unpack): Caller changed.
14691         (package-tar-file-info): Use package-subdirectory-regexp.
14693 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14695         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14696         diff-mode-shared-map (bug#8284).
14697         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14699 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14701         * calendar/time-date.el (format-seconds): Use assoc instead of
14702         assoc-string, since assoc-string doesn't exist in XEmacs.
14704 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
14706         * custom.el (custom-known-themes): Reflow docstring.
14707         (custom-theme-load-path): Fix typo in docstring.
14708         (load-theme): Fix typo in error message.
14709         (custom-available-themes, custom-variable-theme-value):
14710         Use `let', not `let*'.
14712 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
14714         * calc/README: Mention inclusion of musical notes.
14716         * calc/calc-units.el (calc-lu-quant): Rename from
14717         `calc-logunits-quantity'.
14718         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14719         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14720         (calc-db): Rename from `calc-dblevel'.
14721         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14722         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14723         (calc-np): Rename from `calc-nplevel'.
14724         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14725         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14726         (calc-lu-plus): Rename from `calc-logunits-add'.
14727         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14728         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14729         (calc-lu-minus): Rename from `calc-logunits-sub'.
14730         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14731         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14732         (calc-lu-times): Rename from `calc-logunits-mul'.
14733         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14734         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14735         (calc-lu-divide): Rename from `calc-logunits-div'.
14736         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14737         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14739         * calc/calc-ext.el (calc-init-extensions): Update the names of the
14740         functions being autoloaded.
14742         * calc/calc.el (calc-lu-power-reference): Rename from
14743         `calc-logunits-power-reference'.
14744         (calc-lu-field-reference): Rename from
14745         `calc-logunits-field-reference'.
14747         * calc/calc-help.el (calc-l-prefix-help):
14748         Mention musical note functions.
14750 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14752         * minibuffer.el (completion-all-sorted-completions):
14753         Use :completion-cycle-penalty text property if present.
14755 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
14757         * allout.el (allout-yank-processing): Adjust for new rebulleting
14758         regime so bullet being yanked is used without prompting the user
14759         for a choice.
14761 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
14763         * startup.el (command-line): Warn the user that _emacs is deprecated.
14765 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
14767         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14768         (delphi-verbose, delphi-comment-face, delphi-string-face)
14769         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14770         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14771         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14772         (delphi-new-comment-line, delphi-font-lock-defaults)
14773         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14774         Fix typos in docstrings.
14776 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
14778         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14779         Invert the roles of character and string values for INSTEAD, so a
14780         string is used for the more common case of a defaulting prompt.
14782 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14784         * progmodes/ruby-mode.el (ruby-backward-sexp):
14785         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14786         * play/gamegrid.el (gamegrid-make-face):
14787         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14788         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14789         * notifications.el (notifications-notify):
14790         * net/xesam.el (xesam-search-engines):
14791         * net/quickurl.el (quickurl-list-insert):
14792         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14794 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
14796         * startup.el (command-line): Update package subdirectory regexp.
14798 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14800         * allout.el (allout-abbreviate-flattened-numbering)
14801         (allout-mode-deactivate-hook): Fix up obsolescence "date".
14803         * subr.el (read-char-choice): Only show the cursor after the prompt,
14804         not after the answer.
14806 2011-03-15  Kevin Ryde  <user42@zip.com.au>
14808         * help-fns.el (variable-at-point): Skip leading quotes, if any
14809         (bug#8253).
14811 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14813         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14814         warning message.
14816 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
14818         * shell.el (shell): When called interactively, offer to change the
14819         shell file name on remote hosts.
14821 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
14823         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14824         integration for LDAP parameters.  The host, base, user or binddn,
14825         and secret tokens can be specified in a netrc file, for instance.
14826         This is optional because an `auth-source' parameter must be
14827         specified in the search attributes.
14829 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
14831         * help.el (describe-mode): Link to the mode's definition (bug#8185).
14833 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14835         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14836         into declaration.  Remove redundant and harmful binding.
14838 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
14840         * files.el (file-ownership-preserved-p): Pass `integer' as an
14841         explicit 2nd argument to `file-attributes'.  If the file's owner
14842         is the Administrators group on Windows, and the current user is
14843         Administrator, consider that a match.
14845         * server.el (server-ensure-safe-dir): Consider server directory
14846         safe on MS-Windows if its owner is the Administrators group while
14847         the current Emacs user is Administrator.  Use `=' to compare
14848         numerical UIDs, since they could be integers or floats.
14850 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
14852         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14854 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
14856         Sync with Tramp 2.2.1.
14858         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14860         * net/trampver.el: Update release number.
14862 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14864         * progmodes/compile.el (compilation--previous-directory): Fix up
14865         various nil/dead-marker mismatches (bug#8014).
14866         (compilation-directory-properties, compilation-error-properties):
14867         Don't call it at a position past the one we're about to change.
14869         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14870         Disable obsolescence warnings in the file that declares it.
14872 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
14874         * allout-widgets.el (allout-widgets-tally):
14875         Initialize allout-widgets-tally as a hash table rather than nil to
14876         prevent mode-line redisplay warnings.  Also, clarify the module
14877         description and fix a comment typo.
14879 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
14881         * help-fns.el (describe-variable): Don't complete keywords.
14882         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14884 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
14886         * emacs-lisp/package.el (package-version-join): Impose a standard
14887         string representation for pre/alpha/beta version lists.
14888         (package-unpack-single): Standardize the directory name by passing
14889         it through package-version-join.
14890         (package-strip-rcs-id): Accept any version string that does not
14891         signal an error in version-to-list.
14893 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
14895         * simple.el (delete-trailing-whitespace): Return nil for the
14896         benefit of `write-file-functions'.
14898 2011-03-10  Glenn Morris  <rgm@gnu.org>
14900         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14902         * vc/vc-git.el (vc-git-program): New option.
14903         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14904         (vc-git--call): Use it.
14906         * eshell/esh-util.el (eshell-condition-case): Doc fix.
14908         * cus-edit.el (Custom-newline): If no button at point, look
14909         for a subgroup button at start-of-line.  (Bug#2298)
14911         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14913 2011-03-10  Julien Danjou  <julien@danjou.info>
14915         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14916         `cursor-type' is nil.
14918 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
14920         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14922 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
14924         * allout.el: Change so yank of distinctive-bullet items
14925         preserves the existing header prefix, rebulleting it if necessary,
14926         rather than replacing it.  This is necessary for proper operation
14927         of cooperative addons like allout-widgets.
14928         (allout-make-topic-prefix, allout-rebullet-heading):
14929         Change SOLICIT arg to INSTEAD, and interpret additionally a string
14930         value as alternate bullet to be used, instead of prompting the user
14931         for a bullet character.
14933 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
14935         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14936         Do not use `tramp-file-name-port', because this returns also
14937         `tramp-default-port'.
14939 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
14941         * net/rcirc.el (rcirc-handler-001): Remove useless
14942         with-rcirc-process-buffer.
14943         (rcirc-check-auth-status): Swap arguments to string-match.
14945 2011-03-09  Glenn Morris  <rgm@gnu.org>
14947         * shell.el (shell-mode):
14948         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
14950         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14951         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
14953 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
14955         * emacs-lisp/package.el (package-refresh-contents)
14956         (package-menu-execute): Use condition-case-no-debug.
14958 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
14960         * simple.el (shell-command-to-string): Use `process-file'.
14962         * emacs-lisp/package.el (package-tar-file-info): Handle also
14963         remote files.
14965         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14966         Use `equal' for upload base check.
14968 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
14970         * textmodes/texinfo.el (texinfo-environments):
14971         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
14973 2011-03-08  Glenn Morris  <rgm@gnu.org>
14975         * cus-start.el (cursor-in-non-selected-windows):
14976         Fix :set quoting oddness.  (Bug#8192)
14978         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14979         in some setf expressions.  (Bug#2159)
14981 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
14983         * custom.el (custom-available-themes): Return themes in
14984         alphabetical order.
14986 See ChangeLog.15 for earlier changes.
14988 ;; Local Variables:
14989 ;; coding: utf-8
14990 ;; End:
14992   Copyright (C) 2011-2012  Free Software Foundation, Inc.
14994   This file is part of GNU Emacs.
14996   GNU Emacs is free software: you can redistribute it and/or modify
14997   it under the terms of the GNU General Public License as published by
14998   the Free Software Foundation, either version 3 of the License, or
14999   (at your option) any later version.
15001   GNU Emacs is distributed in the hope that it will be useful,
15002   but WITHOUT ANY WARRANTY; without even the implied warranty of
15003   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15004   GNU General Public License for more details.
15006   You should have received a copy of the GNU General Public License
15007   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.